CN108156071B - Method for adding members to community, terminal device and computer readable storage medium - Google Patents

Method for adding members to community, terminal device and computer readable storage medium Download PDF

Info

Publication number
CN108156071B
CN108156071B CN201810161077.5A CN201810161077A CN108156071B CN 108156071 B CN108156071 B CN 108156071B CN 201810161077 A CN201810161077 A CN 201810161077A CN 108156071 B CN108156071 B CN 108156071B
Authority
CN
China
Prior art keywords
user
account
social application
stamp
marking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810161077.5A
Other languages
Chinese (zh)
Other versions
CN108156071A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810161077.5A priority Critical patent/CN108156071B/en
Priority to PCT/CN2018/082615 priority patent/WO2019161600A1/en
Publication of CN108156071A publication Critical patent/CN108156071A/en
Application granted granted Critical
Publication of CN108156071B publication Critical patent/CN108156071B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Computing Systems (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Tourism & Hospitality (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention is applicable to the technical field of social application, and provides a method for adding members to a community, terminal equipment and a computer-readable storage medium. According to the method for adding the members to the community, when a preset operation for adding the second user to the target community is detected in the social application logged in by the first user, the account of the second user is obtained through Near Field Communication (NFC), the mark stamp for pointing to the target community is configured for the account of the second user through the social application, and the account of the second user configured with the mark stamp is sent to the server, so that the server can add the account of the second user to the target community according to the mark stamp, and the step of adding the members to the community in the social application is simplified.

Description

Method for adding members to community, terminal device and computer readable storage medium
Technical Field
The invention belongs to the technical field of social application, and particularly relates to a method for adding members to a community, terminal equipment and a computer-readable storage medium.
Background
With the popularization of terminals, social applications have become essential aids in people's work and life.
Although the existing social application can add friends by scanning two-dimensional codes and the like, when a friend or non-friend user is added to a community (group), the friend or non-friend user needs to be added through more complicated operations. For example, when a user in a friend list is added to an existing community, a member adding interface needs to be entered in the community, then the friend list is selected from the interface, a friend that the user wants to add to the community is found from the friend list, and then adding operation of community members is performed.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a terminal device, and a computer-readable storage medium for adding a member to a community, which may simplify a step of adding a member to a community in a social application.
A first aspect of an embodiment of the present invention provides a method for adding a member to a community, including:
if a preset operation for adding a second user to a target community is detected in a social application logged in by a first user, acquiring an account of the second user through Near Field Communication (NFC), wherein the account of the second user is a unique identifier of the second user in the social application;
configuring a marking stamp to an account of the second user through the social application, wherein the marking stamp is used for pointing to the target community;
and sending the account of the second user configured with the marking stamp to a server through the social application, so that the server adds the account of the second user to the target community according to the marking stamp.
A second aspect of embodiments of the present invention provides an apparatus for adding members to a community, including means for performing the method of the first aspect.
A third aspect of an embodiment of the present invention provides a terminal device, including: a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method of the first aspect when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium, which when executed by a processor implements the steps of the method of the first aspect.
According to the method and the device for adding the second user to the target community, when the preset operation for adding the second user to the target community is detected in the social application logged in by the first user, the account of the second user is obtained through near field communication NFC, the mark stamp for pointing to the target community is configured for the account of the second user through the social application, and the account of the second user with the mark stamp configured is sent to the server, so that the server can add the account of the second user to the target community according to the mark stamp, and the step of adding members to the community in the social application is simplified.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic flow chart of an implementation of a method for adding members to a community according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating an implementation of a method for adding members to a community according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating a detailed implementation of step S21 of a method for adding members to a community according to another embodiment of the present invention;
FIG. 4 is a flowchart illustrating a specific implementation of step S23 of a method for adding members to a community according to another embodiment of the present invention;
FIG. 5 is a flowchart illustrating a specific implementation of step S25 of a method for adding members to a community according to another embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an apparatus for adding a member to a community according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Referring to fig. 1, it is a flowchart illustrating an implementation of a method for adding a member to a community according to an embodiment of the present invention. The method of adding members to a community as shown in FIG. 1 may include:
s11: if a preset operation for adding a second user to a target community is detected in a social application logged in by a first user, acquiring an account of the second user through Near Field Communication (NFC).
In step S11, the account of the second user is a unique identifier of the second user in the social application. The first user is a user, such as a creator, an administrator and the like, in the target community, who has a community member adding authority. The social application is installed on the terminal, and the preset operation is used for triggering the terminal to enable Near Field Communication (NFC) so as to acquire an account of a second user of the second user, which is sent by another terminal through NFC.
In practical application, the preset operation for adding the second user to the target community may also be an operation for adding the second user in a member adding interface of the target community in the social application after the first user logs in the social application.
In this embodiment, after a first user selects a target community to add a member in a logged-in social application, the NFC function of the first terminal is started, and meanwhile, a first NFC signal is radiated to the surroundings through an NFC functional component of the first terminal, where the first NFC signal is used to request to acquire an account of a second user. By starting the NFC function of the second terminal, when the first terminal is close to the second terminal, the second terminal receives a first NFC signal sent by the first terminal and sends a second NFC signal serving as an account of a second user to the first terminal according to the first NFC signal.
It should be noted that, in the process of acquiring the account of the second user through the NFC functional component, a terminal where the social application logged in by the first user is located performs data interaction with another terminal through an NFC signal, where the terminal where the social application logged in by the first user is located is used as an initiating device of the NFC signal, the initiating device needs to generate a radio frequency magnetic field around the initiating device, and send data to the other terminal at a fixed transmission speed, for example, 106kbps, 212kbps, or 424kbps, that is, on the target device, after receiving the data, the target device does not need to generate a magnetic field again, and can transmit response data back to the initiating device in a load modulation manner, and the return speed of the response data is the same as the transmission speed.
It can be understood that different social applications may have different ways or permission settings for enabling the terminal NFC function, and in practical applications, when the social application cannot successfully enable the terminal NFC function, the user is prompted to reset an operation path of the permission of the social application, so that the social application has the permission for enabling the terminal NFC function.
S12: configuring, by the social application, a token stamp to the account of the second user.
In step S12, the mark stamp is used to point to the target community and reflect the member to be added to the target community selected by the account of the second user for the first user.
In this embodiment, the account of the first user has a right to add a member to the target community, and in the process of adding a member to the target community, the added account, that is, the account of the second user, and the account of the first user may be in a friend relationship or a non-friend relationship. The account of the first user may have a right to manage multiple communities at the same time, that is, the first user may be a creator or manager of the multiple communities, and when the target community is multiple communities, multiple marking stamps may be configured to the account of the second user through a social application, where different marking stamps are used to point to different target communities, or only one marking stamp may be configured to the account of the second user, and the one marking stamp may point to multiple different target communities at the same time.
In practical applications, in order to avoid malicious copying and use of the markup stamp, when the markup stamp is configured to the account of the second user through the social application, the same markup stamp is also sent to the server as a reference markup stamp through the social application. After receiving the account of the second user configured with the mark stamp, the server searches whether the same reference mark stamp exists according to the mark stamp configured on the account of the second user, and if the same mark stamp exists, determines that the account of the second user is a member account which the first user wishes to add to the target community.
S13: and sending the account of the second user configured with the marking stamp to a server through the social application, so that the server adds the account of the second user to the target community according to the marking stamp.
In step S13, the server is a server for performing data interaction with the terminal through the social application, and the server stores therein data resources related to the social application. And configuring the account of the second user with the mark stamp, and enabling the server to add the account of the second user to the target community.
In this embodiment, after the social application on the terminal realizes data interaction with the server through the mobile data network, the account of the second user configured with the mark stamp is sent to the server, the current login user of the social application is the first user, and the first user has the authority to add members to the target community, so that the server can directly add the account of the second user to the community according to the account of the second user configured with the mark stamp, and does not need to send verification request information to the first user or other managers in the target community.
In all embodiments of the application, the social application is installed on the terminal, the social application is operated on the terminal, and the user logs in through the account of the first user, when the user adds the second user to the target community in the social application, the account of the second user is obtained by calling the NFC function of the terminal, the mark stamp is configured for the account of the second user, the account of the second user configured with the mark stamp is sent to the server, the user does not need to manually input the account of the second user, and the user does not need to verify the request of the second user for adding the target community, so that the account of the second user can be added to the target community.
As can be seen from the above, in the social application logged in by the first user, when the preset operation for adding the second user to the target community is detected, the account of the second user is obtained by using the NFC, the tag stamp for pointing to the target community is configured for the account of the second user through the social application, and the account of the second user configured with the tag stamp is sent to the server, so that the server can add the account of the second user to the target community according to the tag stamp, and the step of adding members to the community in the social application is simplified.
Referring to fig. 2, fig. 2 is a schematic flow chart diagram of a method for adding members to a community according to another embodiment of the present invention. The present embodiment is further defined in the operation steps before the step of configuring the token stamp to the account of the second user through the social application on the basis of the previous embodiment. As shown in fig. 2, a method for adding a member to a community according to another embodiment of the present invention includes:
s21: if a preset operation for adding a second user to a target community is detected in a social application logged in by a first user, acquiring an account of the second user through Near Field Communication (NFC).
S22: and judging whether the second user is a member of the target community according to the account of the second user through the social application.
In step S22, the accounts of different users in the social application are also different, and the corresponding user can be found in the social application through the account of the user and send information to the user, for example, request information added as a friend is sent.
In practical application, in order to reduce unnecessary data interaction between the social application and the server, a member list of the target community may be stored in a local database of the social application, and the social application searches the community list according to an account of the second user, so that whether the second user is a member of the target community can be determined.
In this embodiment, step S22 may specifically include: searching in a member list of the target community according to the account of the second user; if the member matched with the account number of the second user is found in the member list of the target community, determining that the second user is a member of the target community; and if the member matched with the account of the second user is not found in the member list of the target community, determining that the second user is not a member of the target community.
It can be understood that, in order to improve the accuracy of determining whether the second user is a member of the target community, when the member in the target community changes, the server sends the updated member list to the social application, and then updates the member list of the target community stored in the local database, so as to improve the accuracy of determining whether the second user is a member of the target community.
S23: and if the second user is not a member of the target community, configuring a marking stamp to an account of the second user through the social application.
In the present embodiment, step S235 is further included after step S22 in parallel with step S23.
S235: and if the second user is a member of the target community, displaying prompt information, wherein the prompt information is used for describing that the second user is a member of the target community.
In step S235, the displaying of the prompt information may be displaying a prompt window in an interface of the social application by displaying the prompt window, displaying content of the prompt information in the prompt window, and by presetting a duration threshold for displaying the prompt window, the prompt window may be closed when the display duration reaches the duration threshold.
In this embodiment, the content of the hint information describes that the second user is already a member of the target community. That is, the prompt information may include a part or all of the identifiers or names of the target communities, where the identifiers may be icons of the part or all of the target communities, so that the prompt information may more intuitively represent that the second user is a member of the target communities.
It should be noted that, the execution sequence between step S23 and step S235 is not sequential, and step S24 is executed after step S23 is executed, and step S235 is not executed any more; after step S235 is executed, step S23 is not executed again, and the account of the second user is obtained again.
S24: and sending the account of the second user configured with the marking stamp to a server through the social application, so that the server adds the account of the second user to the target community according to the marking stamp.
As a possible implementation manner of this embodiment, on the basis of the foregoing embodiments, a manner of acquiring the account of the second user through NFC is further defined. As shown in fig. 3, step S21 specifically includes:
s211: and if the NFC antenna is detected to be occupied, generating an interruption instruction, wherein the interruption instruction is used for interrupting the current service of the NFC antenna.
S212: and calling the NFC antenna to radiate a first NFC signal to the periphery, wherein the first NFC signal is used for requesting to acquire a second NFC signal, and data content carried by the second NFC signal is used for describing an account number of the second user.
S213: and calling the NFC antenna to acquire the second NFC signal.
It should be noted that, whether the NFC antenna is occupied is detected, and whether a task or a process for invoking the NFC antenna to perform data transmission exists in the task list or the process list may be determined by acquiring a current task list or a current process list. And if a task or a process for calling the NFC antenna to perform data transmission exists in the task list or the process list, generating an interrupt instruction, and performing interrupt operation on the task or the process. Or, whether the current NFC antenna is occupied or not is judged by detecting whether the NFC antenna of the current terminal radiates signals to the surroundings or whether current is generated at a feed point of the NFC antenna.
In this embodiment, a terminal where a social application where a first user logs in is used as an initiating device of an NFC signal, where the initiating device needs to generate a radio frequency magnetic field around the initiating device, and send a first NFC signal to another terminal at a fixed transmission speed, that is, on a target device, the target device receives the first NFC signal, and may send a response second NFC signal back to the initiating device in a load modulation manner without generating a magnetic field again, where data carried in the first NFC signal is used to request another terminal to send an account of a second user, and data carried in the second NFC signal is used to describe an account of the second user.
In practical application, the sending of the account of the second user by the other terminal may be logging in the account of the second user on the social application client, and then sending the account of the second user to the terminal where the social application logged in by the first user is located through the NFC signal when the other terminal and the terminal where the social application logged in by the first user is located are close to each other. Or, the sending of the account of the second user by the other terminal may be an account of a third user logged in on the social application client, and then when the other terminal and the terminal where the social application logged in by the first user is located are close to each other, the account of the second user is sent to the terminal where the social application logged in by the first user is located through the NFC signal, where the account of the third user and the account of the second user are accounts in a friend relationship with each other.
After the account of the second user is obtained, whether the second user is a member of the target community is judged through the social application according to the account of the second user, and when the second user is not a member of the target community, a mark stamp is configured to the account of the second user through the social application.
As a possible implementation manner of this embodiment, on the basis of the foregoing embodiments, a manner of configuring a mark stamp to an account of a second user through a social application is further defined, where a target community is N communities, and N is an integer equal to or greater than 1. As shown in fig. 4, step S23 specifically includes:
s231: generating, by the social application, a list of tag stamps.
In step S231, the tag stamp is used to point to a target community, the first user is a creator or manager of the target community, an account of the corresponding first user has a right to generate the tag stamp, and when the first user is a creator or manager of a plurality of target communities, a tag stamp list is generated through a social application in which the first user has logged in, where the tag stamp list includes N tag stamps, and the target communities pointed by the N tag stamps are different.
It can be understood that when a plurality of members are added to the target community at the same time, the marking stamps can be configured to different account numbers respectively, and the marking stamps pointing to the same target community can be the same among different account numbers.
S232: and configuring the marking stamp to the account of the second user based on the marking stamp list to obtain N groups of accounts of the second user configured with the marking stamp.
In step S232, the account of the second user with the configured stamp is used for the server to add the account of the second user to the target community according to the stamp.
In this embodiment, when the number of the target communities selected by the first user is multiple, a plurality of tag stamps are sequentially generated according to the order in which the user selects the target communities, so as to obtain a tag stamp list, where communities pointed by each tag stamp in the tag stamp list are different.
It should be noted that, the mark stamps are configured to the account numbers of the second user based on the mark stamp list, and N mark stamps may be sequentially configured to the account numbers of the second user according to the arrangement order of the mark stamps in the mark stamp list, so as to obtain N groups of account numbers of the second user configured with the mark stamps.
As a possible implementation manner of this embodiment, on the basis of the foregoing embodiment, a manner of sending the account of the second user configured with the mark stamp to the server is further defined, where the target communities are N communities, and N is greater than 1. As shown in fig. 5, step S25 includes:
s251: and sequentially sending N groups of accounts of the second user configured with the marking stamp to a server through the social application.
In this embodiment, when an account of a second user needs to be added to a plurality of target communities, the user selects a plurality of target communities in the social application, and generates a plurality of tag stamps corresponding to the target communities one by one through the social application to form a tag stamp list. And configuring a marking stamp for the account of the second user based on the marking stamp list to obtain N groups of accounts of the second user configured with the marking stamp, and sequentially sending the N groups of accounts of the second user configured with the marking stamp to the server according to the sequence of the user selecting the target community in the process of sequentially sending the N groups of accounts of the second user configured with the marking stamp to the server through social application.
As can be seen from the above, in the social application logged in by the first user, when the preset operation for adding the second user to the target community is detected, the account of the second user is obtained by using the NFC, the tag stamp for pointing to the target community is configured for the account of the second user through the social application, and the account of the second user configured with the tag stamp is sent to the server, so that the server can add the account of the second user to the target community according to the tag stamp, and the step of adding members to the community in the social application is simplified.
Whether the second user is a member of the target community is judged through the social application according to the account of the second user, and when the second user is not a member of the target community, the mark stamp is configured for the account of the second user through the social application, so that the mark stamp is prevented from being configured for the account which is a member of the target community.
Referring to fig. 6, fig. 6 is a schematic block diagram of an apparatus for adding a member to a community according to an embodiment of the present invention. In this embodiment, each unit included in the device 30 for adding a member to a community is used to execute each step in the embodiment corresponding to fig. 2, please refer to fig. 2 and the related description in the embodiment corresponding to fig. 2, which are not described herein again. An apparatus 30 for adding a member to a community of the present embodiment includes: an acquisition unit 31, a determination unit 32, a first execution unit 33, a second execution unit 335, and a transmission unit 34. Specifically, the method comprises the following steps:
the obtaining unit 31 is configured to, if a preset operation for adding a second user to a target community is detected in a social application in which a first user logs in, obtain an account of the second user through near field communication NFC.
Further, as a possible implementation manner of this embodiment, the obtaining unit 31 is specifically configured to generate an interrupt instruction if it is detected that the NFC antenna is occupied, where the interrupt instruction is used to interrupt a current service of the NFC antenna; calling the NFC antenna to radiate a first NFC signal to the periphery, wherein the first NFC signal is used for requesting to acquire a second NFC signal, and data content carried by the second NFC signal is used for describing an account number of the second user; and calling the NFC antenna to acquire the second NFC signal.
The determining unit 32 is configured to determine, through the social application, whether the second user is a member of the target community according to the account of the second user.
A first executing unit 33, configured to configure a mark stamp to an account of the second user through the social application if the second user is not a member of the target community.
Further, as a possible implementation manner of this embodiment, the target communities are N communities, where N is an integer equal to or greater than 1, and the first execution unit 33 is specifically configured to generate the tag stamp list through the social application; the marking stamp list comprises N marking stamps, and the target communities pointed by the N marking stamps are different; and configuring the marking stamp to the account of the second user based on the marking stamp list to obtain N groups of accounts of the second user configured with the marking stamp.
A second executing unit 335, configured to display a prompt message if the second user is a member of the target community, where the prompt message is used to describe that the second user is a member of the target community.
A sending unit 34, configured to send, through the social application, the account of the second user configured with the tag stamp to a server, so that the server adds the account of the second user to the target community according to the tag stamp.
Further, as a possible implementation manner of this embodiment, if N is greater than 1, the sending unit 34 is specifically configured to send, through the social application, N groups of accounts of the second user configured with the timestamp to the server in sequence.
As can be seen from the above, in the social application logged in by the first user, when the preset operation for adding the second user to the target community is detected, the account of the second user is obtained by using the NFC, the tag stamp for pointing to the target community is configured for the account of the second user through the social application, and the account of the second user configured with the tag stamp is sent to the server, so that the server can add the account of the second user to the target community according to the tag stamp, and the step of adding members to the community in the social application is simplified.
Whether the second user is a member of the target community is judged through the social application according to the account of the second user, and when the second user is not a member of the target community, the mark stamp is configured for the account of the second user through the social application, so that the mark stamp is prevented from being configured for the account which is a member of the target community.
Fig. 7 is a schematic block diagram of a terminal according to another embodiment of the present invention. The terminal device 400 in the present embodiment as shown in the figure may include: one or more processors 401; one or more input devices 402, one or more output devices 403, and memory 404. The processor 401, the input device 402, the output device 403, and the memory 404 are connected by a bus 405. The memory 402 is used for storing, the computer program comprises instructions, and the processor 401 executes the following operations by calling the computer program stored in the memory 402:
the processor 401 is configured to: if a preset operation for adding a second user to a target community is detected in a social application logged in by a first user, acquiring an account of the second user through Near Field Communication (NFC), wherein the account of the second user is a unique identifier of the second user in the social application.
The processor 401 is configured to: configuring a mark stamp to the account of the second user through the social application, wherein the mark stamp is used for pointing to the target community.
The processor 401 is configured to: and sending the account of the second user configured with the marking stamp to a server through the social application, so that the server adds the account of the second user to the target community according to the marking stamp.
The processor 401 is further configured to: judging whether the second user is a member of the target community or not according to the account of the second user through the social application; and if the second user is not a member of the target community, configuring a marking stamp to an account of the second user through the social application.
Further, the processor 401 is specifically configured to: if the NFC antenna is detected to be occupied, generating an interruption instruction, wherein the interruption instruction is used for interrupting the current service of the NFC antenna; calling the NFC antenna to radiate a first NFC signal to the periphery, wherein the first NFC signal is used for requesting to acquire a second NFC signal, and data content carried by the second NFC signal is used for describing an account number of the second user; and calling the NFC antenna to acquire the second NFC signal.
The target communities are N communities, where N is an integer equal to or greater than 1, and the processor 401 is specifically configured to: generating, by the social application, a list of tag stamps; the marking stamp list comprises N marking stamps, and the target communities pointed by the N marking stamps are different; and configuring the marking stamp to the account of the second user based on the marking stamp list to obtain N groups of accounts of the second user configured with the marking stamp.
If N is greater than 1, processor 401 is specifically configured to: and sequentially sending N groups of accounts of the second user configured with the marking stamp to a server through the social application.
It should be understood that, in the embodiment of the present invention, the Processor 501 may be a Central Processing Unit (CPU), and the Processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 402 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 403 may include a display (LCD, etc.), a speaker, etc.
The memory 404 may include a read-only memory and a random access memory, and provides instructions and data to the processor 401. A portion of the memory 404 may also include non-volatile random access memory. For example, the memory 404 may also store device type information.
In a specific implementation, the processor 401, the input device 402, and the output device 403 described in this embodiment of the present invention may execute the implementation manners described in the first embodiment and the second embodiment of the method for adding a member to a community provided in this embodiment of the present invention, and may also execute the implementation manners of the devices described in this embodiment of the present invention, which is not described herein again.
In another embodiment of the invention, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, implements:
if a preset operation for adding a second user to a target community is detected in a social application logged in by a first user, acquiring an account of the second user through Near Field Communication (NFC), wherein the account of the second user is a unique identifier of the second user in the social application;
configuring a marking stamp to an account of the second user through the social application, wherein the marking stamp is used for pointing to the target community;
and sending the account of the second user configured with the marking stamp to a server through the social application, so that the server adds the account of the second user to the target community according to the marking stamp.
The computer program when executed by the processor further implements:
judging whether the second user is a member of the target community or not according to the account of the second user through the social application;
and if the second user is not a member of the target community, configuring a marking stamp to an account of the second user through the social application.
The computer program when executed by the processor further implements:
if the NFC antenna is detected to be occupied, generating an interruption instruction, wherein the interruption instruction is used for interrupting the current service of the NFC antenna;
calling the NFC antenna to radiate a first NFC signal to the periphery, wherein the first NFC signal is used for requesting to acquire a second NFC signal, and data content carried by the second NFC signal is used for describing an account number of the second user;
and calling the NFC antenna to acquire the second NFC signal.
The target communities are N communities, N being an integer equal to or greater than 1, the computer program when executed by the processor further implementing:
generating, by the social application, a list of tag stamps; the marking stamp list comprises N marking stamps, and the target communities pointed by the N marking stamps are different;
and configuring the marking stamp to the account of the second user based on the marking stamp list to obtain N groups of accounts of the second user configured with the marking stamp.
If N is greater than 1, the computer program when executed by the processor further performs:
and sequentially sending N groups of accounts of the second user configured with the marking stamp to a server through the social application.
As can be seen from the above, in the social application logged in by the first user, when the preset operation for adding the second user to the target community is detected, the account of the second user is obtained by using the NFC, the tag stamp for pointing to the target community is configured for the account of the second user through the social application, and the account of the second user configured with the tag stamp is sent to the server, so that the server can add the account of the second user to the target community according to the tag stamp, and the step of adding members to the community in the social application is simplified.
Whether the second user is a member of the target community is judged through the social application according to the account of the second user, and when the second user is not a member of the target community, the mark stamp is configured for the account of the second user through the social application, so that the mark stamp is prevented from being configured for the account which is a member of the target community.
The computer readable storage medium may be an internal storage unit of the device according to any of the foregoing embodiments, for example, a hard disk or a memory of a computer. The computer readable storage medium may also be an external storage device of the device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the device. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the apparatus. The computer-readable storage medium is used for storing the computer program and other programs and data required by the apparatus. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A method of adding a member to a community using near field communication, NFC, comprising:
if a preset operation for adding a second user to a target community is detected in a social application logged in by a first user, acquiring an account of the second user through Near Field Communication (NFC), wherein the account of the second user is a unique identifier of the second user in the social application;
configuring a marking stamp for the account of the second user through the social application, wherein the marking stamp is used for pointing to the target community and reflecting that the account of the second user is a member to be added to the target community, which is selected by the first user; when the target community is a plurality of community areas, configuring a plurality of marking stamps for the account of the second user through social application, wherein different marking stamps are used for pointing to different target communities, or only configuring one marking stamp for the account of the second user, and the one marking stamp points to the plurality of different target communities;
sending, by the social application, an account of the second user configured with the tag stamp to a server, so that the server adds the account of the second user to the target community according to the tag stamp;
the configuring, by the social application, a mark stamp to the account of the second user includes:
generating, by the social application, a list of tag stamps; the marking stamp list comprises N marking stamps, and the target communities pointed by the N marking stamps are different;
and configuring the marking stamp to the account of the second user based on the marking stamp list to obtain N groups of accounts of the second user configured with the marking stamp.
2. The method of claim 1, wherein the obtaining the account number of the second user via NFC comprises:
if the NFC antenna is detected to be occupied, generating an interruption instruction, wherein the interruption instruction is used for interrupting the current service of the NFC antenna;
calling the NFC antenna to radiate a first NFC signal to the periphery, wherein the first NFC signal is used for requesting to acquire a second NFC signal, and data content carried by the second NFC signal is used for describing an account number of the second user;
and calling the NFC antenna to acquire the second NFC signal.
3. The method of claim 1, wherein if N is greater than 1, the sending, by the social application, the account of the second user configured with the indicia to a server comprises:
and sequentially sending N groups of accounts of the second user configured with the marking stamp to a server through the social application.
4. The method of any of claims 1 to 3, wherein configuring, by the social application, a token stamp to the account of the second user further comprises:
judging whether the second user is a member of the target community or not according to the account of the second user through the social application;
and if the second user is not a member of the target community, configuring a marking stamp to an account of the second user through the social application.
5. A terminal device for adding a member to a community applying near field communication, NFC, comprising a memory, a processor and a computer program stored in said memory and executable on said processor, characterized in that said processor implements the following steps when executing said computer program:
if a preset operation for adding a second user to a target community is detected in a social application logged in by a first user, acquiring an account of the second user through Near Field Communication (NFC), wherein the account of the second user is a unique identifier of the second user in the social application;
configuring a marking stamp for the account of the second user through the social application, wherein the marking stamp is used for pointing to the target community and reflecting that the account of the second user is a member to be added to the target community, which is selected by the first user; when the target community is a plurality of community areas, configuring a plurality of marking stamps for the account of the second user through social application, wherein different marking stamps are used for pointing to different target communities, or only configuring one marking stamp for the account of the second user, and the one marking stamp points to the plurality of different target communities;
sending, by the social application, an account of the second user configured with the tag stamp to a server, so that the server adds the account of the second user to the target community according to the tag stamp;
the configuring, by the social application, a mark stamp to the account of the second user includes:
generating, by the social application, a list of tag stamps; the marking stamp list comprises N marking stamps, and the target communities pointed by the N marking stamps are different;
and configuring the marking stamp to the account of the second user based on the marking stamp list to obtain N groups of accounts of the second user configured with the marking stamp.
6. The terminal device of claim 5, wherein the obtaining the account of the second user through NFC comprises:
if the NFC antenna is detected to be occupied, generating an interruption instruction, wherein the interruption instruction is used for interrupting the current service of the NFC antenna;
calling the NFC antenna to radiate a first NFC signal to the periphery, wherein the first NFC signal is used for requesting to acquire a second NFC signal, and data content carried by the second NFC signal is used for describing an account number of the second user;
and calling the NFC antenna to acquire the second NFC signal.
7. The terminal device of claim 5, wherein if N is greater than 1, the sending, by the social application, the account of the second user configured with the timestamp to a server includes:
and sequentially sending N groups of accounts of the second user configured with the marking stamp to a server through the social application.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201810161077.5A 2018-02-26 2018-02-26 Method for adding members to community, terminal device and computer readable storage medium Active CN108156071B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810161077.5A CN108156071B (en) 2018-02-26 2018-02-26 Method for adding members to community, terminal device and computer readable storage medium
PCT/CN2018/082615 WO2019161600A1 (en) 2018-02-26 2018-04-11 Method, device, server and medium for adding member to community

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810161077.5A CN108156071B (en) 2018-02-26 2018-02-26 Method for adding members to community, terminal device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108156071A CN108156071A (en) 2018-06-12
CN108156071B true CN108156071B (en) 2021-01-08

Family

ID=62455989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810161077.5A Active CN108156071B (en) 2018-02-26 2018-02-26 Method for adding members to community, terminal device and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN108156071B (en)
WO (1) WO2019161600A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109919566A (en) * 2019-01-17 2019-06-21 平安城市建设科技(深圳)有限公司 Community member's management method, equipment, storage medium and device
CN109949084A (en) * 2019-03-11 2019-06-28 秒针信息技术有限公司 Community's group purchase method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873342A (en) * 2012-12-11 2014-06-18 腾讯科技(深圳)有限公司 Method, terminal and system for joining social group
CN104202173A (en) * 2014-08-11 2014-12-10 鸿富锦精密工业(深圳)有限公司 Terminal device and group joining control method, server and group invitation method
US20160373165A1 (en) * 2015-06-17 2016-12-22 Samsung Eletrônica da Amazônia Ltda. Method for communication between electronic devices through interaction of users with objects
CN107294742A (en) * 2017-07-01 2017-10-24 珠海格力电器股份有限公司 Create method, device, terminal of attending a meeting and the server of meeting group
CN107547103A (en) * 2016-12-23 2018-01-05 西安闻泰电子科技有限公司 NFC and wireless charging common antenna system and method
CN107733951A (en) * 2016-08-11 2018-02-23 刘广松 A kind of social group method for building up and system based on ultrasonic wave

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611637A (en) * 2011-01-20 2012-07-25 腾讯科技(深圳)有限公司 Group realization method and system
WO2015036817A1 (en) * 2013-09-15 2015-03-19 Yogesh Chunilal Rathod Structured updated status, requests, user data & programming based presenting & accessing of connections
CN104468335B (en) * 2014-12-11 2019-03-01 北京奇虎科技有限公司 The means of communication and device based on relative position information
US10069777B2 (en) * 2015-04-30 2018-09-04 International Business Machines Corporation Determining a visibility of an online conversation for a new participant
CN106453050B (en) * 2016-10-10 2019-11-22 腾讯科技(深圳)有限公司 Information processing method, system and relevant device based on social application
CN107317688A (en) * 2017-07-25 2017-11-03 薛江炜 The device and method of communication group is created based on tag along sort

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873342A (en) * 2012-12-11 2014-06-18 腾讯科技(深圳)有限公司 Method, terminal and system for joining social group
CN104202173A (en) * 2014-08-11 2014-12-10 鸿富锦精密工业(深圳)有限公司 Terminal device and group joining control method, server and group invitation method
US20160373165A1 (en) * 2015-06-17 2016-12-22 Samsung Eletrônica da Amazônia Ltda. Method for communication between electronic devices through interaction of users with objects
CN107733951A (en) * 2016-08-11 2018-02-23 刘广松 A kind of social group method for building up and system based on ultrasonic wave
CN107547103A (en) * 2016-12-23 2018-01-05 西安闻泰电子科技有限公司 NFC and wireless charging common antenna system and method
CN107294742A (en) * 2017-07-01 2017-10-24 珠海格力电器股份有限公司 Create method, device, terminal of attending a meeting and the server of meeting group

Also Published As

Publication number Publication date
CN108156071A (en) 2018-06-12
WO2019161600A1 (en) 2019-08-29

Similar Documents

Publication Publication Date Title
CN105530175B (en) Message processing method, device and system
KR102105636B1 (en) Installing application remotely
CN104902028B (en) A kind of a key login authentication method, apparatus and system
US20130086670A1 (en) Providing third party authentication in an on-demand service environment
WO2017084290A1 (en) Public account two-dimensional code generation method and server, and public account following method, server and terminal
CN109039990B (en) Behavior verification method and device based on verification code
CN104079409A (en) Account login method and device
JP2022502692A (en) Speech processing methods, devices, devices, programs and computer storage media
US20150264095A1 (en) Web service push method and web service push server and web service providing server performing same
CN108293181A (en) A kind of processing method and terminal of communication identifier binding
EP3176719B1 (en) Methods and devices for acquiring certification document
CN110430292B (en) Method and device for inviting login of network platform, electronic equipment and readable medium
CN109726545B (en) Information display method, equipment, computer readable storage medium and device
CN108156071B (en) Method for adding members to community, terminal device and computer readable storage medium
CN111241523B (en) Authentication processing method, device, equipment and storage medium
US20130139240A1 (en) Network system, information processing apparatus, method for controlling the information processing apparatus, and computer-readable storage medium for computer program
CN109558710B (en) User login method, device, system and storage medium
CN110619204A (en) Invitation code generation method and device, terminal equipment and storage medium
CN110601852B (en) Authentication and authorization method and system for electronic equipment of voice conversation platform
WO2015003570A1 (en) Data downloading method,device and system thereof
CN105656704B (en) Page abnormity detection method, device and system
CN114417318A (en) Third-party page jumping method and device and electronic equipment
CN112785312A (en) Information sharing method and device, electronic equipment and readable storage medium
CN114500630A (en) Message pushing method, device, system, storage medium and electronic equipment
CN108174349B (en) Short message channel quality detection method and network server

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