CN105608403B - A kind of method and system based on Quick Response Code positioning - Google Patents
A kind of method and system based on Quick Response Code positioning Download PDFInfo
- Publication number
- CN105608403B CN105608403B CN201610083218.7A CN201610083218A CN105608403B CN 105608403 B CN105608403 B CN 105608403B CN 201610083218 A CN201610083218 A CN 201610083218A CN 105608403 B CN105608403 B CN 105608403B
- Authority
- CN
- China
- Prior art keywords
- map
- quick response
- response code
- information
- vector
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10544—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Databases & Information Systems (AREA)
- Toxicology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Remote Sensing (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Instructional Devices (AREA)
- Navigation (AREA)
Abstract
The invention discloses the method and system positioned based on Quick Response Code, method includes in data Layer, storing map position information in the database, map location is stored based on map vector;In interface layer, the map vector of storage and Quick Response Code are established into correspondence;In application layer, scans corresponding Quick Response Code and positioned;In presentation layer, to the corresponding map position information of two-dimensional code display.In the method for the present invention, Quick Response Code can store complete cartographic information, while can realize the form that offline and online lookup is combined.System includes:Database, geography information AM access module, position anchor point, intelligent mobile terminal, complete map is stored by SVG vectors in geography information AM access module, and the two-dimensional code scanning entrance provided by position anchor point, it searches in the database and obtains the corresponding geographical location information of Quick Response Code, and shown in intelligent mobile terminal.No signal disturbing factor, may be implemented to be accurately positioned reliability higher.
Description
Technical field
The present invention relates to barcode technology, more particularly to a kind of method and system based on Quick Response Code positioning.
Background technology
GPS positioning, indoor Wi-Fi positioning, RFID tag positioning and indigo plant are mainly based upon in locating system at present
The technologies such as the iBeacon positioning of tooth 4.0BLE.
GPS (Global Positioning System) i.e. global positioning systems are the satellite navigation and positionings that the U.S. develops
System, the present use wgs84 coordinate systems.Because position of the earth in day spherical space is unstable, therefore agreement is a certain with wgs84
The arctic point at quarter is directed toward position.For example, pseudorange positions, used observation is GPS Pseudo-range Observations, and used pseudorange is seen
Measured value can also be P code pseudoranges either C/A code pseudoranges.The disadvantage is that observation precision is low, C/A code Pseudo-range Observations
Precision is generally 3 meters, and the precision of P code Pseudo-range Observations is generally also at 30 centimetres or so.For another example, carrier phase positions,
Used observation is the carrier phase observation data of GPS, i.e. L1, L2 or their certain linear combination.Carrier phase positions
The advantages of be observation precision it is high, be generally preferred over 2 millimeters;The disadvantage is that data handling procedure is complicated, there are integral circumference ambiguities
The problem of spending.
Indoor Wi-Fi positioning, the Wireless LAN (WLAN) being made up of wireless access point (including wireless router),
Positioning, monitoring and the tracking task in complex environment may be implemented.It is with the location information of network node (wireless access point)
Basis and premise carry out position in such a way that experience test and signal propagation model are combined to the mobile device accessed
Positioning, highest accuracy is about between 1 meter to 20 meters.If positioning measuring and calculating is based only upon the Wi-Fi access points currently connected, and
Rather than referring to the signal strength composite diagram of periphery Wi-Fi, then Wi-Fi positioning be just easy to there are error (such as:It is wrong to position floor
Accidentally).
RFID tag positions, RFID (radio frequency identifications:Radio Frequency Identification) it is commonly called as " electricity
Subtab " is a kind of contactless automatic identification technology, it is by radiofrequency signal automatic identification target object and obtains correlation
Data, RF tag are physically made of three parts:Label (tag), antenna, reader.Label (Tag):By coupling element and
Chip forms, and each label has unique electronic code, high power capacity electronic tag to have user write area, is attached on object and identifies
Target object;Reader (Reader):The equipment for reading (can also be written sometimes) label information may be designed as hand-held or solid
Fixed pattern;Antenna (Antenna):Radiofrequency signal is transmitted between label and reader.RFID location technologies are carried out using radio frequency method
Contactless bidirectional communication exchange data realizes the purpose that mobile device identifies and positions.It can be obtained li in several milliseconds
The information of meter level positioning accuracy, and transmission range is big.
The iBeacon of bluetooth 4.0BLE is positioned, and is the newly-increased function of iOS7, can be used for indoor near field positioning.IOS device
It can detect neighbouring iBeacons compatible equipments.By using low-power consumption bluetooth technology (Bluetooth Low Energy,
Namely usually said Bluetooth 4.0 or Bluetooth Smart), the base stations iBeacon can create a signal
Region, when equipment enters the region, corresponding application program will prompt the user whether to need to access this signal network.It is logical
The small wireless sensor and low-power consumption bluetooth technology that can be placed in any object are crossed, user just can be passed using iPhone
Transmission of data.
Above-mentioned common problem is 1) hardware cost is higher;2) since they are calculated according to signal strength and signal
The distance of emission source is positioned, and signal interference factor is more, and signal strength is unstable, causes reliability low, can not accurately determine
Position.
Invention content
The technical problem to be solved by the present invention is to, installation and deployment at low cost, no signal disturbing factor is, it can be achieved that be accurately positioned
Quick Response Code localization method and system.
Above-mentioned technical problem is solved, the present invention provides a kind of methods based on Quick Response Code positioning, including:
In data Layer, map position information is stored in the database, and the map location is stored based on map vector;
In interface layer, the map vector of storage and Quick Response Code are established into correspondence;
In application layer, scans corresponding Quick Response Code and positioned;
In presentation layer, to the corresponding map position information of two-dimensional code display.
Further, the presentation layer further includes the corresponding POI address informations in geographical location, and is increased in the data Layer
If POI address information databases, and add POI address information interfaces in interface layer.
Further, the presentation layer further includes the Item Information with geographic location association, and is added in the data Layer
The item information data library, and add the Item Information interface positioned at the position in interface layer.
Further, complete map vector information, and corresponding POI address informations are stored in the Quick Response Code.
Further, the presentation layer further includes accessing HTML to show, and add the URL unifications in the data Layer
Resource Locator, and add URL access interfaces in interface layer.
Further, the mode of the Quick Response Code storage complete vector cartographic information is:
It 6-1) extracts, by Map Vectorization, obtains map vector;
6-2) sort out, the associated map element in map vector is passed through in HTML<g>Label is sorted out, and reduces
The cartographic information after cartographic information entropy size is optimized is reduced after above-mentioned element number;
It 6-3) stores, the cartographic information after the optimization is compressed, and is stored, complete vector map is obtained.
Further, the map vector information is by HTML5<svg>The map of drafting, the map vector
Information is offline or online.
Further, the presentation layer includes Android client, IOS clients, WEB client side.
Further, the presentation layer includes that smart mobile phone, tablet computer, intelligence displaying screen and intelligence wearing are set
It is standby.
A kind of system positioned based on Quick Response Code is additionally provided in the present invention, which is characterized in that including:Database, geography
Information access module, position anchor point, intelligent mobile terminal,
The database, to store map position information in the database, the map location is stored up based on map vector
It deposits;
The geography information AM access module establishes correspondence will store map vector with Quick Response Code;
The position anchor point is positioned to scan corresponding Quick Response Code;
The intelligent mobile terminal, to the corresponding map position information of two-dimensional code display.
Beneficial effects of the present invention:
1) in contrast to other location technologies:GPS, WI-FI, bluetooth etc., the present invention in hardware cost it is low, no signal interference
Factor.Thus, reliability higher may be implemented to be accurately positioned.
2) in method of the invention, Quick Response Code can store complete cartographic information, at the same can realize it is offline and
Line searches the form being combined.
3) due in data Layer, storing map position information in the database, the map location is stored up based on map vector
It deposits;The storing mode of map vector disclosure satisfy that the requirement for recording a large amount of cartographic informations, and can be better achieved based on HTML5
Technique effect in the present invention, and in data Layer convenient for the database of increase different types of data.Due in interface layer, will store
Map vector and Quick Response Code establish correspondence, can be to map by establishing the correspondence of Quick Response Code and map vector
Information data is transferred.Since in interface layer, the map vector of storage and Quick Response Code are established correspondence;User passes through
It scans the two-dimensional code, you can obtain the location information of current location.Due in presentation layer, to the corresponding map position of two-dimensional code display
Confidence ceases, and is primarily referred to as through various handheld devices or display screen etc., and the position obtained to scanning is shown, realizes accurate
It positions and shows corresponding relevant information on the position.
4) the Quick Response Code positioning system in the present invention, can be by the Quick Response Code in the anchor point of position, to current position
It is accurately positioned, no signal disturbing factor, reliability higher.
Description of the drawings
Fig. 1 (a) is the operating process schematic diagram based on Quick Response Code localization method in one embodiment of the invention.
Fig. 1 (b) is the level logical schematic based on Quick Response Code localization method in one embodiment of the invention.
Fig. 2 is the level logical schematic based on Quick Response Code localization method in one embodiment of the present invention.
Fig. 3 is the level logical schematic based on Quick Response Code localization method in one embodiment of the present invention.
Fig. 4 is the level logical schematic based on Quick Response Code localization method in one embodiment of the present invention.
Fig. 5 is the structure connection diagram based on Quick Response Code positioning system in one embodiment of the invention.
Fig. 6 is the flow diagram for storing complete map vector information in one embodiment of the invention in Quick Response Code.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with specific embodiment, and reference
Attached drawing, the present invention is described in more detail.
Fig. 1 (a) is the operating process schematic diagram based on Quick Response Code localization method in one embodiment of the invention.
Method in the present embodiment based on Quick Response Code positioning, including:
Step S101 stores map position information in the database in data Layer, and the map location is based on map vector
Storage.In the present embodiment, those skilled in the art can be illustrated, can obtain first a complete map, plan view or
Layout, and vector quantization is carried out to above-mentioned " figure ".The map includes but not limited to china administration provinces and cities district figure, master
Want provincial capital's map;The plan view includes but not limited to that large supermarket's plan view, parking lot plan figure, interior decoration are flat
Face figure, cinema's plan view etc..The layout includes but not limited to examination point layout, parking stall layout.Dining room seat is laid out
Figure etc..The map position information refers to, the map location that can be positioned by longitude and latitude, can be by opposite with object of reference
The map location of position setting, the map location etc. that cartographic information can be directly accessed.For example, can be in advance by vehicle in parking lot
The geography information of position lock is stored into database.It for another example, can be in advance by article in large supermarket according to classification, place
The item properties such as geographic location area are stored into data.For another example, the geography information of main provincial capital's map is stored up in advance
It is stored in database.The map vector is a kind of form of expression of vector image.Vector image " is calculated by a series of
Machine order " generates image.Vector image is by some most basic geometric type point, line Polygonal circular rectangles etc. and they
Eigencenter, radius, angle, height, width etc. and some instructions constitute such as color filling etc..Vector image than
Same grating image is flexible, is in addition stored with vector format because it can arbitrarily be sized without losing picture quality
Image seem the always the same resolution with display equipment with higher resolution ratio and grating image on an output device
Rate is unrelated.In addition, the map vector selected in the present embodiment, it is empty to occupy smaller storage compared with grating image under normal conditions
Between.As preferred in the present embodiment, another advantage using map vector is using Web as exchange and information exchange
The rapid growth figure of important way, the importance of image it is more and more prominent.
Step S102 establishes correspondence in interface layer, by the map vector of storage and Quick Response Code.In the present embodiment, may be used
With by storing the information of map vector into the data cell of Quick Response Code, you can realization is read when scanning the two-dimensional code information
Map vector information is obtained, and relevant display is carried out in presentation layer.It, can be with due to unique corresponding particularity of Quick Response Code
Realize the Quick Response Code for the location point respective production unique mark that each needs positions, i.e., " 1 point 1 yard ".As the present embodiment
In it is preferred, the content of Quick Response Code includes that the id information of geography information or the point is corresponded to the point.As in the present embodiment
It is preferred that the information stored in Quick Response Code may include the addresses URL, the addresses URL can directly be visited by handheld device
It asks.
Step S103 scans corresponding Quick Response Code and is positioned in application layer.As preferred in the present embodiment, by having
The equipment of camera function is scanned Quick Response Code.The corresponding Quick Response Code refers to, corresponding to the location point of required positioning
Quick Response Code.For example, in cinema, it can be seat to need corresponding location point.For example, in parking lot, need corresponding
Location point can be berth lock.For example, in main provincial capital's map, corresponding points can be landmark in city,
Restaurant, subway, telephone booth, station etc..For example, corresponding points can be shelf or article in supermarket.For example, being to be corresponded to
Point can be household goods or not chummery.
Step S104 is in presentation layer, to the corresponding map position information of two-dimensional code display.In the display of the presentation layer
Including but not limited to pass through the modes such as handheld device, large screen display screen.The corresponding map position information can be detailed
Thin or fuzzy, it can specifically be determined according to the compression and the stored mode of storage of SVG.
Fig. 1 (b) is the level logical schematic based on Quick Response Code localization method in one embodiment of the invention.
In the level logical schematic, including:Data Layer 101, interface layer 102, application layer 103, presentation layer
104。
In data Layer 101, the map position information can be accessed by WEB server, and carry out map letter
The vector quantization of breath, obtains map vector.The map vector can draw the software of vector graphics by vector graphics software.
Advantageous effect is:It is obtained since vector graphics can be calculated by formula, so vector graphics file volume is typically small.Vector
Figure biggest advantage is no matter to amplify, reduce or rotate etc. to be distorted.The mode used includes but not limited to:
coreldraw、Adobe Illustrator、Vector Magic、freehand。
When the map vector is SVG map vectors, support user supports animation with the interaction SVG of image and interacts any
A kind of SVG image element can be handled using script similar to the events such as mouse-click and keyboard input.For example, described
Various programming languages and script are allow easily by the perfect DM interfaces of the design having in SVG in interface layer 102
Its each element is operated.Due to support for JavaScript built in SVG.It can be with using JavaScript
Spectacular interactive program is added such as by some graphic element is mobile or transformation rather than the switching of entire image for SVG.
In the interface layer 102, the correspondence of map vector and Quick Response Code is stored, it is two-dimentional when being called in interface layer
When code, the cartographic information in map vector can be obtained.Due to unique corresponding particularity of Quick Response Code, may be implemented each
The Quick Response Code of a location point respective production unique mark for needing to position, i.e., " 1 point 1 yard ".As preferred in the present embodiment,
The content of Quick Response Code includes that the id information of geography information or the point is corresponded to the point.As preferred in the present embodiment, two
The information stored in dimension code may include the addresses URL, can directly be accessed the addresses URL by handheld device.
In the application layer 103, Quick Response Code is scanned in application layer 103 using the equipment with image-acquisition functions,
The corresponding Quick Response Code refers to Quick Response Code corresponding with the geographical location information of point for needing to position.For example, for positioning one
A anchor point, the nearest Quick Response Code of scanning surrounding distance, can be obtained by application layer 103 associated location information and with
The relevant information in the geographical location, the including but not limited to Item Information of the locating point position, geographical location information.It is connect described
The correspondence that mouth layer 102 is established by the map vector of the storage with Quick Response Code, in the map vector of the data Layer 101
It is inquired in database, inquiry obtains the position corresponding to Quick Response Code and associated information, including but not limited to:Article
Information, position associated information.
In the presentation layer 104 presentation layer 104 is shown in the corresponding map position information of two-dimensional code display
Visual device in.Such as in smart mobile phone, PAD, intelligent wearable device.The presentation layer includes but not limited to Android visitors
Family end, IOS clients and the ends WAP.
Fig. 2 is the level logical schematic based on Quick Response Code localization method in one embodiment of the present invention.
In the level logical schematic, including:Data Layer 101, interface layer 102, application layer 103, presentation layer
104。
In data Layer 101, the map position information can be accessed by WEB server, and carry out map letter
The vector quantization of breath, obtains map vector.In the interface layer 102, the correspondence of map vector and Quick Response Code is stored, when
When interface layer calls Quick Response Code, the cartographic information in map vector can be obtained.In the application layer 103, using with
The equipment of image-acquisition functions is scanned Quick Response Code in application layer 103, and the corresponding Quick Response Code refers to the point positioned with needs
The corresponding Quick Response Code of geographical location information.In the presentation layer 104, to the corresponding map location letter of two-dimensional code display
Breath, is shown in the visual device of the presentation layer 104.As preferred in the present embodiment, in the presentation layer 104, also wrap
The corresponding POI address informations 201 in geographical location are included, and add POI address information databases 203 in the data Layer 101, with
And add POI address informations interface 202 in interface layer 102.In the POI address informations 201 in the presentation layer
POI, is the point of interest of " Point of Interest ", and each POI includes four aspect information:Title, classification, longitude, latitude.
Comprehensive POI messages are the indispensable information of abundant location information map, and timely POI points of interest can remind the branch of user's road conditions
And the detailed information of neighboring buildings, it can also facilitate and find your required each place in navigation, it is the most convenient and unobstructed to select
Road carry out path planning.For example, in GIS-Geographic Information System, a POI address information 201 can be a house,
One retail shop, a mailbox, a bus station etc..The POI address informations interface 202, for being invoked at the data Layer
POI address informations in 101.The POI address information databases 203, for POI address informations interface 202 in interface layer 102
The POI address informations are called.
Fig. 3 is the level logical schematic based on Quick Response Code localization method in one embodiment of the present invention.
In the level logical schematic, including:Data Layer 101, interface layer 102, application layer 103, presentation layer
104。
In data Layer 101, the map position information can be accessed by WEB server, and carry out map letter
The vector quantization of breath, obtains map vector.In the interface layer 102, the correspondence of map vector and Quick Response Code is stored, when
When interface layer calls Quick Response Code, the cartographic information in map vector can be obtained.In the application layer 103, using with
The equipment of image-acquisition functions is scanned Quick Response Code in application layer 103, and the corresponding Quick Response Code refers to the point positioned with needs
The corresponding Quick Response Code of geographical location information.In the presentation layer 104, to the corresponding map location letter of two-dimensional code display
Breath, is shown in the visual device of the presentation layer 104.As preferred in the present embodiment, the presentation layer 104 further includes
With the Item Information 301 of geographic location association, and the item information data library 303, Yi Ji is added in the data Layer 101
Interface layer adds the Item Information interface 302 positioned at the position.The Item Information 301 with geographic location association is positioning
There is provided point an element, for example, comprising field have each point element ID number, the big class name of corresponding goods, commodity detailed catalogue item name etc..
Item Information is stored in the item information data library 303, to the Item Information interface 302 in the interface layer 102
It calls.May include putting essential factors space database in the item information data library 303, positioning is based on point element, Neng Goushi
Now user search function is associated with and realizes with map vector.
Fig. 4 is the level logical schematic based on Quick Response Code localization method in one embodiment of the present invention.
In the level logical schematic, including:Data Layer 101, interface layer 102, application layer 103, presentation layer
104。
In data Layer 101, the map position information can be accessed by WEB server, and carry out map letter
The vector quantization of breath, obtains map vector.In the interface layer 102, the correspondence of map vector and Quick Response Code is stored, when
When interface layer calls Quick Response Code, the cartographic information in map vector can be obtained.In the application layer 103, using with
The equipment of image-acquisition functions is scanned Quick Response Code in application layer 103, and the corresponding Quick Response Code refers to the point positioned with needs
The corresponding Quick Response Code of geographical location information.In the presentation layer 104, to the corresponding map location letter of two-dimensional code display
Breath, is shown in the visual device of the presentation layer 104.As preferred in the present embodiment, in the presentation layer 104, also wrap
It includes access HTML and shows 401, and the URL uniform resource locator 403 is added in the data Layer 101, and in interface layer
102 add URL access interfaces 402.The HTML shows 401 i.e. hypertext markup language, refer in the page can include picture,
Link, the non-legible element such as program are shown in the presentation layer 104 according to hypertext markup language.The URL is unified to be provided
To provide URL access interfaces, the corresponding resource information of the URL includes but not limited to source finger URL 403:Geographical location information
URL, cartographic information URL or unique corresponding addressable URL.
Fig. 5 is the structure connection diagram based on Quick Response Code positioning system in one embodiment of the invention.
A kind of system based on Quick Response Code positioning in the present embodiment, including:Database 501, geography information access mould
Block 503, position anchor point 502, intelligent mobile terminal 504,
The database 501, to store map position information in the database, the map location is based on map vector
505 storages;
The geography information AM access module 503 establishes correspondence will store map vector with Quick Response Code;
The position anchor point 502 is positioned to scan corresponding Quick Response Code;As shown in figure 5, the position anchor point
502 include multiple, and the Quick Response Code with unique mark is provided on the position anchor point 502, can be in the Quick Response Code
SVG cartographic informations are stored, as preferred in the present embodiment, the SVG cartographic informations of the storage are complete map vector letter
Breath, and corresponding POI address informations.The POI address informations may include title, classification, longitude, latitude.The vector
Figure information may be used offline form and be called, i.e., SVG map vectors is carried out whole storages, and be downloaded to local progress
Caching;Or it is read out by the way of online.SVG is to the vector graphics format on Web, it is a kind of based on XML
Two-dimension vector graphics.The image used on Web can be divided into two kinds of grating image and vector image.It is most of at present
Web graph picture is grating image such as GIF, JPEG and PNG etc..Grating image is this method tool that image is described with bitmap dot matrix
There are some limitations.Grating image must show the image, therefore normal conditions figure below including the information of each point first
It is unfavorable for network transmission as file is all bigger.Secondly grating image does not have " intelligent ".Themselves " can not be carried "
The information that can be searched.In addition grating image can not carry out stretching to influence it in the case where not losing data
Resolution ratio and color.It is seldom that the characteristics of grating image, so that it with user can not interact the information content for including well.It is right
In expressive ability of the complicated map on Web be extremely limited.
The intelligent mobile terminal 504, to the corresponding map position information of two-dimensional code display.The intelligent mobile terminal
504 include, smart mobile phone, tablet computer, intelligence displaying screen and intelligent wearable device.Such as by smart mobile phone
" sweep and sweep ", after scanning the Quick Response Code on the position anchor point 502, geography information AM access module 503 is looked into database 501
Inquiry obtains map vector 505.
Fig. 6 is the flow diagram for storing complete map vector information in one embodiment of the invention in Quick Response Code.
Step S601 extractions, by Map Vectorization, obtain map vector;Vector is carried out to map using the SVG in HTML5
Change.SVG is only not a kind of picture format, and it is a kind of picture format of the plain text based on XML language.SVG is carried
Abundant vector geometric graphic element and a kind of general " path " Path members has been supplied usually to create complicated image.Also flexibly
Coordinate control means even user-defined symbol can be added thereto.SVG image has the palette and face of enhancing
Color control characteristic can provide up to 16,000,000 colors.Support ICC color templates and RGB.SVG image can be to graphic element essence
It determines position, embedded font, increase anti-sawtooth function and the various filtering effects of addition etc..As preferred in the present embodiment, also
The abundant filtering effects and rending model that can be provided by SVG carry out filter to image and rendering are handled.SVG image exists
User can arbitrarily adjust some parameters of image without causing image fuzzy when client dynamic is drawn.Due to SVG image
It can be created under distributed environment, because SVG image is a kind of text-only file therefore any text editor may be used to
It is created.SVG image can even carry out " long-range " editor.Because SVG language elements are considered as object-based system knot
Structure.For example, a width mileage chart can be conceptualized as including " component ".So different components in map image can be by
The different producers creates from different places and is shown in same piece image by the request of HTTP or browser.Very
To style table can also independently of SVG image individualism.This characteristic can make the reusability of pictorial element significantly
Increase.
Step S602 sorts out, and passes through in HTML to the associated map element in map vector<g>Label is sorted out,
The cartographic information after cartographic information entropy size is optimized is reduced after reducing above-mentioned element number.In the present embodiment, it is carried in SVG
For<g>Element represents " Group " group and is used for the similar pictorial element of a collection of feature being defined as a set.It is logical in client
JavaScript scripts are crossed usually to be operated to the image primitive of different " figure layers ".As preferred in the present embodiment,
Cartographic information entropy size is substantially reduced by reducing element number, the operation and CPU, memory for also greatly simplifying map rendering disappear
Consumption.Then the cartographic information after optimization is used into existing Text compression algorithm again, for example is based on Huffman encoding algorithm and its improvement
Algorithm etc. further compresses, and reduces cartographic information entropy.
Step S603 storages, compress the cartographic information after the optimization, and stored, with obtaining complete vector
Figure.
As a kind of embodiment in the present embodiment, SVG map vectors can use the similar sides such as zip or HTTP/1.1
Method is compressed.Those compression methods scheme SVG almost without how many influence GIF, JPEG and PNG image size
As but there is considerable influence that can greatly reduce file size and download time by compression.
As preferred in the present embodiment, for complete vector map, the word in SVG all appears in a text form
In XML file, these information can not usually search for previous search engine used in search engine and write on dot matrix image
Interior word.Including metadata information in SVG image can include the producer, title, date created, copyright, print scale,
The metadata informations such as expense.When image can establish the index between each composition of image with text when description.
In addition, as preferred in the present embodiment, complete vector map can be presented in several ways.SVG
Neatly extend image file format it to allow the image object of 3 kinds of forms to exist respectively be vector graphics, dot matrix image
And text.Various image objects can combine, convert and can change immediately its pattern and reuse and can also be defined as
Pre-process object.There is SVG image the maintainability of height to be easy to modification, editor geometric element and attribute information etc..SVG branch
It holds and defines its Show Styles using CSS or extensible style language XSL.Such as Fill Color and line style etc. only need
A variety of different expression effects can be createed by changing several CSS with the same SVG document.
Those of ordinary skills in the art should understand that:More than, described is only specific embodiments of the present invention, and
It is not used in the limitation present invention, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done,
It should be included within protection scope of the present invention.
Claims (8)
1. a kind of method based on Quick Response Code positioning, it is characterised in that including:
In data Layer, map position information is stored in the database, and the map location is stored based on map vector;
In interface layer, the map vector of storage and Quick Response Code are established into correspondence;
It in application layer, scans corresponding Quick Response Code and is positioned, complete map vector information and right is stored in the Quick Response Code
Answer POI address informations;
In presentation layer, to the corresponding map position information of two-dimensional code display, the presentation layer further includes accessing HTML to show,
And URL uniform resource locator is added in the data Layer, and add URL access interfaces in interface layer.
2. the method according to claim 1 based on Quick Response Code positioning, which is characterized in that the presentation layer further includes ground
The corresponding POI address informations in position are managed, and POI address information databases are added in the data Layer, and are added in interface layer
POI address information interfaces.
3. it is according to claim 1 based on Quick Response Code positioning method, which is characterized in that the presentation layer, further include with
The Item Information of geographic location association, and item information data library is added in the data Layer, and add and be located in interface layer
The Item Information interface of the position.
4. the method according to claim 1 based on Quick Response Code positioning, which is characterized in that the complete arrow of Quick Response Code storage
The mode of quantity map information is:
It 6-1) extracts, by Map Vectorization, obtains map vector;
6-2) sort out, the associated map element in map vector is passed through in HTML<g>Label is sorted out, and reduces above-mentioned
The cartographic information after cartographic information entropy size is optimized is reduced after element number;
It 6-3) stores, the cartographic information after the optimization is compressed, and is stored, complete vector map is obtained.
5. the method according to claim 1 based on Quick Response Code positioning, which is characterized in that the map vector information is logical
It crosses in HTML5<svg>The map of drafting, the map vector information are offline or online.
6. the method according to claim 1 based on Quick Response Code positioning, which is characterized in that the presentation layer includes
Android client, IOS clients, WEB client side.
7. the method according to claim 1 based on Quick Response Code positioning, which is characterized in that the presentation layer includes intelligent hand
Machine, tablet computer, intelligence displaying screen and intelligent wearable device.
8. a kind of system based on Quick Response Code positioning, which is characterized in that including:Database, geography information AM access module, position are fixed
Site, intelligent mobile terminal,
The database, to store map position information in the database, the map location is stored based on map vector;
The geography information AM access module establishes correspondence will store map vector with Quick Response Code;
The position anchor point is positioned to scan corresponding Quick Response Code;
The intelligent mobile terminal, to the corresponding map position information of two-dimensional code display.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610083218.7A CN105608403B (en) | 2016-02-06 | 2016-02-06 | A kind of method and system based on Quick Response Code positioning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610083218.7A CN105608403B (en) | 2016-02-06 | 2016-02-06 | A kind of method and system based on Quick Response Code positioning |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105608403A CN105608403A (en) | 2016-05-25 |
CN105608403B true CN105608403B (en) | 2018-08-14 |
Family
ID=55988330
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610083218.7A Active CN105608403B (en) | 2016-02-06 | 2016-02-06 | A kind of method and system based on Quick Response Code positioning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105608403B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106408990A (en) * | 2016-10-08 | 2017-02-15 | 重庆科技学院 | Non-network garage map path planning method |
CN108121340B (en) * | 2017-10-31 | 2021-09-03 | 深圳市博鑫创科科技有限公司 | Two-dimensional code-based balance car automatic parking method and system |
CN109754245A (en) * | 2017-11-01 | 2019-05-14 | 杭州沃朴物联科技有限公司 | A kind of anti-system and method of stealthily substituting for two dimensional code of collecting money |
CN109754034A (en) * | 2019-01-08 | 2019-05-14 | 北京邮电大学 | A kind of terminal device localization method and device based on two dimensional code |
CN111754602B (en) * | 2020-05-15 | 2024-04-16 | 北京京东乾石科技有限公司 | Map construction method and device, electronic equipment and storage medium |
CN117808632B (en) * | 2024-02-29 | 2024-05-24 | 南京市金地物业有限责任公司 | Processing method for property cleaning management system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002157549A (en) * | 2000-11-22 | 2002-05-31 | Seiko Epson Corp | Method and device for reading two-dimensional code and information recording medium |
EP1727109A1 (en) * | 2004-03-09 | 2006-11-29 | Navitime Japan Co., Ltd. | Mobile terminal having map display function, map display system, information distribution server, and program |
CN202033747U (en) * | 2010-11-30 | 2011-11-09 | 余政 | Positioning system based on bar code identification technology and GIS technology |
CN102469112A (en) * | 2010-11-01 | 2012-05-23 | 赵继安 | Position tracking implementation method, device and system |
CN102479214A (en) * | 2010-11-30 | 2012-05-30 | 余政 | Positioning method and positioning system based on bar code recognition technology and GIS technology |
CN202582553U (en) * | 2012-05-19 | 2012-12-05 | 杜惠红 | Scenic area navigation system based on bar code scanning technique |
CN103353305A (en) * | 2013-06-13 | 2013-10-16 | 张砚炳 | Indoor positioning method and system based on mobile phone sensor |
CN103714311A (en) * | 2013-12-20 | 2014-04-09 | 深圳先进技术研究院 | City navigation system construction method based on positioning two-dimensional codes and city navigation system based on positioning two-dimensional codes |
-
2016
- 2016-02-06 CN CN201610083218.7A patent/CN105608403B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002157549A (en) * | 2000-11-22 | 2002-05-31 | Seiko Epson Corp | Method and device for reading two-dimensional code and information recording medium |
EP1727109A1 (en) * | 2004-03-09 | 2006-11-29 | Navitime Japan Co., Ltd. | Mobile terminal having map display function, map display system, information distribution server, and program |
CN102469112A (en) * | 2010-11-01 | 2012-05-23 | 赵继安 | Position tracking implementation method, device and system |
CN202033747U (en) * | 2010-11-30 | 2011-11-09 | 余政 | Positioning system based on bar code identification technology and GIS technology |
CN102479214A (en) * | 2010-11-30 | 2012-05-30 | 余政 | Positioning method and positioning system based on bar code recognition technology and GIS technology |
CN202582553U (en) * | 2012-05-19 | 2012-12-05 | 杜惠红 | Scenic area navigation system based on bar code scanning technique |
CN103353305A (en) * | 2013-06-13 | 2013-10-16 | 张砚炳 | Indoor positioning method and system based on mobile phone sensor |
CN103714311A (en) * | 2013-12-20 | 2014-04-09 | 深圳先进技术研究院 | City navigation system construction method based on positioning two-dimensional codes and city navigation system based on positioning two-dimensional codes |
Also Published As
Publication number | Publication date |
---|---|
CN105608403A (en) | 2016-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105608403B (en) | A kind of method and system based on Quick Response Code positioning | |
CN101051076B (en) | Mobile space data collection and processing and publishing method | |
US7925982B2 (en) | System and method of overlaying and integrating data with geographic mapping applications | |
CN101346000B (en) | System for providing local mobile geographic information service based on GPS and mobile terminal | |
CN105516311A (en) | Electronic map panorama acquisition method and system | |
CN102479214B (en) | Based on Bar Code and the localization method of GIS technology and alignment system | |
CN110348858A (en) | Product data processing method and processing device, electronic equipment | |
CN101706809A (en) | Method, device and system for processing multi-source map data | |
CN103187002A (en) | Method for generating electronic map | |
CN104103211A (en) | Indoor electronic map construction method and system | |
CN102054026A (en) | Travel information service system | |
CN106548105A (en) | A kind of new barcode scanning identification control method and device | |
CN101093481B (en) | Discrete tracked geographical information system | |
US20090125488A1 (en) | Geographic XML database management system | |
CN105335429A (en) | Electric energy data display method and apparatus | |
CN108197316A (en) | Support across the medium electronic document technology platform of spatial data | |
KR100404305B1 (en) | Facility management and consumer management system with digital map and mobile telecommunication terminals and the managing method thereof | |
KR20050087844A (en) | Providing a user with location-based information | |
KR101213132B1 (en) | Geometry object data code pattern, code pattern generator, geographical information display system using the code pattern and method therefore | |
CN202033747U (en) | Positioning system based on bar code identification technology and GIS technology | |
CN106529841A (en) | Handheld GIS modern agricultural park management system based on Android platform | |
Xi et al. | Application of GML and SVG in the development of WebGIS | |
CN113392339A (en) | Inland waterway element management system based on network element service | |
CN107092663B (en) | Water level early warning map drawing system and method based on GIS | |
US9460114B2 (en) | System for managing relationship and history of combined space of interest (SOI) object and content |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190308 Address after: 410007 Room 403, Building 428 Ziyuan Road, Yuhua District, Changsha City, Hunan Province Co-patentee after: Li Yun Patentee after: Changsha Zhizhi Information Technology Co., Ltd. Address before: 410004 Room 709, 5 Fucheng School, 369 Xinshaoxi Road, Tianxin District, Changsha City, Hunan Province Co-patentee before: Li Yun Patentee before: HUNAN BAOYUN TECHNOLOGY CO., LTD. |