CN110929273A - Permission setting method and electronic equipment - Google Patents

Permission setting method and electronic equipment Download PDF

Info

Publication number
CN110929273A
CN110929273A CN201911090123.8A CN201911090123A CN110929273A CN 110929273 A CN110929273 A CN 110929273A CN 201911090123 A CN201911090123 A CN 201911090123A CN 110929273 A CN110929273 A CN 110929273A
Authority
CN
China
Prior art keywords
friend
friends
information
input
viewing permission
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.)
Pending
Application number
CN201911090123.8A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911090123.8A priority Critical patent/CN110929273A/en
Publication of CN110929273A publication Critical patent/CN110929273A/en
Priority to PCT/CN2020/125778 priority patent/WO2021088755A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Bioethics (AREA)
  • Computing Systems (AREA)
  • Automation & Control Theory (AREA)
  • Software Systems (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an authority setting method and electronic equipment, wherein the method comprises the following steps: when receiving trigger input of an authority editing function aiming at published information, displaying a first editing interface, wherein the first editing interface comprises at least one friend; receiving first input of at least one friend, and determining first friend viewing permission information of published information according to the first input; and sending the first friend viewing permission information to a server so that the server adjusts the friend viewing permission of the published information. According to the method provided by the invention, the first friend viewing permission information is determined through the first input of the first editing interface, and the first friend viewing permission information is sent to the server, so that the server adjusts the friend viewing permission of the published information according to the first friend viewing permission information, the whole process of modifying the friend viewing permission of the published information is simple to operate, and the efficiency of modifying the friend viewing permission is improved.

Description

Permission setting method and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to a permission setting method and electronic equipment.
Background
With the use of social software, people increasingly like publishing information on the social software and sharing information such as work, life, study and the like. During sharing, the user may set permissions for the shared information, for example, which friends are visible, which friends are invisible, and the like. However, in the current permission setting mode, after the user finishes sending the information, if the user wants to modify the friend access permission of the information, the user needs to reset the permission and issues the information again according to the newly set friend access permission, and the whole process of adjusting the friend access permission is complex in operation and low in efficiency.
Disclosure of Invention
The embodiment of the invention provides an authority setting method and electronic equipment, and aims to solve the problems that the operation is complicated and the efficiency is low when new friend access authority is reset after information sending of existing social software is completed.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an authority setting method applied to an electronic device, including:
displaying a first editing interface when receiving trigger input of an authority editing function aiming at published information, wherein the first editing interface comprises at least one friend;
receiving first input of the at least one friend, and determining first friend viewing permission information of published information according to the first input;
and sending the first friend viewing permission information to a server so that the server adjusts the friend viewing permission of the published information.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the system comprises a first display module, a second display module and a third display module, wherein the first display module is used for displaying a first editing interface when receiving triggering input of an authority editing function aiming at published information, and the first editing interface comprises at least one friend;
the first receiving module is used for receiving first input of the at least one friend and determining first friend viewing permission information of published information according to the first input;
and the first sending module is used for sending the first friend viewing permission information to a server so that the server can adjust the friend viewing permission of the published information.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the permission setting method.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the permission setting method are implemented.
In the embodiment of the invention, when receiving the triggering input of the authority editing function aiming at the published information, a first editing interface is displayed, wherein the first editing interface comprises at least one friend; receiving first input of the at least one friend, and determining first friend viewing permission information of published information according to the first input; and sending the first friend viewing permission information to a server so that the server adjusts the friend viewing permission of the published information. Therefore, the first friend viewing permission information is determined through the first input of the first editing interface, and the first friend viewing permission information is sent to the server, so that the server adjusts the friend viewing permission of the published information according to the first friend viewing permission information, the purpose of modifying the friend viewing permission of the published information is achieved, the operation of the whole process is simple, and the efficiency of modifying the friend viewing permission is improved.
Drawings
Fig. 1 is a flowchart of a permission setting method provided in an embodiment of the present invention;
FIG. 2 is a schematic diagram of a first editing interface provided in an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a display of a prompt message according to an embodiment of the present invention;
FIG. 4 is a block diagram of an electronic device provided by an embodiment of the invention;
fig. 5 is a block diagram of an electronic device according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of an authority setting method provided in an embodiment of the present invention, and as shown in fig. 1, the embodiment provides an authority setting method applied to an electronic device, including the following steps:
step 101, when receiving a trigger input of an authority editing function for published information, displaying a first editing interface, wherein the first editing interface comprises at least one friend.
The electronic equipment enters the first editing interface through triggering input of the authority editing function of the published information, for example, an editing function key is displayed on one side of the published information of the social software, a user clicks the editing function key, and the electronic equipment displays the first editing interface. The first editing interface comprises at least one friend, and the at least one friend can be displayed on the first editing interface. The at least one buddy may be all buddies of an account logged in at the electronic device. In the embodiment of the invention, the friends of the user do not comprise the user.
In this embodiment, the friends displayed on the interface all refer to information of the friends displayed on the interface, for example, one or more of identification information of the friends, names of the friends, and images of the friends.
And 102, receiving a first input to the at least one friend, and determining first friend viewing permission information of published information according to the first input.
The first input may be a selection input, e.g. selecting a buddy of the at least one buddy, and the first input may also be a deletion input, e.g. deleting a buddy of the at least one buddy. Through the first input, the first friend viewing permission information of the published information can be determined. The first friend viewing permission information comprises permission information for viewing published information at friends of an account logged in by the electronic equipment. The first friend viewing permission information includes at least one of a first friend who can view published information and a second friend who cannot view the published information. For a first friend who can view published information, the published information is visible to the first friend; for a second buddy who may not view the published information, the published information is not visible to the second buddy.
Step 103, sending the first friend viewing permission information to a server, so that the server adjusts the friend viewing permission of the published information.
The electronic equipment sends the first friend viewing permission information to the server, and the server resets the friend viewing permission of the issued information according to the first friend viewing permission information.
If the first friend viewing permission information comprises the first friend which can view the published information, the published information is visible to the first friend and invisible to friends which do not belong to the first friend after the server adjusts the friend viewing permission of the published information according to the first friend viewing permission information.
If the first friend viewing permission information comprises a second friend which can not view published information, the published information is invisible to the second friend and is visible to friends which do not belong to the second friend after the server adjusts the friend viewing permission of the published information according to the first friend viewing permission information.
In the embodiment, the first friend viewing permission information is determined through the first input of the first editing interface, and the first friend viewing permission information is sent to the server, so that the server adjusts the friend viewing permission of the published information according to the first friend viewing permission information, the purpose of modifying the friend viewing permission of the published information is achieved, the operation of the whole process is simple, and the efficiency of modifying the friend viewing permission is improved.
Further, the first editing interface may also include at least one date, and the user selects a date of the at least one date to determine the first date, so that the first friend viewing permission information includes the first date, and the first date is set as a visible date or a non-visible date, for example, the viewing time is set for the friend viewing permission of the published information as: visible or invisible between 24 months 7 and 24 days 8 and 24 months 2019.
The first editing interface can simultaneously comprise at least one friend and at least one date, and when the user selects the at least one friend, the user can also simultaneously select the at least one date to determine the viewing permission information of the first friend. If the first friend viewing permission information comprises n friends, the first date is from 24 days in 7 months in 2019 to 24 days in 8 months in 2019, and the viewing permission of the n friends is invisible, the viewing permission of the published information determined according to the first friend viewing permission information is as follows: and in 24 days from 7 and 24 months in 2019 to 24 days from 8 and 24 months in 2019, each friend in the n friends cannot view published information, n is a natural number, and when n is 0, the viewing permission of 0 friends is invisible, namely all friends are visible.
In an embodiment of the present invention, the electronic Device may be a Mobile phone, a Tablet personal Computer (Tablet personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
According to the permission setting method, when receiving trigger input of a permission editing function aiming at published information, a first editing interface is displayed, wherein the first editing interface comprises at least one friend; receiving first input of the at least one friend, and determining first friend viewing permission information of published information according to the first input; and sending the first friend viewing permission information to a server so that the server adjusts the friend viewing permission of the published information. Therefore, the first friend viewing permission information is determined through the first input of the first editing interface, and the first friend viewing permission information is sent to the server, so that the server adjusts the friend viewing permission of the published information according to the first friend viewing permission information, the purpose of modifying the friend viewing permission of the published information is achieved, the operation of the whole process is simple, and the efficiency of modifying the friend viewing permission is improved.
Further, the at least one friend comprises a first friend set and a second friend set, wherein the first friend set comprises friends determined according to second friend permission information of the published information; the second friend set comprises friends except friends of the first friend set in friends of an account logged in by the electronic equipment, and the second friend permission information is current friend permission information of the published information;
the first input includes: at least one of a delete input to a buddy in the first buddy set and a select input to a buddy in the second buddy set;
the first friend viewing permission information comprises friend permission information of N friends, the N friends comprise at least one of the friends which are not deleted in the first friend set and the friends which are selected in the second friend set, and N is a natural number.
Specifically, the at least one friend includes a first friend set and a second friend set, the friends in the first friend set include friends determined according to the second friend permission information of the published information, the second friend set includes friends except for the friends in the first friend set in the friends in the account logged in by the electronic device, and the second friend permission information is the current friend permission information of the published information.
For example, the friends of the account a include friend a, friend B, friend C, friend D, and friend E, and if the current friend permission information of the published information of the account a includes: friends a, friends B, and friends C of the published information may be viewed, then the first friend set includes friends a, friends B, and friends C, and the second friend set includes friends D and friends E. If the current friend authority information of the published information of the account A comprises: friends a and friends B who have published information cannot be viewed, so the first friend set includes friends a and friends B, and the second friend set includes friends C, friends D, and friends E.
When the first friend set is displayed on the first editing interface, check boxes can be displayed on one side of friends of the first friend set, and all the check boxes corresponding to the friends in the first friend set are in a check state, as shown in fig. 2, when the friends in the first friend set are displayed, the friends can be displayed according to groups in which the friends are located, the groups are, for example, zhang three and lie four belong to a group of colleagues, and then zhang three and lie four are displayed in a list of labels of the colleagues. The five kings and the six Zhao belong to the group of classmates, and then the five kings and the six Zhao are displayed under the list of the labels of the classmates. The grouping labels are also provided with check boxes correspondingly, all the friends grouped correspondingly to the grouping labels can be selected by checking the check boxes of the grouping labels, or all the friends grouped correspondingly to the grouping labels can be deselected by deselecting the check boxes of the grouping labels. And if the friends in the first friend set do not belong to any group, directly displaying the friends. The user can delete the friends in the first friend set by checking the check boxes corresponding to the friends, that is, the friends included in the first friend set do not include the checked friends.
The user may also select a friend in the second friend set, and the selected friend in the second friend set may be highlighted. When a trigger input aiming at the authority editing function of the published information is initially received and the first editing interface is displayed, the second friend set is in a retracted state, and a user can click the "+" icon in fig. 3 to enable the first editing interface to display friends in the second friend set, and meanwhile, friends in the first friend set can also be displayed, but friends belonging to the first friend set need to be displayed in an unselectable mode. The display modes of the first friend set and the second friend set are only examples, and the embodiments of the present invention are not limited thereto.
Further, the N friends have the same viewing permissions as the friends in the first friend set. And if the viewing permission of the friends in the first friend set is invisible, the viewing permission of each friend in the N friends is invisible. And if the viewing permission of the friends in the first friend set is visible, the viewing permission of each friend in the N friends is also visible.
Further, after the determining the first friend viewing permission information of the published information according to the first input, the method further includes:
if the second input is detected, displaying whether to save prompt information of the first friend viewing permission information;
and if the third input aiming at the prompt message is detected, sending request information for saving the viewing permission information of the first friend to a server so that the server saves the viewing permission information of the first friend.
Specifically, the second input and the third input may be click input, slide input, voice input, or the like. As shown in fig. 3, after the first friend viewing right information of the published information is re-determined, if the user does not click "complete" but directly returns (i.e. detects a second input), the prompt information is displayed. The prompt information is used for prompting the user whether to store the edited first friend viewing permission information, and the prompt information comprises two options: the method comprises the steps of saving and not saving, if a user clicks the saving, the electronic equipment sends request information for saving the viewing permission information of the first friend to a server, and the server saves the viewing permission information of the first friend after receiving the viewing permission information of the first friend. At this time, the friend view authority of the published information is not changed. And when the user edits the authority information of the published information again, loading the authority information according to the first friend viewing authority information. And if the user clicks 'no storage', the first friend viewing permission information is not stored, and the electronic equipment does not need to send the first friend viewing permission information to the server.
In this embodiment, the electronic device may not submit the first friend viewing permission information, but only store the first friend viewing permission information, and at this time, the friend viewing permission of the published information is not changed. The user can edit the friend viewing permission of the published information based on the first friend viewing permission information again, and the editing efficiency is improved.
Further, after the sending the request information for saving the viewing permission information of the first friend to the server, the method further includes:
if the fourth input is detected, displaying a second editing interface;
the second editing interface comprises a third friend set and a fourth friend set; the third friend set comprises the N friends, and the fourth friend set comprises friends except the N friends in an account logged in by the electronic equipment;
receiving a fifth input to the second editing interface, and determining third friend viewing permission information of the published information in response to the fifth input;
the fifth input comprises: at least one of a delete input to a friend in the third friend set and a select input to a friend in the fourth friend set; the third friend viewing permission information comprises friend permission information of M friends, the M friends comprise at least one of the friends which are not deleted in the third friend set and the friends which are selected in the fourth friend set, and M is a natural number;
and sending the third friend viewing permission information to a server so that the server adjusts the friend viewing permission of the published information.
Specifically, the fourth input is an input for opening the second editing interface, and the fourth input may be a click input, a slide input, a voice input, or the like. And when the electronic equipment detects the fourth input, displaying a second editing interface. The second editing interface is different from the first editing interface in that information loaded according to the friend viewing permission information which is effective according to the published information is displayed in the first editing interface, and information loaded according to the friend viewing permission information which is edited last time according to the published information and is not effective is displayed in the second editing interface.
The second editing interface includes a third set of friends and a fourth set of friends. The third friend set comprises N friends, and the N friends are friends determined when the friend viewing right is set for published information last time by the user. The fourth friend set comprises friends except the N friends in friends of an account logged in by the electronic equipment.
After the second editing interface is displayed, the user can edit the third friend set and the fourth friend set in the editing interface through a fifth input. Namely, the fifth input includes: at least one of a delete input to a friend in the third friend set and a select input to a friend in the fourth friend set. The third friend viewing permission information includes M friends. The fifth input may be a click input, a slide input, or a voice input, etc.
After determining the third friend viewing permission information, the electronic equipment sends the third friend viewing permission information to the server, and the server adjusts the friend viewing permission of the published information according to the third friend viewing permission information. Namely, the viewing authority of the M friends to the published information is adjusted to be visible or invisible. The viewing permission of the M friends for the published information is consistent with the viewing permission of the friends of the first friend set. If the permission of the friends of the first friend set for viewing the published information is visible, the permission of the M friends for viewing the published information is also visible;
and if the viewing permission of the friends in the first friend set is invisible, the viewing permission of each friend in the N friends is invisible. And if the viewing permission of the friends in the first friend set is visible, the viewing permission of each friend in the M friends is also visible.
If the third friend viewing permission information comprises the first friend which can view the published information, the published information is visible to the first friend and invisible to friends which do not belong to the first friend after the server adjusts the friend viewing permission of the published information according to the first friend viewing permission information.
If the third friend viewing permission information comprises the second friend who cannot view the published information, the published information is invisible to the second friend and is visible to the friends who do not belong to the second friend after the server adjusts the friend viewing permission of the published information according to the first friend viewing permission information.
According to the permission setting method, the third friend viewing permission information is determined through the fifth input of the second editing interface, and the third friend viewing permission information is sent to the server, so that the server adjusts the friend viewing permission of the published information according to the third friend viewing permission information, the purpose of modifying the friend viewing permission of the published information is achieved, the operation of the whole process is simple, and the efficiency of modifying the friend viewing permission is improved.
Referring to fig. 4, fig. 4 is a block diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 4, the electronic device 400 includes:
the first display module 401 is configured to display a first editing interface when receiving a trigger input of an authority editing function for published information, where the first editing interface includes at least one friend;
a first receiving module 402, configured to receive a first input to the at least one buddy, and determine, according to the first input, first buddy viewing permission information of published information;
a first sending module 403, configured to send the first friend viewing permission information to a server, so that the server adjusts the friend viewing permission of the published information.
Further, the at least one buddy comprises a first buddy set and the second buddy set;
the first friend set comprises friends determined according to second friend permission information of the published information; the second friend set comprises friends except friends of the first friend set in friends of an account logged in by the electronic equipment;
the second friend permission information is the current friend permission information of the issued information;
the first input includes: at least one of a delete input to a buddy in the first buddy set and a select input to a buddy in the second buddy set;
the first friend viewing permission information comprises friend permission information of N friends, the N friends comprise at least one of the friends which are not deleted in the first friend set and the friends which are selected in the second friend set, and N is a natural number.
Further, the N friends have the same viewing permissions as the friends in the first friend set.
Further, the electronic device 400 further includes:
the second display module is used for displaying whether prompt information of the first friend viewing permission information is stored or not if second input is detected;
and the second sending module is used for sending request information for saving the first friend viewing permission information to a server if third input aiming at the prompt information is detected, so that the server saves the first friend viewing permission information.
Further, the electronic device 400 further includes:
the third display module is used for displaying a second editing interface if the fourth input is detected; the second editing interface comprises a third friend set and a fourth friend set; the third friend set comprises the N friends, and the fourth friend set comprises friends except the N friends in an account logged in by the electronic equipment;
the second receiving module is used for receiving a fifth input to the second editing interface, responding to the fifth input and determining third friend viewing permission information of the published information; the fifth input comprises: at least one of a delete input to a friend in the third friend set and a select input to a friend in the fourth friend set; the third friend viewing permission information comprises friend permission information of M friends, the M friends comprise at least one of the friends which are not deleted in the third friend set and the friends which are selected in the fourth friend set, and M is a natural number;
and the third sending module is used for sending the third friend viewing permission information to a server so that the server can adjust the friend viewing permission of the published information.
The electronic device 400 can implement the processes implemented by the electronic device in the embodiment of the method in fig. 1, and in order to avoid repetition, the details are not described here.
The electronic device 400 of the embodiment of the present invention displays a first editing interface when receiving a trigger input of an authority editing function for published information, where the first editing interface includes at least one friend; receiving first input of the at least one friend, and determining first friend viewing permission information of published information according to the first input; and sending the first friend viewing permission information to a server so that the server adjusts the friend viewing permission of the published information, thus determining the first friend viewing permission information through a first input to a first editing interface, and sending the first friend viewing permission information to the server so that the server adjusts the friend viewing permission of the published information according to the first friend viewing permission information, thereby achieving the purpose of modifying the friend viewing permission of the published information, and the whole process is simple in operation, and the efficiency of modifying the friend viewing permission is improved.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, and as shown in fig. 5, the electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 510 is configured to display a first editing interface when receiving a trigger input of a permission editing function for published information, where the first editing interface includes at least one friend;
receiving first input of the at least one friend, and determining first friend viewing permission information of published information according to the first input;
and sending the first friend viewing permission information to a server so that the server adjusts the friend viewing permission of the published information.
Further, the at least one buddy comprises a first buddy set and the second buddy set;
the first friend set comprises friends determined according to second friend permission information of the published information; the second friend set comprises friends except friends of the first friend set in friends of an account logged in by the electronic equipment;
the second friend permission information is the current friend permission information of the issued information;
the first input includes: at least one of a delete input to a buddy in the first buddy set and a select input to a buddy in the second buddy set;
the first friend viewing permission information comprises friend permission information of N friends, the N friends comprise at least one of the friends which are not deleted in the first friend set and the friends which are selected in the second friend set, and N is a natural number.
Further, the N friends have the same viewing permissions as the friends in the first friend set.
Further, processor 510 is further configured to:
if the second input is detected, displaying whether to save prompt information of the first friend viewing permission information;
and if the third input aiming at the prompt message is detected, sending request information for saving the viewing permission information of the first friend to a server so that the server saves the viewing permission information of the first friend.
Further, processor 510 is further configured to:
if the fourth input is detected, displaying a second editing interface; the second editing interface comprises a third friend set and a fourth friend set; the third friend set comprises the N friends, and the fourth friend set comprises friends except the N friends in an account logged in by the electronic equipment;
receiving a fifth input to the second editing interface, and determining third friend viewing permission information of the published information in response to the fifth input; the fifth input comprises: at least one of a delete input to a friend in the third friend set and a select input to a friend in the fourth friend set; the third friend viewing permission information comprises friend permission information of M friends, the M friends comprise at least one of the friends which are not deleted in the third friend set and the friends which are selected in the fourth friend set, and M is a natural number;
and sending the third friend viewing permission information to a server so that the server adjusts the friend viewing permission of the published information.
The electronic device 500 can implement the processes implemented by the electronic device in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
The electronic device 500 of the embodiment of the present invention displays a first editing interface when receiving a trigger input of an authority editing function for published information, where the first editing interface includes at least one friend; receiving first input of the at least one friend, and determining first friend viewing permission information of published information according to the first input; and sending the first friend viewing permission information to a server so that the server adjusts the friend viewing permission of the published information. Therefore, the first friend viewing permission information is determined through the first input of the first editing interface, and the first friend viewing permission information is sent to the server, so that the server adjusts the friend viewing permission of the published information according to the first friend viewing permission information, the purpose of modifying the friend viewing permission of the published information is achieved, the operation of the whole process is simple, and the efficiency of modifying the friend viewing permission is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the above-mentioned permission setting method embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the permission setting method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. An authority setting method is applied to electronic equipment and is characterized by comprising the following steps:
displaying a first editing interface when receiving trigger input of an authority editing function aiming at published information, wherein the first editing interface comprises at least one friend;
receiving first input of the at least one friend, and determining first friend viewing permission information of published information according to the first input;
and sending the first friend viewing permission information to a server so that the server adjusts the friend viewing permission of the published information.
2. The method of claim 1, wherein the at least one buddy comprises a first buddy set and a second buddy set;
the first friend set comprises friends determined according to second friend permission information of the published information; the second friend set comprises friends except friends of the first friend set in friends of an account logged in by the electronic equipment;
the second friend permission information is the current friend permission information of the issued information;
the first input includes: at least one of a delete input to a buddy in the first buddy set and a select input to a buddy in the second buddy set;
the first friend viewing permission information comprises friend permission information of N friends, the N friends comprise at least one of the friends which are not deleted in the first friend set and the friends which are selected in the second friend set, and N is a natural number.
3. The method of claim 2, wherein the N buddies have the same viewing permissions as buddies in the first buddy set.
4. The method of claim 2, after determining the first friend viewing permission information of published information according to the first input, further comprising:
if the second input is detected, displaying whether to save prompt information of the first friend viewing permission information;
and if the third input aiming at the prompt message is detected, sending request information for saving the viewing permission information of the first friend to the server so that the server saves the viewing permission information of the first friend.
5. The method of claim 4, further comprising, after the sending the request information for saving the viewing permission information of the first friend to the server:
if the fourth input is detected, displaying a second editing interface; the second editing interface comprises a third friend set and a fourth friend set; the third friend set comprises the N friends, and the fourth friend set comprises friends except the N friends in an account logged in by the electronic equipment;
receiving a fifth input to the second editing interface, and determining third friend viewing permission information of the published information in response to the fifth input; the fifth input comprises: at least one of a delete input to a friend in the third friend set and a select input to a friend in the fourth friend set; the third friend viewing permission information comprises friend permission information of M friends, the M friends comprise at least one of the friends which are not deleted in the third friend set and the friends which are selected in the fourth friend set, and M is a natural number;
and sending the third friend viewing permission information to the server so that the server adjusts the friend viewing permission of the published information.
6. An electronic device, comprising:
the system comprises a first display module, a second display module and a third display module, wherein the first display module is used for displaying a first editing interface when receiving triggering input of an authority editing function aiming at published information, and the first editing interface comprises at least one friend;
the first receiving module is used for receiving first input of the at least one friend and determining first friend viewing permission information of published information according to the first input;
and the first sending module is used for sending the first friend viewing permission information to a server so that the server can adjust the friend viewing permission of the published information.
7. The electronic device of claim 6, wherein the at least one buddy comprises a first buddy set and a second buddy set;
the first friend set comprises friends determined according to second friend permission information of the published information; the second friend set comprises friends except friends of the first friend set in friends of an account logged in by the electronic equipment;
the second friend permission information is the current friend permission information of the issued information;
the first input includes: at least one of a delete input to a buddy in the first buddy set and a select input to a buddy in the second buddy set;
the first friend viewing permission information comprises friend permission information of N friends, the N friends comprise at least one of the friends which are not deleted in the first friend set and the friends which are selected in the second friend set, and N is a natural number.
8. The electronic device of claim 7, wherein the N buddies have the same viewing permissions as buddies in the first buddy set.
9. The electronic device of claim 7, further comprising:
the second display module is used for displaying whether prompt information of the first friend viewing permission information is stored or not if second input is detected;
and the second sending module is used for sending request information for saving the first friend viewing permission information to a server if third input aiming at the prompt information is detected, so that the server saves the first friend viewing permission information.
10. The electronic device of claim 9, further comprising:
the third display module is used for displaying a second editing interface if the fourth input is detected; the second editing interface comprises a third friend set and a fourth friend set; the third friend set comprises the N friends, and the fourth friend set comprises friends except the N friends in an account logged in by the electronic equipment;
the second receiving module is used for receiving a fifth input to the second editing interface, responding to the fifth input and determining third friend viewing permission information of the published information; the fifth input comprises: at least one of a delete input to a friend in the third friend set and a select input to a friend in the fourth friend set; the third friend viewing permission information comprises friend permission information of M friends, the M friends comprise at least one of the friends which are not deleted in the third friend set and the friends which are selected in the fourth friend set, and M is a natural number;
and the third sending module is used for sending the third friend viewing permission information to the server so that the server can adjust the friend viewing permission of the published information.
11. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the rights setting method as claimed in any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the rights setting method as claimed in any one of claims 1 to 5.
CN201911090123.8A 2019-11-08 2019-11-08 Permission setting method and electronic equipment Pending CN110929273A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911090123.8A CN110929273A (en) 2019-11-08 2019-11-08 Permission setting method and electronic equipment
PCT/CN2020/125778 WO2021088755A1 (en) 2019-11-08 2020-11-02 Permission setting method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911090123.8A CN110929273A (en) 2019-11-08 2019-11-08 Permission setting method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110929273A true CN110929273A (en) 2020-03-27

Family

ID=69853620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911090123.8A Pending CN110929273A (en) 2019-11-08 2019-11-08 Permission setting method and electronic equipment

Country Status (2)

Country Link
CN (1) CN110929273A (en)
WO (1) WO2021088755A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112783592A (en) * 2021-01-27 2021-05-11 维沃移动通信有限公司 Information issuing method, device, equipment and storage medium
WO2021088755A1 (en) * 2019-11-08 2021-05-14 维沃移动通信有限公司 Permission setting method and electronic device
CN115248933A (en) * 2021-04-26 2022-10-28 北京字跳网络技术有限公司 Authority setting method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150186660A1 (en) * 2012-06-14 2015-07-02 Google Inc. Enabling user privacy for changes of access to shared content
CN105262674A (en) * 2015-10-29 2016-01-20 小米科技有限责任公司 Method, apparatus, server and terminal for setting privacy authority
CN105989303A (en) * 2015-03-04 2016-10-05 阿里巴巴集团控股有限公司 Permission setting method and device
CN108600082A (en) * 2018-03-29 2018-09-28 上海掌门科技有限公司 Circle of friends information displaying method, computer equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838469B (en) * 2012-11-23 2017-12-12 腾讯科技(深圳)有限公司 The displaying control method and system of buddy list
CN104301315A (en) * 2014-09-30 2015-01-21 腾讯科技(深圳)有限公司 Method and device for limiting information access
CN109600303B (en) * 2018-12-04 2021-08-17 北京小米移动软件有限公司 Content sharing method and device and storage medium
CN110929273A (en) * 2019-11-08 2020-03-27 维沃移动通信有限公司 Permission setting method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150186660A1 (en) * 2012-06-14 2015-07-02 Google Inc. Enabling user privacy for changes of access to shared content
CN105989303A (en) * 2015-03-04 2016-10-05 阿里巴巴集团控股有限公司 Permission setting method and device
CN105262674A (en) * 2015-10-29 2016-01-20 小米科技有限责任公司 Method, apparatus, server and terminal for setting privacy authority
CN108600082A (en) * 2018-03-29 2018-09-28 上海掌门科技有限公司 Circle of friends information displaying method, computer equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
专题: "微信朋友圈怎么设置分组可见?微信朋友圈设置分组可见的方法", 《HTTP://WWW.UZZF.COM/NEWS/27262.HTML》 *
小越子: "新浪微博怎么设置查看访问权限", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/00A07F3840413B82D028DCC1.HTML》 *
张一春等: "《精品网络课程设计与开发》", 31 October 2008 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021088755A1 (en) * 2019-11-08 2021-05-14 维沃移动通信有限公司 Permission setting method and electronic device
CN112783592A (en) * 2021-01-27 2021-05-11 维沃移动通信有限公司 Information issuing method, device, equipment and storage medium
CN112783592B (en) * 2021-01-27 2024-03-08 维沃移动通信有限公司 Information issuing method, device, equipment and storage medium
CN115248933A (en) * 2021-04-26 2022-10-28 北京字跳网络技术有限公司 Authority setting method, device, equipment and medium
CN115248933B (en) * 2021-04-26 2024-06-11 北京字跳网络技术有限公司 Authority setting method, device, equipment and medium

Also Published As

Publication number Publication date
WO2021088755A1 (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN110995923B (en) Screen projection control method and electronic equipment
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN108234289B (en) Message display method and device and mobile terminal
CN109194818B (en) Information processing method and terminal
CN110768805B (en) Group message display method and electronic equipment
CN110196667B (en) Notification message processing method and terminal
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN111130989B (en) Information display and sending method and electronic equipment
EP3699743B1 (en) Image viewing method and mobile terminal
CN110308834B (en) Setting method of application icon display mode and terminal
CN109412932B (en) Screen capturing method and terminal
CN109189303B (en) Text editing method and mobile terminal
CN109271262B (en) Display method and terminal
CN108920040B (en) Application icon sorting method and mobile terminal
WO2021088755A1 (en) Permission setting method and electronic device
CN111124706A (en) Application program sharing method and electronic equipment
CN111459362A (en) Information display method, information display device, electronic apparatus, and storage medium
CN110752981A (en) Information control method and electronic equipment
CN111610903A (en) Information display method and electronic equipment
CN111163449B (en) Application sharing method, first electronic device and computer-readable storage medium
CN111562959A (en) Icon management method and electronic equipment
CN109491964B (en) File sharing method and terminal
CN111061446A (en) Display method and electronic equipment
CN111163227B (en) Sharing method and electronic equipment
CN110213437B (en) Editing method and mobile terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200327