CN111970134A - Group determination method and device and electronic equipment - Google Patents

Group determination method and device and electronic equipment Download PDF

Info

Publication number
CN111970134A
CN111970134A CN201910420480.XA CN201910420480A CN111970134A CN 111970134 A CN111970134 A CN 111970134A CN 201910420480 A CN201910420480 A CN 201910420480A CN 111970134 A CN111970134 A CN 111970134A
Authority
CN
China
Prior art keywords
group
user
information
target group
identification
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.)
Granted
Application number
CN201910420480.XA
Other languages
Chinese (zh)
Other versions
CN111970134B (en
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910420480.XA priority Critical patent/CN111970134B/en
Priority to PCT/CN2020/074407 priority patent/WO2020233172A1/en
Publication of CN111970134A publication Critical patent/CN111970134A/en
Application granted granted Critical
Publication of CN111970134B publication Critical patent/CN111970134B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1822Conducting the conference, e.g. admission, detection, selection or grouping of participants, correlating users to one or more conference sessions, prioritising transmission
    • 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
    • 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)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a group determination method, a group determination device and electronic equipment. One embodiment of the method comprises: in response to receiving a group creation instruction of a user, displaying a preset identification list, wherein the preset identification list comprises at least one preset identification; determining a target identifier selected from at least one preset identifier by a user through preset operation as an identifier of a target group; sending target group creation information to a server so that the server determines a target group according to the target group creation information and adds a user to the target group; and displaying the information of the determined target group returned by the server, wherein the information of the target group comprises the identification of the target group and the user identification of at least one user in the target group. The problem of low efficiency in determining the user group in the prior art can be solved.

Description

Group determination method and device and electronic equipment
Technical Field
The invention relates to the technical field of internet, in particular to a group determination method, a group determination device and electronic equipment.
Background
With the development of Internet (Internet) technology, Instant Messaging (Instant Messaging) becomes a popular communication method on the Internet at present, and various Instant Messaging tools are also developed. Based on the group creating function of the instant communication tool, the user can create groups with various functions, and the communication between the users is convenient.
In the prior art, when a user creates a group, the user needs to manually select a member needing to communicate, and after the member is selected, the user submits to complete the creation of the group. The group creation mode has low efficiency, and particularly, the group creation mode is more obvious when the number of members needing to communicate is large, so that the timeliness of instant messaging is influenced.
Disclosure of Invention
The embodiment of the invention provides a group determining method, a group determining device and electronic equipment, which are used for solving the problem of low user group determining efficiency in the prior art.
In a first aspect, an embodiment of the present invention provides a group determining method, which is applied to a terminal device, and the method includes: in response to receiving a group creation instruction of a user, displaying a preset identification list, wherein the preset identification list comprises at least one preset identification; determining a target identifier selected from the at least one preset identifier by a user through preset operation as an identifier of a target group; sending target group creation information to a server so that the server determines the target group according to the target group creation information and adds the user to the target group; and displaying the information of the determined target group returned by the server, wherein the information of the target group comprises the identification of the target group and the user identification of at least one user in the target group.
Optionally, the target group creation information at least includes: group identification information of a target group to be created, current position information of the user, and user identification information.
Optionally, the identifying of the target group to be created includes: a pattern matching the target group.
In a second aspect, an embodiment of the present invention provides a group determining method, which is applied to a server side, and the method includes: receiving group creation information sent by a terminal device, wherein the group creation information is generated by the terminal device based on a received group creation instruction of a user, and the group creation information at least comprises: group identification information of a group to be created, current position information of a user, and user identification information; determining a target group matched with the group identification information according to the group creation information, and adding a user identification indicated by the user identification information into the target group; sending the determined information of the target group to the terminal equipment; the information of the target group comprises an identification of the target group, a user identification of at least one user already in the target group.
Optionally, the determining, according to the group creation information, the target group matching the group identification information includes: searching whether a target group matched with the group identification information exists in an area meeting a preset relation with the current position of the user in a preset database; if not, the target group is created.
Optionally, the method further comprises: and if so, adding the user into the target group.
Optionally, the zone is a hashed geographic zone; and the step of searching whether a target group matched with the group identification information exists in an area meeting a preset relation with the current position of the user in a preset database comprises the following steps: searching whether a target group matched with the group identification information exists in a Hash geographic area to which the current position of the user belongs in a preset database; or searching whether a target group matched with the group-identification information exists in a hash geographical area adjacent to the hash geographical area where the user is currently located in a preset database; the Hash geographic area is obtained by encoding a preset geographic area based on a preset geographic Hash encoding rule.
Optionally, before the joining the user to the target group, the method further includes: determining whether the current position information of the user and the current position information of other users corresponding to the target group are determined by the terminal equipment of the user and the terminal equipment of the other users according to the position data reported at the same time point; and if so, adding the user into the target group.
Optionally, the current location information of the user is determined based on a bluetooth signal sent by the terminal device.
In a third aspect, an embodiment of the present invention provides a group determining apparatus, which is applied to a terminal device, and includes: the list display unit is used for responding to a received group creation instruction of a user and displaying a preset identification list, wherein the preset identification list comprises at least one preset identification; a group identifier determining unit, configured to determine a target identifier selected by a user from the at least one preset identifier through a preset operation as an identifier of a target group; the creating information sending unit is used for sending target group creating information to a server so that the server determines the target group according to the target group creating information and adds the user to the target group; the group display unit is used for displaying the information of the determined target group returned by the server; the information of the target group comprises an identification of the target group, a user identification of at least one user already in the target group.
In a fourth aspect, an embodiment of the present invention provides a group determining apparatus, which is applied to a server, and includes: a receiving unit, configured to receive group creation information sent by a terminal device, where the group creation information is generated by the terminal device based on a received group creation instruction of a user, and the group creation information at least includes: group identification information of a group to be created, current position information of a user, and user identification information; a determining unit, configured to determine, according to the group creation information, a target group that matches the group identification information, and add a user identification indicated by the user identification information to the target group; a group information sending unit, configured to send information of the determined target group to the terminal device; the information of the target group comprises an identification of the target group, a user identification of at least one user already in the target group.
In a fifth aspect, an embodiment of the present invention provides a terminal device, including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the group determination method as described in any of the first aspects.
In a sixth aspect, an embodiment of the present invention provides a server, including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the group determination method according to the second aspect.
In a seventh aspect, an embodiment of the present invention provides a computer-readable medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the group determination methods according to the first aspect.
In an eighth aspect, the present invention provides a computer readable medium, on which a computer program is stored, which when executed by a processor implements the steps of the group determination method according to the second aspect.
In the group determination method, the device and the electronic equipment provided by the embodiment of the invention, the preset identification list is displayed in response to the received group creation instruction of the user, and the preset identification list comprises at least one preset identification; then, determining a target identifier selected from the at least one preset identifier by a user through preset operation as an identifier of a target group; then, sending target group creation information to a server so that the server determines the target group according to the target group creation information and adds the user to the target group; finally, displaying the information of the determined target group returned by the server; the information of the target group comprises an identification of the target group, a user identification of at least one user already in the target group. The target group is determined by sending the information including the group identifier of the group selected by the user to the server, so that the efficiency of creating or joining the target group is improved, and the improvement of user experience is facilitated.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a flow diagram for one embodiment of a group determination method in accordance with the present invention;
FIGS. 2A-2C are schematic diagrams of an application scenario of the group determination method according to the present application;
FIG. 3 is a flow diagram of another embodiment of a group determination method in accordance with the present invention;
FIG. 4 is a flow chart of yet another embodiment of a group determination method according to the present invention;
FIG. 5 is a schematic structural diagram of an embodiment of a group determination device according to the present invention
FIG. 6 is a schematic block diagram illustrating one embodiment of a group determination apparatus according to the present invention;
FIG. 7 is an exemplary system architecture to which the group determination method of one embodiment of the present invention may be applied;
fig. 8 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding. They should be considered as merely exemplary. It will therefore be appreciated by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, a flow of one embodiment of a group determination method according to the present invention is shown, the group determination method is applied to a terminal device. The group determination method as shown in fig. 1 includes the following steps:
step 101, in response to receiving a group creation instruction of a user, displaying a preset identification list.
The group function is one of the functions commonly used in instant messaging software, or social networks. Different users in the same group can send and receive information to each other, which is convenient for the users to communicate in one direction and in multiple directions in time and rapidly. Before using a group, the group needs to be created.
In this embodiment, the user may issue a group creation instruction to the terminal device. For example, the user clicks a preset group creation identifier in an instant messaging client in the terminal device to issue a group creation instruction.
The instant application client arranged on the terminal equipment can display the preset identification list after receiving the group creation instruction of the user. The preset identification list may include at least one preset identification. A preset identifier is used to represent a group. The preset mark may be a pattern, a character, a combination of a pattern and a character, a combination of a character and a character, or the like.
Step 102, determining a target identifier selected by a user from at least one preset identifier through a preset operation as an identifier of a target group.
The user can select a preset identifier from the displayed preset identifier list as the target group identifier. For example, a user may select one target identifier from at least one preset identifier displayed in the preset identifier list by clicking, touching, and the like.
And the terminal equipment determines the preset identification selected by the user as the target identification according to the selection operation of the user on one preset identification in the preset identification display list. And determining the target identification as the identification of the target group to be created or joined by the user.
And 103, sending the target group creation information to the server so that the server determines the target group according to the target group creation information and adds the user to the target group.
After determining the identity of the target group in step 102, in this embodiment, the terminal device may send target group creation information to the server. In some application scenarios, the target group creation information includes at least: group identification information of a target group to be created, current position information of a user, and user identification information.
After receiving the target group creation information, the server may create the target group for the user according to the target group creation information, or find the created target group for the user. And the server adds the user into the user list of the target group.
After determining the target group, for example, creating the target group for the user, or finding the created target group for the user, and adding the user identifier of the user to the user list of the target group, the server may send the information of the determined target group to the terminal device.
And 104, displaying the determined information of the target group returned by the server, wherein the information of the target group comprises the identification of the target group and the user identification of at least one user in the target group.
The terminal device may display the information of the target group in a current page of the instant application communication application client set thereon.
Please refer to fig. 2A to 2C, which are schematic diagrams illustrating an application scenario of the group determination method according to the present application.
As shown in fig. 2A, the user opens the instant application client and enters the group page. An identification "lightning plus group" 201 shown in the touch group page to indicate group creation. The instant application client responds to the fact that a user touches the lightning plus group 201, and displays a preset identification list 202. A plurality of preset identifications are included in the preset identification list 202. As shown in fig. 2B, the preset mark may be various patterns, such as a fruit pattern. In addition, the preset mark can also be characters, or a combination of patterns and characters, or a combination of characters and characters, etc. The preset identifier is used to indicate a group. The user can select any one of the preset identifications displayed in the preset identification list. For example, the user touches the "apple" pattern in fig. 2B. And the terminal equipment determines the 'apple' pattern selected by the user as the identification of the target group. The terminal equipment sends target group creation information to the server, so that the server determines the target group of the apple according to the target group creation information, and adds the user to the target group of the apple. The server may transmit information of the determined target group to the terminal device. The terminal equipment can display the information of the determined target group sent by the server at the instant communication application client. As shown in fig. 2C, the determined "apple" target group, the user list 203 of the target group, is shown in the current page of the instant messaging application client provided in the terminal device. The user list 203 may include the identities of user 1, user 2, and user 3 that are already in the "apple" target group.
The method provided by the embodiment of the invention responds to the received group creation instruction of the user and displays the preset identification list; then, determining the identification of the target group according to the target identification selected by the user from at least one preset identification through preset operation; then, sending target group creation information to the server so that the server determines a target group according to the target group creation information and adds the user to the target group; and finally, displaying the information of the determined target group returned by the server. The method and the device have the advantages that the user can determine the group matched with the identifier by selecting the identifier of the displayed group, and the preset identifier is added to the target information of the group established by selecting the contact person or inputting other information, so that the group establishing time is saved, and the group determining efficiency is improved.
Continuing to refer to fig. 3, a flow diagram of one embodiment of a group determination method in accordance with the present invention is shown. The group determination method is applied to a server. As shown in fig. 3, the group determining method includes the following steps:
step 301, receiving group creation information sent by the terminal device.
In this embodiment, the server may be a server that provides a service for an instant messaging application client installed in a terminal device.
The server can receive the group creation information sent by the terminal device through the instant messaging application client. The group creation information here includes at least: group identification information of a group to be created, current position information of a user, and user identification information;
the group creation information is generated by the terminal device based on the received group creation instruction of the user. The process of generating the group creation information by the terminal device may refer to the description of the embodiment shown in fig. 1, which is not described herein again.
In practice, the server may receive group creation information sent by a plurality of users through the terminal device.
The group information of the created group and the user information of the users already in the created group may be stored in association in a preset database. The preset database may be set in the server, or may be set in another electronic device that is in communication connection with the server. The user information may include user identification information. In addition, the user information may also include location information of the user. The location information of the user can be updated according to the user location information acquired in real time. The group information of the created group may include, for example, a group identification, a creation time, and the like.
The group identification information of the group to be created is generated according to a target identification selected by a user in a preset identification list of an instant messaging application client located in the terminal equipment.
The current location indicated by the current location information of the user may be determined by a positioning system associated with the terminal device. The Positioning System may include, for example, a Global Positioning System (GPS).
In some optional implementations of this embodiment, the current location of the user is determined by a bluetooth positioning system associated with the terminal device. In these optional implementation manners, the terminal device is provided with a bluetooth chip, the bluetooth chip sends out a signal, and the positioning server analyzes the bluetooth signal to determine the position of the terminal device.
The user identification indicated by the user identification information is used to distinguish different users. The user identification may be, for example, a graphic, a text, or a character; or may be a combination of graphics and text, or may be a combination of graphics and characters, or may be a combination of text and characters, or the like.
Step 302, determining a target group matched with the group identification information of the group to be created according to the group creation information, and adding the user identification indicated by the user identification information into the target group.
After receiving the group creation information sent by the terminal device in step 301, the server may perform analysis processing on the group creation information through various analysis methods, and determine a target group matching the identification information of the group to be created according to the analysis processing result. And then, adding the user identification indicated by the user identification information into the target group. That is, the user id of the user is added to the user list of the target group.
In practice, the server may search in a preset database whether there is a target group matching the group identifier indicated by the group identifier information. If not, the server may create the target group. And adding the user to the user list of the target group. In addition, the user can be set as the group owner of the target group.
In some application scenarios, the determining, according to the group creation information, the target group matching the group identifier indicated by the group identifier information includes: searching whether a target group matched with the group identification information exists in an area meeting a preset relation with the current position of the user in a preset database; if not, a target group is created. The range of the area is determined according to a preset rule. The preset rule can be various existing distinguishing and dividing methods. And if so, adding the user into the target group.
The preset database may be various types of databases, for example, a Redis database, and the like. The database may be provided in the server, or may be provided in another electronic device that is communicatively connected to the server.
Step 303, sending the information of the determined target group to the terminal device.
The server may send the determined information of the target group to the terminal device, so that the terminal device displays the information of the target group. The information of the target group comprises an identification of the target group, a user identification of at least one user already in the target group.
The method provided by the above embodiment of the present invention receives the group creation information sent by the terminal device; then, determining a target group matched with the identification information of the group to be created according to the group creation information, and adding the user identification indicated by the user identification information into the target group; and finally, sending the information of the determined target group to the terminal equipment. The method and the device realize the creation of the target group according to the identification information of the group sent by the user, and save the creation time of the group compared with the method of creating the group by the way of sending the selected contact by the user.
In some optional implementation manners of the embodiments of the group determination method of the present application, step 301 of the group determination method in the embodiment shown in fig. 3 may further include: and receiving group creation information which is sent by at least two users through the terminal equipment and has the same identification information of the group to be created.
Further, the determining the target group matching the identification information of the group to be created according to the group creation information in step 302 includes: judging whether the current positions corresponding to at least two users meet preset conditions or not; and if so, determining the group identifier indicated by the identifier information of the group to be created as the target group identifier.
The determining whether the current positions corresponding to the at least two users meet the preset condition may include determining whether a distance between the current positions of the at least two users is smaller than a preset distance threshold. The respective current positions may be obtained by a GPS positioning system or may be obtained by a bluetooth positioning system. The preset distance threshold may be 5 meters, 10 meters, 20 meters, etc. The preset distance threshold may be set according to a specific application scenario, and is not limited herein.
That is, when the server receives group creation information indicating that at least two users create the same group identifier, it first determines that the distance between the at least two users is smaller than a preset distance threshold. I.e. whether the two users are neighbour users.
When the distance between the at least two users is smaller than the preset distance threshold, the group identifier indicated by the identification information of the group to be created may be determined as the target group identifier. And then determining whether a group matched with the target group identifier exists or not, and if not, creating the target group. And then adding the user identifications of the at least two users to a user list of the target group. And saving the related information of the created target group to the server. The related information of the target group may include an identifier of the target group, a creation time of the target group, user identifiers of the at least two users, current locations of the at least two users, and the like.
Continuing to refer to fig. 4, a flow diagram of one embodiment of a group determination method in accordance with the present invention is shown. The group determination method is applied to a server. The group determination method as shown in fig. 4 includes the following steps:
step 401, receiving group creation information sent by a terminal device.
Step 401 may be the same as or similar to step 301 in the embodiment shown in fig. 3, and is not described herein again.
Step 402, searching whether a target group matched with the identification information of the group exists in an area meeting a preset relation with the current position of the user in a preset database, wherein the area is a Hash geographic area.
In this embodiment, the area may be a geographic hash (GeoHash) area. And the Hash geographic area is obtained by encoding the preset geographic area based on a preset geographic Hash encoding rule. For example, a first region having a first area may be divided into 9 second regions having an area smaller than the first area. And then, encoding the 9 land areas by using a preset geographical hash encoding rule to obtain 9 hash geographical areas. GeoHash is essentially a way of spatial indexing, and its basic principle is to understand the earth as a two-dimensional plane, and recursively decompose the plane into smaller sub-blocks, each having the same code in a certain latitude and longitude range. The spatial index is established in a GeoHash mode, so that the efficiency of performing longitude and latitude retrieval on spatial geographic information Point (POI) data can be improved. The preset geographical hash coding rule may be that a preset number of bits of codes are used to perform geographical hash coding on the divided sub-regions. Different code lengths, representing different range intervals. The longer the code length, the more precise the range of representation.
In this embodiment, in the created group stored in the preset database, the group information may include a group identifier, a hash geographic area to which the current location of the user creating the group belongs, and a creation time of the group. Each group corresponds to a Universally Unique Identifier (UUID). The UUID may be generated by a preset algorithm based on the group identification, the hashed geographical area, and the group creation time.
In this embodiment, determining whether a target group matching the group identification information exists in an area satisfying a preset relationship with the current location of the user in a preset database includes: searching whether a target group matched with the identification information of the group exists in a Hash geographic area to which the current position of the user belongs in a preset database; or searching a hash geographical area adjacent to the hash geographical area where the user is currently located in a preset database to determine whether a target group matched with the identification information of the group exists.
Each hashed geographic area may be adjacent to eight other hashed geographic areas. When the target group matched with the group identification information is not found in the hash geographical area to which the current position of the user belongs in the preset database, whether the target group matched with the group identification information exists in eight other hash geographical areas adjacent to the hash geographical area to which the user currently belongs in the preset database can be found.
Step 403, if not, creating a target group.
Step 404, if yes, join the user into the target group.
In this embodiment, before joining the user to the target group, the group determining method further includes: determining whether the current position information of the user and the current position information of other users corresponding to the target group are determined by the position data reported at the same time point or not by the terminal equipment of the user and the terminal equipment of the other users; and if so, adding the user into the target group.
In some application scenarios, the current location information of the user and the current location information of other users already in the group in the hash geographic area to which the current location of the user belongs are determined by location data reported by the terminal device of the user and the terminal devices of the other users at the same time point.
For example, the terminal devices of users who ride on a high-speed train are not position data transmitted at the same point in time if the terminal devices of different users. For example, on a train running at 200 km per hour, the displacement per second is 72 meters, if a is the reported position at 3 s and B is the reported position at 10 s, the server checks their positions, even if the reported positions are the same, but the server cannot determine whether they are located in the same hashed geographical area. Therefore, the server may request the terminal device of the user located in the high-speed moving transportation device to report the current location information of the user according to the time alignment mechanism. That is, the terminal devices of the users located in the high-speed moving traffic devices are required to report their own current location information at the same time point. Specifically, the server issues a time alignment scale to the terminal device of the user located in the high-speed moving traffic device, for example, the time alignment scale is aligned to an integral multiple of 15 seconds to report the position data of the user. For example, in the user a and the user B sitting adjacent to each other in the high-speed train, the respective terminal devices report their own position data at the same time point, and the server determines that the position difference between the current positions of the user a and the user B is only related to the network speed difference. So that a relatively accurate relative position of a and B can be determined.
Step 405, sending the determined information of the target group to the terminal device.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 3, the flow of the group determining method in this embodiment highlights a step of searching, according to the hashed geographic area, in the preset database, whether a target group matching the identification information of the group exists in an area satisfying the preset relationship with the current location of the user, and if not, creating the target group, and adding the user to the target group. Therefore, the scheme described in the embodiment can quickly determine the target group in the range that the user is close to the target group, so that the speed of determining the target group is further improved.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present invention provides an embodiment of a group determination apparatus, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 1, and the apparatus may be specifically applied to various terminal devices.
As shown in fig. 5, the group determining apparatus of the present embodiment includes: a list presentation unit 501, a group identification determination unit 502, a creation information transmission unit 503, and a group presentation unit 504. The list display unit 501 is configured to display a preset identifier list in response to receiving a group creation instruction of a user, where the preset identifier list includes at least one preset identifier; a group identifier determining unit 502, configured to determine a target identifier selected by a user from at least one preset identifier through a preset operation as an identifier of a target group; a creation information sending unit 503, configured to send target group creation information to the server, so that the server determines a target group according to the target group creation information, and adds the user to the target group; the group presentation unit 504 is configured to present, in a presentation page, information of the determined target group sent by the server, where the information of the target group includes an identifier of the target group and a user identifier of at least one user already in the target group.
In this embodiment, specific processing of the table connection showing unit 501, the group identifier determining unit 502, the creation information sending unit 503 and the group showing unit 504 of the group determining apparatus and technical effects brought by the processing can refer to the related descriptions of step 101, step 102, step 103 and step 104 in the corresponding embodiment of fig. 1, and are not repeated herein.
Optionally, the target group creation information includes at least: group identification information of a target group to be created, current position information of a user, and user identification information.
Optionally, the identification of the target group to be created includes: a pattern matching the target group.
With further reference to fig. 6, as an implementation of the methods shown in the above-mentioned figures, the present invention provides an embodiment of a group determination apparatus, which corresponds to the embodiment of the method shown in fig. 1, and which is particularly applicable in a server.
As shown in fig. 6, the group determining apparatus of the present embodiment includes: a receiving unit 601, a determining unit 602 and a group information transmitting unit 603. The receiving unit 601 is configured to receive group creation information sent by a terminal device, where the group creation information is generated by the terminal device based on a received group creation instruction of a user, and the group creation information at least includes: group identification information of a group to be created, current position information of a user, and user identification information; a determining unit 602, configured to determine, according to the group creation information, a target group that matches the group identification information, and add a user identifier indicated by the user identification information to the target group; a group information sending unit 603, configured to send information of the determined target group to the terminal device; the information of the target group comprises an identification of the target group, a user identification of at least one user already in the target group.
In this embodiment, the detailed processing of the receiving unit 601, the determining unit 602, and the group information sending unit 603 of the group determining apparatus and the technical effects thereof can refer to the related descriptions of step 301, step 302, and step 303 in the corresponding embodiment of fig. 3, which are not described herein again.
In some optional implementations of the present embodiment, the determining unit 602 is further configured to: determining whether a target group matched with the group identification information exists in an area meeting a preset relation with the current position of the user in a preset database; if not, a target group is created.
In some optional implementations of the present embodiment, the determining unit 602 is further configured to: and if so, adding the user into the target group.
In some optional implementations of the embodiment, the determining unit 602, before joining the user to the target group, is further configured to: and determining whether the current position information of the user and the current position information of other users corresponding to the target group are determined by the position data reported at the same time point or not by the terminal equipment of the user and the terminal equipment of other users. And if so, adding the user into the target group.
In some optional implementations of this embodiment, the zone is a hashed geographic zone; and the determining unit 602 is further configured to: searching whether a target group matched with the group identification information exists in a Hash geographic area to which the current position of the user belongs in a preset database; or searching whether a target group matched with the group-identification information exists in a hash geographical area adjacent to the hash geographical area where the user is currently located in a preset database. The Hash geographic area is obtained by encoding the preset geographic area based on a preset geographic Hash encoding rule.
In some optional implementations of this embodiment, the current location information of the user is determined based on a bluetooth positioning system associated with the terminal device.
Referring to fig. 7, fig. 7 illustrates an exemplary system architecture to which the group determination method of one embodiment of the present invention may be applied.
As shown in fig. 7, the system architecture may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 serves to provide a medium for communication links between the terminal devices 701, 702, 703 and the server 705. Network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 701, 702, 703 may interact with a server 705 over a network 704 to receive or send messages or the like. Various client applications, such as a web browser application, a search-type application, an instant messaging application, etc., may be installed on the terminal devices 701, 702, 703. The client applications in the terminal devices 701, 702, and 703 may receive the instruction of the user, and complete corresponding functions according to the instruction of the user, for example, display information related to the instruction in the information according to the instruction of the user.
The terminal devices 701, 702, and 703 may be hardware or software. When the terminal devices 701, 702, 703 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. When the terminal devices 701, 702, and 703 are software, they can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 705 may be a server that provides various services, for example, receives group creation information transmitted by the terminal devices 701, 702, and 703, and determines a group according to the group creation information. And sends the information of the group to the terminal devices 701, 702, 703.
It should be noted that the group determining method provided in the embodiment of the present invention may be executed by a terminal device, and accordingly, the group determining apparatus may be disposed in the terminal devices 701, 702, and 703. In addition, the group determination method provided by the embodiment of the present invention may also be executed by the server 705, and accordingly, the group determination apparatus may be disposed in the server 705.
It should be understood that the number of terminal devices, networks, and servers in fig. 7 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Reference is now made to fig. 8, which shows a basic block diagram of a terminal device/server suitable for implementing embodiments of the present invention. The basic structure of the terminal device/server shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 8, the terminal device/server may include one or more processors 801, storage 802. The storage 802 stores one or more programs. One or more programs in storage 802 may be executed by one or more processors 801. The one or more programs, when executed by the one or more processors, enable the one or more processors to implement the above-described functions defined in the method of the present invention.
For the terminal device, the modules described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a list presentation unit, a group identification determination unit, a creation information transmission unit, and a group presentation unit. Where the names of these modules do not in some cases constitute a limitation on the module itself, for example, the list presentation unit may also be described as a "unit that presents a preset identification list in response to receiving a group creation instruction of a user".
For the server, the modules described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a receiving unit, a determining unit, and a group information transmitting unit. The names of these modules do not in some cases constitute a limitation to the modules themselves, and for example, the receiving unit may also be described as "a unit that receives group creation information transmitted by the terminal device".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium of the present invention may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer-readable medium may be applied to a terminal device, and the computer-readable medium carries one or more programs which, when executed by the device, cause the device to: in response to receiving a group creation instruction of a user, displaying a preset identification list, wherein the preset identification list comprises at least one preset identification; determining a target identifier selected from the at least one preset identifier by a user through preset operation as an identifier of a target group; sending target group creation information to a server so that the server determines the target group according to the target group creation information and adds the user to the target group; and displaying information of the determined target group sent by the server in a display page, wherein the information of the target group comprises the identification of the target group and the user identification of at least one user in the target group.
Further, the computer-readable medium may be applied to a server, the computer-readable medium carrying one or more programs which, when executed by the apparatus, cause the apparatus to: receiving group creation information sent by a terminal device, wherein the group creation information is generated by the terminal device based on a received group creation instruction of a user, and the group creation information at least comprises: group identification information of a group to be created, current position information of a user, and user identification information; determining a target group matched with the group identification information according to the group creation information, and adding a user identification indicated by the user identification information into the target group; sending the determined information of the target group to the terminal equipment; the information of the target group comprises an identification of the target group, a user identification of at least one user already in the target group.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (15)

1. A group determination method is applied to terminal equipment and is characterized by comprising the following steps:
in response to receiving a group creation instruction of a user, displaying a preset identification list, wherein the preset identification list comprises at least one preset identification;
determining a target identifier selected from the at least one preset identifier by a user through preset operation as an identifier of a target group;
sending target group creation information to a server so that the server determines the target group according to the target group creation information and adds the user to the target group;
displaying the information of the determined target group returned by the server; the information of the target group comprises an identification of the target group, a user identification of at least one user already in the target group.
2. The method of claim 1, wherein the target group creation information comprises at least: group identification information of a target group to be created, current position information of the user, and user identification information.
3. The method of claim 2, wherein the identifying of the target group to be created comprises: a pattern matching the target group.
4. A group determination method is applied to a server and is characterized by comprising the following steps:
receiving group creation information sent by a terminal device, wherein the group creation information is generated by the terminal device based on a received group creation instruction of a user, and the group creation information at least comprises: group identification information of a group to be created, current position information of a user, and user identification information;
determining a target group matched with the group identification information according to the group creation information, and adding a user identification indicated by the user identification information into the target group;
sending the determined information of the target group to the terminal equipment; the information of the target group comprises an identification of the target group, a user identification of at least one user already in the target group.
5. The method of claim 4, wherein determining the target group matching the group identification information according to the group creation information comprises:
searching whether a target group matched with the group identification information exists in an area meeting a preset relation with the current position of the user in a preset database;
if not, the target group is created.
6. The method of claim 5, further comprising:
and if so, adding the user into the target group.
7. The method of claim 6, wherein prior to said joining a user to said target group, said method further comprises:
determining whether the current position information of the user and the current position information of other users corresponding to the target group are determined by the terminal equipment of the user and the terminal equipment of the other users according to the position data reported at the same time point; and
and if so, adding the user into the target group.
8. The method of claim 5, wherein the zone is a hashed geographic zone; and the step of searching whether a target group matched with the group identification information exists in an area meeting a preset relation with the current position of the user in a preset database comprises the following steps:
searching whether a target group matched with the group identification information exists in a Hash geographic area to which the current position of the user belongs in a preset database; or
Searching whether a target group matched with the group-identification information exists in a hash geographical area adjacent to the hash geographical area where the user is currently located in a preset database; wherein
And the Hash geographic area is obtained by encoding the preset geographic area based on a preset geographic Hash encoding rule.
9. The method of claim 4,
the current location information of the user is determined based on a bluetooth positioning system associated with the terminal device.
10. A group determining apparatus applied to a terminal device, comprising:
the list display unit is used for responding to a received group creation instruction of a user and displaying a preset identification list, wherein the preset identification list comprises at least one preset identification;
a group identifier determining unit, configured to determine a target identifier selected by a user from the at least one preset identifier through a preset operation as an identifier of a target group;
the creating information sending unit is used for sending target group creating information to a server so that the server determines the target group according to the target group creating information and adds the user to the target group;
the group display unit is used for displaying the information of the determined target group returned by the server; the information of the target group comprises an identification of the target group, a user identification of at least one user already in the target group.
11. A group determining apparatus applied to a server, comprising:
a receiving unit, configured to receive group creation information sent by a terminal device, where the group creation information is generated by the terminal device based on a received group creation instruction of a user, and the group creation information at least includes: group identification information of a group to be created, current position information of a user, and user identification information;
a determining unit, configured to determine, according to the group creation information, a target group that matches the group identification information, and add a user identification indicated by the user identification information to the target group;
a group information sending unit, configured to send information of the determined target group to the terminal device; the information of the target group comprises an identification of the target group, a user identification of at least one user already in the target group.
12. A terminal device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-3.
13. A server, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 4-9.
14. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-3.
15. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 4-9.
CN201910420480.XA 2019-05-20 2019-05-20 Group determination method and device and electronic equipment Active CN111970134B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910420480.XA CN111970134B (en) 2019-05-20 2019-05-20 Group determination method and device and electronic equipment
PCT/CN2020/074407 WO2020233172A1 (en) 2019-05-20 2020-02-06 Group determination method, apparatus and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910420480.XA CN111970134B (en) 2019-05-20 2019-05-20 Group determination method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111970134A true CN111970134A (en) 2020-11-20
CN111970134B CN111970134B (en) 2021-11-02

Family

ID=73357970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910420480.XA Active CN111970134B (en) 2019-05-20 2019-05-20 Group determination method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN111970134B (en)
WO (1) WO2020233172A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984167A (en) * 2020-09-08 2020-11-24 聚好看科技股份有限公司 Rapid naming method and display device
CN112688862A (en) * 2021-02-02 2021-04-20 上海云鱼智能科技有限公司 Event group chat creating method and device based on geographic position, server, client, terminal and storage medium thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422464B (en) * 2021-12-17 2023-05-09 北京达佳互联信息技术有限公司 Information interaction method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873269A (en) * 2012-12-11 2014-06-18 腾讯科技(深圳)有限公司 Group joining method and system
US20140244996A1 (en) * 2013-02-28 2014-08-28 Apple Inc. Private discovery of electronic devices
US20150271116A1 (en) * 2012-12-03 2015-09-24 Tencent Technology (Shenzhen) Company Limited Method, system, storage medium for creating instant messaging discussion group
CN105119977A (en) * 2015-07-21 2015-12-02 北京乐动卓越科技有限公司 Method and system for information transmission based on geographic coordinates and time interval
US20160021035A1 (en) * 2014-07-15 2016-01-21 Alibaba Group Holding Limited Creating a user group
CN107171928A (en) * 2017-03-31 2017-09-15 咪咕互动娱乐有限公司 A kind of information processing method and device
CN109067639A (en) * 2018-08-23 2018-12-21 北京工业大学 A method of it establishing communication group and communication group is added
CN109347720A (en) * 2018-09-26 2019-02-15 上海掌门科技有限公司 It determines group member, send the method and apparatus that the request of group is added

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9769107B2 (en) * 2013-11-01 2017-09-19 Apple Inc. Lifestyle-based social groups

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150271116A1 (en) * 2012-12-03 2015-09-24 Tencent Technology (Shenzhen) Company Limited Method, system, storage medium for creating instant messaging discussion group
CN103873269A (en) * 2012-12-11 2014-06-18 腾讯科技(深圳)有限公司 Group joining method and system
US20140244996A1 (en) * 2013-02-28 2014-08-28 Apple Inc. Private discovery of electronic devices
US20160021035A1 (en) * 2014-07-15 2016-01-21 Alibaba Group Holding Limited Creating a user group
CN105119977A (en) * 2015-07-21 2015-12-02 北京乐动卓越科技有限公司 Method and system for information transmission based on geographic coordinates and time interval
CN107171928A (en) * 2017-03-31 2017-09-15 咪咕互动娱乐有限公司 A kind of information processing method and device
CN109067639A (en) * 2018-08-23 2018-12-21 北京工业大学 A method of it establishing communication group and communication group is added
CN109347720A (en) * 2018-09-26 2019-02-15 上海掌门科技有限公司 It determines group member, send the method and apparatus that the request of group is added

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984167A (en) * 2020-09-08 2020-11-24 聚好看科技股份有限公司 Rapid naming method and display device
CN111984167B (en) * 2020-09-08 2023-11-28 聚好看科技股份有限公司 Quick naming method and display device
CN112688862A (en) * 2021-02-02 2021-04-20 上海云鱼智能科技有限公司 Event group chat creating method and device based on geographic position, server, client, terminal and storage medium thereof

Also Published As

Publication number Publication date
WO2020233172A1 (en) 2020-11-26
CN111970134B (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN111970134B (en) Group determination method and device and electronic equipment
US8682349B2 (en) Location based asynchronous thread communications
CN112398895B (en) Method and device for providing service information
CN109063138B (en) Method, apparatus, and storage medium for searching data in a blockchain as a service platform
KR101577920B1 (en) Location-based group generation method, apparatus and system
CN103268730B (en) Electronic map interface shows the method and apparatus of association mark point
CN110471848B (en) Method and device for dynamically returning message
CN104285220A (en) Sending communications to contacts on a social networking service
CN104580430A (en) Method and device for pushing information based on communication group
CN103929350A (en) Information pushing method, device and system
CN102194179B (en) Advertisement information distribution system and method
US10630799B2 (en) Method and apparatus for pushing information
CN102750292A (en) Method and device for providing interest points
Cheng et al. Chinese Location Word Recognition Using Service Context Information for Location‐Based Service
CN104937589A (en) Providing content based on previously determined device locations
CN103164512A (en) Processing method and equipment of address information of interest point
CN110110196A (en) A kind of information push method and device
CN110209748B (en) Method and apparatus for indexing geofences
CN112784152A (en) Method and device for marking user
CN103096245A (en) Communication system and method based on map or navigation
CN110737820B (en) Method and apparatus for generating event information
US10928202B2 (en) System and methods for three-dimensional volumetric indoor location geocoding
CN110086848A (en) Sending method, device, computer equipment and the storage medium of network request
CN109902523A (en) Localization method and device based on two dimensional code, storage medium, computer equipment
CN115563942A (en) Contract generation method and device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant