WO2022121524A1 - Procédé et dispositif de suppression de relation ami - Google Patents

Procédé et dispositif de suppression de relation ami Download PDF

Info

Publication number
WO2022121524A1
WO2022121524A1 PCT/CN2021/125289 CN2021125289W WO2022121524A1 WO 2022121524 A1 WO2022121524 A1 WO 2022121524A1 CN 2021125289 W CN2021125289 W CN 2021125289W WO 2022121524 A1 WO2022121524 A1 WO 2022121524A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
timer
friend relationship
session
source type
Prior art date
Application number
PCT/CN2021/125289
Other languages
English (en)
Chinese (zh)
Inventor
陈大年
姚莲
文潇
屠小英
朱聪
Original Assignee
上海掌门科技有限公司
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 上海掌门科技有限公司 filed Critical 上海掌门科技有限公司
Publication of WO2022121524A1 publication Critical patent/WO2022121524A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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

Definitions

  • the present application relates to the field of communications, and in particular, to a technology for canceling a friendship.
  • An object of the present application is to provide a method and device for canceling a friend relationship.
  • a method for canceling a friend relationship comprising:
  • the timer Before the timer reaches the timing corresponding to the timer, in response to the session interaction event corresponding to the session between the first user and the second user, the timer is terminated; otherwise, if the When the timer reaches the timing corresponding to the timer, the session is cancelled, and/or the friend relationship is cancelled.
  • a first device for canceling a friend relationship includes:
  • a module configured to start a timer for the friend relationship in response to a friend relationship establishment event between the first user and the second user;
  • Modules 1 and 2 are configured to terminate the timer in response to a session interaction event corresponding to the session between the first user and the second user before the timer reaches the timer duration corresponding to the timer. Otherwise, if the timer reaches the timing corresponding to the timer, the session is cancelled, and/or the friend relationship is cancelled.
  • a device for canceling a friend relationship wherein the device includes:
  • memory arranged to store computer-executable instructions which, when executed, cause the processor to:
  • the timer Before the timer reaches the timing corresponding to the timer, in response to the session interaction event corresponding to the session between the first user and the second user, the timer is terminated; otherwise, if the When the timer reaches the timing corresponding to the timer, the session is cancelled, and/or the friend relationship is cancelled.
  • a computer-readable medium storing instructions that, when executed, cause a system to:
  • the timer Before the timer reaches the timing corresponding to the timer, in response to the session interaction event corresponding to the session between the first user and the second user, the timer is terminated; otherwise, if the When the timer reaches the timing corresponding to the timer, the session is cancelled, and/or the friend relationship is cancelled.
  • the present application can start a timer for the friend relationship in response to a friend relationship establishment event between the first user and the second user, and then reach the timer corresponding to the timer when the timer counts. Before the timer duration, the timer is terminated in response to the session interaction event corresponding to the session between the first user and the second user, otherwise, if the timer reaches the timer duration corresponding to the timer , cancel the presentation of the session, and/or, cancel the friend relationship, so as to be able to automatically hide the session between the two users and/or when no session interaction event occurs after the establishment of the friend relationship between the two users. Or automatically cancel the friend relationship between the two users, which can make the user's social application interface more refreshing, can greatly improve the user's social efficiency and social experience, and can also ensure the safety of communication between users.
  • FIG. 1 shows a flowchart of a method for deleting a friend application according to an embodiment of the present application
  • FIG. 2 shows a structural diagram of a first user equipment for deleting a friend application according to an embodiment of the present application
  • FIG. 3 illustrates an exemplary system that may be used to implement various embodiments described in this application.
  • the terminal, the device serving the network, and the trusted party all include one or more processors (for example, a central processing unit (CPU)), an input/output interface, a network interface, and Memory.
  • processors for example, a central processing unit (CPU)
  • Memory may include non-persistent memory in computer-readable media, random access memory (RAM) and/or non-volatile memory, such as read only memory (ROM) or flash memory ( Flash Memory).
  • RAM random access memory
  • ROM read only memory
  • Flash Memory Flash Memory
  • Memory is an example of a computer-readable medium.
  • Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology.
  • Information may be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, Phase-Change Memory (PCM), Programmable Random Access Memory (PRAM), Static Random-Access Memory (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 Disc (DVD), or other optical storage , magnetic tape cartridges, magnetic tape-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.
  • PCM Phase-Change Memory
  • PRAM Programmable Random Access Memory
  • SRAM Static
  • the equipment referred to in this application includes, but is not limited to, user equipment, network equipment, or equipment formed by integrating user equipment and network equipment through a network.
  • the user equipment includes, but is not limited to, any mobile electronic product that can perform human-computer interaction with the user (for example, human-computer interaction through a touchpad), such as a smart phone, a tablet computer, etc., and the mobile electronic product can use any operation. system, such as Android operating system, iOS operating system, etc.
  • the network device includes an electronic device that can automatically perform numerical calculation and information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (ASICs) ), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Digital Signal Processor (DSP), embedded devices, etc.
  • 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 formed by a plurality of servers; here, the cloud is formed by a large number of computers or network servers based on cloud computing, Among them, cloud computing is a kind of distributed computing, a virtual supercomputer composed of a group of loosely coupled computer sets.
  • the network includes but is 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), and the like.
  • the device may also be a program running on the user equipment, network equipment, or a device formed by user equipment and network equipment, network equipment, touch terminal or network equipment and touch terminal integrated through a network.
  • FIG. 1 shows a flowchart of a method for canceling a friend relationship according to an embodiment of the present application, and the method includes step S11 and step S12.
  • step S11 the first device starts a timer for the friend relationship in response to the event of establishing a friend relationship between the first user and the second user; in step S12, the first device starts the timer for the friend relationship when the timer expires.
  • the timer is terminated in response to a session interaction event corresponding to the session between the first user and the second user; otherwise, if the timer reaches the According to the time duration corresponding to the timer, the session is canceled, and/or the friend relationship is canceled.
  • the first device starts a timer for the friend relationship in response to a friend relationship establishment event between the first user and the second user.
  • the first device may be a network device (server), a first user equipment used by a first user, or a second user equipment used by a second user.
  • the first user or the second user may actively initiate a request to add a friend application of the other party as a friend, and after the other party confirms and passes, a friend relationship establishment event is triggered.
  • the server may automatically initiate a request for adding a friend application for the first user or the second user to be a friend, and after the other party confirms and passes, trigger a friend relationship establishment event.
  • the first user may also actively initiate a request to add a friend application of the second user as a friend, and the second user may also initiate a request to add a friend application of the second user as a friend. Friendship building event.
  • the first user may actively initiate a request to add a friend application of the second user as a friend, and the server may automatically initiate a request for the second user to add a friend application of the first user as a friend, triggering a friend relationship establishment event.
  • the first device is a server
  • a timer for the friend relationship is started in the server
  • the first device is the first user equipment or the second user equipment
  • the second user equipment locally starts a timer for the friend relationship.
  • the timer on the first user equipment may be synchronized with the timer on the second user equipment, or may be independent of each other.
  • the timing of the timer is configured by the server, and the maintenance personnel or users of the server can modify it as needed.
  • the timing of the timer can be configured locally by the first user equipment or locally by the second user equipment, and the first user or the second user can modify it according to their own needs, or the timing of the timer can also be configured and provided by the server.
  • the maintenance personnel or users of the server can make modifications as needed, and provide the updated timing duration to the first user equipment or the second user equipment.
  • step S12 the first device terminates the session interaction event corresponding to the session between the first user and the second user before the timer reaches the timing corresponding to the timer. the timer; otherwise, if the timer reaches the timing corresponding to the timer, the session is cancelled, and/or the friend relationship is cancelled. In some embodiments, if a session interaction event occurs in the session between the first user and the second user before the timer counts up to a predetermined duration, the timer is terminated and deleted.
  • session interaction events include, but are not limited to, any party in the session sending a session message, initiating a voice or video call, sending location information, initiating a shared real-time location, sending a red envelope, initiating a Transfers, sent documents, business cards, cards and coupons and other interactive information.
  • the timer expires, the timer is deleted, and the session between the first user and the second user is cancelled or the first user or the second user is cancelled on the session list page or the history session page. Friendship between them, or, it can also be to cancel the presentation session and unfriend the relationship.
  • the presentation session can be cancelled directly.
  • a friend unfriend request needs to be sent to the server, and the server will cancel the friend relationship. If the first device For the server, it is enough to directly cancel the friend relationship.
  • the first user can be searched for the first user on the contact page or the address book page. Or the second user to open the session between the first user and the second user, and enter the corresponding session page.
  • the present application can automatically hide the session between the two users and/or cancel the friend relationship between the two users when no session interaction event occurs after the establishment of a friend relationship between the two users, so that the user's
  • the interface of social applications is more refreshing, which can greatly improve the social efficiency and social experience of users, and can also ensure the safety of communication between users.
  • the timing duration includes a first timing duration and a second timing duration, and the first timing duration is smaller than the second timing duration; wherein, the step S12 includes: the first device is at the timing Before the timer reaches the first timing duration, in response to the session interaction event corresponding to the session between the first user and the second user, the timer is terminated; otherwise, if the timer reaches the predetermined duration the first timing duration, cancel the presentation of the session and continue timing; before the timer reaches the second timing duration, in response to the session corresponding to the session between the first user and the second user If the interaction event occurs, the timer is terminated; otherwise, if the timer reaches the second time period, the friend relationship is cancelled.
  • the timing duration includes a first timing duration and a second timing duration, the first timing duration is less than the second timing duration, and before the timer reaches the first timing duration, if there is a gap between the first user and the second user If a session interaction event occurs in the session, the timer is terminated and deleted; otherwise, when the timer reaches the first time duration, the session list page or the history session page will cancel the presentation of the interaction between the first user and the second user.
  • the step S11 includes step S111 (not shown).
  • step S111 in response to a friend relationship establishment event between the first user and the second user, the first device detects whether the channel source type corresponding to the friend relationship establishment event is a predetermined channel source type, and if so, initiates a response to the friend relationship establishment event. Friendship timer. In some embodiments, it is necessary to detect whether the channel source type corresponding to the friend relationship establishment event is a predetermined channel source type. If so, the timer for the friend relationship between the first user and the second user will be started; Start the timer. In some embodiments, the channel source type corresponding to the friend relationship establishment event is used to represent the channel source through which the first user and the second user established the friend relationship.
  • the channel source includes but is not limited to the stranger channel source and the acquaintance channel source
  • the stranger channel means that the two parties did not know each other when they established the friendship
  • the acquaintance channel means that the two parties already knew each other when they established the friendship.
  • the first user is the second user seen in the "Nearby People" channel. , and then send a friend request to the second user, where the "Nearby People" channel is the stranger channel.
  • the first user is the second user seen in the mobile phone address book channel, and then sends a message to the second user.
  • the mobile phone address book channel here is the acquaintance channel. Since the friend relationship established through the acquaintance channel usually has reserved value and significance, the corresponding timer will not be started for the friend relationship established through the acquaintance channel. , will only start the corresponding timer for the friendship established through the stranger channel.
  • the predetermined channel source types include, but are not limited to:
  • the server automatically initiates a friend application for the first user or the second user to request to add the second user or the first user as a friend.
  • a friend relationship is established between the first user and the second user.
  • the server automatically determines one or more users recommended to the second user, and the one or more users include the first user, and then automatically initiates a friend application for the second user to request to add the one or more users as friends.
  • the first user sees the second user through the "Nearby People" channel, and then sends a friend request to the second user. Build friendships.
  • the first user views through any stranger adding channel other than the "people nearby” channel (eg, "hot chat” channel, "message tree” channel, “see eye to eye” channel, etc.) to the second user, and then a friend request is sent to the second user, and after the second user's confirmation is passed, a friend relationship is established between the first user and the second user.
  • any stranger adding channel other than the "people nearby” channel eg, "hot chat” channel, "message tree” channel, “see eye to eye” channel, etc.
  • the channel source type corresponding to the friend relationship establishment event includes a request by the first user to add a first channel source type used by the second user as a friend and a request by the second user to add the channel source type.
  • the source type of the second channel used by the first user as a friend, the source type of the first channel is different from the source type of the second channel; wherein, if the first device is the first user used by the first user device, the step S111 includes: the first device, in response to a friend relationship establishment event between the first user and the second user, detects whether the first channel source type is a predetermined channel source type, and if so, starts the first timer for the friend relationship corresponding to the first user; if the first device is the second user device used by the second user, the step S111 includes: the first device responds to the A friend relationship establishment event between the first user and the second user, to detect whether the source type of the second channel is a predetermined channel source type, and if so, start the timer corresponding to the second user for
  • the first channel source type used by the first user's request to add the second user as a friend is different from the second channel source type used by the second user's request to add the first user as a friend
  • the first device is the first user device or the second user device
  • a timer corresponding to the user for the friend relationship between the first user and the second user is started on the device or on the device of the second user. For example, the first user is the second user seen in the "Nearby People" channel, and then sends a friend request to the second user.
  • the "Nearby People" channel is the stranger channel, and the second user is in the mobile phone address book.
  • the first user the channel sees, and then sends a friend request to the first user.
  • the mobile phone address book channel is an acquaintance channel.
  • the channel source type corresponding to the first user is not the same as the channel source type corresponding to the second user.
  • the second user is the friend he added through the stranger channel, while for the second user In other words, the first user is his friend added through the acquaintance channel.
  • the first device is a server
  • the timer of the friendship between the first user and the second user if neither of them is satisfied, the timer will not be started, and no subsequent operations will be performed. If only one of the two is satisfied, the timer may not be started. It does not perform any subsequent operations, or only starts the timer for the friend relationship corresponding to the user associated with one of the two, but does not start the timer for the friend corresponding to the user associated with the other of the two.
  • the timer that starts the relationship will only trigger the cancellation of the session between the first user and the second user when the timer reaches its corresponding timing duration, but will not trigger the cancellation of the session between the first user and the second user. friend relationship.
  • starting a first timer for the friend relationship corresponding to the first user includes: if yes, sending a timer start request to a network device, and receiving a request from the network device for the friend relationship.
  • the instruction information of the timer start request feedback if the instruction information indicates that the timer is allowed to be started, the first timer corresponding to the first user for the friend relationship is started, wherein the network device detects the second channel by detecting the second channel.
  • the source type is a predetermined channel source type determines the command information, if the second channel source type is a predetermined channel source type, the command information indicates to start the first timer, otherwise, the command information indicates not to The first timer is started.
  • the first device is the first user equipment. If the first channel source type corresponding to the first user meets the predetermined channel source type, the first user equipment will ask the server whether to enable the first user equipment on the first user equipment. For the timer corresponding to the user, the server will detect whether the second channel source type corresponding to the second user also satisfies the predetermined channel source type. If so, the server will instruct the first user equipment to start the first timer; otherwise, the server will instruct the A user equipment does not start the first timer.
  • starting a second timer for the friend relationship corresponding to the second user includes: if yes, sending a timer start request to a network device, and receiving a request from the network device for the friend relationship.
  • the instruction information of the timer start request feedback if the instruction information indicates that the timer is allowed to start, start the second timer corresponding to the second user for the friend relationship, wherein the network device detects the first channel by detecting the first channel.
  • the source type is a predetermined channel source type determines the command information, if the first channel source type is a predetermined channel source type, the command information indicates to start the second timer, otherwise, the command information indicates not to The second timer is started.
  • the first device is a second user equipment. If the second channel source type corresponding to the second user satisfies the predetermined channel source type, the second user equipment will ask the server whether to enable the second user equipment on the second user equipment. For the timer corresponding to the user, the server will detect whether the first channel source type corresponding to the first user also meets the predetermined channel source type. If so, the server will instruct the second user equipment to start the second timer; otherwise, the server will instruct the The second user equipment does not start the second timer.
  • the step S111 includes: in response to a friend relationship establishment event between the first user and the second user, the first device detects whether the friend application source type corresponding to the friend relationship establishment event is a predetermined friend application Source type, if yes, according to the friend relationship configuration information corresponding to the friend relationship to determine whether the expiration automatic processing function is currently enabled, if so, start the timer for the friend relationship.
  • the friend relationship configuration information may be maintained locally on the first user equipment or locally on the second user equipment, and the first user or the second user may change the status currently indicated by the friend relationship configuration information according to their own needs.
  • the friend relationship configuration information may be maintained in the server, and maintenance personnel or users of the server may change the status indicated by the friend relationship configuration information as required.
  • the first user equipment or the second user equipment may maintain a common friend relationship configuration information for multiple friend relationships between the first user or the second user and their different friends, or may maintain a common friend relationship configuration information for each friend relationship Maintain a friend relationship configuration information separately.
  • the server may maintain a common friend relationship configuration information for the first user and the second user, or may maintain a separate friend relationship configuration information for each user, where the friend relationship configuration information is applicable to the first user or the second user. Multiple friend relationships between the second user and his different friends.
  • the friend relationship configuration information includes the timing duration.
  • the first user equipment or the second user equipment maintains the friend relationship configuration information
  • the first user or the second user can change the timing in the friend relationship configuration information according to their own needs.
  • the maintenance personnel or users of the server can change the timing duration in the friend relationship configuration information as required.
  • the method further includes: the first device determines the friend relationship configuration information based on at least one of the following: the channel source type; the number of mutual friends of the first user and the second user; The historical session interaction frequency information of the first user and the historical session interaction frequency information of the second user.
  • the friend relationship configuration information suitable for the friend relationship may be determined according to the channel source type corresponding to the friend relationship establishment event.
  • the friend relationship configuration information suitable for the friend relationship can also be determined according to the number of common friends of the first user and the second user. the longer.
  • the friend relationship configuration information suitable for the friend relationship may also be determined according to the historical session interaction frequency information between the first user and other users and the historical session interaction frequency information between the second user and other users, wherein the frequency Information includes, but is not limited to, frequency information (for example, how many time intervals the first user or the second user performs session interactions on average) and frequency information (for example, how many session interactions the first user or the second user performs on average per day) operation), for example, if the interaction frequency of the historical session of the first user is high, the timing duration in the friend relationship configuration information corresponding to the first user is shorter, and the interaction frequency of the historical session of the second user is low, then the corresponding The timing duration in the friend relationship configuration information is longer.
  • the frequency Information includes, but is not limited to, frequency information (for example, how many time intervals the first user or the second user performs session interactions on average) and frequency information (for example, how many session interactions the first user or the second user performs on average per day) operation), for example, if the interaction frequency of the historical session
  • the method further includes: the first device, in response to a first switching event in which the state indicated by the friend relationship configuration information is switched from turning on the automatic expiration processing function on to turning off the automatic expiration processing function, terminating the timing device.
  • the first switching event may be that the first user or the second user switches the state indicated by the friend relationship configuration from enabling the automatic expired processing function to Disabling the automatic expired processing function, or, if the first device is a server, the first switching event may also be a server maintainer or user switching the status indicated by the friend relationship configuration from enabling the automatic expiration processing function to turning off the automatic expiration processing function.
  • the method further includes: in response to the state indicated by the friend relationship configuration information, the first device switches from disabling the automatic expired processing function to the second switching event of enabling the automatic expired processing function, if the session If no historical session interaction event has been generated and the timer has not expired, the timer is restarted.
  • the second switching event may be that the first user or the second user switches the state indicated by the friend relationship configuration from turning off the automatic expired processing function to Turn on the automatic expiration processing function, or, if the first device is a server, the second switching event can also be the server maintainer or user switching the status indicated by the friend relationship configuration from disabling the automatic expiration processing function to turning on the automatic expiration processing function.
  • restarting the timer may be restarting the timer according to the start time as the current time, or may be resetting the timer and restarting the timer according to the start time being 0.
  • the restarting the timer includes but is not limited to: restarting the timer, wherein the start time of the timer is the current time; resetting and restarting the timer .
  • the start time of the timer may be set to the current time, and the timer may be restarted from the current time.
  • the timer can be reset, the start time of the timer is reset to 0, and the timer is restarted from 0.
  • the method further includes: the first device, in response to the timing duration change event corresponding to the friend relationship configuration information, calculates whether the absolute value of the time interval between the start time corresponding to the timer and the current time is less than or equal to the modified timing duration, if so, cancel the presentation of the session, and/or cancel the friend relationship, otherwise, continue to count the timer according to the modified timing duration.
  • the timing duration change event may be that the first user or the second user changes the timing duration in the friend relationship configuration information, or, it may also be a server maintainer or user changing the timing duration in the friend relationship configuration information .
  • the timing duration of the timer is set to the changed timing duration, and the timer continues to count.
  • the method further includes: in response to a timing duration change event corresponding to the friend relationship configuration information, the first device resets the timer and restarts the timer according to the changed timing duration.
  • the timer is reset, the start time of the timer is reset to 0, the timing duration of the timer is set to the changed timing duration, and then the timer is restarted from 0.
  • the first device is a first user device used by a first user or a second user device used by a second user; wherein the method further includes: the first device responds to an upgrade from a historical version To the upgrade completion event of the current version, if the session between the first user and the second user has not generated any historical session interaction events, detect the friend relationship between the first user and the second user Whether the absolute value of the time interval between the corresponding friend relationship establishment time and the current time is greater than or equal to the timing duration, and if so, cancel the presentation of the session, and/or cancel the friend relationship.
  • the historical version does not include the automatic expired processing function
  • the current version includes the automatic expired processing function Function.
  • the session interaction record can also be obtained by requesting the server to obtain the historical session interaction record of the first user or the second user, and then according to the historical session interaction record, it can be determined whether the session between the first user and the second user has generated a historical session interaction event.
  • the friend relationship establishment time corresponding to the friend relationship between the first user and the second user needs to be obtained, which may be obtained directly from the local device of the first user or the local device of the second user, or may be obtained by requesting the server.
  • the method further includes: if the absolute value of the time interval between the friend relationship establishment time corresponding to the session and the current time is smaller than the timing duration, the first device starts a timer for the friend relationship, wherein , and the start time of the timer is the current time.
  • the start time of the timer for the friend relationship may be set as the current time, and the timing duration of the timer is still the timing duration in the friend relationship configuration information, and then the timer is started.
  • the timing duration of the timer can also be set as the difference between the timing duration in the friend relationship configuration information and the current time, the start time of the timer is 0, and then the timer is started.
  • the method further includes: during the timing of the timer, the first device presents the session in a first presentation manner, wherein the first presentation manner is different from other unstarted timers
  • the second presentation mode corresponding to the session of the user interface in response to the timing termination event of the timer, the session is updated and presented through the second presentation mode.
  • the conversation is presented on the conversation list page or the historical conversation page by a first presentation manner, wherein the first presentation manner is different from the presentation of other presentations on the conversation list page or the historical conversation page.
  • the second presentation mode used by sessions that do not start a timer.
  • the first presentation manner may be to highlight the session, or, it may also be to present a specific text or a specific icon, animation, etc. in the display area of the session.
  • the presentation mode of the session in the session list page or the history session page is adjusted from the first presentation mode to the second presentation mode.
  • the first presentation manner includes presenting first countdown information determined according to the current time and the timing duration in the display area of the session, wherein the first countdown information is updated in real time based on the current time .
  • the timing duration is a time point type (for example, at 24:00 on January 30)
  • the first countdown information can be determined according to the current time and the timing duration, and the first countdown information is used to represent the distance between the current time and the timing. How much time is left until the timer expires.
  • the timing duration is a time period type (for example, 24 hours)
  • it needs to be based on the start time of the timer that is, the friend relationship establishment time corresponding to the friend relationship
  • the current time and the timing duration.
  • the first countdown information is determined.
  • the first countdown information may only include text information, or may include both text information and icons, animations, and the like.
  • the method further includes: during the timing of the timer, the first device, in response to an event that the first user or the second user enters a session page corresponding to the session, at The session page presents second countdown information determined according to the current time and the timing duration, wherein the second countdown information is updated in real time based on the current time; in response to a timing termination event of the timer, in the session The second countdown information is canceled from being displayed on the page.
  • the timing of the timer if the first user or the second user enters the session page corresponding to the session, second countdown information will be presented in the session page.
  • the second The countdown information is similar to the first countdown information, and details are not repeated here.
  • the second countdown information is de-presented in the session page.
  • the releasing the friend relationship includes: releasing the friendship relationship, and presenting information about releasing the friendship relationship to the first user and/or the second user.
  • the release indication information may include identification information of the first user or identification information of the second user.
  • the release instruction information is used to remind the first user or the second user that the system has automatically released the friend relationship with the other party.
  • the first device is the first user equipment or the second user equipment, it suffices to directly present the release instruction information. If the first device is the server, the server needs to send the release instruction information to the first user equipment or the second user equipment. Two user equipment to display.
  • the releasing the friend relationship, and presenting the information about releasing the friendship relationship to the first user and/or the second user includes: releasing the friendship relationship, and presenting the information about the disconnection of the friendship relationship to the first user and/or the second user.
  • the first user and/or the second user presents information about the cancellation of the friend relationship, and detects whether the first user and the second user are currently presenting the session page corresponding to the session, and if so, automatically exits the session page.
  • when unfriending if the first user equipment or the second user equipment is currently presenting a session page corresponding to the session, the first user equipment or the second user equipment will automatically exit the session.
  • the first device if the first device is the first user device or the second user device, it is sufficient to directly detect whether the session page corresponding to the session is currently displayed. If the first device is the server, the server will send the release instruction information to The first user equipment or the second user equipment performs presentation, and after receiving the release instruction information, the first user equipment or the second user equipment will detect whether the session page corresponding to the session is currently presented.
  • the method further includes: during the timing of the timer, In response to the opening operation of the session page corresponding to the session performed by the first user or the second user, at least one of the following operations is performed: reset and restart the timer; The timing duration of , where the timing duration after the modification is greater than the timing duration before the modification.
  • the timer will be reset, and the start time of the timer will be set to 0, and then restart the timer from 0, and the timing of the timer remains unchanged.
  • the timing duration of the timer is changed, and the timing duration after the modification is greater than the timing duration before the modification.
  • the modified timing duration is positively correlated with the number of times the first user or the second user opens the session page corresponding to the session during the timing of the timer. bigger.
  • there is a predetermined threshold for the modification of the timing duration If the modified timing duration exceeds the predetermined threshold, the modified timing duration is set to the predetermined threshold, and then the timing duration is not changed.
  • the timing duration is changed each time according to a predetermined increase range, which may be each time the timing duration is changed according to the same increase range, or the timing duration may be changed each time according to a different increase range. the smaller the magnitude.
  • the first device is a server
  • the first user device or the second user device needs to send the opening event of the session page corresponding to the session by the first user or the second user to the server.
  • the canceling the presentation of the session, and/or canceling the friend relationship includes: canceling the presentation of the session, and/or canceling the friend relationship, and recording the expiration date corresponding to the friend relationship Automatic processing information, wherein the expired automatic processing information includes the establishment time of the friend relationship, the automatic processing event type corresponding to the friend relationship, the processing time corresponding to the automatic processing event, and the identification information of the first user. , at least one of the identification information of the second user, the identification information of the session, and the timing duration corresponding to the timer.
  • record the expired automatic processing information corresponding to the friend relationship and the expired automatic processing information includes but is not limited to the friend relationship.
  • the first device is the first user device or the second user device
  • the recorded expired automatic processing information corresponding to the friend relationship may be uploaded to the server after the management is completed.
  • the method further includes: automatically processing in response to expiration
  • the information upload initiates an event, and uploads one or more expired automatic processing information corresponding to one or more friend relationships currently recorded by the first device to the network device.
  • an upload operation regarding expired automatic processing information may be initiated each time the social application is started, or an upload operation may be initiated at the current distance from the previous upload operation.
  • a predetermined duration threshold eg, 1 day
  • an upload operation on expired automatic processing information is initiated, for example, an upload operation on expired automatic processing information is initiated every other day.
  • one or more of the currently recorded first user or second user corresponding to one or more friend relationships of one or more historical friends of the first user or second user are updated.
  • the expired automatic processing information is uploaded to the server.
  • FIG. 2 shows a structural diagram of a first device for canceling a friend relationship according to an embodiment of the present application.
  • the device includes a first module 11 and a second module 12 .
  • the first device may be a network device (server), a first user equipment used by a first user, or a second user equipment used by a second user.
  • the first user or the second user may actively initiate a request to add a friend application of the other party as a friend, and after the other party confirms and passes, a friend relationship establishment event is triggered.
  • the server may automatically initiate a request for the first user or the second user to add a friend application in which the other party is a friend, and after the other party confirms and passes, a friend relationship establishment event is triggered.
  • the first user may also actively initiate a request to add a friend application of the second user as a friend, and the second user may also initiate a request to add a friend application of the second user as a friend. Friendship building event.
  • the first user may actively initiate a request to add a friend application of the second user as a friend, and the server may automatically initiate a request for the second user to add a friend application of the first user as a friend, triggering a friend relationship establishment event.
  • the first device is a server
  • a timer for the friend relationship is started in the server
  • the first device is the first user equipment or the second user equipment
  • the second user equipment locally starts a timer for the friend relationship.
  • the timer on the first user equipment may be synchronized with the timer on the second user equipment, or may be independent of each other.
  • the timing of the timer is configured by the server, and the maintenance personnel or users of the server can modify it as needed.
  • the timing of the timer can be configured locally by the first user equipment or locally by the second user equipment, and the first user or the second user can modify it according to their own needs, or the timing of the timer can also be configured and provided by the server.
  • the maintenance personnel or users of the server can make modifications as needed, and provide the updated timing duration to the first user equipment or the second user equipment.
  • the first and second modules 12 are configured to, in response to a session interaction event corresponding to a session between the first user and the second user, terminate the a timer; otherwise, if the timer reaches the timing corresponding to the timer, the session is cancelled, and/or the friend relationship is cancelled. In some embodiments, if a session interaction event occurs in the session between the first user and the second user before the timer counts up to a predetermined duration, the timer is terminated and deleted.
  • session interaction events include, but are not limited to, any party in the session sending a session message, initiating a voice or video call, sending location information, initiating a shared real-time location, sending a red envelope, initiating a Transfers, sent documents, business cards, cards and coupons and other interactive information.
  • the timer expires, the timer is deleted, and the session between the first user and the second user is cancelled or the first user or the second user is cancelled on the session list page or the history session page. Friendship between them, or, it can also be to cancel the presentation session and unfriend the relationship.
  • the presentation session can be cancelled directly.
  • a friend unfriend request needs to be sent to the server, and the server will cancel the friend relationship. If the first device For the server, it is enough to directly cancel the friend relationship.
  • the first user can be searched for the first user on the contact page or the address book page. Or the second user to open the session between the first user and the second user, and enter the corresponding session page.
  • the present application can automatically hide the session between the two users and/or cancel the friend relationship between the two users when no session interaction event occurs after the establishment of a friend relationship between the two users, so that the user's
  • the interface of social applications is more refreshing, which can greatly improve the social efficiency and social experience of users, and can also ensure the safety of communication between users.
  • the timing duration includes a first timing duration and a second timing duration, and the first timing duration is smaller than the second timing duration; wherein the first and second modules 12 are configured to: at the timing Before the timer reaches the first timing duration, in response to the session interaction event corresponding to the session between the first user and the second user, the timer is terminated; otherwise, if the timer reaches the predetermined duration the first timing duration, cancel the presentation of the session and continue timing; before the timer reaches the second timing duration, in response to the session corresponding to the session between the first user and the second user If the interaction event occurs, the timer is terminated; otherwise, if the timer reaches the second time period, the friend relationship is cancelled.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • the one-to-one module 11 includes a one-to-one module 111 (not shown).
  • a module 111 is configured to, in response to a friend relationship establishment event between the first user and the second user, detect whether the channel source type corresponding to the friend relationship establishment event is a predetermined channel source type; Friendship timer.
  • the specific implementation of the one-to-one module 111 is the same as or similar to the embodiment related to step S111 in FIG. 1 , so it is not repeated here, and is incorporated herein by reference.
  • the predetermined channel source types include, but are not limited to:
  • the source type of the relevant predetermined channel is the same as or similar to the embodiment shown in FIG. 1 , so it is not repeated here, and is incorporated herein by reference.
  • the channel source type corresponding to the friend relationship establishment event includes a request by the first user to add a first channel source type used by the second user as a friend and a request by the second user to add the channel source type.
  • the source type of the second channel used by the first user as a friend, the source type of the first channel is different from the source type of the second channel; wherein, if the first device is the first user used by the first user device, the one-to-one module 111 is configured to: in response to a friend relationship establishment event between the first user and the second user, detect whether the first channel source type is a predetermined channel source type, and if so, Start the first timer for the friend relationship corresponding to the first user; if the first device is the second user device used by the second user, the one-to-one module 111 is used for: the first In response to a friend relationship establishment event between the first user and the second user, the device detects whether the source type of the second channel is a predetermined channel source type, and if so, activate
  • a timer for a friend relationship if the first device is a network device, the one-to-one module 111 is configured to: in response to a friend relationship establishment event between the first user and the second user, detect the Whether the first channel source type and the second channel source type are predetermined channel source types, if both are predetermined channel source types, start a timer for the friend relationship; if only one of the two is predetermined Channel source type, only start the timer for the friend relationship corresponding to the user associated with one of them, so as to only cancel the presentation of the session when the timer reaches its corresponding timing, or, do not perform any operate.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • starting a first timer for the friend relationship corresponding to the first user includes: if yes, sending a timer start request to a network device, and receiving a request from the network device for the friend relationship.
  • the instruction information of the timer start request feedback if the instruction information indicates that the timer is allowed to be started, the first timer corresponding to the first user for the friend relationship is started, wherein the network device detects the second channel by detecting the second channel.
  • the source type is a predetermined channel source type determines the command information, if the second channel source type is a predetermined channel source type, the command information indicates to start the first timer, otherwise, the command information indicates not to The first timer is started.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • starting a second timer for the friend relationship corresponding to the second user includes: if yes, sending a timer start request to a network device, and receiving a request from the network device for the friend relationship.
  • the instruction information of the timer start request feedback if the instruction information indicates that the timer is allowed to start, start the second timer corresponding to the second user for the friend relationship, wherein the network device detects the first channel by detecting the first channel.
  • the source type is a predetermined channel source type determines the command information, if the first channel source type is a predetermined channel source type, the command information indicates to start the second timer, otherwise, the command information indicates not to The second timer is started.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • the one-to-one module 111 is configured to: in response to a friend relationship establishment event between the first user and the second user, detect whether the friend application source type corresponding to the friend relationship establishment event is a predetermined friend Application source type, if yes, determine whether the automatic expiration processing function is currently enabled according to the friend relationship configuration information corresponding to the friend relationship, and if so, start a timer for the friend relationship.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • the friend relationship configuration information includes the timing duration.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • the device is further configured to: determine the friend relationship configuration information based on at least one of the following: the channel source type; the number of mutual friends of the first user and the second user; the The historical session interaction frequency information of the first user and the historical session interaction frequency information of the second user.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • the device is further configured to terminate the timer in response to a first switching event in which the state indicated by the buddy relationship configuration information is switched from turning on the automatic expired processing function on to turning off the automatic expired processing function.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • the device is further configured to: in response to the state indicated by the friend relationship configuration information, a second switching event for switching from disabling the automatic expired processing function to enabling the automatic expired processing function, if the session does not occur After any historical session interaction event, and the timer has not expired, restart the timer.
  • a second switching event for switching from disabling the automatic expired processing function to enabling the automatic expired processing function, if the session does not occur After any historical session interaction event, and the timer has not expired, restart the timer.
  • the restarting the timer includes but is not limited to: restarting the timer, wherein the start time of the timer is the current time; resetting and restarting the timer .
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • the device is further configured to: in response to the timing duration change event corresponding to the friend relationship configuration information, calculate whether the absolute value of the time interval between the start time corresponding to the timer and the current time is less than or equal to For the changed timing duration, if yes, cancel the presentation of the session, and/or cancel the friend relationship, otherwise, continue to count the timer according to the changed timing duration.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • the device is further configured to: in response to a timing duration change event corresponding to the friend relationship configuration information, reset the timer and restart the timer according to the changed timing duration.
  • a timing duration change event corresponding to the friend relationship configuration information
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • the first device is a first user device used by a first user or a second user device used by a second user; wherein the device is further configured to: in response to upgrading from a historical version to a current version The version upgrade completion event, if the session between the first user and the second user has not generated any historical session interaction events, detect the friend relationship between the first user and the second user. Whether the absolute value of the time interval between the friend relationship establishment time and the current time is greater than or equal to the timing duration, and if so, cancel the presentation of the session, and/or cancel the friend relationship.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • the device is further configured to: if the absolute value of the time interval between the friend relationship establishment time corresponding to the session and the current time is less than the timing duration, start a timer for the friend relationship, wherein the The start time of the timer is the current time.
  • start a timer for the friend relationship wherein the The start time of the timer is the current time.
  • the device is further configured to: in the timing process of the timer, present the session by using a first presentation mode, wherein the first presentation mode is different from other sessions without a timer started A corresponding second presentation manner; in response to a time-out event of the timer, updating and presenting the session through the second presentation manner.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not described again, but are incorporated herein by reference.
  • the first presentation manner includes presenting first countdown information determined according to the current time and the timing duration in the display area of the session, wherein the first countdown information is updated in real time based on the current time .
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • the device is further configured to: in the timing process of the timer, in response to an event that the first user or the second user enters a session page corresponding to the session, at the The session page presents second countdown information determined according to the current time and the timing duration, wherein the second countdown information is updated in real time based on the current time; in response to a timing termination event of the timer, in the session page Canceling presentation of the second countdown information.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • the releasing the friend relationship includes: releasing the friendship relationship, and presenting information about releasing the friendship relationship to the first user and/or the second user.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • the releasing the friend relationship, and presenting the information about releasing the friendship relationship to the first user and/or the second user includes: releasing the friendship relationship, and presenting the information about the disconnection of the friendship relationship to the first user and/or the second user.
  • the first user and/or the second user presents information about the cancellation of the friend relationship, and detects whether the first user and the second user are currently presenting the session page corresponding to the session, and if so, automatically exits the session page.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not described again, but are incorporated herein by reference.
  • the device is further configured to: in the timing process of the timer , in response to the opening operation performed by the first user or the second user on the session page corresponding to the session, perform at least one of the following operations: reset and restart the timer; change the timer The corresponding timing duration, wherein the timing duration after modification is greater than the timing duration before modification.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • the canceling the presentation of the session, and/or canceling the friend relationship includes: canceling the presentation of the session, and/or canceling the friend relationship, and recording the expiration date corresponding to the friend relationship Automatic processing information, wherein the expired automatic processing information includes the establishment time of the friend relationship, the automatic processing event type corresponding to the friend relationship, the processing time corresponding to the automatic processing event, and the identification information of the first user. , at least one of the identification information of the second user, the identification information of the session, and the timing duration corresponding to the timer.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • the first device is the first user device used by the first user or the second user device used by the second user; wherein the device is further configured to: automatically respond to expiration Processing an information upload initiation event, and uploading one or more expired automatic processing information corresponding to one or more friend relationships currently recorded by the first device to the network device.
  • the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.
  • FIG. 3 illustrates an exemplary system that may be used to implement various embodiments described in this application.
  • system 300 can function as any of the devices in each of the described embodiments.
  • system 300 may include one or more computer-readable media (eg, system memory or NVM/storage device 320 ) having instructions and be coupled to the one or more computer-readable media and configured to execute Instructions to implement a module to perform one or more processors (eg, processor(s) 305 ) to perform the actions described herein.
  • processors eg, processor(s) 305
  • system control module 310 may include any suitable interface controller to provide at least one of the processor(s) 305 and/or any suitable device or component in communication with the system control module 310 any appropriate interface.
  • the system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315 .
  • the 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 .
  • system memory 315 may include any suitable volatile memory, eg, suitable DRAM.
  • system memory 315 may include double data rate type quad synchronous dynamic random access memory (DDR4 SDRAM).
  • system control module 310 may include one or more input/output (I/O) controllers to provide interfaces to NVM/storage device 320 and communication interface(s) 325 .
  • I/O input/output
  • NVM/storage device 320 may be used to store data and/or instructions.
  • NVM/storage device 320 may include any suitable non-volatile memory (eg, flash memory) and/or may include any suitable non-volatile storage device(s) (eg, one or more hard drives ( HDD), one or more compact disc (CD) drives and/or one or more digital versatile disc (DVD) drives).
  • HDD hard drives
  • CD compact disc
  • DVD digital versatile disc
  • NVM/storage device 320 may include storage resources that are physically part of the device on which system 300 is installed, or it may be accessed by the device without necessarily being part of the device.
  • the NVM/storage device 320 is accessible via the communication interface(s) 325 over a network.
  • 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 in accordance with any of one or more wireless network standards and/or protocols.
  • At least one of the processor(s) 305 may be packaged with the logic of one or more controllers of the system control module 310 (eg, memory controller module 330). For one embodiment, at least one of the processor(s) 305 may be packaged with logic of one or more controllers 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 the logic of one or more controllers 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 of one or more controllers of the system control module 310 to form a system on a chip (SoC).
  • SoC system on a chip
  • system 300 may be, but is not limited to, a server, workstation, desktop computing device, or mobile computing device (eg, laptop computing device, handheld computing device, tablet computer, 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, keyboards, liquid crystal display (LCD) screens (including touchscreen displays), non-volatile memory ports, multiple antennas, graphics chips, application specific integrated circuits ( ASIC) and speakers.
  • LCD liquid crystal display
  • ASIC application specific integrated circuits
  • the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores computer code, and when the computer code is executed, the method described in any preceding item is executed.
  • the present application also provides a computer program product, when the computer program product is executed by a computer device, the method according to any one of the preceding items is executed.
  • the present application also provides a computer device, the computer device comprising:
  • processors one or more processors
  • 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 item.
  • the present application may be implemented in software and/or a combination of software and hardware, eg, an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device.
  • the software program of the present application may be executed by a processor to implement the steps or functions described above.
  • the software programs of the present application (including associated data structures) may be stored on a computer-readable recording medium, such as RAM memory, magnetic or optical drives or floppy disks, and the like.
  • some steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.
  • a part of the present application can be applied as a computer program product, such as computer program instructions, which when executed by a computer, through the operation of the computer, can invoke or provide methods and/or technical solutions according to the present application.
  • Those skilled in the art should understand that the existing forms of computer program instructions in computer-readable media include but are not limited to source files, executable files, installation package files, etc.
  • the ways in which computer program instructions are executed by a computer include but are not limited to 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 post-installation program. program.
  • the computer-readable medium can be any available computer-readable storage medium or communication medium that can be accessed by a computer.
  • Communication media includes media by which communication signals containing, for example, computer readable instructions, data structures, program modules or other data are transmitted from one system to another.
  • Communication media may include conducted transmission media such as cables and wires (eg, fiber optic, coaxial, etc.) and wireless (unconducted 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, for example, as a modulated data signal in a wireless medium such as a carrier wave or similar mechanism such as embodied as part of spread spectrum technology.
  • modulated data signal refers to a signal whose one or more characteristics are altered or set in a manner that encodes information in the signal. Modulation can be analog, digital or hybrid modulation techniques.
  • computer-readable storage media may include volatile and non-volatile, readable storage media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Removable and non-removable media.
  • 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 memory (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, tapes, CDs, DVDs); or other media now known or later developed capable of storing data for computer systems Computer readable information/data used.
  • volatile memory such as random access memory (RAM, DRAM, SRAM
  • non-volatile memory such as flash memory, various read-only memories (ROM, PROM, EPROM) , EEPROM), magnetic and ferromagnetic/ferroelectric memory (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, tapes, CDs, DVDs); or other media now known or later developed capable of storing data for computer systems Computer readable information/data used.
  • an embodiment according to the present application includes an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein, when the computer program instructions are executed by the processor, a trigger is
  • the apparatus operates based on the aforementioned methods and/or technical solutions according to various embodiments of the present application.
  • a method for canceling a friend relationship, applied to a first device comprising:
  • the timer Before the timer reaches the timing corresponding to the timer, in response to the session interaction event corresponding to the session between the first user and the second user, the timer is terminated; otherwise, if the When the timer reaches the timing corresponding to the timer, the session is cancelled, and/or the friend relationship is cancelled.
  • timing duration includes a first timing duration and a second timing duration, the first timing duration being less than the second timing duration
  • the timer is terminated in response to a session interaction event corresponding to the session between the first user and the second user before the timer reaches the timing corresponding to the timer; Otherwise, if the timer reaches the timing corresponding to the timer, cancel the presentation of the session, and/or cancel the friend relationship, including:
  • the timer Before the timer reaches the first timing duration, in response to a session interaction event corresponding to the session between the first user and the second user, the timer is terminated; otherwise, if the timing When the timer reaches the first timing duration, the session is cancelled and the timing is continued;
  • the timer Before the timer reaches the second timing duration, in response to a session interaction event corresponding to the session between the first user and the second user, the timer is terminated; otherwise, if the timing When the timer reaches the second time period, the friend relationship is released.
  • the channel source type corresponding to the friend relationship establishment event is a predetermined channel source type, and if so, a timer for the friend relationship is started.
  • a friend relationship establishment event between two users is automatically initiated by the network device
  • the user initiates a friend relationship establishment event with other users by finding nearby people;
  • a friend relationship establishment event with other users is initiated by the user through the stranger adding friend channel.
  • the channel source type corresponding to the friend relationship establishment event includes the first channel source type and the first channel source type that the first user requests to add the second user as a friend.
  • the second user requests to add a second channel source type used by the first user as a friend, and the first channel source type is different from the second channel source type;
  • the channel corresponding to the friend relationship establishment event is detected in response to the friend relationship establishment event between the first user and the second user Whether the source type is the predetermined channel source type, if so, start the timer for the friend relationship, including:
  • the first user In response to a friend relationship establishment event between the first user and the second user, detect whether the source type of the first channel is a predetermined channel source type, and if so, start a corresponding connection to the friend for the first user. the first timer of the relationship;
  • the first device is a second user device used by the second user, in response to a friend relationship establishment event between the first user and the second user, detect the channel source type corresponding to the friend relationship establishment event Whether it is a predetermined channel source type, if so, start a timer for the friend relationship, including:
  • relationship timer In response to a friend relationship establishment event between the first user and the second user, detect whether the source type of the second channel is a predetermined channel source type, and if so, start a corresponding connection to the friend for the second user. relationship timer;
  • the first device in response to a friend relationship establishment event between the first user and the second user, detect whether the channel source type corresponding to the friend relationship establishment event is a predetermined channel source type, and if so, Starting a timer for the friend relationship, including:
  • the first channel source type and the second channel source type are predetermined channel source types, if both are predetermined Channel source type, start the timer for the friend relationship; if only one of the two is a predetermined channel source type, only start the timer for the friend relationship corresponding to the user associated with the one, to When the timer reaches its corresponding timing period, the session is simply cancelled, or no operation is performed.
  • send a timer start request to the network device receive the command information fed back by the network device for the timer start request, and if the command information indicates that the timer is allowed to start, start the first user corresponding to the timer start request.
  • the first timer of the friendship relationship wherein the network device determines the instruction information by detecting whether the second channel source type is a predetermined channel source type, if the second channel source type is a predetermined channel source type, the The instruction information indicates to start the first timer, otherwise, the instruction information indicates not to start the first timer.
  • send a timer start request to the network device receive the command information fed back by the network device for the timer start request, and if the command information indicates that the timer is allowed to start, start the second user corresponding to the timer start request.
  • a second timer for friendship wherein the network device determines the instruction information by detecting whether the first channel source type is a predetermined channel source type, and if the first channel source type is a predetermined channel source type, the The instruction information indicates to start the second timer, otherwise, the instruction information indicates not to start the second timer.
  • the friend application source type corresponding to the friend relationship establishment event is a predetermined friend application source type, and if so, according to the friend relationship configuration corresponding to the friend relationship.
  • the information determines whether the automatic expiration processing function is currently enabled, and if so, starts a timer for the friend relationship.
  • the friend relationship configuration information is determined based on at least one of the following:
  • the historical session interaction frequency information of the first user and the historical session interaction frequency information of the second user are combined.
  • the timer is terminated in response to a first switching event in which the state indicated by the buddy relationship configuration information is switched from turning on the automatic overdue processing function on to turning off the automatic overdue processing function.
  • the timer In response to a timing duration change event corresponding to the friend relationship configuration information, the timer is reset and restarted according to the changed timing duration.
  • the method also includes:
  • the session between the first user and the second user In response to the upgrade completion event of upgrading from the historical version to the current version, if the session between the first user and the second user has not generated any historical session interaction event, detect the first user and the second user. Whether the absolute value of the time interval between the friend relationship establishment time and the current time corresponding to the friend relationship between users is greater than or equal to the timing duration, if so, cancel the presentation of the session, and/or cancel the friend relationship.
  • a timer for the friend relationship is started, wherein the start time of the timer is the current time.
  • the session is presented by a first presentation mode, wherein the first presentation mode is different from the second presentation mode corresponding to other sessions whose timers have not been started;
  • the session is updated and presented by the second presentation manner in response to the expiration event of the timer.
  • the first presentation manner comprises presenting, in a display area of the session, first countdown information determined according to the current time and the timing duration, wherein the first countdown Information is updated in real time based on the current time.
  • the session page is displayed in the session page determined according to the current time and the timing duration.
  • the second countdown information wherein the second countdown information is updated in real time based on the current time;
  • the second countdown information is de-presented in the session page in response to a countdown event of the timer.
  • the method also includes:
  • the timing duration corresponding to the timer is changed, wherein the timing duration after the modification is greater than the timing duration before the modification.
  • the expired automatic processing information includes the establishment time of the friend relationship and the corresponding The type of automatic processing event, the processing time corresponding to the automatic processing event, the identification information of the first user, the identification information of the second user, the identification information of the session, and the timing duration corresponding to the timer. at least one of.
  • the method also includes:
  • One or more expired automatic processing information corresponding to one or more friend relationships currently recorded by the first device is uploaded to the network device in response to the event of uploading the expired automatic processing information.
  • a device for canceling a friendship characterized in that the device comprises:
  • a memory arranged to store computer-executable instructions which, when executed, cause the processor to perform a method as described in any of clauses 1 to 25.
  • a computer-readable medium storing instructions that, when executed by a computer, cause the computer to operate the method of any of clauses 1 to 25.
  • a computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the method according to any one of clauses 1 to 25.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

La présente invention a pour objectif de pourvoir à un procédé de suppression d'une relation Ami. Le procédé comprend les étapes consistant à : en réponse à un événement de construction de relation ami entre un premier utilisateur et un second utilisateur, démarrer un temporisateur pour la relation Ami ; et avant que le temporisateur n'atteigne une durée de temporisation correspondant au temporisateur, en réponse à un événement d'interaction de session correspondant à une session entre le premier utilisateur et le second utilisateur, arrêter le temporisateur ; autrement, si le temporisateur atteint la durée de temporisation correspondant au temporisateur, annuler la présentation de la session, et/ou supprimer la relation Ami. Dans la présente demande, lorsqu'aucun événement d'interaction de session ne se produit après que la relation Ami a été établie entre deux utilisateurs, la session entre les deux utilisateurs est automatiquement cachée et/ou la relation Ami des deux utilisateurs est supprimée, de manière à mieux rafraîchir les interfaces d'applications sociales des utilisateurs, à améliorer considérablement l'efficacité sociale et l'expérience sociale des utilisateurs, et à garantir également la sécurité de communication entre les utilisateurs.
PCT/CN2021/125289 2020-12-11 2021-10-21 Procédé et dispositif de suppression de relation ami WO2022121524A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011441498.7A CN112688856B (zh) 2020-12-11 2020-12-11 一种解除好友关系的方法与设备
CN202011441498.7 2020-12-11

Publications (1)

Publication Number Publication Date
WO2022121524A1 true WO2022121524A1 (fr) 2022-06-16

Family

ID=75448163

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/125289 WO2022121524A1 (fr) 2020-12-11 2021-10-21 Procédé et dispositif de suppression de relation ami

Country Status (2)

Country Link
CN (1) CN112688856B (fr)
WO (1) WO2022121524A1 (fr)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112688856B (zh) * 2020-12-11 2023-04-07 上海掌门科技有限公司 一种解除好友关系的方法与设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030220976A1 (en) * 2002-05-21 2003-11-27 Bellsouth Intellectual Property Corporation Temporary contact alias system
US20040059781A1 (en) * 2002-09-19 2004-03-25 Nortel Networks Limited Dynamic presence indicators
CN101193073A (zh) * 2007-03-29 2008-06-04 腾讯科技(深圳)有限公司 即时通讯平台中好友管理方法和系统
CN101283567A (zh) * 2005-09-21 2008-10-08 西门子企业通讯有限责任两合公司 用于在统一通信系统中提供存在时效信息的系统和方法
CN112688856A (zh) * 2020-12-11 2021-04-20 上海掌门科技有限公司 一种解除好友关系的方法与设备

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5124682B1 (ja) * 2011-12-28 2013-01-23 株式会社コナミデジタルエンタテインメント ゲーム管理装置、ゲーム管理方法及びプログラム
JP5124044B1 (ja) * 2011-12-28 2013-01-23 株式会社コナミデジタルエンタテインメント ゲーム管理装置、ゲーム管理方法及びプログラム
US20150032670A1 (en) * 2013-07-26 2015-01-29 Robert Brazell Avatar Having Optimizing Artificial Intelligence for Identifying and Providing Relationship and Wellbeing Recommendations
JP2015207136A (ja) * 2014-04-21 2015-11-19 株式会社IT’z Snsの友達管理システム及びこれを用いた友達管理方法
CN105049322A (zh) * 2015-06-03 2015-11-11 深圳市华海技术有限公司 网络社交工具的控制方法
US10999721B2 (en) * 2016-11-30 2021-05-04 Huawei Technologies Co., Ltd. Communication identifier binding processing method and terminal
CN109799938B (zh) * 2017-11-16 2021-06-15 腾讯科技(深圳)有限公司 控件显示管理方法、终端设备及计算机可读存储介质
CN109039861A (zh) * 2018-07-27 2018-12-18 福建兑信科技有限公司 设有限时互动的社交服务器及社交系统
CN111193654B (zh) * 2019-06-24 2021-12-17 腾讯科技(深圳)有限公司 一种社交会话的处理方法、装置、终端及介质
CN110535755B (zh) * 2019-08-30 2021-10-22 上海掌门科技有限公司 一种删除会话消息的方法与设备
CN112035202B (zh) * 2020-08-25 2021-11-23 北京字节跳动网络技术有限公司 好友活跃信息的显示方法、装置、电子设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030220976A1 (en) * 2002-05-21 2003-11-27 Bellsouth Intellectual Property Corporation Temporary contact alias system
US20040059781A1 (en) * 2002-09-19 2004-03-25 Nortel Networks Limited Dynamic presence indicators
CN101283567A (zh) * 2005-09-21 2008-10-08 西门子企业通讯有限责任两合公司 用于在统一通信系统中提供存在时效信息的系统和方法
CN101193073A (zh) * 2007-03-29 2008-06-04 腾讯科技(深圳)有限公司 即时通讯平台中好友管理方法和系统
CN112688856A (zh) * 2020-12-11 2021-04-20 上海掌门科技有限公司 一种解除好友关系的方法与设备

Also Published As

Publication number Publication date
CN112688856B (zh) 2023-04-07
CN112688856A (zh) 2021-04-20

Similar Documents

Publication Publication Date Title
US10484347B2 (en) Method and apparatus for supporting secure chat
CN110336735B (zh) 一种用于发送提醒消息的方法与设备
US10165002B2 (en) Identifying an imposter account in a social network
JP2017528809A (ja) 記憶不具合後の安全なデータアクセス
US9569607B2 (en) Security verification method and apparatus
WO2021000696A1 (fr) Procédé et dispositif d'ajout d'ami
WO2022142619A1 (fr) Procédé et dispositif d'appel audio ou vidéo privé
WO2022121524A1 (fr) Procédé et dispositif de suppression de relation ami
WO2020156524A1 (fr) Procédé et dispositif de détermination d'informations d'équipe de sauvetage
TW201911021A (zh) 介面訊息顯示及處理方法、裝置及電子設備
WO2022142504A1 (fr) Procédé et dispositif de fusion de groupe de réunion
CN110535755B (zh) 一种删除会话消息的方法与设备
WO2022142620A1 (fr) Procédé et dispositif de reconnaissance de code qr
CN109660579B (zh) 数据处理方法、系统及电子设备
WO2020228510A1 (fr) Procédé et dispositif de rappel de calendrier
CN111932230A (zh) 一种修改红包的方法与设备
WO2023109040A1 (fr) Procédé et appareil de génération de bloc de chaîne d'alliance, dispositif électronique et support
CN112702257B (zh) 一种删除好友申请的方法与设备
CN111162990A (zh) 一种呈现消息通知的方法与设备
WO2022142618A1 (fr) Procédé et dispositif d'exécution d'instruction au moyen d'un robot de conférence virtuelle
WO2021036561A1 (fr) Procédé et appareil permettant de transférer des informations pendant un appel vidéo
CN113157162B (zh) 一种用于撤回会话消息的方法、设备、介质及程序产品
AU2015226364A1 (en) Threat detection information distribution system and method
CN111934981A (zh) 一种撤回红包的方法与设备
CN112787831A (zh) 一种会议群组拆分的方法与设备

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21902231

Country of ref document: EP

Kind code of ref document: A1