CN110121144B - Geographic position information sharing method and device - Google Patents

Geographic position information sharing method and device Download PDF

Info

Publication number
CN110121144B
CN110121144B CN201910262400.2A CN201910262400A CN110121144B CN 110121144 B CN110121144 B CN 110121144B CN 201910262400 A CN201910262400 A CN 201910262400A CN 110121144 B CN110121144 B CN 110121144B
Authority
CN
China
Prior art keywords
map
user
picture
current position
shared
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
Application number
CN201910262400.2A
Other languages
Chinese (zh)
Other versions
CN110121144A (en
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.)
Xi'an Fengyu Information Technology Co ltd
Original Assignee
Xi'an Jifengtianxia Information Technology 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 Xi'an Jifengtianxia Information Technology Co ltd filed Critical Xi'an Jifengtianxia Information Technology Co ltd
Priority to CN201910262400.2A priority Critical patent/CN110121144B/en
Publication of CN110121144A publication Critical patent/CN110121144A/en
Application granted granted Critical
Publication of CN110121144B publication Critical patent/CN110121144B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/36Input/output arrangements for on-board computers
    • G01C21/3667Display of a road map
    • G01C21/367Details, e.g. road map scale, orientation, zooming, illumination, level of detail, scrolling of road map or positioning of current position marker
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Abstract

The disclosure relates to a method and a device for sharing geographical location information. The method comprises the following steps: when a position public sharing instruction is received, acquiring a first positioning map of the current position of a user in a first map application; performing screenshot processing on the first positioning map to obtain a map picture; obtaining map display parameters of the first positioning map, wherein the map display parameters are used for restoring the map condition in the first positioning map; after the map display parameters are coded, writing the coded map display parameters into the picture information of the map picture to generate the map picture carrying the map display parameters; and sending the map picture carrying the map display parameter to a shared party. The technical scheme can enable the shared party to visually see the geographic position of the shared party, and is simple to operate.

Description

Geographic position information sharing method and device
Technical Field
The disclosure relates to the technical field of terminals, and in particular, to a method and an apparatus for sharing geographical location information.
Background
At present, when a user wants to share certain geographical location information for others, the user can enter a map page first, share the geographical location information after selecting a location, and display the geographical location information to be shared as a map object similar to a picture when the geographical location information to be shared is directly shared on a page of an opposite user, and the opposite user can directly click the map object to enter the map page to check the geographical location information to be shared.
Under the conventional sharing scene without considering the privacy condition, the user directly shares the geographical position information, the geographical position information seen by the receiver is not visual enough, and the operation is complex.
Disclosure of Invention
The method and the device for sharing the geographical position information can enable a shared party to visually see the geographical position of the shared party, and are simple to operate; the technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for sharing geographical location information is provided, including:
when a position public sharing instruction is received, acquiring a first positioning map of the current position of a user in a first map application;
performing screenshot processing on the first positioning map to obtain a map picture;
obtaining map display parameters of the first positioning map, wherein the map display parameters are used for restoring the map condition in the first positioning map;
after the map display parameters are coded, writing the coded map display parameters into the picture information of the map picture to generate the map picture carrying the map display parameters;
and sending the map picture carrying the map display parameter to a shared party.
In one embodiment, the map display parameters include GPS coordinates of the current position of the user, coordinates of the current position of the user on the first positioning map, and information on the scale and rotation angle of the first positioning map.
In one embodiment, the map display parameters include: the method comprises the steps of obtaining GPS coordinates of the current position of a user, coordinates of the current position of the user on a first positioning map, information of the zoom ratio and the rotation angle of the first positioning map, map distances, actual distances and included angles between the current position of the user and surrounding characteristic buildings, and application types of first map application.
In one embodiment, the method further comprises:
and sending the map display parameters of the first positioning map of the current position of the user to the shared party in real time.
In one embodiment, the method further comprises:
when a position hiding and sharing instruction is received, positioning the current position information of the user;
generating a picture to be shared with the current position information of the user, wherein the current position information of the user is not displayed in the picture to be shared;
and sending the picture to be shared carrying the current position information of the user to a shared party.
In an embodiment, the generating the picture to be shared with the current location information of the user includes:
acquiring an initial picture to be shared;
and after encoding the current position information of the user, writing the current position information of the user into the initial picture information of the picture to be shared, and generating the picture to be shared carrying the current position information of the user.
In an embodiment, the generating the picture to be shared with the current location information of the user includes:
encoding the current position information and the picture type parameter of the user into a character string;
converting the character string to a decimal number;
and generating the picture to be shared carrying the current position information of the user by taking the converted decimal number as a pixel point.
According to a second aspect of the embodiments of the present disclosure, there is provided a sharing method of geographic location information, including:
receiving a map picture carrying the map display parameters;
displaying the map picture;
when first operation aiming at the map picture is received, the map picture is decoded, and the map display parameters are obtained;
and displaying a second positioning map of the current position of the user in a second map application according to the map display parameters, wherein the map conditions of the second positioning map and the first positioning map are the same.
In one embodiment, when the application types of the first map application and the second map application are the same, the map display parameters comprise GPS coordinates of the current position of the user, coordinates of the current position of the user on the first positioning map, and scaling and rotation angle information of the first positioning map.
In one embodiment, the map display parameters include: the GPS coordinates of the current position of the user, the coordinates of the current position of the user on the first positioning map, the scaling and rotation angle information of the first positioning map, the map distance, the actual distance and the included angle between the current position of the user and surrounding characteristic buildings, and the application type of the first map application; displaying a second positioning map of the current location of the user in a second map application according to the map display parameters, comprising:
when the application type of the first map application is the same as that of the second map application, displaying a second positioning map of the current position of the user in the second map application according to the GPS coordinate of the current position of the user, the coordinate of the current position of the user in the first positioning map, the zoom ratio and the rotation angle information of the first positioning map;
and when the application type of the first map application is different from that of the second map application, displaying a second positioning map of the current position of the user in the second map application according to the map display parameters.
In one embodiment, the method further comprises:
receiving map display parameters of a first positioning map of the current position of the user in real time;
and updating the second positioning map in real time according to the map display parameters.
In one embodiment, the method further comprises:
receiving a picture to be shared carrying the current position information of the user;
displaying the picture to be shared;
when a second operation aiming at the picture to be shared is received, decoding the picture to be shared to obtain the current position information of the user;
and displaying a third positioning map of the current position of the user in the second map application according to the current position information of the user.
In an embodiment, the decoding the picture to be shared and obtaining the current location information of the user include:
decoding the pixel points of the picture to be shared into decimal numbers;
converting the decimal number into a character string;
and decoding the character string into the current position information and the picture type parameter of the user.
According to a third aspect of the embodiments of the present disclosure, there is provided a sharing device for geographic location information, including:
the first obtaining module is used for obtaining a first positioning map of the current position of the user in the first map application when the position public sharing instruction is received;
the screenshot module is used for carrying out screenshot processing on the first positioning map to obtain a map picture;
the second acquisition module is used for acquiring the map display parameters of the first positioning map, and the map display parameters are used for restoring the map condition in the first positioning map;
the first generation module is used for writing the encoded map display parameters into the picture information of the map picture and generating the map picture carrying the map display parameters;
and the first sending module is used for sending the map picture carrying the map display parameters to a shared party.
In one embodiment, the map display parameters include GPS coordinates of the current position of the user, coordinates of the current position of the user on the first positioning map, and information on the scale and rotation angle of the first positioning map.
In one embodiment, the map display parameters include: the method comprises the steps of obtaining GPS coordinates of the current position of a user, coordinates of the current position of the user on a first positioning map, information of the zoom ratio and the rotation angle of the first positioning map, map distances, actual distances and included angles between the current position of the user and surrounding characteristic buildings, and application types of first map application.
In one embodiment, the apparatus further comprises:
and the second sending module is used for sending the map display parameters of the first positioning map of the current position of the user to a shared party in real time.
In one embodiment, the apparatus further comprises:
the positioning module is used for positioning the current position information of the user when a position hiding sharing instruction is received;
the second generation module is used for generating a picture to be shared which carries the current position information of the user, wherein the current position information of the user is not displayed in the picture to be shared;
and the third sending module is used for sending the picture to be shared carrying the current position information of the user to the shared party.
In one embodiment, the second generating module comprises:
the acquisition submodule is used for acquiring an initial picture to be shared;
and the first generating submodule is used for writing the coded current position information of the user into the initial picture information of the picture to be shared and generating the picture to be shared carrying the current position information of the user.
In one embodiment, the second generating module comprises:
the encoding submodule is used for encoding the current position information and the picture type parameters of the user into character strings;
a first conversion sub-module for converting the character string into a decimal number;
and the second generation submodule is used for generating the picture to be shared carrying the current position information of the user by taking the converted decimal number as a pixel point.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a sharing device for geographic location information, including:
the first receiving module is used for receiving the map picture carrying the map display parameters;
the first display module is used for displaying the map picture;
the first decoding module is used for decoding the map picture to acquire the map display parameters when receiving a first operation aiming at the map picture;
and the second display module is used for displaying a second positioning map of the current position of the user in a second map application according to the map display parameters, and the map conditions of the second positioning map and the first positioning map are the same.
In one embodiment, when the application types of the first map application and the second map application are the same, the map display parameters comprise GPS coordinates of the current position of the user, coordinates of the current position of the user on the first positioning map, and scaling and rotation angle information of the first positioning map.
In one embodiment, the map display parameters include: the GPS coordinates of the current position of the user, the coordinates of the current position of the user on the first positioning map, the scaling and rotation angle information of the first positioning map, the map distance, the actual distance and the included angle between the current position of the user and surrounding characteristic buildings, and the application type of the first map application; the second display module includes:
the first display sub-module is used for displaying a second positioning map of the current position of the user in the second map application according to the GPS coordinates of the current position of the user, the coordinates of the current position of the user in the first positioning map, the zoom ratio and the rotation angle information of the first positioning map when the application type of the first map application is the same as that of the second map application;
and the second display sub-module is used for displaying a second positioning map of the current position of the user in the second map application according to the map display parameters when the application type of the first map application is different from the application type of the second map application.
In one embodiment, the apparatus further comprises:
the second receiving module is used for receiving the map display parameters of the first positioning map of the current position of the user in real time;
and the updating module is used for updating the second positioning map in real time according to the map display parameters.
In one embodiment, the apparatus further comprises:
the third receiving module is used for receiving the picture to be shared carrying the current position information of the user;
the third display module is used for displaying the picture to be shared;
the second decoding module is used for decoding the picture to be shared and acquiring the current position information of the user when receiving a second operation aiming at the picture to be shared;
and the third display module is used for displaying a third positioning map of the current position of the user in the second map application according to the current position information of the user.
In one embodiment, the second decoding module comprises:
the first decoding submodule is used for decoding pixel points of the picture to be shared into decimal numbers;
a second conversion submodule for converting the decimal number into a character string;
and the second decoding submodule decodes the character string into the current position information and the picture type parameter of the user.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a sharing device for geographic location information, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method provided by the first aspect above;
alternatively, the processor is configured to perform the steps of the method provided by the second aspect.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing computer instructions, which when executed by a processor, implement the steps in the method provided by the first aspect described above;
alternatively, the computer instructions, when executed by a processor, implement the steps in the method provided by the second aspect described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the method and the device can acquire a first positioning map of the current position of the user in the first map application when the position public sharing instruction is received; performing screenshot processing on the first positioning map to obtain a map picture; obtaining map display parameters of the first positioning map, wherein the map display parameters are used for restoring the map condition in the first positioning map; after the map display parameters are coded, writing the coded map display parameters into the picture information of the map picture to generate the map picture carrying the map display parameters; the map picture carrying the map display parameters is sent to the shared party, so that the shared party can more intuitively see the position of the shared party through the map picture, and the shared party can see the second positioning map with the same map condition in the first positioning map by inputting a first operation, so that the shared party can intuitively see the map condition which is the same as the first positioning map seen by a user of the shared party, the shared party can conveniently and clearly see the map view angle of the user of the shared party, and the operation is simple.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a sharing method of geographical location information according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a sharing method of geographical location information according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a sharing method of geographical location information according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating a sharing apparatus for geographic location information according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a sharing apparatus for geographic location information according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a sharing apparatus for geographic location information according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Sharer-side embodiment:
fig. 1 is a flowchart illustrating a method for sharing geographical location information according to an exemplary embodiment, where as shown in fig. 1, the method for sharing geographical location information is used in a terminal of a sharing party, and includes the following steps 101 and 105:
in step 101, when a location public sharing instruction is received, a first location map of a current location of a user in a first map application is obtained.
Here, when the sharing party wants to share the geographical location of the sharing party with the shared party, the sharing party may input a location public sharing instruction on a communication interface between the sharing party and the shared party in the terminal instant messaging application, and after receiving the location public sharing instruction, the terminal of the sharing party may invoke a first map application associated with the instant messaging application in the terminal, locate the current location of the user, obtain a first location map of the current location of the user in the first map application, and display an icon of the current location of the user and geographical information such as roads and buildings around the current location of the user on the first location map.
In step 102, screenshot processing is performed on the first positioning map to obtain a map picture.
In step 103, map display parameters of the first positioning map are obtained, and the map display parameters are used for restoring the map condition in the first positioning map.
Here, the terminal may perform screenshot processing on the first positioning map to obtain a map picture of the first positioning map. Meanwhile, the terminal can also obtain map display parameters of the first positioning map, wherein the map display parameters are used for restoring the map condition in the first positioning map, and the map condition comprises the map display range and the condition of the current position of the user in the map. For example, the map display parameters may include a zoom scale of the map, a rotation angle, a GPS coordinate of a center point of the map, and a GPS coordinate of a current location of the user, and the map display range of the first positioning map may be restored by the zoom scale of the map, the rotation angle, and the GPS coordinate of the center point of the map; the condition of the current position of the user in the map can be displayed in a restoration mode through the GPS coordinates of the current position of the user.
In step 104, the map display parameters are encoded and written into the picture information of the map picture, so as to generate the map picture carrying the map display parameters.
Here, the terminal may encode the map display parameters, construct a corresponding data model through a software code side, write the data model into the picture information of the map picture, and generate the map picture carrying the map display parameters.
In step 105, the map picture carrying the map display parameter is sent to the shared party.
Here, the terminal may send the map picture carrying the map display parameter to the shared party through the instant messaging application, after the shared party receives the map picture carrying the map display parameter, the shared party may display the map picture on a communication interface with the shared party in the instant messaging application, the shared party may visually see the position of the shared party through the map picture, when the shared party wants to continue viewing, the shared party may click the map picture, the shared party's terminal may decode the map picture to obtain the map display parameter carried in the map picture, then the shared party's terminal may invoke a second map application associated with the instant messaging application in the terminal, and display a second positioning map of the current position of the user of the shared party in the second map application according to the map display parameter, the second positioning map has the same map condition as the first positioning map, thus, the terminal of the shared party can intuitively see the same map condition as the first positioning map seen by the user of the shared party from the second positioning map.
The method and the device can acquire a first positioning map of the current position of the user in the first map application when the position public sharing instruction is received; performing screenshot processing on the first positioning map to obtain a map picture; obtaining map display parameters of the first positioning map, wherein the map display parameters are used for restoring the map condition in the first positioning map; after the map display parameters are coded, writing the coded map display parameters into the picture information of the map picture to generate the map picture carrying the map display parameters; the map picture carrying the map display parameters is sent to the shared party, so that the shared party can more intuitively see the position of the shared party through the map picture, and a second positioning map with the same map condition as the first positioning map is provided for the shared party through the map display parameters, so that the shared party can intuitively see the same map condition as the first positioning map seen by a user of the shared party, and the shared party can conveniently and clearly see the map view angle of the user of the shared party.
In a possible implementation manner, the map display parameters include GPS coordinates of the current position of the user, coordinates of the current position of the user in the first positioning map, and information of the zoom ratio and the rotation angle of the first positioning map.
Here, the map applications associated with the instant messaging applications of the sharing party and the shared party terminal are map applications of a predetermined same application type, that is, the application types of the first map application and the second map application are the same. Therefore, the terminal of the shared party can position the coordinate of the current position of the user of the shared party in the second positioning map (the coordinate in the two positioning maps is the same) according to the coordinate of the current position of the user in the first positioning map, then the terminal of the shared party can restore the map display range of the first positioning map according to the GPS coordinate of the current position of the user and the zoom scale and rotation angle information of the first positioning map, so that the second positioning map can display the same geographical range as the first positioning map and display the current position of the user of the shared party in the same map coordinate.
In this embodiment, the map display parameters include a GPS coordinate of the current position of the user, a coordinate of the current position of the user on the first positioning map, and zoom scale and rotation angle information of the first positioning map, so that the second positioning map that is the same as the first positioning map in application type can be accurately restored by the second map application.
In one possible implementation, the map display parameters include: GPS coordinates of the current position of the user, coordinates of the current position of the user on the first positioning map, information of the zoom ratio and the rotation angle of the first positioning map, map distance, actual distance and included angle between the current position of the user and surrounding characteristic buildings, and application type of the first map application
Here, the map applications associated with the instant messaging applications of the sharing party and the shared party terminal are not fixedly defined, and therefore the first map application associated with the instant messaging application of the sharing party and the second map application associated with the instant messaging application of the shared party terminal may be the same or different.
Here, the shared party terminal determines, according to the application type of the first map application, that when the application types of the first map application and the second map application are the same, the shared party terminal displays, according to the GPS coordinate of the current location of the user, the coordinate of the current location of the user on the first positioning map, and the zoom scale and the rotation angle information of the first positioning map, the second positioning map which is the same as the first positioning map.
Here, the shared party terminal determines, according to the application type of the first map application, that when the application types of the first map application and the second map application are different, the shared party terminal may obtain, according to the GPS coordinates of the current location of the user and the coordinates of the current location of the user in the first positioning map, the same map range as the first positioning map and the same current location of the user according to the zoom ratio and the rotation angle information of the first positioning map.
In this embodiment, the map display parameters include: the GPS coordinate of the current position of the user, the coordinate of the current position of the user in the first positioning map, the scaling and rotation angle information of the first positioning map, the map distance, the actual distance and the included angle between the current position of the user and surrounding characteristic buildings, and the application type of the first map application are convenient, so that a second positioning map which is the same as the first positioning map in map condition can be accurately restored by second map applications which are the same as or different from the first map application.
In a possible implementation manner, the method for sharing geographical location information may further include the following step a 1.
In step a1, the map display parameter of the first positioning map of the current location of the user is sent to the shared party in real time.
Here, in order to facilitate the shared party to know the location of the shared party in real time, the terminal of the shared party may send the map display parameter to the shared party in real time, so that the terminal of the shared party may update the second positioning map in real time.
It should be noted that, the terminal of the sharing party may send the map display parameter to the shared party in real time through the instant messaging application, and the terminal of the shared party forwards the map display parameter to the second map application through the communication interface between the instant messaging application and the second map application, so that the second map application may update the second positioning map in real time according to the map display parameter.
The embodiment can send the map display parameter of the first positioning map of the current position of the user to the shared party in real time, so that the shared party can update the second positioning map in real time, and the shared party can know the map view angle of the shared party in real time.
In a possible implementation manner, the sharing method of the geographical location information may also be implemented as the following steps B1 to B3.
In step B1, when the location hiding sharing instruction is received, the current location information of the user is located.
In step B2, a picture to be shared is generated, where the picture carries the current location information of the user, and the current location information of the user is not displayed in the picture to be shared.
In step B3, the picture to be shared that carries the current location information of the user is sent to the shared user.
Here, in the case that privacy is required to keep secret, the sharing party directly sharing the geographic location may be directly seen by others, and the privacy of the sharing party is exposed. At this time, in order to protect the privacy of the sharing party, the sharing party may input the location hiding sharing instruction, and after receiving the location hiding sharing instruction, the terminal of the sharing party may directly use the terminal GPS to obtain the current location information of the user, such as the GPS coordinate longitude and latitude values.
Here, the terminal of the sharing party may generate a to-be-shared picture carrying the current location information of the user, where the to-be-shared picture does not display any current location information of the user, and then the terminal of the sharing party may send the to-be-shared picture carrying the map display parameter to the sharing party through the instant messaging application, and after the sharing party receives the to-be-shared picture carrying the map display parameter, the to-be-shared picture may be displayed on a communication interface with the sharing party in the instant messaging application.
Here, when the shared party wants to view the current location of the user of the sharing party, the shared party may click the picture to be shared at a hidden location, the terminal of the shared party decodes the picture to be shared, obtains the map display parameters carried in the picture to be shared, and then the terminal of the shared party may invoke a second map application associated with the instant messaging application in the terminal, and displays a third positioning map of the current location of the user in the second map application according to the current location information of the user, so that the shared party may view the current location of the user of the sharing party from the third positioning map.
It should be noted that, because the current position information of the user is not displayed on the picture to be shared, in order to make the shared party know that the current position information of the user is carried in the picture to be shared, when the picture to be shared is displayed, the terminal of the shared party simultaneously displays preset prompt information to prompt the shared party that the current position information of the user is carried in the picture to be shared, for example, a specific icon or a text message "position picture" may be displayed.
The embodiment can locate the current position information of the user when a position hiding and sharing instruction is received; generating a picture to be shared with the current position information of the user, wherein the current position information of the user is not displayed in the picture to be shared; and sending the picture to be shared carrying the current position information of the user to the shared party, so that after the shared party receives and displays the picture to be shared, the position privacy of the shared party is protected because the current position information of the user is not displayed on the picture to be shared.
In a possible implementation manner, the step B2 in the sharing method of the geographical location information may be implemented as the following steps B21 and B22.
In step B21, an initial picture to be shared is obtained.
In step B22, after the current position information of the user is encoded, the current position information is written into the initial picture information of the picture to be shared, and the picture to be shared carrying the current position information of the user is generated.
Here, when the terminal of the sharing party generates the to-be-shared picture carrying the current location information of the user, an initial to-be-shared picture may be obtained first, where the initial to-be-shared picture may be a picture selected by the user from an album or a picture newly taken by the user, and the current location information of the user is not displayed when the to-be-shared picture is displayed.
Here, after the terminal of the sharing party acquires the initial picture to be shared, the current position information of the user can be constructed into a corresponding data type through a software code side, the data type is marked as the picture type of the picture to be shared, and then the picture to be shared is written into the picture information of the picture to be shared, so that the picture to be shared carrying the current position information of the user is generated.
According to the embodiment, the initial picture to be shared can be obtained, then the current position information of the user is coded and written into the picture information of the initial picture to be shared, the picture to be shared with the current position information of the user is generated, and the generation mode is simple and rapid.
In a possible implementation manner, the step B2 in the sharing method of the geographical location information may be implemented as the following steps B23 to B25.
In step B23, the user current position information and picture type parameter are encoded into a character string.
In step B24, the character string is converted into a decimal number.
In step B25, a picture to be shared is generated with the converted decimal number as a pixel point, where the picture carries the current location information of the user.
Here, the terminal of the sharing party may encode the current location information of the user and the picture type parameter of the picture to be shared to a character string, convert the character string to a decimal number, for example, convert the character string to a standard ASCII code, convert the ASCII code to a 7-bit binary number, redistribute the pieced binary number value every 8 bits, supplement 0 less, and then convert the pieced binary number to the decimal number, and then the terminal may generate the picture to be shared by using the converted decimal number as a pixel point, that is, may generate a picture to be shared that is similar to white noise and hides the geographic location information.
The present embodiment may encode the current location information of the user and the picture type parameter into a character string; converting the character string to a decimal number; and generating the picture to be shared carrying the current position information of the user by taking the converted decimal number as a pixel point, wherein the generation mode is simple and quick.
Shared party side embodiment:
fig. 2 is a flowchart illustrating a method for sharing geographical location information according to an exemplary embodiment, where as shown in fig. 2, the method for sharing geographical location information is used in a terminal of a shared party, and includes the following steps 201 and 204:
in step 201, a map picture carrying the map display parameters is received.
In step 202, the map picture is displayed.
In step 203, when a first operation for the map picture is received, the map picture is decoded, and the map display parameters are acquired.
In step 204, a second positioning map of the current location of the user in a second map application is displayed according to the map display parameter, and the map conditions of the second positioning map and the first positioning map are the same.
Here, when the sharing party wants to share and disclose the geographical location of the sharing party with the shared party, the sharing party may send the map picture carrying the map display parameter to the shared party, and after receiving the map picture carrying the map display parameter, the shared party may display the map picture on a communication interface with the sharing party in an instant messaging application, and the shared party may visually see the location of the sharing party through the map picture.
Here, when the shared party wants to continue to view, when a first operation for the map picture is input, if the operation of clicking the map picture is performed, the terminal of the shared party decodes the map picture after receiving the first operation to acquire the map display parameters carried in the map picture, then the terminal of the shared party can call a second map application associated with the instant messaging application in the terminal, and display a second positioning map of the current position of the user of the shared party in the second map application according to the map display parameters, wherein the second positioning map has the same map condition as the first positioning map, and thus the terminal of the shared party can visually see the same map condition of the first positioning map seen by the user of the shared party from the second positioning map.
The embodiment can receive the map picture carrying the map display parameters and display the map picture; when first operation aiming at the map picture is received, the map picture is decoded, the map display parameter is obtained, a second positioning map of the current position of the user in second map application is displayed according to the map display parameter, the map condition of the second positioning map is the same as that of the first positioning map, and therefore the map condition of the first positioning map is restored according to the map display parameter, and the shared party can more clearly see the map view angle of the user of the shared party.
In a possible implementation manner, when the application types of the first map application and the second map application are the same, the map display parameters include GPS coordinates of the current position of the user, coordinates of the current position of the user in the first positioning map, and zoom scale and rotation angle information of the first positioning map.
Here, the map applications associated with the instant messaging applications of the sharing party and the shared party terminal are map applications of a predetermined same application type, that is, the application types of the first map application and the second map application are the same. Therefore, the terminal of the shared party can position the coordinate of the current position of the user of the shared party in the second positioning map (the coordinate in the two positioning maps is the same) according to the coordinate of the current position of the user in the first positioning map, then the terminal of the shared party can restore the map display range of the first positioning map according to the GPS coordinate of the current position of the user and the zoom scale and rotation angle information of the first positioning map, so that the second positioning map can display the same geographical range as the first positioning map and display the current position of the user of the shared party in the same map coordinate.
In this embodiment, the map display parameters include a GPS coordinate of the current position of the user, a coordinate of the current position of the user on the first positioning map, and zoom scale and rotation angle information of the first positioning map, so that the second positioning map that is the same as the first positioning map in application type can be accurately restored by the second map application.
In one possible implementation, the map display parameters include: the GPS coordinates of the current position of the user, the coordinates of the current position of the user on the first positioning map, the scaling and rotation angle information of the first positioning map, the map distance, the actual distance and the included angle between the current position of the user and surrounding characteristic buildings, and the application type of the first map application; step 204 in the above-mentioned method for sharing geographical location information may be implemented as the following steps C1 and C2.
In step C1, when the application type of the first map application is the same as the application type of the second map application, a second positioning map of the current position of the user in the second map application is displayed according to the GPS coordinates of the current position of the user, the coordinates of the current position of the user in the first positioning map, the zoom ratio and the rotation angle information of the first positioning map.
In step C2, when the application type of the first map application is different from the application type of the second map application, a second positioning map of the current location of the user in the second map application is displayed according to the map display parameters.
Here, the map applications associated with the instant messaging applications of the sharing party and the shared party terminal are not fixedly defined, and therefore the first map application associated with the instant messaging application of the sharing party and the second map application associated with the instant messaging application of the shared party terminal may be the same or different.
Here, when the terminal of the shared party decodes to obtain the map display parameter, the application type of the first map application may be obtained, and according to the application type of the first map application, the terminal of the shared party determines that when the application types of the first map application and the second map application are the same, the terminal of the shared party, according to the GPS coordinate of the current position of the user, the coordinate of the current position of the user in the first positioning map, and the scaling and rotation angle information of the first positioning map may display the second positioning map which is the same as the first positioning map.
Here, the shared party terminal determines, according to the application type of the first map application, that when the application types of the first map application and the second map application are different, the shared party terminal may obtain, according to the GPS coordinates of the current location of the user and the coordinates of the current location of the user in the first positioning map, the same map range as the first positioning map and the same current location of the user according to the zoom ratio and the rotation angle information of the first positioning map.
In this embodiment, the map display parameters include: the GPS coordinate of the current position of the user, the coordinate of the current position of the user in the first positioning map, the scaling and rotation angle information of the first positioning map, the map distance, the actual distance and the included angle between the current position of the user and surrounding characteristic buildings, and the application type of the first map application are convenient, so that a second positioning map which is the same as the first positioning map in map condition can be accurately restored by second map applications which are the same as or different from the first map application.
In a possible implementation manner, the method for sharing geographical location information may further include the following steps D1 and D2.
In step D1, map display parameters of a first location map of the user's current location are received in real time.
In step D2, the second positioning map is updated in real time according to the map display parameters.
Here, in order to facilitate the shared party to know the position of the shared party in real time, the terminal of the shared party may send the map display parameter to the shared party in real time, so that the terminal of the shared party may receive the map display parameter of the first positioning map of the current position of the user in real time and update the second positioning map in real time according to the map display parameter.
The embodiment can receive the map display parameter of the first positioning map of the current position of the user in real time, so that the shared party can update the second positioning map in real time according to the map display parameter, and the shared party can know the map view angle of the shared party in real time.
In a possible implementation manner, the method for sharing geographical location information may further include the following steps E1 to E4.
In step E1, a picture to be shared that carries the current location information of the user is received.
In step E2, the picture to be shared is displayed.
In step E3, when the second operation for the picture to be shared is received, the picture to be shared is decoded, and the current location information of the user is obtained.
In step E4, a third positioning map of the current location of the user in the second map application is displayed according to the current location information of the user.
Here, when the sharing party wants to share the geographical location of the sharing party with the shared party, the sharing party may send the picture to be shared carrying the current location information of the user to the shared party, and after the shared party receives the picture to be shared carrying the current location information of the user, the sharing party may display the picture to be shared on a communication interface with the sharing party in an instant messaging application.
Here, when the shared party wants to view the current location of the user of the sharing party, a second operation for the picture to be shared may be input at a hidden location, for example, an operation of clicking the picture to be shared may be performed, the terminal of the shared party may decode the picture to be shared, a map display parameter carried in the picture to be shared may be obtained, then, the terminal of the shared party may invoke a second map application associated with the instant messaging application in the terminal, and a third positioning map of the current location of the user in the second map application may be displayed according to the current location information of the user, so that the shared party may view the current location of the user of the sharing party from the third positioning map.
In this embodiment, a picture to be shared, which carries the current position information of the user, may be received, the picture to be shared is displayed, when a second operation for the picture to be shared is received, the picture to be shared is decoded, the current position information of the user is acquired, and a third positioning map of the current position of the user in a second map application is displayed according to the current position information of the user.
In a possible implementation manner, the step 203 in the method for sharing geographical location information may also be implemented as the following steps F1 to F3.
In step F1, the pixel points of the picture to be shared are decoded into decimal numbers.
In step F2, the decimal number is converted into a character string.
In step F3, the character string is decoded into the user current location information and picture type parameters.
The terminal of the sharing party encodes the current position information of the user and the picture type parameter of the picture to be shared to form a character string, converts the character string into a decimal number, and then generates the picture to be shared with the current position information of the user by taking the converted decimal number as a pixel point; therefore, the terminal of the shared party needs to perform reverse operation during decoding, decode the pixel points of the picture to be shared into decimal numbers, convert the decimal numbers into character strings, and finally decode the character strings into the current position information of the user and the picture type parameters, so that the current position information of the user can be obtained through decoding.
The embodiment can decode the pixel points of the picture to be shared into decimal numbers; converting the decimal number into a character string; and the character string is decoded into the current position information and the picture type parameter of the user, and the decoding mode is accurate and quick.
The implementation is described in detail below by way of several embodiments.
Fig. 3 is a flowchart illustrating a method for sharing geographic location information according to an exemplary embodiment, where as shown in fig. 3, the sharing of the geographic location information may be implemented by a sharing terminal and a shared terminal, and the like, including step 301 and step 311.
In step 301, when receiving a location public sharing instruction, a sharing party terminal acquires a first location map of a current location of a user in a first map application;
in step 302, the sharing terminal performs screenshot processing on the first positioning map to obtain a map picture;
in step 303, the sharing party terminal obtains a map display parameter of the first positioning map, where the map display parameter is used to restore a map status in the first positioning map;
wherein the map display parameters include: the method comprises the steps of obtaining GPS coordinates of the current position of a user, coordinates of the current position of the user on a first positioning map, information of the zoom ratio and the rotation angle of the first positioning map, map distances, actual distances and included angles between the current position of the user and surrounding characteristic buildings, and application types of first map application.
In step 304, after encoding the map display parameters, the sharing party terminal writes the encoded map display parameters into the picture information of the map picture to generate a map picture carrying the map display parameters;
in step 305, the sharing party terminal sends the map picture carrying the map display parameter to the shared party; the shared party terminal receives the map picture carrying the map display parameters;
in step 306, the shared party terminal displays the map picture;
in step 307, when the shared party terminal receives a first operation for the map picture, the shared party terminal decodes the map picture to obtain the map display parameter;
in step 308, when the application type of the first map application is the same as that of the second map application, the shared party terminal displays a second positioning map of the current position of the user in the second map application according to the GPS coordinate of the current position of the user, the coordinate of the current position of the user in the first positioning map, the zoom ratio and the rotation angle information of the first positioning map.
In step 309, when the application type of the first map application is different from the application type of the second map application, the shared party terminal displays a second positioning map of the current location of the user in the second map application according to the map display parameter.
In step 310, the shared party terminal sends the map display parameter of the first positioning map of the current position of the user to the shared party in real time, and receives the map display parameter of the first positioning map of the current position of the user in real time;
in step 311, the shared party terminal updates the second positioning map in real time according to the map display parameter.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 4 is a block diagram illustrating a sharing apparatus for geographic location information, which may be implemented as part or all of an electronic device through software, hardware or a combination of the two according to an exemplary embodiment. As shown in fig. 4, the sharing device 40 for geographical location information includes:
a first obtaining module 401, configured to obtain a first positioning map of a current location of a user in a first map application when a location public sharing instruction is received;
a screenshot module 402, configured to perform screenshot processing on the first positioning map to obtain a map picture;
a second obtaining module 403, configured to obtain a map display parameter of the first positioning map, where the map display parameter is used to restore a map status in the first positioning map;
a first generating module 404, configured to write the encoded map display parameters into the picture information of the map picture, and generate a map picture carrying the map display parameters;
and a first sending module 405, configured to send the map picture carrying the map display parameter to a shared party.
It should be noted that the device 40 may also implement, through other modules, the steps of the method for sharing geographical location information shown in any one embodiment of the terminal side of the sharing party, which are not described herein again in this embodiment of the disclosure.
Fig. 5 is a block diagram illustrating a sharing apparatus for geographic location information, which may be implemented as part or all of an electronic device through software, hardware or a combination of the two according to an exemplary embodiment. As shown in fig. 5, the sharing device 50 for geographic location information includes:
a first receiving module 501, configured to receive a map picture carrying the map display parameter;
a first display module 502, configured to display the map picture;
a first decoding module 503, configured to decode the map picture and obtain the map display parameter when a first operation for the map picture is received;
a second display module 504, configured to display a second positioning map of the current location of the user in a second map application according to the map display parameter, where the second positioning map is in the same map condition as the first positioning map.
It should be noted that the device 50 may also implement, through other modules, the steps of the method for sharing geographical location information shown in any one embodiment of the terminal side of the shared party, which is not described herein again in this embodiment of the disclosure.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating a sharing apparatus for geographical location information, which is suitable for a terminal device according to an exemplary embodiment. For example, the apparatus 600 may be a mobile phone, a game console, a computer, a tablet device, a personal digital assistant, and the like.
Apparatus 600 may include one or more of the following components: a processing component 601, a memory 602, a power component 603, a multimedia component 604, an audio component 605, an input/output (I/O) interface 606, a sensor component 607, and a communication component 608.
The processing component 601 generally controls the overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 601 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 601 may include one or more modules that facilitate interaction between the processing component 601 and other components. For example, the processing component 601 may include a multimedia module to facilitate interaction between the multimedia component 604 and the processing component 601.
The memory 602 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 602 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 603 provides power to the various components of the device 600. The power components 603 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 600.
The multimedia component 604 includes a screen that provides an output interface between the device 600 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 604 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 605 is configured to output and/or input audio signals. For example, audio component 605 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 602 or transmitted via the communication component 608. In some embodiments, audio component 605 also includes a speaker for outputting audio signals.
The I/O interface 606 provides an interface between the processing component 601 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 607 includes one or more sensors for providing various aspects of status assessment for the apparatus 600. For example, the sensor component 607 may detect the open/closed state of the apparatus 600, the relative positioning of components, such as a display and keypad of the apparatus 600, the sensor component 607 may also detect a change in the position of the apparatus 600 or a component of the apparatus 600, the presence or absence of user contact with the apparatus 600, orientation or acceleration/deceleration of the apparatus 600, and a change in the temperature of the apparatus 600. The sensor component 607 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor component 607 may also include a light sensor, such as a CMOS or CCD picture sensor, for use in imaging applications. In some embodiments, the sensor component 607 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 608 is configured to facilitate wired or wireless communication between the apparatus 600 and other devices. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 608 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 608 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 602 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present disclosure provides a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of the apparatus 600, enable the apparatus 600 to perform a method for sharing geographical location information of the sharing party side, the method including:
when a position public sharing instruction is received, acquiring a first positioning map of the current position of a user in a first map application;
performing screenshot processing on the first positioning map to obtain a map picture;
obtaining map display parameters of the first positioning map, wherein the map display parameters are used for restoring the map condition in the first positioning map;
after the map display parameters are coded, writing the coded map display parameters into the picture information of the map picture to generate the map picture carrying the map display parameters;
and sending the map picture carrying the map display parameter to a shared party.
The present disclosure provides a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of the apparatus 600, enable the apparatus 600 to perform the method for sharing geographical location information of the shared party side, the method comprising:
receiving a map picture carrying the map display parameters;
displaying the map picture;
when first operation aiming at the map picture is received, the map picture is decoded, and the map display parameters are obtained;
and displaying a second positioning map of the current position of the user in a second map application according to the map display parameters, wherein the map conditions of the second positioning map and the first positioning map are the same.
This embodiment also provides a sharing device of geographical location information, includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a position public sharing instruction is received, acquiring a first positioning map of the current position of a user in a first map application;
performing screenshot processing on the first positioning map to obtain a map picture;
obtaining map display parameters of the first positioning map, wherein the map display parameters are used for restoring the map condition in the first positioning map;
after the map display parameters are coded, writing the coded map display parameters into the picture information of the map picture to generate the map picture carrying the map display parameters;
and sending the map picture carrying the map display parameter to a shared party.
This embodiment also provides a sharing device of geographical location information, includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a map picture carrying the map display parameters;
displaying the map picture;
when first operation aiming at the map picture is received, the map picture is decoded, and the map display parameters are obtained;
and displaying a second positioning map of the current position of the user in a second map application according to the map display parameters, wherein the map conditions of the second positioning map and the first positioning map are the same.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. A sharing method of geographic position information is characterized by comprising the following steps:
when a position public sharing instruction is received, acquiring a first positioning map of the current position of a user in a first map application;
performing screenshot processing on the first positioning map to obtain a map picture;
obtaining map display parameters of the first positioning map, wherein the map display parameters are used for restoring the map condition in the first positioning map, and the map display parameters comprise a GPS coordinate of the current position of a user, a coordinate of the current position of the user on the first positioning map, zoom scale and rotation angle information of the first positioning map, map distance, actual distance and included angle between the current position of the user and surrounding characteristic buildings, and an application type of first map application;
after the map display parameters are coded, writing the coded map display parameters into the picture information of the map picture to generate the map picture carrying the map display parameters;
sending the map picture carrying the map display parameters to a shared party, so that the shared party displays a second positioning map which has the same map range as the first positioning map and the same current position of the user in a second map application according to the GPS coordinates of the current position of the user, the zoom scale of the first positioning map and the rotation angle information of the first positioning map, and restores and displays the second positioning map which has the same map condition as the first positioning map according to the map distance, the actual distance and the included angle between the current position of the user and surrounding characteristic buildings when the application types of the first map application and the second map application are different;
the method further comprises the following steps:
when a position hiding and sharing instruction is received, positioning the current position information of the user;
generating a picture to be shared with the current position information of the user, wherein the current position information of the user is not displayed in the picture to be shared;
sending the picture to be shared carrying the current position information of the user to a shared party;
and when the terminal of the shared party displays the picture to be shared, displaying preset prompt information at the same time, and prompting that the picture to be shared displayed by the shared party carries the current position information of the user.
2. The method of claim 1, further comprising:
and sending the map display parameters of the first positioning map of the current position of the user to the shared party in real time.
3. The method according to claim 1, wherein the generating the picture to be shared with the current location information of the user comprises:
acquiring an initial picture to be shared;
and after encoding the current position information of the user, writing the current position information of the user into the initial picture information of the picture to be shared, and generating the picture to be shared carrying the current position information of the user.
4. The method according to claim 1, wherein the generating the picture to be shared with the current location information of the user comprises:
encoding the current position information and the picture type parameter of the user into a character string;
converting the character string to a decimal number;
and generating the picture to be shared carrying the current position information of the user by taking the converted decimal number as a pixel point.
5. A sharing method of geographic position information is characterized by comprising the following steps:
receiving a map picture carrying map display parameters;
displaying the map picture;
when first operation aiming at the map picture is received, the map picture is decoded, and the map display parameters are obtained, wherein the map display parameters comprise a GPS coordinate of the current position of a user, a coordinate of the current position of the user in a first positioning map, a zoom ratio, rotation angle information, a map distance, an actual distance and an included angle between the current position of the user and surrounding characteristic buildings, and an application type of first map application;
displaying a second positioning map of the current position of the user in a second map application according to the map display parameters, wherein the second positioning map has the same map condition as the first positioning map, and the displaying the second positioning map of the current position of the user in the second map application according to the map display parameters comprises:
when the application type of the first map application is the same as that of the second map application, displaying a second positioning map which is the same as the map range of the first positioning map and the current position of the user in the second map application according to the GPS coordinate of the current position of the user, the coordinate of the current position of the user in the first positioning map, the zoom ratio of the first positioning map and the rotation angle information;
when the application type of the first map application is different from that of the second map application, displaying a second positioning map which is the same as the map range of the first positioning map and the current position of the user in the second map application according to the GPS coordinate of the current position of the user, the zoom scale of the first positioning map and the rotation angle information of the first positioning map, and restoring and displaying the second positioning map which is the same as the map condition of the first positioning map according to the map distance, the actual distance and the included angle between the current position of the user and surrounding characteristic buildings;
the method further comprises the following steps:
receiving a picture to be shared carrying the current position information of the user;
displaying the picture to be shared, and displaying preset prompt information at the same time when the picture to be shared is displayed, so as to prompt that the picture to be shared carries the current position information of the user;
when a second operation aiming at the picture to be shared is received, decoding the picture to be shared to obtain the current position information of the user;
and displaying a third positioning map of the current position of the user in the second map application according to the current position information of the user.
6. The method of claim 5,
receiving map display parameters of a first positioning map of the current position of the user in real time;
and updating the second positioning map in real time according to the map display parameters.
7. The method according to claim 5, wherein the decoding the picture to be shared and obtaining the current location information of the user comprises:
decoding the pixel points of the picture to be shared into decimal numbers;
converting the decimal number into a character string;
and decoding the character string into the current position information and the picture type parameter of the user.
8. A sharing device of geographic position information is characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any one of claims 1 to 4;
alternatively, the processor is configured to perform the steps of the method of any of claims 5 to 7.
9. A computer readable storage medium storing computer instructions, wherein the computer instructions, when executed by a processor, implement the steps of the method of any one of claims 1 to 4;
alternatively, the computer instructions, when executed by a processor, implement the steps of the method of any one of claims 5 to 7.
CN201910262400.2A 2019-04-02 2019-04-02 Geographic position information sharing method and device Active CN110121144B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910262400.2A CN110121144B (en) 2019-04-02 2019-04-02 Geographic position information sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910262400.2A CN110121144B (en) 2019-04-02 2019-04-02 Geographic position information sharing method and device

Publications (2)

Publication Number Publication Date
CN110121144A CN110121144A (en) 2019-08-13
CN110121144B true CN110121144B (en) 2021-10-08

Family

ID=67520689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910262400.2A Active CN110121144B (en) 2019-04-02 2019-04-02 Geographic position information sharing method and device

Country Status (1)

Country Link
CN (1) CN110121144B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702281A (en) * 2013-11-29 2014-04-02 康佳集团股份有限公司 Position information sharing system and position information sharing method
CN104123333A (en) * 2014-03-17 2014-10-29 腾讯科技(深圳)有限公司 Data processing method and device for location sharing
CN104125264A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Resource collecting method, device and equipment
CN104468679A (en) * 2013-09-24 2015-03-25 腾讯科技(深圳)有限公司 Geographic position sharing method and system and terminals
CN106484830A (en) * 2016-09-29 2017-03-08 北京百度网讯科技有限公司 Position sharing method, device and system
WO2018084911A1 (en) * 2016-11-07 2018-05-11 Qualcomm Incorporated Associating a captured screenshot with application-specific metadata that defines a session state of an application contributing image data to the captured screenshot
WO2018136030A1 (en) * 2017-01-17 2018-07-26 Google Llc Assistive screenshots

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125264A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Resource collecting method, device and equipment
CN104468679A (en) * 2013-09-24 2015-03-25 腾讯科技(深圳)有限公司 Geographic position sharing method and system and terminals
CN103702281A (en) * 2013-11-29 2014-04-02 康佳集团股份有限公司 Position information sharing system and position information sharing method
CN104123333A (en) * 2014-03-17 2014-10-29 腾讯科技(深圳)有限公司 Data processing method and device for location sharing
CN106484830A (en) * 2016-09-29 2017-03-08 北京百度网讯科技有限公司 Position sharing method, device and system
WO2018084911A1 (en) * 2016-11-07 2018-05-11 Qualcomm Incorporated Associating a captured screenshot with application-specific metadata that defines a session state of an application contributing image data to the captured screenshot
WO2018136030A1 (en) * 2017-01-17 2018-07-26 Google Llc Assistive screenshots

Also Published As

Publication number Publication date
CN110121144A (en) 2019-08-13

Similar Documents

Publication Publication Date Title
US11315336B2 (en) Method and device for editing virtual scene, and non-transitory computer-readable storage medium
CN109274732B (en) Geographic position obtaining method and device, electronic equipment and storage medium
EP2927787A1 (en) Method and device for displaying picture
EP3147802B1 (en) Method and apparatus for processing information
RU2710662C1 (en) Method and device for displaying an application interface
EP3327548A1 (en) Method, device and terminal for processing live shows
CN105898573B (en) Multimedia file playing method and device
EP3173925B1 (en) Interface display method and apparatus, computer program and recording medium
EP3276974A1 (en) Video sharing method and apparatus, computer program and recording medium
CN106886416B (en) Multi-user spatial processing method and device
US20220391446A1 (en) Method and device for data sharing
CN106331328B (en) Information prompting method and device
CN109756783B (en) Poster generation method and device
CN107656616B (en) Input interface display method and device and electronic equipment
CN107295167B (en) Information display method and device
CN106447747B (en) Image processing method and device
CN105101076B (en) Information reminding method and device
CN110121144B (en) Geographic position information sharing method and device
KR101638726B1 (en) Method, apparatus, program and recording medium for determining position
CN115950415A (en) Method and device for determining navigation direction and storage medium
CN106919332B (en) Information transmission method and equipment
CN106712960B (en) Processing method and device of verification code information
EP3176740A1 (en) Information processing method and apparatus, computer program and recording medium
KR20110044012A (en) Apparatus and method for providing navigation service using video call terminals
CN112153083B (en) Anchor point sharing method, device, system, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211215

Address after: 710076 room 1801, 18 / F, unit 1, building 1, Greenland Central Plaza - territorial sea block AB, No. 1, Jinye Road, high tech Zone, Xi'an, Shaanxi Province

Patentee after: Xi'an shijiusui Information Technology Co.,Ltd.

Address before: 505, zone a, science and technology resources co ordination center, high tech Zone, Xi'an City, Shaanxi Province, 710000

Patentee before: XI'AN JIFENGTIANXIA INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221109

Address after: 710076 room 1801, 18 / F, unit 1, building 1, Greenland Central Plaza - territorial sea block AB, No. 1, Jinye Road, high tech Zone, Xi'an, Shaanxi Province

Patentee after: XI'AN FENGYU INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 710076 room 1801, 18 / F, unit 1, building 1, Greenland Central Plaza - territorial sea block AB, No. 1, Jinye Road, high tech Zone, Xi'an, Shaanxi Province

Patentee before: Xi'an shijiusui Information Technology Co.,Ltd.