CN106504103B - Method and device for establishing friend relationship - Google Patents
Method and device for establishing friend relationship Download PDFInfo
- Publication number
- CN106504103B CN106504103B CN201610942223.9A CN201610942223A CN106504103B CN 106504103 B CN106504103 B CN 106504103B CN 201610942223 A CN201610942223 A CN 201610942223A CN 106504103 B CN106504103 B CN 106504103B
- Authority
- CN
- China
- Prior art keywords
- virtual reality
- alternative
- friend
- photo image
- group photo
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 230000009471 action Effects 0.000 claims description 120
- 230000000007 visual effect Effects 0.000 claims description 44
- 238000012790 confirmation Methods 0.000 claims description 39
- 230000004044 response Effects 0.000 claims description 37
- 238000005516 engineering process Methods 0.000 claims description 24
- 238000010586 diagram Methods 0.000 description 32
- 210000003128 head Anatomy 0.000 description 19
- 230000004397 blinking Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000004399 eye closure Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/013—Eye tracking input arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Business, Economics & Management (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Information Transfer Between Computers (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure provides a method and a device for establishing a friend relationship, wherein the method comprises the following steps: acquiring a virtual reality group photo image, wherein the virtual reality group photo image comprises target virtual reality head photos of a plurality of target users; and sending a friend relation establishing request to a server based on the virtual reality group photo image, so that the server establishes friend relations in a virtual reality social application program for a plurality of target users based on the friend relation establishing request. The method and the device can establish the friend relationship in the social contact application program of the virtual reality for the user based on the virtual reality group photo image, and improve the user experience.
Description
Technical Field
The present disclosure relates to the field of communications, and in particular, to a method and an apparatus for establishing a friend relationship.
Background
In the related technology, the friend relationship can be established among users by adding the information of the other party or scanning the two-dimensional code.
However, the current friend relationship establishing method is generally only applicable to various social contact applications or contact applications on the terminal, and the application range is not wide enough. .
Disclosure of Invention
In view of the above, the present disclosure provides a method and an apparatus for establishing a friend relationship, so as to solve the deficiencies in the related art.
According to a first aspect of the embodiments of the present disclosure, a method for establishing a friend relationship is provided, where the method is used for a virtual reality device, and the method includes:
acquiring a virtual reality group photo image, wherein the virtual reality group photo image comprises target virtual reality head photos of a plurality of target users;
and sending a friend relation establishing request to a server based on the virtual reality group photo image, so that the server establishes friend relations in a virtual reality social application program for a plurality of target users based on the friend relation establishing request.
Optionally, the acquiring a virtual reality group photo image includes:
outputting alternative virtual reality head portraits corresponding to alternative users;
determining a plurality of target virtual reality avatars to be combined in the alternative virtual reality avatars based on the selected action;
generating a virtual reality group photo image comprising a plurality of the eye virtual reality avatars.
Optionally, the selected action includes a gesture action matching a preset selected operation or a visual response action matching a first preset visual response action corresponding to the selected operation.
Optionally, the outputting the alternative virtual reality avatars corresponding to the alternative users respectively includes:
uploading the geographical position information of the virtual reality equipment to the server, so that the server searches for alternative virtual reality avatar information corresponding to the alternative virtual reality equipment after determining the alternative virtual reality equipment according to the geographical position information; the alternative virtual reality equipment comprises the virtual reality equipment and at least one other virtual reality equipment of which the distance value between the alternative virtual reality equipment and the virtual reality equipment is smaller than a preset value;
receiving the alternative virtual reality head portrait information returned by the server;
and outputting the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology based on the alternative virtual reality avatar information.
Optionally, the alternative virtual reality avatar information corresponds to the user identifier one to one;
the sending a friend relationship establishment request to a server based on the virtual reality group photo image comprises:
acquiring target user identifications corresponding to target virtual reality head portrait information of all the target users included in the virtual reality group photo image;
and sending a friend relation establishing request carrying the target user identification to a server.
Optionally, the method further comprises:
when a friend relation establishment confirmation action based on the virtual reality group photo image is detected, generating a friend relation establishment request;
and after the friend relation establishing request is generated, the step of sending the friend relation establishing request to a server is executed.
Optionally, the friend relationship establishing confirmation action includes a gesture action matched with a preset friend relationship establishing confirmation operation or a visual response action matched with a second preset visual response action corresponding to the friend relationship establishing confirmation operation.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for establishing a friend relationship, for a server, the method including:
receiving a friend relation establishing request sent by virtual reality equipment based on a virtual reality group photo image;
and establishing friend relationships in a social contact application program of virtual reality for all target users included in the virtual reality group photo image based on the friend relationship establishing request.
Optionally, the friend relationship establishing request carries a target user identifier of the target user;
the establishing of the friend relationship for all target users included in the virtual reality group photo image in the virtual reality social application program based on the friend relationship establishing request comprises the following steps:
and establishing friend relationships in the social contact application program of the virtual reality for all target users included in the virtual reality group photo image according to the target user identification.
Optionally, the method further comprises:
receiving geographic position information uploaded by the virtual reality equipment;
determining alternative virtual reality equipment according to the geographical position information, wherein the alternative virtual reality equipment comprises the virtual reality equipment and at least one other virtual reality equipment of which the distance value between the alternative virtual reality equipment and the virtual reality equipment is smaller than a preset value;
according to the corresponding relation between the pre-stored virtual reality equipment and the virtual reality head portrait information, acquiring alternative virtual reality head portrait information corresponding to the alternative virtual reality equipment;
and sending the virtual reality avatar information to the virtual reality equipment so that the virtual reality equipment outputs the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology based on the alternative virtual reality avatar information.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for establishing a friend relationship, where the apparatus is used for a virtual reality device, the apparatus includes:
a group photo image acquisition module configured to acquire a virtual reality group photo image including target virtual reality head photos of a plurality of target users;
the first sending module is configured to send a friend relationship establishing request to a server based on the virtual reality group photo image, so that the server establishes friend relationships in a virtual reality social application program for the target users based on the friend relationship establishing request.
Optionally, the group photo image obtaining module includes:
the first output submodule is configured to output alternative virtual reality head portraits corresponding to the alternative users;
a determination sub-module configured to determine a plurality of target virtual reality avatars to be merged in the alternative virtual reality avatar based on a selected action;
a generation sub-module configured to generate a virtual reality group photo image including a plurality of the eye virtual reality avatars.
Optionally, the selected action includes a gesture action matching a preset selected operation or a visual response action matching a first preset visual response action corresponding to the selected operation.
Optionally, the first output sub-module includes:
the uploading sub-module is configured to upload the geographical position information of the virtual reality equipment to the server, so that the server searches for alternative virtual reality avatar information corresponding to the alternative virtual reality equipment after determining the alternative virtual reality equipment according to the geographical position information; the alternative virtual reality equipment comprises the virtual reality equipment and at least one other virtual reality equipment of which the distance value between the alternative virtual reality equipment and the virtual reality equipment is smaller than a preset value;
the receiving submodule is configured to receive the alternative virtual reality head portrait information returned by the server;
and the second output sub-module is configured to output the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology based on the alternative virtual reality avatar information.
Optionally, the alternative virtual reality avatar information corresponds to the user identifier one to one;
the first transmitting module includes:
an obtaining sub-module configured to obtain target user identifications corresponding to target virtual reality avatar information of all the target users included in the virtual reality group photo image;
and the sending submodule is configured to send a friend relationship establishing request carrying the target user identification to a server.
Optionally, the apparatus further comprises:
a generating module configured to generate the friend relationship establishing request when detecting a friend relationship establishing confirmation action based on the virtual reality group photo image;
the control module is configured to control the sending module to send the friend relationship establishing request to a server after the generating module generates the friend relationship establishing request.
Optionally, the friend relationship establishing confirmation action includes a gesture action matched with a preset friend relationship establishing confirmation operation or a visual response action matched with a second preset visual response action corresponding to the friend relationship establishing confirmation operation.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for establishing a buddy relationship, where the apparatus is used in a server, the apparatus includes:
the virtual reality device comprises a first receiving module, a second receiving module and a sending module, wherein the first receiving module is configured to receive a friend relation establishing request sent by the virtual reality device based on a virtual reality group photo image;
and the friend relation establishing module is configured to establish friend relations in a social contact application program of virtual reality for all target users included in the virtual reality group photo image based on the friend relation establishing request.
Optionally, the friend relationship establishing request carries a target user identifier of the target user;
the friend relationship establishing module comprises:
and the friend relation establishing submodule is configured to establish friend relations in a social contact application program of virtual reality for all target users included in the virtual reality group photo image according to the target user identification.
Optionally, the apparatus further comprises:
a second receiving module configured to receive the geographical location information uploaded by the virtual reality device;
a determining module configured to determine, according to the geographical location information, alternative virtual reality devices including the virtual reality device and at least one other virtual reality device having a distance value smaller than a preset value from the virtual reality device;
the acquisition module is configured to acquire alternative virtual reality head portrait information corresponding to the alternative virtual reality equipment according to a corresponding relation between pre-stored virtual reality equipment and virtual reality head portrait information;
a second sending module configured to send the virtual reality avatar information to the virtual reality device, so that the virtual reality device outputs the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology based on the alternative virtual reality avatar information.
According to a fifth aspect of the embodiments of the present disclosure, there is provided an apparatus for establishing a friend relationship, where the apparatus is used for a virtual reality device, and the apparatus includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a virtual reality group photo image, wherein the virtual reality group photo image comprises target virtual reality head photos of a plurality of target users;
and sending a friend relation establishing request to a server based on the virtual reality group photo image, so that the server establishes friend relations in a virtual reality social application program for a plurality of target users based on the friend relation establishing request.
According to a sixth aspect of the embodiments of the present disclosure, there is provided an apparatus for establishing a friend relationship, where the apparatus is used in a server, and the apparatus includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a friend relation establishing request sent by virtual reality equipment based on a virtual reality group photo image;
and establishing friend relationships in a social contact application program of virtual reality for all target users included in the virtual reality group photo image based on the friend relationship establishing request.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the present disclosure, the virtual reality device may automatically acquire a virtual reality group photo image including target virtual reality avatars of a plurality of target users. Further, the virtual reality device sends a friend relationship establishing request to a server based on the virtual reality group photo image. And establishing friend relationships in a virtual reality social application program for the target users by the server based on the friend relationship establishing request. Through the process, the friend relationship is established for the user in the social contact application program of the virtual reality based on the virtual reality group photo image, and the user experience is improved.
In the embodiment of the present disclosure, when a virtual reality group photo image is obtained, a virtual reality device may output alternative virtual reality avatars corresponding to respective alternative users, and the virtual reality device determines a plurality of target virtual reality avatars to be subjected to group photo in the alternative virtual reality avatars according to a selected action. Thereby generating, by the virtual reality device, a virtual reality group photo image including a plurality of the virtual reality avatars. Optionally, the selected action includes a gesture action matching a preset selected operation or a visual response action matching a first preset visual response action corresponding to the selected operation. The realization is simple and convenient, and the usability is high. The interaction between the user and the virtual reality equipment is increased, so that the virtual reality equipment can meet the humanized requirement.
In the embodiment of the disclosure, the geographical location information of the virtual reality device is uploaded to the server, and the server determines the alternative virtual reality device according to the geographical location information, wherein the server takes the virtual reality device and other virtual reality devices whose distances from the virtual reality device are smaller than a preset value as the alternative virtual reality device. The server may return the alternative virtual reality avatar information corresponding to the alternative virtual reality device to the virtual reality device. Outputting, by the virtual reality device, the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology based on the alternative virtual reality avatar information. So that the user selects the target virtual reality avatar needing to be subjected to group photo in the virtual reality avatars. By the aid of the process, the intelligent degree of the virtual reality equipment is improved, user experience is improved, and it is ensured that friend relationships can be established for users in the social contact application programs of the virtual reality.
In the embodiment of the disclosure, each virtual reality avatar corresponds to one user identifier, and after acquiring the virtual reality group photo image, the virtual reality device carries the target user identifier of the target user included in the virtual reality group photo image in a friend relationship establishing request and sends the friend relationship establishing request to the server. And the server establishes a friend relationship for the target user in a social application program of virtual reality based on the identification of the target user. The purpose of establishing friend relationships for the users in the social contact application programs of the virtual reality is achieved.
In the embodiment of the disclosure, the virtual reality device may generate a friend relationship establishment request when detecting a friend relationship establishment confirmation action based on the virtual reality group photo image, and further send the friend relationship establishment request to the server. The friend relationship establishing confirmation action comprises a gesture action matched with a preset friend relationship establishing confirmation operation or a visual reaction action matched with a second preset visual reaction action corresponding to the friend relationship establishing confirmation operation. The interaction between the user and the virtual reality equipment is increased, so that the virtual reality equipment can meet the humanized requirement.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method of establishing a buddy relationship according to an exemplary embodiment of the present disclosure;
FIG. 2 is a flow diagram illustrating another method for establishing a buddy relationship according to an example embodiment of the present disclosure;
fig. 3 is a schematic diagram illustrating a scenario for establishing a friend relationship according to an exemplary embodiment of the present disclosure;
FIG. 4 is a flow diagram illustrating another method for establishing a buddy relationship according to an exemplary embodiment of the present disclosure;
fig. 5 is a schematic diagram illustrating another scenario for establishing a buddy relationship according to an exemplary embodiment of the present disclosure;
fig. 6 is a schematic diagram illustrating another scenario for establishing a buddy relationship according to an exemplary embodiment of the present disclosure;
fig. 7 is another diagram illustrating another establishing a buddy relationship according to an example embodiment of the present disclosure;
FIG. 8 is a flow diagram illustrating another method for establishing a buddy relationship according to an exemplary embodiment of the present disclosure;
FIG. 9 is a flow diagram illustrating another method for establishing a buddy relationship according to an exemplary embodiment of the present disclosure;
fig. 10 is a schematic diagram illustrating another scenario for establishing a buddy relationship according to an exemplary embodiment of the present disclosure;
FIG. 11 is a flow diagram illustrating another method for establishing a buddy relationship according to an exemplary embodiment of the present disclosure;
FIG. 12 is a flow chart illustrating another method of establishing a buddy relationship according to an exemplary embodiment of the present disclosure;
fig. 13A is a schematic diagram illustrating another scenario for establishing a buddy relationship according to an exemplary embodiment of the present disclosure;
FIG. 13B is a flow chart illustrating another method of establishing a buddy relationship according to an exemplary embodiment of the present disclosure;
fig. 14 is a block diagram illustrating an apparatus for establishing a buddy relationship according to an example embodiment of the present disclosure;
fig. 15 is a block diagram illustrating another apparatus for establishing a buddy relationship according to an example embodiment of the present disclosure;
fig. 16 is a block diagram illustrating another apparatus for establishing a buddy relationship according to an example embodiment of the present disclosure;
fig. 17 is a block diagram illustrating another apparatus for establishing a buddy relationship according to an example embodiment of the present disclosure;
fig. 18 is a block diagram illustrating another apparatus for establishing a buddy relationship according to an example embodiment of the present disclosure;
fig. 19 is a block diagram illustrating another apparatus for establishing a buddy relationship according to an example embodiment of the present disclosure;
fig. 20 is a block diagram illustrating another apparatus for establishing a buddy relationship according to an example embodiment of the present disclosure;
fig. 21 is a block diagram illustrating another apparatus for establishing a buddy relationship according to an example embodiment of the present disclosure;
fig. 22 is a schematic structural diagram illustrating an apparatus for establishing a buddy relationship according to an exemplary embodiment of the present disclosure;
fig. 23 is a schematic structural diagram illustrating another apparatus for establishing a buddy relationship according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as operated herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if," as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination," depending on the context.
The method for establishing a friend relationship provided by the embodiment of the disclosure can be used for Virtual Reality (VR) equipment, such as VR glasses, VR helmets, and the like. As shown in fig. 1, fig. 1 is a method for establishing a buddy relationship according to an exemplary embodiment, including the following steps:
in step 101, a virtual reality group photo image is acquired.
The virtual reality group photo image comprises target virtual reality head photos of a plurality of target users.
Optionally, step 101 is as shown in fig. 2, where fig. 2 is another method for establishing a buddy relationship based on the embodiment shown in fig. 1, and the method may include the following steps:
in step 101-1, candidate virtual reality avatars corresponding to the respective candidate users are output.
In this step, the virtual reality device may output the alternative virtual reality avatars corresponding to the alternative users, for example, as shown in fig. 3, so that the user selects a target virtual reality avatar for composition from the alternative virtual reality avatars.
Further, a process of outputting the alternative virtual reality avatar is as shown in fig. 4, where fig. 4 is another method for establishing a friend relationship shown on the basis of the embodiment shown in fig. 2, and the method may include the following steps:
in step 101-11, uploading the geographical location information of the virtual reality device to the server, so that the server searches for alternative virtual reality avatar information corresponding to the alternative virtual reality device after determining the alternative virtual reality device according to the geographical location information.
In this step, the virtual reality device may obtain its own geographical location information according to a related technology, such as a global positioning system. Further, the virtual reality device uploads the geographical location information to the server.
The server determines the alternative virtual reality equipment according to the geographical position information, wherein the alternative virtual reality equipment comprises the virtual reality equipment and at least one other virtual reality equipment of which the distance value between the alternative virtual reality equipment and the virtual reality equipment is smaller than a preset value. The preset value may be set by the user of the virtual reality device or determined by the server according to default settings.
In embodiments of the present disclosure, other virtual reality devices may or may not be online. I.e. a social-like application of virtual reality through which users of other virtual reality devices may or may not be logged in. For example, as shown in fig. 5, after receiving the geographical location information reported by the virtual reality device, the server may request other virtual reality devices to report their own geographical location information. And the server determines other virtual reality equipment of which the distance value from the virtual reality equipment is smaller than a preset value d according to the geographical position information of the server automatically reported by different virtual reality equipment.
The server has prestored virtual reality avatar information corresponding to each virtual reality device, so that the server can search for alternative virtual reality avatar information corresponding to the alternative virtual reality device after determining the alternative virtual reality device.
In step 101-12, the alternative virtual reality avatar information returned by the server is received.
In this step, the virtual reality device directly receives the alternative virtual reality avatar information returned by the server.
In step 101-13, outputting the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology based on the alternative virtual reality avatar information.
In this step, the virtual reality device may output, based on the received candidate virtual reality avatar information, a candidate virtual reality avatar indicated by the candidate virtual reality avatar information through a virtual reality technology, that is, as shown in fig. 3.
In step 101-2, a plurality of target virtual reality avatars to be merged are determined among the alternative virtual reality avatars based on the selected action.
In the embodiment of the present disclosure, optionally, the selected action includes a gesture action matched with a preset selected operation or a visual response action matched with a first preset visual response action corresponding to the selected operation. Wherein the gestural actions are a series of actions made using a user hand of the virtual reality device. The visual reaction action may be a reaction action of eyes of a user using the virtual reality device for vision, and may include a gazing action, an eye closing action, or a blinking action of the user.
In this step, the virtual reality device may detect a plurality of target virtual reality avatars selected by the user through the selected action from the candidate virtual reality avatars for performing a group photo.
The virtual reality device may detect whether a gesture motion matched with a preset selected operation is input by a user, for example, as shown in fig. 6, if the gesture motion matched with the preset selected operation is clockwise rotation exceeding 180 degrees, when the gesture motion is detected at a position where a certain candidate virtual reality avatar is located by the virtual reality device, the candidate virtual reality avatar corresponding to the gesture motion is taken as the target virtual reality avatar.
Or the virtual reality device may detect whether the user performs a visual response action matching a first preset visual response action corresponding to the selected operation on a certain alternative virtual reality avatar according to a related technology, for example, a visual tracking technology. For example, assuming that the first preset visual response action is a blinking action, optionally, may further be a blinking action for a preset number of times, the virtual reality device may regard a candidate virtual reality avatar as the target virtual reality avatar when it is detected that the user blinks the candidate virtual reality avatar for the preset number of times. Of course, the first preset visual response action may also be a gazing action in which the gazing duration reaches a first preset duration, or an eye closing action in which the eye closing duration reaches a second preset duration.
In step 101-3, a virtual reality group photo image including a plurality of the virtual reality avatars is generated.
In this step, the virtual reality device may synthesize a plurality of target virtual reality avatars determined to be subjected to group photo based on the selected motion, to obtain the virtual reality group photo image, for example, as shown in fig. 7.
In step 102, a friend relationship establishing request is sent to a server based on the virtual reality group photo image, so that the server establishes friend relationships in a virtual reality social application program for a plurality of target users based on the friend relationship establishing request.
In the embodiment of the present disclosure, the candidate virtual reality avatar information returned by the server corresponds to the user identifier one to one, and therefore, optionally, step 102 is as shown in fig. 8, where fig. 8 is another method for establishing a friend relationship shown on the basis of the embodiment shown in fig. 1, and the method may include the following steps:
in step 102-1, target user identifiers corresponding to target virtual reality avatar information of all the target users included in the virtual reality group photo image are acquired.
In this step, the virtual reality device directly obtains target user identifiers corresponding to the target virtual reality avatar information of all the target users.
For example, the server returns 3 pieces of candidate virtual reality avatar information, and the correspondence relationship between the avatar information and the user identifier is as follows:
the alternative virtual reality avatar information a corresponds to the user identifier A, the alternative virtual reality avatar information B corresponds to the user identifier B, and the alternative virtual reality avatar information C corresponds to the user identifier C. The selected target virtual reality avatar information includes alternative virtual reality avatar information a and alternative virtual reality avatar information C, and the target user identifier includes user identifier a and user identifier C.
In step 102-2, a friend relationship establishing request carrying the target user identifier is sent to a server.
In this step, the virtual reality device sends the friend relationship establishing request to a server, where the friend relationship establishing request includes the target user identifier. And after receiving the target user identification, the server establishes a friend relationship for the target user in a virtual reality social application program according to the target user identification.
For example, when the target user identifier includes a user identifier a and a user identifier C, the server establishes a friend relationship in a virtual reality social application program for a user m and a user n corresponding to the user identifier a and the user identifier C, respectively.
In the above embodiment, the virtual reality device may automatically acquire the virtual reality group photo image including the target virtual reality avatars of the plurality of target users. Further, the virtual reality device sends a friend relationship establishing request to a server based on the virtual reality group photo image. And establishing friend relationships in a virtual reality social application program for the target users by the server based on the friend relationship establishing request. Through the process, the friend relationship is established for the user in the social contact application program of the virtual reality based on the virtual reality group photo image, and the user experience is improved.
In another embodiment, after the virtual reality device obtains the virtual reality group photo image, the friend relationship establishment request may be generated based on a detected friend relationship establishment confirmation action. That is, the method for establishing a buddy relationship is shown in fig. 9, where fig. 9 is another method for establishing a buddy relationship shown on the basis of the embodiment shown in fig. 1, after step 101 is completed, the method may further include the following steps:
in step 101', when a friend relationship establishment confirmation action based on the virtual reality group photo image is detected, the friend relationship establishment request is generated.
In this disclosure, optionally, the friend relationship establishment confirmation action includes a gesture action matched with a preset friend relationship establishment confirmation operation or a visual response action matched with a second preset visual response action corresponding to the friend relationship establishment confirmation operation. Wherein the gestural actions are a series of actions made using a user hand of the virtual reality device. The visual reaction action may be a reaction action for vision of an eye of a user using the virtual reality device. May include a user's gaze motion, eye closure motion, or eye blinking motion.
In this step, the virtual reality device may detect whether the user has performed a friend relationship establishment confirmation action with respect to the virtual reality group photo image.
The virtual reality device may detect whether a gesture action for establishing a confirmation match with a preset friend relationship is input by a user, for example, as shown in fig. 10, if the gesture action for establishing a confirmation match with a preset friend relationship is counterclockwise rotation exceeding 180 degrees, the virtual reality device generates the friend relationship establishment request when detecting the gesture action.
Or the virtual reality device may detect, according to a related technology, for example, a visual tracking technology, whether the user performs a visual response action on the virtual reality group photo image, which is matched with a second preset visual response action corresponding to the friend relationship establishment confirmation operation. For example, assuming that the second preset visual response action is a gazing action, optionally, the gazing action may further be a gazing action with a gazing duration reaching a first preset duration, and the virtual reality device may generate the friend relationship establishment request when it is detected that the gazing duration of the virtual reality group image by the user reaches the first preset duration. Of course, the first preset visual response action may also be an eye closing action when the eye closing time reaches a second preset time, or an eye blinking action when the eye blinking reaches a preset number of times.
In this disclosure, after the virtual reality device generates the friend relationship establishing request, the virtual reality device executes step 102 to send the friend relationship establishing request to the server, so that the friend relationship is established in the social application program of virtual reality for all target users included in the virtual reality group image based on the friend relationship establishing request. The friend relationship establishment confirmation action and the selected action can be the same or different.
In the above embodiment, the virtual reality device may generate a friend relationship establishment request when detecting a friend relationship establishment confirmation action based on the virtual reality group photo image, and further send the friend relationship establishment request to the server. The friend relationship establishing confirmation action comprises a gesture action matched with a preset friend relationship establishing confirmation operation or a visual reaction action matched with a second preset visual reaction action corresponding to the friend relationship establishing confirmation operation. The interaction between the user and the virtual reality equipment is increased, so that the virtual reality equipment can meet the humanized requirement.
The method for establishing the friend relationship provided by the embodiment of the disclosure can be used for a server. As shown in fig. 11, fig. 11 is a flowchart illustrating another method for establishing a buddy relationship according to an exemplary embodiment, where the method includes the following steps:
in step 201, a friend relationship establishment request sent by a virtual reality device based on a virtual reality group photo image is received.
In this step, the server may directly receive a friend relationship establishment request sent by the virtual reality device based on the virtual reality group photo image. And the friend relation establishing request carries target user identifications of all target users included in the virtual reality group photo image.
In step 202, based on the friend relationship establishing request, friend relationships are established in a social application program of virtual reality for all target users included in the virtual reality group photo image.
In this step, the server may establish, according to the related art, a friend relationship for the target user in a social application program of virtual reality according to the target user identifier carried in the friend relationship establishment request.
For example, the target user identifier includes a user identifier a and a user identifier C, which respectively correspond to the user m and the user n. The server updates the friend relationship list in the social application program of the virtual reality corresponding to the user m, and adds the user n. And updating a friend relation list in the social application program of the virtual reality of the user n, and adding the user m into the friend relation list. And after the subsequent user m enters the social contact application program of the virtual reality through the virtual reality equipment, the user n in the friend can be seen. User n can see user m as well.
In the above embodiment, after receiving a friend relationship establishment request sent by the virtual reality device based on the virtual reality group photo image, the server may establish friend relationships in the virtual reality social application program for all target users included in the virtual reality group photo image. The purpose of establishing friend relationships in the social contact application programs of the virtual reality for the users based on the virtual reality group photo images is achieved.
In another embodiment, the method for establishing a buddy relationship is shown in fig. 12, where fig. 12 is another method for establishing a buddy relationship shown on the basis of the embodiment shown in fig. 11, and the method may further include the following steps:
in step 200-1, geographic location information uploaded by the virtual reality device is received.
In this step, the server may receive, according to the related art, the geographical location information of the server, which is reported by the virtual reality device.
In step 200-2, an alternative virtual reality device is determined according to the geographical location information.
In this step, the server determines the alternative virtual reality device according to the geographical location information reported by the virtual reality device. The alternative virtual reality equipment comprises the virtual reality equipment and at least one other virtual reality equipment, wherein the distance value between the alternative virtual reality equipment and the virtual reality equipment is smaller than a preset value.
Namely, the server takes the virtual reality device and other virtual reality devices close to the virtual reality device as the alternative virtual reality device according to the self geographical position information reported by other virtual reality devices.
In step 200-3, according to the pre-stored correspondence between the virtual reality device and the virtual reality avatar information, the alternative virtual reality avatar information corresponding to the alternative virtual reality device is obtained.
In the embodiment of the present disclosure, the server has prestored virtual reality avatar information corresponding to each virtual reality device. In this step, the server may obtain the candidate virtual reality avatar information corresponding to the previously determined candidate virtual reality device according to the correspondence.
In step 200-4, the virtual reality avatar information is sent to the virtual reality device, so that the virtual reality device outputs the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology based on the alternative virtual reality avatar information.
In this step, the server may send the virtual reality avatar information to the virtual reality device, so that the virtual reality device may output the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology. And subsequently determining a target virtual reality avatar for performing group photo in the virtual reality avatar.
In the above embodiment, the server determines, according to the geographical location information reported by the virtual reality device, other virtual reality devices that are close to the virtual reality device, and further uses all the virtual reality devices as the alternative virtual reality devices. Further, the server sends the alternative virtual reality avatar information corresponding to the alternative virtual reality device to the virtual reality device, so that the virtual reality device displays the alternative virtual reality avatar information. The realization is simple and convenient, and the usability is high.
The method for establishing a buddy relationship is further described below with reference to the scene diagram shown in fig. 13A, as shown in fig. 13B, fig. 13B is another method for establishing a buddy relationship according to an exemplary embodiment, and includes the following steps:
in step 301, the virtual reality device 100 uploads its geographical location information to the server 200.
In this step, the virtual reality device 100 automatically obtains its own geographical location information and uploads it to the server 200.
In step 302, the server 200 determines an alternative virtual reality device according to the geographical location information.
In this step, the alternative virtual reality device includes the virtual reality device and at least one other virtual reality device whose distance value from the alternative virtual reality device to the virtual reality device is smaller than a preset value. Namely, the server takes the virtual reality device 100 and other virtual reality devices whose distance values from the virtual reality device 100 are smaller than the preset value as the alternative virtual reality devices.
In step 303, the server 200 obtains the alternative virtual reality avatar information corresponding to the alternative virtual reality device according to the pre-stored correspondence between the virtual reality device and the virtual reality avatar information.
In this step, the server 200 acquires candidate virtual reality avatar information corresponding to all the candidate virtual reality devices. Of course, each alternative virtual reality avatar information corresponds to one user identifier.
In step 304, the server 200 transmits the virtual reality avatar information to the virtual reality device 100.
In step 305, the virtual reality device 100 outputs the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology based on the alternative virtual reality avatar information.
In this step, the virtual reality device 100 automatically outputs the candidate virtual reality avatar indicated by each of the candidate virtual reality avatar information.
In step 306, the virtual reality device 100 determines a plurality of target virtual reality avatars to be merged in the alternative virtual reality avatar based on the selected action.
In this step, the user may input a gesture motion matched with a preset selected operation or a visual response motion matched with a first preset visual response motion corresponding to the selected operation at a position where the candidate virtual reality avatar desired to be selected is located. The virtual reality device 100 automatically determines the target virtual reality avatar selected by the selected action.
In step 307, the virtual reality device 100 generates a virtual reality group photo image including a plurality of the target virtual reality avatars.
In step 308, the virtual reality device 100 generates the friend relationship establishment request when detecting the friend relationship establishment confirmation action based on the virtual reality group photo image.
In this step, the generated friend relationship establishing request carries the target user identifier of each target user.
In step 309, the virtual reality device 100 sends the friend relationship establishing request carrying the target user identifier to the server 200.
In step 310, the server 200 establishes friend relationships in the virtual reality social application program for all target users included in the virtual reality group photo image according to the target user identifiers.
In the above embodiment, the virtual reality device uploads the geographical location information of the virtual reality device to the server, and the server takes the virtual reality device and other virtual reality devices whose distances from the virtual reality device are smaller than a preset value as alternative virtual reality devices. The server may return the alternative virtual reality avatar information corresponding to the alternative virtual reality device to the virtual reality device. And the virtual reality equipment determines a plurality of target virtual reality head portraits for group photo in the alternative virtual reality head portraits according to the selected action. Thereby generating, by the virtual reality device, a virtual reality group photo image including a plurality of the virtual reality avatars. Each virtual reality head portrait corresponds to a user identification, and after the virtual reality equipment acquires the virtual reality group photo image, the target user identification of the target user included in the virtual reality head photo image is carried in a friend relationship establishing request and sent to the server. And the server establishes a friend relationship for the target user in a social application program of virtual reality based on the identification of the target user. The purpose of establishing friend relationships for the users in the social contact application programs of the virtual reality is achieved.
Corresponding to the foregoing method embodiments, the present disclosure also provides embodiments of an apparatus.
As shown in fig. 14, fig. 14 is a block diagram of an apparatus for establishing a buddy relationship according to an exemplary embodiment of the present disclosure, where the apparatus includes:
a group photo image obtaining module 410 configured to obtain a virtual reality group photo image, wherein the virtual reality group photo image includes target virtual reality head photos of a plurality of target users;
a first sending module 420, configured to send a friend relationship establishing request to a server based on the virtual reality group photo image, so that the server establishes friend relationships in a social application of virtual reality for a plurality of the target users based on the friend relationship establishing request.
As shown in fig. 15, fig. 15 is a block diagram of another apparatus for establishing a friend relationship according to an exemplary embodiment of the present disclosure, where the embodiment is based on the foregoing embodiment of fig. 14, and the group photo image obtaining module 410 includes:
a first output sub-module 411 configured to output alternative virtual reality avatars corresponding to the alternative users respectively;
a determination sub-module 412 configured to determine a plurality of target virtual reality avatars to be merged in the alternative virtual reality avatar based on a selected action;
a generation submodule 413 configured to generate a virtual reality group photo image including a plurality of the target virtual reality avatars.
Optionally, the selected action includes a gesture action matching a preset selected operation or a visual response action matching a first preset visual response action corresponding to the selected operation.
As shown in fig. 16, fig. 16 is a block diagram of another apparatus for establishing a buddy relationship according to an exemplary embodiment, where on the basis of the foregoing embodiment of fig. 15, the first output sub-module 411 includes:
an upload sub-module 414 configured to upload the geographical location information of the virtual reality device to the server, so that the server searches for alternative virtual reality avatar information corresponding to the alternative virtual reality device after determining the alternative virtual reality device according to the geographical location information; the alternative virtual reality equipment comprises the virtual reality equipment and at least one other virtual reality equipment of which the distance value between the alternative virtual reality equipment and the virtual reality equipment is smaller than a preset value;
a receiving submodule 415 configured to receive the alternative virtual reality avatar information returned by the server;
a second output sub-module 416 configured to output, based on the alternative virtual reality avatar information, an alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology.
Optionally, the alternative virtual reality avatar information corresponds to the user identifier one to one;
as shown in fig. 17, fig. 17 is a block diagram of another apparatus for establishing a buddy relationship according to an exemplary embodiment, where on the basis of the foregoing embodiment of fig. 14, the first sending module 420 includes:
an obtaining sub-module 421 configured to obtain target user identifiers corresponding to target virtual reality avatar information of all the target users included in the virtual reality group photo image;
the sending sub-module 422 is configured to send a friend relationship establishing request carrying the target user identifier to the server.
Fig. 18 is a block diagram of another apparatus for establishing a buddy relationship according to an exemplary embodiment, as shown in fig. 18, where the embodiment is based on the foregoing embodiment of fig. 14, the apparatus further includes:
a generating module 430 configured to generate the friend relationship establishing request when detecting a friend relationship establishing confirmation action based on the virtual reality group photo image;
the control module 440 is configured to control the sending module to send the friend relationship establishing request to a server after the generating module generates the friend relationship establishing request.
Optionally, the friend relationship establishing confirmation action includes a gesture action matched with a preset friend relationship establishing confirmation operation or a visual response action matched with a second preset visual response action corresponding to the friend relationship establishing confirmation operation.
As shown in fig. 19, fig. 19 is a block diagram of another apparatus for establishing a buddy relationship according to an exemplary embodiment of the present disclosure, where the apparatus includes:
a first receiving module 510 configured to receive a friend relationship establishing request sent by a virtual reality device based on a virtual reality group photo image;
a friend relationship establishing module 520, configured to establish friend relationships in a social application of virtual reality for all target users included in the virtual reality group photo image based on the friend relationship establishing request.
Optionally, the friend relationship establishing request carries a target user identifier of the target user;
fig. 20 is a block diagram of another apparatus for establishing a buddy relationship according to an exemplary embodiment of the present disclosure, as shown in fig. 20, where on the basis of the foregoing fig. 19 embodiment, the buddy relationship establishing module 520 includes:
and the friend relationship establishing submodule 521 is configured to establish friend relationships in a social contact application program of virtual reality for all target users included in the virtual reality group photo image according to the target user identification.
Fig. 21 is a block diagram of another apparatus for establishing a buddy relationship according to an exemplary embodiment, as shown in fig. 21, where the embodiment is based on the foregoing embodiment of fig. 19, the apparatus further includes:
a second receiving module 530 configured to receive the geographical location information uploaded by the virtual reality device;
a determining module 540 configured to determine, according to the geographic location information, an alternative virtual reality device, where the alternative virtual reality device includes the virtual reality device and at least one other virtual reality device whose distance value from the virtual reality device is smaller than a preset value;
an obtaining module 550 configured to obtain alternative virtual reality avatar information corresponding to the alternative virtual reality device according to a correspondence between pre-stored virtual reality devices and virtual reality avatar information;
a second sending module 560 configured to send the virtual reality avatar information to the virtual reality device, so that the virtual reality device outputs the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology based on the alternative virtual reality avatar information.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Correspondingly, the present disclosure further provides a device for establishing a friend relationship, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a virtual reality group photo image, wherein the virtual reality group photo image comprises target virtual reality head photos of a plurality of target users;
and sending a friend relation establishing request to a server based on the virtual reality group photo image, so that the server establishes friend relations in a virtual reality social application program for a plurality of target users based on the friend relation establishing request.
As shown in fig. 22, fig. 22 is a schematic structural diagram illustrating an apparatus 2200 for establishing a buddy relationship according to an exemplary embodiment. For example, the apparatus 2200 may be provided as a virtual reality device. Referring to fig. 22, the apparatus 2200 includes a processing component 2222 that further includes one or more processors and memory resources, represented by memory 2232, for storing instructions, such as applications, that are executable by the processing component 2222. The application programs stored in the memory 2232 may include one or more modules that each correspond to a set of instructions. Further, the processing component 2222 is configured to execute the instructions to perform the above-described method for establishing a buddy relationship.
The device 2200 may also include a power component 2226 configured to perform power management of the device 2200, a wired or wireless network interface 2250 configured to connect the device 2200 to a network, and an input/output (I/O) interface 2258. The apparatus 2200 may operate based on an operating system stored in the memory 2232, such as Windows Server, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Correspondingly, the present disclosure further provides a device for establishing a friend relationship, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a friend relation establishing request sent by virtual reality equipment based on a virtual reality group photo image;
and establishing friend relationships in a social contact application program of virtual reality for all target users included in the virtual reality group photo image based on the friend relationship establishing request.
As shown in fig. 23, fig. 23 is a schematic structural diagram illustrating another apparatus 2300 for establishing a buddy relationship according to an exemplary embodiment. For example, the apparatus 2300 may be provided as a server. Referring to fig. 23, the device 2300 includes a processing component 2322 that further includes one or more processors and memory resources, represented by memory 2332, for storing instructions, such as application programs, that may be executed by the processing component 2322. The applications stored in memory 2332 may include one or more modules each corresponding to a set of instructions. Further, the processing component 2322 is configured to execute the instructions to perform the above-described method of establishing a buddy relationship.
The device 2300 may also include a power component 2326 configured to perform power management of the device 2300, a wired or wireless network interface 2350 configured to connect the device 2300 to a network, and an input/output (I/O) interface 2358. The device 2300 may operate based on an operating system, such as Windows Server, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like, stored in the memory 2332.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
The above description is only exemplary of the present disclosure and should not be taken as limiting the disclosure, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.
Claims (14)
1. A method for establishing friend relationship is used for virtual reality equipment, and is characterized in that the method comprises the following steps:
acquiring a virtual reality group photo image, wherein the virtual reality group photo image comprises target virtual reality head photos of a plurality of target users;
sending a friend relation establishing request to a server based on the virtual reality group photo image, so that the server establishes friend relations in a virtual reality social application program for a plurality of target users based on the friend relation establishing request; the friend relation establishing request carries a target user identification of the target user;
the acquiring of the virtual reality group photo image includes:
outputting alternative virtual reality head portraits corresponding to alternative users; determining a plurality of target virtual reality avatars to be combined in the alternative virtual reality avatars based on the selected action;
generating a virtual reality group photo image comprising a plurality of the target virtual reality avatars;
the outputting of the alternative virtual reality avatars corresponding to the alternative users comprises:
uploading the geographical position information of the virtual reality equipment to the server, so that the server searches for alternative virtual reality avatar information corresponding to the alternative virtual reality equipment after determining the alternative virtual reality equipment according to the geographical position information; the alternative virtual reality equipment comprises the virtual reality equipment and at least one other virtual reality equipment of which the distance value between the alternative virtual reality equipment and the virtual reality equipment is smaller than a preset value;
receiving the alternative virtual reality head portrait information returned by the server;
and outputting the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology based on the alternative virtual reality avatar information.
2. The method of claim 1, wherein the selected action comprises a gesture action matching a preset selected operation or a visual response action matching a first preset visual response action corresponding to the selected operation.
3. The method of claim 1, wherein the alternative virtual reality avatar information corresponds one-to-one to a user identifier;
the sending a friend relationship establishment request to a server based on the virtual reality group photo image comprises:
acquiring target user identifications corresponding to target virtual reality head portrait information of all the target users included in the virtual reality group photo image;
and sending a friend relation establishing request carrying the target user identification to a server.
4. The method of claim 1, further comprising:
when a friend relation establishment confirmation action based on the virtual reality group photo image is detected, generating a friend relation establishment request;
and after the friend relation establishing request is generated, the step of sending the friend relation establishing request to a server is executed.
5. The method of claim 4, wherein the friend relationship establishment confirmation action comprises a gesture action matched with a preset friend relationship establishment confirmation action or a visual response action matched with a second preset visual response action corresponding to the friend relationship establishment confirmation action.
6. A method for establishing a friend relationship, which is used for a server, and is characterized in that the method comprises the following steps:
receiving a friend relation establishing request sent by virtual reality equipment based on a virtual reality group photo image; the virtual reality group photo image comprises target virtual reality head photos of a plurality of target users;
establishing friend relationships in a social contact application program of virtual reality for all target users included in the virtual reality group photo image based on the friend relationship establishing request; the friend relation establishing request carries a target user identification of the target user;
the establishing of the friend relationship for all target users included in the virtual reality group photo image in the virtual reality social application program based on the friend relationship establishing request comprises the following steps:
establishing friend relationships in a social contact application program of virtual reality for all target users included in the virtual reality group photo image according to the target user identification;
the method further comprises the following steps:
receiving geographic position information uploaded by the virtual reality equipment;
determining alternative virtual reality equipment according to the geographical position information, wherein the alternative virtual reality equipment comprises the virtual reality equipment and at least one other virtual reality equipment of which the distance value between the alternative virtual reality equipment and the virtual reality equipment is smaller than a preset value;
according to the corresponding relation between the pre-stored virtual reality equipment and the virtual reality head portrait information, acquiring alternative virtual reality head portrait information corresponding to the alternative virtual reality equipment;
and sending the virtual reality avatar information to the virtual reality equipment so that the virtual reality equipment outputs the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology based on the alternative virtual reality avatar information.
7. An apparatus for establishing a friend relationship, for a virtual reality device, the apparatus comprising:
a group photo image acquisition module configured to acquire a virtual reality group photo image including target virtual reality head photos of a plurality of target users;
a first sending module, configured to send a friend relationship establishing request to a server based on the virtual reality group photo image, so that the server establishes friend relationships in a social application of virtual reality for the plurality of target users based on the friend relationship establishing request; the friend relation establishing request carries a target user identification of the target user;
the group photo image acquisition module comprises:
the first output submodule is configured to output alternative virtual reality head portraits corresponding to the alternative users;
a determination sub-module configured to determine a plurality of target virtual reality avatars to be merged in the alternative virtual reality avatar based on a selected action;
a generation sub-module configured to generate a virtual reality group photo image including a plurality of the target virtual reality avatars;
the first output sub-module includes:
the uploading sub-module is configured to upload the geographical position information of the virtual reality equipment to the server, so that the server searches for alternative virtual reality avatar information corresponding to the alternative virtual reality equipment after determining the alternative virtual reality equipment according to the geographical position information; the alternative virtual reality equipment comprises the virtual reality equipment and at least one other virtual reality equipment of which the distance value between the alternative virtual reality equipment and the virtual reality equipment is smaller than a preset value;
the receiving submodule is configured to receive the alternative virtual reality head portrait information returned by the server;
and the second output sub-module is configured to output the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology based on the alternative virtual reality avatar information.
8. The apparatus of claim 7, wherein the selected action comprises a gesture action matching a preset selected operation or a visual response action matching a first preset visual response action corresponding to the selected operation.
9. The apparatus of claim 7, wherein the alternative virtual reality avatar information corresponds to a user identifier one-to-one;
the first transmitting module includes:
an obtaining sub-module configured to obtain target user identifications corresponding to target virtual reality avatar information of all the target users included in the virtual reality group photo image;
and the sending submodule is configured to send a friend relationship establishing request carrying the target user identification to a server.
10. The apparatus of claim 7, further comprising:
a generating module configured to generate the friend relationship establishing request when detecting a friend relationship establishing confirmation action based on the virtual reality group photo image;
the control module is configured to control the sending module to send the friend relationship establishing request to a server after the generating module generates the friend relationship establishing request.
11. The apparatus of claim 10, wherein the friend relationship establishment confirmation action comprises a gesture action matching a preset friend relationship establishment confirmation action or a visual response action matching a second preset visual response action corresponding to the friend relationship establishment confirmation action.
12. An apparatus for establishing a friend relationship, wherein the apparatus is used for a server, and the apparatus comprises:
the virtual reality device comprises a first receiving module, a second receiving module and a sending module, wherein the first receiving module is configured to receive a friend relation establishing request sent by the virtual reality device based on a virtual reality group photo image; the virtual reality group photo image comprises target virtual reality head photos of a plurality of target users;
a friend relation establishing module configured to establish friend relations in a virtual reality social application program for all target users included in the virtual reality group photo image based on the friend relation establishing request;
the friend relation establishing request carries a target user identification of the target user;
the friend relationship establishing module comprises:
the friend relation establishing submodule is configured to establish friend relations in a virtual reality social application program for all target users included in the virtual reality group photo image according to the target user identification;
the device further comprises:
a second receiving module configured to receive the geographical location information uploaded by the virtual reality device;
a determining module configured to determine, according to the geographical location information, alternative virtual reality devices including the virtual reality device and at least one other virtual reality device having a distance value smaller than a preset value from the virtual reality device;
the acquisition module is configured to acquire alternative virtual reality head portrait information corresponding to the alternative virtual reality equipment according to a corresponding relation between pre-stored virtual reality equipment and virtual reality head portrait information;
a second sending module configured to send the virtual reality avatar information to the virtual reality device, so that the virtual reality device outputs the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology based on the alternative virtual reality avatar information.
13. An apparatus for establishing a friend relationship, which is used for a virtual reality device, and comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a virtual reality group photo image, wherein the virtual reality group photo image comprises target virtual reality head photos of a plurality of target users;
sending a friend relation establishing request to a server based on the virtual reality group photo image, so that the server establishes friend relations in a virtual reality social application program for a plurality of target users based on the friend relation establishing request; the friend relation establishing request carries a target user identification of the target user;
the acquiring of the virtual reality group photo image includes:
outputting alternative virtual reality head portraits corresponding to alternative users; determining a plurality of target virtual reality avatars to be combined in the alternative virtual reality avatars based on the selected action;
generating a virtual reality group photo image comprising a plurality of the target virtual reality avatars;
the outputting of the alternative virtual reality avatars corresponding to the alternative users comprises:
uploading the geographical position information of the virtual reality equipment to the server, so that the server searches for alternative virtual reality avatar information corresponding to the alternative virtual reality equipment after determining the alternative virtual reality equipment according to the geographical position information; the alternative virtual reality equipment comprises the virtual reality equipment and at least one other virtual reality equipment of which the distance value between the alternative virtual reality equipment and the virtual reality equipment is smaller than a preset value;
receiving the alternative virtual reality head portrait information returned by the server;
and outputting the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology based on the alternative virtual reality avatar information.
14. An apparatus for establishing a friend relationship, which is used for a server, and comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a friend relation establishing request sent by virtual reality equipment based on a virtual reality group photo image; the virtual reality group photo image comprises target virtual reality head photos of a plurality of target users;
establishing friend relationships in a social contact application program of virtual reality for all target users included in the virtual reality group photo image based on the friend relationship establishing request;
the friend relation establishing request carries a target user identification of the target user;
the establishing of the friend relationship for all target users included in the virtual reality group photo image in the virtual reality social application program based on the friend relationship establishing request comprises the following steps:
establishing friend relationships in a social contact application program of virtual reality for all target users included in the virtual reality group photo image according to the target user identification;
the processor is further configured to:
receiving geographic position information uploaded by the virtual reality equipment;
determining alternative virtual reality equipment according to the geographical position information, wherein the alternative virtual reality equipment comprises the virtual reality equipment and at least one other virtual reality equipment of which the distance value between the alternative virtual reality equipment and the virtual reality equipment is smaller than a preset value;
according to the corresponding relation between the pre-stored virtual reality equipment and the virtual reality head portrait information, acquiring alternative virtual reality head portrait information corresponding to the alternative virtual reality equipment;
and sending the virtual reality avatar information to the virtual reality equipment so that the virtual reality equipment outputs the alternative virtual reality avatar indicated by the alternative virtual reality avatar information through a virtual reality technology based on the alternative virtual reality avatar information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610942223.9A CN106504103B (en) | 2016-10-31 | 2016-10-31 | Method and device for establishing friend relationship |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610942223.9A CN106504103B (en) | 2016-10-31 | 2016-10-31 | Method and device for establishing friend relationship |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106504103A CN106504103A (en) | 2017-03-15 |
CN106504103B true CN106504103B (en) | 2020-09-08 |
Family
ID=58320973
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610942223.9A Active CN106504103B (en) | 2016-10-31 | 2016-10-31 | Method and device for establishing friend relationship |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106504103B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107392783B (en) * | 2017-07-05 | 2020-07-07 | 龚少卓 | Social contact method and device based on virtual reality |
CN110152308A (en) * | 2019-06-27 | 2019-08-23 | 北京乐动派软件有限公司 | A kind of more personages' group photo methods of game virtual image |
CN110569758A (en) * | 2019-08-26 | 2019-12-13 | 深圳市云歌人工智能技术有限公司 | method, device and storage medium for determining user category |
CN111462295B (en) * | 2020-03-27 | 2023-09-05 | 咪咕文化科技有限公司 | Shadow processing method, device and storage medium in augmented reality shooting |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130290362A1 (en) * | 2011-11-02 | 2013-10-31 | Alexander I. Poltorak | Relevance estimation and actions based thereon |
CN104135713A (en) * | 2013-05-15 | 2014-11-05 | 腾讯科技(深圳)有限公司 | User information recommendation method, device, equipment and system |
CN105429848A (en) * | 2015-10-23 | 2016-03-23 | 广东小天才科技有限公司 | Method and system for adding friends through photographing and social system of social server |
CN105450736A (en) * | 2015-11-12 | 2016-03-30 | 小米科技有限责任公司 | Method and device for establishing connection with virtual reality |
-
2016
- 2016-10-31 CN CN201610942223.9A patent/CN106504103B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130290362A1 (en) * | 2011-11-02 | 2013-10-31 | Alexander I. Poltorak | Relevance estimation and actions based thereon |
CN104135713A (en) * | 2013-05-15 | 2014-11-05 | 腾讯科技(深圳)有限公司 | User information recommendation method, device, equipment and system |
CN105429848A (en) * | 2015-10-23 | 2016-03-23 | 广东小天才科技有限公司 | Method and system for adding friends through photographing and social system of social server |
CN105450736A (en) * | 2015-11-12 | 2016-03-30 | 小米科技有限责任公司 | Method and device for establishing connection with virtual reality |
Also Published As
Publication number | Publication date |
---|---|
CN106504103A (en) | 2017-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106504103B (en) | Method and device for establishing friend relationship | |
CN109802931B (en) | Communication processing method, terminal and storage medium | |
TWI615776B (en) | Method and system for creating virtual message onto a moving object and searching the same | |
CN109428859B (en) | Synchronous communication method, terminal and server | |
CA2880737A1 (en) | A user recommendation method and a user recommendation system using the same | |
JP5526860B2 (en) | Spatial information visualization system | |
CN109788359B (en) | Video data processing method and related device | |
US20090241039A1 (en) | System and method for avatar viewing | |
WO2017101623A1 (en) | User recommendation method and system, and mobile terminal and server | |
KR20220108812A (en) | Skeletal tracking using previous frames | |
US10863312B2 (en) | Moving track sharing method and apparatus, and storage medium | |
CN108114471B (en) | AR service processing method and device, server and mobile terminal | |
JP2017513090A (en) | Object search method and apparatus | |
CN113262465A (en) | Virtual reality interaction method, equipment and system | |
CN107003819B (en) | Multi-user sensor-based interaction | |
CN109937393B (en) | Supporting augmented reality software applications | |
JP2016018313A (en) | Program, information processing apparatus, communication system, and communication method | |
JP2020119156A (en) | Avatar creating system, avatar creating device, server device, avatar creating method and program | |
JP2019528513A5 (en) | Programs, methods, and terminals | |
CN103139257A (en) | Sharing method and sharing system in open platform | |
US10845875B1 (en) | Gaze initiated interaction technique | |
CN105634882B (en) | Network access equipment sharing method, device and system | |
CN104202556B (en) | Information acquisition method, information acquisition device and user equipment | |
CN110268370A (en) | Eye gaze angle feedback in teleconference | |
US12032812B1 (en) | Systems and methods for intent-based augmented reality virtual assistant |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |