WO2019119362A1 - Method and apparatus for making friend by friend type-based filtration - Google Patents

Method and apparatus for making friend by friend type-based filtration Download PDF

Info

Publication number
WO2019119362A1
WO2019119362A1 PCT/CN2017/117809 CN2017117809W WO2019119362A1 WO 2019119362 A1 WO2019119362 A1 WO 2019119362A1 CN 2017117809 W CN2017117809 W CN 2017117809W WO 2019119362 A1 WO2019119362 A1 WO 2019119362A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
friend
terminal
request
type
Prior art date
Application number
PCT/CN2017/117809
Other languages
French (fr)
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 华为技术有限公司
Priority to PCT/CN2017/117809 priority Critical patent/WO2019119362A1/en
Priority to CN201780090912.4A priority patent/CN110622160B/en
Publication of WO2019119362A1 publication Critical patent/WO2019119362A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a method and device for making friends.
  • the embodiment of the present application provides a method and device for making friends, which can reduce the harassment caused by a friend request that does not meet the user's expectation, and improve the success rate of the friend.
  • an embodiment of the present application provides a method for dating, comprising: receiving, by a first terminal, a first friend type set for a first user; and when receiving, by the first terminal, a second user (the second user belongs to the first friend) When the friend of the type is requested, since the second user belongs to the first friend type, the second user meets the friend preference of the first user.
  • the first terminal may display the friend request of the second user on the first interface;
  • the terminal receives the friend request from the third user (the third user does not belong to the first friend type)
  • the third user meets the friend preference of the first user, and therefore, the first terminal
  • the third user's friend request may not be displayed in the first interface, thereby reducing the harassment caused by the user receiving a large number of friend requests that do not meet the user's expectation when the user views the friend request, and improving the chance of subsequent friend success.
  • the first friend type may specifically include: age, gender, education, graduate school, occupation, hobby/introduction, blood type, height, weight, constellation, hometown, marriage situation, address, and the first user. At least one option in the distance.
  • the method further includes: the first terminal sending the first friend type to the server, so that the server determines the first user At least one user belonging to the first friend type to alleviate the implementation complexity of the first terminal.
  • the second user's friend request includes the second user's personal information, and the second user's personal information satisfies the first friend type
  • the third user's friend request includes the third user's Personal profile, but the third user's profile does not satisfy the first friend type.
  • the first terminal may filter out the user belonging to the first friend type (ie, the second user) according to the personal data carried by the first terminal, and then display The friend request of the second user.
  • the method further includes: the first terminal prompting the first user to add the fourth user belonging to the first friend type as a friend
  • the distance between the first terminal and the second terminal of the fourth user is less than a threshold, so that the user can conveniently make a friend who meets his or her friends' expectations in real life.
  • the first terminal displays the friend request from the second user, including: the first terminal displays and receives in the lock screen interface, the pull-down menu, the pull-up menu, the negative one-screen menu, the notification bar, or the desktop.
  • the first terminal displays and receives in the lock screen interface, the pull-down menu, the pull-up menu, the negative one-screen menu, the notification bar, or the desktop.
  • the friend request of the second user is associated with the profile of the second user; wherein, after the first terminal displays the friend request from the second user, the method further includes: responding to the first user pair The first user's friend requests the input first operation, and the first terminal displays the second user's personal information, which helps the first user to fully understand the second user's related information before adding the second user as a friend.
  • the method further includes: the first terminal displaying the friend request of the third user on the second interface. That is to say, when receiving a friend request that does not meet the user of the first friend type, the terminal may display the friend request of the third user in other interfaces, so that the user can perform operations such as viewing or deleting.
  • the method further includes: in response to the second operation of the first user requesting the friend of the third user, the first terminal Modifying the first friend type, so that the third user belongs to the modified first friend type, thereby improving the accuracy rate of the subsequent first user using the friend function to receive the friend request.
  • the first friend type includes the hobby/introduction option, wherein the hobby/introduction option is set with: a hobby/introduction between the first user and a user belonging to the first buddy type Similarity, so you can make friends with your hobby.
  • the method further includes: the first terminal receives the second friend type set for the first user; the first terminal sends the second friend type to the server, so that the server belongs to the second friend type
  • the fifth user sends the friend request of the first user, so that the first user can request to become a friend with the specified type of user without the user's perception, thereby improving the efficiency of making friends, and omitting the cumbersome manual input condition of the friend each time. Settings.
  • the method further includes: the first terminal receives a third friend type set for the first user; the first terminal sends a third friend type to the server, so that the server belongs to the third friend type
  • the sixth user sends the first user's profile to prevent the first user's profile from being seen by other users who do not meet the expectations of the first user.
  • an embodiment of the present application provides a method for dating, comprising: receiving, by a server, a personal data of a first user sent by a first terminal and a friend type set for the first user; and acquiring a second user by the server (second When the user belongs to the friend type) querying the first request of the first user's profile, in response to the first request, the server may send the first user's profile to the second user's second terminal; when the server acquires the third user (The third user does not belong to the friend type) When the second request for the first user's profile is queried, the server does not respond to the second request.
  • the method further includes: the server acquiring a third request for the first user to query the personal data of the fourth user; if the first user belongs to the friend type set by the fourth user, the server is The first terminal sends the personal data of the fourth user; if the first user does not belong to the friend type set by the fourth user, the server does not respond to the third request.
  • the friend type includes: age, gender, education, graduate school, occupation, hobby/introduction, blood type, height, weight, constellation, hometown, marriage situation, address, and first user At least one option in the distance.
  • an embodiment of the present application provides a terminal, including: an acquiring unit, configured to: receive as a first a first friend type set by the user; receiving a friend request from the second user, the second user belongs to the first friend type; and receiving a friend request from the third user, the third user does not belong to the first friend type; the display unit uses The first user's friend request is displayed on the first interface, and the processing unit is configured to: not display the third user's friend request in the first interface.
  • the terminal further includes a sending unit, configured to: send the first friend type to the server, so that the server determines, for the first user, at least one user belonging to the first friend type.
  • the second user's friend request includes the second user's personal information, the second user's personal information satisfies the first friend type, and the third user's friend request includes the third user's personal information.
  • the third user's profile does not satisfy the first friend type, and the processing unit is further configured to: screen the second user belonging to the first friend type according to the second user's personal profile and the third user's personal profile.
  • the processing unit is further configured to: prompt the first user to add the fourth user as a friend, where the fourth user belongs to the first friend type, the first terminal and the fourth user The distance between the second terminals is less than a threshold.
  • the friend request of the second user is associated with the profile of the second user; the obtaining unit is further configured to: acquire a first operation of the first user requesting input by the friend of the second user;
  • the display unit is further configured to: display the personal data of the second user.
  • the display unit is further configured to: display a friend request of the third user on the second interface.
  • the obtaining unit is further configured to: obtain a second operation that the first user requests the third user's friend to input; the processing unit is further configured to: modify the first friend type, so that The three users belong to the modified first friend type.
  • the acquiring unit is further configured to: receive a second friend type set for the first user; the sending unit is further configured to: send a second friend type to the server, so that the server The fifth user sends a friend request of the first user, and the fifth user belongs to the second friend type.
  • the obtaining unit is further configured to: receive a third friend type set for the first user; the sending unit is further configured to: send a third friend type to the server, so that the server The sixth user sends the personal profile of the first user, and the sixth user belongs to the third friend type.
  • an embodiment of the present application provides a server, including: an acquiring unit, configured to: receive a personal data of a first user sent by a first terminal, and a friend type set for the first user; and obtain a second user query a first request of a user's profile, the second user belongs to the friend type; and a second request for the third user to query the first user's profile, the third user does not belong to the friend type; and the sending unit is configured to: Transmitting, to the second terminal of the second user, the personal data of the first user; and the processing unit, configured to: not respond to the second request.
  • the obtaining unit is further configured to: obtain a third request for the first user to query the personal data of the fourth user; and the processing unit is further configured to: determine whether the first user belongs to the fourth user setting a friend type; if the first user belongs to the friend type set by the fourth user, the sending unit is further configured to: send the fourth user's personal data to the first terminal; if the first user does not belong to the fourth user setting The buddy type, the processing unit, is further configured to: not respond to the third request.
  • an embodiment of the present application provides a terminal, including: a processor, a memory, a bus, and a communication interface; the memory is configured to store a computer to execute an instruction, and the processor is connected to the memory through the bus.
  • the processor executes the computer execution instruction stored in the memory to enable the terminal to execute any of the above-mentioned dating methods.
  • an embodiment of the present application provides a server, including: a processor, a memory, a bus, and a communication interface; the memory is configured to store a computer execution instruction, and the processor is connected to the memory through the bus, when the server is running The processor executes the computer-executed instructions stored by the memory to cause the server to perform any of the above-described dating methods.
  • an embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores an instruction, when the instruction is run on any one of the foregoing terminals, causing the terminal to execute any one of the foregoing friendship methods. .
  • an embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores an instruction, when the instruction is run on any one of the servers, causing the server to execute any one of the foregoing method .
  • the embodiment of the present application provides a computer program product including instructions, when the terminal runs on any of the foregoing terminals, causing the terminal to perform any of the above-mentioned dating methods.
  • the embodiment of the present application provides a computer program product including instructions, when the server runs on any of the foregoing servers, causing the server to execute any of the foregoing dating methods.
  • the names of the components in the terminal or the server are not limited to the device itself, and in actual implementation, the components may appear under other names. As long as the functions of the various components are similar to the embodiments of the present application, they are within the scope of the claims and their equivalents.
  • FIG. 1 is a schematic structural diagram 1 of a terminal according to an embodiment of the present disclosure
  • FIG. 2 is a schematic structural diagram of a programming module in a terminal according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram 1 of an application scenario of a friend method according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram 2 of an application scenario of a friend method according to an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram 3 of an application scenario of a friend method according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram 4 of an application scenario of a friend method according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram 5 of an application scenario of a friend method according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram 6 of an application scenario of a friend method according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram 7 of an application scenario of a friend method according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram 8 of an application scenario of a friend method according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic diagram 9 of an application scenario of a friend method according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic diagram of an application scenario of a friend method according to an embodiment of the present application.
  • FIG. 13 is a schematic diagram of an application scenario of a friend method according to an embodiment of the present application.
  • FIG. 14 is a schematic diagram of an application scenario of a friend method according to an embodiment of the present application.
  • FIG. 15 is a schematic diagram of an application scenario of a method for making friends according to an embodiment of the present application.
  • 16 is a schematic diagram of an application scenario of a friend method according to an embodiment of the present application.
  • FIG. 17 is a schematic diagram of an application scenario of a friend method according to an embodiment of the present application.
  • FIG. 18 is a schematic diagram of an application scenario of a friend method according to an embodiment of the present disclosure.
  • FIG. 19 is a schematic structural diagram 2 of a terminal according to an embodiment of the present disclosure.
  • FIG. 20 is a schematic structural diagram 1 of a server according to an embodiment of the present disclosure.
  • FIG. 21 is a schematic structural diagram 3 of a terminal according to an embodiment of the present disclosure.
  • FIG. 22 is a schematic structural diagram 2 of a server according to an embodiment of the present application.
  • first and second are used for descriptive purposes only, and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining “first” and “second” may include one or more of the features either explicitly or implicitly. In the description of the embodiments of the present application, “multiple” means two or more unless otherwise stated.
  • a friend method provided by the embodiment of the present application can be applied to a mobile phone, a tablet computer, a wearable device, an augmented reality (AR), a virtual reality (VR) device, a notebook computer, a super mobile personal computer (ultra)
  • the mobile phone, the UMPC, the netbook, the personal digital assistant (PDA), and the like, are not limited in any way.
  • the terminal in the embodiment of the present application may be the mobile phone 100.
  • the embodiment will be specifically described below by taking the mobile phone 100 as an example. It should be understood that the illustrated mobile phone 100 is only one example of the above terminal, and the mobile phone 100 may have more or fewer components than those shown in the figure, two or more components may be combined, or Has a different component configuration.
  • the handset 100 can communicate with other electronic devices 102 and 104, other than the handset 100, and the server 106.
  • the handset 100 can include a bus 110, a processor 120, a memory 130, a user input module 150, a display module 160, a communication interface 170, and other similar and/or suitable components.
  • Bus 110 may be circuitry that interconnects the above elements and communicates (e.g., control messages) between the elements.
  • the processor 120 can receive commands from the other components (such as the memory 130, the user input module 150, the display module 160, the communication interface 170, the communication configuration control module 170, etc.) through the bus 110, can interpret the received commands, and can Interpret commands to perform calculations or data processing.
  • the other components such as the memory 130, the user input module 150, the display module 160, the communication interface 170, the communication configuration control module 170, etc.
  • Memory 130 may store commands or data received from processor 120 or other components (e.g., user input module 150, display module 160, communication interface 170, etc.) or commands or data generated by processor 120 or other components.
  • processor 120 e.g., user input module 150, display module 160, communication interface 170, etc.
  • Memory 130 may include programming modules such as kernel 131, middleware 132, application programming interface (API) 133, applications 134, and the like. Each of the above programming modules may be implemented in software, firmware, hardware, or a combination of two or more thereof, as described in detail in the related description of FIG.
  • the kernel 131 may control or manage system resources (e.g., bus 110, processor 120, memory 130, etc.) for performing operations or functions implemented by other programming modules (e.g., middleware 132, API 133, and applications 134). Additionally, the kernel 131 can provide an interface that can access and control or manage the various elements of the handset 100 by using the middleware 132, the API 133, or the application 134.
  • system resources e.g., bus 110, processor 120, memory 130, etc.
  • other programming modules e.g., middleware 132, API 133, and applications 134.
  • the kernel 131 can provide an interface that can access and control or manage the various elements of the handset 100 by using the middleware 132, the API 133, or the application 134.
  • the middleware 132 can be used between the API 133 or the application 134 and the kernel 131 with API 133 or application 134 It operates in communication with the kernel 131 and exchanges data therewith.
  • the middleware 132 can be configured as an intermediary for communication between the API 133 or the application 134 and the kernel 131.
  • a priority may be assigned to at least one of the one or more applications 134 (where the priority may be Load balancing of work requests is performed using methods of system resources (e.g., bus 110, processor 120, memory 130, etc.) of handset 100.
  • the API 133 is an interface by which the application 134 can control functions provided by the kernel 131 or the middleware 132, and can include, for example, at least one interface or function for file control, window control, image processing, character control, and the like.
  • Applications 134 may include, for example, a home page application, a dialer application, a short message service (SMS)/multimedia message service (MMS) application, an instant messaging (IM) application, a browser application, a camera application, an alarm clock application, a contact application, voice dialing.
  • SMS short message service
  • MMS multimedia message service
  • IM instant messaging
  • browser application a browser application
  • camera application a camera application
  • alarm clock application a contact application
  • voice dialing voice dialing.
  • email (e-mail) applications calendar applications, media player applications, photo album applications, clock applications, and any other suitable and/or similar applications.
  • the user input module 150 can receive commands or data input from a user via input-output means (eg, sensors, keyboards, touch screens, etc.) and can transmit the received commands or data to the processor 120 or memory 130 via the bus 110.
  • Display module 160 can display video, images, data, and the like to the user.
  • the display module 160 can display various information (eg, multimedia data, text data) received from the above components.
  • Communication interface 170 can control a short range communication connection with another electronic device 102.
  • the communication interface 170 may stop a scanning operation of waiting for receiving a signal from a neighboring electronic device or stopping a broadcast operation of a broadcast signal.
  • the communication interface 170 stops waiting for a scan operation to receive a signal from a neighboring electronic device or a broadcast operation to stop the broadcast signal.
  • the communication interface 170 can control the period of the scanning or broadcast operation.
  • handset 100 can communicate with another electronic device using communication interface 170.
  • communication interface 170 can communicate with another electronic device 104, server 106, and the like.
  • Communication interface 170 can communicate with other electronic devices 104, servers 106, etc., either directly or through network 162.
  • communication interface 170 can operate to connect handset 100 to network 162.
  • FIG. 3 is a block diagram showing a configuration of a programming module in accordance with an embodiment of the present disclosure.
  • programming module 310 can be included (or stored) in handset 100 (e.g., memory 130) shown in FIG. At least a portion of programming module 310 can be implemented as software, firmware, hardware, or a combination of two or more of them.
  • Programming module 310 can be implemented as hardware (eg, hardware 201) and can include an operating system (OS) that controls resources associated with an electronic device (eg, cell phone 100) and/or various applications executing in the OS (eg, Application 370).
  • OS operating system
  • the OS can be Android, iOS, Windows, Symbian, Tizen, Bada, and the like.
  • programming module 310 can include kernel 320, middleware 330, API 360, and/or application 370.
  • Kernel 320 may include system resource manager 321 and/or device driver 323.
  • the system resource manager 321 can include a process manager (not shown), a memory manager (not shown), and a file system manager (not shown).
  • the system resource manager 321 can perform control, allocation, recovery, and the like of system resources.
  • the device driver 323 may include, for example, a display driver (not shown), a camera driver (not shown), blue A dental driver (not shown), a shared memory driver (not shown), a USB driver (not shown), a keypad driver (not shown), wireless-fidelity (Wi-Fi) Drivers (not shown) and/or audio drivers (not shown).
  • device driver 323 may include an inter-process communication (IPC) driver (not shown).
  • IPC inter-process communication
  • the middleware 330 may include a plurality of modules that are implemented in advance to provide functions shared by the application 370.
  • middleware 330 can provide functionality to application 370 via API 360 to enable application 370 to efficiently utilize limited system resources within the electronic device.
  • the middleware 330 eg, the middleware 132
  • the middleware 330 may include at least one of the following: a runtime library 335, an application manager 341, a window manager 342, a multimedia manager 343, a resource manager 344, and a power supply.
  • the runtime library 335 can include library modules, such as used by a compiler, to add new functionality by using a programming language during execution of the application 370. According to an embodiment disclosed herein, the runtime 335 can perform functions related to input and output, management of memory, arithmetic functions, and the like.
  • the application manager 341 can manage, for example, the lifecycle of at least one application 370.
  • Window manager 342 can manage the graphical user interface (GUI) resources used on the screen.
  • the multimedia manager 343 can detect a format for reproducing various media files, and can encode or decode the media file by using a codec suitable for the relevant format.
  • the resource manager 344 can manage resources of at least one application 370, such as source code, memory, storage space, and the like.
  • the power manager 345 can operate with a basic input output system (BIOS), can manage a battery or a power source, and can provide power information for operation and the like.
  • Database manager 346 can manage the database in a manner that enables generation, searching, and/or changing of a database to be used by at least one application 370.
  • the package manager 347 can manage the installation and/or update of applications distributed in the form of package files.
  • the connection manager 348 can manage wireless connections such as Wi-Fi and Bluetooth (BT).
  • the notification manager 349 can display or report events such as arrival messages, appointments, proximity alerts, etc. to the user in a manner that does not bother the user.
  • the location manager 350 can manage location information of the electronic device.
  • the graphics manager 351 can manage graphics effects to be provided to the user and/or UIs related to the graphics effects.
  • Security manager 352 can provide various security functions for system security, user authentication, and the like. According to an embodiment of the present disclosure, when an electronic device (eg, mobile phone 100) has a phone function, the middleware 330 may further include a phone manager (not shown) for managing voice phone call functions of the electronic device and/or Video call function.
  • the middleware 330 can generate and use a new middleware module through various functional combinations of the internal component modules described above.
  • the middleware 330 can provide modules specialized according to the type of OS to provide differentiated functions.
  • the middleware 330 can also dynamically delete some of the existing components, or can add new components. Accordingly, the middleware 330 may omit some of the elements described in the various embodiments disclosed herein, and may include other elements, or some of these elements may be replaced with elements that perform similar functions and have different names.
  • API 360 (eg API 133) is a collection of API programming functions and can have different configurations depending on the OS. In the case of, for example, Android or iOS, one API set can be provided to each platform.
  • Application 370 may include, for example, a preloaded application and/or a third party application.
  • Application 370 eg, application 134) may include, for example, a home page application 371, a dialing application 372, an SMS/MMS application 373, IM application 374, browser application 375, camera application 376, alarm application 377, contact application 378, voice dialing application 379, email application 380, calendar application 381, media player application 382, album application 383, clock application 384, and Any other suitable and/or similar application.
  • At least a portion of programming module 310 can be implemented by instructions stored in a non-transitory computer readable storage medium. When instructions are executed by one or more processors (eg, one or more processors 210), the one or more processors can perform functions corresponding to the instructions.
  • the non-transitory computer readable storage medium can be the memory 230.
  • At least a portion of programming module 310 can be implemented (eg, executed) by, for example, one or more processors 210.
  • At least a portion of programming module 310 can include modules, programs, routines, sets of instructions, and/or processes for performing one or more functions.
  • the names of the elements of the programming module may vary depending on the type of OS.
  • a programming module in accordance with an embodiment of the present disclosure may include one or more of the above-described elements. Alternatively, some of the above elements may be omitted from the programming module. Alternatively, the programming module may also include additional components.
  • the operations performed by the programming modules or other elements in accordance with embodiments of the present disclosure may be processed in a sequential method, a parallel method, a repeated method, or a heuristic method. In addition, some operations may be omitted, or other operations may be added in the operation.
  • the application 370 may further include mobile social software with a dating function.
  • the dating function refers to the function of the user to meet new friends on the mobile social software.
  • the user can send a friend request to other users on the mobile social software.
  • the other party requests through the friend
  • the user can become a friend with the user; of course, the user can also receive a friend request sent by other users on the mobile social software, and the user requests through the friend. You can become friends with it later.
  • the user can view the personal information of the other party's photos, age, occupation, etc. before being friends with the other party, and can also view the personal data of the other party after being friends with the other party, and the embodiment of the present application does not impose any restrictions on this.
  • the terminal may associate the user's profile information with other users in the friend request, so that other users can view the other party's personal information after receiving the friend request.
  • the user can search for the user who uses the friend function in the mobile social software.
  • each terminal that opens the dating function can periodically report the location information of the user to the server.
  • the user will trigger.
  • the terminal obtains a user closer to the server from the server.
  • the terminal may display the obtained nearby users (for example, “Sara” and “Mike” in FIG. 3) to the user in the form of a list.
  • the user selects the friends they want to make in the list.
  • the above list generally only includes the avatars and nicknames of nearby users, that is, the user needs to rely on the user's image and nickname to judge whether they are willing to make friends with a searched user, which makes the user difficult to be fast and accurate.
  • Get potential friends who meet their expectations For example, if the user wants to make a friend who is similar to his age through the dating function, the search results shown in FIG. 3 are ineffective for the user to meet the user's expected invalid search results, and these invalid search results not only reduce the success rate of the friends, Adding a friend request that receives a large number of users who do not meet expectations may also cause harassment to the user, making the user's experience with the above-mentioned dating function poor.
  • the user may set in advance on the social software to allow the terminal to receive which friend requests are sent by the user.
  • user settings are only allowed to receive Peking University 2013 graduation
  • the user sends a friend request to it.
  • the subsequent terminal can filter the friend request sent by other terminals according to the setting, so that the friend request that meets the user's expectation (ie, the graduated from Peking University 2013) is prompted to the user, so as to prevent the user from receiving the user's expectation.
  • the harassment requested by the friend thereby improving the success rate of the social software.
  • the user can also set which users to send their own friend requests in advance on the social software.
  • the user setting automatically or manually sends a friend request associated with his or her own profile to a user whose location is Xi'an and whose occupation is an accountant. Then, only the user who is located in Xi'an and whose occupation is accountant has the right to read the personal data of the user in the above friend request, and at the same time, only the user who is located in Xi'an and whose occupation is accountant has a further chance to send the friend.
  • the requested user becomes a friend, which not only avoids harassment from users who do not meet the user's expectations, but also reduces the risk of privacy leakage caused by the user's personal data being read by any user.
  • the mobile social software with the dating function is installed on the terminal 1: “friends” APP, and the user Sam holding the terminal 1 uses the “friends” APP for the first time, such as As shown in (b) of Figure 4, the "Friends” app will display a complete personal information interface where Sam can fill in or modify his or her personal information.
  • the personal data may include a name 1009, a personal photo option 1001, an age option 1002, an academic option 1003, a graduate college option 1004, a career option 1005, and a work location option. 1006, one or more of the hobby/introduction option 1007 and the gender option 1008.
  • the above personal data may also include personal information of blood type, height, weight, constellation, hometown, marriage and love, and address, etc., and this application does not impose any restrictions.
  • the content of some or all of the above-mentioned personal data may also be automatically generated by the terminal for the user, which will be elaborated in the following embodiments.
  • Sam enters the "Friends” app After Sam enters the "Friends" app, he can further set in his settings interface which kind of user he is willing to receive (which can be referred to as the first friend type in this application) to send to his friend request. For example, as shown in (a) of FIG. 5, after Sam enters the setting interface 401 of the "friends" APP, the option of "receiving who's friend request" can be selected to set which type of user to receive the friend. request.
  • the first friend type in the “receiving friend request” may specifically include an age option 4011, a gender option 4012, an academic option 4013, a graduate college option 4014, and a career option 4015.
  • the embodiment of the present application does not impose any limitation on one or more of the distance option 4016 and the hobby/introduction option 4017.
  • Sam can also set a friend request that allows everyone to send it, that is, the first friend type is any type of user.
  • each option in the first friend type is “and”, and each setting condition in each option is an “or” relationship.
  • Sam selects the type of "female” in the gender option 4012, and selects the same “Tsinghua University” as the Sam alma mater in the graduate school option 4014.
  • Type the first friend type set by Sam is the user whose gender is “female” and graduated from “Tsinghua University", indicating that Sam intends to make friends with this type of user.
  • the terminal 1 when Sam uses the above-mentioned dating function provided by the terminal 1, it can receive it from the server, Receive broadcasts of other terminals, or establish wireless connections with other terminals (for example, Bluetooth connection, Wi-Fi connection, ZigBee connection), etc. to obtain other users' personal data. Further, the terminal 1 may select a user of the first friend type that matches the setting for Sam in the profiles, and display the user of the first friend type that meets the Sam setting in the form of a friend request.
  • wireless connections for example, Bluetooth connection, Wi-Fi connection, ZigBee connection
  • Sam receives the friend request from the user whose gender is “female” and the graduate school is “Tsinghua University”, and the friend request that does not meet the above-mentioned first friend type does not prompt to Sam, thereby reducing the user.
  • a friend request is received, a large number of buddies that do not meet the user's expectations are received to harass the user, and the chances of success in subsequent friends are improved.
  • users who do not meet Sam's expectations can view Sam's profile, but can't make a friend request, or the user who does not meet Sam's expectations can't view Sam's profile.
  • the Sam carrying terminal 1 enters a coffee shop and can open a friend function such as finding a friend, shaking or nearby people. At this time, the terminal 1 passes.
  • the Bluetooth function can detect other terminals that also open the dating function within a certain distance range, such as the terminal 2 of Jean in FIG. 6 and the terminal 3 of Lucy.
  • the personal data 1 of Jean is stored in the terminal 2
  • the personal data 2 of Lucy is stored in the terminal 3.
  • the terminal may also store only the identity of the user, and the corresponding personal data is stored on the server.
  • the terminal 1 can acquire Jean's profile 1 and Lucy's profile 2 by listening to the Bluetooth broadcast or establishing a Bluetooth connection with the terminal 2 or the terminal 3. Further, the terminal 1 can determine whether there is a user who meets the Sam expectation in the personal data 1 and the personal data 2 according to the first friend type set by Sam in the "receiving friend request", that is, the gender is "female” and is in "Tsinghua” University graduated users.
  • the terminal 1 can determine that Jean is a user of the first friend type set in accordance with Sam. Further, the terminal 1 can generate a friend request of Jean and display the friend request, so that Sam can obtain the potential friend existing nearby.
  • the terminal 1 can also obtain Jean's profile 1 and Lucy's profile 2 through the server. For example, when the terminal 1 detects that Sam opens the "friends in the vicinity" function, the terminal 1 can be triggered to send the location information of the terminal 1 to the server at this time, and request the server to obtain other similarities in the vicinity of the terminal 1 that also enable the friend function. User's profile. Then, the server can transmit the personal data 1 of Jean and the personal data 2 of Lucy reported by other terminals (such as the terminal 2 and the terminal 3) that are closer to the terminal 1 to the terminal 1 according to the location information of the terminal 1.
  • the server can also send the identifiers of the terminal 2 and the terminal 3 that are closer to the terminal 1 to the terminal 1, so that the terminal 1 can establish a connection with the terminal 2 and the terminal 3 according to the identifiers of the terminal 2 and the terminal 3, thereby obtaining the Jean. Profile 1 and Lucy's profile 2.
  • the terminal 2 may broadcast an identification 1 for indicating Jean's profile in the Bluetooth broadcast
  • the terminal 3 may broadcast an identification 2 for indicating Lucy's profile in the Bluetooth broadcast. Then, after the terminal 1 listens to the Bluetooth broadcast, the terminal 1 may be requested to search for personal data corresponding to the identifier 1 and the identifier 2, namely, the personal profile 1 of Jean and the profile 2 of Lucy.
  • the terminal 1 when the terminal 1 displays a friend request from Jean, the terminal 1 can also indicate that the terminal 2 of the Jean rings or flashes the light through communication means such as Bluetooth, so that Sam can accurately locate and conform to it in real life. Dating the expected user Jean. Of course, Sam's terminal 1 can also ring or flash the lights so that the user who issued the friend request confirms the specific location of the user Sam who received his friend request.
  • the terminal 1 determines that the first friend type that meets the Sam setting, or determines one or more users that have a higher degree of matching with Sam's profile
  • the terminal 1 (or a wearable device connected to the terminal 1) It is also possible not to directly display a friend request from Jean, but to prompt a potential friend target near Sam by means of ringing sound, vibration frequency, or light color.
  • the terminal 1 can determine that the Jean is a user who meets the expectations of his friends according to Jean's profile. Then, when it is detected that the distance between Jean and Sam is getting closer, the vibration frequency of the terminal 1 can be larger and larger to prompt. Sam is in line with his friends' expectations that the user is approaching.
  • the terminal 1 can determine the distance between the Jean and the Sam by detecting the signal strength or the GPS position between the terminal 2 and the second terminal.
  • the embodiment of the present application does not impose any limitation on this.
  • the terminal 1 when the terminal 1 determines that the user of the first friend type that meets the setting is Jean, if the terminal 1 is in a lock screen or a black screen state, as shown in FIG. 7 , the terminal 1 can display a lock screen interface. And in the lock screen interface, it shows that the friend request from Jean has been received, thereby prompting Sam to become a friend with the user Jean who matches the first friend type.
  • the terminal 1 can also display the friend request in an interface such as a drop-down menu, a pull-up menu, a desktop, a notification bar, and a negative one-screen menu, and the embodiment of the present application does not impose any limitation on this.
  • the negative one-screen menu may refer to an interface that slides from the desktop (or the main screen) to the right, and the interface can display the functions, applications, and subscribed services and information commonly used by the user.
  • the negative one-screen menu is also called Desktop assistant, shortcut menu, and more.
  • terminal 1 can display the complete Jean profile, where Jean's The graduation institution filled out in the personal data is “Tsinghua University” and the gender is “female”.
  • the "Friends” app can also be set to allow Sam and Jean to become friends before allowing them to view their profile and avoid revealing user information to users outside of their friends.
  • the terminal 1 Since the terminal 1 prompts Sam to receive the friend request in accordance with the first friend type set by Sam, when the terminal 1 receives the friend request from Jean, the default Sam can receive the friend request of Jean and become a friend with Jean; Alternatively, when the terminal 1 prompts Sam to receive a friend request from Jean, Sam may become a friend with Sam after the friend requests through the friend; or, when the terminal 1 prompts Sam to receive a friend request from Jean, Sam may actively Jean sends a friend request, and when Jean sends a friend request sent by Sam, it becomes a friend with Jean.
  • the embodiment of the present application does not limit the specific way of adding a friend as a friend.
  • the friend request in the friend push interface shown in (a) of FIG. 8 may also be sent by the server to the terminal 1. Specifically, after Sam selects the first friend type whose gender is “female” and the graduate school is selected as “Tsinghua University”, the terminal 1 may send the first friend type set by Sam to the server of the “friends” APP. Carry out maintenance.
  • the server may determine one or more users who meet the gender as “female” and the graduate school is “Tsinghua University” according to the first friend type set by Sam, and send the friend request of the user to the terminal 1, by the terminal. 1 Display the friend request. At this time, Sam can still view the friend request determined by the server for Sam to meet Sam's expectations in the friend push interface shown in FIG. 8.
  • the terminal 1 may use the personal data of the user of the first friend type set by Sam, such as Jean and GiGi's personal data, as the search result, and the search result. Display it to Sam as a list. Sam can select the corresponding user to add as a friend in the list, or view the user's profile.
  • the terminal 1 can also sort the users in the list according to the distance between Sam and Jean and GiGi according to the distance, in order of increasing distance, in order to improve the success rate of the friends.
  • the server or other terminal may not send the friend request of the user to the terminal 1 for the first friend type that does not meet the Sam setting; or the terminal 1 may automatically block the friend request of the user sent by the server or other terminal; or The terminal 1 can also display the friend requests of these users in the mask list 601 shown in FIG.
  • the terminal 1 receives the personal data of Jean and Lucy in the coffee shop shown in FIG. 6, wherein the profile of Lucy does not conform to the first friend type set by Sam, then the terminal 1 can use Lucy's
  • the friend request is displayed in the mask list 601 in the form of a mask message, and Sam can view or delete the Lucy friend request in the mask list 601.
  • Sam may perform a rightward sliding operation on the masked message from Lucy in the mask list 601.
  • the terminal 1 may call the response in response to the sliding operation of Sam.
  • the delete button 701 and the blacklist button 702 of the message are masked.
  • Sam can delete the friend request of Lucy in the mask list 601 by clicking the delete button 701, or Sam can manually add Lucy to the blacklist by clicking the blacklist button 702. After Lucy is blacklisted, Terminal 1 will block all subsequent messages from Lucy.
  • Sam can click on the masked message from Lucy in the mask list 601 to view the full profile of the blocked Lucy.
  • Sam can also click on the whitelist button 703 to manually add Lucy to the whitelist. After Lucy is added to the whitelist, if the terminal 1 subsequently receives the message from Lucy again, the terminal 1 will prompt the message sent by Lucy to Sam.
  • the terminal 1 may prompt Sam to return to the setting shown in (a) of FIG. 5.
  • the interface 401 resets the first friend type in the "receive friend request".
  • the terminal 1 can automatically optimize the first friend type preset by Sam according to Lucy's profile.
  • Sam’s original first friend type includes only the graduate school as “Tsinghua University”, while Lucy’s profile shown in (b) of Figure 11 shows Lucy’s graduate school as “Beijing”. the University”.
  • the terminal 1 can optimize the option of the graduate school in the first friend type as "Tsinghua University” or "Peking University", and prompts Sam to determine the optimization result.
  • the terminal 1 modifies the content of the option of the graduated college in the saved first friend type to "Tsinghua University" or “Peking University", so that the subsequent graduate school is “Tsinghua University”. Or "Beijing The friend request of the user of the university can be sent to the terminal 1, thereby improving the success rate of subsequent friends using the "friend” APP.
  • the terminal may also automatically assist the user to generate one or more of his personal data according to a big data statistics, an image recognition function, or a positioning function.
  • the terminal 1 can read the location information of the terminal 1 during the working hours (for example, from 9:00 am to 6:00 pm), so that the read location information with the highest frequency of occurrence is used as the working place of Sam. And fill in the work location option 1006 shown in (b) of FIG.
  • the terminal 1 may perform face recognition on the personal photos uploaded by Sam in the personal photo option 1001 of his profile, identify the gender and age of Sam according to the facial features, and fill in the identified gender and age respectively. 4 (b) shown in age option 1002 and gender option 1008.
  • the terminal 1 can also send the behavior data of Sam on the terminal 1 to the server of the “friends” APP, and the server generates the user's hobby/introduction by means of big data statistics, etc., and sends the generated specific hobby/introduction to the server.
  • the terminal 1 fills in the hobby/introduction generated by the server for Sam by the terminal 1 in the hobby/introduction option 1007 of the above profile.
  • the user's profile may be considered to be late sleeping; if it is detected that the user often uses the game-like APP on the terminal, the user's hobby may be considered as playing the game; If it is detected that the user often spends more than 10 hours in the company, the user's profile may be considered to be overtime; if the user is frequently browsed for technology-related programs, web pages, news or posts, the user's hobby may be considered as technology; If it is detected that the user frequently browses military related programs, webpages, news or posts, the user's hobby is considered to be military; if the user is frequently browsed to the car-related programs, webpages, news or posts, the user's hobbies can be considered.
  • the user's hobby can be regarded as entertainment; if it is detected that the user's location information often appears in the tourist attraction, the user's hobby can be considered as Travel; if it is detected that the user buys more movie tickets on the terminal, it can be considered
  • the user's hobby is a movie; if it is detected that the user purchases more books on the terminal, the user's hobby may be regarded as reading; if it is detected that the user purchases more clothing on the terminal, the user's hobby may be considered as wearing If it is detected that the sports app installed on the terminal is active, the user's hobby is considered to be sports.
  • the hobby/introduction predicted by the terminal or the server for the user may include one or more, and the embodiment of the present application does not impose any limitation on this.
  • the terminal 1 When the terminal 1 displays Sam's profile, it can also use a specific tag to distinguish between the option that Sam fills in the profile and the option that the terminal automatically generates for Sam. As shown in Figure 13, the age of Sam in Sam's profile and the "late sleep” and “movie” in the hobby/introduction are automatically generated by the terminal, so the terminal can use different colors or logos to mark the age. And the "sleeping" and "movie” options in the hobby/introduction. In this way, Sam can quickly find and correct the option content generated by terminal 1 from his profile.
  • the terminal 1 can send Sam's personal data to the server of the "friends" APP, and the server determines whether the Sam matches the first friend type set by other users according to the personal data set by Sam.
  • Sam sends the result of the user's request in the form of a friend request or responds to the search of other users to the terminal of the corresponding user, so as to improve the success rate of the friend.
  • Sam's friend request can include Sam's profile.
  • the setting interface 401 of the "friends" APP may include the option of "Who sends a friend request to", and the user can set which type of user to enter after this option is entered. (This can be referred to as the second buddy type in this application) to send his own friend request.
  • the second friend type in the "Who is sent a friend request" is similar to the first friend type in the "Who receives a friend request", and may also include the age option 1411.
  • the embodiment of the present application does not impose any limitation on one or more of the gender option 1412, the academic option 1413, the graduate school option 1414, the career option 1415, the distance option 1416, and the hobby/introduction option 1417.
  • Sam can also set up to allow friends to be sent to everyone.
  • the relationship between the respective options of the second friend type is “and”, and each setting condition in each option is an “or” relationship.
  • Sam selects the type “20-30” in the age option 1411, and selects the "communication” and “IT” types in the career option 1415, then the second friend type set by Sam is Users who are between “20-30” and whose occupation is in the "communication” or "IT” field indicate that Sam intends to make friends with this type of user.
  • the terminal 1 may send the above-mentioned second friend type set by Sam to the server of the “friends” APP for maintenance.
  • the server may determine whether the personal data of the user satisfies the second friend type set by Sam, and when the personal data of the user meets the age between “20-30”, When the occupation is in the "communication” or "IT” field, the server can send Sam's friend request to the user's terminal.
  • the terminal 1 when the terminal 1 receives the personal data of other users sent by other terminals, the terminal 1 can determine whether the personal data of the user satisfies the second friend type set by Sam, and when the personal data of the user meets the age of "20" Between the -30" and the occupation is the "communication” or "IT” field, the terminal 1 can send Sam's friend request to the user's terminal.
  • the terminal 1 can automatically send the Sam friend request to the user matching the second friend type, and then become friends with other users, that is, the user is not aware. In this case, you can request to be a friend with the specified user, which can improve the efficiency of making friends, and at the same time save the cumbersome setting of manually adding a friend each time.
  • Sam when Sam sets the hobby/introduction option 1416 in the second friend type described above, Sam can specifically set to allow the friend request to be sent to the two users when the degree of similarity of the hobby/introduction is reached.
  • the terminal 1 can preset a plurality of levels to show the similarity degree of the hobby/introduction between the two users, for example, when the level is "some chat", it indicates that when two users are When the similarity of the hobby/introduction is greater than 30%, Sam allows to send his friend request to the other party; when the rating is "like-minded", it means that when the similarity of the hobby/profile between the two users is greater than 60%, Sam allows Sending a friend request to the other party; when the rating is "Heart has a heart”, it indicates that when the similarity of the hobby/profile between the two users is greater than 80%, Sam allows to send his friend request to the other party.
  • Sam can set the similarity of the hobby/introduction between the two users by selecting different levels, and then The terminal 1 can determine whether to send Sam's friend request to the other party according to the similarity.
  • Sam may also manually input the specific hobby/introduction of the friend he or she wants to make in the hobby/introduction option 1416, or select from a plurality of hobbies/introductions of the candidate.
  • the friend request to receive another friend or the request of the friend can be sent to others, thereby improving the follow-up friends. The chance of success.
  • the server when the server queries a user (such as Jean) that meets the second friend type set by Sam, the server can send Sam's friend request to Jean's terminal.
  • a user such as Jean
  • the server can send Sam's friend request to Jean's terminal.
  • Sam's friend request contains Sam's profile
  • Jean can Further check out Sam's profile.
  • the terminal of Jean receives the personal data from Sam
  • the wearable device for example, the head mounted electronic device shown in FIG. 16
  • the user is using the headset.
  • the electronic device, then Jean's terminal can display the received Sam's personal information on the head-mounted electronic device, so as to promptly present the received personal data to Jean.
  • the terminal 1 when any of the display interfaces in FIG. 4 to FIG. 15 is displayed, if the terminal 1 is detected to be connected to the wearable device, indicating that the user is using the wearable device, the terminal may send the display interface generated in real time to the display device.
  • the display device is displayed on the wearable device.
  • the wearable device can also be used as a terminal to implement the above-mentioned friendship function.
  • the above-mentioned dating function provided by the "friends” APP may also have the function of setting the "receive friend request” shown in FIG. 5 to FIG. 13 and the functions shown in FIGS. 14 to 16.
  • Set the "To whom to send friend request” feature That is, the user may set a friend request to receive the user of the first friend type, and may also set to send a friend request to the second friend type user (the first friend type and the second friend type may be the same or different).
  • the user can send his friend request to the ideal receiving object, and receive the friend request of the user who meets the criteria for adding the friend. Then, after the double screening of the first friend type and the second friend type, "APP can help users better lock potential friends who meet the user's expectations in many friend requests, avoiding providing users with a large number of invalid friend requests that do not meet the user's expectations, causing harassment to users, and increasing the chances of successful friends.
  • the user may also set which specific users to disclose their personal photos, age, occupation, and the like in the above-mentioned "friends" APP.
  • the third friend type in the above “Who is open to the profile” may specifically include an age option, a gender option, a qualification option, a graduate institution option, a career option, and a distance option with itself. And one or more of the hobby/introduction options.
  • Sam can also set the right to open the reading of his personal data to everyone, and the embodiment of the present application does not impose any restrictions on this.
  • each option in the third friend type is “and”, and each setting condition in each option is an “or” relationship.
  • Sam sets a friend request for Sam to a second friend type whose age is "20-30", whose academic qualification is “undergraduate” and whose occupation is “IT, communication” in the setting interface shown in FIG.
  • Sam sets the third friend type only to the age of "20-30", the academic degree is “undergraduate”, the occupation is "IT, communication” field, and the hobby is "sports”.
  • Users open their profiles. Then, among the one or more users who receive the Sam friend request, only when the user meets the third friend type described above, the friend associated with Sam can be requested from Sam's friend, thereby preventing the user's personal data from being inconsistent. Expected people to view.
  • the terminal 1 can also send Sam's personal data as independent data to users who only meet the above-mentioned third friend type.
  • the server will send Sam's profile as independent data to users who only meet the third buddy type described above.
  • the third friend type set by Sam is age “20-30”
  • education is “undergraduate”
  • occupation is “IT
  • communication” field is “mobile” users.
  • the terminal 1 can send Sam's profile and the third friend type set by Sam to the server. Then, when other users (such as Mike) use the "dating friend” app to shake or nearby people, the terminal can take the initiative. Ask the server to get Sam's profile.
  • the server can determine whether the Mike conforms to the third friend type according to the third friend type set by Sam. If Mike matches the third friend type, the server may send Sam's photo, nickname and other personal data to Mike's terminal for display; if Mike does not meet the above third friend type, then Mike does not have permission to access Sam's profile. Then, the personal data returned by the server to Mike's terminal will not include Sam's photos, nicknames and other personal data, so that Sam's personal data is not seen by users who do not meet Sam's expectations.
  • the above-mentioned dating function provided by the "friends” APP can also have the function of setting the above "to whom to open the personal data", setting the "reception of who's friend request”, and setting the "to whom to send the friend request” function. There are no restrictions on this.
  • the above terminal and the like include hardware structures and/or software modules corresponding to each function.
  • the embodiments of the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
  • the embodiment of the present application may perform the division of the function modules on the terminal or the like according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 19 is a schematic diagram showing a possible structure of a terminal involved in the foregoing embodiment, where the terminal includes: an obtaining unit 1901, a display unit 1902, a processing unit 1903, and Transmitting unit 1904.
  • the obtaining unit 1901 is configured to: receive a first friend type set for the first user; receive a friend request from the second user, the second user belongs to the first friend type; and receive a friend request from the third user, The third user does not belong to the first friend type; the display unit 1902 is configured to: display the friend request of the second user in the first interface; and the processing unit 1903 is configured to: not display the friend request of the third user in the first interface.
  • the sending unit 1904 is configured to: send the first friend type to the server, so that the server determines, for the first user, at least one user belonging to the first friend type.
  • the second user's friend request may include the second user's personal information, the second user's personal information satisfies the first friend type, and the third user's friend request includes the third user's personal data, and the third user The profile does not satisfy the first friend type.
  • the processing unit 1903 is further configured to: select, according to the personal data of the second user and the personal data of the third user, the second user that belongs to the first friend type.
  • processing unit 1903 is further configured to: prompt the first user to add the fourth user as a friend, where the fourth user belongs to the first friend type, and the first terminal and the second terminal of the fourth user The distance between them is less than the threshold.
  • the friend request of the second user may be associated with the profile of the second user; the acquiring unit 1901 is further configured to: acquire a first operation of the friend request input by the first user to the second user;
  • the display unit 1902 is further configured to: display the personal data of the second user.
  • the display unit 1902 is further configured to: display a friend request of the third user on the second interface.
  • the acquiring unit 1901 is further configured to: acquire a second operation that the first user requests the friend input of the third user; the processing unit 1903 is further configured to: modify the first friend type, so that the third user belongs to the modified The first friend type.
  • the obtaining unit 1901 is further configured to: receive a second friend type set for the first user; the sending unit 1904 is further configured to: send a second friend type to the server, so that the server sends the message to the fifth user The friend of the first user requests that the fifth user belongs to the second friend type.
  • the obtaining unit 1901 is further configured to: receive a third buddy type set for the first user; the sending unit 1904 is further configured to: send a third buddy type to the server, so that the server sends the third buddy to the sixth user Sending the personal data of the first user, the sixth user belongs to the third friend type.
  • FIG. 20 shows a possible structural diagram of a server involved in the foregoing embodiment, and the server includes: an obtaining unit 2001, a processing unit 2002, and a sending unit 2003.
  • the obtaining unit 2001 is configured to: receive a first user's personal data sent by the first terminal, and a friend type set for the first user; obtain a first request for the second user to query the first user's personal data, and the second user And the second user requesting the third user to query the second user's personal data, the third user does not belong to the friend type;
  • the sending unit 2003 is configured to: send the first user to the second user of the second user The personal data;
  • the processing unit 2002 is configured to: not respond to the second request.
  • the obtaining unit 2001 is further configured to: obtain a third request for the first user to query the personal data of the fourth user; and the processing unit 2002 is further configured to: determine whether the first user belongs to the friend type set by the fourth user If the first user belongs to the buddy type set by the fourth user, the sending unit 2003 is further configured to: send the fourth user's personal profile to the first terminal; if the first user does not belong to the buddy type set by the fourth user The processing unit 2002 is further configured to: not respond to the third request.
  • FIG. 21 a possible structural diagram of the terminal involved in the above embodiment is shown, including a processing module 2101, a communication module 2102, an input/output module 2103, and a storage. Module 2104.
  • the processing module 2101 is configured to control and manage the action of the terminal.
  • the communication module 2102 is configured to support communication between the terminal and other network entities.
  • the input/output module 2103 is for receiving information input by a user or outputting information provided to the user and various menus of the terminal.
  • the storage module 2104 is configured to save program codes and data of the terminal.
  • the related functions implemented by the processing unit 1903 described above may be integrated into the processing module 2101, and the related functions of implementing the interaction with the user in the obtaining unit 1901, the display unit 1902, and the sending unit 1904 may be integrated into the input/output module 2103.
  • the related functions of the acquisition unit 1901 and the transmission unit 1904 that implement interaction with other terminals or servers are integrated into the communication module 2102.
  • FIG. 22 a possible structural diagram of the server involved in the above embodiment is shown, including a processing module 2201, a communication module 2202, and a storage module 2203.
  • the processing module 2201 is configured to control and manage the actions of the server.
  • the communication module 2202 is for supporting communication between the server and other servers or terminals.
  • the storage module 2203 is configured to save program code and data of the server.
  • the related functions implemented by the processing unit 2002 can be integrated into the processing module 2201, and the related functions of the above-mentioned obtaining unit 2001 and the transmitting unit 2003 for realizing interaction with the terminal or other servers are integrated into the communication module 2202.
  • the processing module 210 1/2201 may be a processor or a controller, and may be, for example, a central processing unit (CPU), a GPU, a general-purpose processor, and a digital signal processor (DSP).
  • DSP digital signal processor
  • ASIC Application-Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the above communication module 2102/2202 may be a transceiver, a transceiver circuit, or a communication interface or the like.
  • the communication module 1303 may specifically be a Bluetooth device, a Wi-Fi device, a peripheral interface, or the like.
  • the above-described input/output module 2103 may be a touch screen, a display, a microphone, or the like that receives information input by a user or outputs information provided to a user.
  • the display may be configured in the form of a liquid crystal display, an organic light emitting diode or the like.
  • a touch panel can be integrated on the display for collecting touch events on or near the display, and transmitting the collected touch information to other devices (such as a processor, etc.).
  • the above memory modules 2104/2203 may be memories, which may include high speed random access memories (RAM), and may also include nonvolatile memories such as magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
  • RAM high speed random access memories
  • nonvolatile memories such as magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Abstract

Embodiments of the present application relate to the technical field of communications and provide a method and apparatus for making a friend by friend type-based filtration, capable of reducing harassment caused by a friend request not conforming to user expectations, and meanwhile improving the success rate of making friends. The method comprises that: a first user may set on a terminal that the first user is willing to receive a friend request sent by which type of users (i.e., a first friend type); a friend request received by the terminal may come from a user belonging to the first friend type (for example, a second user), or from a user not belonging to the first friend type (for example, a third user), and then, the terminal may display the friend request from the second user on an interface of received friend requests, and the friend request from the third user not conforming to the first friend type may not be displayed on the interface, so that harassment caused to the user by receiving a large amount of friend requests not conforming to user expectations is reduced.

Description

通过筛选好友类型进行交友的方法及装置Method and device for making friends by screening friend types 技术领域Technical field
本申请实施例涉及通信技术领域,尤其涉及一种交友方法及装置。The embodiments of the present invention relate to the field of communications technologies, and in particular, to a method and device for making friends.
背景技术Background technique
随着通信技术的飞速发展,许多移动社交软件中都设置了交友功能。用户开启交友功能后,可以查找到同样开启该交友功能的陌生人,进而结交新的好友。但是,在使用交友功能时,用户交友的成功率并不高。With the rapid development of communication technology, many mobile social software have set up dating functions. After the user opens the dating function, he can find strangers who also open the dating function, and then make new friends. However, when using the dating feature, the success rate of the user's friends is not high.
发明内容Summary of the invention
本申请的实施例提供一种交友方法及装置,可降低不符合用户期望的好友请求对用户造成的骚扰,同时提高交友成功率。The embodiment of the present application provides a method and device for making friends, which can reduce the harassment caused by a friend request that does not meet the user's expectation, and improve the success rate of the friend.
为达到上述目的,本申请的实施例采用如下技术方案:To achieve the above objective, the embodiment of the present application adopts the following technical solutions:
第一方面,本申请的实施例提供一种交友方法,包括:第一终端接收为第一用户设置的第一好友类型;当第一终端接收到来自第二用户(第二用户属于第一好友类型)的好友请求时,由于第二用户属于第一好友类型,说明第二用户符合第一用户的交友预期,因此,第一终端可在第一界面显示第二用户的好友请求;当第一终端接收来自第三用户(第三用户不属于第一好友类型)的好友请求时,由于第三用户不属于第一好友类型,说明第三用户符合第一用户的交友预期,因此,第一终端可在第一界面不显示第三用户的好友请求,从而降低用户查看好友请求时接收到大量不符合用户预期的好友请求对用户造成的骚扰,提高后续交友成功的几率。In a first aspect, an embodiment of the present application provides a method for dating, comprising: receiving, by a first terminal, a first friend type set for a first user; and when receiving, by the first terminal, a second user (the second user belongs to the first friend) When the friend of the type is requested, since the second user belongs to the first friend type, the second user meets the friend preference of the first user. Therefore, the first terminal may display the friend request of the second user on the first interface; When the terminal receives the friend request from the third user (the third user does not belong to the first friend type), since the third user does not belong to the first friend type, the third user meets the friend preference of the first user, and therefore, the first terminal The third user's friend request may not be displayed in the first interface, thereby reducing the harassment caused by the user receiving a large number of friend requests that do not meet the user's expectation when the user views the friend request, and improving the chance of subsequent friend success.
示例性的,上述第一好友类型具体可以包括:年龄、性别、学历、毕业院校、职业、爱好/简介、血型、身高、体重、星座、家乡、婚恋情况、住址、以及与第一用户的距离中的至少一个选项。Exemplarily, the first friend type may specifically include: age, gender, education, graduate school, occupation, hobby/introduction, blood type, height, weight, constellation, hometown, marriage situation, address, and the first user. At least one option in the distance.
在一种可能的设计方法中,在第一终端接收为第一用户设置的第一好友类型之后,还包括:第一终端将第一好友类型发送给服务器,以使得该服务器为第一用户确定属于第一好友类型的至少一个用户,以减轻第一终端的实现复杂度。In a possible design method, after the first terminal receives the first friend type set for the first user, the method further includes: the first terminal sending the first friend type to the server, so that the server determines the first user At least one user belonging to the first friend type to alleviate the implementation complexity of the first terminal.
在一种可能的设计方法中,上述第二用户的好友请求中包括第二用户的个人资料,且第二用户的个人资料满足第一好友类型,第三用户的好友请求中包括第三用户的个人资料,但第三用户的个人资料不满足第一好友类型。此时,第一终端接收到上述第二用户的好友请求和第三用户的好友请求后,可根据其携带的个人资料筛选出属于上述第一好友类型的用户(即第二用户),进而显示该第二用户的好友请求。In a possible design method, the second user's friend request includes the second user's personal information, and the second user's personal information satisfies the first friend type, and the third user's friend request includes the third user's Personal profile, but the third user's profile does not satisfy the first friend type. At this time, after receiving the friend request of the second user and the friend request of the third user, the first terminal may filter out the user belonging to the first friend type (ie, the second user) according to the personal data carried by the first terminal, and then display The friend request of the second user.
在一种可能的设计方法中,在第一终端接收为第一用户设置的第一好友类型之后,还包括:第一终端向第一用户提示将属于第一好友类型的第四用户添加为好友,其中,第一终端与该第四用户的第二终端之间的距离小于阈值,这样用户可以在现实生活中可以方便的结交到符合其交友预期的好友。In a possible design method, after the first terminal receives the first friend type set for the first user, the method further includes: the first terminal prompting the first user to add the fourth user belonging to the first friend type as a friend The distance between the first terminal and the second terminal of the fourth user is less than a threshold, so that the user can conveniently make a friend who meets his or her friends' expectations in real life.
在一种可能的设计方法中,第一终端显示来自第二用户的好友请求,包括:第一终端在锁屏界面、下拉菜单、上拉菜单、负一屏菜单、通知栏或者桌面中显示接收到 第二用户的好友请求的提示。In a possible design method, the first terminal displays the friend request from the second user, including: the first terminal displays and receives in the lock screen interface, the pull-down menu, the pull-up menu, the negative one-screen menu, the notification bar, or the desktop. To A prompt requested by a friend of the second user.
在一种可能的设计方法中,第二用户的好友请求与第二用户的个人资料相关联;其中,在第一终端显示来自第二用户的好友请求之后,还包括:响应于第一用户对第二用户的好友请求输入的第一操作,第一终端显示第二用户的个人资料,帮助第一用户在添加第二用户为好友之前全面的了解第二用户的相关信息。In a possible design method, the friend request of the second user is associated with the profile of the second user; wherein, after the first terminal displays the friend request from the second user, the method further includes: responding to the first user pair The first user's friend requests the input first operation, and the first terminal displays the second user's personal information, which helps the first user to fully understand the second user's related information before adding the second user as a friend.
在一种可能的设计方法中,在第一终端接收来自第三用户的好友请求之后,还包括:第一终端在第二界面显示第三用户的好友请求。也就是说,当接收到不符合上述第一好友类型的用户的好友请求时,终端可以在其他界面中显示第三用户的好友请求,方便用户进行查看或删除等操作。In a possible design method, after the first terminal receives the friend request from the third user, the method further includes: the first terminal displaying the friend request of the third user on the second interface. That is to say, when receiving a friend request that does not meet the user of the first friend type, the terminal may display the friend request of the third user in other interfaces, so that the user can perform operations such as viewing or deleting.
在一种可能的设计方法中,在第一终端在第二界面显示第三用户的好友请求之后,还包括:响应于第一用户对第三用户的好友请求输入的第二操作,第一终端修改第一好友类型,使得第三用户属于修改后的第一好友类型,从而提高后续第一用户使用该交友功能接收好友请求时的准确率。In a possible design method, after the first terminal displays the friend request of the third user in the second interface, the method further includes: in response to the second operation of the first user requesting the friend of the third user, the first terminal Modifying the first friend type, so that the third user belongs to the modified first friend type, thereby improving the accuracy rate of the subsequent first user using the friend function to receive the friend request.
在一种可能的设计方法中,第一好友类型包括该爱好/简介的选项,其中,该爱好/简介的选项中设置有:第一用户与属于第一好友类型的用户之间爱好/简介的相似度,从而结交到与自己爱好匹配的好友。In one possible design method, the first friend type includes the hobby/introduction option, wherein the hobby/introduction option is set with: a hobby/introduction between the first user and a user belonging to the first buddy type Similarity, so you can make friends with your hobby.
在一种可能的设计方法中,该方法还包括:第一终端接收为第一用户设置的第二好友类型;第一终端向服务器发送第二好友类型,以使得该服务器向属于第二好友类型的第五用户发送第一用户的好友请求,这样在用户无感知的情况下第一用户可以请求与指定类型的用户成为好友,提高交友效率,同时省去了人工每次输入好友添加条件的繁琐设置。In a possible design method, the method further includes: the first terminal receives the second friend type set for the first user; the first terminal sends the second friend type to the server, so that the server belongs to the second friend type The fifth user sends the friend request of the first user, so that the first user can request to become a friend with the specified type of user without the user's perception, thereby improving the efficiency of making friends, and omitting the cumbersome manual input condition of the friend each time. Settings.
在一种可能的设计方法中,该方法还包括:第一终端接收为第一用户设置的第三好友类型;第一终端向服务器发送第三好友类型,以使得该服务器向属于第三好友类型的第六用户发送第一用户的个人资料,避免第一用户的个人资料被不符合第一用户预期的其他用户看到。In a possible design method, the method further includes: the first terminal receives a third friend type set for the first user; the first terminal sends a third friend type to the server, so that the server belongs to the third friend type The sixth user sends the first user's profile to prevent the first user's profile from being seen by other users who do not meet the expectations of the first user.
第二方面,本申请的实施例提供一种交友方法,包括:服务器接收第一终端发送的第一用户的个人资料以及为第一用户设置的好友类型;当服务器获取到第二用户(第二用户属于该好友类型)查询第一用户的个人资料的第一请求时,响应于第一请求,服务器可向第二用户的第二终端发送第一用户的个人资料;当服务器获取到第三用户(第三用户不属于该好友类型)查询第一用户的个人资料的第二请求时,服务器不响应该第二请求。In a second aspect, an embodiment of the present application provides a method for dating, comprising: receiving, by a server, a personal data of a first user sent by a first terminal and a friend type set for the first user; and acquiring a second user by the server (second When the user belongs to the friend type) querying the first request of the first user's profile, in response to the first request, the server may send the first user's profile to the second user's second terminal; when the server acquires the third user (The third user does not belong to the friend type) When the second request for the first user's profile is queried, the server does not respond to the second request.
在一种可能的设计方法中,该方法还包括:该服务器获取第一用户查询第四用户的个人资料的第三请求;若第一用户属于该第四用户设置的好友类型,则该服务器向第一终端发送该第四用户的个人资料;若第一用户不属于该第四用户设置的好友类型,则该服务器不响应第三请求。In a possible design method, the method further includes: the server acquiring a third request for the first user to query the personal data of the fourth user; if the first user belongs to the friend type set by the fourth user, the server is The first terminal sends the personal data of the fourth user; if the first user does not belong to the friend type set by the fourth user, the server does not respond to the third request.
在一种可能的设计方法中,该好友类型包括:年龄、性别、学历、毕业院校、职业、爱好/简介、血型、身高、体重、星座、家乡、婚恋情况、住址、以及与第一用户的距离中的至少一个选项。In one possible design method, the friend type includes: age, gender, education, graduate school, occupation, hobby/introduction, blood type, height, weight, constellation, hometown, marriage situation, address, and first user At least one option in the distance.
第三方面,本申请的实施例提供一种终端,包括:获取单元,用于:接收为第一 用户设置的第一好友类型;接收来自第二用户的好友请求,第二用户属于第一好友类型;以及接收来自第三用户的好友请求,第三用户不属于第一好友类型;显示单元,用于:在第一界面显示第二用户的好友请求;处理单元,用于:在第一界面不显示第三用户的好友请求。In a third aspect, an embodiment of the present application provides a terminal, including: an acquiring unit, configured to: receive as a first a first friend type set by the user; receiving a friend request from the second user, the second user belongs to the first friend type; and receiving a friend request from the third user, the third user does not belong to the first friend type; the display unit uses The first user's friend request is displayed on the first interface, and the processing unit is configured to: not display the third user's friend request in the first interface.
在一种可能的设计方法中,终端还包括发送单元,用于:将第一好友类型发送给服务器,以使得该服务器为第一用户确定属于第一好友类型的至少一个用户。In a possible design method, the terminal further includes a sending unit, configured to: send the first friend type to the server, so that the server determines, for the first user, at least one user belonging to the first friend type.
在一种可能的设计方法中,第二用户的好友请求中包括第二用户的个人资料,第二用户的个人资料满足第一好友类型,第三用户的好友请求中包括第三用户的个人资料,第三用户的个人资料不满足第一好友类型,该处理单元,还用于:根据第二用户的个人资料和第三用户的个人资料,筛选出属于第一好友类型的第二用户。In a possible design method, the second user's friend request includes the second user's personal information, the second user's personal information satisfies the first friend type, and the third user's friend request includes the third user's personal information. The third user's profile does not satisfy the first friend type, and the processing unit is further configured to: screen the second user belonging to the first friend type according to the second user's personal profile and the third user's personal profile.
在一种可能的设计方法中,该处理单元,还用于:向第一用户提示将第四用户添加为好友,其中,该第四用户属于第一好友类型,第一终端与该第四用户的第二终端之间的距离小于阈值。In a possible design method, the processing unit is further configured to: prompt the first user to add the fourth user as a friend, where the fourth user belongs to the first friend type, the first terminal and the fourth user The distance between the second terminals is less than a threshold.
在一种可能的设计方法中,第二用户的好友请求与第二用户的个人资料相关联;该获取单元,还用于:获取第一用户对第二用户的好友请求输入的第一操作;该显示单元,还用于:显示第二用户的个人资料。In a possible design method, the friend request of the second user is associated with the profile of the second user; the obtaining unit is further configured to: acquire a first operation of the first user requesting input by the friend of the second user; The display unit is further configured to: display the personal data of the second user.
在一种可能的设计方法中,该显示单元,还用于:在第二界面显示第三用户的好友请求。In a possible design method, the display unit is further configured to: display a friend request of the third user on the second interface.
在一种可能的设计方法中,该获取单元,还用于:获取第一用户对第三用户的好友请求输入的第二操作;该处理单元,还用于:修改第一好友类型,使得第三用户属于修改后的第一好友类型。In a possible design method, the obtaining unit is further configured to: obtain a second operation that the first user requests the third user's friend to input; the processing unit is further configured to: modify the first friend type, so that The three users belong to the modified first friend type.
在一种可能的设计方法中,该获取单元,还用于:接收为第一用户设置的第二好友类型;该发送单元,还用于:向服务器发送第二好友类型,以使得该服务器向第五用户发送第一用户的好友请求,该第五用户属于第二好友类型。In a possible design method, the acquiring unit is further configured to: receive a second friend type set for the first user; the sending unit is further configured to: send a second friend type to the server, so that the server The fifth user sends a friend request of the first user, and the fifth user belongs to the second friend type.
在一种可能的设计方法中,该获取单元,还用于:接收为第一用户设置的第三好友类型;该发送单元,还用于:向服务器发送第三好友类型,以使得该服务器向第六用户发送第一用户的个人资料,该第六用户属于第三好友类型。In a possible design method, the obtaining unit is further configured to: receive a third friend type set for the first user; the sending unit is further configured to: send a third friend type to the server, so that the server The sixth user sends the personal profile of the first user, and the sixth user belongs to the third friend type.
第四方面,本申请的实施例提供一种服务器,包括:获取单元,用于:接收第一终端发送的第一用户的个人资料以及为第一用户设置的好友类型;获取第二用户查询第一用户的个人资料的第一请求,第二用户属于该好友类型;以及获取第三用户查询第一用户的个人资料的第二请求,第三用户不属于该好友类型;发送单元,用于:向第二用户的第二终端发送第一用户的个人资料;处理单元,用于:不响应第二请求。In a fourth aspect, an embodiment of the present application provides a server, including: an acquiring unit, configured to: receive a personal data of a first user sent by a first terminal, and a friend type set for the first user; and obtain a second user query a first request of a user's profile, the second user belongs to the friend type; and a second request for the third user to query the first user's profile, the third user does not belong to the friend type; and the sending unit is configured to: Transmitting, to the second terminal of the second user, the personal data of the first user; and the processing unit, configured to: not respond to the second request.
在一种可能的设计方法中,获取单元,还用于:获取第一用户查询第四用户的个人资料的第三请求;处理单元,还用于:判断第一用户是否属于该第四用户设置的好友类型;若第一用户属于该第四用户设置的好友类型,则发送单元还用于:向第一终端发送该第四用户的个人资料;若第一用户不属于该第四用户设置的好友类型,则处理单元,还用于:不响应第三请求。In a possible design method, the obtaining unit is further configured to: obtain a third request for the first user to query the personal data of the fourth user; and the processing unit is further configured to: determine whether the first user belongs to the fourth user setting a friend type; if the first user belongs to the friend type set by the fourth user, the sending unit is further configured to: send the fourth user's personal data to the first terminal; if the first user does not belong to the fourth user setting The buddy type, the processing unit, is further configured to: not respond to the third request.
第五方面,本申请的实施例提供一种终端,包括:处理器、存储器、总线和通信接口;该存储器用于存储计算机执行指令,该处理器与该存储器通过该总线连接,当 终端运行时,该处理器执行该存储器存储的该计算机执行指令,以使终端执行上述任一项交友方法。In a fifth aspect, an embodiment of the present application provides a terminal, including: a processor, a memory, a bus, and a communication interface; the memory is configured to store a computer to execute an instruction, and the processor is connected to the memory through the bus. When the terminal is running, the processor executes the computer execution instruction stored in the memory to enable the terminal to execute any of the above-mentioned dating methods.
第六方面,本申请的实施例提供一种服务器,包括:处理器、存储器、总线和通信接口;该存储器用于存储计算机执行指令,该处理器与该存储器通过该总线连接,当服务器运行时,该处理器执行该存储器存储的该计算机执行指令,以使服务器执行上述任一项交友方法。In a sixth aspect, an embodiment of the present application provides a server, including: a processor, a memory, a bus, and a communication interface; the memory is configured to store a computer execution instruction, and the processor is connected to the memory through the bus, when the server is running The processor executes the computer-executed instructions stored by the memory to cause the server to perform any of the above-described dating methods.
第七方面,本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当该指令在上述任一项终端上运行时,使得终端执行上述任一项交友方法。In a seventh aspect, an embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores an instruction, when the instruction is run on any one of the foregoing terminals, causing the terminal to execute any one of the foregoing friendship methods. .
第八方面,本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当该指令在上述任一项服务器上运行时,使得服务器执行上述任一项交友方法。In an eighth aspect, an embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores an instruction, when the instruction is run on any one of the servers, causing the server to execute any one of the foregoing method .
第九方面,本申请实施例提供一种包含指令的计算机程序产品,当其在上述任一项终端上运行时,使得终端执行上述任一项交友方法。In a ninth aspect, the embodiment of the present application provides a computer program product including instructions, when the terminal runs on any of the foregoing terminals, causing the terminal to perform any of the above-mentioned dating methods.
第十方面,本申请实施例提供一种包含指令的计算机程序产品,当其在上述任一项服务器上运行时,使得服务器执行上述任一项交友方法。In a tenth aspect, the embodiment of the present application provides a computer program product including instructions, when the server runs on any of the foregoing servers, causing the server to execute any of the foregoing dating methods.
本申请的实施例中,上述终端或服务器中各部件的名字对设备本身不构成限定,在实际实现中,这些部件可以以其他名称出现。只要各个部件的功能和本申请的实施例类似,即属于本申请权利要求及其等同技术的范围之内。In the embodiment of the present application, the names of the components in the terminal or the server are not limited to the device itself, and in actual implementation, the components may appear under other names. As long as the functions of the various components are similar to the embodiments of the present application, they are within the scope of the claims and their equivalents.
另外,第二方面至第十方面中任一种设计方式所带来的技术效果可参见上述第一方面中不同设计方法所带来的技术效果,此处不再赘述。In addition, the technical effects brought by the design method of any one of the second aspect to the tenth aspect can be referred to the technical effects brought by different design methods in the above first aspect, and details are not described herein again.
附图说明DRAWINGS
图1为本申请实施例提供的一种终端的结构示意图一;FIG. 1 is a schematic structural diagram 1 of a terminal according to an embodiment of the present disclosure;
图2为本申请实施例提供的一种终端内编程模块的结构示意图;2 is a schematic structural diagram of a programming module in a terminal according to an embodiment of the present application;
图3为本申请实施例提供的一种交友方法的应用场景示意图一;FIG. 3 is a schematic diagram 1 of an application scenario of a friend method according to an embodiment of the present disclosure;
图4为本申请实施例提供的一种交友方法的应用场景示意图二;FIG. 4 is a schematic diagram 2 of an application scenario of a friend method according to an embodiment of the present disclosure;
图5为本申请实施例提供的一种交友方法的应用场景示意图三;FIG. 5 is a schematic diagram 3 of an application scenario of a friend method according to an embodiment of the present disclosure;
图6为本申请实施例提供的一种交友方法的应用场景示意图四;FIG. 6 is a schematic diagram 4 of an application scenario of a friend method according to an embodiment of the present disclosure;
图7为本申请实施例提供的一种交友方法的应用场景示意图五;FIG. 7 is a schematic diagram 5 of an application scenario of a friend method according to an embodiment of the present disclosure;
图8为本申请实施例提供的一种交友方法的应用场景示意图六;FIG. 8 is a schematic diagram 6 of an application scenario of a friend method according to an embodiment of the present disclosure;
图9为本申请实施例提供的一种交友方法的应用场景示意图七;FIG. 9 is a schematic diagram 7 of an application scenario of a friend method according to an embodiment of the present application;
图10为本申请实施例提供的一种交友方法的应用场景示意图八;FIG. 10 is a schematic diagram 8 of an application scenario of a friend method according to an embodiment of the present disclosure;
图11为本申请实施例提供的一种交友方法的应用场景示意图九;FIG. 11 is a schematic diagram 9 of an application scenario of a friend method according to an embodiment of the present disclosure;
图12为本申请实施例提供的一种交友方法的应用场景示意图十;FIG. 12 is a schematic diagram of an application scenario of a friend method according to an embodiment of the present application;
图13为本申请实施例提供的一种交友方法的应用场景示意图十一;FIG. 13 is a schematic diagram of an application scenario of a friend method according to an embodiment of the present application;
图14为本申请实施例提供的一种交友方法的应用场景示意图十二;FIG. 14 is a schematic diagram of an application scenario of a friend method according to an embodiment of the present application;
图15为本申请实施例提供的一种交友方法的应用场景示意图十三;FIG. 15 is a schematic diagram of an application scenario of a method for making friends according to an embodiment of the present application;
图16为本申请实施例提供的一种交友方法的应用场景示意图十四;16 is a schematic diagram of an application scenario of a friend method according to an embodiment of the present application;
图17为本申请实施例提供的一种交友方法的应用场景示意图十五; FIG. 17 is a schematic diagram of an application scenario of a friend method according to an embodiment of the present application;
图18为本申请实施例提供的一种交友方法的应用场景示意图十六;FIG. 18 is a schematic diagram of an application scenario of a friend method according to an embodiment of the present disclosure;
图19为本申请实施例提供的一种终端的结构示意图二;FIG. 19 is a schematic structural diagram 2 of a terminal according to an embodiment of the present disclosure;
图20为本申请实施例提供的一种服务器的结构示意图一;FIG. 20 is a schematic structural diagram 1 of a server according to an embodiment of the present disclosure;
图21为本申请实施例提供的一种终端的结构示意图三;FIG. 21 is a schematic structural diagram 3 of a terminal according to an embodiment of the present disclosure;
图22为本申请实施例提供的一种服务器的结构示意图二。FIG. 22 is a schematic structural diagram 2 of a server according to an embodiment of the present application.
具体实施方式Detailed ways
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the following, the terms "first" and "second" are used for descriptive purposes only, and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining "first" and "second" may include one or more of the features either explicitly or implicitly. In the description of the embodiments of the present application, "multiple" means two or more unless otherwise stated.
本申请实施例提供的一种交友方法可以应用于手机、平板电脑、可穿戴设备、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等任意具有交友功能的终端上,本申请实施例对此不作任何限制。A friend method provided by the embodiment of the present application can be applied to a mobile phone, a tablet computer, a wearable device, an augmented reality (AR), a virtual reality (VR) device, a notebook computer, a super mobile personal computer (ultra) The mobile phone, the UMPC, the netbook, the personal digital assistant (PDA), and the like, are not limited in any way.
如图2所示,本申请实施例中的终端可以为手机100。下面以手机100为例对实施例进行具体说明。应该理解的是,图示手机100仅是上述终端的一个范例,并且手机100可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。As shown in FIG. 2, the terminal in the embodiment of the present application may be the mobile phone 100. The embodiment will be specifically described below by taking the mobile phone 100 as an example. It should be understood that the illustrated mobile phone 100 is only one example of the above terminal, and the mobile phone 100 may have more or fewer components than those shown in the figure, two or more components may be combined, or Has a different component configuration.
参照图2,手机100可与除手机100外的其它电子设备102和104、以及服务器106通信。手机100可包括总线110、处理器120、存储器130、用户输入模块150、显示模块160、通信接口170和其它相似和/或合适组件。Referring to FIG. 2, the handset 100 can communicate with other electronic devices 102 and 104, other than the handset 100, and the server 106. The handset 100 can include a bus 110, a processor 120, a memory 130, a user input module 150, a display module 160, a communication interface 170, and other similar and/or suitable components.
总线110可以是将上述元件相互连接并在上述元件之间传递通信(例如控制消息)的电路。 Bus 110 may be circuitry that interconnects the above elements and communicates (e.g., control messages) between the elements.
处理器120可以通过总线110从上述其它元件(例如存储器130、用户输入模块150、显示模块160、通信接口170、通信配置控制模块170等)接收命令,可以解释接收到的命令,并可以根据所解释的命令来执行计算或数据处理。The processor 120 can receive commands from the other components (such as the memory 130, the user input module 150, the display module 160, the communication interface 170, the communication configuration control module 170, etc.) through the bus 110, can interpret the received commands, and can Interpret commands to perform calculations or data processing.
存储器130可以存储从处理器120或其它元件(例如用户输入模块150、显示模块160、通信接口170等)接收的命令或数据或者由处理器120或其它元件产生的命令或数据。 Memory 130 may store commands or data received from processor 120 or other components (e.g., user input module 150, display module 160, communication interface 170, etc.) or commands or data generated by processor 120 or other components.
存储器130可以包括编程模块,诸如内核131、中间件132、应用编程接口(API)133、应用134等。上述编程模块中的每个均可以用软件、固件、硬件或者其中两个或更多个的组合来实现,其详细描述可参见附图3的相关描述。 Memory 130 may include programming modules such as kernel 131, middleware 132, application programming interface (API) 133, applications 134, and the like. Each of the above programming modules may be implemented in software, firmware, hardware, or a combination of two or more thereof, as described in detail in the related description of FIG.
内核131可以控制或管理用于执行由其它编程模块(例如中间件132、API 133和应用134)实现的操作或功能的系统资源(例如总线110、处理器120、存储器130等等)。另外,内核131可以提供能够通过使用中间件132、API 133或应用134来访问并控制或者管理手机100的各个元件的接口。The kernel 131 may control or manage system resources (e.g., bus 110, processor 120, memory 130, etc.) for performing operations or functions implemented by other programming modules (e.g., middleware 132, API 133, and applications 134). Additionally, the kernel 131 can provide an interface that can access and control or manage the various elements of the handset 100 by using the middleware 132, the API 133, or the application 134.
中间件132可以用于在API 133或应用134与内核131之间以API 133或应用134 与内核131通信并与其交换数据的方式运行。例如,中间件132可以被配置为用于在API 133或应用134与内核131之间进行通信的中介。另外,例如,关于从一个或多个应用134和/或中间件132接收的工作请求,可以通过使用向一个或多个应用134中的至少一个应用指派优先级(其中可以按所述优先级来使用手机100的系统资源(例如总线110、处理器120、存储器130等))的方法来执行工作请求的负载均衡。The middleware 132 can be used between the API 133 or the application 134 and the kernel 131 with API 133 or application 134 It operates in communication with the kernel 131 and exchanges data therewith. For example, the middleware 132 can be configured as an intermediary for communication between the API 133 or the application 134 and the kernel 131. Additionally, for example, regarding a work request received from one or more applications 134 and/or middleware 132, a priority may be assigned to at least one of the one or more applications 134 (where the priority may be Load balancing of work requests is performed using methods of system resources (e.g., bus 110, processor 120, memory 130, etc.) of handset 100.
API 133是应用134能够通过其控制由内核131或中间件132提供的功能的接口,并可以包括例如用于文件控制、窗口控制、图像处理、字符控制等的至少一个接口或功能。The API 133 is an interface by which the application 134 can control functions provided by the kernel 131 or the middleware 132, and can include, for example, at least one interface or function for file control, window control, image processing, character control, and the like.
应用134可以包括例如主页应用、拨号器应用、短消息服务(SMS)/多媒体消息服务(MMS)应用、即时消息(IM)应用、浏览器应用、相机应用、闹钟应用、联系人应用、语音拨号应用、电子邮件(e-mail)应用、日历应用、媒体播放器应用、相册应用、时钟应用以及任意其它合适和/或类似的应用。 Applications 134 may include, for example, a home page application, a dialer application, a short message service (SMS)/multimedia message service (MMS) application, an instant messaging (IM) application, a browser application, a camera application, an alarm clock application, a contact application, voice dialing. Applications, email (e-mail) applications, calendar applications, media player applications, photo album applications, clock applications, and any other suitable and/or similar applications.
用户输入模块150可以接收经由输入-输出手段(例如,传感器、键盘、触摸屏等)从用户输入的命令或数据,并可以通过总线110向处理器120或存储器130传送接收到的命令或数据。显示模块160可以向用户显示视频、图像、数据等。The user input module 150 can receive commands or data input from a user via input-output means (eg, sensors, keyboards, touch screens, etc.) and can transmit the received commands or data to the processor 120 or memory 130 via the bus 110. Display module 160 can display video, images, data, and the like to the user.
显示模块160可以显示从上述元件接收到的各种信息(例如多媒体数据、文本数据)。The display module 160 can display various information (eg, multimedia data, text data) received from the above components.
通信接口170可以控制与另一电子设备102之间的短距离通信连接。当手机100与另一电子设备配对时,通信接口170可以停止等待从邻近电子设备接收信号的扫描操作或者停止广播信号的广播操作。例如,响应于手机100与另一电子设备102配对,通信接口170停止等待从邻近电子设备接收信号的扫描操作或者停止广播信号的广播操作。当手机100与另一电子设备配对时,通信接口170可以控制扫描或广播操作的周期。 Communication interface 170 can control a short range communication connection with another electronic device 102. When the mobile phone 100 is paired with another electronic device, the communication interface 170 may stop a scanning operation of waiting for receiving a signal from a neighboring electronic device or stopping a broadcast operation of a broadcast signal. For example, in response to the handset 100 being paired with another electronic device 102, the communication interface 170 stops waiting for a scan operation to receive a signal from a neighboring electronic device or a broadcast operation to stop the broadcast signal. When the handset 100 is paired with another electronic device, the communication interface 170 can control the period of the scanning or broadcast operation.
根据本申请公开的各实施例,手机100可以使用通信接口170与另一电子设备通信。例如,通信接口170可以与另一电子设备104、服务器106等进行通信。通信接口170可以直接或者通过网络162与其它电子设备104、服务器106等进行通信。例如,通信接口170可以操作为将手机100连接至网络162。In accordance with various embodiments disclosed herein, handset 100 can communicate with another electronic device using communication interface 170. For example, communication interface 170 can communicate with another electronic device 104, server 106, and the like. Communication interface 170 can communicate with other electronic devices 104, servers 106, etc., either directly or through network 162. For example, communication interface 170 can operate to connect handset 100 to network 162.
图3是示出了根据本申请公开实施例的编程模块的配置的框图。FIG. 3 is a block diagram showing a configuration of a programming module in accordance with an embodiment of the present disclosure.
参照图3,编程模块310可被包括(或被存储)在图2中示出的手机100(例如存储器130)中。编程模块310的至少一部分可以实施为软件、固件、硬件或它们中的两个或更多个的组合。编程模块310可以实施为硬件(例如硬件201),并可以包括控制与电子设备(例如手机100)相关的资源的操作系统(operating system,OS)和/或在OS中执行的各种应用(例如应用370)。例如,OS可以是Android、iOS、Windows、Symbian、Tizen、Bada等。Referring to FIG. 3, programming module 310 can be included (or stored) in handset 100 (e.g., memory 130) shown in FIG. At least a portion of programming module 310 can be implemented as software, firmware, hardware, or a combination of two or more of them. Programming module 310 can be implemented as hardware (eg, hardware 201) and can include an operating system (OS) that controls resources associated with an electronic device (eg, cell phone 100) and/or various applications executing in the OS (eg, Application 370). For example, the OS can be Android, iOS, Windows, Symbian, Tizen, Bada, and the like.
参照图3,编程模块310可以包括内核320、中间件330、API 360和/或应用370。Referring to FIG. 3, programming module 310 can include kernel 320, middleware 330, API 360, and/or application 370.
内核320(例如,内核131)可以包括系统资源管理器321和/或设备驱动程序323。系统资源管理器321可以包括进程管理器(未示出)、存储器管理器(未示出)和文件系统管理器(未示出)。系统资源管理器321可以执行对系统资源的控制、分配、恢复等。设备驱动程序323可以包括例如显示器驱动程序(未示出)、相机驱动程序(未示出)、蓝 牙驱动程序(未示出)、共享存储器驱动程序(未示出)、USB驱动程序(未示出)、键区驱动程序(未示出)、无线保真(wireless-fidelity,Wi-Fi)驱动程序(未示出)和/或音频驱动程序(未示出)。此外,根据本申请公开的实施例,设备驱动程序323可以包括进程间通信(inter-process communication,IPC)驱动程序(未示出)。Kernel 320 (e.g., kernel 131) may include system resource manager 321 and/or device driver 323. The system resource manager 321 can include a process manager (not shown), a memory manager (not shown), and a file system manager (not shown). The system resource manager 321 can perform control, allocation, recovery, and the like of system resources. The device driver 323 may include, for example, a display driver (not shown), a camera driver (not shown), blue A dental driver (not shown), a shared memory driver (not shown), a USB driver (not shown), a keypad driver (not shown), wireless-fidelity (Wi-Fi) Drivers (not shown) and/or audio drivers (not shown). Moreover, in accordance with embodiments disclosed herein, device driver 323 may include an inter-process communication (IPC) driver (not shown).
中间件330可以包括预先实施的多个模块,以提供由应用370共用的功能。此外,中间件330可以通过API 360向应用370提供功能,以使应用370能够高效地使用电子设备内的有限系统资源。例如,如图3中所示,中间件330(例如中间件132)可以包括以下至少一项:运行库335、应用管理器341、窗口管理器342、多媒体管理器343、资源管理器344、电源管理器345、数据库管理器346、包管理器347、连接管理器348、通知管理器349、位置管理器350、图形管理器351、安全管理器352和任何其它合适和/或类似的管理器。The middleware 330 may include a plurality of modules that are implemented in advance to provide functions shared by the application 370. In addition, middleware 330 can provide functionality to application 370 via API 360 to enable application 370 to efficiently utilize limited system resources within the electronic device. For example, as shown in FIG. 3, the middleware 330 (eg, the middleware 132) may include at least one of the following: a runtime library 335, an application manager 341, a window manager 342, a multimedia manager 343, a resource manager 344, and a power supply. Manager 345, database manager 346, package manager 347, connection manager 348, notification manager 349, location manager 350, graphics manager 351, security manager 352, and any other suitable and/or similar manager.
运行库335可以包括例如由编译器使用的库模块,以在应用370的执行期间通过使用编程语言来添加新功能。根据本申请公开的实施例,运行库335可以执行与输入和输出、存储器的管理、算术功能等相关的功能。The runtime library 335 can include library modules, such as used by a compiler, to add new functionality by using a programming language during execution of the application 370. According to an embodiment disclosed herein, the runtime 335 can perform functions related to input and output, management of memory, arithmetic functions, and the like.
应用管理器341可以管理例如至少一个应用370的生命周期。窗口管理器342可以管理在屏幕上使用的图形用户界面(graphical user interface,GUI)资源。多媒体管理器343可以检测用于再现各种媒体文件的格式,并可以通过使用适合于相关格式的编解码器对媒体文件进行编码或解码。资源管理器344可以管理至少一个应用370的资源,如源代码、存储器、存储空间等。The application manager 341 can manage, for example, the lifecycle of at least one application 370. Window manager 342 can manage the graphical user interface (GUI) resources used on the screen. The multimedia manager 343 can detect a format for reproducing various media files, and can encode or decode the media file by using a codec suitable for the relevant format. The resource manager 344 can manage resources of at least one application 370, such as source code, memory, storage space, and the like.
电源管理器345可以与基本输入/输出系统(basic input output system,BIOS)一起操作,可以管理电池或电源,并可以提供用于操作的电源信息等。数据库管理器346可以用以下方式来管理数据库:使得能够产生、搜索和/或改变将由至少一个应用370使用的数据库。包管理器347可以管理对以包文件的形式分发的应用的安装和/或更新。The power manager 345 can operate with a basic input output system (BIOS), can manage a battery or a power source, and can provide power information for operation and the like. Database manager 346 can manage the database in a manner that enables generation, searching, and/or changing of a database to be used by at least one application 370. The package manager 347 can manage the installation and/or update of applications distributed in the form of package files.
连接管理器348可以管理诸如Wi-Fi和蓝牙(bluetooth,BT)之类的无线连接。通知管理器349可以用不打扰用户的方式向用户显示或报告诸如到达消息、约会、接近警报等的事件。位置管理器350可以管理电子设备的位置信息。图形管理器351可以管理要向用户提供的图形效果和/或与图形效果相关的UI。安全管理器352可以提供用于系统安全、用户认证等的各种安全功能。根据本申请公开的实施例,当电子设备(例如,手机100)具有电话功能时,中间件330还可以包括电话管理器(未示出),用于管理电子设备的语音电话呼叫功能和/或视频电话呼叫功能。The connection manager 348 can manage wireless connections such as Wi-Fi and Bluetooth (BT). The notification manager 349 can display or report events such as arrival messages, appointments, proximity alerts, etc. to the user in a manner that does not bother the user. The location manager 350 can manage location information of the electronic device. The graphics manager 351 can manage graphics effects to be provided to the user and/or UIs related to the graphics effects. Security manager 352 can provide various security functions for system security, user authentication, and the like. According to an embodiment of the present disclosure, when an electronic device (eg, mobile phone 100) has a phone function, the middleware 330 may further include a phone manager (not shown) for managing voice phone call functions of the electronic device and/or Video call function.
中间件330可以通过上述内部元件模块的各种功能组合来产生和使用新中间件模块。中间件330可以提供根据OS的类型而专门化的模块,以提供差异化功能。中间件330还可以动态删除现有元件中的一些元件,或可以添加新元件。因此,中间件330可以省略在本申请公开各个实施例中描述的元件中的一些元件,还可以包括其他元件,或可以将这些元件中的一些元件替换为执行相似功能并具有不同名称的元件。The middleware 330 can generate and use a new middleware module through various functional combinations of the internal component modules described above. The middleware 330 can provide modules specialized according to the type of OS to provide differentiated functions. The middleware 330 can also dynamically delete some of the existing components, or can add new components. Accordingly, the middleware 330 may omit some of the elements described in the various embodiments disclosed herein, and may include other elements, or some of these elements may be replaced with elements that perform similar functions and have different names.
API 360(例如API 133)是API编程功能的集合,并且可以根据OS而具有不同配置。在例如Android或iOS的情况下,可以向每个平台提供一个API集合。API 360 (eg API 133) is a collection of API programming functions and can have different configurations depending on the OS. In the case of, for example, Android or iOS, one API set can be provided to each platform.
应用370(例如图2中的应用134)可以包括例如预加载的应用和/或第三方应用。应用370(例如应用134)可以包括例如主页应用371、拨号应用372、SMS/MMS应用373、 IM应用374、浏览器应用375、相机应用376、闹钟应用377、联系人应用378、语音拨号应用379、电子邮件应用380、日历应用381、媒体播放器应用382、相册应用383、时钟应用384以及任意其它合适和/或类似的应用。Application 370 (eg, application 134 in FIG. 2) may include, for example, a preloaded application and/or a third party application. Application 370 (eg, application 134) may include, for example, a home page application 371, a dialing application 372, an SMS/MMS application 373, IM application 374, browser application 375, camera application 376, alarm application 377, contact application 378, voice dialing application 379, email application 380, calendar application 381, media player application 382, album application 383, clock application 384, and Any other suitable and/or similar application.
编程模块310的至少一部分可以由存储在非暂时性计算机可读存储介质中的指令来实现。当通过一个或多个处理器(例如一个或多个处理器210)执行指令时,该一个或多个处理器可以执行与指令相对应的功能。非暂时性计算机可读存储介质可以为存储器230。编程模块310的至少一部分可以通过例如一个或多个处理器210来实现(例如执行)。编程模块310的至少一部分可以包括用于执行一个或多个功能的模块、程序、例程、指令集和/或进程。At least a portion of programming module 310 can be implemented by instructions stored in a non-transitory computer readable storage medium. When instructions are executed by one or more processors (eg, one or more processors 210), the one or more processors can perform functions corresponding to the instructions. The non-transitory computer readable storage medium can be the memory 230. At least a portion of programming module 310 can be implemented (eg, executed) by, for example, one or more processors 210. At least a portion of programming module 310 can include modules, programs, routines, sets of instructions, and/or processes for performing one or more functions.
根据本申请公开实施例的编程模块(例如编程模块310)的元件的名称可以根据OS的类型而改变。根据本申请公开实施例的编程模块可以包括上述元件中的一个或多个。备选地,上述元件中的一些元件可以从编程模块中省略。备选地,编程模块还可以包括附加元件。由根据本申请公开实施例的编程模块或其它元件执行的操作可以按顺序方法、并行方法、重复方法或启发式方法来处理。此外,可以省略一些操作,或者可以在操作中添加其它操作。The names of the elements of the programming module (eg, programming module 310) in accordance with embodiments of the present disclosure may vary depending on the type of OS. A programming module in accordance with an embodiment of the present disclosure may include one or more of the above-described elements. Alternatively, some of the above elements may be omitted from the programming module. Alternatively, the programming module may also include additional components. The operations performed by the programming modules or other elements in accordance with embodiments of the present disclosure may be processed in a sequential method, a parallel method, a repeated method, or a heuristic method. In addition, some operations may be omitted, or other operations may be added in the operation.
在本申请实施例中,应用370还可以包括具有交友功能的移动社交软件。其中,交友功能是指用户在移动社交软件上结识新朋友的功能。In the embodiment of the present application, the application 370 may further include mobile social software with a dating function. Among them, the dating function refers to the function of the user to meet new friends on the mobile social software.
用户可以在移动社交软件上向其他用户发送好友请求,当对方通过该好友请求后可与用户成为好友;当然,用户也可以在移动社交软件上接收其他用户发送的好友请求,用户通过该好友请求后可与其成为好友。The user can send a friend request to other users on the mobile social software. When the other party requests through the friend, the user can become a friend with the user; of course, the user can also receive a friend request sent by other users on the mobile social software, and the user requests through the friend. You can become friends with it later.
那么,用户可以在与对方成为好友前查看到对方的照片、年龄、职业等个人资料,也可以在与对方成为好友后查看对方的个人资料,本申请实施例对此不做任何限制。Then, the user can view the personal information of the other party's photos, age, occupation, etc. before being friends with the other party, and can also view the personal data of the other party after being friends with the other party, and the embodiment of the present application does not impose any restrictions on this.
示例性的,终端可以将用户的个人资料关联在好友请求中发送给其他用户,这样其他用户在接收到该好友请求后便可查看到对方的个人资料。Exemplarily, the terminal may associate the user's profile information with other users in the friend request, so that other users can view the other party's personal information after receiving the friend request.
示例性的,用户可以在移动社交软件上搜索附近同样使用该交友功能的用户,例如,开启交友功能的各个终端可定期将用户的位置信息上报给服务器,当用户主动搜索附近用户时,会触发终端向服务器获取距离自己较近的用户,此时,如图3所示,终端可将获取到的附近用户(例如图3中的“Sara”和“Mike”)以列表的形式显示给用户,由用户在列表中选择想要结交的好友。Exemplarily, the user can search for the user who uses the friend function in the mobile social software. For example, each terminal that opens the dating function can periodically report the location information of the user to the server. When the user actively searches for nearby users, the user will trigger. The terminal obtains a user closer to the server from the server. At this time, as shown in FIG. 3, the terminal may display the obtained nearby users (for example, “Sara” and “Mike” in FIG. 3) to the user in the form of a list. The user selects the friends they want to make in the list.
但是,上述列表中一般仅包括附近用户的头像和昵称,也就是说,用户需要凭借用户的图像和昵称来判断是否愿意与某一搜索到的用户结交好友,这就使得用户很难快速、准确的获取到符合自身预期的潜在好友。例如,用户希望通过交友功能结交到与自己年龄相仿的校友,那么图3所示的搜索结果对于用户而言均为不符合用户预期的无效搜索结果,这些无效搜索结果不仅降低了交友成功率,接收到大量不符合预期的用户的添加好友请求也会对用户造成骚扰,使得用户对上述交友功能的使用体验不佳。However, the above list generally only includes the avatars and nicknames of nearby users, that is, the user needs to rely on the user's image and nickname to judge whether they are willing to make friends with a searched user, which makes the user difficult to be fast and accurate. Get potential friends who meet their expectations. For example, if the user wants to make a friend who is similar to his age through the dating function, the search results shown in FIG. 3 are ineffective for the user to meet the user's expected invalid search results, and these invalid search results not only reduce the success rate of the friends, Adding a friend request that receives a large number of users who do not meet expectations may also cause harassment to the user, making the user's experience with the above-mentioned dating function poor.
对此,在本申请实施例提供的交友方法中,用户可以预先在社交软件上设置允许终端接收哪些用户发送的好友请求。例如,用户设置仅允许接收北京大学2013级毕业 的用户向其发送好友请求。那么,后续终端可根据这一设置对其他终端发送来的好友请求进行筛选,从而将符合用户预期(即北京大学2013级毕业的用户)的好友请求提示给用户,避免用户受到来自不符合用户预期的好友请求的骚扰,进而提高该社交软件的交友成功率。In this regard, in the dating method provided by the embodiment of the present application, the user may set in advance on the social software to allow the terminal to receive which friend requests are sent by the user. For example, user settings are only allowed to receive Peking University 2013 graduation The user sends a friend request to it. Then, the subsequent terminal can filter the friend request sent by other terminals according to the setting, so that the friend request that meets the user's expectation (ie, the graduated from Peking University 2013) is prompted to the user, so as to prevent the user from receiving the user's expectation. The harassment requested by the friend, thereby improving the success rate of the social software.
当然,用户也可以预先在社交软件上设置向哪些用户发送自己的好友请求。例如,用户设置将关联有自身个人资料的好友请求自动或手动发送给所在地为西安、且职业为会计的用户。那么,后续只有所在地为西安、且职业为会计的用户有权限读取到上述好友请求中用户的个人资料,同时,也只有所在地为西安、且职业为会计的用户有进一步的机会与发送该好友请求的用户成为好友,这样不仅可以避免来自不符合用户预期的用户的骚扰,还可以降低用户的个人资料被任意用户读取导致的隐私泄露风险。Of course, the user can also set which users to send their own friend requests in advance on the social software. For example, the user setting automatically or manually sends a friend request associated with his or her own profile to a user whose location is Xi'an and whose occupation is an accountant. Then, only the user who is located in Xi'an and whose occupation is accountant has the right to read the personal data of the user in the above friend request, and at the same time, only the user who is located in Xi'an and whose occupation is accountant has a further chance to send the friend. The requested user becomes a friend, which not only avoids harassment from users who do not meet the user's expectations, but also reduces the risk of privacy leakage caused by the user's personal data being read by any user.
示例性的,如图4中的(a)所示,终端1上安装有具有交友功能的移动社交软件:“交友”APP,持有终端1的用户Sam首次使用该“交友”APP时,如图4中的(b)所示,“交友”APP会显示完善个人资料的界面,Sam可以在该界面中填写或修改自己的个人信息。Exemplarily, as shown in (a) of FIG. 4, the mobile social software with the dating function is installed on the terminal 1: “friends” APP, and the user Sam holding the terminal 1 uses the “friends” APP for the first time, such as As shown in (b) of Figure 4, the "Friends" app will display a complete personal information interface where Sam can fill in or modify his or her personal information.
示例性的,如图4中的(b)所示,上述个人资料中可以包括姓名1009、个人照片选项1001、年龄选项1002、学历选项1003、毕业院校选项1004、职业选项1005、工作地点选项1006、爱好/简介选项1007以及性别选项1008中一个项或多项。Exemplarily, as shown in (b) of FIG. 4, the personal data may include a name 1009, a personal photo option 1001, an age option 1002, an academic option 1003, a graduate college option 1004, a career option 1005, and a work location option. 1006, one or more of the hobby/introduction option 1007 and the gender option 1008.
当然,上述个人资料中还可以包括血型、身高、体重、星座、家乡、婚恋情况以及住址等用户的个人信息,本申请对此不做任何限制。Of course, the above personal data may also include personal information of blood type, height, weight, constellation, hometown, marriage and love, and address, etc., and this application does not impose any restrictions.
另外,上述个人资料中的部分或全部选项中的内容也可以是由终端自动为用户生成的,后续实施例中将对此详细阐述。In addition, the content of some or all of the above-mentioned personal data may also be automatically generated by the terminal for the user, which will be elaborated in the following embodiments.
Sam进入“交友”APP后,可在其设置界面中进一步设置自己愿意接收哪种用户(本申请中可将其称为第一好友类型)向其发送的好友请求。例如,如图5中的(a)所示,Sam进入“交友”APP的设置界面401后,可选择“接收谁的好友请求”这一选项,来设置具体接收哪种类型的用户发送的好友请求。After Sam enters the "Friends" app, he can further set in his settings interface which kind of user he is willing to receive (which can be referred to as the first friend type in this application) to send to his friend request. For example, as shown in (a) of FIG. 5, after Sam enters the setting interface 401 of the "friends" APP, the option of "receiving who's friend request" can be selected to set which type of user to receive the friend. request.
如图5中的(b)所示,上述“接收谁的好友请求”中的第一好友类型具体可以包括年龄选项4011、性别选项4012、学历选项4013、毕业院校选项4014、职业选项4015、与自身的距离选项4016以及爱好/简介选项4017中的一项或多项,本申请实施例对此不做任何限制。当然,Sam也可以设置允许接收所有人向其发送的好友请求,即第一好友类型为任意类型的用户。As shown in (b) of FIG. 5, the first friend type in the “receiving friend request” may specifically include an age option 4011, a gender option 4012, an academic option 4013, a graduate college option 4014, and a career option 4015. The embodiment of the present application does not impose any limitation on one or more of the distance option 4016 and the hobby/introduction option 4017. Of course, Sam can also set a friend request that allows everyone to send it, that is, the first friend type is any type of user.
其中,上述第一好友类型中的各个选项之间为“与(and)”的关系,每一选项内的各个设置条件之间为“或(or)”的关系。The relationship between each option in the first friend type is “and”, and each setting condition in each option is an “or” relationship.
例如,仍如图5中的(b)所示,Sam在性别选项4012中选择了“女性”这一类型,并且在毕业院校选项4014中选择了与Sam母校相同的“清华大学”这一类型,那么,Sam设置的第一好友类型即为性别为“女性”且在“清华大学”毕业的用户,说明Sam有意向与这个类型的用户结交为好友。For example, still as shown in (b) of FIG. 5, Sam selects the type of "female" in the gender option 4012, and selects the same "Tsinghua University" as the Sam alma mater in the graduate school option 4014. Type, then, the first friend type set by Sam is the user whose gender is "female" and graduated from "Tsinghua University", indicating that Sam intends to make friends with this type of user.
那么,Sam后续在使用终端1提供的上述交友功能时,可以通过从服务器接收、 接收其它终端的广播,或者与其它终端建立无线连接(例如,蓝牙连接、Wi-Fi连接、ZigBee连接)等方式获取其他用户的个人资料。进而,终端1可在这些个人资料中为Sam筛选符合其设置的第一好友类型的用户,并将符合Sam设置的第一好友类型的用户以好友请求的形式显示出来。Then, when Sam uses the above-mentioned dating function provided by the terminal 1, it can receive it from the server, Receive broadcasts of other terminals, or establish wireless connections with other terminals (for example, Bluetooth connection, Wi-Fi connection, ZigBee connection), etc. to obtain other users' personal data. Further, the terminal 1 may select a user of the first friend type that matches the setting for Sam in the profiles, and display the user of the first friend type that meets the Sam setting in the form of a friend request.
此时,Sam接收到的好友请求均是来自性别为“女性”且毕业院校为“清华大学”的用户,而不符合上述第一好友类型的好友请求不会提示给Sam,从而可降低用户查看好友请求时接收到大量不符合用户预期的好友请求对用户造成的骚扰,提高后续交友成功的几率。可选的,不符合Sam预期的用户可以查看到Sam的个人资料,却不能发出好友请求,或者不符合Sam预期的用户不能查看到Sam的个人资料。At this time, Sam receives the friend request from the user whose gender is “female” and the graduate school is “Tsinghua University”, and the friend request that does not meet the above-mentioned first friend type does not prompt to Sam, thereby reducing the user. When a friend request is received, a large number of buddies that do not meet the user's expectations are received to harass the user, and the chances of success in subsequent friends are improved. Optionally, users who do not meet Sam's expectations can view Sam's profile, but can't make a friend request, or the user who does not meet Sam's expectations can't view Sam's profile.
以通过蓝牙连接获取其他用户的个人资料举例,如图6所示,Sam携带终端1走进一家咖啡馆后可打开查找好友、摇一摇或者附近的人等交友功能,此时,终端1通过蓝牙功能可检测到一定距离范围内同样开启该交友功能的其他终端,例如图6中Jean的终端2以及Lucy的终端3。其中,终端2中存储有Jean的个人资料1,终端3中存储有Lucy的个人资料2。可替代的,终端也可以只存储有用户的身份标识,对应的个人资料存储在服务器上。For example, as shown in FIG. 6 , the Sam carrying terminal 1 enters a coffee shop and can open a friend function such as finding a friend, shaking or nearby people. At this time, the terminal 1 passes. The Bluetooth function can detect other terminals that also open the dating function within a certain distance range, such as the terminal 2 of Jean in FIG. 6 and the terminal 3 of Lucy. Among them, the personal data 1 of Jean is stored in the terminal 2, and the personal data 2 of Lucy is stored in the terminal 3. Alternatively, the terminal may also store only the identity of the user, and the corresponding personal data is stored on the server.
那么,终端1可通过监听蓝牙广播,或者与终端2或终端3建立蓝牙连接等方式获取到Jean的个人资料1以及Lucy的个人资料2。进而,终端1可根据Sam在“接收谁的好友请求”中设置的第一好友类型,确定个人资料1和个人资料2中是否有符合Sam预期的用户,即性别为“女性”且在“清华大学”毕业的用户。Then, the terminal 1 can acquire Jean's profile 1 and Lucy's profile 2 by listening to the Bluetooth broadcast or establishing a Bluetooth connection with the terminal 2 or the terminal 3. Further, the terminal 1 can determine whether there is a user who meets the Sam expectation in the personal data 1 and the personal data 2 according to the first friend type set by Sam in the "receiving friend request", that is, the gender is "female" and is in "Tsinghua" University graduated users.
例如,在个人资料1中Jean的性别为“女性”、毕业院校为“清华大学”,而在个人资料2中Lucy的性别为“女性”、毕业院校为“北京大学”。那么,结合Sam在图5中的(b)内设置的第一好友类型,终端1可确定Jean为符合Sam设置的第一好友类型的用户。进而,终端1可以生成Jean的好友请求,并显示该好友请求,以便Sam及时获取到身边存在的潜在好友。For example, in profile 1, Jean's gender is "female", graduate school is "Tsinghua University", and in profile 2, Lucy's gender is "female" and the graduate school is "Peking University." Then, in conjunction with the first friend type set by Sam in (b) of FIG. 5, the terminal 1 can determine that Jean is a user of the first friend type set in accordance with Sam. Further, the terminal 1 can generate a friend request of Jean and display the friend request, so that Sam can obtain the potential friend existing nearby.
又或者,当Sam携带终端1走进一家咖啡馆后,终端1也可以通过服务器获取到Jean的个人资料1和Lucy的个人资料2。例如,当终端1检测到Sam打开“附近的人”这一交友功能时,可触发终端1向服务器发送此时终端1的位置信息,并向服务器请求获取终端1附近同样开启该交友功能的其他用户的个人资料。那么,服务器根据终端1的位置信息,可将距离终端1较近的其他终端(例如上述终端2和终端3)上报的Jean的个人资料1和Lucy的个人资料2发送给终端1。Or, when Sam carries the terminal 1 into a cafe, the terminal 1 can also obtain Jean's profile 1 and Lucy's profile 2 through the server. For example, when the terminal 1 detects that Sam opens the "friends in the vicinity" function, the terminal 1 can be triggered to send the location information of the terminal 1 to the server at this time, and request the server to obtain other similarities in the vicinity of the terminal 1 that also enable the friend function. User's profile. Then, the server can transmit the personal data 1 of Jean and the personal data 2 of Lucy reported by other terminals (such as the terminal 2 and the terminal 3) that are closer to the terminal 1 to the terminal 1 according to the location information of the terminal 1.
当然,服务器也可将距离终端1较近的终端2和终端3的标识发送给终端1,这样终端1可根据终端2和终端3的标识分别与终端2和终端3建立连接,从而获取到Jean的个人资料1和Lucy的个人资料2。Of course, the server can also send the identifiers of the terminal 2 and the terminal 3 that are closer to the terminal 1 to the terminal 1, so that the terminal 1 can establish a connection with the terminal 2 and the terminal 3 according to the identifiers of the terminal 2 and the terminal 3, thereby obtaining the Jean. Profile 1 and Lucy's profile 2.
又或者,终端2可在蓝牙广播中广播一个用于指示Jean的个人资料的标识1,终端3可在蓝牙广播中广播一个用于指示Lucy的个人资料的标识2。那么,终端1监听到该蓝牙广播后,可请求服务器查找分别与该标识1和标识2对应的个人资料,即Jean的个人资料1和Lucy的个人资料2。Still alternatively, the terminal 2 may broadcast an identification 1 for indicating Jean's profile in the Bluetooth broadcast, and the terminal 3 may broadcast an identification 2 for indicating Lucy's profile in the Bluetooth broadcast. Then, after the terminal 1 listens to the Bluetooth broadcast, the terminal 1 may be requested to search for personal data corresponding to the identifier 1 and the identifier 2, namely, the personal profile 1 of Jean and the profile 2 of Lucy.
另外,在终端1显示来自Jean的好友请求时,终端1还可以通过蓝牙等通信方式指示Jean的终端2响铃或者闪烁灯光,这样Sam可以在现实生活中准确定位出符合其 交友预期的用户Jean。当然,Sam的终端1也可以响铃或者闪烁灯光,以便于发出该交友请求的用户Jean确认接收其交友请求的用户Sam的具体位置。In addition, when the terminal 1 displays a friend request from Jean, the terminal 1 can also indicate that the terminal 2 of the Jean rings or flashes the light through communication means such as Bluetooth, so that Sam can accurately locate and conform to it in real life. Dating the expected user Jean. Of course, Sam's terminal 1 can also ring or flash the lights so that the user who issued the friend request confirms the specific location of the user Sam who received his friend request.
又或者,当终端1确定出符合Sam设置的第一好友类型,或者确定出与Sam的个人资料匹配度较高的一个或多个用户时,终端1(或者与终端1连接的可穿戴设备)也可以不直接显示来自Jean的好友请求,而是通过响铃声音、震动频率、或者灯光颜色等方式提示Sam附近有潜在的交友目标。Or alternatively, when the terminal 1 determines that the first friend type that meets the Sam setting, or determines one or more users that have a higher degree of matching with Sam's profile, the terminal 1 (or a wearable device connected to the terminal 1) It is also possible not to directly display a friend request from Jean, but to prompt a potential friend target near Sam by means of ringing sound, vibration frequency, or light color.
例如,终端1根据Jean的个人资料可以确定出Jean为符合其交友预期的用户,那么,当检测到Jean与Sam的距离越来越近时,终端1的震动频率可以越来越大,以提示Sam符合其交友预期的用户正在靠近。For example, the terminal 1 can determine that the Jean is a user who meets the expectations of his friends according to Jean's profile. Then, when it is detected that the distance between Jean and Sam is getting closer, the vibration frequency of the terminal 1 can be larger and larger to prompt. Sam is in line with his friends' expectations that the user is approaching.
其中,终端1可以通过检测与Jean的终端2之间的信号强度或GPS位置等方法确定Jean与Sam之间的距离,本申请实施例对此不做任何限制。The terminal 1 can determine the distance between the Jean and the Sam by detecting the signal strength or the GPS position between the terminal 2 and the second terminal. The embodiment of the present application does not impose any limitation on this.
示例性的,当终端1为Sam确定出符合其设置的第一好友类型的用户为Jean时,如果终端1处于锁屏或黑屏状态,则如图7所示,终端1可显示锁屏界面,并在锁屏界面中显示已接收到来自Jean的好友请求,从而提示Sam与符合第一好友类型的用户Jean成为好友。当然,终端1也可以在其下拉菜单、上拉菜单、桌面、通知栏以及负一屏菜单等界面中显示该好友请求,本申请实施例对此不做任何限制。Exemplarily, when the terminal 1 determines that the user of the first friend type that meets the setting is Jean, if the terminal 1 is in a lock screen or a black screen state, as shown in FIG. 7 , the terminal 1 can display a lock screen interface. And in the lock screen interface, it shows that the friend request from Jean has been received, thereby prompting Sam to become a friend with the user Jean who matches the first friend type. Of course, the terminal 1 can also display the friend request in an interface such as a drop-down menu, a pull-up menu, a desktop, a notification bar, and a negative one-screen menu, and the embodiment of the present application does not impose any limitation on this.
其中,负一屏菜单可以是指从桌面(或主屏幕)向右滑动进入的界面,该界面中可以显示用户常用的功能、应用以及订阅的服务和资讯等,负一屏菜单也被称为桌面助理、快捷菜单等。The negative one-screen menu may refer to an interface that slides from the desktop (or the main screen) to the right, and the interface can display the functions, applications, and subscribed services and information commonly used by the user. The negative one-screen menu is also called Desktop assistant, shortcut menu, and more.
如图8中的(a)所示,Sam接收到来自Jean的好友请求后,可在“交友”APP的好友推送界面中查看该好友请求,在好友推送界面中可显示部分Jean的个人资料,例如,显示符合Sam设置的第一好友类型的那部分个人资料。当然,在好友推送界面中也可以不显示Jean的个人资料。As shown in (a) of FIG. 8 , after receiving the friend request from Jean, Sam can view the friend request in the friend push interface of the “friends” APP, and display part of Jean's profile in the friend push interface. For example, the portion of the profile that matches the first friend type set by Sam is displayed. Of course, Jean's profile may not be displayed in the friend push interface.
当Sam选中来自Jean的好友请求后,如果Jean的好友请求中关联有Jean的个人资料,则如图8中的(b)所示,终端1可显示完整的Jean的个人资料,其中,Jean的个人资料中填写的毕业院校为“清华大学”且性别为“女性”。When Sam selects a friend request from Jean, if Jean's friend request is associated with Jean's profile, as shown in (b) of Figure 8, terminal 1 can display the complete Jean profile, where Jean's The graduation institution filled out in the personal data is “Tsinghua University” and the gender is “female”.
当然,“交友”APP也可以设置在Sam与Jean成为好友之后,才允许查看对方的个人资料,避免将用户信息泄露给好友之外的用户。Of course, the "Friends" app can also be set to allow Sam and Jean to become friends before allowing them to view their profile and avoid revealing user information to users outside of their friends.
由于终端1提示Sam接收到的好友请求均符合Sam设置的第一好友类型,因此,当终端1接收到来自Jean的好友请求后,可默认Sam接收了Jean的好友请求,与Jean成为好友;又或者,当终端1提示Sam接收到来自Jean的好友请求后,可在Sam通过该好友请求后与Jean成为好友;又或者,当终端1提示Sam接收到来自Jean的好友请求后,Sam可主动向Jean发送自己的好友请求,当Jean通过Sam发送的好友请求后,与Jean成为好友,本申请实施例对用户之间添加为好友的具体方式不做限定。Since the terminal 1 prompts Sam to receive the friend request in accordance with the first friend type set by Sam, when the terminal 1 receives the friend request from Jean, the default Sam can receive the friend request of Jean and become a friend with Jean; Alternatively, when the terminal 1 prompts Sam to receive a friend request from Jean, Sam may become a friend with Sam after the friend requests through the friend; or, when the terminal 1 prompts Sam to receive a friend request from Jean, Sam may actively Jean sends a friend request, and when Jean sends a friend request sent by Sam, it becomes a friend with Jean. The embodiment of the present application does not limit the specific way of adding a friend as a friend.
另外,图8中的(a)所示的好友推送界面中的好友请求也可以是服务器向终端1发送的。具体的,当Sam选择了性别为“女性”且毕业院校选为“清华大学”的第一好友类型之后,终端1可将Sam设置的上述第一好友类型发送至“交友”APP的服务器中进行维护。In addition, the friend request in the friend push interface shown in (a) of FIG. 8 may also be sent by the server to the terminal 1. Specifically, after Sam selects the first friend type whose gender is “female” and the graduate school is selected as “Tsinghua University”, the terminal 1 may send the first friend type set by Sam to the server of the “friends” APP. Carry out maintenance.
这样,当服务器接收到其他用户的个人资料(例如交友请求中关联的个人资料) 时,服务器可按照Sam设置的第一好友类型,确定满足性别为“女性”且毕业院校为“清华大学”的一个或多个用户,并将这些用户的好友请求发送给终端1,由终端1显示该好友请求。此时,Sam仍可在图8所示的好友推送界面中查看服务器为Sam确定的符合Sam预期的好友请求。In this way, when the server receives other users' personal data (such as the personal data associated with the friend request) The server may determine one or more users who meet the gender as “female” and the graduate school is “Tsinghua University” according to the first friend type set by Sam, and send the friend request of the user to the terminal 1, by the terminal. 1 Display the friend request. At this time, Sam can still view the friend request determined by the server for Sam to meet Sam's expectations in the friend push interface shown in FIG. 8.
当然,Sam也可以主动在“交友”APP的搜索界面中搜索是否有符合第一好友类型的用户。如图9所示,终端1可将获取到的所有用户的个人资料中,符合Sam设置的第一好友类型的用户的个人资料,例如Jean和GiGi的个人资料作为搜索结果,并将该搜索结果以列表的形式显示给Sam。Sam可以在该列表中选择相应的用户添加为好友,或者查看该用户的个人资料。Of course, Sam can also actively search for the user who matches the first friend type in the search interface of the "friends" APP. As shown in FIG. 9, the terminal 1 may use the personal data of the user of the first friend type set by Sam, such as Jean and GiGi's personal data, as the search result, and the search result. Display it to Sam as a list. Sam can select the corresponding user to add as a friend in the list, or view the user's profile.
当然,终端1还可以根据Sam分别与Jean和GiGi之间的距离,按照距离由近及远的顺序对上述列表中的用户进行排序,以提高交友成功率。Of course, the terminal 1 can also sort the users in the list according to the distance between Sam and Jean and GiGi according to the distance, in order of increasing distance, in order to improve the success rate of the friends.
对于不符合Sam设置的第一好友类型的用户,服务器或者其他终端可以不向终端1发送这些用户的好友请求;或者,终端1可自动屏蔽服务器或者其他终端发送的这些用户的好友请求;又或者,终端1还可以在图10所示的屏蔽列表601中显示这些用户的好友请求。The server or other terminal may not send the friend request of the user to the terminal 1 for the first friend type that does not meet the Sam setting; or the terminal 1 may automatically block the friend request of the user sent by the server or other terminal; or The terminal 1 can also display the friend requests of these users in the mask list 601 shown in FIG.
如图10所示,终端1在图6所示的咖啡店中接收到Jean和Lucy的个人资料,其中,Lucy的个人资料不符合Sam设置的第一好友类型,那么,终端1可将Lucy的好友请求以屏蔽消息的形式显示在屏蔽列表601中,Sam可以在屏蔽列表601中对Lucy的好友请求进行查看或删除等操作。As shown in FIG. 10, the terminal 1 receives the personal data of Jean and Lucy in the coffee shop shown in FIG. 6, wherein the profile of Lucy does not conform to the first friend type set by Sam, then the terminal 1 can use Lucy's The friend request is displayed in the mask list 601 in the form of a mask message, and Sam can view or delete the Lucy friend request in the mask list 601.
示例性的,Sam可对屏蔽列表601中来自Lucy的屏蔽消息执行向右滑动的操作,此时,如图11中的(a)所示,响应于Sam的滑动操作,终端1可唤出该屏蔽消息的删除按钮701和黑名单按钮702。Sam可点击删除按钮701手动删除屏蔽列表601中Lucy的好友请求,或者,Sam也可点击黑名单按钮702手动将Lucy加入黑名单中。Lucy被加入黑名单后,终端1将为Sam屏蔽掉后续来自Lucy的一切消息。Exemplarily, Sam may perform a rightward sliding operation on the masked message from Lucy in the mask list 601. At this time, as shown in (a) of FIG. 11, the terminal 1 may call the response in response to the sliding operation of Sam. The delete button 701 and the blacklist button 702 of the message are masked. Sam can delete the friend request of Lucy in the mask list 601 by clicking the delete button 701, or Sam can manually add Lucy to the blacklist by clicking the blacklist button 702. After Lucy is blacklisted, Terminal 1 will block all subsequent messages from Lucy.
又或者,Sam可点击屏蔽列表601中来自Lucy的屏蔽消息,进而查看被屏蔽的Lucy的完整个人资料。如图11中的(b)所示,Sam查看了Lucy的个人资料后,如果希望和Lucy成为好友或有进一步的交流,则Sam还可以点击白名单按钮703,手动将Lucy加入白名单中。Lucy被加入白名单后,如果终端1后续再次接收到来自Lucy的消息,则终端1会将Lucy发送的消息提示给Sam。Alternatively, Sam can click on the masked message from Lucy in the mask list 601 to view the full profile of the blocked Lucy. As shown in (b) of Figure 11, after Sam looks at Lucy's profile, if he wants to be friends with Lucy or has further communication, Sam can also click on the whitelist button 703 to manually add Lucy to the whitelist. After Lucy is added to the whitelist, if the terminal 1 subsequently receives the message from Lucy again, the terminal 1 will prompt the message sent by Lucy to Sam.
进一步地,如果Sam手动将原本不符合上述第一好友类型的Lucy加入白名单,则如图12中的(a)所示,终端1可提示Sam返回图5中的(a)所示的设置界面401重新设置“接收谁的好友请求”中的第一好友类型。Further, if Sam manually adds Lucy that does not originally meet the above-mentioned first friend type to the white list, as shown in (a) of FIG. 12, the terminal 1 may prompt Sam to return to the setting shown in (a) of FIG. 5. The interface 401 resets the first friend type in the "receive friend request".
又或者,终端1还可以根据Lucy的个人资料自动对Sam预先设置的第一好友类型进行优化。例如,Sam原本设置的第一好友类型中仅包括毕业院校为“清华大学”的用户,而图11中的(b)所示出的Lucy的个人资料中显示Lucy的毕业院校为“北京大学”。那么,如图12中的(b)所示,终端1可以将上述第一好友类型中毕业院校这一选项优化为“清华大学”或“北京大学”,并提示Sam确定该优化结果。如果Sam确定该优化结果,则终端1将已保存的第一好友类型中毕业院校这一选项的内容修改为“清华大学”或“北京大学”,这样,后续毕业院校为“清华大学”或“北京 大学”的用户的好友请求都可发送至终端1,从而提高后续Sam使用该“交友”APP的交友成功率。Alternatively, the terminal 1 can automatically optimize the first friend type preset by Sam according to Lucy's profile. For example, Sam’s original first friend type includes only the graduate school as “Tsinghua University”, while Lucy’s profile shown in (b) of Figure 11 shows Lucy’s graduate school as “Beijing”. the University". Then, as shown in (b) of FIG. 12, the terminal 1 can optimize the option of the graduate school in the first friend type as "Tsinghua University" or "Peking University", and prompts Sam to determine the optimization result. If Sam determines the optimization result, the terminal 1 modifies the content of the option of the graduated college in the saved first friend type to "Tsinghua University" or "Peking University", so that the subsequent graduate school is "Tsinghua University". Or "Beijing The friend request of the user of the university can be sent to the terminal 1, thereby improving the success rate of subsequent friends using the "friend" APP.
另外,本申请实施例中,终端也可以根据大数据统计、图像识别或者定位功能等方式自动帮助用户生成其个人资料中的一项或多项。In addition, in the embodiment of the present application, the terminal may also automatically assist the user to generate one or more of his personal data according to a big data statistics, an image recognition function, or a positioning function.
例如,终端1可读取在上班时间(例如早9点至晚6点这一时间段)终端1所处的位置信息,从而将读取到的出现频率最高的位置信息作为Sam的工作地点,并填写在图4中(b)所示的工作地点选项1006中。For example, the terminal 1 can read the location information of the terminal 1 during the working hours (for example, from 9:00 am to 6:00 pm), so that the read location information with the highest frequency of occurrence is used as the working place of Sam. And fill in the work location option 1006 shown in (b) of FIG.
又例如,终端1可对Sam在其个人资料的个人照片选项1001中上传的个人照片进行人脸识别,根据人脸特征识别Sam的性别和年龄,并将识别出的性别和年龄分别填写在图4中(b)所示的年龄选项1002和性别选项1008中。For another example, the terminal 1 may perform face recognition on the personal photos uploaded by Sam in the personal photo option 1001 of his profile, identify the gender and age of Sam according to the facial features, and fill in the identified gender and age respectively. 4 (b) shown in age option 1002 and gender option 1008.
又例如,终端1还可以将Sam在终端1上的行为数据发送至“交友”APP的服务器,由服务器通过大数据统计等方式生成用户的爱好/简介,并将生成的具体爱好/简介发给终端1,由终端1将服务器为Sam生成的爱好/简介填写在上述个人资料的爱好/简介选项1007中。For another example, the terminal 1 can also send the behavior data of Sam on the terminal 1 to the server of the “friends” APP, and the server generates the user's hobby/introduction by means of big data statistics, etc., and sends the generated specific hobby/introduction to the server. The terminal 1 fills in the hobby/introduction generated by the server for Sam by the terminal 1 in the hobby/introduction option 1007 of the above profile.
示例性的,如果检测到用户经常在晚上12点之后玩手机,则可认为用户的简介为晚睡;如果检测到用户经常在终端上使用游戏类APP,则可认为用户的爱好为打游戏;如果检测到用户经常在公司的时长大于10小时,则可认为用户的简介为加班;如果检测到用户经常浏览与科技相关的节目、网页、新闻或帖子,则可认为用户的爱好为科技;如果检测到用户经常浏览与军事相关的节目、网页、新闻或帖子,则可认为用户的爱好为军事;如果检测到用户经常浏览与汽车相关的节目、网页、新闻或帖子,则可认为用户的爱好为汽车;如果检测到用户经常浏览与娱乐相关的节目、网页、新闻或帖子,则可认为用户的爱好为娱乐;如果检测到用户的位置信息经常出现在旅游景点,则可认为用户的爱好为旅游;如果检测到用户在终端上购买的电影票较多,则可认为用户的爱好为电影;如果检测到用户在终端上购买的书籍较多,则可认为用户的爱好为读书;如果检测到用户在终端上购买的服饰较多,则可认为用户的爱好为穿搭;如果检测到终端上安装的运动类APP较为活跃,则可认为用户的爱好为运动。Exemplarily, if it is detected that the user often plays the mobile phone after 12 o'clock in the evening, the user's profile may be considered to be late sleeping; if it is detected that the user often uses the game-like APP on the terminal, the user's hobby may be considered as playing the game; If it is detected that the user often spends more than 10 hours in the company, the user's profile may be considered to be overtime; if the user is frequently browsed for technology-related programs, web pages, news or posts, the user's hobby may be considered as technology; If it is detected that the user frequently browses military related programs, webpages, news or posts, the user's hobby is considered to be military; if the user is frequently browsed to the car-related programs, webpages, news or posts, the user's hobbies can be considered. For the car; if it is detected that the user frequently browses entertainment-related programs, web pages, news or posts, the user's hobby can be regarded as entertainment; if it is detected that the user's location information often appears in the tourist attraction, the user's hobby can be considered as Travel; if it is detected that the user buys more movie tickets on the terminal, it can be considered The user's hobby is a movie; if it is detected that the user purchases more books on the terminal, the user's hobby may be regarded as reading; if it is detected that the user purchases more clothing on the terminal, the user's hobby may be considered as wearing If it is detected that the sports app installed on the terminal is active, the user's hobby is considered to be sports.
当然,终端或服务器为用户预测出的爱好/简介可以包括一个或多个,本申请实施例对此不做任何限制。Of course, the hobby/introduction predicted by the terminal or the server for the user may include one or more, and the embodiment of the present application does not impose any limitation on this.
终端1在显示Sam的个人资料时,还可使用特定的标记区分个人资料中Sam填写的选项以及终端为Sam自动生成的选项。如图13所示,Sam的个人资料中Sam的年龄以及爱好/简介中的“晚睡”和“电影”这两项都是终端自动生成的,那么终端可以使用不同的颜色或标识来标记年龄以及爱好/简介中的“晚睡”和“电影”这些选项。这样,Sam可从个人资料中快速找到终端1为其生成的选项内容并对其进行修正。When the terminal 1 displays Sam's profile, it can also use a specific tag to distinguish between the option that Sam fills in the profile and the option that the terminal automatically generates for Sam. As shown in Figure 13, the age of Sam in Sam's profile and the "late sleep" and "movie" in the hobby/introduction are automatically generated by the terminal, so the terminal can use different colors or logos to mark the age. And the "sleeping" and "movie" options in the hobby/introduction. In this way, Sam can quickly find and correct the option content generated by terminal 1 from his profile.
进一步地,Sam设置了自己的个人资料后,终端1可将Sam的个人资料发送至“交友”APP的服务器,由服务器根据Sam设置的个人资料,确定Sam是否符合其他用户设置的第一好友类型,进而将Sam以好友请求的形式主动或响应其他用户搜索的结果发送给相应用户的终端,以提高交友成功率。其中,Sam的好友请求中可包含Sam的个人资料。 Further, after Sam sets his own personal information, the terminal 1 can send Sam's personal data to the server of the "friends" APP, and the server determines whether the Sam matches the first friend type set by other users according to the personal data set by Sam. In turn, Sam sends the result of the user's request in the form of a friend request or responds to the search of other users to the terminal of the corresponding user, so as to improve the success rate of the friend. Among them, Sam's friend request can include Sam's profile.
另外,如图14中的(a)所示,“交友”APP的设置界面401中可以包括“向谁发送好友请求”这一选项,用户进入这一选项后可设置具体向哪种类型的用户(本申请中可将其称为第二好友类型)发送自己的好友请求。In addition, as shown in (a) of FIG. 14, the setting interface 401 of the "friends" APP may include the option of "Who sends a friend request to", and the user can set which type of user to enter after this option is entered. (This can be referred to as the second buddy type in this application) to send his own friend request.
如图14中的(b)所示,与设置“接收谁的好友请求”中的第一好友类型类似的,“向谁发送好友请求”中的第二好友类型中具体也可以包括年龄选项1411、性别选项1412、学历选项1413、毕业院校选项1414、职业选项1415、与自身的距离选项1416以及爱好/简介选项1417中的一项或多项,本申请实施例对此不做任何限制。当然,Sam也可以设置允许向所有人发送好友请求。As shown in (b) of FIG. 14, the second friend type in the "Who is sent a friend request" is similar to the first friend type in the "Who receives a friend request", and may also include the age option 1411. The embodiment of the present application does not impose any limitation on one or more of the gender option 1412, the academic option 1413, the graduate school option 1414, the career option 1415, the distance option 1416, and the hobby/introduction option 1417. Of course, Sam can also set up to allow friends to be sent to everyone.
其中,上述第二好友类型的各个选项之间为“与(and)”的关系,每一选项内的各个设置条件之间为“或(or)”的关系。例如,Sam在年龄选项1411中选择了“20-30”这一类型,并且在职业选项1415中选择了“通讯”和“IT”这两种类型,那么,Sam设置的第二好友类型即为年龄在“20-30”之间,且职业为“通讯”或“IT”领域的用户,说明Sam有意向与这个类型的用户结交为好友。The relationship between the respective options of the second friend type is “and”, and each setting condition in each option is an “or” relationship. For example, Sam selects the type "20-30" in the age option 1411, and selects the "communication" and "IT" types in the career option 1415, then the second friend type set by Sam is Users who are between "20-30" and whose occupation is in the "communication" or "IT" field indicate that Sam intends to make friends with this type of user.
后续,终端1可将Sam设置的上述第二好友类型发送至“交友”APP的服务器中进行维护。当服务器接收到其他终端上传的其他用户的个人资料时,服务器可判断该用户的个人资料是否满足Sam设置的第二好友类型,当该用户的个人资料满足年龄在“20-30”之间,且职业为“通讯”或“IT”领域时,服务器可将Sam的好友请求发送至该用户的终端。Subsequently, the terminal 1 may send the above-mentioned second friend type set by Sam to the server of the “friends” APP for maintenance. When the server receives the personal data of other users uploaded by other terminals, the server may determine whether the personal data of the user satisfies the second friend type set by Sam, and when the personal data of the user meets the age between “20-30”, When the occupation is in the "communication" or "IT" field, the server can send Sam's friend request to the user's terminal.
又或者,当终端1接收到其他终端发送来的其他用户的个人资料时,终端1可判断该用户的个人资料是否满足Sam设置的第二好友类型,当该用户的个人资料满足年龄在“20-30”之间,且职业为“通讯”或“IT”领域时,终端1可将Sam的好友请求发送至该用户的终端。Or, when the terminal 1 receives the personal data of other users sent by other terminals, the terminal 1 can determine whether the personal data of the user satisfies the second friend type set by Sam, and when the personal data of the user meets the age of "20" Between the -30" and the occupation is the "communication" or "IT" field, the terminal 1 can send Sam's friend request to the user's terminal.
这样一来,Sam在终端1上设置了第二好友类型后,终端1可自动将Sam的好友请求发送给与第二好友类型匹配的用户,进而与其他用户成为好友,即在用户无感知的情况下可以请求与指定的用户成为好友,可提高交友效率,同时省去了人工每次输入好友添加条件的繁琐设置。In this way, after Sam sets the second friend type on the terminal 1, the terminal 1 can automatically send the Sam friend request to the user matching the second friend type, and then become friends with other users, that is, the user is not aware. In this case, you can request to be a friend with the specified user, which can improve the efficiency of making friends, and at the same time save the cumbersome setting of manually adding a friend each time.
同时,在设置了第二好友类型后,只有符合第二好友类型的用户才会接收到Sam的好友请求,后续与Sam成为好友的用户也是这些接收到Sam的好友请求的用户,因此不会出现不符合Sam预期的用户向Sam发送好友请求的现象,从而降低对Sam造成的骚扰。At the same time, after the second friend type is set, only the user who meets the second friend type will receive the friend request of Sam, and the user who subsequently becomes a friend with Sam is also the user who receives the friend request of Sam, and therefore does not appear. Users who do not meet Sam's expectations send Sam's request to Sam to reduce the harassment caused to Sam.
另外,Sam在设置上述第二好友类型中的爱好/简介选项1416时,可以具体设置当两个用户的爱好/简介相似程度达到多少时,允许向其发送自己的好友请求。In addition, when Sam sets the hobby/introduction option 1416 in the second friend type described above, Sam can specifically set to allow the friend request to be sent to the two users when the degree of similarity of the hobby/introduction is reached.
如图15中的(a)所示,终端1可预先设置多个等级展示两个用户之间爱好/简介的相似程度,例如,当等级为“有的聊”时,说明当两个用户之间爱好/简介的相似度大于30%时,Sam允许向对方发送自己的好友请求;当等级为“志同道合”时,说明当两个用户之间爱好/简介的相似度大于60%时,Sam允许向对方发送自己的好友请求;当等级为“心有灵犀”时,说明当两个用户之间爱好/简介的相似度大于80%时,Sam允许向对方发送自己的好友请求。As shown in (a) of FIG. 15, the terminal 1 can preset a plurality of levels to show the similarity degree of the hobby/introduction between the two users, for example, when the level is "some chat", it indicates that when two users are When the similarity of the hobby/introduction is greater than 30%, Sam allows to send his friend request to the other party; when the rating is "like-minded", it means that when the similarity of the hobby/profile between the two users is greater than 60%, Sam allows Sending a friend request to the other party; when the rating is "Heart has a heart", it indicates that when the similarity of the hobby/profile between the two users is greater than 80%, Sam allows to send his friend request to the other party.
那么,Sam通过选择不同的等级可以设置两个用户之间爱好/简介的相似度,进而 终端1可根据该相似度确定是否向对方发送Sam的好友请求。Then, Sam can set the similarity of the hobby/introduction between the two users by selecting different levels, and then The terminal 1 can determine whether to send Sam's friend request to the other party according to the similarity.
其中,上述30%、60%以及80%的爱好/简介相似度仅为示例,本领域技术人员可根据实际经验或实际应用场景对此进行设置。另外,本申请实施例对计算两个用户之间爱好/简介的相似度的具体算法不作任何限定。The hobbies/introduction similarities of the above 30%, 60%, and 80% are only examples, and those skilled in the art can set this according to actual experience or actual application scenarios. In addition, the specific embodiment of the present application does not limit the specific algorithm for calculating the similarity of the hobby/introduction between two users.
又或者,如图15中的(b)所示,Sam也可以在爱好/简介选项1416中手动输入自己想要结交的好友的具体爱好/简介,或者,从候选的多个爱好/简介中选择自己想要结交的好友的具体爱好/简介,这样可以结交到用户希望的具有特定特质的好友。Alternatively, as shown in (b) of FIG. 15, Sam may also manually input the specific hobby/introduction of the friend he or she wants to make in the hobby/introduction option 1416, or select from a plurality of hobbies/introductions of the candidate. The specific hobbies/introductions of the friends you want to make, so that you can make friends with specific traits that the user wants.
当然,在Sam设置“接收谁的好友请求”中的第一好友类型时,如图5中的(b)所示,如果Sam选择了爱好/简介选项4017,则与图15类似的,Sam也可进一步设置接收与自己爱好/简介匹配的用户的好友请求。Of course, when Sam sets the first friend type in "Who receives friend request", as shown in (b) of FIG. 5, if Sam selects the hobby/introduction option 4017, similar to FIG. 15, Sam also A friend request to receive a user that matches his hobby/profile can be further set.
也就是说,使用本申请实施例提供的交友功能时可以根据两个用户之间爱好/简介的匹配程度,来选择接收他人的好友请求或者将自己的好友请求发送给他人,从而可提高后续交友成功的几率。That is to say, when using the dating function provided by the embodiment of the present application, according to the matching degree of the hobby/introduction between the two users, the friend request to receive another friend or the request of the friend can be sent to others, thereby improving the follow-up friends. The chance of success.
那么,当服务器查询到符合Sam设置的第二好友类型的用户(例如Jean)时,服务器可将Sam的好友请求发送给Jean的终端,当Sam的好友请求中包含Sam的个人资料时,Jean可进一步查看到Sam的个人资料。Then, when the server queries a user (such as Jean) that meets the second friend type set by Sam, the server can send Sam's friend request to Jean's terminal. When Sam's friend request contains Sam's profile, Jean can Further check out Sam's profile.
如图16所示,在向其他用户显示Sam的个人资料时,也可以通过特定的标记区分这些爱好/简介中哪些是Sam自己填写的,哪些是Sam的终端1为Sam自动生成的。这样,接收到Sam个人资料的用户Jean可通过这些标识更加全面的了解发送好友请求的用户Sam。As shown in FIG. 16, when Sam's profile is displayed to other users, it is also possible to distinguish which of these hobbies/profiles are those that Sam himself fills out, and which are Sam's terminal 1 that is automatically generated by Sam. In this way, the user Jean who receives the Sam profile can use these identities to more fully understand the user Sam who sent the friend request.
另外,当Jean的终端接收到来自Sam的个人资料时,如果检测到Jean的终端与可穿戴设备(例如图16所示的头戴式电子设备)处于连接状态,则说明用户正在使用头戴式电子设备,那么Jean的终端可将接收到的Sam的个人资料显示在头戴式电子设备上,从而及时向Jean展现接收到的个人资料。In addition, when the terminal of Jean receives the personal data from Sam, if it is detected that the terminal of Jean is connected to the wearable device (for example, the head mounted electronic device shown in FIG. 16), the user is using the headset. The electronic device, then Jean's terminal can display the received Sam's personal information on the head-mounted electronic device, so as to promptly present the received personal data to Jean.
当然,在显示上述图4-图15中的任一显示界面时,如果检测到终端1与可穿戴设备连接,说明用户正在使用可穿戴设备,那么,终端可将实时生成的显示界面发送至可穿戴设备上进行显示,另外,可穿戴设备也可以作为终端的一种实现上述交友功能,本申请实施例对此不做任何限制。Of course, when any of the display interfaces in FIG. 4 to FIG. 15 is displayed, if the terminal 1 is detected to be connected to the wearable device, indicating that the user is using the wearable device, the terminal may send the display interface generated in real time to the display device. The display device is displayed on the wearable device. In addition, the wearable device can also be used as a terminal to implement the above-mentioned friendship function.
在本申请的一些实施例中,“交友”APP提供的上述交友功能还可以同时具有图5至图13所示的设置“接收谁的好友请求”的功能,以及图14至图16所示的设置“向谁发送好友请求”的功能。也就是说,用户可设置接收第一好友类型的用户的好友请求,同时还可设置向第二好友类型的用户发送自己的好友请求(第一好友类型与第二好友类型可以相同或不同)。In some embodiments of the present application, the above-mentioned dating function provided by the "friends" APP may also have the function of setting the "receive friend request" shown in FIG. 5 to FIG. 13 and the functions shown in FIGS. 14 to 16. Set the "To whom to send friend request" feature. That is, the user may set a friend request to receive the user of the first friend type, and may also set to send a friend request to the second friend type user (the first friend type and the second friend type may be the same or different).
这样,用户可以将自己的好友请求发送给较为理想的接收对象,并接收到符合自身好友添加标准的用户的好友请求,那么,经过第一好友类型和第二好友类型的双重筛选后,“交友”APP可帮助用户在众多好友请求中较好的锁定符合用户预期的潜在好友,避免为用户提供大量不符合用户预期的无效好友请求对用户造成骚扰,提高了交友成功几率。 In this way, the user can send his friend request to the ideal receiving object, and receive the friend request of the user who meets the criteria for adding the friend. Then, after the double screening of the first friend type and the second friend type, "APP can help users better lock potential friends who meet the user's expectations in many friend requests, avoiding providing users with a large number of invalid friend requests that do not meet the user's expectations, causing harassment to users, and increasing the chances of successful friends.
在本申请的另一些实施例中,用户还可以在上述“交友”APP中设置具体向哪些用户公开自己的照片、年龄、职业等个人资料。In other embodiments of the present application, the user may also set which specific users to disclose their personal photos, age, occupation, and the like in the above-mentioned "friends" APP.
示例性的,如图18中的(a)所示,Sam进入“交友”APP后,可在其设置界面中选择“向谁开放个人资料”这一选项,从而设置向哪种用户开放读取其个人资料的权限(本申请中可将其称为第三好友类型)。Exemplarily, as shown in (a) of FIG. 18, after Sam enters the "friends" APP, he can select the option of "open to whom to open profile" in its setting interface, thereby setting which user is open to read. The rights to their profile (which can be referred to as the third friend type in this application).
如图18中的(b)所示,上述“向谁开放个人资料”中的第三好友类型具体可以包括年龄选项、性别选项、学历选项、毕业院校选项、职业选项、与自身的距离选项以及爱好/简介选项中的一项或多项,当然,Sam也可以设置向所有人开放读取其个人资料的权限,本申请实施例对此不做任何限制。As shown in (b) of FIG. 18, the third friend type in the above “Who is open to the profile” may specifically include an age option, a gender option, a qualification option, a graduate institution option, a career option, and a distance option with itself. And one or more of the hobby/introduction options. Of course, Sam can also set the right to open the reading of his personal data to everyone, and the embodiment of the present application does not impose any restrictions on this.
其中,上述第三好友类型中的各个选项之间为“与(and)”的关系,每一选项内的各个设置条件之间为“或(or)”的关系。The relationship between each option in the third friend type is “and”, and each setting condition in each option is an “or” relationship.
那么,如果Sam向其他人发送的好友请求中关联有Sam的个人资料,那么,接收到Sam好友请求的用户如果符合上述第三好友类型,则该用户有权限查看到Sam的个人资料。Then, if the friend request sent by Sam to other people is associated with Sam's profile, then if the user who receives the Sam friend request meets the above-mentioned third friend type, the user has the right to view Sam's profile.
例如,Sam在图14所示的设置界面中设置向年龄在“20-30”之间、学历为“本科”且职业为“IT、通讯”领域的第二好友类型的用户发送Sam的好友请求,而Sam在图18所示的设置界面中设置仅向年龄在“20-30”之间、学历为“本科”、职业为“IT、通讯”领域且爱好为“运动”的第三好友类型的用户开放其个人资料。那么,在接收到Sam好友请求的一个或多个用户中,只有当该用户符合上述第三好友类型时,可以从Sam的好友请求关联至Sam的个人资料,从而避免用户的个人资料被不符合预期的人查看。For example, Sam sets a friend request for Sam to a second friend type whose age is "20-30", whose academic qualification is "undergraduate" and whose occupation is "IT, communication" in the setting interface shown in FIG. In the setting interface shown in FIG. 18, Sam sets the third friend type only to the age of "20-30", the academic degree is "undergraduate", the occupation is "IT, communication" field, and the hobby is "sports". Users open their profiles. Then, among the one or more users who receive the Sam friend request, only when the user meets the third friend type described above, the friend associated with Sam can be requested from Sam's friend, thereby preventing the user's personal data from being inconsistent. Expected people to view.
当然,终端1也可以将Sam的个人资料作为独立的数据发送给仅符合上述第三好友类型的用户。或者,又服务器将将Sam的个人资料作为独立的数据发送给仅符合上述第三好友类型的用户。Of course, the terminal 1 can also send Sam's personal data as independent data to users who only meet the above-mentioned third friend type. Alternatively, the server will send Sam's profile as independent data to users who only meet the third buddy type described above.
例如,仍如图18中的(b)所示,Sam设置的第三好友类型为年龄在“20-30”之间、学历为“本科”、职业为“IT、通讯”领域且爱好为“运动”的用户。终端1可以将Sam的个人资料以及Sam设置的第三好友类型发送至服务器,那么,当其他用户(例如Mike)使用“交友”APP的摇一摇或附近的人等功能时,其终端可以主动向服务器请求获取Sam的个人资料。For example, as shown in (b) of FIG. 18, the third friend type set by Sam is age "20-30", education is "undergraduate", occupation is "IT, communication" field and hobby is " "Mobile" users. The terminal 1 can send Sam's profile and the third friend type set by Sam to the server. Then, when other users (such as Mike) use the "dating friend" app to shake or nearby people, the terminal can take the initiative. Ask the server to get Sam's profile.
但由于Sam预先设置了开放个人资料的第三好友类型,因此,服务器可根据Sam设置的第三好友类型判断Mike是否符合该第三好友类型。如果Mike符合该第三好友类型,则服务器可以将Sam的照片、昵称等个人资料发送给Mike的终端进行显示;如果Mike不符合上述第三好友类型,则说明Mike没有权限访问Sam的个人资料,那么,服务器向Mike的终端返回的个人资料中不会包括Sam的照片、昵称等个人资料,从而避免Sam的个人资料被不符合Sam预期的用户看到。However, since Sam presets the third friend type of the open profile, the server can determine whether the Mike conforms to the third friend type according to the third friend type set by Sam. If Mike matches the third friend type, the server may send Sam's photo, nickname and other personal data to Mike's terminal for display; if Mike does not meet the above third friend type, then Mike does not have permission to access Sam's profile. Then, the personal data returned by the server to Mike's terminal will not include Sam's photos, nicknames and other personal data, so that Sam's personal data is not seen by users who do not meet Sam's expectations.
当然,“交友”APP提供的上述交友功能还可以同时具有设置上述“向谁开放个人资料”,设置“接收谁的好友请求”,以及设置“向谁发送好友请求”的功能,本申请实施例对此不做任何限制。 Of course, the above-mentioned dating function provided by the "friends" APP can also have the function of setting the above "to whom to open the personal data", setting the "reception of who's friend request", and setting the "to whom to send the friend request" function. There are no restrictions on this.
可以理解的是,上述终端等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。It can be understood that, in order to implement the above functions, the above terminal and the like include hardware structures and/or software modules corresponding to each function. Those skilled in the art will readily appreciate that the embodiments of the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
本申请实施例可以根据上述方法示例对上述终端等进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may perform the division of the function modules on the terminal or the like according to the foregoing method example. For example, each function module may be divided according to each function, or two or more functions may be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
在采用对应各个功能划分各个功能模块的情况下,图19示出了上述实施例中所涉及的终端的一种可能的结构示意图,该终端包括:获取单元1901、显示单元1902、处理单元1903以及发送单元1904。FIG. 19 is a schematic diagram showing a possible structure of a terminal involved in the foregoing embodiment, where the terminal includes: an obtaining unit 1901, a display unit 1902, a processing unit 1903, and Transmitting unit 1904.
其中,获取单元1901,用于:接收为第一用户设置的第一好友类型;接收来自第二用户的好友请求,第二用户属于第一好友类型;以及接收来自第三用户的好友请求,第三用户不属于第一好友类型;显示单元1902,用于:在第一界面显示第二用户的好友请求;处理单元1903,用于:在第一界面不显示第三用户的好友请求。The obtaining unit 1901 is configured to: receive a first friend type set for the first user; receive a friend request from the second user, the second user belongs to the first friend type; and receive a friend request from the third user, The third user does not belong to the first friend type; the display unit 1902 is configured to: display the friend request of the second user in the first interface; and the processing unit 1903 is configured to: not display the friend request of the third user in the first interface.
进一步地,发送单元1904,用于:将第一好友类型发送给服务器,以使得该服务器为第一用户确定属于第一好友类型的至少一个用户。Further, the sending unit 1904 is configured to: send the first friend type to the server, so that the server determines, for the first user, at least one user belonging to the first friend type.
进一步地,上述第二用户的好友请求中可包括第二用户的个人资料,第二用户的个人资料满足第一好友类型,第三用户的好友请求中包括第三用户的个人资料,第三用户的个人资料不满足第一好友类型。此时,上述处理单元1903,还用于:根据第二用户的个人资料和第三用户的个人资料,筛选出属于第一好友类型的第二用户Further, the second user's friend request may include the second user's personal information, the second user's personal information satisfies the first friend type, and the third user's friend request includes the third user's personal data, and the third user The profile does not satisfy the first friend type. At this time, the processing unit 1903 is further configured to: select, according to the personal data of the second user and the personal data of the third user, the second user that belongs to the first friend type.
进一步地,上述处理单元1903,还用于:向第一用户提示将第四用户添加为好友,其中,该第四用户属于第一好友类型,第一终端与该第四用户的第二终端之间的距离小于阈值。Further, the processing unit 1903 is further configured to: prompt the first user to add the fourth user as a friend, where the fourth user belongs to the first friend type, and the first terminal and the second terminal of the fourth user The distance between them is less than the threshold.
进一步地,上述第二用户的好友请求可与第二用户的个人资料相关联;那么,该获取单元1901,还用于:获取第一用户对第二用户的好友请求输入的第一操作;该显示单元1902,还用于:显示第二用户的个人资料。Further, the friend request of the second user may be associated with the profile of the second user; the acquiring unit 1901 is further configured to: acquire a first operation of the friend request input by the first user to the second user; The display unit 1902 is further configured to: display the personal data of the second user.
进一步地,显示单元1902,还用于:在第二界面显示第三用户的好友请求。Further, the display unit 1902 is further configured to: display a friend request of the third user on the second interface.
进一步地,获取单元1901,还用于:获取第一用户对第三用户的好友请求输入的第二操作;该处理单元1903,还用于:修改第一好友类型,使得第三用户属于修改后的第一好友类型。Further, the acquiring unit 1901 is further configured to: acquire a second operation that the first user requests the friend input of the third user; the processing unit 1903 is further configured to: modify the first friend type, so that the third user belongs to the modified The first friend type.
进一步地,该获取单元1901,还用于:接收为第一用户设置的第二好友类型;该发送单元1904,还用于:向服务器发送第二好友类型,以使得该服务器向第五用户发送第一用户的好友请求,该第五用户属于第二好友类型。Further, the obtaining unit 1901 is further configured to: receive a second friend type set for the first user; the sending unit 1904 is further configured to: send a second friend type to the server, so that the server sends the message to the fifth user The friend of the first user requests that the fifth user belongs to the second friend type.
进一步地,该获取单元1901,还用于:接收为第一用户设置的第三好友类型;该发送单元1904,还用于:向服务器发送第三好友类型,以使得该服务器向第六用户发 送第一用户的个人资料,该第六用户属于第三好友类型。Further, the obtaining unit 1901 is further configured to: receive a third buddy type set for the first user; the sending unit 1904 is further configured to: send a third buddy type to the server, so that the server sends the third buddy to the sixth user Sending the personal data of the first user, the sixth user belongs to the third friend type.
相应的,图20示出了上述实施例中所涉及的服务器的一种可能的结构示意图,该服务器包括:获取单元2001、处理单元2002以及发送单元2003。Correspondingly, FIG. 20 shows a possible structural diagram of a server involved in the foregoing embodiment, and the server includes: an obtaining unit 2001, a processing unit 2002, and a sending unit 2003.
其中,获取单元2001,用于:接收第一终端发送的第一用户的个人资料以及为第一用户设置的好友类型;获取第二用户查询第一用户的个人资料的第一请求,第二用户属于该好友类型;以及获取第三用户查询第一用户的个人资料的第二请求,第三用户不属于该好友类型;发送单元2003,用于:向第二用户的第二终端发送第一用户的个人资料;处理单元2002,用于:不响应第二请求。The obtaining unit 2001 is configured to: receive a first user's personal data sent by the first terminal, and a friend type set for the first user; obtain a first request for the second user to query the first user's personal data, and the second user And the second user requesting the third user to query the second user's personal data, the third user does not belong to the friend type; the sending unit 2003 is configured to: send the first user to the second user of the second user The personal data; the processing unit 2002 is configured to: not respond to the second request.
进一步地,上述获取单元2001,还用于:获取第一用户查询第四用户的个人资料的第三请求;处理单元2002,还用于:判断第一用户是否属于该第四用户设置的好友类型;若第一用户属于该第四用户设置的好友类型,则发送单元2003还用于:向第一终端发送该第四用户的个人资料;若第一用户不属于该第四用户设置的好友类型,则处理单元2002,还用于:不响应第三请求。Further, the obtaining unit 2001 is further configured to: obtain a third request for the first user to query the personal data of the fourth user; and the processing unit 2002 is further configured to: determine whether the first user belongs to the friend type set by the fourth user If the first user belongs to the buddy type set by the fourth user, the sending unit 2003 is further configured to: send the fourth user's personal profile to the first terminal; if the first user does not belong to the buddy type set by the fourth user The processing unit 2002 is further configured to: not respond to the third request.
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
在采用集成的单元的情况下,如图21所示,示出了上述实施例中所涉及的终端的一种可能的结构示意图,包括处理模块2101、通信模块2102、输入/输出模块2103以及存储模块2104。In the case of using an integrated unit, as shown in FIG. 21, a possible structural diagram of the terminal involved in the above embodiment is shown, including a processing module 2101, a communication module 2102, an input/output module 2103, and a storage. Module 2104.
其中,处理模块2101用于对终端的动作进行控制管理。通信模块2102用于支持终端与其他网络实体的通信。输入/输出模块2103用于接收由用户输入的信息或输出提供给用户的信息以及终端的各种菜单。存储模块2104用于保存终端的程序代码和数据。The processing module 2101 is configured to control and manage the action of the terminal. The communication module 2102 is configured to support communication between the terminal and other network entities. The input/output module 2103 is for receiving information input by a user or outputting information provided to the user and various menus of the terminal. The storage module 2104 is configured to save program codes and data of the terminal.
示例性的,可将上述处理单元1903实现的相关功能集成为处理模块2101,将上述获取单元1901、显示单元1902以及发送单元1904中实现与用户交互的相关功能集成为输入/输出模块2103,将获取单元1901和发送单元1904中实现与其他终端或服务器交互的相关功能集成为通信模块2102。Exemplarily, the related functions implemented by the processing unit 1903 described above may be integrated into the processing module 2101, and the related functions of implementing the interaction with the user in the obtaining unit 1901, the display unit 1902, and the sending unit 1904 may be integrated into the input/output module 2103. The related functions of the acquisition unit 1901 and the transmission unit 1904 that implement interaction with other terminals or servers are integrated into the communication module 2102.
在采用集成的单元的情况下,如图22所示,示出了上述实施例中所涉及的服务器的一种可能的结构示意图,包括处理模块2201、通信模块2202以及存储模块2203。In the case of the integrated unit, as shown in FIG. 22, a possible structural diagram of the server involved in the above embodiment is shown, including a processing module 2201, a communication module 2202, and a storage module 2203.
其中,处理模块2201用于对服务器的动作进行控制管理。通信模块2202用于支持服务器与其他服务器或终端的通信。存储模块2203用于保存服务器的程序代码和数据。The processing module 2201 is configured to control and manage the actions of the server. The communication module 2202 is for supporting communication between the server and other servers or terminals. The storage module 2203 is configured to save program code and data of the server.
示例性的,可将上述处理单元2002实现的相关功能集成为处理模块2201,将上述获取单元2001以及发送单元2003中实现与终端或其他服务器交互的相关功能集成为通信模块2202。Exemplarily, the related functions implemented by the processing unit 2002 can be integrated into the processing module 2201, and the related functions of the above-mentioned obtaining unit 2001 and the transmitting unit 2003 for realizing interaction with the terminal or other servers are integrated into the communication module 2202.
具体的,上述处理模块2101/2201可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),GPU,通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容 所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。Specifically, the processing module 210 1/2201 may be a processor or a controller, and may be, for example, a central processing unit (CPU), a GPU, a general-purpose processor, and a digital signal processor (DSP). Application-Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It can be implemented or executed in conjunction with the disclosure of the present application. Various exemplary logical blocks, modules and circuits are described. The processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
上述通信模块2102/2202可以是收发器、收发电路、或通信接口等。例如,通信模块1303具体可以是蓝牙装置、Wi-Fi装置、外设接口等等。The above communication module 2102/2202 may be a transceiver, a transceiver circuit, or a communication interface or the like. For example, the communication module 1303 may specifically be a Bluetooth device, a Wi-Fi device, a peripheral interface, or the like.
上述输入/输出模块2103可以是触摸屏、显示器、麦克风等接收用户输入的信息或输出向用户提供的信息的设备。以显示器为例,具体可以采用液晶显示器、有机发光二极管等形式来配置显示器。另外,显示器上还可以集成触控板,用于采集在其上或附近的触摸事件,并将采集到的触摸信息发送给其他器件(例如处理器等)。The above-described input/output module 2103 may be a touch screen, a display, a microphone, or the like that receives information input by a user or outputs information provided to a user. Taking the display as an example, the display may be configured in the form of a liquid crystal display, an organic light emitting diode or the like. In addition, a touch panel can be integrated on the display for collecting touch events on or near the display, and transmitting the collected touch information to other devices (such as a processor, etc.).
上述存储模块2104/2203可以是存储器,该存储器可以包括高速随机存取存储器(RAM),还可以包括非易失存储器,例如磁盘存储器件、闪存器件或其他易失性固态存储器件等。The above memory modules 2104/2203 may be memories, which may include high speed random access memories (RAM), and may also include nonvolatile memories such as magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
在上述实施例中,可以全部或部分的通过软件,硬件,固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式出现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质,(例如,软盘,硬盘、磁带)、光介质(例如,DVD)或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it may occur in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。 The foregoing is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. . Therefore, the scope of protection of the present application should be determined by the scope of the claims.

Claims (21)

  1. 一种交友方法,其特征在于,包括:A method of making friends, characterized in that it comprises:
    第一终端接收为第一用户设置的第一好友类型;Receiving, by the first terminal, a first friend type set for the first user;
    所述第一终端接收来自第二用户的好友请求,所述第二用户属于所述第一好友类型;The first terminal receives a friend request from a second user, and the second user belongs to the first friend type;
    所述第一终端在第一界面显示所述第二用户的好友请求;The first terminal displays a friend request of the second user on the first interface;
    所述第一终端接收来自第三用户的好友请求,所述第三用户不属于所述第一好友类型;The first terminal receives a friend request from a third user, and the third user does not belong to the first friend type;
    所述第一终端在所述第一界面不显示所述第三用户的好友请求。The first terminal does not display the friend request of the third user in the first interface.
  2. 根据权利要求1所述的方法,其特征在于,所述第一好友类型包括:年龄、性别、学历、毕业院校、职业、爱好/简介、血型、身高、体重、星座、家乡、婚恋情况、住址、以及与所述第一用户的距离中的至少一个选项。The method according to claim 1, wherein the first friend type comprises: age, gender, education, graduate school, occupation, hobby/introduction, blood type, height, weight, constellation, hometown, marriage situation, At least one of an address, and a distance from the first user.
  3. 根据权利要求1或2所述的方法,其特征在于,在第一终端接收为第一用户设置的第一好友类型之后,还包括:The method according to claim 1 or 2, wherein after the first terminal receives the first friend type set for the first user, the method further includes:
    所述第一终端将所述第一好友类型发送给服务器,以使得所述服务器为所述第一用户确定属于所述第一好友类型的至少一个用户。The first terminal sends the first friend type to the server, so that the server determines, for the first user, at least one user belonging to the first friend type.
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述第二用户的好友请求中包括所述第二用户的个人资料,所述第二用户的个人资料满足所述第一好友类型,所述第三用户的好友请求中包括所述第三用户的个人资料,所述第三用户的个人资料不满足所述第一好友类型,所述方法还包括:The method according to any one of claims 1 to 3, wherein the second user's friend request includes the second user's personal information, and the second user's personal information satisfies the first a friend type, the friend request of the third user includes the personal data of the third user, and the personal data of the third user does not satisfy the first friend type, and the method further includes:
    所述第一终端根据所述第二用户的个人资料和所述第三用户的个人资料,筛选出属于所述第一好友类型的所述第二用户。The first terminal filters out the second user belonging to the first friend type according to the personal data of the second user and the personal data of the third user.
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,在第一终端接收为第一用户设置的第一好友类型之后,还包括:The method according to any one of claims 1-4, wherein after the first terminal receives the first friend type set for the first user, the method further includes:
    所述第一终端向所述第一用户提示将第四用户添加为好友,其中,所述第四用户属于所述第一好友类型,所述第一终端与所述第四用户的第二终端之间的距离小于阈值。The first terminal prompts the first user to add a fourth user as a friend, where the fourth user belongs to the first friend type, and the first terminal and the second terminal of the fourth user The distance between them is less than the threshold.
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,所述第一终端显示来自第二用户的好友请求,包括:The method according to any one of claims 1 to 5, wherein the first terminal displays a friend request from the second user, including:
    所述第一终端在锁屏界面、下拉菜单、上拉菜单、负一屏菜单、通知栏或者桌面中显示接收到所述第二用户的好友请求的提示。The first terminal displays a prompt for receiving a friend request of the second user in a lock screen interface, a pull-down menu, a pull-up menu, a negative screen menu, a notification bar, or a desktop.
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,所述第二用户的好友请求与所述第二用户的个人资料相关联;The method according to any one of claims 1 to 6, wherein the friend request of the second user is associated with the profile of the second user;
    其中,在所述第一终端显示来自第二用户的好友请求之后,还包括:After the first terminal displays the friend request from the second user, the method further includes:
    响应于所述第一用户对所述第二用户的好友请求输入的第一操作,所述第一终端显示所述第二用户的个人资料。The first terminal displays the personal data of the second user in response to the first operation of the first user requesting input by the friend of the second user.
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,在所述第一终端接收来自第三用户的好友请求之后,还包括:The method according to any one of claims 1 to 7, wherein after the first terminal receives the friend request from the third user, the method further includes:
    所述第一终端在第二界面显示所述第三用户的好友请求。 The first terminal displays the friend request of the third user on the second interface.
  9. 根据权利要求8所述的方法,其特征在于,在所述第一终端在第二界面显示所述第三用户的好友请求之后,还包括:The method according to claim 8, wherein after the first terminal displays the friend request of the third user in the second interface, the method further includes:
    响应于所述第一用户对所述第三用户的好友请求输入的第二操作,所述第一终端修改所述第一好友类型,使得所述第三用户属于修改后的第一好友类型。In response to the second operation of the first user requesting input by the friend of the third user, the first terminal modifies the first friend type such that the third user belongs to the modified first friend type.
  10. 根据权利要求2-9中任一项所述的方法,其特征在于,所述第一好友类型包括所述爱好/简介的选项,The method of any of claims 2-9, wherein the first friend type comprises the hobby/introduction option,
    其中,所述爱好/简介的选项中设置有:所述第一用户与属于所述第一好友类型的用户之间爱好/简介的相似度。The hobby/introduction option is set to: a similarity of the hobby/profile between the first user and the user belonging to the first buddy type.
  11. 根据权利要求1-10中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 10, wherein the method further comprises:
    所述第一终端接收为所述第一用户设置的第二好友类型;Receiving, by the first terminal, a second friend type set for the first user;
    所述第一终端向服务器发送所述第二好友类型,以使得所述服务器向第五用户发送所述第一用户的好友请求,所述第五用户属于所述第二好友类型。The first terminal sends the second friend type to the server, so that the server sends the friend request of the first user to the fifth user, and the fifth user belongs to the second friend type.
  12. 根据权利要求1-11中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 11, wherein the method further comprises:
    所述第一终端接收为所述第一用户设置的第三好友类型;Receiving, by the first terminal, a third friend type set for the first user;
    所述第一终端向服务器发送所述第三好友类型,以使得所述服务器向第六用户发送所述第一用户的个人资料,所述第六用户属于所述第三好友类型。The first terminal sends the third friend type to the server, so that the server sends the first user's personal profile to the sixth user, and the sixth user belongs to the third friend type.
  13. 一种交友方法,其特征在于,包括:A method of making friends, characterized in that it comprises:
    服务器接收第一终端发送的第一用户的个人资料以及为所述第一用户设置的好友类型;Receiving, by the server, the personal data of the first user sent by the first terminal and the type of the friend set for the first user;
    所述服务器获取第二用户查询所述第一用户的个人资料的第一请求,所述第二用户属于所述好友类型;响应于所述第一请求,所述服务器向所述第二用户的第二终端发送所述第一用户的个人资料;Obtaining, by the server, a first request for the second user to query the personal data of the first user, the second user belongs to the friend type; and in response to the first request, the server is to the second user Transmitting, by the second terminal, the personal data of the first user;
    所述服务器获取第三用户查询所述第一用户的个人资料的第二请求,所述第三用户不属于所述好友类型;所述服务器不响应所述第二请求。The server acquires a second request for the third user to query the personal data of the first user, the third user does not belong to the friend type; the server does not respond to the second request.
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:The method of claim 13 wherein the method further comprises:
    所述服务器获取所述第一用户查询第四用户的个人资料的第三请求;Obtaining, by the server, a third request that the first user queries the personal data of the fourth user;
    若所述第一用户属于所述第四用户设置的好友类型,则所述服务器向所述第一终端发送所述第四用户的个人资料;If the first user belongs to the buddy type set by the fourth user, the server sends the personal data of the fourth user to the first terminal;
    若所述第一用户不属于所述第四用户设置的好友类型,则所述服务器不响应所述第三请求。If the first user does not belong to the friend type set by the fourth user, the server does not respond to the third request.
  15. 根据权利要求13或14所述的方法,其特征在于,所述好友类型包括:年龄、性别、学历、毕业院校、职业、爱好/简介、血型、身高、体重、星座、家乡、婚恋情况、住址、以及与所述第一用户的距离中的至少一个选项。The method according to claim 13 or 14, wherein the friend type comprises: age, gender, education, graduate school, occupation, hobby/introduction, blood type, height, weight, constellation, hometown, marriage situation, At least one of an address, and a distance from the first user.
  16. 一种终端,其特征在于,包括:A terminal, comprising:
    获取单元,用于:接收为第一用户设置的第一好友类型;接收来自第二用户的好友请求,所述第二用户属于所述第一好友类型;以及接收来自第三用户的好友请求,所述第三用户不属于所述第一好友类型;An obtaining unit, configured to: receive a first friend type set for the first user; receive a friend request from the second user, the second user belongs to the first friend type; and receive a friend request from the third user, The third user does not belong to the first friend type;
    显示单元,用于:在第一界面显示所述第二用户的好友请求;a display unit, configured to: display a friend request of the second user on the first interface;
    处理单元,用于:在所述第一界面不显示所述第三用户的好友请求。 The processing unit is configured to: not display the friend request of the third user in the first interface.
  17. 一种服务器,其特征在于,包括:A server, comprising:
    获取单元,用于:接收第一终端发送的第一用户的个人资料以及为所述第一用户设置的好友类型;获取第二用户查询所述第一用户的个人资料的第一请求,所述第二用户属于所述好友类型;以及获取第三用户查询所述第一用户的个人资料的第二请求,所述第三用户不属于所述好友类型;An acquiring unit, configured to: receive a first user's personal data sent by the first terminal, and a friend type set for the first user; and obtain a first request for the second user to query the first user's personal data, The second user belongs to the friend type; and obtains a second request for the third user to query the personal data of the first user, where the third user does not belong to the friend type;
    发送单元,用于:向所述第二用户的第二终端发送所述第一用户的个人资料;a sending unit, configured to: send, to the second terminal of the second user, the personal data of the first user;
    处理单元,用于:不响应所述第二请求。a processing unit, configured to: not respond to the second request.
  18. 一种终端,其特征在于,包括:处理器、显示器、存储器、总线和通信接口;A terminal, comprising: a processor, a display, a memory, a bus, and a communication interface;
    所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述总线连接,当所述终端运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述终端执行如权利要求1-12中任一项所述的交友方法。The memory is configured to store a computer execution instruction, the processor is connected to the memory through the bus, and when the terminal is running, the processor executes the computer execution instruction stored in the memory to make The terminal performs the dating method according to any one of claims 1-12.
  19. 一种服务器,其特征在于,包括:处理器、存储器、总线和通信接口;A server, comprising: a processor, a memory, a bus, and a communication interface;
    所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述总线连接,当所述服务器运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述服务器执行如权利要求13-15中任一项所述的交友方法。The memory is configured to store a computer execution instruction, the processor is connected to the memory through the bus, and when the server is running, the processor executes the computer execution instruction stored in the memory to make The server performs the dating method according to any one of claims 13-15.
  20. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,其特征在于,当所述指令在终端上运行时,使得所述终端执行如权利要求1-12中任一项所述的交友方法。A computer readable storage medium having stored therein instructions, wherein when the instructions are run on a terminal, causing the terminal to perform as claimed in any one of claims 1-12 The method of making friends.
  21. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,其特征在于,当所述指令在服务器上运行时,使得所述服务器执行如权利要求13-15中任一项所述的交友方法。 A computer readable storage medium having stored therein instructions, wherein when the instructions are run on a server, causing the server to perform as claimed in any one of claims 13-15 The method of making friends.
PCT/CN2017/117809 2017-12-21 2017-12-21 Method and apparatus for making friend by friend type-based filtration WO2019119362A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/117809 WO2019119362A1 (en) 2017-12-21 2017-12-21 Method and apparatus for making friend by friend type-based filtration
CN201780090912.4A CN110622160B (en) 2017-12-21 2017-12-21 Method and device for making friends by screening friend types

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/117809 WO2019119362A1 (en) 2017-12-21 2017-12-21 Method and apparatus for making friend by friend type-based filtration

Publications (1)

Publication Number Publication Date
WO2019119362A1 true WO2019119362A1 (en) 2019-06-27

Family

ID=66992944

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/117809 WO2019119362A1 (en) 2017-12-21 2017-12-21 Method and apparatus for making friend by friend type-based filtration

Country Status (2)

Country Link
CN (1) CN110622160B (en)
WO (1) WO2019119362A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438145A (en) * 2020-03-23 2021-09-24 邓友云 Method and device for quickly adding friend users in instant messaging

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111934982B (en) * 2020-07-21 2022-05-10 深圳市天创进科技有限公司 Intelligent outdoor friend making method and system based on data identification

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8271894B1 (en) * 2011-08-23 2012-09-18 Google Inc. Social computing personas for protecting identity in online social interactions
CN104636453A (en) * 2015-01-29 2015-05-20 小米科技有限责任公司 Illegal user data identification method and device
US9203795B2 (en) * 2011-06-17 2015-12-01 Microsoft Technology Licensing, Llc Mobile social interaction
CN105931123A (en) * 2016-05-09 2016-09-07 深圳市永兴元科技有限公司 Method and apparatus for recommending friends based on network account
CN106126691A (en) * 2016-06-29 2016-11-16 北京金山安全软件有限公司 Method and device for adding friends and electronic equipment
CN106777382A (en) * 2017-02-13 2017-05-31 北京奇虎科技有限公司 Social friends recommend method, device and server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540739B (en) * 2009-04-14 2011-10-05 腾讯科技(深圳)有限公司 User recommendation method and user recommendation system
CN102110131A (en) * 2010-12-03 2011-06-29 北京开心人信息技术有限公司 Method and system for preventing disturbance of strangers in social networking services
CN102054127A (en) * 2010-12-17 2011-05-11 北京开心人信息技术有限公司 Friend-making method and system in social game
CN104348634B (en) * 2013-07-23 2019-09-13 腾讯科技(深圳)有限公司 Interactive message management method, device and management system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9203795B2 (en) * 2011-06-17 2015-12-01 Microsoft Technology Licensing, Llc Mobile social interaction
US8271894B1 (en) * 2011-08-23 2012-09-18 Google Inc. Social computing personas for protecting identity in online social interactions
CN104636453A (en) * 2015-01-29 2015-05-20 小米科技有限责任公司 Illegal user data identification method and device
CN105931123A (en) * 2016-05-09 2016-09-07 深圳市永兴元科技有限公司 Method and apparatus for recommending friends based on network account
CN106126691A (en) * 2016-06-29 2016-11-16 北京金山安全软件有限公司 Method and device for adding friends and electronic equipment
CN106777382A (en) * 2017-02-13 2017-05-31 北京奇虎科技有限公司 Social friends recommend method, device and server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438145A (en) * 2020-03-23 2021-09-24 邓友云 Method and device for quickly adding friend users in instant messaging

Also Published As

Publication number Publication date
CN110622160A (en) 2019-12-27
CN110622160B (en) 2023-02-10

Similar Documents

Publication Publication Date Title
KR102517427B1 (en) Graphic rendering for electronic messaging applications
KR102233700B1 (en) Creation and display of customized avatars in electronic messages
KR102170238B1 (en) Customized user-controlled media overlays
US9104768B2 (en) Person-based information aggregation
KR102480767B1 (en) Group stories in an electronic messaging application
US20170075737A1 (en) Method of displaying notifications and electronic device adapted thereto
AU2012211130B2 (en) Content access control in social network
KR101570406B1 (en) Method and apparatus for implementing user relationship in social network application
US10198176B2 (en) Method of managing one or more notifications and electronic device for same
KR102609823B1 (en) Media collection generation and privacy mechanisms
US20150058427A1 (en) Limited Area Temporary Instantaneous Network
US11337060B2 (en) Electronic business card privacy protection system prevents displaying user account information
CN106897937B (en) Method and device for displaying social sharing information
KR102558866B1 (en) Deriving audiences through filter activity
WO2019153211A1 (en) Application switching method, and terminal
KR20190099093A (en) Create customized context media content items
KR20170111810A (en) Method and apparatus for oprerating messenger based on location inforamtion of electronic device
EP2950263A1 (en) Method for managing privacy and security in a social network, by checking shared data and relationships between users
US10229138B2 (en) Method and apparatus for tagged deletion of user online history
WO2019119362A1 (en) Method and apparatus for making friend by friend type-based filtration
KR20170090664A (en) Method for providing a tethering service and electronic device using the same
US20170104712A1 (en) Electronic device, server and content providing method thereof
US20130052991A1 (en) Transfer of status information concerning a mobile device via a cloud based service
US11799846B2 (en) Password protecting selected message content
US20140149521A1 (en) Using extensions to route communications in a virtual environment

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: 17935179

Country of ref document: EP

Kind code of ref document: A1