Methods, apparatus, devices, and storage media for establishing relationships

The method and apparatus enhance mutual relationship establishment by using a switch state detection module to automatically follow back approved users, addressing inefficiencies in existing technologies.

JP2026518613APending Publication Date: 2026-06-09BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
BEIJING ZITIAO NETWORK TECH CO LTD
Filing Date
2024-04-25
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

Existing technologies are inefficient in enabling users with preset attributes to establish mutual relationships with other users whose relationship establishment requests have been approved, leading to suboptimal interaction efficiency.

Method used

A method and apparatus that include a switch state detection module to determine if a first switch is ON, allowing automatic relationship establishment requests to be sent when the switch is ON, facilitating mutual following between users with preset attributes.

Benefits of technology

Enhances the efficiency of establishing mutual relationships by automatically following back users whose requests have been approved, improving interaction efficiency for users with preset attributes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026518613000001_ABST
    Figure 2026518613000001_ABST
Patent Text Reader

Abstract

The present invention provides a method and apparatus, device, and storage medium for establishing a relationship. The method includes, on the first user's side, in response to receiving a first relationship establishment request from a second user, determining whether a first switch corresponding to the first user is in the ON state (S110), that the first user is a user with preset attributes, that media content works posted by a user with preset attributes are hidden from users who have not established a first relationship, that the first relationship establishment request is used to establish a first relationship from the second user to the first user, and, if it is determined that the first switch is in the ON state, sending a second relationship establishment request to the second user in response to the first user's approval operation for the first relationship establishment request (S120), thereby establishing a second relationship from the first user to the second user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application claims the priority of Chinese Patent Application No. 202310511909.2, filed on May 8, 2023, and the entire content of this Chinese patent application is incorporated herein by reference and made a part of this application.

[0002] Embodiments of the present disclosure relate to a method and apparatus for establishing a relationship, a device, and a storage medium.

Background Art

[0003] Currently, in order to protect user information, some Internet platforms allow users to set access permissions, so that only other users who have been approved by the user for a follow request can access the content posted by this user in an application program.

Summary of the Invention

[0004] The present disclosure provides a method and apparatus for establishing a relationship, a device, and a storage medium that improve the efficiency of establishing a related relationship between a user with a preset attribute and a second user approved by the user with a preset attribute for a first relationship establishment request.

[0005] In a first aspect, embodiments of the present disclosure provide a method for establishing a relationship. On the side of the first user, the method includes: In response to receiving a first relationship establishment request from a second user, determining whether a first switch corresponding to the first user is in an on state, where the first user is a user with a preset attribute such that the posted media content works are set to be invisible to a third user, and the third user is a user who has not established a first related relationship with the first user, and the first relationship establishment request is used to establish a first related relationship from the second user to the first user, When it is determined that the first switch corresponding to the first user is in the ON state, it is used to send a second relationship establishment request to the second user in response to the first user's approval operation for the first relationship establishment request, the second relationship establishment request is used to establish a second relationship from the first user to the second user.

[0006] In a second embodiment, the embodiments of the present disclosure further provide a relationship establishment apparatus, on the first user side, A switch state detection module for determining whether a first switch corresponding to a first user is in the ON state in response to receiving a first relationship establishment request from a second user, wherein the first user is a user who has preset attributes set so that posted media content works are hidden from a third user, the third user is a user who has not established a first relationship with the first user, and the first relationship establishment request is a switch state detection module used to establish a first relationship from the second user to the first user. A relationship establishment module for sending a second relationship establishment request to a second user in response to an approval operation by the first user for the first relationship establishment request, provided that the first switch corresponding to the first user is determined to be in the ON state, the second relationship establishment request includes a relationship establishment module used to establish a second relationship from the first user to the second user.

[0007] In a third embodiment, the embodiments of the present disclosure further provide an electronic device, the electronic device being: One or more processors, Includes a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are made to implement the relationship establishment method described in the embodiments of this disclosure.

[0008] In a fourth embodiment, an embodiment of the present disclosure further provides a storage medium that, when executed by a computer processor, includes computer-executable instructions for performing the relationship establishment method described in the embodiment of the present disclosure. [Brief explanation of the drawing]

[0009] The above and other features, advantages and aspects of each embodiment of this disclosure will become more apparent by referring to the embodiments for carrying out the invention as shown in the drawings below. In all drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and elements are not necessarily drawn to scale.

[0010] [Figure 1] This is a flowchart illustrating the method for establishing a relationship according to the embodiments of this disclosure. [Figure 2] This is a schematic diagram of the preset settings page according to an embodiment of the present disclosure. [Figure 3] This is a schematic diagram of a notification message according to an embodiment of the present disclosure. [Figure 4] This is a schematic diagram of another notification message according to an embodiment of the present disclosure. [Figure 5] This is a flowchart of another method for establishing a relationship according to the embodiments of this disclosure. [Figure 6] This is a schematic diagram of the ON query subinterface of the first switch related to the approval operation according to the embodiments of this disclosure. [Figure 7] This is a schematic diagram of the ON query subinterface of the first switch according to an embodiment of the present disclosure. [Figure 8] This is a schematic diagram of the method and apparatus for establishing relationships according to the embodiments of this disclosure. [Figure 9] This is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. [Modes for carrying out the invention]

[0011] The embodiments of this disclosure will be described in more detail below with reference to the drawings. While the drawings show several embodiments of this disclosure, it should be understood that this disclosure is achievable in various ways and should not be construed as being limited to the embodiments described herein. On the contrary, these embodiments are provided to allow for a more thorough and complete understanding of this disclosure. It should be understood that the drawings and embodiments of this disclosure are for illustrative purposes only and do not limit the scope of protection of this disclosure.

[0012] It should be understood that the steps described in the embodiments of the method of this disclosure may be performed in a different order and / or in parallel. Furthermore, embodiments of the method may include additional steps and / or the described steps may be omitted. The scope of this disclosure is not limited in this respect.

[0013] As used herein, the term “including” and its variations are non-restrictive, meaning “including, but not limited to, …”. The term “based on” means “based at least partially on”. The term “one embodiment” means “at least one embodiment”, the term “another embodiment” means “at least one other embodiment”, and the term “several embodiments” means “at least several embodiments”. Relevant definitions of other terms are given below.

[0014] Furthermore, the concepts of "first," "second," etc., as used in this disclosure are merely for the purpose of distinguishing different devices, modules, or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules, or units.

[0015] Furthermore, the modifications “one” and “multiple” as used in this disclosure are illustrative and not restrictive, and should be understood as “one or more” unless otherwise explicitly stated in the context, as can be understood by those skilled in the art.

[0016] The names of messages or information that interact between multiple devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of these messages or information.

[0017] As can be understood, before using the technical solutions disclosed by each embodiment of the present disclosure, the user should be informed in an appropriate manner about the types, scope of use, usage scenarios, etc. of personal information related to the present disclosure in accordance with relevant laws and regulations, and permission should be obtained from the user.

[0018] For example, in response to receiving a user's voluntary request, prompt information is sent to the user so as to clearly prompt the user that the operations requesting execution require the acquisition and use of the user's personal information. Thereby, the user can independently select whether to provide personal information to software or hardware such as an electronic device, an application program, a server, or a storage medium that executes the operations of the technical solutions of the present disclosure based on the prompt information.

[0019] As a selective but non-limiting implementation form, the method of sending prompt information to the user in response to receiving a user's voluntary request may be, for example, a sub-interface method, and the prompt information may be presented in a text form in the sub-interface. In addition, in the sub-interface, a selection control for allowing the user to select whether to "agree" or "disagree" to provide personal information to the electronic device may be further added.

[0020] As can be understood, the above notification and the process of obtaining user permission are only schematic and do not limit the implementation forms of the present disclosure. Other methods that meet relevant laws and regulations are also applicable to the implementation forms of the present disclosure.

[0021] Figure 1 is a flowchart of a relationship establishment method according to an embodiment of the present disclosure, which applies when a first user having preset attributes turns on a first switch, and the first user accepts a follow request sent by a second user who is not being followed, and the second user is automatically followed back. This method is implementable by a relationship establishment device, which can be implemented in software and / or hardware form and is optionally implemented by electronic equipment, which may be a mobile terminal, a PC, etc. As shown in Figure 1, the method is applied to the first user side and includes the following steps S110 and S120.

[0022] In S110, in response to receiving a first relationship establishment request from a second user, it is determined whether the first switch corresponding to the first user is in the ON state.

[0023] Here, the first user is a user who has a preset attribute that is set so that the media content works posted by him are hidden from the third user, the third user is a user who has not established a first relationship with the first user, and the first relationship establishment request is used to establish a first relationship from the second user to the first user.

[0024] In this embodiment, a user with preset attributes may be understood as a user with access permissions set. Only users who have established a first relationship with a user with preset attributes, i.e., users whose follow requests have been approved by the user with preset attributes, can access media content works posted by the user with preset attributes using the application program. Users who have not established a first relationship with a user with preset attributes, i.e., users who have not approved follow requests sent by the user with preset attributes, cannot view media content works posted by the user with preset attributes. A second user refers to a user who is not followed by the first user and who has not established a first relationship with the first user. A first relationship establishment request refers to a follow request sent by the second user to the first user, and the establishment of a first relationship refers to the first user approving a follow request sent by the second user so that the second user is unilaterally following the first user.

[0025] In related technologies, if the first user is a user with preset attributes, after the first user approves a follow request sent by a second user who is not following the first user, only a one-sided follow by the second user to the first user is achieved, and mutual following between the first and second users is not realized. Therefore, in this embodiment, in order to help the first user quickly achieve mutual following, a first switch corresponding to the first user is pre-configured on the application program's preset settings page. Here, when the first switch is in the ON state, if the first user approves a follow request from a second user who is not following the first user, the first user's client automatically sends a follow request to the second user and is used to follow the second user back.

[0026] In this embodiment, the state of the first switch can determine whether the first user automatically follows back the second user whose follow request has been approved, and further affects the efficiency of achieving mutual following with the first user. Therefore, it is possible to first determine whether the first switch corresponding to the first user is in the ON state.

[0027] The system further includes, optionally, determining whether to display the first switch on the preset settings page based on whether the first user is a user with preset attributes.

[0028] In this embodiment, the display status of the first switch is related to whether the first user is a user with preset attributes. In one selectable embodiment, if the first user is set as a user with preset attributes, the first switch and / or related information for the first switch are displayed in the designated area of ​​the preset settings page, and if the first user is set as not a user with preset attributes, the first switch and / or related information for the first switch are hidden in the designated area of ​​the preset settings page. To make it clear, whether a user is a user with preset attributes can be set by the user themselves as needed. Here, as shown in Figure 2, the designated area may be the switch placement area below the setting area for users with preset attributes. The related information for the first switch includes the switch name, introductory information about the switch function, and a switch state switching control.

[0029] In S120, if it is determined that the first switch corresponding to the first user is in the ON state, a second relationship establishment request is sent to the second user in response to the first user's approval operation for the first relationship establishment request.

[0030] Here, the second relationship establishment request is used to establish a second relationship from the first user to the second user, that is, to enable the first user to follow back the second user.

[0031] In this embodiment, after it is determined that the first switch corresponding to the first user is in the ON state, when the first user approves the follow request sent by the second user, a second relationship establishment request is sent to the second user, thereby enabling the first user to automatically follow back the second user and further realizing mutual following between the first user and the second user.

[0032] Optionally, after sending the aforementioned second relationship establishment request to the second user, the system further includes displaying a preset notification message indicating that both the first and second relationships have been established in response to the establishment of the second relationship, and displaying a first interaction control in the notification message for implementing an interaction operation between users having the first and second relationships. To be understood, the first interaction control may be an interaction control corresponding to an interaction operation supported between users having a mutual follow relationship, such as an interaction facial expression control, a video sharing control, a resource transfer control, a game control, or an audio-video call control. To be understood, the first interaction control may be directly employed or invoked by a trigger operation.

[0033] In this embodiment, as shown in Figure 3, after the first user and the second user establish a second relationship and achieve mutual following, a preset notification message can be displayed on the first user's current operation interface, such as via a site banner. This is used to inform the first user that both the first and second relationships have been established and that mutual following has been achieved with the second user. On the other hand, to guide the first user to interact with the second user, a first interaction control, such as the "Let's Go See" control in Figure 3, can be displayed in the notification message. When the first user performs a trigger operation on the first interaction control, they can jump from their current operation interface to the second user's personal page. In other embodiments, the first interaction control may be an interaction control that corresponds to users with a mutual following relationship, such as the flower-sending interaction expression control in Figure 4. The first user can click on this interaction expression control in a preset notification message to send an interaction expression to the second user in a conversation interface with the second user, or simultaneously enter a conversation page with the second user, thereby facilitating further interaction between the first and second users.

[0034] In the technical solution according to the embodiment of this disclosure, in response to receiving a first relationship establishment request from a second user, it is determined whether a first switch corresponding to the first user is in the ON state, the first user is a user who has preset attributes set so that posted media content works are hidden from a third user, the third user is a user who has not established a first relationship with the first user, the first relationship establishment request is used to establish a first relationship from the second user to the first user, and if it is determined that the first switch corresponding to the first user is in the ON state, a second relationship establishment request is sent to the second user in response to the first user's approval operation for the first relationship establishment request, the second relationship establishment request is used to establish a second relationship from the first user to the second user, solving the problem that users with access rights in the related technology are inefficient at achieving mutual following, and enabling a user with preset attributes to easily establish a relationship with a second user whose first relationship establishment request has been approved by the user with preset attributes.

[0035] Figure 5 is a flowchart of another relationship establishment method according to an embodiment of the present disclosure. An embodiment of the present disclosure, building upon the above embodiment, further provides that, when it is determined that the first switch corresponding to the first user is in the off state, in response to a preset trigger operation by the first user, an on query subinterface for the first switch is popped up on the current operating interface, and in response to a trigger operation by the first user for a first option in the on query subinterface, the relevant content of the first switch is turned on. As shown in Figure 5, the method is applied to the first user side and includes the following steps S510 to S540.

[0036] In S510, in response to receiving a first relationship establishment request from a second user, it is determined whether the first switch corresponding to the first user is in the ON state.

[0037] Here, the first user is a user who has a preset attribute that causes posted media content works to be hidden from the third user, the third user is a user who has not established a first relationship with the first user, and the first relationship establishment request is used to establish a first relationship from the second user to the first user. The first relationship establishment request may also be understood as a follow request sent by the second user to the first user, and the establishment of a first relationship means that the first user approves a follow request sent by the second user in order to achieve a one-sided follow by the second user to the first user.

[0038] In this embodiment, in order to help the first user with access rights to quickly achieve mutual following, a first switch is pre-configured for the first user on the application program's preset settings page. By controlling the first switch corresponding to the first user to be in the ON state when the first user is configured as a user with preset attributes, it is possible to ensure that when the first user approves a follow request sent by the second user, a follow request can be automatically sent to the second user. Therefore, after receiving the first relationship establishment request from the second user, it is first necessary to determine whether the first switch corresponding to the first user is in the ON state.

[0039] In S520, if it is determined that the first switch corresponding to the first user is in the off state, an ON query subinterface for the first switch is popped up within the current operating interface in response to the first user's preset trigger operation.

[0040] In one selectable embodiment, the ON query subinterface includes a first option which includes an option which performs an approval operation to turn on the first switch, and a second option which includes an option which performs an approval operation to leave the first switch off. That is, when the first option is selected, the first switch is turned on, and when the second option is selected, the first switch remains off.

[0041] In some embodiments, the above-mentioned pop-up of the first switch ON query subinterface in the current operating interface in response to the first user's preset trigger operation includes popping up the first switch ON query subinterface in the current operating interface in response to the first user's approval operation for the first relationship establishment request.

[0042] In this embodiment, when a follow request is received from a second user who is not followed by the first user, the system can display remove and approve controls corresponding to each follow request so that the follow request is recorded on the preset notification page according to the request time, and the user can choose whether or not to approve the follow request. Therefore, when the first user performs a trigger operation on the approve control corresponding to the second user's follow request on the preset notification page, an ON query subinterface for the first switch related to this approval operation, for example the ON query subinterface in Figure 6, pops up at a specified location on the preset notification page, for example at the bottom of the interface, guiding the first user to turn on the first switch.

[0043] In this embodiment, when the first user opens the relevant interface of a second user who is not being followed, such as a personal page or conversation page, and performs a trigger operation on the approval control corresponding to a follow request sent by the second user, a sub-interface for the first switch ON query related to the current approval operation, as shown in Figure 6, pops up at a specified location on the second user's relevant interface, for example, at the bottom of the interface, guiding the first user to turn on the first switch.

[0044] For example, in the on-inquiry subinterface shown in Figure 6, the name of the first switch may be "Automatically follow back approved people," and the "Turn on automatic follow back" option in the drawing may be the first option, while the "Follow back only" option in the drawing may be the second option to send a follow request to the second user and leave the first switch off.

[0045] In this embodiment, if the first user is a user with preset attributes, in response to the first user's approval operation of a follow request sent by the second user, the first switch ON query subinterface related to the current approval operation can be popped up on the first user's current operation interface. In one optional embodiment, in response to the first user entering the preset notification page, the first switch ON query subinterface can be displayed on the preset notification page, or in response to the first user entering the second user's related interface, the first switch ON query subinterface can be displayed on the second user's related interface.

[0046] For example, the ON query subinterface for the first switch may be as shown in Figure 7. Here, the name of the first switch is "Automatically follow back approved people," the "Confirm ON" option in the drawing can be the first option, and the "Don't turn ON yet" option in the drawing can be the second option.

[0047] In S530, the first switch is turned on in response to the first user's trigger operation on the first option in the on-query subinterface.

[0048] In this embodiment, when the first user selects the first option in the on-inquiry sub-interface, the first switch is turned on. When the first user selects the second option, the first switch is not turned on, and only the action corresponding to the second option is executed. For example, if the first user selects the "Follow back only" option in Figure 6, the first switch is not turned on, and only the second user whose follow request was approved is automatically followed back.

[0049] Selectively turning on the first switch in response to a first user trigger operation on the first option in the on-query subinterface includes jumping from the current operation interface to a preset settings page in response to a first user trigger operation on the first option in the on-query subinterface, and turning on the first switch in response to a first user trigger operation on the preset settings page.

[0050] In this embodiment, when the first user selects the first option in the ON query sub-interface, the first switch on the preset settings page can be switched ON in the background, and a prompt message indicating that the first switch has been successfully turned ON on the preset settings page can be popped up. Alternatively, the first user can jump to the preset settings page from their current operation interface, and by switching the first switch on the preset settings page, a prompt message indicating that the first switch has been successfully turned ON on the preset settings page can be popped up.

[0051] Selectively, in response to a trigger operation by the first user on a first option in the on-query subinterface, the first switch is turned on, and then, if the on-query subinterface is related to an approval operation by the first user on the second user's first relationship establishment request, the on-query subinterface further includes sending a second relationship establishment request to the second user.

[0052] In this embodiment, if the ON query subinterface of the first switch pops up after the first user approves the second user's follow request, the first user triggers the first option of the ON query subinterface, turns on the first switch, and then automatically follows back the second user whose follow request was approved, and a notification message pops up on the current operation interface indicating that mutual following has been achieved with the second user.

[0053] In S540, if it is determined that the first switch corresponding to the first user is in the ON state, a second relationship establishment request is sent to the second user in response to the first user's approval operation for the first relationship establishment request.

[0054] Here, the second relationship establishment request is used to establish a second relationship from the first user to the second user. In this embodiment, after the first switch is turned on, if the first user approves a follow request from a second user who is not being followed, a second relationship establishment request is sent to the second user to follow the second user, thereby achieving mutual following between the first and second users. In one selectable embodiment, in response to the first user's trigger operation on the approval control corresponding to the second user's follow request on the preset notification page, a second relationship establishment request is sent to the second user to follow the second user. Alternatively, in response to the first user's trigger operation on the approval control for the follow request on the second user's personal page, a second relationship establishment request is sent to the second user to follow the second user.

[0055] Selectively, after sending a second relationship-establishment request to the second user in response to the first user's approval operation for the first relationship-establishment request, if the approval operation is a trigger operation by the first user on an approval control corresponding to the first relationship-establishment request on a preset notification page, further includes replacing at least the approval control with a second interaction control and jumping to the second user's associated interface in response to the first user's trigger operation on the second interaction control, where the second interaction control may be an interaction control corresponding to an interaction operation supported between users who have a mutual follow relationship.

[0056] In this embodiment, when the first switch is ON, if the first user performs a trigger operation on the approval control corresponding to the second user's first relationship establishment request on the preset notification page and approves the second user's follow request, the positions of the triggered approval control and remove control on the preset notification page are replaced with the second interaction control to guide the interaction between the first user and the second user. When the first user triggers the second interaction control, the first user can jump from their current operation interface to the second user's relevant interface whose follow request was approved, such as the second user's personal page or conversation page.

[0057] The technical solution according to the embodiments of this disclosure determines whether a first switch corresponding to the first user is in the ON state in response to receiving a first relationship establishment request from a second user, the first user is a user who has preset attributes set so that posted media content works are hidden from a third user, the third user is a user who has not established a first relationship with the first user, the first relationship establishment request is used to establish a first relationship from the second user to the first user, and if it is determined that the first switch corresponding to the first user is in the ON state, a second relationship establishment request is sent to the second user in response to the first user's approval operation for the first relationship establishment request, the second relationship establishment request is used to establish a second relationship from the first user to the second user, solving the problem that users with access rights in the related technology are inefficient at achieving mutual following, and enabling a user with preset attributes to easily establish relationships with a second user whose first relationship establishment request has been approved by a user with preset attributes.

[0058] Figure 8 is a schematic diagram of a relationship establishment method apparatus according to an embodiment of the present disclosure, and as shown in Figure 8, the apparatus includes a switch state detection module 810 and a relationship establishment module 820 on the first user side.

[0059] The switch state detection module 810 is used to determine whether the first switch corresponding to the first user is in the ON state in response to receiving a first relationship establishment request from the second user, wherein the first user is a user who has preset attributes set so that posted media content works are hidden from the third user, the third user is a user who has not established a first relationship with the first user, and the first relationship establishment request is used to establish a first relationship from the second user to the first user. The relationship establishment module 820 is used to send a second relationship establishment request to the second user in response to the first user's approval operation for the first relationship establishment request, when it is determined that the first switch corresponding to the first user is in the ON state, and the second relationship establishment request is used to establish a second relationship from the first user to the second user.

[0060] The technical solution according to the embodiments of this disclosure determines whether a first switch corresponding to the first user is in the ON state in response to receiving a first relationship establishment request from a second user, the first user is a user who has preset attributes set so that posted media content works are hidden from a third user, the third user is a user who has not established a first relationship with the first user, the first relationship establishment request is used to establish a first relationship from the second user to the first user, and if it is determined that the first switch corresponding to the first user is in the ON state, a second relationship establishment request is sent to the second user in response to the first user's approval operation for the first relationship establishment request, the second relationship establishment request is used to establish a second relationship from the first user to the second user, solving the problem that users with access rights in the relevant technology are inefficient at achieving mutual following and improving the efficiency of establishing relationships between a user with preset attributes and a second user whose first relationship establishment request has been approved by the user with preset attributes.

[0061] The first interaction module optionally includes, after sending the aforementioned second relationship establishment request to the second user, a preset notification message to indicate that both the first and second relationship have been established in response to the establishment of the second relationship. A first interaction control for realizing interaction operations between users having a first relationship and a second relationship is displayed in the notification message.

[0062] The system further includes a switch display module for selecting whether to display the first switch on the preset settings page based on whether the first user is a user with preset attributes.

[0063] Selectable, the switch display module is If the first user is set as a user with preset attributes, the first switch and / or related information of the first switch are displayed in the designated area of ​​the preset settings page. If the first user is configured as a user without preset attributes, this is used to hide the first switch and / or related information of the first switch in the designated area of ​​the preset settings page.

[0064] Selectable, If it is determined that the first switch corresponding to the first user is in the off state, a switch-on guide unit is provided to pop up an ON query subinterface for the first switch on the current operating interface in response to the preset trigger operation of the first user, The switch control module further includes a switch-on unit for turning on the first switch in response to a trigger operation by the first user for a first option in the on-query subinterface.

[0065] Selectively, the on-query subinterface includes a first option and a second option, which includes an option to perform an authorization operation to keep the first switch off.

[0066] Optionally, the switch-on guide unit is used to pop up a first switch on query subinterface related to the current authorization operation within the current operation interface in response to the first user's authorization operation for the first relationship establishment request.

[0067] Selectable, the switch-on guide unit is, In response to the first user entering the preset notification page, it is used to display the ON query subinterface of the first switch on the preset notification page, or, It is used to display the ON query subinterface of the first switch in the associated interface of the second user in response to an operation by the first user entering the associated interface of the second user.

[0068] Selectable, the switch-on unit is, In response to the first user's trigger operation on the first option in the on-query subinterface, the system jumps from the current operation interface to the preset settings page. It is used to turn on the first switch in response to a trigger operation by the first user on the preset settings page.

[0069] The system further includes a follow-back module for sending a second relationship establishment request to a second user if the on-query subinterface is related to the first user's approval operation of the second user's first relationship establishment request, after the first switch has been turned on in response to the first user's trigger operation of the on-query subinterface.

[0070] Optionally, the second interaction module, in response to the first user's approval operation for the first relationship establishment request, sends a second relationship establishment request to the second user, If the approval operation is a trigger operation by the first user on the approval control corresponding to the first relationship establishment request on the preset notification page, then at least the approval control is replaced with a second interaction control. It is used to jump to the associated interface of the second user in response to the first user's trigger operation on the second interaction control.

[0071] The relationship establishment apparatus according to the embodiments of the present disclosure can perform the relationship establishment method according to any embodiment of the present disclosure and has corresponding functional modules and beneficial effects for performing the method.

[0072] Furthermore, while each unit and module included in the above-mentioned device is simply divided by functional logic, the device is not limited to this division, and only needs to be able to realize the corresponding function. Also, the specific names of each functional unit are merely for distinguishing them from one another and are not intended to limit the scope of protection of the embodiments of this disclosure.

[0073] Figure 9 is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Hereinafter, with reference to Figure 9, a schematic diagram of the structure of an electronic device (e.g., a terminal device or server in Figure 9) 900 suitable for realizing an embodiment of the present disclosure will be shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile devices such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable media players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. The electronic device shown in Figure 9 is merely an example and does not in any way limit the functions and scope of use of the embodiments of the present disclosure.

[0074] As shown in Figure 9, the electronic device 900 may include a processing unit (e.g., a central processing unit, graphics processor, etc.) 901, which can perform various appropriate operations and processes based on programs stored in read-only memory (ROM) 902 or programs loaded from storage device 908 into random access memory (RAM) 903. RAM 903 also stores various programs and data necessary for the operation of the electronic device 900. The processing unit 901, ROM 902, and RAM 903 are connected to each other via bus 904. An edit / output (I / O) interface 905 is also connected to bus 904.

[0075] Typically, devices such as input devices 906 including touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, and gyroscopes; output devices 907 including liquid crystal displays (LCDs), speakers, and vibrators; storage devices 908 including magnetic tape and hard disks; and communication devices 909 can be connected to the I / O interface 905. The communication device 909 can enable the electronic device 900 to exchange data with other devices via wireless or wired communication. Figure 9 shows an electronic device 900 with various devices, but it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have been included instead.

[0076] In particular, according to embodiments of the present disclosure, the process described with reference to the flowchart above may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product which includes a computer program contained on a non-temporary computer-readable medium, the computer program which includes program code for performing the method shown in the flowchart. In such embodiments, the computer program may be downloaded and installed from a network by a communication device 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by the processing device 901, the above-described functions, limited to the method of embodiments of the present disclosure, are performed.

[0077] The names of messages or information that interact between multiple devices in embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0078] The electronic devices according to the embodiments of this disclosure belong to the same inventive concept as the relationship establishment method according to the above embodiments, and technical details not described in detail in these embodiments can be referenced to the above embodiments, and these embodiments have the same beneficial effects as the above embodiments.

[0079] Embodiments of this disclosure provide a computer storage medium in which a computer program is stored, and when the program is executed by a processor, the method of establishing a relationship according to the above embodiment is realized.

[0080] The computer-readable media described in this disclosure may be computer-readable signal media, computer-readable storage media, or any combination of the above. Computer-readable storage media may be, but are not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections having one or more wires, portable pail computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable pail compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this disclosure, computer-readable storage media may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device. In this disclosure, computer-readable signal media may include data signals propagated in the baseband or as part of a carrier wave, which contain computer-readable program code. Such propagated data signals can take various forms and include, but are not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium, and the computer-readable signal medium can transmit, propagate, or transmit programs used by or in combination with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium can be transmitted on any suitable medium, which includes, but is not limited to, electric wires, optical cables, RF (radio frequency), or any suitable combination thereof.

[0081] In some embodiments, clients and servers can communicate using any currently known or future-to-be-developed network protocol, such as HTTP (HyperText Transfer Protocol), and can interconnect (e.g., communication networks) to communicate with digital data in any form or medium. Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), internetworks (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), and networks that are currently known or future-to-be-developed.

[0082] The computer-readable medium described above may be included in the electronic device described above, or it may exist independently without being incorporated into the electronic device.

[0083] The computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device determines whether a first switch corresponding to the first user is ON in response to receiving a first relationship establishment request from a second user, the first user is a user with preset attributes set so that posted media content works are hidden from a third user, the third user is a user who has not established a first relationship with the first user, the first relationship establishment request is used to establish a first relationship from the second user to the first user, and if it is determined that the first switch corresponding to the first user is ON, it is used to send a second relationship establishment request to the second user in response to the first user's approval operation of the first relationship establishment request, the second relationship establishment request is used to establish a second relationship from the first user to the second user.

[0084] Computer program code for performing the operations of the Disclosure can be organized in one or more programming languages ​​or a combination thereof, and such programming languages ​​include, but are not limited to, object-oriented programming languages ​​such as Java, Smalltalk, and C++, and also include ordinary procedural programming languages ​​such as the C language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a standalone software package, partially on the user's computer and partially on a remote computer, or fully on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer by any type of network, including a local area network (LAN) or a wide area network (WAN), or it may be connected to an external computer (for example, connected via the Internet using an Internet service provider).

[0085] The flowcharts and block diagrams in the drawings illustrate the implementable architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code containing one or more executable instructions for implementing a given logical function. In some alternative implementations, the functions attached to a block may occur in a different order than that shown in the drawings. For example, two consecutively shown blocks may actually be executed essentially in parallel, or, depending on the function, in reverse order. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, may be implemented by a dedicated hardware-based system that performs a given function or operation, or by a combination of dedicated hardware and computer instructions.

[0086] The units described in the embodiments of this disclosure may be implemented in software form or in hardware form. Herein, the names of the units are not necessarily limited to the units themselves, for example, the first acquisition unit may be described as "a unit for acquiring at least two Internet Protocol addresses."

[0087] In this specification, the functions described above can be performed by at least partially one or more hardware logic components. For example, typical types of hardware logic components that can be used include, but are not limited to, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems on chips (SOCs), and composite programmable logic circuits (CPLDs).

[0088] In the context of this disclosure, a machine-readable medium may be a tangible medium that contains or stores a program used in or in conjunction with an instruction execution system, device, or apparatus. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or apparatus, or any suitable combination of the above contents. More specific examples of machine-readable storage media include one or more leaded electrical connections, portable pail computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable pail compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above contents.

[0089] According to one or more embodiments of this disclosure, Example 1 provides a method for establishing a relationship, wherein on the first user side, the method is: In response to receiving a first relationship establishment request from a second user, it is determined whether a first switch corresponding to the first user is in the ON state, the first user is a user with a preset attribute set so that posted media content works are hidden from a third user, the third user is a user who has not established a first relationship with the first user, and the first relationship establishment request is used to establish a first relationship from the second user to the first user. When it is determined that the first switch corresponding to the first user is in the ON state, it is used to send a second relationship establishment request to the second user in response to the first user's approval operation for the first relationship establishment request, the second relationship establishment request is used to establish a second relationship from the first user to the second user.

[0090] According to one or more embodiments of the present disclosure, in Example 2, after sending the second relationship establishment request to the second user in accordance with the method described in Example 1, In response to the establishment of a second relationship, a preset notification message is displayed to indicate that both the first and second relationships have been established. The further includes displaying a first interaction control in the notification message to enable interaction operations between users having a first relationship and a second relationship.

[0091] According to one or more embodiments of this disclosure, in Example 3, following the method described in Example 1, The process further includes determining whether to display the first switch on the preset settings page based on whether the first user is a user with preset attributes.

[0092] According to one or more embodiments of the present disclosure, in Example 4, determining whether to display the first switch on the preset settings page based on whether the first user is a user with preset attributes, in accordance with the method described in Example 3, If the first user is set as a user with preset attributes, the first switch and / or related information of the first switch are displayed in the designated area of ​​the preset settings page. If the first user is configured as a user without preset attributes, the first switch and / or related information for the first switch are hidden in the designated area of ​​the preset settings page.

[0093] According to one or more embodiments of this disclosure, in Example 5, following the method described in Example 1, If it is determined that the first switch corresponding to the first user is in the off state, in response to the first user's preset trigger operation, an ON query subinterface for the first switch is popped up on the current operating interface, The further includes turning on the first switch in response to a trigger operation by the first user on the first option in the on-query subinterface.

[0094] According to one or more embodiments of the present disclosure, in Example 6, in accordance with the method described in Example 5, the on-query subinterface includes a first option and a second option which includes an option to perform an authorization operation to leave the first switch off.

[0095] According to one or more embodiments of the present disclosure, in Example 7, in accordance with the method described in Example 5, in response to the preset trigger operation of the first user, the ON query subinterface for the first switch is popped up on the current operating interface, In response to the first user's approval operation for the first relationship establishment request, the system includes popping up an ON query subinterface for the first switch related to the current approval operation within the current operation interface.

[0096] According to one or more embodiments of the present disclosure, in Example 8, in accordance with the method described in Example 5, in response to the preset trigger operation of the first user, the ON query subinterface of the first switch is popped up on the current operating interface, In response to the operation by the first user entering the preset notification page, display the ON query subinterface for the first switch on the preset notification page, or, This includes, in response to an operation by the first user entering the associated interface of the second user, displaying the ON query subinterface of the first switch in the associated interface of the second user.

[0097] According to one or more embodiments of the present disclosure, in Example 9, turning on the first switch in response to the first user's trigger operation on the first option in the on-query subinterface, in accordance with the method described in Example 5, In response to the first user's trigger operation on the first option in the on-query subinterface, the system jumps from the current operation interface to the preset settings page. This includes turning on the first switch in response to a trigger operation by the first user on the preset settings page.

[0098] According to one or more embodiments of the present disclosure, in Example 10, in response to the first user's trigger operation on the first option in the on-query subinterface, after turning on the first switch, If the on-query subinterface relates to the first user's approval operation for the second user's first relationship establishment request, the further includes sending a second relationship establishment request to the second user.

[0099] According to one or more embodiments of the present disclosure, in Example 11, after sending a second relationship establishment request to the second user in response to the first user's approval operation for the first relationship establishment request, If the approval operation is a trigger operation by the first user on the approval control corresponding to the first relationship establishment request on the preset notification page, then at least the approval control is replaced with a second interaction control. The further includes jumping to the associated interface of the second user in response to the first user's trigger operation on the second interaction control.

[0100] According to one or more embodiments of this disclosure, Example 12 provides a relationship establishment apparatus, on the first user side, A switch state detection module for determining whether a first switch corresponding to a first user is in the ON state in response to receiving a first relationship establishment request from a second user, wherein the first user is a user who has preset attributes set so that posted media content works are hidden from a third user, the third user is a user who has not established a first relationship with the first user, and the first relationship establishment request is a switch state detection module used to establish a first relationship from the second user to the first user. A relationship establishment module for sending a second relationship establishment request to a second user in response to an approval operation by the first user for the first relationship establishment request, provided that the first switch corresponding to the first user is determined to be in the ON state, the second relationship establishment request includes a relationship establishment module used to establish a second relationship from the first user to the second user.

[0101] According to one or more embodiments of the present disclosure, Example 13 provides an electronic device, the electronic device is One or more processors, Includes a storage device for storing one or more programs, The present invention provides an electronic device that, when one or more of the aforementioned programs are executed by one or more of the aforementioned processors, enables one or more of the aforementioned processors to implement the relationship establishment method described in any one of Examples 1 to 11.

[0102] According to at least one embodiment of the present disclosure, Example 14 provides a storage medium that includes a computer-executable instruction for performing the relationship establishment method described in any one of Examples 1 to 11 when executed by a computer processor.

[0103] The above description is merely an explanation of optional embodiments and the technical principles used in this disclosure. As will be understood by those skilled in the art, the scope of disclosure in this disclosure is not limited to technical solutions consisting of specific combinations of the above technical features, but should also encompass other technical solutions formed by any combination of the above technical features or their equivalents, without departing from the concept of the above disclosure. For example, it should encompass technical solutions formed by substituting the above features with (but not limited to) similar functional technical features disclosed in this disclosure.

[0104] Furthermore, while each operation is described in a specific order, this should not be understood as requiring these operations to be performed in a specific or sequential order as shown. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while the above considerations include several specific implementation details, these should not be construed as limitations on the scope of this disclosure. Some features described in the context of individual embodiments may be further combined and implemented in a single embodiment. Conversely, various features described in the context of a single embodiment may be implemented in multiple embodiments individually or in any suitable subcombination.

[0105] Although this subject matter has already been described using language that specifies structural features and / or methodological logic, it should be understood that the purpose of the attached claims is not limited to the specific features or operations described above. On the contrary, the specific features and operations described above are merely illustrative forms of realizing the claims.

Claims

1. A method for establishing a relationship, wherein on the first user side, the method is: In response to receiving a first relationship establishment request from a second user, it is determined whether a first switch corresponding to the first user is in the ON state, the first user is a user with a preset attribute set so that posted media content works are hidden from a third user, the third user is a user who has not established a first relationship with the first user, and the first relationship establishment request is used to establish a first relationship from the second user to the first user. A relationship establishment method, comprising: when it is determined that the first switch corresponding to the first user is in the ON state, it is used to send a second relationship establishment request to the second user in response to the first user's approval operation for the first relationship establishment request, the second relationship establishment request being used to establish a second relationship from the first user to the second user.

2. After sending the aforementioned second relationship establishment request to the second user, In response to the establishment of a second relationship, a preset notification message is displayed to indicate that both the first and second relationships have been established. The method according to claim 1, further comprising displaying a first interaction control in the notification message for realizing an interaction operation between users having a first relationship and a second relationship.

3. The method according to claim 1 or 2, further comprising determining whether to display the first switch on the preset settings page based on whether the first user is a user with preset attributes.

4. Determining whether to display the first switch on the preset settings page based on whether the first user is a user with preset attributes is: When the first user is set as a user with preset attributes, the first switch and / or related information of the first switch are displayed in the designated area of ​​the preset settings page. The method according to claim 3, further comprising hiding the first switch and / or related information of the first switch in a designated area of ​​the preset settings page when the first user is set as a user that does not have preset attributes.

5. If it is determined that the first switch corresponding to the first user is in the OFF state, in response to the first user's preset trigger operation, an ON query subinterface for the first switch is popped up on the current operating interface, The method according to any one of claims 1 to 4, further comprising turning on the first switch in response to a trigger operation by the first user on the first option in the on-query subinterface.

6. The method according to claim 5, wherein the ON query subinterface includes a first option and a second option which includes an option to perform an authorization operation to keep the first switch OFF.

7. In response to the preset trigger operation of the first user, the following is performed: The method according to claim 5 or 6, further comprising popping up a first switch ON query subinterface related to the current authorization operation within the current operation interface in response to the first user's authorization operation for the first relationship establishment request.

8. In response to the preset trigger operation of the first user, the following is performed: In response to the first user entering the preset notification page, display the ON query subinterface for the first switch on the preset notification page, or The method according to claim 5 or 6, further comprising displaying an ON query subinterface of the first switch in the associated interface of the second user in response to an operation by the first user to enter the associated interface of the second user.

9. Turning on the first switch in response to the first user's trigger operation on the first option in the on-query subinterface is: In response to the first user's trigger operation on the first option in the on-query subinterface, the system jumps from the current operation interface to the preset settings page. The method according to any one of claims 5 to 8, further comprising turning on the first switch in response to a trigger operation by the first user on the preset setting page.

10. In response to the first user's trigger operation on the first option in the ON query subinterface, the first switch is turned ON, The method according to claim 7, further comprising sending a second relationship establishment request to the second user if the on-query subinterface relates to the first user's approval operation for the second user's first relationship establishment request.

11. After sending a second relationship establishment request to the second user in response to the first relationship establishment request's approval operation, If the approval operation is a trigger operation by the first user on the approval control corresponding to the first relationship establishment request on the preset notification page, then at least the approval control is replaced with a second interaction control. The method according to claim 8, further comprising jumping to the associated interface of the second user in response to the first user's trigger operation on the second interaction control.

12. A device for establishing a relationship, wherein on the first user side, the device is A switch state detection module configured to determine whether a first switch corresponding to a first user is in the ON state in response to receiving a first relationship establishment request from a second user, wherein the first user is a user having preset attributes set so that posted media content works are hidden from a third user, the third user is a user who has not established a first relationship with the first user, and the first relationship establishment request is used to establish a first relationship from the second user to the first user, Relationship establishment device comprising a relationship establishment module configured to send a second relationship establishment request to a second user in response to an approval operation by the first user for a first relationship establishment request, when it is determined that the first switch corresponding to the first user is in the ON state, wherein the second relationship establishment request includes a relationship establishment module used to establish a second relationship relationship from the first user to the second user.

13. It is an electronic device, One or more processors, Includes a memory device for storing one or more programs, Herein, when the one or more programs are executed by the one or more processors, an electronic device that causes the one or more processors to realize the relationship establishment method described in any one of claims 1 to 11.

14. A storage medium comprising a computer-executable instruction for performing the relationship establishment method described in any one of claims 1 to 11 when executed by a computer processor.