WO2020125382A1 - 信息展示方法、装置和电子设备 - Google Patents

信息展示方法、装置和电子设备 Download PDF

Info

Publication number
WO2020125382A1
WO2020125382A1 PCT/CN2019/122111 CN2019122111W WO2020125382A1 WO 2020125382 A1 WO2020125382 A1 WO 2020125382A1 CN 2019122111 W CN2019122111 W CN 2019122111W WO 2020125382 A1 WO2020125382 A1 WO 2020125382A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
identity
client
target
logged
Prior art date
Application number
PCT/CN2019/122111
Other languages
English (en)
French (fr)
Inventor
王冠
Original Assignee
北京字节跳动网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2020125382A1 publication Critical patent/WO2020125382A1/zh

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/30Authentication, i.e. establishing the identity or authorisation of security principals

Definitions

  • the present disclosure relates to the field of information processing technology, and in particular, to an information display method, device, and electronic equipment.
  • live video broadcasting is becoming more and more popular.
  • users in the live broadcast room can make comments during the viewing process.
  • some users generally speak illegally and abuse the anchor. , Disrupting the order of the live broadcast room, so it is particularly important to manage the users in the live broadcast room.
  • the user is managed by the anchor himself or by the operators of the live broadcast platform, but these two management methods have the problems of low management efficiency and untimely management.
  • An aspect of the present disclosure proposes an information display method, including:
  • the client When the client detects the target operation performed by the login user of the client on the target user, the client obtains the identity of the target user and the identity of the login user of the client;
  • the client determines the operation authority of the login user based on the identity of the target user and the identity of the login user;
  • the client displays information to the target user.
  • the identity is divided into at least two levels, and the client determines the operation authority of the login user according to the identity of the target user and the identity of the login user, including:
  • the client compares the hierarchical relationship between the identity of the target user and the identity of the logged-in user;
  • the identity level of the target user is higher than or equal to the identity level of the logged-in user, it is determined that the operation authority of the logged-in user does not include management authority;
  • the first type of management authority included in the operation authority is determined according to the identity of the target user and the identity of the logged-in user.
  • the at least two levels include: anchor or super administrator; ordinary administrator; and ordinary user;
  • the level of the anchor is equal to the level of the super administrator; the level of the super administrator is higher than the level of the ordinary administrator; the level of the ordinary administrator is higher than the level of the ordinary user.
  • the first type of management authority includes one or more of the following: identity setting, mute setting, and whether to allow entry into the live broadcast room for the target user.
  • the client determines the operation authority of the login user according to the identity of the target user and the identity of the login user, and further includes:
  • the operation authority possessed by the user is determined from the second type of management authority according to the identity of the same user.
  • the second type of management authority includes one or more of the following: identity setting, mute setting, and whether to enter the live broadcasting room for each user who enters the live broadcasting room.
  • the client displaying information to the target user includes:
  • the client obtains user description information of the target user.
  • the client displays the user description information of the target user on a video playback interface; wherein, a contraction control is displayed in the display area of the user description information; wherein, the contraction control is used to respond to user operations, Show or hide the management control corresponding to the operation authority.
  • the client acquiring the identity of the target user, and acquiring the identity of the client login user include:
  • the client accesses the server to obtain the identity of the target user
  • the client queries the identity of the logged-in user obtained in advance.
  • the information display method further includes: before the client queries the identity of the logged-in user obtained in advance,
  • the client periodically accesses the server to query the identity of the logged-in user;
  • the client accesses the server to query to obtain the identity of the logged-in user;
  • the client accesses the server to query to obtain the identity of the logged-in user.
  • an information display device including:
  • the obtaining module is configured to obtain the identity of the target user and the identity of the logged-in user when detecting the target operation performed by the logged-in user of the client on the target user;
  • a determination module configured to determine the operation authority of the login user based on the identity of the target user and the identity of the login user;
  • the display module is configured to display information to the target user according to the operation authority.
  • Another aspect of the present disclosure proposes an electronic device, including
  • At least one processor and, a memory communicatively connected to the at least one processor;
  • the memory stores instructions executable by the at least one processor, and the instructions are configured to execute the information presentation method described in the above aspect.
  • Yet another aspect of the present disclosure proposes a computer-readable storage medium that stores computer-readable instructions for causing a computer to perform the information display method described in the preceding aspect .
  • the client when the client detects the target operation performed on the target user, the client obtains the identity of the target user and the identity of the client login user, and the client determines the login user according to the identity of the target user and the identity of the login user According to the operation authority, the client displays information to the target user.
  • the operation authority is issued to the user, and the operation authority of the login user is determined by comparing the identity of the login user with the identity of the target user. And according to the operation authority to display information to target users, improve user management efficiency, maintain a good network order and atmosphere in a timely and efficient manner.
  • FIG. 1 is a schematic flowchart of an information display method provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of another information display method provided by an embodiment of the present disclosure.
  • FIG 3 is one of the schematic diagrams showing the video playback interface provided by the embodiment of the present disclosure.
  • FIG. 4 is a second schematic diagram showing a video playback interface provided by an embodiment of the present disclosure.
  • FIG. 5 is a third schematic diagram showing the video playback interface provided by the embodiment of the present disclosure.
  • FIG. 6 is a schematic flowchart of still another method for displaying information provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of an information display device provided by an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a computer-readable storage medium provided by an embodiment of the present disclosure.
  • FIG. 1 is a schematic flowchart of an information display method provided by an embodiment of the present disclosure.
  • the method may include the following steps:
  • Step 101 When the client detects the target operation performed on the target user, the client obtains the identity of the target user and the identity of the user logged in by the client.
  • the client detects the target operation performed on the target user, and as a possible implementation, obtains a user list, where the users in the user list may be users who access the live broadcast room, for example, in the live broadcast room Users who commented on the live interface.
  • the user list shows the user name used to uniquely indicate the user.
  • the client detects a user in the user list who is performing the target operation, the user is determined as the target user, where the target user is the user to be managed ;
  • the client accesses the server according to the determined target user to obtain the identity of the target user, and queries the identity of the logged-in user obtained in advance.
  • the client before the client queries the identity of the login user obtained in advance, the client has acquired the identity of the login user in advance.
  • the client periodically visits the server to query the identity of the login user
  • the client when the client detects an operation used to enter the live broadcast room, it accesses the server to query the identity of the logged-in user; as yet another possible implementation, the client detects When displaying the target operation of user description information, visit the server to query the identity of the logged-in user.
  • Step 102 The client determines the operation authority of the login user according to the identity of the target user and the identity of the login user.
  • the user identity can be divided into at least two levels.
  • the target user's identity level and the login user's identity level are identified according to the preset identity level, and the target user's identity level is compared The hierarchical relationship with the identity level of the logged-in user.
  • the target user's identity level is higher than or equal to the logged-in user's identity level, it is determined that the logged-in user's operation authority does not include management authority, which means that the logged-in user cannot execute the target user Any operation, for example, if the logged-in user is a normal user and the target user is an administrator user, the normal user does not have any administrative rights; if the target user’s identity level is lower than the logged-in user’s identity level, according to the target user’s identity and the logged-in user’s Identity, determine that the login user’s operation authority includes the corresponding first-type management authority, where the first-type management authority includes: one or more combinations of identity setting, mute setting and whether to allow access to the live broadcast room for the target user ,
  • the management authority is determined from the following second-type management authority, where the second Class management rights include: one or more combinations of identity setting, mute setting and whether to allow access to the live broadcasting room for each user who enters the live broadcasting room.
  • Step 103 According to the operation authority, the client displays information to the target user.
  • the client terminal obtains the user description information of the target user, and displays the user description information of the target user on the video playback interface, wherein the expansion control is displayed in the display area of the user description information, and the expansion control is used to respond For user operation, display or hide the management control corresponding to the operation authority.
  • the client when the client detects the target operation performed on the target user, the client obtains the identity of the target user and the identity of the client's login user.
  • the client uses the target user's identity and login user
  • the identity of the user is determined, and the operation authority of the logged-in user is determined.
  • the client displays information to the target user.
  • the operation authority is issued to the user in the live broadcast room, and the identity of the logged-in user is compared with the target user by comparing The identity of the user, determine the operation authority of the logged-in user, and display information to the target user according to the operation authority, which improves the efficiency of user management and maintains a good network order and atmosphere in a timely and efficient manner.
  • FIG. 2 is a schematic flowchart of another information display method provided by an embodiment of the present disclosure. Taking a live broadcast scenario as an example, it further explains how to The level of identity determines the operation authority of the logged-in user.
  • the specific method may include the following sub-steps:
  • step 201 the client determines whether the target user and the logged-in user are the same user according to the acquired identities of the target user and the logged-in user. If so, step 202 is performed, and if not, step 203 is performed.
  • a user can generally set four identity levels, namely, anchor, super administrator, ordinary administrator, and ordinary user.
  • the identity hierarchy of different users and whether users with different identities include management rights, the following relationship table is established, as shown in Table 1 below.
  • the user A contains the management rights of the user B.
  • the user A is super
  • the user B is an ordinary administrator
  • the user A contains the management rights of the user B, such as mute settings, kickout settings, and identity settings.
  • both the super administrator and the anchor include the management rights of ordinary users, such as mute settings, kickout settings, and identity settings.
  • setting the identity of ordinary users means that the identity of ordinary users can be set to ordinary
  • the administrator can also revoke the user identity of the ordinary administrator and downgrade to the ordinary user identity.
  • the super administrator can be set by the operating background of the live broadcast application. Therefore, only the management personnel of the operating background have the administrative rights of the super administrator.
  • this implementation There is no limitation in the example.
  • super administrators and ordinary administrators have special logos in the live broadcast room to quickly identify the identity of super administrators and administrators.
  • the division of the identity hierarchy is only an example, and the management of users between different identities
  • the authority is also only an example, and those skilled in the art can set and divide the identity hierarchy according to the requirements in the actual scenario, which is not limited in this embodiment.
  • the target user and the logged-in user it is first determined whether the target user and the logged-in user are the same user.
  • the user's user name or nickname is unique Identify the user's logo, and compare the user's username or nickname to identify whether the target user and the logged-in user are the same user. If they are the same user, perform step 202. If they are not the same user, perform step 203. The following steps Will be introduced in detail.
  • Step 202 determine the operation authority from the second category of management authority.
  • the client recognizes that the acquired target user's identity and the logged-in user's identity are the same user's identity, then according to the identity of the same user, determine the operation authority from the second type of management authority.
  • the second type of management authority includes: one or more combinations of identity setting, mute setting and whether to allow access to the live broadcasting room for each user who enters the live broadcasting room.
  • the identity of the logged-in user is a super administrator, and the super administrator clicks on his avatar or clicks on his nickname in the comments, it is determined that the identity of the target user and the logged-in user are both super administrators, and the video playback interface
  • the lower part shows the user information of the super administrator
  • the operation permissions determined by the super administrator from the second type of management authority include: setting the identity of each user who enters the live broadcast room, setting the ban, and whether to allow access to the live broadcast room.
  • FIG. 3 is one of the display schematic diagrams of the video playback interface provided by the embodiment of the present disclosure.
  • the operation authority of the super administrator includes: The user sets identity settings, banned settings, and whether to allow access to the live broadcast room, and displays on the video playback interface the management controls corresponding to the operation permissions included by the super administrator: administrator list, banned list, and kickout list.
  • Step 203 The client compares the hierarchical relationship between the identity of the target user and the identity of the logged-in user, and compares whether the identity level of the target user is higher than or equal to the identity level of the logged-in user.
  • the client can query the pre-established hierarchical relationship table between each identity user, and compare the target user's identity level with the logged-in user's identity level At the same time, the hierarchical relationship is different, and the management authority is different. If the identity level of the target user is higher than or equal to the identity level of the logged-in user, step 205 is executed, otherwise step 206 is executed.
  • step 205 it is determined that the operation authority of the logged-in user does not include management authority.
  • the identity level of the target user is higher than or equal to the identity level of the logged-in user, it is determined that the operation authority of the logged-in user does not include management authority, which means that users with a lower identity level cannot perform operations on users with a higher identity level management.
  • the target user is an ordinary administrator user
  • the logged-in user is an ordinary user
  • the logged-in ordinary user does not include management authority, and the ordinary administrator user cannot be managed.
  • Step 206 According to the identity of the target user and the identity of the logged-in user, it is determined that the operation authority includes the corresponding first-type management authority.
  • the operation authority includes the corresponding first-type management authority according to the identity of the target user and the identity of the logged-in user.
  • the first type of management authority includes: one or more combinations of identity setting, mute setting and whether to allow access to the live broadcast room for the target user.
  • FIG. 4 is a second schematic diagram showing the video playback interface provided by an embodiment of the present disclosure.
  • the operation authority of the anchor includes : Set the target user's identity settings, mute settings, and whether to allow access to the live broadcast room, and display the management controls corresponding to the operation rights included by the host on the video playback interface, as shown in the thick dashed box in Figure 4: Set to management Player, mute and kick.
  • FIG. 5 is a third schematic diagram showing the video playback interface provided by the embodiment of the present disclosure.
  • the ordinary administrator can be determined
  • the operation permissions include: mute settings and whether to allow access to the live broadcast room, and display the management controls corresponding to the operation permissions included by the host on the video playback interface: mute and kick out.
  • management control corresponding to the operation authority shown in FIGS. 3 to 5 is not always displayed in the display area of the video playback interface, but the management control corresponding to the operation authority is displayed along with the display of the contraction control, and As the extension control is hidden, the management control corresponding to the operation authority is not displayed, and this will be described in detail in the next embodiment.
  • the operation authority of the logged-in user is determined by comparing the identity level of the logged-in user with the identity level of the target user. It is sent to the logged-in users who enter the live broadcast room, and the target user is managed according to the login user's operation authority, which improves the effectiveness and timeliness of the live broadcast room management, and effectively maintains a good live broadcast environment in the live broadcast room.
  • FIG. 6 is a schematic flowchart of another information display method provided by an embodiment of the present disclosure. Taking a live broadcast scenario as an example, the description In the information display area of the user's description information, an expansion control is set to display or hide the management control corresponding to the operation authority, thereby realizing the beauty of the interface display.
  • step 103 may further include the following sub-steps:
  • step 601 the client obtains the user description information of the target user.
  • the client accesses the server to obtain the user description information of the target user.
  • step 602 the client terminal displays the user description information of the target user on the video playback interface, wherein the expansion control is displayed in the display area of the user description information.
  • the target user refers to a user who needs to perform related management operations, and the target user is also a user who watches a video.
  • the client obtains the user description information of the target user by accessing the server, and displays the user card information of the target user on the video playback interface.
  • the user card information includes the user's avatar, follow button, and user description information, where, The user description information includes: user name, video information, fan information, etc.
  • the expansion control corresponding to the management control is displayed. After the expansion control is expanded, the management control is displayed. Hide management controls.
  • the lower part of the figure is the display area of the user description information of the target user to be managed, where the user description information displayed, for example, user name, user signature, video information and fan information, etc.
  • the description information for the user in FIG. 4 is only an example, and the description information may also include the user's age, attention information, hobbies, and so on.
  • a zoom control as shown in the rectangular frame on the right side of the attention information in FIG. 4 is displayed.
  • Step 603 In response to the user operation performed on the expanded control, display the management control corresponding to the operation authority in a fade-in manner.
  • the contraction control in response to a user operation performed on the contraction control, such as a click operation or a sliding operation, the contraction control is expanded, and the management control in the contraction control is set to a display state, by gradually reducing the transparency of the management control until the transparency is reached Lower limit, to achieve the display of management controls.
  • the area under the expanded control that is, the area indicated by the thick dotted frame in the figure, is the management control displayed in a fade-in manner.
  • Step 604 In the process of displaying the management control corresponding to the operation authority in a fade-in manner, the user description information overlapping with the management control is moved down.
  • the user description information overlapping with the management control is moved down to reduce the overlap of the management control and the user description information, so that the user description is displayed simultaneously on the same display interface
  • Information and management controls do not affect the aesthetics of the interface, nor will they interrupt the user’s live video viewing.
  • Comparing the right image in FIG. 4 and the left image in FIG. 4 shows that after the management control is displayed in the display area of the user description information in a fade-in manner, the user description information moves down, as indicated by the thin dotted frame in the right image.
  • the management control displayed in the thick dashed frame there is no overlap between the management control displayed in the thick dashed frame and the user description information displayed in the lower thin dashed frame, which reduces the overlap of the management control and user description information and improves the display aesthetics.
  • Step 605 In response to the user operation performed again on the contraction control, hide the management control corresponding to the operation authority in a fade-out manner. In the process of hiding the management control corresponding to the operation authority in a fade-out manner, the user description information located under the management control Move up
  • the logged-in user after the logged-in user performs the management operation that responds to the management control, it can also respond to the user operation performed again on the scaled control, by gradually increasing the transparency of the management control until the upper limit of transparency is reached, to set the management control to the hidden state , And in the process of hiding the management control in the fade-out mode, the user description information located at the lower part of the management control is moved up, that is, restored to the user description information displayed in the dotted frame in the right figure in FIG. 4, which avoids the display of the user description information There is more area information, which brings visual bloat to the user.
  • the user description information of the target user is displayed on the video playback interface, and the contraction control is displayed in the display area of the user description information, in response to user operation, the operation authority determined according to the user level is displayed in a fade-in manner
  • the user description information overlapping with the management monitoring is moved down, and after the user operation is detected again, the management control is hidden in a fade-out manner, and the user description information located at the lower part of the management control is moved up to
  • the aesthetics of the interface display can be achieved without affecting the user's perception of the complete video, which can increase the user's stickiness to the product.
  • the present disclosure also proposes an information display device.
  • FIG. 7 is a schematic structural diagram of an information display device provided by an embodiment of the present disclosure.
  • the device includes: an acquisition module 71, a determination module 72 and a display module 73.
  • the obtaining module 71 is configured to obtain the identity of the target user and the identity of the logged-in user when detecting the target operation performed on the target user.
  • the determination module 72 is used to determine the operation authority of the login user according to the identity of the target user and the identity of the login user.
  • the display module 73 is used to display information to the target user according to the operation authority.
  • the identity is divided into at least two levels, and the above determination module 72 is specifically used to:
  • the client compares the hierarchical relationship between the identity of the target user and the identity of the logged-in user;
  • the identity level of the target user is higher than or equal to the identity level of the logged-in user, it is determined that the operation authority of the logged-in user does not include management authority;
  • the operation authority includes the corresponding first-type management authority according to the identity of the target user and the identity of the logged-in user.
  • At least two levels include a host, a super administrator, a common administrator, and a common user; wherein, the level of the host is equivalent to the level of a super administrator; the level of the super administrator is higher than The level of the ordinary administrator; the level of the ordinary administrator is higher than that of the ordinary user.
  • the first type of management authority includes: one or more combinations of identity setting, mute setting, and whether to enter the live broadcast room for the target user.
  • the above determination module 72 is specifically used for:
  • the operation authority possessed from the second type of management authority is determined.
  • the second type of management authority includes: one or more combinations of identity setting, mute setting, and whether to allow access to the live broadcasting room for each user entering the live broadcasting room.
  • the above display module 73 includes:
  • An obtaining unit for the client to obtain the user description information of the target user
  • the above display module 73 further includes:
  • the fade-in unit is configured to display the management control corresponding to the operation authority in a fade-in manner in response to a user operation performed on the contracted control.
  • the moving-down unit is used to move down the user description information overlapping with the management control during the process of displaying the management control corresponding to the operation authority in a fade-in manner.
  • the above display module 73 further includes:
  • a fade-out unit configured to hide the management control corresponding to the operation authority in a fade-out manner in response to a user operation performed again on the contracted control;
  • the moving-up unit is used to move up the user description information located at the lower part of the management control during the process of displaying the management control corresponding to the operation authority in a fade-out manner.
  • the foregoing obtaining module 71 is specifically used to:
  • the client accesses the server to obtain the identity of the target user
  • the client queries the identity of the logged-in user obtained in advance.
  • the foregoing obtaining module 71 is also specifically used to:
  • the client periodically accesses the server to obtain the identity of the logged-in user by querying;
  • the client accesses the server to query to obtain the identity of the logged-in user;
  • the client accesses the server to query to obtain the identity of the logged-in user.
  • the operation authority of the login user to the target user is determined and played in the video
  • the interface displays the user description information of the target user, and displays the contraction control in the display area of the user description information.
  • the management control corresponding to the operation authority determined by the user level is displayed in a fade-in manner. At the same time, it will overlap with the management monitoring.
  • the user description information moves down, and after detecting the user operation again, the management control is hidden by fading out, and the user description information located at the lower part of the management control is moved up, which improves the management efficiency of the user in the live broadcast room, and the efficient and timely maintenance
  • an electronic device including
  • At least one processor and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions are configured to perform the foregoing method implementation Examples of information display methods.
  • an electronic device is proposed.
  • the following refers to FIG. 8, which shows a schematic structural diagram of an electronic device suitable for implementing an embodiment of the present disclosure.
  • the electronic device in the embodiment of the present disclosure may be a single server or a server cluster.
  • the electronic device shown in FIG. 8 is only an example, and should not bring any limitation to the functions and use scope of the embodiments of the present disclosure.
  • the electronic device 800 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 801, which may be loaded into random access according to a program stored in a read-only memory (ROM) 802 or from the storage device 808
  • the program in the memory (RAM) 803 performs various appropriate operations and processes.
  • various programs and data necessary for the operation of the electronic device 800 are also stored.
  • the processing device 801, ROM 802, and RAM 803 are connected to each other via a bus 804.
  • An input/output (I/O) interface 805 is also connected to the bus 804.
  • the following devices can be connected to the I/O interface 805: including input devices 806 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speaker, vibration
  • An output device 807 such as a storage device; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.;
  • the communication device 809 may allow the electronic device 800 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 8 shows an electronic device 800 having various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or provided instead.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • embodiments of the present disclosure include a computer program product that includes a computer program carried on a computer-readable medium, the computer program containing program code for performing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 809, or from the storage device 808, or from the ROM 802.
  • the processing device 801 the above-described functions defined in the method of the embodiments of the present disclosure are executed.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • embodiments of the present disclosure include a computer program product that includes a computer program carried on a computer-readable medium, the computer program containing program code for performing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 809, or from the storage device 808, or from the ROM 802.
  • the processing device 801 the above-described functions defined in the method of the embodiments of the present disclosure are executed.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal that is propagated in baseband or as part of a carrier wave, in which computer-readable program code is carried. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable signal medium may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: electric wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
  • the aforementioned computer readable medium may be included in the aforementioned access control server; or it may exist alone without being assembled into the access control server.
  • the computer-readable medium carries one or more programs.
  • the access control server causes the first access to request the resource search engine to perform the target operation from the terminal Request, if the terminal is in the preset terminal list, determine the target management interface corresponding to the target operation from the preset management interface, generate a second access request indicating the target management interface and login information, and send the second to the resource search engine Access request, so that the resource search engine passes the verification of the login information, and then calls the target management interface to perform the target operation.
  • the computer program code for performing the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
  • the programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional Procedural programming language-such as "C" language or similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, through an Internet service provider Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider Internet connection for example, AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which contains one or more logic functions Executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks represented in succession may actually be executed in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented with dedicated hardware-based systems that perform specified functions or operations Or, it can be realized by a combination of dedicated hardware and computer instructions.
  • the units described in the embodiments of the present disclosure may be implemented in software or hardware. Among them, the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
  • the present disclosure also proposes a computer-readable storage medium that stores computer-readable instructions that are used to cause a computer to perform the operations described in the foregoing embodiments Information display method.
  • FIG. 9 is a schematic structural diagram of a computer-readable storage medium provided by an embodiment of the present disclosure.
  • a computer-readable storage medium 300 according to an embodiment of the present disclosure has computer instructions 301 stored thereon.
  • the computer instruction 301 is executed by the processor, all or part of the steps of the foregoing information display method of the embodiments of the present disclosure are executed.
  • each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware.
  • the above technical solutions can be embodied in the form of software products in essence or part of contributions to the existing technology, and the computer software products can be stored in non-transitory storage media, such as magnetic disks, optical disks, Read-only memory (ROM) or random-access memory (RAM), etc., including several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) to execute various embodiments or embodiments Some of the methods described.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本公开提出一种信息展示方法、装置和电子设备,其中,该方法包括:客户端探测到客户端的登陆用户对目标用户执行的目标操作时,客户端获取目标用户的身份,以及获取客户端的登陆用户的身份,客户端根据目标用户的身份以及登录用户的身份,确定登录用户的操作权限,根据操作权限,客户端对目标用户进行信息展示,本公开中通过将操作权限下发给用户,并通过比对登录用户的身份与目标用户的身份,确定登录用户的操作权限,并根据操作权限对目标用户进行信息展示,实现了通过用户的辅助管理,提高了用户管理效率,高效及时的维护了良好的网络秩序和氛围,解决现有技术中存在的无法对用户进行高效及时的管理的技术问题。

Description

信息展示方法、装置和电子设备
相关申请的交叉引用
本申请要求2018年12月19日在中国知识产权局提交的中国专利申请No.201811555447.X的优先权,通过引用将该中国专利申请公开的全部内容并入本文。
技术领域
本公开涉及信息处理技术领域,尤其涉及一种信息展示方法、装置和电子设备。
背景技术
随着视频技术的发展,视频直播越来越普及,在视频直播过程中,该直播间中的用户可以在观看的过程中发表言论等,而直播过程中,普遍存在部分用户违规发言,辱骂主播,扰乱直播间秩序等行为,因此,对直播间中的用户进行管理显得尤为重要。
在发明人已知的一种技术中,通过主播自己进行管理或通过直播平台的运营人员来进行对用户的管理,但这两种管理方式都存在管理效率低、管理不及时的问题。
发明内容
本公开的一方面提出了一种信息展示方法,包括:
客户端探测到所述客户端的登陆用户对目标用户执行的目标操作时,所述客户端获取所述目标用户的身份,以及获取所述客户端的登陆用户的身份;
所述客户端根据所述目标用户的身份以及所述登录用户的身份,确定所述登录用户的操作权限;以及
根据所述操作权限,所述客户端对所述目标用户进行信息展示。
根据本公开的实施例,所述身份划分为至少两个层级,并且,所述客户端根据所述目标用户的身份以及所述登录用户的身份,确定所述登录用户的操作权限,包括:
在所述目标用户与所述登录用户为不同用户的情况下,所述客户端比较所述目标用户的身份以及所述登录用户的身份之间的层级关系;
若所述目标用户的身份层级高于或等于所述登录用户的身份层级,则确定所述登录用户的操作权限中不包含管理权限;以及
若所述目标用户的身份层级低于所述登录用户的身份层级,则根据所述目标用户的身 份以及所述登录用户的身份,确定所述操作权限中包含的第一类管理权限。
根据本公开的实施例,所述至少两个层级包括:主播或超级管理员;普通管理员;以及普通用户;
其中,所述主播的层级等同于超级管理员的层级;所述超级管理员的层级高于所述普通管理员的层级;所述普通管理员的层级高于所述普通用户的层级。
根据本公开的实施例,所述第一类管理权限包括以下中的一个或多个:对所述目标用户进行身份设置、禁言设置和是否允许进入直播间。
根据本公开的实施例,所述客户端根据所述目标用户的身份以及所述登录用户的身份,确定所述登录用户的操作权限,还包括:
在所述目标用户与所述登录用户为同一用户的情况下,根据所述同一用户的身份,从第二类管理权限中确定该用户具有的操作权限。
根据本公开的实施例,所述第二类管理权限包括以下中的一个或多个:对进入直播间的各用户进行身份设置、禁言设置和是否允许进入直播间。
根据本公开的实施例,所述根据所述操作权限,所述客户端对所述目标用户进行信息展示,包括:
所述客户端获取所述目标用户的用户描述信息;以及
所述客户端在视频播放界面展示所述目标用户的用户描述信息;其中,在所述用户描述信息的展示区显示有缩展控件;其中,所述缩展控件,用于响应于用户操作,展示或隐藏所述操作权限对应的管理控件。
根据本公开的实施例,所述客户端获取所述目标用户的身份,以及获取所述客户端登陆用户的身份,包括:
所述客户端访问服务器端,以获取得到所述目标用户的身份;以及
所述客户端查询预先获取的所述登录用户的身份。
根据本公开的实施例,所述信息展示方法还包括:所述客户端查询预先获取的所述登录用户的身份之前,
所述客户端周期性地访问所述服务器端,以查询得到所述登录用户的身份;
和/或,所述客户端探测到所述登录用户的用于进入直播间的操作时,访问所述服务器,以查询得到所述登录用户的身份;
和/或,所述客户端探测到所述登录用户的用于展示用户描述信息的所述目标操作时,访问所述服务器端,以查询得到所述登录用户的身份。
本公开的又一方面提出了一种信息展示装置,包括:
获取模块,被配置为探测到所述客户端的登陆用户对目标用户执行的目标操作时,获 取所述目标用户的身份,以及获取登陆用户的身份;
确定模块,被配置为根据所述目标用户的身份以及所述登录用户的身份,确定所述登录用户的操作权限;以及
展示模块,被配置为根据所述操作权限,对所述目标用户进行信息展示。
本公开的又一方面提出了一种电子设备,包括
至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;
其中,所述存储器存储有所述至少一个处理器可执行的指令,所述指令被设置为用于执行上述一方面所述的信息展示方法。
本公开的又一方面提出了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令用于使计算机执行前述一方面所述的信息展示方法。
根据本公开,客户端探测到对目标用户执行的目标操作时,客户端获取目标用户的身份,以及获取客户端登陆用户的身份,客户端根据目标用户的身份以及登录用户的身份,确定登录用户的操作权限,根据操作权限,客户端对目标用户进行信息展示,本公开中通过将操作权限下发给用户,并通过比对登录用户的身份与目标用户的身份,确定登录用户的操作权限,并根据操作权限对目标用户进行信息展示,提高了用户管理效率,高效及时的维护了良好的网络秩序和氛围。
附图说明
本公开上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1为本公开的实施例所提供的一种信息展示方法的流程示意图;
图2为本公开的实施例所提供的另一种信息展示方法的流程示意图;
图3为本公开的实施例所提供的视频播放界面的展示示意图之一;
图4为本公开的实施例所提供的视频播放界面的展示示意图之二;
图5为本公开的实施例所提供的视频播放界面的展示示意图之三;
图6为本公开的实施例所提供的又一种信息展示方法的流程示意图;
图7为本公开的实施例提供的一种信息展示装置的结构示意图;
图8为本公开的实施例提供的电子设备的结构示意图;以及
图9是本公开的实施例提供的计算机可读存储介质的结构示意图。
具体实施方式
下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同 或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本公开的限制。
下面参考附图描述本公开实施例的信息展示方法、装置和电子设备。
图1为本公开的实施例所提供的一种信息展示方法的流程示意图。
如图1所示,该方法可以包括以下步骤:
步骤101,客户端探测到对目标用户执行的目标操作时,客户端获取目标用户的身份,以及获取客户端登陆用户的身份。
本公开的实施例中,客户端探测对目标用户执行的目标操作,作为一种可能的实现方式,获取用户列表,其中,该用户列表中的用户可以是访问直播间的用户,例如在直播间的直播界面上发表评论的用户。用户列表中展示了用于唯一指示该用户的用户名,当客户端探测到用户列表中被执行目标操作的用户,则将该用户确定为目标用户,其中,目标用户即为要被管理的用户;作为另一种可能的实现方式,也可以在直播界面的评论区,识别评论区展示的用户名或头像,将被执行目标操作的用户确定为目标用户,目标用户即为要被管理的用户,其中,目标操作例如为点击或者滑动等操作。
进而,客户端根据确定的目标用户,访问服务器端,以获取得到目标用户的身份,并查询预先获取的登录用户的身份。
可选地,客户端查询预先获取的登录用户的身份之前,客户端已预先获取到登录用户的身份,作为一种可能的实现方式,客户端周期性访问服务器端,以查询得到登录用户的身份;作为另一种可能的实现方式,客户端探测到用于进入直播间的操作时,访问服务器端,以查询得到登录用户的身份;作为又一种可能的实现方式,客户端探测到用于展示用户描述信息的目标操作时,访问服务器端,以查询得到登录用户的身份。
步骤102,客户端根据目标用户的身份以及登录用户的身份,确定登录用户的操作权限。
其中,用户身份可划分为至少两个层级。
在一种场景下,若识别到目标用户与登录客户端的登录用户不为同一用户,则根据预先设置的身份层级,识别目标用户的身份层级,以及登录用户的身份层级,比较目标用户的身份层级和登录用户的身份层级之间的层级关系,若目标用户的身份层级高于或等于登录用户的身份层级,确定登录用户的操作权限中不包含管理权限,也就是说登录用户无法对目标用户执行任何操作,例如,登录用户为普通用户,目标用户为管理员用户,则普通用户不具有任何管理权限;若目标用户的身份层级低于登录用户的身份层级,根据目标用户的身份以及登录用户的身份,确定登录用户的操作权限中包括对应的第一类管理权限,其中,第一类管理权限包括:对目标用户进行身份设置、禁言设置和是否允许进入直播间 中的一个或多个组合,
在另一种场景下,在识别目标用户与登录用户为同一用户的情况下,根据该用户的身份对应的身份层级,从下列第二类管理权限中,确定具有的管理权限,其中,第二类管理权限包括:对进入直播间的各用户进行身份设置、禁言设置和是否允许进入直播间中的一个或多个组合。
步骤103,根据操作权限,客户端对目标用户进行信息展示。
具体地,客户端获取目标用户的用户描述信息,并在视频播放界面展示目标用户的用户描述信息,其中,在用户描述信息的展示区显示有缩展控件,其中,缩展控件,用于响应于用户操作,展示或隐藏操作权限对应的管理控件。
本公开实施例的信息展示方法中,客户端探测到对目标用户执行的目标操作时,客户端获取目标用户的身份,以及获取客户端登陆用户的身份,客户端根据目标用户的身份以及登录用户的身份,确定登录用户的操作权限,根据操作权限,客户端对目标用户进行信息展示,本公开中通过将操作权限下发给直播间中的用户,并通过比对登录用户的身份与目标用户的身份,确定登录用户的操作权限,并根据操作权限对目标用户进行信息展示,提高了用户管理效率,高效及时的维护了良好的网络秩序和氛围。
基于上一实施例,本实施例提供了另一种信息展示方法,图2为本公开实施例所提供的另一种信息展示方法的流程示意图,以直播场景为例,进一步说明了如何根据用户身份的层级,确定登录用户的操作权限。
如图2所示,上一实施例中的步骤102,具体方法可以包括以下的子步骤:
步骤201,客户端根据获取的目标用户和登录用户的身份,判断目标用户和登录用户是否为同一用户,若是,执行步骤202,若否,执行步骤203。
本公开实施例的典型应用场景之一为视频直播场景,该场景下用户一般可以设置4种身份层级,即,主播、超级管理员、普通管理员和普通用户,身份的层级关系为:主播=超级管理员>普通管理员>普通用户,具体地为主播的层级等同于超级管理员的层级,超级管理员的层级高于普通管理员的层级,普通管理员的层级高于普通用户的层级。根据不同用户的身份层级,以及不同身份的用户之间是否包含管理权限,建立如下的关系表,如下表1中所示。
Figure PCTCN2019122111-appb-000001
Figure PCTCN2019122111-appb-000002
表1
其中,不用身份层级的用户之间具有的管理权限不同,若登录用户A用户的身份层级高于目标用户B用户的身份层级,则A用户包含B用户的管理权限,例如,A用户为超级管理员,B用户为普通管理员,则A用户包含B用户的管理权限,例如,禁言设置、踢出设置和身份设置等。又例如,超级管理员和主播均包含普通用户的管理权限,例如,禁言设置、踢出设置和身份设置等,其中,对普通用户的身份进行设置,是指可将普通用户身份设置为普通管理员,也可以撤销普通管理员的用户身份,降级为普通用户身份。
需要说明的是,在一个实施例中,超级管理员可以是由直播应用的运营后台设置的,因此,只有运营后台的管理人员才具有超级管理员的管理权限,对于超级管理员的数量本实施例中也不作限定。为了便于识别,超级管理员和普通管理员在直播间内具有特殊标识,以快速识别出超级管理员身份和管理员身份,然而,关于身份层级的划分仅为示例,不同身份之间用户的管理权限也仅为示例,本领域技术人员均可以根据实际场景中的需求进行设置和身份层级的划分,本实施例中不作限定。
本实施例中,根据获取的目标用户的身份和登录用户的身份,先判断目标用户和登录用户是否为用一用户,作为一种可能的实现方式,因用户的用户名或昵称均是唯一可识别用户的标识,通过比对用户的用户名或昵称,识别目标用户和登录用户是否为同一用户,若为同一用户,则执行步骤202,若不为同一用户,则执行步骤203,下述步骤中会详细介绍。
步骤202,根据同一用户的身份,从第二类管理权限中确定具有的操作权限。
具体地,若客户端识别获取的目标用户的身份和登录用户的身份是同一个用户的身份,则根据同一用户的身份,从第二类管理权限中确定具有的操作权限。其中,第二类管理权限包括:对进入直播间的各用户进行身份设置、禁言设置和是否允许进入直播间中的一个或多个组合。
例如,若登录用户的身份为超级管理员,超级管理员点击了自身的头像或者是在评论去点击自己的昵称,则确定目标用户和登录用户的身份均为超级管理员,并在视频播放界面下部展示超级管理员的用户信息,而超级管理员从第二类管理权限中确定具有的操作权限则包括:对进入直播间的各用户进行身份设置、禁言设置和是否允许进入直播间中。
图3为本公开的实施例所提供的视频播放界面的展示示意图之一,如图3所示,当确定同一用户的身份为超级管理员后,可以确定超级管理员的操作权限包含:对目标用户进行 身份设置、禁言设置和是否允许进入直播间中,并在视频播放界面展示超级管理员包含的操作权限对应的管理控件:管理员列表、禁言列表和踢出列表。
步骤203,客户端比较目标用户的身份以及登录用户的身份之间的层级关系,比较目标用户的身份层级是否高于或等于登录用户的身份层级。
具体地,若客户端识别获取的目标用户和登录用户不是同一用户,则客户端可查询预先建立的各身份用户之间的层级关系表,比较目标用户的身份层级以及登录用户的身份等级之间的层级关系,同时,层级关系不同,具有的管理权限则不同,若目标用户的身份层级高于或等于登录用户的身份层级,则执行步骤205,否则执行步骤206。
步骤205,确定登录用户的操作权限中不包含管理权限。
具体地,若目标用户的身份层级高于或等于登录用户的身份层级,则确定登录用户的操作权限中不包含管理权限,也就是说较低身份等级的用户无法对较高身份等级的用户进行管理。
例如,如表1中所示的,若目标用户为普通管理员用户,而登录用户为普通用户,则登录的普通用户则不包含管理权限,无法对普通管理员用户进行管理。
步骤206,根据目标用户的身份以及登录用户的身份,确定操作权限中包含对应的第一类管理权限。
具体地,若目标用户的身份层级低于登录用户的身份层级,则根据目标用户的身份和登录用户的身份,确定操作权限中包含对应的第一类管理权限。其中,第一类管理权限包括:对目标用户进行身份设置、禁言设置和是否允许进入直播间中的一个或多个组合。
图4为本公开的实施例所提供的视频播放界面的展示示意图之二,如图4所示,若目标用户的身份为普通用户,登录用户的身份为主播,则可以确定主播的操作权限包含:对目标用户进行身份设置、禁言设置和是否允许进入直播间中,并在视频播放界面展示主播包含的操作权限对应的管理控件,如图4中粗虚线框中所示的:设为管理员、禁言和踢出。
图5为本公开的实施例所提供的视频播放界面的展示示意图之三,如图5所示,若目标用户的身份为普通用户,登录用户的身份为普通管理员,则可以确定普通管理员的操作权限包含:禁言设置和是否允许进入直播间中,并在视频播放界面展示主播包含的操作权限对应的管理控件:禁言和踢出。
需要说明的是,关于图3-图5中展示的操作权限对应的管理控件并不是在视频播放界面的展示区一直显示的,是随着缩展控件的展示显示操作权限对应的管理控件,和随着缩展控件的隐藏不显示操作权限对应的管理控件的,对此,下一实施例中会详细介绍。
本实施例的信息展示方法中,客户端获取目标用户的身份和登录用户的身份后,通过比较登录用户的身份层级和目标用户的身份层级,确定登录用户的操作权限,实现了将管 理权限下发给进入直播间中的登录用户,根据登录用户的操作权限,进行目标用户的管理,提高了直播间管理的有效性和及时性,有效维护了直播间的良好直播环境。
基于上述实施例,本公开实施例还提供了一种信息展示方法的可能的实现方式,图6为本公开实施例所提供的又一种信息展示方法的流程示意图,以直播场景为例,说明了通过在用户描述信息的信息展示区中,设置缩展控件,展示或隐藏操作权限对应的管理控件,实现了界面展示的美观度。
如图6所示,在上述实施例的基础上,步骤103还可以包含如下子步骤:
步骤601,客户端获取目标用户的用户描述信息。
具体地,客户端确定目标用户后,访问服务器以获取得到目标用户的用户描述信息。
步骤602,客户端在视频播放界面展示目标用户的用户描述信息,其中,在用户描述信息的展示区显示有缩展控件。
其中,目标用户是指需要被执行相关管理操作的用户,目标用户也是观看视频的用户。
本公开的实施例中,客户端通过访问服务器获取目标用户的用户描述信息,在视频播放界面显示目标用户的用户卡片信息,用户卡片信息中包含用户的头像、关注按钮和用户描述信息,其中,用户描述信息包含:用户名称,视频信息、粉丝信息等,同时,在用户描述信息的展示区中,显示有管理控件对应的缩展控件,缩展控件展开后会显示管理控件,回缩后即隐藏管理控件。
如图4中左图所示,图中下部分为要进行管理的目标用户的用户描述信息的展示区,其中展示的用户描述信息,例如,用户名称、用户签名、视频信息和粉丝信息等,图4中对于用户的描述信息仅为示例,描述信息还可以包含用户年龄、关注信息、爱好等等。在用户描述信息的展示区中,展示有如图4中关注信息右边矩形框中展示的缩展控件。
步骤603,响应于对缩展控件执行的用户操作,以淡入方式展示操作权限对应的管理控件。
具体地,响应于对缩展控件执行的用户操作,例如为点击操作或滑动操作,则展开缩展控件,设置缩展控件中的管理控件为显示状态,通过逐渐降低管理控件的透明度直至达到透明度下限,实现对管理控件的显示。
如图4中右图所示,缩展控件的下方区域,即图中粗虚线框指示的区域中显示的即为以淡入的方式显示的管理控件。
步骤604,在以淡入方式展示操作权限对应的管理控件过程中,将与管理控件交叠的用户描述信息进行下移。
具体地,在以淡入方式展示管理控件过程中,将与管理控件交叠的用户描述信息进行下移,以减小管理控件与用户描述信息的交叠,实现在同一显示界面中同时显示用户描述 信息和管理控件,不影响界面的美观度,也不会打断用户观看视频直播。
对比图4中右图和图4中左图可知,管理控件以淡入方式显示在用户描述信息的展示区后,用户的描述信息则下移,如右图中细虚线框指示的区域,从图4中可以看出,粗虚线框中展示的管理控件和下部细虚线框中展示的用户描述信息,没有交叠,实现了减小管理控件与用户描述信息的交叠,提高了显示美观度。
需要说明的是,图4中的界面显示方式,仅为示例,不作为对本公开的具体限定。
步骤605,响应于对缩展控件再次执行的用户操作,以淡出方式隐藏操作权限对应的管理控件,在以淡出方式隐藏操作权限对应的管理控件的过程中,将位于管理控件下部的用户描述信息进行上移
具体地,在登录用户对管理控制执行完响应的管理操作后,还可以响应于对缩展控件再次执行的用户操作,通过逐渐提高管理控件的透明度直至达到透明度上限,以设置管理控件为隐藏状态,并在以淡出方式隐藏管理控件的过程中,将位于管理控件下部的用户描述信息进行上移,即恢复成图4中右图中虚线框中显示的用户描述信息,避免了用户描述信息展示区域信息较多,给用户带来视觉臃肿感。
本公开实施例的信息展示方法中,在视频播放界面显示目标用户的用户描述信息,并在用户描述信息的展示区显示缩展控件,响应用户操作,以淡入方式显示根据用户等级确定的操作权限对应的管理控件,同时将与管理监控交叠的用户描述信息下移,并在再次探测到用户操作后,以淡出方式隐藏管理控件,同时将位于管理控件下部的用户描述信息进行上移,以实现界面显示的美观度,同时也不会影响用户完整观看视频的观感,可以提高用户对产品的粘性。
为了实现上述实施例,本公开还提出一种信息展示装置。
图7为本公开的实施例提供的一种信息展示装置的结构示意图。
如图7所示,该装置包括:获取模块71、确定模块72和展示模块73。
获取模块71,用于探测到对目标用户执行的目标操作时,获取目标用户的身份,以及获取登陆用户的身份。
确定模块72,用于根据目标用户的身份以及登录用户的身份,确定登录用户的操作权限。
展示模块73,用于根据操作权限,对目标用户进行信息展示。
进一步地,在本公开实施例的一种可能的实现方式中,身份划分为至少两个层级,上述确定模块72,具体用于:
在所述目标用户与所述登录用户为不同用户的情况下,所述客户端比较所述目标用户的身份以及所述登录用户的身份之间的层级关系;
若所述目标用户的身份层级高于或等于所述登录用户的身份层级,确定所述登录用户的操作权限中不包含管理权限;
若所述目标用户的身份层级低于所述登录用户的身份层级,根据所述目标用户的身份以及所述登录用户的身份,确定所述操作权限中包含对应的第一类管理权限。
作为一种可能的实现方式,至少两个层级包括主播、超级管理员、普通管理员和普通用户;其中,所述主播的层级等同于超级管理员的层级;所述超级管理员的层级高于所述普通管理员的层级;所述普通管理员的层级高于所述普通用户的层级。
作为一种可能的实现方式,第一类管理权限包括:对所述目标用户进行身份设置、禁言设置和是否允许进入直播间中的一个或多个组合。
作为一种另可能的实现方式,上述确定模块72,具体用于:
在所述目标用户与所述登录用户为同一用户的情况下,根据所述同一用户的身份,从第二类管理权限中确定具有的所述操作权限。
作为一种可能的实现方式,第二类管理权限包括:对进入直播间的各用户进行身份设置、禁言设置和是否允许进入直播间中的一个或多个组合。
作为一种可能的实现方式,上述展示模块73,包括:
获取单元,用于客户端获取所述目标用户的用户描述信息;
展示单元,用于客户端在视频播放界面展示所述目标用户的用户描述信息;其中,在所述用户描述信息的展示区显示有缩展控件;其中,所述缩展控件,用于响应于用户操作,展示或隐藏所述操作权限对应的管理控件。
作为一种可能的实现方式,上述展示模块73,还包括:
淡入单元,用于响应于对所述缩展控件执行的用户操作,以淡入方式展示所述操作权限对应的管理控件。
下移单元,用于在以淡入方式展示所述操作权限对应的管理控件过程中,将与所述管理控件交叠的用户描述信息进行下移。
作为一种可能的实现方式,上述展示模块73,还包括:
淡出单元,用于响应于对所述缩展控件再次执行的用户操作,以淡出方式隐藏所述操作权限对应的管理控件;
上移单元,用于在以淡出方式展示所述操作权限对应的管理控件过程中,将位于所述管理控件下部的用户描述信息进行上移。
作为一种可能的实现方式,上述获取模块71,具体用于:
所述客户端访问服务器端,以获取得到所述目标用户的身份;
所述客户端查询预先获取的所述登录用户的身份。
作为一种可能的实现方式,上述获取模块71,具体还用于:
所述客户端周期性访问所述服务器端,以查询得到所述登录用户的身份;
和/或,所述客户端探测到用于进入直播间的操作时,访问所述服务器端,以查询得到所述登录用户的身份;
和/或,所述客户端探测到用于展示用户描述信息的所述目标操作时,访问所述服务器端,以查询得到所述登录用户的身份。
需要说明的是,前述对方法实施例的解释说明也适用于该实施例的装置,此处不再赘述。
本公开实施例的信息展示装置中,通过将操作权限下发给直播间中的用户,并通过比对登录用户的身份与目标用户的身份,确定登录用户对目标用户的操作权限,在视频播放界面显示目标用户的用户描述信息,并在用户描述信息的展示区显示缩展控件,响应用户操作,以淡入方式显示根据用户等级确定的操作权限对应的管理控件,同时将与管理监控交叠的用户描述信息下移,并在再次探测到用户操作后,以淡出方式隐藏管理控件,同时将位于管理控件下部的用户描述信息进行上移,提高了直播间中用户的管理效率,高效及时的维护了直播间的良好秩序和氛围,同时,实现了界面显示的美观度,不会影响用户完整观看视频的观感,可以提高用户对产品的粘性。
为了实现上述实施例,本公开还提出了一种电子设备,包括
至少一个处理器;以及,与所述至少一个处理器通信连接的存储器,其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被设置为用于执行前述方法实施例所述的信息展示方法。
在本公开的一个实施例中,提出了一种电子设备,下面参考图8,其示出了适于用来实现本公开实施例的电子设备的结构示意图。本公开实施例中的电子设备可以为单一的服务器也可以为服务器集群。图8示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图8所示,电子设备800可以包括处理装置(例如中央处理器、图形处理器等)801,其可以根据存储在只读存储器(ROM)802中的程序或者从存储装置808加载到随机访问存储器(RAM)803中的程序而执行各种适当的动作和处理。在RAM 803中,还存储有电子设备800操作所需的各种程序和数据。处理装置801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(I/O)接口805也连接至总线804。
通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置808;以及通信装置 809。通信装置809可以允许电子设备800与其他设备进行无线或有线通信以交换数据。虽然图8示出了具有各种装置的电子设备800,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置808被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的方法中限定的上述功能。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置808被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述访问控制服务器中所包含的;也可以是单独存在,而未装配入该访问控制服务器中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该访问控制服务器执行时,使得该访问控制服务器:从终端获取用于请求资源搜索引擎执行目标操作的第一访问请求,若终端处于预设的终端列表,从预设的管理接口中确定目标操作对应的目标管理接口,生成用于指示目标管理接口和登录信息的第二访问请求,向资源搜索引擎发送第二访问请求,以使得资源搜索引擎对登录信息校验通过后,调用目标管理接口以执行目标操作。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开的各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开的实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。
为了实现上述实施例,本公开还提出了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令用于使计算机执行前述实施例所述的信息展示方法。
图9是本公开的实施例提供的计算机可读存储介质的结构示意图。如图9所示,根据本公开的实施例的计算机可读存储介质300,其上存储有计算机指令301。当该计算机指令301由处理器运行时,执行前述的本公开的各实施例的信息展示方法的全部或部分步骤。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助 软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在非暂态存储介质中,如磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本公开的技术方案,而非对其限制;尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本公开各实施例技术方案的精神和范围。

Claims (12)

  1. 一种信息展示方法,所述信息展示方法包括以下步骤:
    客户端探测到所述客户端的登陆用户对目标用户执行的目标操作时,所述客户端获取所述目标用户的身份,以及获取所述客户端的登陆用户的身份;
    所述客户端根据所述目标用户的身份以及所述登录用户的身份,确定所述登录用户的操作权限;以及
    根据所述操作权限,所述客户端对所述目标用户进行信息展示。
  2. 根据权利要求1所述的信息展示方法,其中,所述身份划分为至少两个层级,并且,所述客户端根据所述目标用户的身份以及所述登录用户的身份,确定所述登录用户的操作权限,包括:
    在所述目标用户与所述登录用户为不同用户的情况下,所述客户端比较所述目标用户的身份以及所述登录用户的身份之间的层级关系;以及
    若所述目标用户的身份层级高于或等于所述登录用户的身份层级,则确定所述登录用户的操作权限中不包含管理权限,若所述目标用户的身份层级低于所述登录用户的身份层级,则根据所述目标用户的身份以及所述登录用户的身份,确定所述操作权限中包含第一类管理权限。
  3. 根据权利要求2所述的信息展示方法,其中,所述至少两个层级包括:主播或超级管理员;普通管理员;以及普通用户,
    其中,所述主播的层级等同于超级管理员的层级;所述超级管理员的层级高于所述普通管理员的层级;所述普通管理员的层级高于所述普通用户的层级。
  4. 根据权利要求2所述的信息展示方法,其中,所述第一类管理权限包括以下中的一个或多个:对所述目标用户进行身份设置、禁言设置和是否允许进入直播间。
  5. 根据权利要求1所述的信息展示方法,其中,所述客户端根据所述目标用户的身份以及所述登录用户的身份,确定所述登录用户的操作权限,包括:
    在所述目标用户与所述登录用户为同一用户的情况下,根据所述同一用户的身份,从第二类管理权限中确定该用户具有的操作权限。
  6. 根据权利要求5所述的信息展示方法,其中,所述第二类管理权限包括以下中的一个或多个:对进入直播间的各用户进行身份设置、禁言设置和是否允许进入直播间。
  7. 根据权利要求1-6任一项所述的信息展示方法,其中,所述根据所述操作权限,所述客户端对所述目标用户进行信息展示,包括:
    所述客户端获取所述目标用户的用户描述信息;以及
    所述客户端在视频播放界面展示所述目标用户的用户描述信息,其中,在所述用户描述信息的展示区显示有缩展控件;其中,所述缩展控件用于响应于用户操作展示或隐藏所述操作权限对应的管理控件。
  8. 根据权利要求1-6任一项所述的信息展示方法,其中,所述客户端获取所述目标用户的身份,以及获取所述客户端登陆用户的身份,包括:
    所述客户端访问服务器,以获取得到所述目标用户的身份;以及
    所述客户端查询预先获取的所述登录用户的身份。
  9. 根据权利要求8所述的信息展示方法,其中,所述信息展示方法还包括:所述客户端查询预先获取的所述登录用户的身份之前,
    所述客户端周期性地访问所述服务器,以查询得到所述登录用户的身份;
    和/或,所述客户端探测到所述登录用户的用于进入直播间的操作时,访问所述服务器,以查询得到所述登录用户的身份;
    和/或,所述客户端探测到所述登录用户的用于展示用户描述信息的所述目标操作时,访问所述服务器,以查询得到所述登录用户的身份。
  10. 一种信息展示装置,所述信息展示装置包括:
    获取模块,被配置为探测到所述客户端的登陆用户对目标用户执行的目标操作时,获取所述目标用户的身份,以及获取登陆用户的身份;
    确定模块,被配置为根据所述目标用户的身份以及所述登录用户的身份,确定所述登录用户的操作权限;以及
    展示模块,被配置为根据所述操作权限,对所述目标用户进行信息展示。
  11. 一种电子设备,所述电子设备包括
    至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;
    其中,所述存储器存储有所述至少一个处理器可执行的指令,所述指令被设置为用于执行上述权利要求1-9中任一项所述的信息展示方法。
  12. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令用于使计算机执行权利要求1-9中任一项所述的信息展示方法。
PCT/CN2019/122111 2018-12-19 2019-11-29 信息展示方法、装置和电子设备 WO2020125382A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811555447.X 2018-12-19
CN201811555447.XA CN109635526A (zh) 2018-12-19 2018-12-19 信息展示方法、装置和电子设备

Publications (1)

Publication Number Publication Date
WO2020125382A1 true WO2020125382A1 (zh) 2020-06-25

Family

ID=66075376

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/122111 WO2020125382A1 (zh) 2018-12-19 2019-11-29 信息展示方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN109635526A (zh)
WO (1) WO2020125382A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109635526A (zh) * 2018-12-19 2019-04-16 北京字节跳动网络技术有限公司 信息展示方法、装置和电子设备
CN110139152B (zh) * 2019-05-20 2020-07-24 北京字节跳动网络技术有限公司 禁言方法、装置、电子设备及计算机可读存储介质
CN110826050A (zh) * 2019-10-24 2020-02-21 广东优世联合控股集团股份有限公司 一种登录权限管理方法、装置、介质和电子设备
CN113949885B (zh) * 2020-07-15 2023-08-15 腾讯科技(深圳)有限公司 直播处理方法、装置、电子设备及计算机可读存储介质
CN113784161B (zh) * 2021-09-09 2023-11-24 广州方硅信息技术有限公司 用户标志传输方法及其装置、设备与介质
CN114466217A (zh) * 2022-02-16 2022-05-10 上海哔哩哔哩科技有限公司 用于直播间的信息显示方法及装置
CN114697961A (zh) * 2022-03-28 2022-07-01 北京良辰光启数字技术有限公司 一种基于展馆的无线电传播控方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080082609A1 (en) * 2006-10-03 2008-04-03 International Business Machines Corporation Controlling active and passive participation in a thread of conversation
CN106954083A (zh) * 2017-02-16 2017-07-14 武汉斗鱼网络科技有限公司 信息管理方法及装置
CN108023805A (zh) * 2016-10-31 2018-05-11 阿里巴巴集团控股有限公司 交互权限的配置方法及装置
CN109635526A (zh) * 2018-12-19 2019-04-16 北京字节跳动网络技术有限公司 信息展示方法、装置和电子设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6022215B2 (ja) * 2012-05-31 2016-11-09 任天堂株式会社 投稿情報共有システム、情報処理システム、情報処理方法、プログラムおよびコンピュータプラットフォーム
CN105959715A (zh) * 2016-04-28 2016-09-21 武汉斗鱼网络科技有限公司 一种直播网站的违规处理方法及装置
CN108769236B (zh) * 2018-06-06 2021-08-27 Oppo广东移动通信有限公司 应用推荐方法、电子装置及计算机可读存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080082609A1 (en) * 2006-10-03 2008-04-03 International Business Machines Corporation Controlling active and passive participation in a thread of conversation
CN108023805A (zh) * 2016-10-31 2018-05-11 阿里巴巴集团控股有限公司 交互权限的配置方法及装置
CN106954083A (zh) * 2017-02-16 2017-07-14 武汉斗鱼网络科技有限公司 信息管理方法及装置
CN109635526A (zh) * 2018-12-19 2019-04-16 北京字节跳动网络技术有限公司 信息展示方法、装置和电子设备

Also Published As

Publication number Publication date
CN109635526A (zh) 2019-04-16

Similar Documents

Publication Publication Date Title
WO2020125382A1 (zh) 信息展示方法、装置和电子设备
CN108293045B (zh) 本地和远程系统之间的单点登录身份管理
US11997089B2 (en) Methods, systems, and media for authentication of user devices to a display device
US11792458B2 (en) Managing concurrent content playback
JP5992524B2 (ja) リソースアクセスの権限付与
EP3787261B1 (en) Simultaneous interaction by a plurality of users with an operating system of a computing device
US11770371B2 (en) Systems and methods for connecting private devices to public devices according to connection parameters
JP2014531650A (ja) グループ・オプトイン・リンク
CA2910249A1 (en) Synchronizing device association data among computing devices
US10042652B2 (en) Home automation system
US9936046B2 (en) Sampling for content selection
US9659179B1 (en) Access control
US11630809B2 (en) Method and system for using micro objects
KR20220167855A (ko) 동영상 공유 사이트 접속 차단 시스템
KR102369525B1 (ko) 원격 접속을 위한 장치, 시스템 및 방법
US11949730B2 (en) Context-aware interface layer for remote applications
KR20220031871A (ko) 원격 접속을 위한 장치 및 방법
KR20200056557A (ko) 원격 접속을 위한 장치, 시스템 및 방법
TW202109277A (zh) 投影螢幕方法及裝置
CN109618214A (zh) 信息显示方法、装置和电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19901063

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01.10.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19901063

Country of ref document: EP

Kind code of ref document: A1