CN107171938B - Method and device for shielding social friends - Google Patents

Method and device for shielding social friends Download PDF

Info

Publication number
CN107171938B
CN107171938B CN201710364879.1A CN201710364879A CN107171938B CN 107171938 B CN107171938 B CN 107171938B CN 201710364879 A CN201710364879 A CN 201710364879A CN 107171938 B CN107171938 B CN 107171938B
Authority
CN
China
Prior art keywords
shielding
friend
user
friends
shielded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710364879.1A
Other languages
Chinese (zh)
Other versions
CN107171938A (en
Inventor
刘健全
张亮
骆艳飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710364879.1A priority Critical patent/CN107171938B/en
Publication of CN107171938A publication Critical patent/CN107171938A/en
Application granted granted Critical
Publication of CN107171938B publication Critical patent/CN107171938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information

Abstract

The disclosure relates to a method and a device for shielding social friends, which receive friend shielding rules input by a user, wherein the friend shielding rules comprise: the method comprises the steps of screening conditions and screening modes, wherein the screening conditions comprise one or more of position information of a user, position information of friends to be screened and information of friend groups to be screened, and the screening modes comprise that screened friends are not allowed to check information issued by the user, and/or the user does not check the information issued by the screened friends; and then according to the friend shielding rule, shielding friends meeting the friend shielding rule from the friends of the user. The method enables the user to shield friends conveniently and flexibly.

Description

Method and device for shielding social friends
Technical Field
The present disclosure relates to communication technologies, and in particular, to a method and an apparatus for shielding social friends.
Background
With the popularization of smart phones, social software is widely applied, and common social software (also called social application) includes QQ, wechat, microblog and the like. The user manages the social friends through the social software, and articles, photos, videos and other information published by the user through the social software can be seen by the friends, and the information published by the social friends can also be seen by the user. The user can set the information of the user not to be seen by a friend or not to let some friends see the information of the user through the authority.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and an apparatus for screening social friends.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for screening social friends, including:
receiving a friend shielding rule input by a user, wherein the friend shielding rule comprises the following steps: the method comprises the steps of shielding conditions and shielding modes, wherein the shielding conditions comprise one or more of position information of a user, position information of friends to be shielded and information of friend groups to be shielded, and the shielding modes comprise the step that shielded friends are not allowed to check the information issued by the user and/or the user does not check the information issued by the shielded friends;
and according to the friend shielding rule, shielding friends meeting the friend shielding rule from friends of the user.
Optionally, when the shielding condition includes the location information of the user, the shielding, according to the friend shielding rule, friends meeting the friend shielding rule from friends of the user includes:
judging whether the current position information of the user belongs to the position information of the user included in the shielding condition;
and when the current position information of the user belongs to the position information of the user included in the shielding condition, shielding the friends preset in the friends of the user according to the shielding mode.
Optionally, when the shielding condition includes information of a buddy group to be shielded, the shielding, according to the buddy shielding rule, a buddy meeting the buddy shielding rule from buddies of the user includes:
judging whether the friend group of the user comprises the friend group to be shielded or not;
and when the friend group of the user comprises the friend group to be shielded, shielding the friends in the friend group to be shielded from the friends of the user according to the shielding mode.
Optionally, when the shielding condition includes location information of a friend to be shielded, the shielding, according to the friend shielding rule, a friend meeting the friend shielding rule from friends of the user includes:
judging whether the current position information of the friend of the user belongs to the position information of the friend to be shielded included in the shielding condition;
and when the current position information of the first friend in the friends of the user belongs to the position information of the friend to be shielded included in the shielding condition, shielding the first friend from the friends of the user according to the shielding mode.
Optionally, the method further includes:
and when the user leaves the position indicated by the position information of the user included in the shielding condition, canceling shielding of the shielded friend.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for screening social friends, including:
a receiving module configured to receive a friend masking rule input by a user, where the friend masking rule includes: the method comprises the steps of shielding conditions and shielding modes, wherein the shielding conditions comprise one or more of position information of a user, position information of friends to be shielded and information of friend groups to be shielded, and the shielding modes comprise the step that shielded friends are not allowed to check the information issued by the user and/or the user does not check the information issued by the shielded friends;
and the shielding module is configured to shield friends meeting the friend shielding rules from friends of the user according to the friend shielding rules.
Optionally, when the location information of the user is included in the shielding condition, the shielding module includes:
a first judgment submodule configured to judge whether or not the current location information of the user belongs to the location information of the user included in the masking condition;
and the first shielding submodule is configured to shield preset friends from friends of the user according to the shielding mode when the current position information of the user belongs to the position information of the user included in the shielding condition.
Optionally, when the shielding condition includes information of a buddy group to be shielded, the shielding module includes:
the second judgment submodule is configured to judge whether the friend group of the user comprises the friend group to be shielded;
and the second shielding submodule is configured to shield the friends in the friend group to be shielded from the friends of the user according to the shielding mode when the friend group of the user comprises the friend group to be shielded.
Optionally, when the shielding condition includes location information of a friend to be shielded, the shielding module includes:
a third judging submodule configured to judge whether current location information of each friend of the user belongs to the location information of the friend to be shielded included in the shielding condition;
and the third shielding submodule is configured to shield the first friend from the friends of the user according to the shielding mode when the current position information of the first friend belongs to the position information of the friend to be shielded, which is included in the shielding condition.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for screening social friends, including:
a memory;
a memory configured to store processor-executable instructions;
wherein the processor is configured to:
receiving a friend shielding rule input by a user, wherein the friend shielding rule comprises the following steps: the method comprises the steps of shielding conditions and shielding modes, wherein the shielding conditions comprise one or more of position information of a user, position information of friends to be shielded and information of friend groups to be shielded, and the shielding modes comprise the step that shielded friends are not allowed to check the information issued by the user and/or the user does not check the information issued by the shielded friends;
and according to the friend shielding rule, shielding friends meeting the friend shielding rule from friends of the user.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: receiving a friend shielding rule input by a user, wherein the friend shielding rule comprises the following steps: the method comprises the steps of screening conditions and screening modes, wherein the screening conditions comprise one or more of position information of a user, position information of friends to be screened and information of friend groups to be screened, and the screening modes comprise that screened friends are not allowed to view information issued by the user and/or the user does not view information issued by the screened friends; and then according to the friend shielding rule, shielding friends meeting the friend shielding rule from the friends of the user. The method enables the user to shield friends conveniently and flexibly.
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 invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a method of screening social friends, according to an example embodiment.
FIG. 2 is a flow diagram illustrating a method of screening social friends, according to an example embodiment.
FIG. 3 is a flow diagram illustrating a method of screening social friends in accordance with an example embodiment.
FIG. 4 is a flow diagram illustrating a method of screening social friends in accordance with an example embodiment.
FIG. 5 is a flow diagram illustrating a method of screening social friends in accordance with an example embodiment.
FIG. 6 is a block diagram illustrating an apparatus for screening social friends, according to an example embodiment.
FIG. 7 is a block diagram illustrating an apparatus for screening social friends, according to an example embodiment.
FIG. 8 is a block diagram illustrating an apparatus for screening social friends, according to an example embodiment.
FIG. 9 is a block diagram illustrating an apparatus for screening social friends, according to an example embodiment.
FIG. 10 is a block diagram illustrating an apparatus for screening social friends, according to an example embodiment.
FIG. 11 is a block diagram illustrating an apparatus for screening social friends, according to an example embodiment.
FIG. 12 is a block diagram illustrating an apparatus for screening social friends, according to an example embodiment.
FIG. 13 is an entity block diagram illustrating an apparatus for screening social friends in accordance with an example embodiment.
FIG. 14 is a block diagram illustrating an apparatus 800 for screening social friends, according to an example embodiment.
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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a method for screening social friends, which is applied in social software according to an exemplary embodiment, and the method for screening social friends, as shown in fig. 1, includes the following steps.
In step S101, a buddy blocking rule input by a user is received, where the buddy blocking rule includes: the method comprises the steps of shielding conditions and shielding modes, wherein the shielding conditions comprise one or more of position information of a user, position information of friends to be shielded and information of friend groups to be shielded, and the shielding modes comprise the step of not allowing the shielded friends to check the information issued by the user and/or the step of not checking the information issued by the shielded friends by the user.
The user can set a shielding condition and a shielding mode in the privacy options of the social software, wherein the shielding condition can comprise: the method comprises the steps that one or more of the position information of a user, the position information of the friend to be shielded and the information of the friend group to be shielded are obtained, the shielding condition can also comprise shielding time, and shielding operation is automatically cancelled after the shielding time is over. The shielding mode comprises that the shielded friends are not allowed to view the information published by the user, and/or the user does not view the information published by the shielded friends.
In step S102, according to the friend shielding rule, the friends meeting the friend shielding rule are shielded from the friends of the user.
In one implementation, the screening is performed based on the location information of the user, the screening condition includes the location information of the user, the location information of the user included in the screening condition may be multiple, and when the current location information of the user belongs to the location information of the user included in the screening condition, the preset friends are screened in the screening manner. In another implementation manner, the location information of the friends of the user is shielded, and when the friends of the user are located at a certain location, the friends are shielded. In yet another implementation, the user may select to mask a friend group based on the user's friend group. In another implementation, the screening is performed based on the location information of the user and the friend groups, and when the user is at a certain location, a certain friend group is screened. In yet another implementation, the screening is performed based on the location information of the friend and the friend group, and when the friend is in a certain location and belongs to a certain group, the friend is screened.
The shielded friends may be one or more, and when the shielding mode is that the shielded friends are not allowed to view the information published by the user, the shielded friends cannot view the information published by the user, but the user can view the information published by the shielded friends. When the shielding mode is that the user does not view the information published by the shielded friends, the user cannot view the information published by the shielded friends, but the shielded friends can view the information published by the user. When the shielding mode comprises that the shielded friend is not allowed to check the information issued by the user and the user does not check the information issued by the shielded friend, the bidirectional shielding is realized, and the shielded friend and the user can not check the information issued by the other party. The information published by the shielded friends and the users can be characters, videos, music, pictures and the like.
Optionally, the masking condition may further include a masking time, after the masking starts, the social software starts to time, and after the masking time ends, the masking on the masked friend is automatically cancelled. The method can avoid that a friend is always shielded because the user forgets to cancel shielding.
In this embodiment, a friend shielding rule input by a user is received, where the friend shielding rule includes: the method comprises the steps of shielding conditions and shielding modes, wherein the shielding conditions comprise one or more of position information of a user, position information of friends to be shielded and information of friend groups to be shielded, and the shielding modes comprise the steps of not allowing the shielded friends to check information issued by the user and/or not allowing the shielded friends to check information issued by the shielded friends, and then shielding friends meeting friend shielding rules from friends of the user according to the friend shielding rules. The method enables the user to shield friends conveniently and flexibly.
On the basis of the embodiment shown in fig. 1, fig. 2 is a flowchart illustrating a method for screening social friends according to an exemplary embodiment, and as shown in fig. 2, the method for screening social friends includes the following steps.
In step S201, a friend shielding rule input by a user is received, where the friend shielding rule includes a shielding condition and a shielding manner, the shielding condition includes location information of the user, and the shielding manner includes that the shielded friend is not allowed to view information issued by the user, and/or that the user does not view information issued by the shielded friend.
The mask condition may include a plurality of location information of the user, and the location information of the user may include a work place, a home, a school, and the like. When a user is in some places, the user wants to protect the privacy of the user or wants to be free from disturbance, so that some friends can be shielded according to the needs of the user. For example, a user may be setting up at the workplace, screening friends A, B and C. The user can also shield friends D and E when the user is at home. For ease of management, users often group friends, e.g., dividing friends into: family, work partner, high school classmates, college classmates, and the like, so the user can also set to shield a friend group according to the own location information, for example, when the user is at home, the user sets to shield the friend group: the work partner, when the user is at the workplace, can set up to shield the friend group: family members.
In step S202, it is determined whether the current location information of the user belongs to the location information of the user included in the mask condition.
The current location information of the user needs to be acquired before the determination, and the social software may detect the current location information of the user in real time or periodically by using a Global Positioning System (GPS) on the terminal device.
Step S203 is performed when the current location information of the user belongs to the location information of the user included in the mask condition, and step S205 is performed when the current location information of the user does not belong to the location information of the user included in the mask condition.
In step S203, the friends preset in the friends of the user are shielded according to the shielding manner.
The preset friends may be one or more, and the preset friends may also be a friend group.
After the determination is finished, the social software repeatedly executes the steps S202 and S203 after a certain time.
In step S204, when the user leaves the location indicated by the location information of the user included in the shielding condition, the shielding of the shielded friend is cancelled.
In step S205, the process ends.
After the friend shielding rule takes effect, the social software can periodically or real-timely acquire the current position information of the user, and when the user leaves the user position included in the friend shielding rule, shielding of the shielded friend is cancelled. It should be noted that, in other embodiments, the shielding time may also be carried in the friend shielding rule, and after the shielding time is over, the shielding of the shielded friend is automatically cancelled.
In the embodiment, a friend shielding rule, a shielding condition and a shielding mode input by a user are received, where the shielding condition includes location information of the user, and the shielding mode includes that the shielded friend is not allowed to check information issued by the user, and/or the user does not check information issued by the shielded friend, the current location information of the user is subsequently obtained, whether the current location information of the user belongs to the location information of the user included in the shielding condition is judged, and when the current location information of the user belongs to the location information of the user included in the shielding condition, a friend preset in a friend of the user is shielded according to the shielding mode. And after the user leaves the user position indicated in the friend shielding rule, the shielding of the shielded friend is automatically cancelled. The method can shield the friends according to the position information of the user, and is convenient and flexible to shield the friends.
On the basis of the embodiment shown in fig. 1, fig. 3 is a flowchart illustrating a method for screening social friends according to an exemplary embodiment, and as shown in fig. 3, the method for screening social friends includes the following steps.
In step S301, a friend shielding rule input by a user is received, where the friend shielding rule includes a shielding condition and a shielding manner, the shielding condition includes information of a friend group to be shielded, and the shielding manner includes that a shielded friend is not allowed to view information issued by the user, and/or the user does not view information issued by the shielded friend.
For ease of management, users often group friends, e.g., dividing friends into: the friends of family, work partners, college classmates and college classmates can be grouped, and a user can select to shield a certain friend group, for example, the user sets to shield the college classmates.
In step S302, it is determined whether the friend group of the user includes a friend group to be masked.
When the friend group of the user includes the friend group to be shielded, step S303 is performed, and when the friend group of the user does not include the friend group to be shielded, step S304 is performed.
In step S303, the friends in the friend group to be shielded are shielded from the friends of the user according to the shielding manner.
In step S304, the process ends.
Optionally, the shielding mode further includes shielding time, and when the shielding time is over, the shielded friend is canceled.
In the embodiment, a friend shielding rule input by a user is received, where the friend shielding rule includes a shielding condition and a shielding mode, the shielding condition includes information of a friend group to be shielded, and the shielding mode includes that a shielded friend is not allowed to check information issued by the user, and/or a user does not check information issued by the shielded friend, and whether the friend group of the user includes the friend group to be shielded is judged, and when the friend group of the user includes the friend group to be shielded, a friend in the friend group to be shielded is shielded from friends of the user according to the shielding mode. According to the method, the user can select to shield all users in a certain friend group, and friend shielding is conveniently and flexibly realized.
On the basis of the embodiment shown in fig. 1, fig. 4 is a flowchart illustrating a method for screening social friends according to an exemplary embodiment, and as shown in fig. 4, the method for screening social friends includes the following steps.
In step S401, a friend shielding rule input by a user is received, where the friend shielding rule includes a shielding condition and a shielding manner, where the shielding condition is to shield location information of a friend, and the shielding manner includes that the shielded friend is not allowed to view information issued by the user, and/or that the user does not view information issued by the shielded friend.
In this embodiment, the user may also set the friend to shield the friend at a certain place according to the location information of the friend.
In step S402, it is determined whether the current location information of the friend of the user belongs to the location information of the friend to be shielded included in the shielding condition.
Before the judgment, the current position information of the friends of the user needs to be acquired, the social software can request terminal equipment used by the friends of the user to send the current position information of the friends, the social software can also acquire the current position information of the friends according to photos or positioning information issued by the friends of the user, when the user sends a friend circle, some users can set photographing places for displaying the current position information or the photos, and the social software can acquire the current position information of some friends from the friend circle of the user.
There are usually a plurality of friends of the user, and it is necessary to sequentially compare whether the location information of each friend belongs to the location information of the friend to be shielded included in the shielding condition, and when the current location information of the first friend in the friends of the user belongs to the location information of the friend to be shielded included in the shielding condition, step S403 is executed. When the current location information of all the friends in the friends of the user does not belong to the location information of the friend to be shielded included in the shielding condition, step S405 is executed.
In step S403, the first friend is shielded from the friends of the user according to the shielding manner.
After the determination is finished, the social software repeatedly executes the steps S402 to S403 after a certain time.
In step S404, when the shielded buddy leaves the location indicated by the location information of the buddy to be shielded included in the buddy shielding rule, the shielding of the shielded buddy is cancelled.
Step S404 is an optional step, and the social software may also cancel the shielding of the shielded friend according to other preset conditions, for example, cancel the shielding of the shielded friend after a preset time.
In step S405, the process ends.
In the embodiment, a friend shielding rule input by a user is received, where the friend shielding rule includes a shielding condition and a shielding mode, the shielding condition is to shield position information of a friend to be shielded, and the shielding mode includes that the shielded friend is not allowed to check information issued by the user, and/or the user does not check information issued by the shielded friend, and subsequently, whether current position information of the friend of the user belongs to position information of the friend to be shielded included in the shielding condition is judged, and when the current position information of the first friend belongs to position information of the friend to be shielded included in the friend shielding rule, the first friend is shielded from the friend of the user according to the shielding mode. The method can shield the friends according to the positions of the friends of the user, and conveniently and flexibly achieve friend shielding.
On the basis of the embodiment shown in fig. 1, fig. 5 is a flowchart illustrating a method for screening social friends according to an exemplary embodiment, and as shown in fig. 5, the method for screening social friends includes the following steps.
In step S501, a friend shielding rule input by a user is received, where the friend shielding rule includes a shielding condition and a shielding manner, the shielding condition includes location information of a friend to be shielded, information of a friend group to be shielded, and shielding time, and the shielding manner includes that the shielded friend is not allowed to view information issued by the user, and/or the user does not view information issued by the shielded friend.
In step S502, it is determined whether the current location information of the friend of the user belongs to the location information of the friend to be shielded included in the shielding condition.
When the current location information of the first friend in the friends of the user belongs to the location information of the friend to be shielded included in the shielding condition, step S503 is executed, the current location information of all the friends in the friends of the user does not belong to the location information of the friend to be shielded included in the shielding condition, and step S506 is executed.
In step S503, it is determined whether a first friend of the friends of the user belongs to a group of friends to be shielded included in the shielding condition.
When the first friend belongs to the friend group to be shielded, step S504 is executed, and when the first friend does not belong to the friend group to be shielded, step S506 is executed. After the determination is finished, the social software repeatedly executes the steps S502 to S503 after a certain time.
In step S504, the first friend is shielded from the friends of the user according to the shielding manner.
In step S505, when the masking time is over, the masked friend is canceled.
In step S506, the process ends.
In the embodiment, the shielding is performed according to the position information of the friend to be shielded and the information of the friend group to be shielded, and when the friend is in a certain place and belongs to the shielded group, the friend is shielded.
Fig. 6 is a block diagram illustrating an apparatus for screening social friends according to an exemplary embodiment, where as shown in fig. 6, the apparatus of this embodiment includes:
a receiving module 11, configured to receive a buddy blocking rule input by a user, where the buddy blocking rule includes: the method comprises the steps of shielding conditions and shielding modes, wherein the shielding conditions comprise one or more of position information of a user, position information of friends to be shielded and information of friend groups to be shielded, and the shielding modes comprise the step that shielded friends are not allowed to check the information issued by the user and/or the user does not check the information issued by the shielded friends;
a shielding module 12, configured to shield, according to the friend shielding rule, friends meeting the friend shielding rule from friends of the user.
Fig. 7 is a block diagram of a device for screening social friends according to an exemplary embodiment, in this embodiment, the screening condition includes location information of the user, as shown in fig. 7, the device of this embodiment is based on the device shown in fig. 6, and the screening module 12 includes:
a first determining submodule 121 configured to determine whether the current location information of the user belongs to the location information of the user included in the masking condition;
the first shielding submodule 122 is configured to shield a friend preset in the friends of the user according to the shielding manner when the current location information of the user belongs to the location information of the user included in the shielding condition.
Fig. 8 is a block diagram of an apparatus for screening social friends according to an exemplary embodiment, in this embodiment, the screening condition includes information of a friend group to be screened, as shown in fig. 8, the apparatus of this embodiment is based on the apparatus shown in fig. 6, and the screening module 12 includes:
a second judging sub-module 123 configured to judge whether the friend group of the user includes the friend group to be masked;
the second shielding submodule 124 is configured to shield the friends in the friend group to be shielded from the friends of the user according to the shielding manner when the friend group to be shielded is included in the friend group of the user.
Fig. 9 is a block diagram of a device for screening social friends according to an exemplary embodiment, in this embodiment, the screening condition includes location information of a friend to be screened, as shown in fig. 9, the device of this embodiment is based on the device shown in fig. 6, and the screening module 12 includes:
a third determining submodule 125, configured to determine whether the current location information of the friend of the user belongs to the location information of the friend to be shielded included in the shielding condition;
a third shielding submodule 126, configured to shield a first friend from the friends of the user according to the shielding manner when the current location information of the first friend belongs to the location information of the friend to be shielded, which is included in the friend shielding rule.
Fig. 10 is a block diagram of an apparatus for screening social friends according to an exemplary embodiment, in this embodiment, the screening condition includes location information of friends to be screened and information of friend groups to be screened, as shown in fig. 10, the apparatus of this embodiment is based on the apparatus shown in fig. 6, and the screening module 12 includes:
a third determining submodule 125, configured to determine whether the current location information of the friend of the user belongs to the location information of the friend to be shielded included in the shielding condition;
a fourth determining submodule 127, configured to determine whether a first friend in the friends of the user belongs to the group of friends to be shielded included in the shielding condition when the current location information of the first friend belongs to the location information of the friends to be shielded included in the shielding condition;
a fourth shielding submodule 128, configured to shield the first friend from the friends of the user according to the shielding manner when the first friend belongs to the group of friends to be shielded.
Fig. 11 is a block diagram of an apparatus for screening social friends according to an exemplary embodiment, in this embodiment, the screening condition further includes a screening time, and as shown in fig. 11, the apparatus of this embodiment further includes, on the basis of the apparatus shown in fig. 6:
and the first canceling module 13 is configured to cancel the shielding of the shielded friend when the shielding time is over.
Fig. 12 is a block diagram illustrating an apparatus for screening social friends according to an exemplary embodiment, where, as shown in fig. 12, the apparatus of this embodiment further includes, on the basis of the apparatus shown in fig. 7:
and the second canceling module 14 is configured to cancel the shielding of the shielded friend when the user leaves the position indicated by the position information of the user included in the shielding condition.
Each functional module in the device for shielding social friends shown in fig. 6 to 12 may be configured to execute the method for shielding social friends shown in fig. 1 to 5, and a specific implementation manner and a technical effect are similar.
Fig. 13 is a block diagram illustrating an apparatus for screening social friends according to an exemplary embodiment, and as shown in fig. 13, an apparatus 200 for screening social friends includes: a processor 21 and a memory 22 for storing instructions executable by the processor 21, the memory 22 being coupled to and in communication with the processor 21 via a system bus.
Wherein the processor 21 is configured to:
receiving a friend shielding rule input by a user, wherein the friend shielding rule comprises the following steps: the method comprises the steps of shielding conditions and shielding modes, wherein the shielding conditions comprise one or more of position information of a user, position information of friends to be shielded and information of friend groups to be shielded, and the shielding modes comprise the step that shielded friends are not allowed to check the information issued by the user and/or the user does not check the information issued by the shielded friends;
and according to the friend shielding rule, shielding friends meeting the friend shielding rule from friends of the user.
It should be understood that in the above embodiments, the processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the aforementioned memory may be a read-only memory (ROM), a Random Access Memory (RAM), a flash memory, a hard disk, or a solid state disk. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
FIG. 14 is a block diagram illustrating an apparatus 800 for screening social friends, according to an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 14, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute commands to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include commands, contact data, phonebook data, messages, pictures, videos, etc. for any application or method operating on the device 800. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components for performing the method of shielding social friends illustrated in fig. 1-5 and described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising commands, such as the memory 804 comprising commands, executable by the processor 820 of the apparatus 800 to perform the method of screening social friends illustrated in fig. 1-5 described above, is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions stored thereon that, when executed by a processor of a social friend masking device, enable the social friend masking device to perform the method of masking social friends illustrated in fig. 1-5.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (8)

1. A method of screening social friends, comprising:
receiving a friend shielding rule input by a user, wherein the friend shielding rule comprises the following steps: the method comprises the steps of shielding conditions and shielding modes, wherein the shielding conditions comprise one or more of position information of a user, position information of friends to be shielded and information of friend groups to be shielded, and the shielding modes comprise the step that shielded friends are not allowed to check the information issued by the user and/or the user does not check the information issued by the shielded friends;
according to the friend shielding rule, shielding friends meeting the friend shielding rule from friends of the user;
when the shielding condition includes location information of a friend to be shielded, the shielding, according to the friend shielding rule, a friend meeting the friend shielding rule from friends of the user includes:
judging whether the current position information of the friend of the user belongs to the position information of the friend to be shielded included in the shielding condition;
and when the current position information of the first friend in the friends of the user belongs to the position information of the friend to be shielded included in the shielding condition, shielding the first friend from the friends of the user according to the shielding mode.
2. The method according to claim 1, wherein when the location information of the user is included in the masking condition, the masking, according to the buddy masking rule, from the buddies of the user, a buddy that meets the buddy masking rule comprises:
judging whether the current position information of the user belongs to the position information of the user included in the shielding condition;
and when the current position information of the user belongs to the position information of the user included in the shielding condition, shielding the friends preset in the friends of the user according to the shielding mode.
3. The method according to claim 1, wherein when the shielding condition includes information of a group of friends to be shielded, the shielding, according to the friend shielding rule, of friends of the user, friends meeting the friend shielding rule comprises:
judging whether the friend group of the user comprises the friend group to be shielded or not;
and when the friend group of the user comprises the friend group to be shielded, shielding the friends in the friend group to be shielded from the friends of the user according to the shielding mode.
4. The method of claim 2, further comprising:
and when the user leaves the position indicated by the position information of the user included in the shielding condition, canceling shielding of the shielded friend.
5. An apparatus for screening social friends, comprising:
a receiving module configured to receive a friend masking rule input by a user, where the friend masking rule includes: the method comprises the steps of shielding conditions and shielding modes, wherein the shielding conditions comprise one or more of position information of a user, position information of friends to be shielded and information of friend groups to be shielded, and the shielding modes comprise the step that shielded friends are not allowed to check the information issued by the user and/or the user does not check the information issued by the shielded friends;
the shielding module is configured to shield friends meeting the friend shielding rules from friends of the user according to the friend shielding rules;
when the shielding condition includes location information of a friend to be shielded, the shielding module includes:
a third judging submodule configured to judge whether the current location information of the friend of the user belongs to the location information of the friend to be shielded included in the shielding condition;
and the third shielding submodule is configured to shield the first friend from the friends of the user according to the shielding mode when the current position information of the first friend in the friends of the user belongs to the position information of the friend to be shielded included in the shielding condition.
6. The apparatus of claim 5, wherein when the screening condition includes the location information of the user, the screening module comprises:
a first judgment submodule configured to judge whether or not the current location information of the user belongs to the location information of the user included in the masking condition;
and the first shielding submodule is configured to shield the friends which are preset in the friends of the user according to the shielding mode when the current position information of the user belongs to the position information of the user included in the shielding condition.
7. The apparatus of claim 5, wherein when the shielding condition includes information of a buddy group to be shielded, the shielding module comprises:
the second judgment submodule is configured to judge whether the friend group of the user comprises the friend group to be shielded;
and the second shielding submodule is configured to shield the friends in the friend group to be shielded from the friends of the user according to the shielding mode when the friend group of the user comprises the friend group to be shielded.
8. An apparatus for screening social friends, comprising:
a memory;
a memory configured to store processor-executable instructions;
wherein the processor is configured to:
receiving a friend shielding rule input by a user, wherein the friend shielding rule comprises the following steps: the method comprises the steps of shielding conditions and shielding modes, wherein the shielding conditions comprise one or more of position information of a user, position information of friends to be shielded and information of friend groups to be shielded, and the shielding modes comprise the step that shielded friends are not allowed to check the information issued by the user and/or the user does not check the information issued by the shielded friends;
according to the friend shielding rule, shielding friends meeting the friend shielding rule from friends of the user;
when the shielding condition includes location information of a friend to be shielded, the shielding, according to the friend shielding rule, a friend meeting the friend shielding rule from friends of the user includes:
judging whether the current position information of the friend of the user belongs to the position information of the friend to be shielded included in the shielding condition;
and when the current position information of the first friend in the friends of the user belongs to the position information of the friend to be shielded included in the shielding condition, shielding the first friend from the friends of the user according to the shielding mode.
CN201710364879.1A 2017-05-22 2017-05-22 Method and device for shielding social friends Active CN107171938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710364879.1A CN107171938B (en) 2017-05-22 2017-05-22 Method and device for shielding social friends

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710364879.1A CN107171938B (en) 2017-05-22 2017-05-22 Method and device for shielding social friends

Publications (2)

Publication Number Publication Date
CN107171938A CN107171938A (en) 2017-09-15
CN107171938B true CN107171938B (en) 2020-09-08

Family

ID=59816496

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710364879.1A Active CN107171938B (en) 2017-05-22 2017-05-22 Method and device for shielding social friends

Country Status (1)

Country Link
CN (1) CN107171938B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600082A (en) * 2018-03-29 2018-09-28 上海掌门科技有限公司 Circle of friends information displaying method, computer equipment and storage medium
CN109118454A (en) * 2018-08-30 2019-01-01 北京旷视科技有限公司 Image processing method, device, system, computer readable storage medium
CN109167883B (en) * 2018-09-28 2020-06-09 珠海格力电器股份有限公司 Intelligent shielding method and system based on social content and intelligent terminal
CN112398721B (en) * 2019-08-16 2023-04-18 中国移动通信集团浙江有限公司 Message shielding method, terminal, server, computing device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262674A (en) * 2015-10-29 2016-01-20 小米科技有限责任公司 Method, apparatus, server and terminal for setting privacy authority
CN106250482A (en) * 2016-07-29 2016-12-21 宇龙计算机通信科技(深圳)有限公司 The methods, devices and systems of shielding advertising message

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100023916A1 (en) * 2007-07-31 2010-01-28 Chew Marko P Model Based Hint Generation For Lithographic Friendly Design

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262674A (en) * 2015-10-29 2016-01-20 小米科技有限责任公司 Method, apparatus, server and terminal for setting privacy authority
CN106250482A (en) * 2016-07-29 2016-12-21 宇龙计算机通信科技(深圳)有限公司 The methods, devices and systems of shielding advertising message

Also Published As

Publication number Publication date
CN107171938A (en) 2017-09-15

Similar Documents

Publication Publication Date Title
CN106453052B (en) Message interaction method and device
CN107171938B (en) Method and device for shielding social friends
CN107635074B (en) Method, apparatus and computer-readable storage medium for controlling alarm
CN105517189B (en) Method and device for realizing WIFI connection
CN108173744B (en) Information processing method and device
CN106919629B (en) Method and device for realizing information screening in group chat
RU2710662C1 (en) Method and device for displaying an application interface
CN107147815B (en) Call processing method and device based on taxi taking
CN107454204B (en) User information labeling method and device
CN109413157B (en) Message shielding method and device
CN105979062B (en) Communication event processing method and device
CN105677352B (en) Method and device for setting application icon color
CN107656616B (en) Input interface display method and device and electronic equipment
EP3163855A2 (en) Method and device for making call
CN105635414B (en) Method and device for shielding incoming call
CN107222576B (en) Photo album synchronization method and device
CN107295167B (en) Information display method and device
CN105101076B (en) Information reminding method and device
CN107885464B (en) Data storage method, device and computer readable storage medium
CN107846481B (en) Account management method and device
CN109561201B (en) Message reminding method and device
CN107357643B (en) Application calling method and device and computer readable storage medium
CN106919302B (en) Operation control method and device of mobile terminal
CN107070816B (en) Application identification method and device and mobile terminal
CN105873154B (en) Network access method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant