CN110300053B - Method and device for adding friends - Google Patents

Method and device for adding friends Download PDF

Info

Publication number
CN110300053B
CN110300053B CN201910582028.3A CN201910582028A CN110300053B CN 110300053 B CN110300053 B CN 110300053B CN 201910582028 A CN201910582028 A CN 201910582028A CN 110300053 B CN110300053 B CN 110300053B
Authority
CN
China
Prior art keywords
user
resource allocation
social
request
group
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
CN201910582028.3A
Other languages
Chinese (zh)
Other versions
CN110300053A (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.)
Shanghai Lianshang Network Technology Co Ltd
Original Assignee
Shanghai Lianshang 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 Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN201910582028.3A priority Critical patent/CN110300053B/en
Publication of CN110300053A publication Critical patent/CN110300053A/en
Priority to PCT/CN2020/094607 priority patent/WO2021000696A1/en
Application granted granted Critical
Publication of CN110300053B publication Critical patent/CN110300053B/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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • 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
    • 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]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/108Resource delivery mechanisms characterised by resources being split in blocks or fragments

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Computing Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application aims to provide a method and equipment for adding friends, and the method comprises the following steps: receiving a social expansion request of a first user, which is sent by first user equipment, wherein the social expansion request comprises resource allocation information set by the first user; posting the resource allocation information in one or more social groups in which the first user participates; responding to a resource allocation request of a second user to the resource allocation information in the social group, performing resource allocation for the second user, and sending a friend adding request of the first user to the second user, wherein the attributes of the first user and the second user are the same. Compared with the prior art, the social friend adding method and device can achieve automatic adding of social friends, and efficiency of social expansion is improved.

Description

Method and device for adding friends
Technical Field
The present application relates to the field of communications, and in particular, to a technique for adding a friend.
Background
With the development of the times, people gradually come up with a plurality of social software, such as WeChat, QQ and the like, and the social software draws the distance between people in the society, so that the world becomes a unified whole. In the social software, it is usually only supported that a user manually initiates a request for adding friends to other users, and before initiating the request for adding friends, the user must manually determine the other users that the user wants to add, for example, one user in a social group determines to add another user in the social group, the user first clicks the avatar of the other user to present personal information of the other user, and then clicks an "add friends" button in an interface for presenting personal information of the other user to initiate a request for adding friends that the other user is a friend.
Disclosure of Invention
An object of the present application is to provide a method and an apparatus for adding a friend.
According to one aspect of the application, a method for adding friends to a user at a network device side is provided, and the method comprises the following steps: receiving a social expansion request of a first user, which is sent by first user equipment, wherein the social expansion request comprises resource allocation information set by the first user; posting the resource allocation information in one or more social groups in which the first user participates; responding to a resource allocation request of a second user to the resource allocation information in the social group, performing resource allocation for the second user, and sending a friend adding request of the first user to the second user, wherein the attributes of the first user and the second user are the same.
According to another aspect of the present application, a method for adding a friend to a user at a first user equipment is provided, where the method includes: generating resource allocation information according to the resource allocation setting operation of the first user; sending a social expansion request of the first user to a network device, wherein the social expansion request includes resource allocation information set by the first user, so that the network device issues the resource allocation information in one or more social groups in which the first user participates.
According to another aspect of the present application, a method for adding a friend to a user at a second user equipment is provided, where the method includes: presenting resource allocation information provided by a network device in a social group in which a second user participates, wherein the resource allocation information is from a first user participating in the social group, and the attributes of the first user and the second user are the same; responding to the second user to obtain the resource allocation information, and sending a resource allocation request to the network equipment; and receiving and presenting a friend adding request of the first user sent by the network equipment in response to the resource allocation request.
According to an aspect of the present application, there is provided a network device for adding a friend to a user, the device including: the system comprises a one-to-one module, a first user equipment and a second user equipment, wherein the one-to-one module is used for receiving a social expansion request of a first user, which is sent by the first user equipment, and the social expansion request comprises resource allocation information set by the first user; a second module for publishing the resource allocation information in one or more social groups in which the first user participates; and a third module, configured to respond to a resource allocation request of a second user to the resource allocation information in the social group, perform resource allocation for the second user, and send a friend adding request of the first user to the second user, where attributes of the first user and the second user are the same.
According to another aspect of the present application, there is provided a first user equipment for adding a friend to a user, the first user equipment comprising: the first module is used for generating resource allocation information according to the resource allocation setting operation of the first user; and a second module, configured to send a social expansion request of the first user to a network device, where the social expansion request includes resource allocation information set by the first user, so that the network device issues the resource allocation information in one or more social groups in which the first user participates.
According to another aspect of the present application, there is provided a second user equipment for adding a friend to a user, the second user equipment comprising: a third module, configured to present resource allocation information provided by a network device in a social group in which a second user participates, where the resource allocation information is from a first user participating in the social group, and attributes of the first user and the second user are the same; a third module and a second module, configured to send a resource allocation request to the network device in response to a pickup operation of the second user on the resource allocation information; and a third module, configured to receive and present a friend adding request of the first user sent by the network device in response to the resource allocation request.
According to an aspect of the present application, there is provided an apparatus for adding a friend, wherein the apparatus includes: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to: receiving a social expansion request of a first user, which is sent by first user equipment, wherein the social expansion request comprises resource allocation information set by the first user; posting the resource allocation information in one or more social groups in which the first user participates; responding to a resource allocation request of a second user to the resource allocation information in the social group, performing resource allocation for the second user, and sending a friend adding request of the first user to the second user, wherein the attributes of the first user and the second user are the same.
According to one aspect of the application, there is provided a computer-readable medium storing instructions that, when executed, cause a system to: receiving a social expansion request of a first user, which is sent by first user equipment, wherein the social expansion request comprises resource allocation information set by the first user; posting the resource allocation information in one or more social groups in which the first user participates; responding to a resource allocation request of a second user to the resource allocation information in the social group, performing resource allocation for the second user, and sending a friend adding request of the first user to the second user, wherein the attributes of the first user and the second user are the same.
Compared with the prior art, the method and the device have the advantages that the resource allocation and the social expansion are combined, the social friends are expanded for the first user in a resource allocation mode, automatic addition of the social friends is achieved, and social expansion efficiency is improved. Furthermore, by setting the allocation conditions of the resource allocation, only the specific users meeting the specific labels or tendencies satisfy the allocation conditions of the resource allocation, the conversion rate from the resource allocation to the social expansion is increased, and the quality and the matching degree of the added social friends are improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 illustrates a flow diagram of a method for adding friends to a user at a network device in accordance with some embodiments of the present application;
fig. 2 illustrates a flowchart of a method for adding friends to a user at a first user equipment according to some embodiments of the present application;
fig. 3 illustrates a flowchart of a method for adding a friend to a user at a second user equipment according to some embodiments of the present application;
FIG. 4 illustrates a flow diagram of a system method for adding friends to a user according to some embodiments of the present application;
FIG. 5 illustrates a block diagram of a network device for adding buddies to a user in accordance with some embodiments of the present application;
FIG. 6 illustrates a first user equipment structure diagram for adding friends to a user according to some embodiments of the present application;
FIG. 7 illustrates a second user equipment structure diagram for adding friends to a user in accordance with some embodiments of the present application;
FIG. 8 illustrates an exemplary system that can be used to implement some embodiments described in this application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
The device referred to in this application includes, but is not limited to, a user device, a network device, or a device formed by integrating a user device and a network device through a network. The user equipment includes, but is not limited to, any mobile electronic product, such as a smart phone, a tablet computer, etc., capable of performing human-computer interaction with a user (e.g., human-computer interaction through a touch panel), and the mobile electronic product may employ any operating system, such as an android operating system, an iOS operating system, etc. The network device includes an electronic device capable of automatically performing numerical calculation and information processing according to a preset or stored instruction, and hardware thereof includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like. The network device includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud of a plurality of servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers. Including, but not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless Ad Hoc network (Ad Hoc network), etc. Preferably, the device may also be a program running on the user device, the network device, or a device formed by integrating the user device and the network device, the touch terminal, or the network device and the touch terminal through a network.
Of course, those skilled in the art will appreciate that the foregoing is by way of example only, and that other existing or future devices, which may be suitable for use in the present application, are also encompassed within the scope of the present application and are hereby incorporated by reference.
In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Fig. 1 is a flowchart illustrating a method for adding a buddy to a user at a network device according to an embodiment of the present application, where the method includes steps S11, S12, and S13. In step S11, the network device receives a social expansion request of a first user sent by a first user device, where the social expansion request includes resource allocation information set by the first user; in step S12, the network device posts the resource allocation information in one or more social groups in which the first user participates; in step S13, the network device performs resource allocation for a second user in the social group in response to a resource allocation request of the second user for the resource allocation information, and sends a request for adding a friend of the first user to the second user, where attributes of the first user and the second user are the same.
In step S11, the network device receives a social expansion request of the first user sent by the first user device, where the social expansion request includes resource allocation information set by the first user. In some embodiments, the social extension request is used for extending social friends of the first user, and is sent to the network device by the first user device, and the resource allocation information includes, but is not limited to, group red package allocation information set by the first user, where the group red package allocation information includes, but is not limited to, information such as amount, quantity, and remarks of the group red package, for example, the resource allocation information is "the total amount of the group red package is 100 yuan, the quantity is 10, and the remarks are requests for a person who is in trouble to rush to the group red package to add friends through down".
In step S12, the network device posts the resource allocation information in one or more social groups in which the first user participates. In some embodiments, the group red package distribution information may be published in all social groups in which the first user participates, or one or more target social groups are selected from all social groups in which the first user participates, and the group red package distribution information is published in the target social groups, where publishing the group red package distribution information in the social groups is that the network device sends the group red package distribution information to the user devices corresponding to all other group members except the first user in the social groups, so as to present the group red package distribution information on the user devices corresponding to all other group members. For example, the social groups in which the first user participates include social group a, social group B, and social group C, and the group bonus assignment information may be published in social group a, social group B, and social group C, or the social group a may be selected as a target social group and the group bonus assignment information may be published only in social group a.
In step S13, the network device performs resource allocation for a second user in the social group in response to a resource allocation request of the second user for the resource allocation information, and sends a request for adding a friend of the first user to the second user, where attributes of the first user and the second user are the same. In some embodiments, the resource allocation request is a group red packet allocation request for the second user to request the network device to obtain a group red packet, the group red packet allocation request is sent by the second user device to the network device, and after the network device receives the resource allocation request, distributing the obtained group red envelope amount to the second user, sending a friend adding request of the first user to the second user equipment, wherein the second user is a group member in a certain social group publishing the group red packet assignment information, the attribute of the user is used for indicating whether the user is an individual user or not, determining whether the first user and the second user are user-to-user relationships by comparing whether the user attributes are the same, and if the first user and the second user are both personal users, the attributes of the first user and the second user are considered to be the same, otherwise, the attributes of the first user and the second user are considered to be different. For example, the first user and the second user are both individual users and have the same attribute, after the second user sees the group red packet allocation information issued by the first user in the social group, the second user generates a corresponding group red packet allocation request and sends the group red packet allocation request to the network device through the second user device, after receiving the group red packet allocation request of the second user, the network device allocates the obtained group red packet amount of 5 yuan to the second user, and sends a friend adding request of the first user to the second user device.
In some embodiments, the step S12 includes a step S121 (not shown) and a step S122 (not shown), in the step S121, the network device determines at least one target social group from one or more social groups in which the first user participates; in step S122, the network device publishes the resource allocation information in the target social group. In some embodiments, the group red package allocation information may be published in all social groups in which the first user participates, or one or more target social groups may be selected from all social groups in which the first user participates according to a certain selection condition or at random, and the group red package allocation information may be published in the target social groups. For example, the social group in which the first user participates includes a social group a, a social group B, and a social group C, and the group bonus assignment information may be published in the social group a, the social group B, and the social group C, or the group bonus assignment information may be published only in the social group a according to a selection condition that "the total number of people exceeds 100", or the group bonus assignment information may be randomly published in one of the social group a, the social group B, and the social group C.
In some embodiments, the step S121 includes: the network device determines at least one target social group from one or more social groups in which the first user participates, wherein the number of group members in each target social group in the at least one target social group that are not social friends of the first user is greater than or equal to a predetermined number threshold. In some embodiments, when the number of group members in the social group that are not social friends of the first user is larger, the first user may be more facilitated to expand the social friends by sending a group red packet, and the group red packet may be preferably used as a target social group in one or more social groups in which the first user participates. For example, the predetermined number threshold is 50, the social group in which the first user participates has a social group a, a social group B, and a social group C, wherein the number of group members in the social group a that are not social friends of the first user is 40, the number of group members in the social group B that are not social friends of the first user is 30, the number of group members in the social group C that are not social friends of the first user is 60, and the social group C is selected as the target social group from the social group a, the social group B, and the social group C.
In some embodiments, the social expansion request further includes target social group indication information set by the first user; wherein the step S121 includes: and the network equipment determines at least one target social group from one or more social groups participated by the first user according to the target social group indication information. In some embodiments, the target social group indication information is used to indicate a target social group, including but not limited to a name, an ID, a filtering condition, and the like of the social group, the target social group indication information is set by the first user in the social expansion request and is sent by the first user device to the network device, and the network device selects at least one target social group from one or more social groups in which the first user participates according to the target social group indication information, wherein the filtering condition is used to set a social group satisfying the filtering condition set by the user as the target social group. For example, the social group in which the first user participates includes a social group a, a social group B, and a social group C, the social expansion request further includes target social group indication information of the first user device, and if the target social group indication information is a group name "social group a", it is determined that the social group a is a target social group, or if the target social group indication information is a group ID "ID _ B", a social group B corresponding to the "ID _ B" is taken as a target social group, or if the target social group indication information is a filtering condition "the number of group members is greater than 100", a social group C meeting the filtering condition is taken as a target social group.
In some embodiments, the step S13 includes: the network equipment responds to a resource allocation request of a second user in the social group to the resource allocation information, and judges whether the second user meets a preset allocation condition of the resource allocation request or not; and if the second user meets the preset allocation condition of the resource allocation request, allocating resources for the second user, and sending a friend adding request of the first user to the second user. In some embodiments, in order to avoid unnecessary waste of resource allocation, the conversion rate from resource allocation to adding of social friends is increased, the quality and matching degree of the added social friends are increased, some zombie users who only pick up resources are avoided, a predetermined allocation condition of resource allocation can be set, and only specific users who meet a specific label or tendency satisfy the predetermined allocation condition of resource allocation. After receiving the resource allocation request of the second user, the network device judges whether the second user meets the preset allocation condition of resource allocation, allocates resources for the second user only when the second user meets the preset allocation condition, and sends a friend adding request of the first user to the second user device. For example, the predetermined allocation condition for allocating the group red packet is "more than 100 messages have been sent in the session group", so as to determine whether the second user meets the predetermined allocation condition, if the second user meets the predetermined allocation condition, the obtained group red packet amount allocated to the second user is 10 yuan, and a friend adding request of the first user is sent to the second user equipment.
In some embodiments, the sending the add buddy request of the first user to the second user comprises: and the network equipment judges whether the second user is a social friend of the first user, and if not, sends a friend adding request of the first user to the second user. In some embodiments, before sending the request for adding a friend to the second user equipment, the network equipment may first determine whether the second user is already a social friend of the first user, and send the request for adding a friend of the first user to the second user equipment if the second user is not a social friend of the first user, otherwise, send the request for adding a friend of the first user to the second user equipment.
In some embodiments, the predetermined dispensing conditions include, but are not limited to:
1) the second user's activity parameter is greater than or equal to a predetermined activity parameter threshold
In some embodiments, the activity parameter of the second user includes, but is not limited to, a number or frequency of messages sent by the second user in the social group, and if the activity parameter of the second user is greater than or equal to a predetermined activity parameter threshold, the second user meets a predetermined allocation condition of the resource allocation. For example, the predetermined activity parameter threshold is "number of utterances 100", and if the number of utterances of the second user is 150, the number of utterances of the second user is greater than the predetermined activity parameter threshold and meets the predetermined allocation condition for resource allocation, or if the number of utterances of the second user is 80, the number of utterances of the second user is less than the predetermined activity parameter threshold and does not meet the predetermined allocation condition for resource allocation. For another example, if the predetermined activity parameter threshold is "10 average speech times per hour", and if the speech frequency of the second user is "15 average speech times per hour", the speech frequency of the second user is greater than the predetermined activity parameter threshold and meets the predetermined allocation condition for resource allocation, or if the speech frequency of the second user is "7 average speech times per hour", the speech frequency of the second user is less than the predetermined activity parameter threshold and does not meet the predetermined allocation condition for resource allocation.
2) The personal information of the second user meets the preset requirement
In some embodiments, the personal information of the second user includes, but is not limited to, the second user's age, location, hobbies, and the like. For example, the predetermined requirement may be "age is greater than 18 years", "the area is Jiangzhe Shanghai" or "interest in basketball," and the personal information of the second user includes "age 22 years", and if the predetermined requirement is met, the second user meets the predetermined allocation condition of resource allocation.
3) The second user has a predetermined operation on one or more predetermined special types of target messages sent by the first user in the social group in history
In some embodiments, the first user has sent one or more target messages of a predetermined special type in the social group, and if a predetermined operation on the target message exists by the second user, the second user meets a predetermined allocation condition of resource allocation, where the predetermined special type includes but is not limited to a link type, a hosted application type, a picture type, an audio-video type, a file type, and the like, and the predetermined operation includes but is not limited to an access operation, a download operation, a collection operation, a forwarding operation, a sharing operation, and the like. For example, the first user has sent a link a in the social group, and if the second user accesses the link a, the second user meets the predetermined allocation condition of the resource allocation.
4) The history of the second user obtains the behavior times of rejecting the request of adding the social friends of the third user after the third user obtains the resources distributed in the social group, wherein the behavior times are less than or equal to a preset time threshold value
In some embodiments, the third user is another user in the social group except the second user, including the first user, and if the number of times that the second user refuses the request of adding the social friend of the other user after obtaining the group red packet allocated by the other user in the social group is less than or equal to the predetermined number threshold, the second user meets the predetermined allocation condition of the resource allocation. For example, the predetermined number threshold is 3, and if the number of the actions that the second user has taken is 2, the second user meets the predetermined allocation condition of the resource allocation.
5) The behavior times of the second user for receiving the request of the fourth user for adding the social friends and deleting the social friend relationship with the fourth friends within a certain preset time threshold range after acquiring the resources distributed by the fourth user in the social group is less than or equal to a preset time threshold
In some embodiments, the fourth user is another user in the social group except the second user, including the first user, and if the number of actions that the second user deletes the social friend relationship with the other user within a very short time interval (for example, 1 hour) although receiving the request of adding the social friend by the other user after obtaining the group red packet allocated by the other user in the social group is less than or equal to the predetermined number threshold, the second user meets the predetermined allocation condition of resource allocation. For example, the predetermined number threshold is 4, and if the second user never performs the action, the second user meets the predetermined allocation condition of the resource allocation.
6) The second user has an act of accessing personal information and/or social space of the first user
In some embodiments, if the second user ever accesses the first user's personal information page or social space page, the second user is eligible for a predetermined allocation of resources. For example, if the second user ever visits the friend circle page of the first user, the second user meets the predetermined allocation condition of resource allocation.
7) The time interval between the time when the second user joins the social group and the current time is greater than or equal to a preset time threshold value
For example, the predetermined time threshold is 1 day, if the time interval between the time when the second user joins the social group and the current time is 2 days, which is greater than the predetermined time threshold, the second user meets the predetermined allocation condition for resource allocation, or if the time interval between the time when the second user joins the social group and the current time is 6 hours, which is less than the predetermined time threshold, the second user does not meet the predetermined allocation condition for resource allocation.
8) The time interval between the time of the second user in the social group for sending the message most recently and the current time is less than or equal to a preset time threshold value
For example, the predetermined time threshold is 1 day, if the time interval between the time when the second user has recently sent the message in the social group and the current time is 2 days, which is greater than the predetermined time threshold, the second user does not meet the predetermined allocation condition for resource allocation, or if the time interval between the time when the second user has recently sent the message in the social group and the current time is 3 hours, which is less than the predetermined time threshold, the second user does not meet the predetermined allocation condition for resource allocation.
9) Any combination of the above predetermined dispensing conditions
In some embodiments, the social expansion request further comprises resource allocation conditions set by the first user; wherein the predetermined allocation condition further comprises: and the second user meets the resource allocation condition set by the first user. In some embodiments, the first user may manually set a resource allocation condition, set the resource allocation condition in the social expansion request, and send the social expansion request to the network device, and the network device determines whether the second user meets a predetermined allocation condition of resource allocation according to whether the second user meets the resource allocation condition. For example, the social expansion request further includes a resource allocation condition "once accessed to the link a sent by the first user in the social group" set by the first user, and whether the second user meets a predetermined allocation condition of resource allocation is determined according to whether the second user meets the resource allocation condition.
In some embodiments, the predetermined special types include, but are not limited to:
1) type of link
For example, the first user sends a web page link in the social group about the property information of a certain intermediary company.
2) Boarder application types
In some embodiments, hosted applications are applications that cannot run independently, must rely on a host application to run, including but not limited to applets and the like. For example, the first user sends a lodging application in the social group regarding a take-away order for a restaurant.
3) Picture type
For example, a first user sends a picture about a tourist attraction scene in the social group.
4) Type of audio and video
For example, a first user sends a trailer video about a movie in the social group.
5) File type
For example, the first user sends an installation package file about a certain mobile game in the social group.
6) Any combination of the above special types
In some embodiments, the predetermined operations include, but are not limited to:
1) access operations
For example, the second user accesses a web page link sent by the first user in the social group regarding the property information of a certain intermediary company.
2) Download operation
For example, the second user downloads an installation package file about a certain mobile game sent by the first user in the social group.
3) Operation of collection
For example, the second user collects a picture about a tourist attraction scene sent by the first user in the social group.
4) Forwarding operations
For example, the second user forwards a hosted application about a take-away order for a restaurant sent by the first user in the social group to other social friends of the second user.
5) Sharing operations
For example, the second user shares a trailer video about a movie sent by the first user in the social group to the circle of friends of the second user.
6) Any combination of the above predetermined operations.
Fig. 2 is a flowchart illustrating a method for adding a friend to a user at a first user equipment according to an embodiment of the present application, where the method includes steps S21 and S22. In step S21, the first user equipment generates resource allocation information according to the resource allocation setting operation of the first user; in step S22, a first user device sends a social expansion request of the first user to a network device, where the social expansion request includes resource allocation information set by the first user, so that the network device posts the resource allocation information in one or more social groups in which the first user participates.
In step S21, the first user equipment generates resource allocation information according to the resource allocation setting operation of the first user. For example, the first device generates corresponding resource allocation information "total amount of money of group red package is 100 yuan, number is 10, and remark is that person who is troublesome to rob to group red package requests to add friend by adding friend" according to the resource allocation setting information including information of amount of money of group red package "100 yuan", number "10", and remark "person who is troublesome to rob to group red package requests by adding friend" input by the first user.
In step S22, a first user device sends a social expansion request of the first user to a network device, where the social expansion request includes resource allocation information set by the first user, so that the network device posts the resource allocation information in one or more social groups in which the first user participates. For example, the first user device sets the group bonus package allocation information in a social expansion request of the first user, sends the social expansion request to the network device, and after receiving the social expansion request, the network device obtains the group bonus package allocation information from the social expansion request and sends the group bonus package allocation information to the user devices corresponding to all group members except the first user in one or more social groups in which the first user participates.
Fig. 3 is a flowchart illustrating a method for adding a buddy to a user at a second user equipment according to an embodiment of the present application, where the method includes steps S31, S32, and S33. In step S31, the second user device presents resource allocation information provided by the network device in a social group in which the second user participates, wherein the resource allocation information is from a first user participating in the social group, and the attributes of the first user and the second user are the same; in step S32, the second user equipment sends a resource allocation request to the network device in response to the second user getting the resource allocation information; in step S33, the second user device receives and presents the friend adding request of the first user sent by the network device in response to the resource allocation request;
in step S31, the second user device presents resource allocation information provided by the network device in a social group in which the second user participates, where the resource allocation information is from a first user participating in the social group, and the attributes of the first user and the second user are the same. For example, the second user device presents the group red package distribution information sent by the network device and from the first user in a social group in which the first user and the second user participate together, wherein the first user and the second user are both individual users and have the same attribute.
In step S32, the second user equipment sends a resource allocation request to the network device in response to the second user getting the resource allocation information. For example, the second user clicks the group red packet distribution information presented on the second user device to request to retrieve the group red packet, and sends the group red packet distribution request to the network device through the second user device.
In step S33, the second user device receives and presents the friend adding request of the first user sent by the network device in response to the resource allocation request. For example, the second user equipment receives a friend adding request of the first user, which is sent by the network equipment and is based on the group red packet allocation request, and presents the friend adding request on the second user equipment so that the second user can pass the request, or rejects the request, or does not perform any processing on the request.
Fig. 4 shows a flowchart of a method of adding friends to a user according to some embodiments of the present application, the method including step S41, step S42, step S43, step S44, step S45, step S46, step S47, and step S48. In step S41, the first user equipment generates resource allocation information according to the resource allocation setting operation of the first user; in step S42, the first user device sends a social expansion request of the first user to a network device, where the social expansion request includes resource allocation information set by the first user, so that the network device posts the resource allocation information in one or more social groups in which the first user participates; in step S43, the network device receives a social expansion request of a first user sent by the first user device, where the social expansion request includes resource allocation information set by the first user; in step S44, the network device publishes the resource allocation information in one or more social groups in which the first user participates; in step S45, the second user device presents resource allocation information provided by the network device in a social group in which the second user participates, wherein the resource allocation information is from a first user participating in the social group, and the attributes of the first user and the second user are the same; in step S46, the second user equipment sends a resource allocation request to the network device in response to the second user getting the resource allocation information; in step S47, in response to a resource allocation request of a second user to the resource allocation information in the social group, the network device performs resource allocation for the second user, and sends a request of adding a friend of the first user to the second user, where attributes of the first user and the second user are the same; in step S48, the second user device receives and presents the friend adding request of the first user sent by the network device in response to the resource allocation request. It should be noted that, for the sake of simplicity, only the first user equipment and the second user equipment are shown in fig. 4, and it should be understood by those skilled in the art that the user equipments used by other group members in the one or more social groups can all receive the resource allocation information. The implementation manners of step S41, step S42, step S43, step S44, step S45, step S46, step S47 and step S48 have been described in detail in the above embodiments, and are not described herein again.
Fig. 5 shows a network device for adding friends to a user according to an embodiment of the present application, which includes a one-module 11, a two-module 12, and a three-module 13. A module 11, configured to receive a social expansion request of a first user sent by a first user device, where the social expansion request includes resource allocation information set by the first user; a secondary module 12 for publishing the resource allocation information in one or more social groups in which the first user participates; a third module 13, configured to respond to a resource allocation request of a second user to the resource allocation information in the social group, perform resource allocation for the second user, and send a friend adding request of the first user to the second user, where attributes of the first user and the second user are the same.
A module 11, configured to receive a social expansion request of a first user sent by a first user device, where the social expansion request includes resource allocation information set by the first user. In some embodiments, the social extension request is used for extending social friends of the first user, and is sent to the network device by the first user device, and the resource allocation information includes, but is not limited to, group red package allocation information set by the first user, where the group red package allocation information includes, but is not limited to, information such as amount, quantity, and remarks of the group red package, for example, the resource allocation information is "the total amount of the group red package is 100 yuan, the quantity is 10, and the remarks are requests for a person who is in trouble to rush to the group red package to add friends through down".
A secondary module 12 for publishing the resource allocation information in one or more social groups in which the first user participates. In some embodiments, the group red package distribution information may be published in all social groups in which the first user participates, or one or more target social groups are selected from all social groups in which the first user participates, and the group red package distribution information is published in the target social groups, where publishing the group red package distribution information in the social groups is that the network device sends the group red package distribution information to the user devices corresponding to all other group members except the first user in the social groups, so as to present the group red package distribution information on the user devices corresponding to all other group members. For example, the social groups in which the first user participates include social group a, social group B, and social group C, and the group bonus assignment information may be published in social group a, social group B, and social group C, or the social group a may be selected as a target social group and the group bonus assignment information may be published only in social group a.
A third module 13, configured to respond to a resource allocation request of a second user to the resource allocation information in the social group, perform resource allocation for the second user, and send a friend adding request of the first user to the second user, where attributes of the first user and the second user are the same. In some embodiments, the resource allocation request is a group red packet allocation request for the second user to request the network device to obtain a group red packet, the group red packet allocation request is sent by the second user device to the network device, and after the network device receives the resource allocation request, distributing the obtained group red envelope amount to the second user, sending a friend adding request of the first user to the second user equipment, wherein the second user is a group member in a certain social group publishing the group red packet assignment information, the attribute of the user is used for indicating whether the user is an individual user or not, determining whether the first user and the second user are user-to-user relationships by comparing whether the user attributes are the same, and if the first user and the second user are both personal users, the attributes of the first user and the second user are considered to be the same, otherwise, the attributes of the first user and the second user are considered to be different. For example, the first user and the second user are both individual users and have the same attribute, after the second user sees the group red packet allocation information issued by the first user in the social group, the second user generates a corresponding group red packet allocation request and sends the group red packet allocation request to the network device through the second user device, after receiving the group red packet allocation request of the second user, the network device allocates the obtained group red packet amount of 5 yuan to the second user, and sends a friend adding request of the first user to the second user device.
In some embodiments, the first-second module 12 includes a first-second module (not shown) and a first-second module (not shown) for determining at least one target social group from among one or more social groups in which the first user participates; a second module and a second module are used for publishing the resource allocation information in the target social group. Here, the specific implementation of the above-mentioned first-second module and second-second module is the same as or similar to the embodiment of the above-mentioned steps S121 and S122, and therefore, the detailed description is omitted, and the detailed description is incorporated herein by reference.
In some embodiments, the one or two-in-one module is to: determining at least one target social group from one or more social groups in which the first user participates, wherein a number of group members in each of the at least one target social groups that are not social friends of the first user is greater than or equal to a predetermined number threshold. Here, the operation of determining at least one target social group from among the one or more social groups in which the first user participates is the same as or similar to that of the embodiment shown in fig. 1, and therefore, the description is omitted, and the operation is included herein by reference.
In some embodiments, the social expansion request further includes target social group indication information set by the first user; wherein a second module is used for: and determining at least one target social group from one or more social groups in which the first user participates according to the target social group indication information. Here, the situation that the related social expansion request further includes the target social group indication information set by the first user is the same as or similar to that in the embodiment shown in fig. 1, and therefore, the details are not repeated here, and are included herein by reference.
In some embodiments, the one-three module 13 is configured to: responding to a resource allocation request of a second user in the social group to the resource allocation information, and judging whether the second user meets a preset allocation condition of the resource allocation request; and if the second user meets the preset allocation condition of the resource allocation request, allocating resources for the second user, and sending a friend adding request of the first user to the second user. Here, the operation related to responding to the resource allocation request of the second user to the resource allocation information in the social group is the same as or similar to the embodiment shown in fig. 1, and therefore, the description is omitted here, and the operation is incorporated herein by reference.
In some embodiments, the sending the add buddy request of the first user to the second user comprises: and the network equipment judges whether the second user is a social friend of the first user, and if not, sends a friend adding request of the first user to the second user. In some embodiments, before sending the request for adding a friend to the second user equipment, the network equipment may first determine whether the second user is already a social friend of the first user, and send the request for adding a friend of the first user to the second user equipment if the second user is not a social friend of the first user, otherwise, send the request for adding a friend of the first user to the second user equipment. Here, the operation of the related network device determining whether the second user is a social friend of the first user is the same as or similar to that in the embodiment shown in fig. 1, and therefore, the description is omitted here and is included herein by reference.
In some embodiments, the predetermined dispensing conditions include, but are not limited to:
1) the second user's activity parameter is greater than or equal to a predetermined activity parameter threshold
2) The personal information of the second user meets the preset requirement
3) The second user has a predetermined operation on one or more predetermined special types of target messages sent by the first user in the social group in history
4) The history of the second user obtains the behavior times of rejecting the request of adding the social friends of the third user after the third user obtains the resources distributed in the social group, wherein the behavior times are less than or equal to a preset time threshold value
5) The behavior times of the second user for receiving the request of the fourth user for adding the social friends and deleting the social friend relationship with the fourth friends within a certain preset time threshold range after acquiring the resources distributed by the fourth user in the social group is less than or equal to a preset time threshold
6) The second user has an act of accessing personal information and/or social space of the first user
7) The time interval between the time when the second user joins the social group and the current time is greater than or equal to a preset time threshold value
8) The time interval between the time of the second user in the social group for sending the message most recently and the current time is less than or equal to a preset time threshold value
9) Any combination of the above predetermined dispensing conditions
Here, the related predetermined allocation conditions are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described herein again, and are included herein by reference.
In some embodiments, the social expansion request further comprises resource allocation conditions set by the first user; wherein the predetermined allocation condition further comprises: and the second user meets the resource allocation condition set by the first user. In some embodiments, the first user may manually set a resource allocation condition, set the resource allocation condition in the social expansion request, and send the social expansion request to the network device, and the network device determines whether the second user meets a predetermined allocation condition of resource allocation according to whether the second user meets the resource allocation condition. For example, the social expansion request further includes a resource allocation condition "once accessed to the link a sent by the first user in the social group" set by the first user, and whether the second user meets a predetermined allocation condition of resource allocation is determined according to whether the second user meets the resource allocation condition. Here, the case that the related social expansion request further includes the resource allocation condition set by the first user is the same as or similar to the embodiment shown in fig. 1, and therefore, the description is omitted here, and the description is incorporated herein by reference.
In some embodiments, the predetermined special types include, but are not limited to:
1) type of link
2) Boarder application types
3) Picture type
4) Type of audio and video
5) File type
6) Any combination of the above special types
The specific types of the predetermined references are the same as or similar to the embodiment shown in FIG. 1, and thus are not described herein again, and are incorporated by reference.
In some embodiments, the predetermined operations include, but are not limited to:
1) access operations
2) Download operation
3) Operation of collection
4) Forwarding operations
5) Sharing operations
6) Any combination of the above predetermined operations
Here, the related predetermined operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
Fig. 6 shows a first user equipment for adding friends to a user according to an embodiment of the present application, and the first user equipment includes a first module 21 and a second module 22. A second module 21, configured to generate resource allocation information according to a resource allocation setting operation of the first user; a second module 22, configured to send a social expansion request of the first user to a network device, where the social expansion request includes resource allocation information set by the first user, so that the network device issues the resource allocation information in one or more social groups in which the first user participates.
A module 21, configured to generate resource allocation information according to a resource allocation setting operation of the first user. For example, according to the resource allocation setting information input by the first user, which includes information such as the amount of money "100 yuan" of the group red packet, the number of money "10", and the remark "the person who is troublesome to rob for the group red packet requests to add friends through the drop", the corresponding resource allocation information "the total amount of money of the group red packet is 100 yuan, the number of money is 10, and the remark is that the person who is troublesome to rob for the group red packet requests to add friends through the drop" is generated.
A second module 22, configured to send a social expansion request of the first user to a network device, where the social expansion request includes resource allocation information set by the first user, so that the network device issues the resource allocation information in one or more social groups in which the first user participates. For example, the group bonus package distribution information is set in a social expansion request of a first user, the social expansion request is sent to network equipment, and after the network equipment receives the social expansion request, the group bonus package distribution information is obtained from the social expansion request and sent to user equipment corresponding to all group members except the first user in one or more social groups in which the first user participates.
Fig. 7 shows a second user equipment for adding friends to a user according to an embodiment of the present application, which includes a three-to-one module 31, a three-to-two module 32, and a three-to-three module 33. A third module 31, configured to present resource allocation information provided by a network device in a social group in which a second user participates, where the resource allocation information is from a first user participating in the social group, and attributes of the first user and the second user are the same; a third-second module 32, configured to send a resource allocation request to the network device in response to a pickup operation of the second user on the resource allocation information; a third module 33, configured to receive and present a friend adding request of the first user sent by the network device in response to the resource allocation request.
A third module 31, configured to present resource allocation information provided by a network device in a social group in which a second user participates, where the resource allocation information is from a first user participating in the social group, and attributes of the first user and the second user are the same. For example, the group red package allocation information sent by the network device and from the first user is presented in a social group in which the first user and the second user participate together, wherein the first user and the second user are both individual users and have the same attribute.
A third and second module 32, configured to send a resource allocation request to the network device in response to the second user's operation of getting the resource allocation information. For example, the second user clicks the group red packet distribution information presented on the second user device to request to retrieve the group red packet, and sends the group red packet distribution request to the network device through the second user device.
A third module 33, configured to receive and present a friend adding request of the first user sent by the network device in response to the resource allocation request. For example, a friend adding request of the first user based on the group red packet allocation request sent by the network device is received, and the friend adding request is presented on the second user device for the second user to pass the request, or the request is rejected, or no processing is performed on the request.
FIG. 8 illustrates an exemplary system that can be used to implement the various embodiments described in this application.
In some embodiments, as shown in FIG. 8, the system 300 can be implemented as any of the devices in the various embodiments described. In some embodiments, system 300 may include one or more computer-readable media (e.g., system memory or NVM/storage 320) having instructions and one or more processors (e.g., processor(s) 305) coupled with the one or more computer-readable media and configured to execute the instructions to implement modules to perform the actions described herein.
For one embodiment, system control module 310 may include any suitable interface controllers to provide any suitable interface to at least one of processor(s) 305 and/or any suitable device or component in communication with system control module 310.
The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315. Memory controller module 330 may be a hardware module, a software module, and/or a firmware module.
System memory 315 may be used, for example, to load and store data and/or instructions for system 300. For one embodiment, system memory 315 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, the system memory 315 may include a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, system control module 310 may include one or more input/output (I/O) controllers to provide an interface to NVM/storage 320 and communication interface(s) 325.
For example, NVM/storage 320 may be used to store data and/or instructions. NVM/storage 320 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 320 may include storage resources that are physically part of the device on which system 300 is installed or may be accessed by the device and not necessarily part of the device. For example, NVM/storage 320 may be accessible over a network via communication interface(s) 325.
Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and/or with any other suitable device. System 300 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols.
For one embodiment, at least one of the processor(s) 305 may be packaged together with logic for one or more controller(s) (e.g., memory controller module 330) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be packaged together with logic for one or more controller(s) of the system control module 310 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic for one or more controller(s) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic for one or more controller(s) of the system control module 310 to form a system on a chip (SoC).
In various embodiments, system 300 may be, but is not limited to being: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a holding computing device, a tablet, a netbook, etc.). In various embodiments, system 300 may have more or fewer components and/or different architectures. For example, in some embodiments, system 300 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
The present application also provides a computer readable storage medium having stored thereon computer code which, when executed, performs a method as in any one of the preceding.
The present application also provides a computer program product, which when executed by a computer device, performs the method of any of the preceding claims.
The present application further provides a computer device, comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding claim.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Those skilled in the art will appreciate that the form in which the computer program instructions reside on a computer-readable medium includes, but is not limited to, source files, executable files, installation package files, and the like, and that the manner in which the computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Computer-readable media herein can be any available computer-readable storage media or communication media that can be accessed by a computer.
Communication media includes media by which communication signals, including, for example, computer readable instructions, data structures, program modules, or other data, are transmitted from one system to another. Communication media may include conductive transmission media such as cables and wires (e.g., fiber optics, coaxial, etc.) and wireless (non-conductive transmission) media capable of propagating energy waves such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied in a modulated data signal, for example, in a wireless medium such as a carrier wave or similar mechanism such as is embodied as part of spread spectrum techniques. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital or hybrid modulation techniques.
By way of example, and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory such as random access memory (RAM, DRAM, SRAM); and non-volatile memory such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disk, tape, CD, DVD); or other now known media or later developed that can store computer-readable information/data for use by a computer system.
An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (12)

1. A method for adding friends to a user at a network equipment end is provided, wherein the method comprises the following steps:
receiving a social expansion request of a first user, which is sent by first user equipment, wherein the social expansion request comprises resource allocation information set by the first user;
posting the resource allocation information in one or more social groups in which the first user participates;
responding to resource allocation requests of a plurality of second users to the resource allocation information in the social group, and judging whether the second users meet the preset allocation conditions of the resource allocation information;
if the second user meets the preset allocation condition of the resource allocation information, performing resource allocation on the second user, and sending a friend adding request of the first user to the second user, wherein the attributes of the first user and the second user are the same, and the attributes of the users are used for indicating whether the user is a personal user or a merchant, and if the first user and the second user are both personal users, the attributes of the first user and the second user are the same;
the social expansion request further includes target social group indication information set by the first user, and the publishing of the resource allocation information in one or more social groups in which the first user participates includes:
determining at least one target social group from one or more social groups in which the first user participates according to the target social group indication information;
and publishing the resource allocation information in the target social group.
2. The method of claim 1, wherein the determining at least one target social group from one or more social groups in which the first user participates comprises:
determining at least one target social group from one or more social groups in which the first user participates, wherein a number of group members in each of the at least one target social groups that are not social friends of the first user is greater than or equal to a predetermined number threshold.
3. The method of claim 1 or 2, wherein the sending the first user's add buddy request to the second user comprises:
and judging whether the second user is the social friend of the first user or not, and if not, sending a friend adding request of the first user to the second user.
4. The method of claim 1, wherein the predetermined allocation condition comprises at least one of:
the second user's activity parameter is greater than or equal to a predetermined activity parameter threshold;
the personal information of the second user meets the preset requirement;
the second user has a predetermined operation on one or more predetermined special types of target messages which are sent by the first user in the social group;
the history of the second user obtains the behavior times of rejecting the request of adding the social friends of the third user after the third user obtains the resources distributed in the social group, wherein the behavior times are less than or equal to a preset time threshold;
the behavior frequency of the second user for receiving the request of adding the social friends of the fourth user and deleting the relation with the social friends of the fourth user within a certain preset time threshold range after the second user acquires the resources distributed by the fourth user in the social group is less than or equal to a preset frequency threshold;
the second user has an action of accessing personal information and/or a social space of the first user;
the time interval between the time when the second user joins the social group and the current time is greater than or equal to a preset time threshold;
the time interval between the time of the second user in the social group when the message is sent most recently and the current time is less than or equal to a preset time threshold.
5. The method of claim 4, wherein the social expansion request further comprises resource allocation conditions set by the first user;
wherein the predetermined allocation condition further comprises:
and the second user meets the resource allocation condition set by the first user.
6. The method of claim 5, wherein the predetermined special type comprises at least one of:
a type of link;
a hosted application type;
a picture type;
audio-video type;
the file type.
7. The method of claim 4, wherein the predetermined operation comprises at least one of:
accessing operation;
downloading operation;
collecting operation;
forwarding operation;
and (5) sharing operation.
8. A method for adding friends to a user at a first user equipment end comprises the following steps:
generating resource allocation information according to the resource allocation setting operation of the first user;
sending a social expansion request of the first user to a network device, wherein the social expansion request includes resource allocation information and target social group indication information set by the first user, and the resource allocation information further includes corresponding predetermined allocation conditions, so that the network device executes the following steps:
determining at least one target social group from one or more social groups participated by the first user according to the target social group indication information, publishing the resource allocation information in the target social group, and judging whether a plurality of second users corresponding to the received resource allocation requests meet the preset allocation conditions or not, wherein the second users are in the target social group;
and if the second user meets the preset allocation condition of the resource allocation information, allocating resources for the second user, and sending a friend adding request of the first user to the second user, wherein the attributes of the first user and the second user are the same, and the attributes of the users are used for indicating whether the user is a personal user or a merchant, and if the first user and the second user are both personal users, the attributes of the first user and the second user are the same.
9. A method for adding friends to a user at a second user equipment end comprises the following steps:
presenting resource allocation information provided by a network device in a social group participated by a second user, wherein the resource allocation information is from a first user participated in the social group, and the attributes of the first user are the same as those of the second user, the social group participated by the second user is determined by the network device from one or more social groups participated in by the first user according to target social group indication information, the attributes of the users are used for indicating whether the users are individual users or merchants, and if the first user and the second user are individual users, the attributes of the first user are the same as those of the second user;
responding to the second user to obtain the resource allocation information, and sending a resource allocation request to the network equipment so that the network equipment judges whether the second user meets a preset allocation condition of the resource allocation information;
and receiving and presenting a friend adding request of the first user sent by the network equipment in response to the resource allocation request, wherein the second user determines that the second user meets the preset allocation condition of the resource allocation information through the network equipment, and the network equipment allocates resources for the second user.
10. A method of adding friends to a user, wherein the method comprises:
the first user equipment generates resource allocation information according to the resource allocation setting operation of the first user;
the first user equipment sends a social expansion request of the first user to network equipment, wherein the social expansion request comprises resource allocation information and target social group indication information set by the first user;
the network equipment receives a social expansion request of a first user, which is sent by the first user equipment;
the network equipment determines at least one target social group from one or more social groups participated by the first user according to the target social group indication information, and publishes the resource allocation information in the target social group;
the second user equipment presents the resource allocation information provided by the network equipment in the target social group in which the second user participates, wherein the attributes of the first user and the second user are the same, the attributes of the users are used for indicating whether the user is a personal user or a merchant, and if the first user and the second user are both personal users, the attributes of the first user and the second user are the same;
the second user equipment responds to the second user to get the resource allocation information, and sends a resource allocation request to the network equipment;
the network equipment responds to resource allocation requests of a plurality of second users to the resource allocation information in the social group, and judges whether the second users meet the preset allocation conditions of the resource allocation information; if the second user meets the preset allocation condition of the resource allocation information, performing resource allocation on the second user, and sending a friend adding request of the first user to the second user;
and the second user equipment receives and presents a friend adding request of the first user sent by the network equipment in response to the resource allocation request.
11. An apparatus for adding a friend, wherein the apparatus comprises:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the operations of the method of any of claims 1 to 9.
12. A computer-readable medium storing instructions that, when executed by a computer, cause the computer to perform operations of any of the methods of claims 1-9.
CN201910582028.3A 2019-06-30 2019-06-30 Method and device for adding friends Active CN110300053B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910582028.3A CN110300053B (en) 2019-06-30 2019-06-30 Method and device for adding friends
PCT/CN2020/094607 WO2021000696A1 (en) 2019-06-30 2020-06-05 Method and device for adding friend

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910582028.3A CN110300053B (en) 2019-06-30 2019-06-30 Method and device for adding friends

Publications (2)

Publication Number Publication Date
CN110300053A CN110300053A (en) 2019-10-01
CN110300053B true CN110300053B (en) 2021-08-20

Family

ID=68029637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910582028.3A Active CN110300053B (en) 2019-06-30 2019-06-30 Method and device for adding friends

Country Status (2)

Country Link
CN (1) CN110300053B (en)
WO (1) WO2021000696A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110300053B (en) * 2019-06-30 2021-08-20 上海连尚网络科技有限公司 Method and device for adding friends
CN116346762B (en) * 2019-12-28 2024-05-24 腾讯科技(深圳)有限公司 Resource value transfer method, system and related device
CN114827059B (en) * 2021-01-29 2023-06-27 华为技术有限公司 Group member or friend adding method, electronic equipment and system
CN113099025B (en) * 2021-03-01 2023-06-27 上海掌门科技有限公司 Method and device for adding friends in social application
CN113452601B (en) * 2021-06-15 2023-11-24 北京意匠文枢科技有限公司 Method, device, medium and program product for directed social contact
CN117688256A (en) * 2023-12-29 2024-03-12 北京面壁智能科技有限责任公司 User matching method and device based on artificial intelligence and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106934603A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 The implementation method and device of electronics red packet
CN107682250A (en) * 2017-10-18 2018-02-09 上海掌门科技有限公司 A kind of method and apparatus for being used to perform social operation
CN107945035A (en) * 2017-11-17 2018-04-20 天脉聚源(北京)科技有限公司 A kind of friend relation method for building up and device
CN109949023A (en) * 2019-03-20 2019-06-28 上海掌门科技有限公司 One population resource allocation methods and equipment

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120150729A1 (en) * 2010-12-14 2012-06-14 Moneyhoney Llc System and method for processing group gift cards using a temporary, limited scope social networking entity
CN105407035B (en) * 2015-10-26 2019-01-29 深圳市乐唯科技开发有限公司 A kind of method and device for establishing friend relation
CN105653909B (en) * 2016-01-26 2018-09-25 腾讯科技(深圳)有限公司 Information processing method, first terminal, second terminal, server and system
CN113872848B (en) * 2016-04-06 2023-08-08 福州百益百利自动化科技有限公司 Position-based red packet receiving method, system and mobile terminal
CN107465593B (en) * 2016-06-06 2020-10-09 腾讯科技(深圳)有限公司 Electronic resource transfer method and device
CN106097019A (en) * 2016-06-21 2016-11-09 财付通支付科技有限公司 Virtual objects packet transmission method, device and system
CN106203991B (en) * 2016-07-11 2019-11-08 广州酷狗计算机科技有限公司 The method and apparatus for sending virtual resource packet
CN106355454B (en) * 2016-10-31 2019-09-20 腾讯科技(深圳)有限公司 A kind of information recommendation method, server and client
CN107566254A (en) * 2017-09-04 2018-01-09 广州方帝斯控温科技有限公司 A kind of social patterns for restriction of having ready conditions
CN108596650A (en) * 2018-03-26 2018-09-28 首媒科技(北京)有限公司 The data processing method and device launched for advertisement or merchandise news
CN109104356B (en) * 2018-07-04 2021-06-29 奇酷互联网络科技(深圳)有限公司 Red packet robbing management method and system, readable storage medium and intelligent terminal
CN109034757A (en) * 2018-08-10 2018-12-18 上海掌门科技有限公司 Method and apparatus for distributing resource, getting resource, issue resource
CN110300053B (en) * 2019-06-30 2021-08-20 上海连尚网络科技有限公司 Method and device for adding friends

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106934603A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 The implementation method and device of electronics red packet
CN107682250A (en) * 2017-10-18 2018-02-09 上海掌门科技有限公司 A kind of method and apparatus for being used to perform social operation
CN107945035A (en) * 2017-11-17 2018-04-20 天脉聚源(北京)科技有限公司 A kind of friend relation method for building up and device
CN109949023A (en) * 2019-03-20 2019-06-28 上海掌门科技有限公司 One population resource allocation methods and equipment

Also Published As

Publication number Publication date
CN110300053A (en) 2019-10-01
WO2021000696A1 (en) 2021-01-07

Similar Documents

Publication Publication Date Title
CN110300053B (en) Method and device for adding friends
CN110266505B (en) Method and equipment for managing session group
CN110175825B (en) Method and equipment for providing target information
CN110288331B (en) Method and equipment for providing resource allocation information
CN111163130A (en) Network service system and data transmission method thereof
CN111258470B (en) Method and equipment for presenting social messages
CN110535755B (en) Method and equipment for deleting session message
CN110827061A (en) Method and equipment for providing presentation information in novel reading process
CN112822430B (en) Conference group merging method and device
CN111817945B (en) Method and equipment for replying communication information in instant communication application
CN111932230A (en) Method and equipment for modifying red envelope
CN109660940B (en) Method and equipment for generating information
CN115776418A (en) Method and equipment for pushing message in group session
CN113157162B (en) Method, apparatus, medium and program product for revoking session messages
CN114357303A (en) Method and equipment for managing multiple application information
CN111093281B (en) Method and device for allocating resources
CN111314210B (en) Method and equipment for social interaction
CN111934981A (en) Method and equipment for withdrawing red packet
CN112702257A (en) Method and device for deleting friend application
CN110308833B (en) Method and equipment for controlling resource allocation in application
CN112702462B (en) Method and equipment for adding packets
CN114338578B (en) Method, device, medium and program product for sending friend application
CN111414530B (en) Method and equipment for presenting asynchronous comment information through instant messaging window
CN112422410B (en) Method and equipment for sharing information in session window of social application
CN115913804A (en) Method, apparatus, medium and program product for joining chat room

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