CN110635992A - Message reading method and device, server, electronic equipment and storage medium - Google Patents

Message reading method and device, server, electronic equipment and storage medium Download PDF

Info

Publication number
CN110635992A
CN110635992A CN201910881368.6A CN201910881368A CN110635992A CN 110635992 A CN110635992 A CN 110635992A CN 201910881368 A CN201910881368 A CN 201910881368A CN 110635992 A CN110635992 A CN 110635992A
Authority
CN
China
Prior art keywords
message
user
identification information
information
electronic device
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
CN201910881368.6A
Other languages
Chinese (zh)
Inventor
张腾飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201910881368.6A priority Critical patent/CN110635992A/en
Publication of CN110635992A publication Critical patent/CN110635992A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a method, a device, a server, electronic equipment and a storage medium for browsing messages based on positions, wherein the method comprises the following steps: acquiring current position information and user identification information of the electronic equipment; searching a target message matched with the current position information, and performing user identity authentication according to the user identification information; and if the user identity authentication is passed, sending the target message to the electronic equipment for reading. The problem of single function of the social mode of instant messaging or instant recording is solved.

Description

Message reading method and device, server, electronic equipment and storage medium
Technical Field
The embodiments of the present application relate to communication technologies among electronic devices, and in particular, to a method and an apparatus for browsing a message based on a location, a server, an electronic device, and a storage medium.
Background
With the improvement of science and technology and the improvement of living standard of people, more and more electronic devices appear in the life of people, and the instant messaging software or the instant recording software installed in the electronic devices greatly facilitate the life of people. However, with the pace of life of people increasing, the instant messaging mode gradually covers communication between people and human feelings, i.e., the instant messaging mode is not suitable for all social groups and social scenes; the instant recording software may only roughly record the state or mood of the user at the time due to word number or space limitation, and may already memorize the details of the recorded state or mood at the time when the instant recording software recalls later.
For example, when the middle school student communicates emotionally between parents and children, the instant messaging mode is more favorable for the stimulation of contradiction and is not favorable for transmitting the emotions of parents and children; when friends communicate with each other, the instant messaging mode can reduce the surprise; in the instant recording software, when the user returns to the scene of recording the event again, the user cannot recall the details at that time. Therefore, in addition to the necessary emergency in life and the daily demand for quick communication in work, other communication or recording methods are needed to solve the problem of single function of the social method of instant communication or instant recording.
Disclosure of Invention
The application provides a message reading method and device based on a position, a server, electronic equipment and a storage medium, and aims to solve the problem that in the prior art, the function of a social mode of instant messaging or instant recording is single.
The invention adopts the following technical scheme:
in a first aspect, an embodiment of the present application provides a location-based message viewing method, which is applied to a server, and the method includes:
acquiring current position information and user identification information of the electronic equipment;
searching a target message matched with the current position information, and performing user identity authentication according to the user identification information;
and if the user identity verification is passed, sending the target message to the electronic equipment for reading.
In a second aspect, an embodiment of the present application provides a location-based message viewing method, which is applied to an electronic device, and the method includes:
sending the current position information and the user identification information to a server;
receiving a target message determined by the server according to the current position information and the user identification information;
and displaying the target message for the user to read.
In a third aspect, an embodiment of the present application provides a location-based message viewing apparatus, which is applied to a server, and includes:
the information acquisition module is used for acquiring the current position information and the user identification information of the electronic equipment;
the target message searching module is used for searching the target message matched with the current position information and carrying out user identity authentication according to the user identification information;
and the target message sending module is used for sending the target message to the electronic equipment for reading if the user identity verification is passed.
In a fourth aspect, an embodiment of the present application provides a location-based message viewing apparatus, which is applied to an electronic device, and includes:
the information sending module is used for sending the current position information and the user identification information to the server;
a target message receiving module, configured to receive a target message determined by the server according to the current location information and the user identification information;
and the target message reading module is used for displaying the target message for the user to read.
In a fifth aspect, an embodiment of the present application provides a server, including a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the location-based message viewing method of the first aspect.
In a sixth aspect, an embodiment of the present application provides an electronic device, including a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a location-based message viewing method as described in the second aspect.
In a seventh aspect, the present application provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the location-based message viewing method according to the first aspect.
In an eighth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions which, when executed by a computer processor, perform the location-based message viewing method of the second aspect.
The technical scheme adopted by the invention has the following beneficial effects: the current position information and the user identification information of the electronic equipment are obtained through the server, so that on one hand, the target message can be searched by combining the current position information of the electronic equipment, and on the other hand, the user identification information can be applied to carry out identity verification on the current user of the electronic equipment; in addition, the server searches the target message matched with the current position information and carries out user identity authentication according to the user identification information, so that the target message can be sent to the electronic equipment for reading when the user identity authentication passes, on one hand, the message can be accurately sent to the electronic equipment of the corresponding user for the user to read, on the other hand, the message related to the position is received by the user of the electronic equipment at a certain position, and the user experience is improved. Therefore, the problem of single function of the instant messaging or instant recording social mode is solved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart of a location-based message viewing method according to an embodiment of the present application;
FIG. 2 is a flow chart of another location-based message viewing method according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of another location-based message viewing method according to an embodiment of the present disclosure;
fig. 4 is a signaling diagram of a location-based message viewing method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a location-based message viewing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a location-based message viewing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a server provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of a location-based message viewing method according to an embodiment of the present application, where the location-based message viewing method according to the embodiment may be implemented by a location-based message viewing apparatus, which may be integrated in a server, and the location-based message viewing apparatus may be implemented in hardware and/or software. Referring to fig. 1, the method may specifically include:
s101, obtaining current position information and user identification information of the electronic equipment.
Specifically, the manner of acquiring the current location information and the user identification information of the electronic device by the server may at least include the following two manners: one is an active acquisition process, for example, a server actively acquires current location information and user identification information of an electronic device; and the other is that the electronic equipment actively transmits the current position information and the user identification information to a server in real time or periodically.
Optionally, the current location information of the electronic device may be obtained through a Positioning module built in the electronic device, for example, a GPS (Global Positioning System) Positioning module; the current position information can also be manually input by a user of the electronic equipment, the condition can be applied to other conditions that the current position information acquired by the GPS module is inaccurate and the like, and the manually input position information can play a role in correcting the current position of the user of the electronic equipment.
In addition, the user identification information may be a login name of a certain communication software applied in the electronic device, or the user identification information may be a unique device identification code of the electronic device. Some communication software may be preset in the system, for example, the electronic device and the associated electronic device perform data transmission through the communication software and the server, and the communication software may be represented by X. When the user identification information is the unique device identification code of the electronic device, one electronic device is usually defaulted to be used by one user, or it can be understood that the unique device identification code of the electronic device and the login name of the communication software X have a one-to-one correspondence, that is, only the user a logs in the communication software X on the electronic device a. However, when different users log in the communication software X with the same electronic device, privacy may be revealed by using the unique device identification code as the user identification information. For example, when the electronic device is lent or lost, the unique device identification code is used for user authentication, which may cause the risk that the message leaving is leaked to cause privacy leakage. Therefore, the login name of the application communication software X is used as the user identification information, so that privacy disclosure can be avoided.
S102, searching the target message matched with the current position information, and performing user identity authentication according to the user identification information.
The server stores a plurality of message messages in advance, the message messages can be stored in a message database in the server, each message corresponds to a piece of position information, and the electronic equipment is likely to receive the message at the position. The message in the message database can be updated, for example, when a new message is generated, the new message is stored in the message database, and some expired messages are periodically removed. In one particular example, the expired message may be a message that has not been applied for more than a certain time.
Specifically, the current position information is transmitted to a server, and the server searches for target information matched with the current position information; and then, carrying out user identity authentication according to the user identification information. In a specific example, if the user identification information is not verified, it indicates that the user of the current electronic device is not the receiving user of the target message; and if the user identification information passes the verification, indicating that the user of the current electronic equipment is the receiving user of the target message.
And S103, if the user identity authentication is passed, sending the target message to the electronic equipment for reading.
Specifically, when the user identity authentication is passed, the server may use the user of the current electronic device as a receiving user of the target message, and at this time, the server sends the target message to the electronic device for the user to read.
The technical scheme adopted by the invention has the following beneficial effects: the current position information and the user identification information of the electronic equipment are obtained through the server, so that on one hand, the target message can be searched by combining the current position information of the electronic equipment, and on the other hand, the user identification information can be applied to carry out identity verification on the current user of the electronic equipment; in addition, the server searches the target message matched with the current position information and carries out user identity authentication according to the user identification information, so that the target message can be sent to the electronic equipment for reading when the user identity authentication passes, on one hand, the message can be accurately sent to the electronic equipment of the corresponding user for the user to read, on the other hand, the message related to the position is received by the user of the electronic equipment at a certain position, and the user experience is improved. Therefore, the problem of single function of the instant messaging or instant recording social mode is solved.
On the basis of the above embodiments, fig. 2 is a flowchart of another location-based message viewing method provided in the embodiments of the present application. The location-based message viewing method is an embodiment of the location-based message viewing method. Referring to fig. 2, the location-based message viewing method includes:
s201, message information sent by target equipment associated electronic equipment is stored in advance, wherein the message information carries position information and readable person identification information, and the target equipment comprises the electronic equipment and/or the electronic equipment associated with the electronic equipment.
The user of the electronic device takes a as an example, the electronic device takes an intelligent wearable device of the user a, such as a smart watch, as an example, and the target device takes an associated electronic device of the electronic device as an example, for example, the associated electronic device may be a mobile phone of dad or mom of the user a, or a mobile phone of classmate of the user a, and the like. Specifically, a message sent from an associated electronic device of the electronic device is stored in advance, wherein the message carries the position information and the viewable person identification information. Optionally, the viewable person identification information may be a user login name of a communication software, or a unique identification code of the electronic device. For example, if the user a receives the message of the smart watch, the identification information of the reviewer can be the login name of the user. The user identification information of the electronic device should be identical to the type of identification information of the browsable person carried in the message sent by the associated electronic device to the server, for example, if the identification information of the browsable person carried in the message sent by the associated electronic device to the server is the login name of the communication software X, the user identification information sent by the electronic device to the server should also be the login name of the user a in the communication software X.
In addition, if the user of the electronic device is a, and the target device is an electronic device, the application scenario of the pre-stored procedure here may be that the user a plays in a certain scenic spot, and then records the current mood with the instant recording software Y as a message, where the message carries the location information and the viewable person identification information. Alternatively, the viewable person identification information may be a user login name of certain instant recording software or a unique identification code of the electronic device. For example, if user a receives a message for a claim through instant messaging software Y in the smart watch, the reviewer identification information may be the login name of user a in instant messaging software Y. It should be noted that the user identification information of the electronic device should be identical to the type of the identification information of the browsable person carried in the message sent by the electronic device to the server, for example, if the identification information of the browsable person carried in the message sent by the electronic device to the server is the login name of the instant messaging software Y, the user a also should be the login name of the instant messaging software Y sent by the electronic device to the server.
Optionally, if the target device is an electronic device, the location information carried in the message includes preset historical location information of the electronic device.
In an optional application scenario, the user a plays from 9/1/2018 to guangzhou tower, instant recording software is used for recording the current mood as a message, and the current position information is added to the message through the instant recording software, that is, the message carries position information, and the position information is preset historical position information. The preset historical position information can be added in a real-time positioning mode or in a manually input mode. Thus, for example, when the user a arrives at the cantonese tower again for play in 2019, 9, 11, the server can send the recorded message to the electronic device through the instant recording software for the user to remember. It should be noted that the display process of the message also needs the server to confirm the identity of the user, and the specific confirmation mode may be referred to in the foregoing embodiment, so that the message may be prevented from being leaked.
Optionally, if the target device is an associated electronic device of the electronic device, the location information carried in the message includes real-time location information of the associated electronic device or location information manually reported by a holder of the associated electronic device.
The first type is real-time positioning information associated with the electronic device, for example, if a mom of the user a is at a school gate, the mobile phone is positioned at the school gate, and at this time, if the mom sends a message to the server, the position information in the message is the positioning information of the mobile phone of the mom; another way is to manually report the location information of the holder of the associated electronic device, in this specific example, the holder of the associated electronic device is the mom of the user a, the mom of the user a is at home, but the message leaving information is expected to be seen by the child at the school gate, and the message leaving information may be manually reported to the server, where the location information is the location where the mom expects the child to see the message leaving information.
S202, obtaining the current position information and the user identification information of the electronic equipment.
And S203, matching the current position information with the position information carried in the prestored message.
Specifically, a message database in the server stores a plurality of message messages in advance, and matches the current position information with the position information carried in the message messages stored in the server in advance. In a specific example, the matching process may be that a distance between the current location and a location corresponding to the message is calculated according to the current location information and the location information carried in the message, and when the distance is smaller than a preset distance threshold, it indicates that the current location information is successfully matched with the location information carried in the message.
In addition, it should be noted that when the current position of the electronic device is successfully matched with the position information carried in the message, it indicates that the user of the electronic device is in the viewable area; and when the current position of the electronic equipment is unsuccessfully matched with the position information carried in the message leaving message, indicating that the user of the electronic equipment is not in the viewable area. In the embodiment of the application, when the user of the electronic equipment leaves the viewable area, namely, is in the non-viewable area, the message leaving message is unreadable. In one specific example, the message unreadable may be that when the user is in the viewable area, the message is readable but the user is busy with nothing else and is unreadable when the user leaves the viewable area, and when the user clicks on the message, the possible prompt is "currently not in the viewable area, the message is unreadable".
And S204, taking the message to which the successfully matched position information belongs as a target message.
Specifically, after the position information matched with the current position information is acquired, the message to which the successfully matched position information belongs or which corresponds to can be used as the target message. In an actual application process, one or more target message messages may be provided. For example, when the corresponding positions of two message messages are close, it is possible to obtain two target message messages, and the two positions may be a school entrance and a canteen at the school entrance.
S205, comparing the user identification information with the identification information of the browsable person to verify the user identity.
Specifically, the new user identification information is compared with the identification information of the browsable person, and when the comparison is passed, the user identification verification is passed; and when the comparison is failed, the user identity authentication is not passed. In a specific example, the comparison success here is a perfect match, for example, if the user identification information is a login name of the communication software, the login name is compared with the login name of the login software in the reviewer identification information, and when the user identification information is completely consistent with the login name of the login software, the user authentication is passed.
It should be noted that S203 and S204 are location matching processes of the target when determining the target message, and S205 is a user authentication process, and there is no precedence relationship between the two processes, which are only used for example.
And S206, if the user identity authentication is passed, sending the target message to the electronic equipment for reading.
In the embodiment of the application, the server firstly stores the message messages sent by the electronic equipment related to the electronic equipment, and the message messages carry the position information and the identification information of the browsable person, so that the message messages can be applied to the position information carried in the message messages in the matching process, and the message messages corresponding to the position information which is successfully matched are used as target message messages; and in addition, the user identity is verified according to the user identification information, and the target message is sent to the electronic equipment for reading when the user identity verification is passed. Therefore, the method and the device realize that the user of the electronic equipment receives the specific message at the specific position, overcome the problem of single function of the social mode of instant messaging or instant recording, and improve the user experience.
Fig. 3 is a flowchart of a location-based message viewing method according to an embodiment of the present application, where the location-based message viewing method according to the embodiment may be implemented by a location-based message viewing apparatus, which may be integrated in an electronic device, and the location-based message viewing apparatus may be implemented in hardware and/or software. Referring to fig. 3, the method may specifically include:
s301, sending the current position information and the user identification information to a server.
Specifically, the electronic device may send the current location information and the user identification information to the server in real time or periodically, and the detailed sending manner may refer to the foregoing description in the embodiments of the present application, which is not described herein again.
S302, receiving a target message determined by the server according to the current position information and the user identification information.
Specifically, the server searches a target message matched with the current position information in a message database according to the current position information and the user identification information sent by the electronic equipment, and then sends the target message to the electronic equipment.
And S303, displaying the target message for the user to read.
Specifically, the electronic device presents the target message on a screen, for example, in the form of a pop-up window on the screen of the electronic device, or in a notification bar of the electronic device while other applications are running. The notification bar can respond to the selection or click operation of the user, and the target message is displayed in a full screen mode for the user to read.
In the embodiment of the application, the electronic equipment sends the current position information and the user identification information to the server, so that the server can combine the current position information of the electronic equipment when searching the target message, and can also use the user identification information to carry out identity verification on the current user of the electronic equipment; in addition, the server searches the target message matched with the current position information and carries out user identity authentication according to the user identification information, so that the target message can be sent to the electronic equipment for reading when the user identity authentication passes, on one hand, the message can be accurately sent to the electronic equipment of the corresponding user for the user to read, on the other hand, the message related to the position is received at the certain position of the electronic equipment, and the user experience is improved. Therefore, the problem of single function of the instant messaging social mode is solved.
The embodiment of the application also provides a location-based message viewing system, which comprises a server 41 and an electronic device 42. Fig. 4 is a signaling diagram of a location-based message viewing method according to an embodiment of the present application, where the method at least includes the following steps:
s401, the electronic equipment sends the current position information and the user identification information to a server;
s402, the server searches a target message matched with the current position information and carries out user identity verification according to the user identification information;
and S403, the server sends the target message to the electronic equipment when the user identity authentication is passed.
S404, the electronic equipment displays the target message
The technical scheme adopted by the invention has the following beneficial effects: the current position information and the user identification information of the electronic equipment are obtained through the server, so that on one hand, the target message can be searched by combining the current position information of the electronic equipment, and on the other hand, the user identification information can be applied to carry out identity verification on the current user of the electronic equipment; in addition, the server searches the target message matched with the current position information and carries out user identity authentication according to the user identification information, so that the target message can be sent to the electronic equipment for reading when the user identity authentication passes, on one hand, the message can be accurately sent to the electronic equipment of the corresponding user for the user to read, on the other hand, the message related to the position is received by the user of the electronic equipment at a certain position, and the user experience is improved. Therefore, the problem of single function of the instant messaging social mode is solved.
In order to make the technical solution of the present application clearer, two specific examples are used below to illustrate the technical solution in the embodiments of the present application.
The first example is when the target device is an associated device of the electronic device, i.e., the message is sent by a friend or friend of the user of the electronic device. Specifically, when a mother connects a child at a school gate before a business trip, a message of 'baby, good study and good taste' is sent back to a server, the position information carried in the message is the school gate, and the position information is the positioning information of the mobile phone of the mother; in addition, mom sends a message of 'baby, good study' to the server in the bedroom before going on a business, the position information of the message is the door of the school, and the position information is input by the mom through the input box of the communication software in the mobile phone. In addition, the students send different message messages carrying corresponding position information to the server, for example, the places such as ' good nurse wound ' and ' the restaurant beside have a sauce elbow which you like, want to call me at any time ' or ' the convenience store boss is a di-tertiary place, things need to be contacted at any time, and the students send the messages, wherein the identification information of the browsable people carried in the messages is the login name of the communication software X of the user A, so that the user A who needs to go home for a period of time due to leg injury can receive different blessings left by the students in different places along the way of going home. The social contact mode based on the position message in the embodiment of the application belongs to a slow social contact mode, the efficiency of information transmission among users is intentionally reduced, the emotion input of the users to single information can be promoted, more surprise feelings can be created when the position information transmission is combined, and the emotional communication of both social contacts is facilitated.
A second example is when the target device is the electronic device itself, i.e. when a message is left, the electronic device user sends it by himself. Specifically, the scene may be, for example, when going out or traveling, meeting with a novelty person or making a feeling and making a probability to record and express emotion, and when going back to a place, opening the rough record of the current social platform is difficult to restore the current mood. At this moment, when the technical scheme of the application is applied, the mood record during traveling or travelling is generated into a message and uploaded to the server, the message carries position information and identification information of a browsable person, the identification information of the browsable person is set into a unique device identification code of the current electronic device or a login name of instant recording software for generating the message, therefore, when the user resumes the place, the electronic device uploads the current position information and the user identification information to the server, and when the server finds out a target message matched with the current position information and the user identification information passes user identity verification, the server can send the target message to the electronic device, so that the user of the electronic device can feel the mood at the time through the target message during the resume the place.
The application scenario of the second example may also be that when a child arrives at a school with a schoolbag carrying on her back, a message "today and friends have a good chance to play together" recorded by himself when he left school yesterday can be received; when a person passes through a restaurant and prepares to go to eat, the person receives a message of bad comment information of 'eating the dining hall which is difficult to eat no more' which is sent one month before the person receives the message. It should be noted that, by performing the user authentication through the instant recording software, the problem of disclosure of the user privacy when the user of the electronic device changes, for example, the electronic device is lost or loaned, so that even if the person who finds the electronic device passes through the address carried in the message, the message is not displayed if the authentication does not pass.
On the basis of the above embodiments, fig. 5 is a schematic structural diagram of a location-based message viewing apparatus provided in an embodiment of the present application, which may be integrated in a server. Referring to fig. 5, the location-based message viewing apparatus provided in this embodiment specifically includes: an information acquisition module 501, a target message searching module 502 and a target message sending module 503.
The information obtaining module 501 is configured to obtain current location information and user identification information of the electronic device; a target message searching module 502, configured to search for a target message matching the current location information, and perform user identity authentication according to the user identification information; and the target message sending module 503 is configured to send the target message to the electronic device for reading if the user identity verification passes.
The technical scheme adopted by the invention has the following beneficial effects: the current position information and the user identification information of the electronic equipment are obtained through the server, so that on one hand, the target message can be searched by combining the current position information of the electronic equipment, and on the other hand, the user identification information can be applied to carry out identity verification on the current user of the electronic equipment; in addition, the server searches the target message matched with the current position information and carries out user identity authentication according to the user identification information, so that the target message can be sent to the electronic equipment for reading when the user identity authentication passes, on one hand, the message can be accurately sent to the electronic equipment of the corresponding user for the user to read, on the other hand, the message related to the position is received by the user of the electronic equipment at a certain position, and the user experience is improved. Therefore, the problem of single function of the instant messaging or instant recording social mode is solved.
Optionally, the electronic device further includes an information pre-storing module, configured to pre-store a message sent from the target device before obtaining current location information and user identification information of the electronic device, where the message carries the message sent by the location information, and the message carries the location information and the identifier information of the browsable person; the target device includes an electronic device and/or an associated electronic device of the electronic device.
Optionally, the target message searching module 502 is specifically configured to:
matching the current position information with position information carried in a prestored message;
and taking the message to which the successfully matched position information belongs as a target message.
Optionally, the target message searching module 502 is specifically configured to:
and comparing the user identification information with the identification information of the browsable person to verify the identity of the user.
Optionally, if the target device is an electronic device, the location information carried in the message includes preset historical location information of the electronic device;
if the target device is the associated electronic device of the electronic device, the position information carried in the message includes the real-time positioning information of the associated electronic device or the position information manually reported by the holder of the associated device.
The location-based message viewing device provided by the embodiment of the application can be used for executing the location-based message viewing method provided by the embodiment, and has corresponding functions and beneficial effects.
On the basis of the foregoing embodiment, fig. 6 is a schematic structural diagram of a location-based message viewing apparatus according to an embodiment of the present application, where the apparatus may be integrated in an electronic device. Referring to fig. 6, the location-based message viewing apparatus provided in this embodiment specifically includes: an information sending module 601, a target message receiving module 602 and a target message reading module 603.
The information sending module 601 is configured to send current location information and user identification information to a server; a target message receiving module 602, configured to receive a target message determined by the server according to the current location information and the user identification information; and the target message reading module 603 is configured to display the target message for the user to read.
In the embodiment of the application, the electronic equipment sends the current position information and the user identification information to the server, so that the server can combine the current position information of the electronic equipment when searching the target message, and can also use the user identification information to carry out identity verification on the current user of the electronic equipment; in addition, the server searches the target message matched with the current position information and carries out user identity authentication according to the user identification information, so that the target message can be sent to the electronic equipment for reading when the user identity authentication passes, on one hand, the message can be accurately sent to the electronic equipment of the corresponding user for the user to read, on the other hand, the message related to the position is received at the certain position of the electronic equipment, and the user experience is improved. Therefore, the problem of single function of the instant messaging social mode is solved.
The embodiment of the application provides a server, and the server can be integrated with the position-based message reading device provided by the embodiment of the application. Fig. 7 is a schematic structural diagram of a server according to an embodiment of the present application. Referring to fig. 7, the server includes: a processor 70, a memory 71. The number of the processors 70 in the server may be one or more, and one processor 70 is taken as an example in fig. 7. The number of the memories 71 in the server may be one or more, and one memory 71 is taken as an example in fig. 7. The processor 70 and the memory 71 of the server may be connected by a bus or other means, as exemplified by the bus connection in fig. 7.
The memory 71 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the location-based message viewing method according to any embodiment of the present application (for example, the information obtaining module 501, the target message searching module 502, and the target message sending module 503 in the location-based message viewing device). The memory 71 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 71 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 71 may further include memory located remotely from the processor 70, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor 70 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 71, thereby implementing the location-based message viewing method described above, which includes: acquiring current position information and user identification information of the electronic equipment; searching a target message matched with the current position information, and performing user identity authentication according to the user identification information; and if the user identity authentication is passed, sending the target message to the electronic equipment for reading.
The server provided by the embodiment can be used for executing the message browsing method based on the position, and has corresponding functions and beneficial effects.
The embodiment of the application provides electronic equipment, and the electronic equipment can be integrated with the position-based message reading device provided by the embodiment of the application. Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Referring to fig. 8, the electronic device includes: a processor 80, and a memory 81. The number of the processors 80 in the electronic device may be one or more, and one processor 80 is taken as an example in fig. 8. The number of the memories 81 in the electronic device may be one or more, and one memory 81 is taken as an example in fig. 8. The processor 80 and the memory 81 of the electronic device may be connected by a bus or other means, and fig. 8 illustrates the connection by a bus as an example.
The memory 81 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the location-based message viewing method according to any embodiment of the present application (for example, the information sending module 601, the target message receiving module 602, and the target message viewing module 603 in the location-based message viewing apparatus). The memory 81 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 81 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 81 may further include memory located remotely from processor 80, which may be connected to devices through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor 80 executes various functional applications and data processing of the device by running software programs, instructions, and modules stored in the memory 81, thereby implementing the location-based message viewing method described above, which includes: sending the current position information and the user identification information to a server; receiving a target message determined by the server according to the current position information and the user identification information; and displaying the target message for the user to read.
The electronic device provided above can be used to execute the location-based message browsing method provided in the above embodiments, and has corresponding functions and advantages.
Embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a location-based message viewing method, the method being applied to a server, and the location-based message viewing method including: acquiring current position information and user identification information of the electronic equipment; searching a target message matched with the current position information, and performing user identity authentication according to the user identification information; and if the user identity authentication is passed, sending the target message to the electronic equipment for reading.
Computer-executable instructions, when executed by a computer processor, for performing another location-based message viewing method, the method being applied to an electronic device, the location-based message viewing method comprising: acquiring current position information and user identification information of the electronic equipment; searching a target message matched with the current position information, and performing user identity authentication according to the user identification information; and if the user identity authentication is passed, sending the target message to the electronic equipment for reading.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the above location-based message viewing method, and may also perform related operations in the location-based message viewing method provided in any embodiment of the present application.
The location-based message viewing apparatus, the storage medium, and the device provided in the foregoing embodiments may execute the location-based message viewing method provided in any embodiment of the present application, and reference may be made to the location-based message viewing method provided in any embodiment of the present application without detailed technical details described in the foregoing embodiments.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments illustrated herein, and that various obvious changes, rearrangements and substitutions may be made therein by those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (12)

1. A message reading method based on position is applied to a server and is characterized by comprising the following steps:
acquiring current position information and user identification information of the electronic equipment;
searching a target message matched with the current position information, and performing user identity authentication according to the user identification information;
and if the user identity verification is passed, sending the target message to the electronic equipment for reading.
2. The method of claim 1, prior to obtaining the current location information and the user identification information of the electronic device, further comprising:
pre-storing a message sent by target equipment associated electronic equipment, wherein the message carries position information and readable person identification information; the target device comprises the electronic device and/or an associated electronic device of the electronic device.
3. The method of claim 2, wherein the searching for the target message matching the current location information comprises:
matching the current position information with position information carried in the prestored message;
and taking the message to which the successfully matched position information belongs as a target message.
4. The method according to claim 2, wherein the performing user authentication according to the user identification information comprises:
and comparing the user identification information with the identification information of the browsable person so as to verify the identity of the user.
5. The method according to claim 2, wherein if the target device is the electronic device, the location information carried in the message includes preset historical location information of the electronic device;
if the target device is the associated electronic device of the electronic device, the location information carried in the message includes the real-time location information of the associated electronic device or the location information manually reported by the holder of the associated electronic device.
6. A message reading method based on position is applied to electronic equipment, and is characterized by comprising the following steps:
sending the current position information and the user identification information to a server;
receiving a target message determined by the server according to the current position information and the user identification information;
and displaying the target message for the user to read.
7. A message reading device based on position is applied to a server, and is characterized by comprising:
the information acquisition module is used for acquiring the current position information and the user identification information of the electronic equipment;
the target message searching module is used for searching the target message matched with the current position information and carrying out user identity authentication according to the user identification information;
and the target message sending module is used for sending the target message to the electronic equipment for reading if the user identity verification is passed.
8. A message reading device based on position is applied to electronic equipment, and is characterized by comprising:
the information sending module is used for sending the current position information and the user identification information to the server;
a target message receiving module, configured to receive a target message determined by the server according to the current location information and the user identification information;
and the target message reading module is used for displaying the target message for the user to read.
9. A server, comprising:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the location-based message viewing method of any of claims 1-5.
10. An electronic device, comprising:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the location-based message viewing method of claim 6.
11. A storage medium containing computer-executable instructions for performing the method of any of claims 1-5 when executed by a computer processor.
12. A storage medium containing computer-executable instructions which, when executed by a computer processor, are operable to perform the location-based message viewing method of claim 6.
CN201910881368.6A 2019-09-18 2019-09-18 Message reading method and device, server, electronic equipment and storage medium Pending CN110635992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910881368.6A CN110635992A (en) 2019-09-18 2019-09-18 Message reading method and device, server, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910881368.6A CN110635992A (en) 2019-09-18 2019-09-18 Message reading method and device, server, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110635992A true CN110635992A (en) 2019-12-31

Family

ID=68971150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910881368.6A Pending CN110635992A (en) 2019-09-18 2019-09-18 Message reading method and device, server, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110635992A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103813265A (en) * 2012-11-13 2014-05-21 金至尊数码科技有限公司 Information sharing method for location-based services
CN103841511A (en) * 2012-11-22 2014-06-04 腾讯科技(深圳)有限公司 Method and terminal for releasing information, and method and terminal for displaying information
CN104853312A (en) * 2015-02-09 2015-08-19 西安瀚阳科技有限公司 Location-based message leaving and replying method
CN105323308A (en) * 2015-09-29 2016-02-10 惠州Tcl移动通信有限公司 Community interconnection method and system based on geographical location information
CN105516301A (en) * 2015-12-07 2016-04-20 联想(北京)有限公司 Information bulletining method, device and system
CN105915429A (en) * 2015-10-23 2016-08-31 乐视致新电子科技(天津)有限公司 Location-based left message companioning broadcast method, device and system
CN106296852A (en) * 2016-08-09 2017-01-04 京东方科技集团股份有限公司 Checking-in state determines method, Apparatus and system
CN106375181A (en) * 2011-05-10 2017-02-01 微软技术许可有限责任公司 Presenting messages associated with locations
CN109040289A (en) * 2018-08-27 2018-12-18 百度在线网络技术(北京)有限公司 Interest point information method for pushing, server, terminal and storage medium
CN109525487A (en) * 2019-01-17 2019-03-26 深圳市沃特沃德股份有限公司 Mission bit stream distribution method, device, readable storage medium storing program for executing and computer equipment
CN109800377A (en) * 2019-01-02 2019-05-24 珠海格力电器股份有限公司 A kind of message based on AR delivers, inspection method and server and mobile terminal
CN110121146A (en) * 2019-05-06 2019-08-13 腾讯科技(深圳)有限公司 Information sharing method, device and relevant device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375181A (en) * 2011-05-10 2017-02-01 微软技术许可有限责任公司 Presenting messages associated with locations
CN103813265A (en) * 2012-11-13 2014-05-21 金至尊数码科技有限公司 Information sharing method for location-based services
CN103841511A (en) * 2012-11-22 2014-06-04 腾讯科技(深圳)有限公司 Method and terminal for releasing information, and method and terminal for displaying information
CN104853312A (en) * 2015-02-09 2015-08-19 西安瀚阳科技有限公司 Location-based message leaving and replying method
CN105323308A (en) * 2015-09-29 2016-02-10 惠州Tcl移动通信有限公司 Community interconnection method and system based on geographical location information
CN105915429A (en) * 2015-10-23 2016-08-31 乐视致新电子科技(天津)有限公司 Location-based left message companioning broadcast method, device and system
CN105516301A (en) * 2015-12-07 2016-04-20 联想(北京)有限公司 Information bulletining method, device and system
CN106296852A (en) * 2016-08-09 2017-01-04 京东方科技集团股份有限公司 Checking-in state determines method, Apparatus and system
CN109040289A (en) * 2018-08-27 2018-12-18 百度在线网络技术(北京)有限公司 Interest point information method for pushing, server, terminal and storage medium
CN109800377A (en) * 2019-01-02 2019-05-24 珠海格力电器股份有限公司 A kind of message based on AR delivers, inspection method and server and mobile terminal
CN109525487A (en) * 2019-01-17 2019-03-26 深圳市沃特沃德股份有限公司 Mission bit stream distribution method, device, readable storage medium storing program for executing and computer equipment
CN110121146A (en) * 2019-05-06 2019-08-13 腾讯科技(深圳)有限公司 Information sharing method, device and relevant device

Similar Documents

Publication Publication Date Title
US11864082B2 (en) Systems and methods for delivering and supporting digital requests for emergency service
US11677878B2 (en) Methods and systems for notifications in communications networks
US9432502B2 (en) Caller identification using social network information
US8824748B2 (en) Auto tagging in geo-social networking system
US8165562B2 (en) Personalized message escrow
US8126424B2 (en) Personalized message escrow with graphical route representation
EP3721402A1 (en) Social media content for emergency management
CA2662606C (en) Personalized message escrow
US20220027417A1 (en) Modular application programming interface system
WO2014161433A1 (en) System and method for positioning terminal
CN106663264A (en) Geo-location based event gallery
AU2016201139A1 (en) Conversational question and answer
US10313482B2 (en) Method, device and system for providing services based on location information and terminal device thereon
US20150264130A1 (en) Method to form a real time incident based social group
US9628464B2 (en) Mobile-device user authentication
CN106815345A (en) A kind of display methods of real time data and a kind of mobile terminal
US20150052199A1 (en) Updating time-related information in post to make it more relevant for the requester on subsequent retrieval of post
US10122673B2 (en) Methods and systems for aggregating user generated content
CN104519108A (en) Account information pushing and relation chain importing methods, devices and systems
US8903914B2 (en) Selecting user accounts in social network to answer question
US20180262499A1 (en) Method and server for implementing control of smart devices by master devices
US20200092678A1 (en) Method and appartus for entity checkin-in and tracking
US9554252B2 (en) Method and system for coordinating visits
US20170339162A1 (en) System and method of providing location-based privacy on social media
CN108989312B (en) Authentication method and device based on geographic position

Legal Events

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

Application publication date: 20191231

RJ01 Rejection of invention patent application after publication