白丝美女被狂躁免费视频网站,500av导航大全精品,yw.193.cnc爆乳尤物未满,97se亚洲综合色区,аⅴ天堂中文在线网官网

Message right management method, device and storage medium

專利號
US10791112B2
公開日期
2020-09-29
申請人
Tencent Technology (Shenzhen) Company Limited(CN Shenzhen)
發(fā)明人
Yao Guang Chen; Bo Dong Liu
IPC分類
H04L29/06; H04L12/58; G06F21/31; G06F21/62; G06F21/41; H04W4/12
技術領域
message,user,target,right,service,client,wechat,request,logon,social
地域: Shenzhen, Guangdong

摘要

A message right management method, and a device and storage medium for implementing the method, are provided. The message right management method includes obtaining a message created by a source user, and sending a message notification to a target user in a social platform. The method further includes verifying the target user when receiving a request for logging onto a message page from the target user, and controlling logon of the target user to the message page on the basis of a verification result. The method further includes, when receiving a service request of the target user with respect to the message, determining, based on a message right control policy, whether the target user has a right corresponding to a service requested by the service request, and controlling a response to the service request according to a determining result.

說明書

CROSS REFERENCE OF RELATED APPLICATION

This application is a continuation of International Patent Application No. PCT/CN2017/085570, filed on May 23, 2017, which claims priority to Chinese Patent Application No. 201610364005.1, filed on May 27, 2016 with the State Intellectual Property Organization (SIPO), the entirety of all of which are incorporated by reference herein.

FIELD OF THE TECHNOLOGY

This application relates to the communications technologies, and in particular, to a message right management method, device and storage medium.

BACKGROUND OF THE DISCLOSURE

With the development of the mobile Internet, mobile terminals (such as mobile phones, tablet computers, and note computers) are widely used. A user installs a client for sending and receiving messages, and sends messages to a user or a group by using the client.

For example, messages are exchanged with a user in a social platform in various manners (such as cellular communications, and wireless local area network communications) by using a social application. Particularly, a message may be sent to a group (such as a multi-user session, and WeChat Moments). The message carries a text and voice to realize communication between users. In addition, the message can further realize a sharing function in the group. For example, the message may carry a shared video, a picture, and other media information. For another example, the message may include a shared webpage, or other types of information.

權利要求

1
What is claimed is:1. A message authority management method, including:obtaining a message for a target user to read, the message created by a source user;sending a message notification to the target user in a social platform;in response to sending the message notification, receiving a request to log into a message page;in response to receiving the request, verifying the target user;controlling log in of the target user to the message page based on a verification result of the verifying, wherein controlling the log in of the target user to the message page based on the verification result comprises:when the verification result represents that the target user is a legal user, allocating a user identifier for logging into the message page to a client device of the target user based on a social platform identifier of the target user, and logging into the message page by using the allocated user identifier; andwhen the verification result represents that the target user is an illegal user of the social platform, forbidding the target user to log into the message page, and sending, to the target user, a prompt that the target user does not have an authority to log into the message page;receiving a service request of the target user with respect to the message in response to the target user logging into the message page based on the verification result;when receiving the service request of the target user with respect to the message, determining, based on a message authority control policy, whether the target user has an authority corresponding to a service requested by the service request; andcontrolling a response to the service request according to a determining result.2. The method according to claim 1, further comprising:obtaining at least one of the following type of message authorities set by the source user: an authority to view the message or an authority to forward the message;obtaining the type of message authorities set by the source user and a user identifier corresponding to the type of message authorities; andwherein the type of message authorities comprises at least one of the following: a user identifier having an access authority with respect to the message, a user identifier having no access authority with respect to the message, or only the source user has the message authority with respect to the message.3. The method according to claim 1, wherein verifying the target user comprises:obtaining at least one of the following identity information of a client of the target user: a social platform identifier of the target user or a device identifier of the target user; andverifying whether the target user is a legal user in at least one of the following manners:determining, based on the social platform identifier of the target user, whether the target user is a legal user who has already registered with the social platform; ordetermining, based on the device identifier, whether the client of the target user is an identifier of a legal terminal used by the target user to log into the social platform.4. The method according to claim 1, wherein determining, based on the message authority control policy, whether the target user has the authority corresponding to the service requested by the service request comprises:obtaining, from the message authority control policy, a type of a message authority set by the source user with respect to the message, and a user identifier corresponding to a control authority of a corresponding type; anddetermining, according to the type of the message and the user identifier, whether a user identifier of the target user matches a type of the service requested by the service request.5. The method according to claim 1, wherein determining, based on the message authority control policy, whether the target user has the authority corresponding to the service requested by the service request comprises:obtaining, from the message authority control policy, a message status set by the source user with respect to the message, the message status comprising a visible state and an invisible state;when the message is in a visible state, determining that the target user has the authority corresponding to the service requested by the service request; andwhen the message is in an invisible state, determining that the target user does not have the authority corresponding to the service requested by the service request.6. The method according to claim 1, wherein determining, based on the message authority control policy, whether the target user has the authority corresponding to the service requested by the service request comprises:obtaining, from the message authority control policy, a message status set by the source user with respect to the message, the message status comprising whether the message is in a withdraw state;when the message is not set to be in a withdraw state, determining that the target user has the authority corresponding to the service requested by the service request; andwhen the message is set to be in a withdraw state, determining that the target user does not have the authority corresponding to the service requested by the service request.7. The method according to claim 1, wherein controlling the response to the service request according to the determining result comprises:when the target user has the authority corresponding to the service requested by the service request, returning data of the service requested by the service request to the target user; andwhen the target user does not have the authority corresponding to the service requested by the service request, blocking the response to the service request, and sending an illegal service request prompt to the target user.8. A server, comprising:a processor; anda memory in communication with the processor and configured to store processor-executable instructions that, when executed by the processor, cause the processor to:obtain a message for a target user to read, the message created by a source user;send a message notification to the target user in a social platform;in response to sending the message notification, receive a request to log into a message page;in response to receipt of the request, verify the target user;control log in of the target user to the message page based on a verification result of the verification;receive a service request of the target user with respect to the message in response to the target user logging into the message page based on the verification result;when receiving the service request of the target user with respect to the message, determine, based on a message authority control policy, whether the target user has an authority corresponding to a service requested by the service request by:obtaining, from the message authority control policy, a message status set by the source user with respect to the message, the message status comprising a visible state and an invisible state;when the message is in a visible state, determining that the target user has the authority corresponding to the service requested by the service request; andwhen the message is in an invisible state, determining that the target user does not have the authority corresponding to the service requested by the service request; andcontrol a response to the service request according to a determining result.9. The server according to claim 8, wherein the processor-executable instructions, when executed by the processor, further cause the processor to:obtain at least one of the following type of message authorities set by the source user: an authority to view the message or an authority to forward the message;obtain the type of message authorities set by the source user and a user identifier corresponding to the type of message authorities; andwherein the type of message authorities comprises at least one of the following: a user identifier having an access authority with respect to the message, a user identifier having no access authority with respect to the message, or only the source user has the message authority with respect to the message.10. The server according to claim 8, wherein the processor-executable instructions, when executed by the processor, causes the processor to verify the target user by:obtaining at least one of the following identity information of a client of the target user: a social platform identifier of the target user; and a device identifier of the target user; andverifying whether the target user is a legal user in at least one of the following manners:determining, based on the social platform identifier of the target user, whether the target user is a legal user who has already registered with the social platform; ordetermining, based on the device identifier, whether the client of the target user is an identifier of a legal terminal used by the target user to log into the social platform.11. The server according to claim 8, wherein the processor-executable instructions, when executed by the processor, causes the processor to control logon of the target user to the message page based on the verification result by:when the verification result represents that the target user is a legal user, allocating a user identifier for logging into the message page to a client device of the target user based on a social platform identifier of the target user, and log into the message page for the target user by using the allocated user identifier; andwhen the verification result represents that the target user is an illegal user of the social platform, forbidding the target user to log into the message page, and send, to the target user, a prompt that the target user does not have an authority to log into the message page.12. The server according to claim 8, wherein the processor-executable instructions, when executed by the processor, causes the processor to determine whether the target user has an authority corresponding to the service requested by the service request by:obtaining, from the message authority control policy, a type of a message authority set by the source user with respect to the message, and a user identifier corresponding to a control authority of a corresponding type; anddetermining, according to the type of the message and the user identifier, whether a user identifier of the target user matches a type of the service requested by the service request.13. The server according to claim 8, wherein the processor-executable instructions, when executed by the processor, causes the processor to determine whether the target user has an authority corresponding to the service requested by the service request by:obtaining, from the message authority control policy, a message status set by the source user with respect to the message, the message status comprising whether the message is in a withdraw state;when the message is not set to be in a withdraw state, determining that the target user has the authority corresponding to the service requested by the service request; andwhen the message is set to be in a withdraw state, determining that the target user does not have the authority corresponding to the service requested by the service request.14. The server according to claim 8, wherein the processor-executable instructions, when executed by the processor, causes the processor to control the response to the service request according to the determining result by:when the target user has the authority corresponding to the service requested by the service request, returning data of the service requested by the service request to the target user; andwhen the target user does not have the authority corresponding to the service requested by the service request, blocking the response to the service request, and send an illegal service request prompt to the target user.15. A product comprising:a non-transitory storage medium; andprocessor-executable instructions stored on the storage medium, the processor executable instructions configured to, when executed by a processor, cause the processor to:obtain a message for a target user to read, the message created by a source user;send a message notification to the target user in a social platform;in response to sending the message notification, receive a request to log into a message page;in response to receipt of the request, verify the target user;control log in of the target user to the message page based on a verification result of the verification;receive a service request of the target user with respect to the message in response to the target user logging into the message page based on the verification result;when receiving a service request of the target user with respect to the message, determine, based on a message authority control policy, whether the target user has an authority corresponding to a service requested by the service request by:obtaining, from the message authority control policy, a message status set by the source user with respect to the message, the message status comprising whether the message is in a withdraw state;when the message is not set to be in a withdraw state, determining that the target user has the authority corresponding to the service requested by the service request; andwhen the message is set to be in a withdraw state, determining that the target user does not have the authority corresponding to the service requested by the service request; andcontrol a response to the service request according to a determining result.16. The product according to claim 15, wherein the processor-executable instructions, when executed by the processor, further cause the processor to:obtain at least one of the following type of message authorities set by the source user: an authority to view the message or an authority to forward the message;obtain the type of message authorities set by the source user and a user identifier corresponding to the type of message authorities; andwherein the type of message authorities comprises at least one of the following: a user identifier having an access authority with respect to the message, a user identifier having no access authority with respect to the message, or only the source user has the message authority with respect to the message.17. The product according to claim 15, wherein the processor-executable instructions, when executed by the processor, causes the processor to verify the target user by:obtaining at least one of the following identity information of a client of the target user: a social platform identifier of the target user; and a device identifier of the target user; andverifying whether the target user is a legal user in at least one of the following manners:determining, based on the social platform identifier of the target user, whether the target user is a legal user who has already registered with the social platform; ordetermining, based on the device identifier, whether the client of the target user is an identifier of a legal terminal used by the target user to log into the social platform.18. The product according to claim 15, wherein the processor-executable instructions, when executed by the processor, causes the processor to control logon of the target user to the message page based on the verification result by:when the verification result represents that the target user is a legal user, allocating a user identifier for logging into the message page to a client device of the target user based on a social platform identifier of the target user, and log into the message page for the target user by using the allocated user identifier; andwhen the verification result represents that the target user is an illegal user of the social platform, forbidding the target user to log into the message page, and send, to the target user, a prompt that the target user does not have an authority to log into the message page.
微信群二維碼
意見反饋