CN112825073A - Position message processing method, device, equipment and storage medium - Google Patents

Position message processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN112825073A
CN112825073A CN201911151197.8A CN201911151197A CN112825073A CN 112825073 A CN112825073 A CN 112825073A CN 201911151197 A CN201911151197 A CN 201911151197A CN 112825073 A CN112825073 A CN 112825073A
Authority
CN
China
Prior art keywords
location
route information
message
display area
action point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911151197.8A
Other languages
Chinese (zh)
Inventor
吴启亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911151197.8A priority Critical patent/CN112825073A/en
Publication of CN112825073A publication Critical patent/CN112825073A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Remote Sensing (AREA)
  • Navigation (AREA)

Abstract

The application provides a method, a device, equipment and a storage medium for processing a position message; the method comprises the following steps: responding to the received first operation, and acquiring a first position message corresponding to a first action point of the first operation, wherein the first action point is positioned in a first display area of the first position message; acquiring a second position message corresponding to a second action point of the first operation, wherein the second action point of the first operation is located in a second display area of the second position message; obtaining route information between a first position and a second position, wherein the first position is carried in a first position message, and the second position is carried in a second position message; and outputting the route information. Through the method and the device, the route information between the two positions can be conveniently and rapidly acquired.

Description

Position message processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing a location message.
Background
With the development of internet technology and intelligent terminals, people can communicate at any time and any place, and the communication mode is also developed from the traditional mode of making a call and sending a short message into the mode of communicating through an instant messaging tool. The instant messaging tool based on the instant messaging technology enables users to identify online users and exchange messages with the online users in real time, and is popular among people due to good communication flexibility and timeliness.
With the development of the instant messaging technology, a user can send position information to other users through an instant messaging tool, and at present, when the user faces two different position messages and wants to determine a route between the two positions, the two positions need to be manually input, so that time and labor are wasted, and the communication efficiency is greatly influenced.
Disclosure of Invention
The embodiment of the application provides a position message processing method, a position message processing device and a storage medium, which can conveniently and quickly acquire route information between two positions.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a method for processing a position message, which comprises the following steps:
responding to the received first operation, and acquiring a first position message corresponding to a first action point of the first operation, wherein the first action point is positioned in a first display area of the first position message;
acquiring a second position message corresponding to a second action point of the first operation, wherein the second action point of the first operation is located in a second display area of the second position message;
obtaining route information between a first position and a second position, wherein the first position is carried in a first position message, and the second position is carried in a second position message;
and outputting the route information.
An embodiment of the present application provides a location message processing apparatus, including:
the first obtaining module is used for responding to the received first operation and obtaining a first position message corresponding to a first action point of the first operation, wherein the first action point is positioned in a first display area of the first position message;
the second obtaining module is used for obtaining a second position message corresponding to a second action point of the first operation, wherein the second action point of the first operation is located in a second display area of the second position message;
the third acquisition module is used for acquiring route information between a first position and a second position, wherein the first position is carried in the first position information, and the second position is carried in the second position information;
and the first output module is used for outputting the route information.
An embodiment of the present application provides a location message processing device, including:
a memory for storing executable instructions;
and the processor is used for realizing the method provided by the embodiment of the application when executing the executable instructions stored in the memory.
The embodiment of the application provides a storage medium, which stores executable instructions and is used for causing a processor to execute the executable instructions so as to realize the method provided by the embodiment of the application.
The embodiment of the application has the following beneficial effects:
in the location message processing method provided in the embodiment of the present application, when two location messages are received and a route relationship between two locations carried in the two location messages is to be determined, one location message is selected through a first operation, so as to obtain a first location carried in the location message, and further obtain a second location carried in another location message corresponding to an action point of the first operation. Therefore, the route information between the first position and the second position is obtained and output, and the route information between the two positions can be quickly positioned through simple gesture interaction, so that the communication efficiency is effectively improved.
Drawings
FIG. 1A is a schematic diagram of an interface for location message processing in the related art;
fig. 1B is a schematic diagram of a network architecture of a location message processing method according to an embodiment of the present application;
fig. 1C is a schematic diagram of another network architecture of a location message processing method according to an embodiment of the present application;
fig. 1D is an alternative structure diagram of the network architecture applied to the blockchain system according to the embodiment of the present application;
FIG. 1E is an alternative block diagram according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a user terminal 100 according to an embodiment of the present application;
fig. 3 is a schematic flowchart of an implementation of a location message processing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another implementation of the method for processing a location message according to the embodiment of the present application;
fig. 5 is a schematic flowchart of another implementation of a location message processing method according to an embodiment of the present application;
fig. 6 is a schematic view of an implementation interface of a location message processing method according to an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating a variation of a position card with hand contacts according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram illustrating an implementation principle of a location message processing method according to an embodiment of the present application.
Detailed Description
In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the attached drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, references to the terms "first \ second \ third" are only to distinguish similar objects and do not denote a particular order, but rather the terms "first \ second \ third" are used to interchange specific orders or sequences, where appropriate, so as to enable the embodiments of the application described herein to be practiced in other than the order shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
Before further detailed description of the embodiments of the present invention, terms and expressions mentioned in the embodiments of the present invention are explained, and the terms and expressions mentioned in the embodiments of the present invention are applied to the following explanations.
1) Blockchain (Blockchain): an encrypted, chained transactional memory structure formed of blocks (blocks).
2) Block chain Network (Blockchain Network): the new block is incorporated into the set of a series of nodes of the block chain in a consensus manner.
In order to better understand the embodiments of the present application, a processing method and existing disadvantages of a location message processing method in the related art are first described.
Fig. 1A is a schematic interface diagram of location message processing in the related art, as shown in 101 in fig. 1A, when a location message is received in an instant messaging process, the location message is displayed in the instant messaging interface in the form of a location message card 1011, and in 101 in fig. 1A, two location messages are received. In the related art, when a location message is received in an instant messaging process, the location message may be clicked by a single person to check the location shared by friends, or after clicking the location message, as shown in 102 and 103 in fig. 1A, the distance relationship between the location and the current location of "me" may be checked.
As shown at 101 in FIG. 1A, the user receives two location messages, Shenzhen talent park and Happy valley, respectively, and then when the user clicks the location message card of Shenzhen talent park, the interface as shown at 102 in FIG. 1A is displayed, and when the user clicks the location message card of Happy valley, the interface as shown at 103 in FIG. 1A is displayed.
In the related technology, if the distance relationship between two positions different from the user is determined, the two positions need to be input again into a map, in the process, the user at least needs to memorize the accurate address information of the two positions and input the information accurately in the map, sometimes the address characters are very long, when the characters are strange, the address characters need to be memorized repeatedly, the whole process is complicated, and the efficiency is low.
Based on this, the embodiment of the application provides a location message processing method, one of the location messages is dragged to the other location message by one key, so that the map page is automatically entered, the distance relationship between the two locations is displayed, the operation is simple, and the communication efficiency can be effectively improved.
An exemplary application of the apparatus implementing the embodiment of the present application is described below, and the apparatus provided in the embodiment of the present application may be implemented as a terminal device. In the following, exemplary applications covering terminal devices when the apparatus is implemented as a terminal device will be explained.
Referring to fig. 1B, fig. 1B is a schematic diagram of a network architecture of a location message processing method according to an embodiment of the present application, and as shown in fig. 1B, the network architecture at least includes a user terminal 100 (exemplarily shown in fig. 1B as a user terminal 100-1, a user terminal 100-2, and a user terminal 100-3), a server 200, and a network 300. To support an exemplary application, the user terminal 100 is connected to the server 200 through the network 300, and communication connections are established among the user terminal 100-1, the user terminal 100-2, and the user terminal 100-3 through the network 300, and the network 300 may be a wide area network or a local area network, or a combination thereof, and data transmission is achieved by using wireless links.
An instant messaging Application (App) is installed in the user terminal 100-1, the user terminal 100-2 and the user terminal 100-3, and a user a, a user B and a user C corresponding to the user terminal 100-1, the user terminal 100-2 and the user terminal 100-3 are in the same chat group, the user a sends a first location message to the user terminal 100-3 through the user terminal 100-1, the user B sends a second location message to the user terminal 100-3 through the user terminal 100-2, two location message cards are displayed in the user terminal 100-3, when the user C wants to acquire route information between the first location and the second location, the first location message is pressed by a long time and dragged into a display area of the second location message, when the long press is cancelled, the user terminal 100-3 transmits the first location and the second location to the server 200, and the server 200 determines route information between the first location and the second location and transmits the route information to the user terminal 100-3 to display the route information in a map page opened by the user terminal 100-3.
Referring to fig. 1C, fig. 1C is a schematic diagram of a network architecture of a location message processing method according to an embodiment of the present application, and as shown in fig. 1B, the network architecture at least includes a user terminal 100 (fig. 1B exemplarily shows a user terminal 100-1, a user terminal 100-2, and a user terminal 100-3) and a network 300. To support an exemplary application, the user terminal 100-1, the user terminal 100-2, and the user terminal 100-3 are communicatively coupled via a network 300, and the network 300 may be a wide area network or a local area network, or a combination thereof, and data transmission is performed using wireless links.
An instant messaging Application (App) is installed in the user terminal 100-1, the user terminal 100-2 and the user terminal 100-3, and a user a, a user B and a user C corresponding to the user terminal 100-1, the user terminal 100-2 and the user terminal 100-3 are in the same chat group, the user a sends a first location message to the user terminal 100-3 through the user terminal 100-1, the user B sends a second location message to the user terminal 100-3 through the user terminal 100-2, two location message cards are displayed in the user terminal 100-3, when the user C wants to acquire route information between the first location and the second location, the first location message is pressed by a long time and dragged into a display area of the second location message, when the long press is cancelled, the user terminal 100-3 determines route information between the first location and the second location through off-line map data stored by itself and displays the route information in a map page opened by the user terminal 100-3.
The client (e.g., instant messaging client), a plurality of nodes (any form of computing device in an access network, such as a server, a user terminal) related to the embodiment of the application are connected through a network communication form to form a distributed system.
Here, taking a distributed system as an example of a blockchain system, referring To fig. 1D, fig. 1D is an optional structural diagram of a network architecture 101 applied To a blockchain system provided in this embodiment of the present application, and is formed by a plurality of nodes 102 (computing devices in any form in an access network, such as servers and user terminals) and clients 103, a Peer-To-Peer (P2P) network is formed between the nodes, and a P2P Protocol is an application layer Protocol operating on a Transmission Control Protocol (TCP) Protocol. In a distributed system, any machine, such as a server or a terminal, can join to become a node, and the node comprises a hardware layer, a middle layer, an operating system layer and an application layer.
Referring to the functions of each node in the blockchain system shown in fig. 1D, the functions involved include:
1) routing, a basic function that a node has, is used to support communication between nodes.
Besides the routing function, the node may also have the following functions:
2) the application is used for being deployed in a block chain, realizing specific services according to actual service requirements, recording data related to the realization functions to form recording data, carrying a digital signature in the recording data to represent a source of task data, and sending the recording data to other nodes in the block chain system, so that the other nodes add the recording data to a temporary block when the source and integrity of the recording data are verified successfully.
For example, the services implemented by the application include:
2.1) wallet, for providing the function of transaction of electronic money, including initiating transaction (i.e. sending the transaction record of current transaction to other nodes in the blockchain system, after the other nodes are successfully verified, storing the record data of transaction in the temporary blocks of the blockchain as the response of confirming the transaction is valid; of course, the wallet also supports the querying of the electronic money remaining in the electronic money address.
And 2.2) sharing the account book, wherein the shared account book is used for providing functions of operations such as storage, query and modification of account data, record data of the operations on the account data are sent to other nodes in the block chain system, and after the other nodes verify the validity, the record data are stored in a temporary block as a response for acknowledging that the account data are valid, and confirmation can be sent to the node initiating the operations.
2.3) Intelligent contracts, computerized agreements, which can enforce the terms of a contract, implemented by codes deployed on a shared ledger for execution when certain conditions are met, for completing automated transactions according to actual business requirement codes, such as querying the logistics status of goods purchased by a buyer, transferring the buyer's electronic money to the merchant's address after the buyer signs for the goods; of course, smart contracts are not limited to executing contracts for trading, but may also execute contracts that process received information.
3) And the Block chain comprises a series of blocks (blocks) which are mutually connected according to the generated chronological order, new blocks cannot be removed once being added into the Block chain, and recorded data submitted by nodes in the Block chain system are recorded in the blocks.
4) Consensus (Consensus), a process in a blockchain network, is used to agree on transactions in a block among a plurality of nodes involved, the agreed block is to be appended to the end of the blockchain, and the mechanisms for achieving Consensus include Proof of workload (Proof of Work, PoW), Proof of rights of interest (Proof of stamp, PoS), Proof of grant of shares (released Proof-of-stamp, DPoS), Proof of Elapsed amount of Time (Proof of Elapsed Time, PoET), and so on.
Referring to fig. 1E, fig. 1E is an optional schematic diagram of a Block Structure (Block Structure) provided in this embodiment, each Block includes a hash value of a transaction record (hash value of the Block) stored in the Block and a hash value of a previous Block, and the blocks are connected by the hash values to form a Block chain. The block may include information such as a time stamp at the time of block generation. A block chain (Blockchain), which is essentially a decentralized database, is a string of data blocks associated by using cryptography, and each data block contains related information for verifying the validity (anti-counterfeiting) of the information and generating a next block.
The apparatus provided in the embodiments of the present application may be implemented as hardware or a combination of hardware and software, and various exemplary implementations of the apparatus provided in the embodiments of the present application are described below.
Other exemplary configurations of the user terminal 100 may be anticipated from the exemplary configuration of the user terminal 100 shown in fig. 2, and thus the configuration described herein should not be considered as limiting, e.g., some of the components described below may be omitted, or components not described below may be added to accommodate the particular needs of some applications.
The user terminal 100 shown in fig. 2 includes: at least one processor 110, memory 140, at least one network interface 120, and a user interface 130. Each of the components in the user terminal 100 are coupled together by a bus system 150. It will be appreciated that the bus system 150 is used to enable communications among the components of the connection. The bus system 150 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 150 in fig. 2.
The user interface 130 may include a display, a keyboard, a mouse, a touch-sensitive pad, a touch screen, and the like.
The memory 140 may be either volatile memory or nonvolatile memory, and may also include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM). The volatile Memory may be a Random Access Memory (RAM). The memory 140 described in embodiments herein is intended to comprise any suitable type of memory.
The memory 140 in the embodiment of the present application is capable of storing data to support the operation of the user terminal 100. Examples of such data include: any computer program for operating on the user terminal 100, such as an operating system and application programs. The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program may include various application programs.
As an example of the method provided by the embodiment of the present application implemented by software, the method provided by the embodiment of the present application may be directly embodied as a combination of software modules executed by the processor 110, the software modules may be located in a storage medium located in the memory 140, and the processor 110 reads executable instructions included in the software modules in the memory 140, and completes the method provided by the embodiment of the present application in combination with necessary hardware (for example, including the processor 110 and other components connected to the bus 150).
By way of example, the Processor 110 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor or the like.
The location message processing method provided by the embodiment of the present application will be described in conjunction with exemplary applications and implementations of the terminal provided by the embodiment of the present application.
Referring to fig. 3, fig. 3 is a schematic flow chart of an implementation of the location message processing method provided in the embodiment of the present application, which is applied to the user terminal shown in fig. 1B or fig. 1C, and will be described with reference to the steps shown in fig. 3.
Step S101, the user terminal responds to the received first operation, and obtains a first position message corresponding to a first action point of the first operation.
Here, the user terminal may be a mobile terminal having a wireless communication capability, such as a mobile phone (mobile phone), a tablet computer, and a notebook computer, and may be implemented as a desktop computer, and the like having a computing function, which are not mobile. The user terminal may be installed with various application clients, for example, a game application client, an instant messaging application client, a shopping application client, a browser application client, and the like, and the user may perform instant messaging with other users through the instant messaging client installed in the user terminal.
The types of chat messages supported by the instant messaging application or the instant messaging function at present at least include: text messages, voice messages, picture messages, video messages, location messages, web page link messages. Different types of chat messages have different message identifications.
The user terminal can determine the type of the received message by identifying the message identifier. When the received position message is a position message, the position message may be acquired by using a preset Positioning device (such as a Positioning System like Global Positioning System (GPS), galileo, glonass, beidou, etc.), or may be acquired through a mobile communication network. The location message may be used to indicate the current geographical location information of the user who sent the location message, or may be a geographical location information designated by the user who sent the location message.
In the embodiment of the present application, the position message may be output and displayed in the form of a position message card, where the position message card may be rectangular, square, circular, or the like. The display point of the position carried in the position message in the map can be displayed in the position message card.
The first location message may be a location message received by the user terminal, or may be a location message sent by the user terminal itself to other users. The first operation may be a combined operation of a series of operations, for example, the first operation may be a long press plus slide operation, the first operation may also be a double click plus slide, or the like. The first action point of the first operation is located in the first display area of the first position message, that is, the first action point is located in the display area of the first position message card corresponding to the first position message, and the first action point of the first operation may be an initial action point of the first operation or an intermediate action point of the first operation.
Step S102, the user terminal obtains a second position message corresponding to a second action point of the first operation.
Here, in the embodiment of the present application, the second action point of the first operation may be a termination action point of the first operation, and may also be an intermediate action point of the first operation, and the second action point of the first operation is located in the second display area of the second position message.
In some embodiments, step S102 may be performed when the completion condition of the first operation is reached, and the reaching of the completion condition of the first operation may be that the first operation is performed completely. For example, when the first operation is long press plus slide, and when it is detected that the action body (for example, a finger, a touch pen, or the like) of the first operation no longer acts on the user terminal, it is considered that the completion condition of the first operation is reached, and at this time, the user terminal acquires the second position message corresponding to the second action point of the first operation.
Step S103, the user terminal acquires route information between the first position and the second position.
Here, the first location is carried in a first location message and the second location is carried in a second location message.
When the step S103 is implemented, there may be different implementation manners according to the network connection state of the user terminal, where when the network connection state of the user terminal is connected, the route information between the first location and the second location is obtained from a server, where the server may be the server in fig. 1A, and may also be a node of the blockchain network in fig. 1D; when the network state of the user terminal is unconnected, the route information between the first location and the second location is acquired by the user terminal itself based on the offline map data.
The route information takes the first position as a starting point and the second position as an end point, or the route information takes the second position as a starting point and the first position as an end point.
And step S104, outputting the route information by the user terminal.
Here, when implemented, step S104 may be to display route information on a display device of the user terminal, wherein the route information includes displaying a travel path between the first location and the second location, distance information corresponding to the travel path, travel time, and the like.
In some embodiments, since the acquired route information may be multiple, when the route information is output in step S104, multiple route information may be output, and when the route information is output, the recommended route information and the alternative route information may be displayed in different display manners, for example, the recommended route information is displayed in a non-shaded manner, and the alternative route information is displayed in a shaded manner.
In the location message processing method provided in the embodiment of the present application, when two location messages are received and a route relationship between two locations carried in the two location messages is to be determined, one location message is selected through a first operation, so as to obtain a first location carried in the location message, and when a completion condition of the first operation (that is, when the execution of the first operation is completed) is reached, a second location carried in another location message corresponding to an action point of the first operation is obtained. Therefore, the route information between the first position and the second position is obtained and output, and the route information between the two positions can be quickly positioned through simple gesture interaction, so that the communication efficiency is effectively improved.
In some embodiments, if the second location message is not included in the display content displayed on the display interface of the user terminal, the action point of the first operation may be moved to a preset scroll control area, where the preset scroll control area may be an area having a distance from an upper edge line of the display screen of the user terminal smaller than a certain threshold value, or an area having a distance from a lower edge line of the display screen of the user terminal smaller than a certain threshold value. When the action point of the first operation is detected to move to a preset scroll control area, controlling the display content to be displayed on a display interface of the display content to be displayed in a scrolling manner; and when detecting that the action point of the first operation moves out of the scroll control area, controlling the display content to stop scroll display, so that scroll display can be realized in a state that the first operation is kept.
Based on the foregoing embodiment, an embodiment of the present application further provides a location message processing method, which is applied to the network architecture shown in fig. 1C, and fig. 4 is a schematic diagram of a further implementation flow of the location message processing method provided in the embodiment of the present application, as shown in fig. 4, the method includes:
in step S201, the first user terminal sends a first location message to a third user terminal.
Here, the first location message carries at least a first location, where the first location may be a current geographical location of the first user terminal, or may be a geographical location specified by the first user. In some embodiments, the first location message may also carry time information. The first location may generally correspond to the time information, and specifically, for example, the location message may include geographical location information of a current location of the first user terminal and a time at which the first location message is transmitted.
Step S202, the second user terminal sends the second location message to the third user terminal.
Here, similar to the first location message, the second location message carries at least a second location, where the second location may be a current geographic location of the second user terminal, or may be a geographic location specified by the second user. In some embodiments, time information may also be carried in the second location message.
In step S203, the third user terminal displays the received first location message and the second location message in the chat interface.
Here, after receiving the first location message and the second location message, the third user terminal may output and display the first location message and the second location message according to a predetermined format, for example, may display the first location message and the second location message in the form of location message cards, where a location message card corresponding to the first location message includes a map interface with a preset size centered on the first location, and a location message card corresponding to the second location message includes a map interface with a preset size centered on the second location.
In step S204, the third user terminal receives the first operation.
Here, the first operation is different according to the type of the third user terminal, for example, when the third user terminal is a general personal computer or a notebook computer and the input device is a mouse, the first operation may be a click or drag of the third user through the mouse. When the display device of the third user terminal is a touch display screen (e.g., a smart phone, a tablet computer, or a desktop computer), the first operation may be a touch operation (e.g., clicking, pressing, sliding, dragging, etc.) performed by the user at a certain position on the screen by using an operation body, where the operation body includes a finger, a stylus, etc.
In step S205, the third user terminal, in response to the first operation, acquires a first location message corresponding to the first action point of the first operation.
Here, the first action point is located in a first display area of the first location message. The first action point may be a starting action point of the first operation, for example, when the first operation is a double-click drag, the first action point may be a position corresponding to the double-click. In some embodiments, the first action point may also be an intermediate action point of the first operation, for example, if the first operation is a sliding operation, a long press is performed during the sliding operation, and then the sliding operation is performed again, then the first action point may be a position corresponding to the long press gesture.
It should be noted that, in this embodiment of the application, it may be considered that the long-press gesture is received when the duration that the operation body presses the screen exceeds a preset duration threshold, for example, the duration threshold may be 2 seconds, and then it is considered that the long-press gesture is received when the duration that the operation body presses the screen exceeds 2 seconds.
Step S206, the third user terminal controls the first position message to be displayed in a floating layer mode, and the first position message moves along with the action point of the first operation.
Here, when the first action point of the first operation acts on the first display region, the first location message is considered to be selected, and then the first location message may be displayed in a floating layer manner by adding a shadow to the first location message, and in some embodiments, the first location message may be displayed in a floating layer manner by changing transparency of a background of the second location message. When the first position message is displayed in a floating layer mode, the first position message can move along with the action point of the first operation, and therefore the first position message is dragged or slid.
Step S207, when the third user terminal detects that the action point of the first operation moves, updating the first display area to a third display area, and the third display area moves along with the action point of the first operation.
In the embodiment of the present application, in order to enable the user to determine whether to move the first location message to the target location, the first display area is updated to the third display area, when the first location message is moved, the display area of the first location message may be reduced, that is, the first display area is reduced to the third display area, in other words, the first location message is displayed in the third display area smaller than the first display area, so that when the first location message is moved, it is avoided that the second location message is completely blocked by the first location message, and the user cannot visually see whether the second location message is the location message for which the user wants to determine the route.
In some embodiments, the first display area is updated to the third display area, and the first display area may be increased to the third display area, and since the first location message may be displayed in a floating layer manner by changing the background transparency of the first display area, even if the first display area is increased to the third display area, the user may be enabled to see the second location message in the coverage area (third display area) of the first location message, thereby determining whether the second location message is a location message required for determining a route.
In other embodiments, when the third user terminal detects that the action point of the first operation moves, no display may be performed, and the first display area may not be displayed.
Step S208, when the completion condition of the first operation is reached and the second action point of the first operation is located in the second display area, the third user terminal obtains a second location message corresponding to the second action point of the first operation.
Here, the condition for achieving the completion of the first operation may be that the first operation is completed, for example, when the first operation is long-press sliding, and when it is detected that the action body (for example, a finger, a touch pen, or the like) of the first operation no longer acts on the user terminal, the condition for achieving the completion of the first operation is considered to be reached, and at this time, the user terminal acquires a second location message corresponding to the second action point of the first operation. In the embodiment of the present application, the second action point of the first operation is a termination action point of the first operation, and the second action point of the first operation is located in the second display area of the second position message.
In some embodiments, when the completion condition of the first operation is reached, the third user terminal displays the first location message in the first display area if the second action point of the first operation is not located in the display area of the location message.
In step S209, the third user terminal obtains the target trip mode and the network connection status of the third user terminal.
Here, the target travel mode for determining the route information may be set by the user himself or may be a default of the system, and the target travel mode may be driving, public transportation, riding, walking, or the like. The network connection state of the self can be connected or not connected. When the network connection state is connected, the third user terminal may be connected to a mobile communication network, a wireless communication network, a wired communication network, or the like.
Step S210, when the network connection status of the user is unconnected, obtaining route information between the first location and the second location based on the target travel mode through the offline map data stored in the user.
Here, when the network connection state of the third user terminal is disconnected, the third user terminal cannot communicate with the server and other terminals, and the third user terminal may obtain route information between the first location and the second location based on the target trip method through offline map data stored in the third user terminal.
In this embodiment, the route information between the first location and the second location may be that the first location is a starting point and the second location is an ending point, and in some embodiments, the route information between the first location and the second location may also be that the second location is a starting point and the first location is an ending point.
The route information includes at least a travel path between a first location and a second location, distance information of the travel path, and a travel time.
In step S211, the third user terminal invokes a map software development kit in the instant messaging application to jump from the current page to the map display page.
Here, in order to enable the user to know the route information more intuitively, in the embodiment of the present application, the current page is jumped to the map page before outputting the route information.
In step S212, the third user terminal outputs a travel path between the first position and the second position, distance information of the travel path, and travel time in the map page.
Here, the travel route between the first position and the second position may be one or a plurality of, and when the travel route is a plurality of, distance information, travel time, and the like corresponding to the plurality of travel routes are output on the map page.
In the location message processing method provided in the embodiment of the application, when a third user terminal receives two location messages and wants to determine a route relationship between two locations carried in the two location messages, one location message is selected through a first operation, so that a first location carried in the location message is obtained, and when a completion condition of the first operation (that is, the execution of the first operation is completed) is reached, a second location carried in another location message corresponding to an action point of the first operation is obtained, so that route information between the two locations can be quickly determined through simple gesture interaction, thereby effectively improving location message processing efficiency, simplifying user operation, and improving user experience. And under the condition that the network is not connected, route information between the first position and the second position is obtained through the off-line map data stored in the terminal device and is output, so that the route information can be output under the condition that no network is connected, and the functional reliability of the terminal device is improved.
In some embodiments, the user terminal may set the travel mode through steps S31 to S33 described below, which will be described below in conjunction with the respective steps.
In step S31, a setting operation for the travel mode is received.
Here, a button control for setting a travel mode may be provided in a map page displayed by opening a map software tool development kit, and when a touch operation or a click operation is received in a display area of the button control, the task receives the setting operation for the travel mode.
And step S32, responding to the setting operation, and outputting and displaying selectable travel modes.
Here, alternative travel modes include, but are not limited to, driving, public transportation, walking, and riding.
And step S33, determining a target travel mode based on the received selection operation of the travel modes.
Here, when the user terminal receives a selection operation for a travel mode, a selected target travel mode is determined based on an action position of the selection operation, and thus, a setting process for the travel mode is completed through steps S31 to S33, so that the user can select the travel mode according to his own commonly used travel requirement, and the output route information is further improved to conform to the travel habit of the user.
In some embodiments, after step S206, the following steps may also be performed:
step S261, obtaining user identification information corresponding to the first location message.
Here, the user identification information corresponding to the first location message may be identification information of the user who sent the first location message, and may include a user nickname, a user avatar, and the like.
Step S262, outputting the user identification information in a third display area of the first location message.
Here, when implemented, the step S262 may be outputting the user identification information in a preset area in the third display area, for example, outputting the user identification information at a position such as an upper left corner or an upper right corner, a lower right corner, and the like of the third display area, so that the user can know sender information of the first location message when moving the first location message.
In some embodiments, when the first operation is executed, it is further required to determine whether to select the second location message according to the moving track of the first operation, and this is achieved by:
step S41, in the first operation execution process, acquiring coordinate information of the action point of the first operation.
Here, the coordinate information of the action point may be coordinate information of the action point on a display screen of the user terminal.
And step S42, when it is determined that the first operation acts on the second display area based on the coordinate information of the action point, controlling the second position message to be displayed in the second display area in a second display manner.
Here, since the coordinate information of the second display area is identical, when the coordinate information of the action point of the first operation is determined, it is possible to determine whether the first operation acts on the second display area through two pieces of coordinate information. For example, when the second display region is rectangular, it may be determined whether the first operation is applied to the second display region according to a magnitude relationship between coordinates of four vertices of the second display region and coordinates of an action point, and further, assuming that the coordinates of the four vertices of the second display region are (x1, y1), (x2, y1), (x2, y2) and (x1, y2), respectively, and the coordinates of the action point are (x0, y0), the first operation may be considered to be applied to the second display region only when x1 ≦ x0 ≦ x2 and y1 ≦ y0 ≦ y2 are satisfied.
And when the first operation is not applied to the second display area, the second position message is displayed in the second display area in a first display mode, wherein the first display mode is different from the second display mode. For example, the second display mode may be to highlight the edge of the second display area, and the second display mode may also be to set the background of the second display area to yellow, green, and the like, so as to prompt the user that the second location message is selected.
Based on the foregoing embodiment, an embodiment of the present application further provides a location message processing method, which is applied to the network architecture shown in fig. 1B, and fig. 5 is a schematic diagram of a further implementation flow of the location message processing method provided in the embodiment of the present application, as shown in fig. 5, the method includes:
step S501, the first user terminal sends a first location message to a third user terminal.
Here, the first location message carries at least a first location, where the first location may be a current geographical location of the first user terminal, or may be a geographical location specified by the first user. In some embodiments, the first location message may also carry time information.
Step S502, the second user terminal sends a second location message to the third user terminal.
Here, similar to the first location message, the second location message carries at least a second location, where the second location may be a current geographic location of the second user terminal, or may be a geographic location specified by the second user. In some embodiments, time information may also be carried in the second location message.
In step S503, the third user terminal displays the received first location message and the second location message in the chat interface.
Here, the third user terminal may output and display the first location message and the second location message according to a predetermined format after receiving the first location message and the second location message, for example, may display the first location message and the second location message in the form of a location message card.
Step S504, the third user terminal responds to the received first operation, and obtains a first location message corresponding to the first action point of the first operation.
Here, the first operation is different according to the type of the third user terminal, for example, when the third user terminal is a general personal computer or a notebook computer and the input device is a mouse, the first operation may be a click or drag of the third user through the mouse. When the display device of the third user terminal is a touch display screen (e.g., a smart phone, a tablet computer, or a desktop computer), the first operation may be a touch operation (e.g., clicking, pressing, sliding, dragging, etc.) performed by the user at a certain position on the screen by using an operation body, where the operation body includes a finger, a stylus, etc.
The first action point is located in a first display area of a first location message. The first action point may be a starting action point of the first operation, for example, when the first operation is a double-click drag, the first action point may be a position corresponding to the double-click. In some embodiments, the first action point may also be an intermediate action point of the first operation, for example, if the first operation is a sliding operation, a long press is performed during the sliding operation, and then the sliding operation is performed again, then the first action point may be a position corresponding to the long press gesture.
Step S505, the third user terminal adds a shadow to the first location message, so that the first location message is displayed in a floating layer manner, and the first location message moves along with the action point of the first operation.
Here, when the first action point of the first operation acts on the first display area, the first location message is considered to be selected, and then a shadow may be added to the first location message, so that the first location message is displayed in a floating layer manner, which enables the first location message to move along with the action point of the first operation, thereby implementing dragging or sliding of the first location message.
Step S506, when the third user terminal detects that the action point of the first operation moves, displaying the first position message in a third display area, where the third display area is smaller than the first display area.
Here, in order to enable the user to determine whether to move the first location message to the target location, the display area of the first location message may be reduced, that is, the first location message is displayed in a third display area smaller than the first display area, so that when the first location message is moved, it is possible to prevent the first location message from completely blocking the second location message, and thus the user cannot intuitively see whether the second location message is the location message for which the user wants to determine the route.
Step S507, the third user terminal obtains the user identification information corresponding to the first location message.
Here, the user identification information corresponding to the first location message may be identification information of the user who sent the first location message, and may include a user nickname, a user avatar, and the like.
Step S508, the third user terminal outputs the user identification information in the third display area of the first location message.
Here, when implemented, the step S508 may be outputting the user identification information in a preset area in the third display area, for example, outputting the user identification information at a position such as an upper left corner or an upper right corner, a lower right corner, and the like of the third display area, so that the user can know sender information of the first location message when moving the first location message.
Step S509, in the first operation execution process, the third user terminal obtains the coordinate information of the action point of the first operation.
And step S510, when it is determined that the first operation acts on the second display area based on the coordinate information, controlling the second position message to be displayed in the second display area in a second display manner.
When the first operation is not used in a second display area, the second position message is displayed in the second display area in a first display mode, and the first display mode is different from the second display mode;
step S511, when the condition for completing the first operation is reached, the third user terminal obtains a second location message corresponding to the second action point of the first operation.
Here, the condition for achieving the completion of the first operation may be that the first operation is completed, for example, when the first operation is long press plus slide, and when it is detected that the effector of the first operation no longer acts on the user terminal, the user terminal assumes that the condition for achieving the completion of the first operation is reached, and at this time, the user terminal acquires the second location message corresponding to the second effector of the first operation. In the embodiment of the present application, the second action point of the first operation is a termination action point of the first operation, and the second action point of the first operation is located in the second display area of the second position message.
In some embodiments, when the completion condition of the first operation is reached, the third user terminal displays the first location message in the first display area if the second action point of the first operation is not located in the display area of the location message.
In step S512, the third user terminal obtains the target trip mode and the network connection status of the third user terminal.
Here, the target travel mode for determining the route information may be set by the user himself or may be a default of the system, and the target travel mode may be driving, public transportation, riding, walking, or the like. The network connection state of the self can be connected or not connected. When the network connection state is connected, the third user terminal may be connected to a mobile communication network, a wireless communication network, a wired communication network, or the like.
Step S513, when the network connection status of the third user terminal is connected, the third user terminal sends the first location, the second location, and the target trip mode to the server.
Here, the server may be an instant messenger server when the third user terminal performs message reception, transmission and processing using an instant messenger application client. And the server determines route information based on the received first position, the second position and the target travel mode, and sends the determined route information to a third user terminal.
In step S514, the third user terminal receives the route information between the first location and the second location sent by the server.
Here, the route information takes the first position as a starting point and the second position as an end point, and in some embodiments, the route information may also take the second position as a starting point and the first position as an end point.
The route information includes at least a travel path between a first location and a second location, distance information of the travel path, and a travel time.
Step S515, the third user terminal determines whether the calling of the map software development kit in the instant messaging application is successful.
Here, when it is determined that the calling of the map software development kit in the instant messaging application is successful, the process proceeds to step S516; when it is determined that the calling of the map software development kit in the instant messaging application fails, the process proceeds to step S518.
In step S516, the third user terminal outputs a map display page.
Here, step S516 may be implemented by updating to the output map display page from the current page of the instant messaging application.
And step S517, outputting a driving path between the first position and the second position, distance information of the driving path and driving time in a map page of the third user terminal.
Here, the travel route between the first position and the second position may be one or a plurality of, and when the travel route is a plurality of, distance information, travel time, and the like corresponding to the plurality of travel routes are output on the map page.
In some embodiments, step S516 and step S517 may not be performed, but step S516 'and step S517' described below are performed:
step S516', determining a target area of the output route information in the current page;
step S517' outputs a travel path between the first position and the second position, distance information of the travel path, and a travel time in the target region.
That is, the display route information may be output in the current chat interface of the instant messaging application, and in implementation, the display route information may be output in a floating layer form in the current chat page.
In some embodiments, outputting the route information may also be to carry the route information in a communication message, and output route information such as a travel route between the first location and the second location, distance information of the travel route, and travel time through the communication message. The communication message may be an instant communication message or a short message.
Step S518, when the calling of the map software development kit fails, the third user terminal outputs a prompt message indicating that the display of the route information fails, so as to prompt the user to open the map application to output the route information.
In step S519, the third user terminal receives a second operation of opening the map application client.
Here, the second operation may be an operation made by the user in an area of the map application client where the display icon is located. In some embodiments, a graphical control for opening the map application may be further provided in the graphical control for displaying the prompt information, and when the user clicks the graphical control for the map application, the user may consider that the second operation is received, so as to directly open the map application.
In step S520, the third user terminal sends the route information to the map application client to output the route information.
In the method for processing location messages provided in the embodiment of the present application, when a third user terminal receives two location messages and wants to determine a route relationship between two locations carried in the two location messages, one location message is selected through a first operation, so as to obtain a first location carried in the location message, and when a completion condition of the first operation is reached (i.e. the first operation is performed completely), a second location carried in another location message corresponding to an action point of the first operation is obtained, so that through simple gesture interaction, route information between two locations can be quickly located, so as to effectively improve location message processing efficiency, simplify user operation, and improve user experience, and in a case that a network is connected, route information between the first location and the second location is obtained and output by sending the first location and the second location to a server, when the output fails, the route information can be sent to the map application client so as to be output in the map application client, so that the reliability of the function of outputting the route can be improved, and the accuracy of the output route information can be ensured.
Next, an exemplary application of the embodiment of the present application in a practical application scenario will be described.
Fig. 6 is a schematic diagram of an implementation interface of the location message processing method provided in the embodiment of the present application, and as shown in fig. 6, in 601, a user terminal receives two location messages, where the locations carried by the user terminal are shenzhen qinghua university institute and luxury garden, and correspond to an a location message card 6011 and a B location message card 6012. When the user wants to determine a route from the luxury garden to Shenzhen Qinghua university institute, the top right corner of the B-place message card 6012 can be pressed long on the chat interface as shown at 602 and dragged to the display area of the A-place message card 6011 as shown at 603, and when the B-place message card 6012 is dragged over the A-place message card 6011, the edge of the A-place message card 6011 becomes highlighted; when the edge of the a-position message card 6011 becomes highlighted, if the finger is released, the system automatically opens the map page as shown in 604, and displays the positional relationship of the two points AB on the map page, and as shown in 604, different paths between the two points, as well as the mileage and corresponding elapsed time of each path may be displayed A, B on the map page.
In the position message processing method provided by the embodiment of the application, the long press gesture and the change of the position of the long press gesture need to be monitored in real time, and along with the change of the coordinates (x, y) of the touch point of the gesture, the position message card follows and presents the corresponding change of a User Interface (UI). Fig. 7 is a schematic diagram of a change of a position card along with a gesture contact provided in an embodiment of the present application, where:
when the position a message card 7011 is monitored to be pressed for a long time, the interface 701 shown in fig. 7 is displayed, and the card display mode of the position a message card 7011 is changed, for example, projection may be added, so that the position message card exhibits a floating effect;
in the process that the a-position message card 7011 is pressed and dragged for a long time, the gesture contact point changes in the x axis and the y axis, at this time, an interface as shown in 702 is displayed on the UI, and at this time, the position message card 7021 becomes small and can move along with the gesture;
in the process that the a-position message card 7011 is pressed and dragged for a long time, when it is detected that the gesture contact point coordinates (x, y) are located in the display area of another position message card (the B-position message card 7012), an interface shown as 703 is presented on the UI, and as can be seen through 703, the edge of the another position message card is highlighted at this time, indicating that the capturing is successful;
when the user looses hands, the user hears that the long press is cancelled, the client transmits A, B position information to the server background, and the server background calculates the distance between the two points and carries out route planning. On the page display of the client, the map page is automatically opened after the user releases his hand, and the interface shown as 704 is presented on the UI, and address information and routes of two positions are displayed on the map page.
Fig. 8 is a schematic diagram illustrating an implementation principle of the position message processing method according to the embodiment of the present application, and it is assumed that four vertex coordinates of a display area of the a position message card are (x1, y1), (x2, y1), (x2, y2), and (x1, y2), as shown in fig. 8, when it is monitored that a gesture contact coordinate (x, y) dragging the B position message card is located in the a position message card area, x1< x < x2 and y1< y < y2 are satisfied, if the duration is cancelled, step S801 is executed, and the front end simultaneously reports A, B two pieces of position information to the server.
The server determines the distance and the route between the two received A, B location information according to the received location information, and executes step S802, automatically opens the map page, and the server issues A, B the two location information to the front end, at which time the distance relationship and the route of the two locations are shown in the map page of the front end.
It should be noted that, in the embodiment of the present application, the long-press area of the position message card is exemplarily illustrated in the upper right corner, and in an actual implementation process, the long-press area may be the entire position message card area; in addition, in some embodiments, in the process of long-pressing and dragging the position message card, user information such as a nickname, a head portrait and the like can be displayed on the position message card at the same time; and in the process of long-time pressing and dragging of the position message card, if the two position messages are not on the same screen and the gesture contact point coordinates are located in a preset indication scrolling area, the background screen message can be automatically scrolled upwards or downwards.
In the position message processing method provided by the embodiment of the application, a user only needs to drag one position message to the other position message in a chat page, so that a map page can be automatically opened, the distance relationship between the two positions is displayed, the distance relationship between the two positions is quickly positioned in the chat scene through simple gesture interaction, the operation is simple, and the communication efficiency can be effectively improved.
Continuing with the exemplary structure of the location message processing device 80 provided by the embodiment of the present application as a software module, in some embodiments, as shown in fig. 2, the software module stored in the location message processing device 80 of the memory 140 may include:
a first obtaining module 81, configured to obtain, in response to a received first operation, a first location message corresponding to a first action point of the first operation, where the first action point is located in a first display area of the first location message;
a second obtaining module 82, configured to obtain a second location message corresponding to a second action point of the first operation, where the second action point of the first operation is located in a second display area of the second location message;
a third obtaining module 83, configured to obtain route information between a first location and a second location, where the first location is carried in the first location message, and the second location is carried in the second location message;
a first output module 84, configured to output the route information.
In some embodiments, the second obtaining module 82 is further configured to:
acquiring a target travel mode for determining route information and a network connection state of the route information;
when the network connection state of the user is connected, the first position, the second position and the target trip mode are sent to a server;
and receiving the route information between the first position and the second position sent by the server.
In some embodiments, the second obtaining module 82 is further configured to:
acquiring a target travel mode for determining route information and a network connection state of the route information;
and when the network connection state of the user is unconnected, acquiring route information between the first position and the second position based on the target travel mode through offline map data stored in the user.
In some embodiments, the route information is started from a first position and ended from a second position, or the route information is started from a second position and ended from a first position.
In some embodiments, the apparatus further comprises:
the floating display module is used for controlling the first position message to be displayed in a floating layer mode when the first operation is detected to act on a first display area of the first position message, and the first position message moves along with an acting point of the first operation;
and the updating display module is used for updating the first display area to a third display area when the action point movement of the first operation is detected, and the third display area moves along with the action point movement of the first operation.
The update display module is further configured to:
when detecting that the action point of the first operation moves, reducing the first display area to a third display area; alternatively, the first and second electrodes may be,
when the movement of the action point of the first operation is detected, the first display area is increased to a third display area.
In some embodiments, the apparatus further comprises:
a fourth obtaining module, configured to obtain user identification information corresponding to the first location message;
a second output module for outputting the user identification information in a third display area of the first location message.
In some embodiments, the apparatus further comprises:
a fifth obtaining module, configured to obtain a moving trajectory of the first operation;
a first determining module, configured to control the second position message to be displayed in the second display area in a second display manner when it is determined that the first operation acts on the second display area based on the movement trajectory;
when the first operation is not used in a second display area, the second position message is displayed in the second display area in a first display mode, and the first display mode is different from the second display mode;
in some embodiments, the apparatus further comprises:
the first control module is used for controlling the display content to be displayed in a rolling mode on a display interface of the first control module when the action point of the first operation is detected to move to a preset rolling screen control area;
and the second control module is used for controlling the display content to stop scrolling when the action point of the first operation is detected to move out of the scroll control area.
In some embodiments, the apparatus further comprises:
the first receiving module is used for receiving setting operation of a trip mode;
a third output module for outputting and displaying selectable travel modes in response to the setting operation;
and the second determining module is used for determining the target travel mode based on the received selection operation of the travel mode.
In some embodiments, the route information at least includes a travel path between a first location and a second location, distance information of the travel path, and a travel time, and correspondingly, the first output module is further configured to:
calling a map software development kit in instant messaging application and outputting a map display page;
and outputting a driving path between a first position and a second position, distance information of the driving path and driving time in the map page.
In some embodiments, the apparatus further comprises:
the fourth output module is used for outputting prompt information of failed route information display when the map software development kit is called unsuccessfully so as to prompt a user to open a map application and output the route information;
and the first sending module is used for sending the route information to the map application client to output the route information when detecting a second operation of opening the map application client.
In some embodiments, the route information at least includes a travel path between a first location and a second location, distance information of the travel path, and a travel time, and correspondingly, the first output module is further configured to:
determining a target area for outputting route information in a current page;
outputting a travel path between a first position and a second position, distance information of the travel path, and a travel time in the target area; alternatively, the first and second electrodes may be,
and carrying the route information in a communication message, and outputting the route information through the communication message.
Embodiments of the present application provide a storage medium having stored therein executable instructions, which when executed by a processor, will cause the processor to perform the methods provided by embodiments of the present application, for example, the methods as illustrated in fig. 3, 4 and 5.
In some embodiments, the storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
In some embodiments, executable instructions may be written in any form of programming language (including compiled or interpreted languages), in the form of programs, software modules, scripts or code, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, and may be stored in a portion of a file that holds other programs or data, such as in one or more scripts in a hypertext Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
The above description is only an example of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims (15)

1. A method for processing location messages, comprising:
responding to the received first operation, and acquiring a first position message corresponding to a first action point of the first operation, wherein the first action point is positioned in a first display area of the first position message;
acquiring a second position message corresponding to a second action point of the first operation, wherein the second action point of the first operation is located in a second display area of the second position message;
obtaining route information between a first position and a second position, wherein the first position is carried in a first position message, and the second position is carried in a second position message;
and outputting the route information.
2. The method of claim 1, wherein obtaining route information between the first location and the second location comprises:
acquiring a target travel mode for determining route information and a network connection state of the route information;
when the network connection state of the user is connected, the first position, the second position and the target trip mode are sent to a server;
and receiving the route information between the first position and the second position sent by the server.
3. The method of claim 1, wherein obtaining route information between the first location and the second location comprises:
acquiring a target travel mode for determining route information and a network connection state of the route information;
and when the network connection state of the user is unconnected, acquiring route information between the first position and the second position based on the target travel mode through offline map data stored in the user.
4. A method according to any one of claims 1 to 3, wherein the route information starts at a first position and ends at a second position, or wherein the route information starts at a second position and ends at a first position.
5. The method of claim 1, further comprising:
when the first operation is detected to act on a first display area of a first position message, controlling the first position message to be displayed in a floating layer mode, wherein the first position message moves along with an acting point of the first operation;
when detecting that the action point of the first operation moves, updating the first display area to a third display area, wherein the third display area moves along with the action point of the first operation.
6. The method of claim 5, wherein updating the first display area to a third display area when the movement of the point of action of the first operation is detected comprises:
when detecting that the action point of the first operation moves, reducing the first display area to a third display area; alternatively, the first and second electrodes may be,
when the movement of the action point of the first operation is detected, the first display area is increased to a third display area.
7. The method of claim 5, further comprising:
acquiring user identification information corresponding to the first position message;
outputting the user identification information in a third display area of the first location message.
8. The method of claim 1, further comprising:
acquiring coordinate information of an action point of the first operation in the execution process of the first operation;
when the first operation is determined to act on the second display area based on the coordinate information, controlling the second position message to be displayed in the second display area in a second display mode;
when the first operation is not used in the second display area, the second position message is displayed in the second display area in a first display mode, and the first display mode is different from the second display mode.
9. The method according to any one of claims 1 to 3, further comprising:
receiving setting operation of a trip mode;
outputting a selectable travel mode in response to the setting operation;
and determining a target travel mode based on the received selection operation of the travel mode.
10. The method of claim 1, wherein the route information includes at least a travel path between a first location and a second location, distance information of the travel path, and a travel time, and correspondingly, the outputting the route information includes:
calling a map software development kit in instant messaging application and outputting a map display page;
and outputting a driving path between a first position and a second position, distance information of the driving path and driving time in the map page.
11. The method as recited in claim 10, wherein said method further comprises:
when the calling of the map software development kit fails, outputting prompt information of failed route information display to prompt a user to open a map application to display route information;
and when a second operation of opening the map application client is detected, sending the route information to the map application client to output the route information.
12. The method of claim 1, wherein the route information includes at least a travel path between a first location and a second location, distance information of the travel path, and travel time, and the outputting the route information includes:
determining a target area for outputting route information in a current page;
outputting a travel path between a first position and a second position, distance information of the travel path, and a travel time in the target area; alternatively, the first and second electrodes may be,
and carrying the route information in a communication message, and outputting the route information through the communication message.
13. A positional information processing apparatus characterized by comprising:
the first obtaining module is used for responding to the received first operation and obtaining a first position message corresponding to a first action point of the first operation, wherein the first action point is positioned in a first display area of the first position message;
the second obtaining module is used for obtaining a second position message corresponding to a second action point of the first operation, wherein the second action point of the first operation is located in a second display area of the second position message;
the third acquisition module is used for acquiring route information between a first position and a second position, wherein the first position is carried in the first position information, and the second position is carried in the second position information;
and the first output module is used for outputting the route information.
14. A positional information processing apparatus characterized by comprising:
a memory for storing executable instructions;
a processor for implementing the method of any one of claims 1 to 12 when executing executable instructions stored in the memory.
15. A storage medium having stored thereon executable instructions for causing a processor to perform the method of any one of claims 1 to 12 when executed.
CN201911151197.8A 2019-11-21 2019-11-21 Position message processing method, device, equipment and storage medium Pending CN112825073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911151197.8A CN112825073A (en) 2019-11-21 2019-11-21 Position message processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911151197.8A CN112825073A (en) 2019-11-21 2019-11-21 Position message processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112825073A true CN112825073A (en) 2021-05-21

Family

ID=75906463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911151197.8A Pending CN112825073A (en) 2019-11-21 2019-11-21 Position message processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112825073A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024088209A1 (en) * 2022-10-28 2024-05-02 维沃移动通信有限公司 Position information acquisition method and apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106441326A (en) * 2015-08-07 2017-02-22 三星电子株式会社 Method of providing route information and electronic device for processing same
CN106533913A (en) * 2016-11-18 2017-03-22 北京小米移动软件有限公司 Method and apparatus for sharing position information
CN106610295A (en) * 2015-10-27 2017-05-03 腾讯科技(深圳)有限公司 Route navigation method, terminal, server and system
CN107102833A (en) * 2016-02-22 2017-08-29 腾讯科技(深圳)有限公司 Line information interactive approach and electronic equipment
CN107192395A (en) * 2016-03-15 2017-09-22 腾讯科技(深圳)有限公司 A kind of air navigation aid and device, terminal, server, system
CN107356261A (en) * 2017-06-14 2017-11-17 广东欧珀移动通信有限公司 Air navigation aid and Related product
CN108353021A (en) * 2018-02-05 2018-07-31 深圳星图腾科技有限公司 Information processing method, terminal, server and the readable storage medium storing program for executing of instant messaging

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106441326A (en) * 2015-08-07 2017-02-22 三星电子株式会社 Method of providing route information and electronic device for processing same
CN106610295A (en) * 2015-10-27 2017-05-03 腾讯科技(深圳)有限公司 Route navigation method, terminal, server and system
CN107102833A (en) * 2016-02-22 2017-08-29 腾讯科技(深圳)有限公司 Line information interactive approach and electronic equipment
CN107192395A (en) * 2016-03-15 2017-09-22 腾讯科技(深圳)有限公司 A kind of air navigation aid and device, terminal, server, system
CN106533913A (en) * 2016-11-18 2017-03-22 北京小米移动软件有限公司 Method and apparatus for sharing position information
CN107356261A (en) * 2017-06-14 2017-11-17 广东欧珀移动通信有限公司 Air navigation aid and Related product
CN108353021A (en) * 2018-02-05 2018-07-31 深圳星图腾科技有限公司 Information processing method, terminal, server and the readable storage medium storing program for executing of instant messaging

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024088209A1 (en) * 2022-10-28 2024-05-02 维沃移动通信有限公司 Position information acquisition method and apparatus

Similar Documents

Publication Publication Date Title
US11481427B2 (en) Systems and methods for a scalable, collaborative, real-time, graphical life-management interface
CN111080275B (en) Cross-region resource transfer method, device, equipment and storage medium
CN103503007B (en) The method and system of the possibility analogue of the reciprocity financial transaction of identification
JP6849612B2 (en) Methods and devices for transmitting business objects
CN109074550A (en) Context-aware dispatches special case
JP2017215982A5 (en)
CN102591927B (en) Location aware spreadsheet actions
CN103248999A (en) Location-based methods, systems, and program products for performing an action at a user device
CN108763252A (en) Information-pushing method and its system, storage medium, the electronic equipment of public platform
KR102079395B1 (en) Method for providing augmented reality contents based on location
CN108734536A (en) Real estate building information three-dimensional display systems and method
CN104751325B (en) A kind of data processing method, device and system
CN103841154A (en) Network media information publishing method, system and client
CN114787843A (en) Enhanced view and notification of location and calendar information
JP6068604B1 (en) Task management method, terminal, information processing apparatus, and program
CN106302368A (en) Transaction methods and device
CN112825073A (en) Position message processing method, device, equipment and storage medium
CN109768910B (en) Information processing method, related device, equipment and system
JP2020177665A (en) Method, system, and non-transitory computer-readable recording medium for providing reminder message
JP2020109643A (en) Method of providing interface easy to use for user relating to bank account transaction history of messenger base, system, and non-temporal computer readable recording medium
US20160021034A1 (en) Technique of co-operation between a plurality of client entities
KR20200093013A (en) Methods and devices for visualization of public welfare activities
KR101335143B1 (en) Providing method and using method of service for giving a present of mobile gift certificate using a instant messaging service
US20140351135A1 (en) Registration process
CA2950783A1 (en) Actionable verifiable micro-crowd sourcing

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40044418

Country of ref document: HK