CN114040240A - Button configuration method, device, server and storage medium - Google Patents

Button configuration method, device, server and storage medium Download PDF

Info

Publication number
CN114040240A
CN114040240A CN202111368325.1A CN202111368325A CN114040240A CN 114040240 A CN114040240 A CN 114040240A CN 202111368325 A CN202111368325 A CN 202111368325A CN 114040240 A CN114040240 A CN 114040240A
Authority
CN
China
Prior art keywords
button
client
configuration information
icon
button configuration
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
CN202111368325.1A
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111368325.1A priority Critical patent/CN114040240A/en
Publication of CN114040240A publication Critical patent/CN114040240A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4826End-user interface for program selection using recommendation lists, e.g. of programs or channels sorted out according to their score

Abstract

The present disclosure relates to a button configuration method, device, server and storage medium, including: acquiring scene information corresponding to a button display request according to the button display request of a client; the button display request is generated by a client according to button triggering operation of a preset area of the live broadcast room; acquiring target button configuration information matched with the scene information from the button configuration list; acquiring a button icon corresponding to the target button configuration information, sending the button icon to a client, rendering an interface in a preset area of a live broadcast room by the client according to the button icon, and displaying the rendered interface; the method and the device have the advantages that the corresponding target button configuration information is obtained according to the scene information corresponding to the button display request of the client, the target button configuration information is sent to the client and then rendered, the button configuration information is determined in a determining process without being bound with the client version, flexible determination can be carried out according to the scene information, and the button configuration efficiency is improved.

Description

Button configuration method, device, server and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a button configuration method, an apparatus, a server, and a storage medium.
Background
With the development of mobile internet, the chat room is also popular with the users as a form of live broadcast. The anchor account can be live broadcast in a live broadcast room, and the audience account can be in connection with the anchor account for interaction; in the interaction process, the main account and the audience account can adjust the specific communication mode by clicking a button on a microphone panel provided by the chat room.
In the related technology, the configuration information of button layout and style on the microphone panel is matched with the version of the client, and the button configuration fixed with the current client version can be issued in a use scene; if the button configuration needs to be updated, version iteration of the client needs to be waited; however, the version iteration of the client usually has a certain time period, and the button configuration cannot be adjusted in a short time, so that the existing button configuration is inefficient.
Disclosure of Invention
The present disclosure provides a button configuration method, device, server and storage medium, to at least solve the problem of low efficiency of button configuration in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a button configuration method, including:
according to a button display request of a client, acquiring scene information corresponding to the button display request; the button display request is generated by the client according to button triggering operation of a preset area of a live broadcast room;
acquiring target button configuration information matched with the scene information from a button configuration list;
and acquiring a button icon corresponding to the target button configuration information, sending the button icon to the client, rendering an interface in a preset area of the live broadcast room by the client according to the button icon, and displaying the rendered interface.
In an exemplary embodiment, the scene information includes a type identifier and an event identifier of the live broadcast room;
the acquiring of the target button configuration information matched with the scene information includes:
and acquiring at least one piece of button configuration information matched with both the type identifier and the event identifier from the button configuration list as the target button configuration information.
In an exemplary embodiment, the button display request carries a version identification; the version identification is used for representing the application environment of the button triggering operation in the client;
the obtaining of at least one button configuration information matched with both the type identifier and the event identifier as the target button configuration information includes:
and screening at least one piece of button configuration information according to the version identification, and taking the button configuration information matched with the version identification as the target button configuration information.
In an exemplary embodiment, the obtaining the button icon corresponding to the target button configuration information includes:
determining a content distribution address of a button icon according to the target button configuration information;
and acquiring the button icon from a content distribution network according to the content distribution address.
In an exemplary embodiment, the determining a content distribution address of a button icon according to the target button configuration information includes:
determining a button icon identifier according to the target button configuration information;
and acquiring a corresponding content distribution address according to the button icon identifier.
In an exemplary embodiment, the sending the button icon to the client to enable the client to render an interface of the preset area of the live broadcast room according to the button icon includes:
determining the position information of the interface of the button icon in the preset area of the live broadcast room according to the target button configuration information; and the client is used for rendering the button icon to an interface of a preset area of the live broadcast room according to the position information.
In an exemplary embodiment, the button icons include a single status button icon and a flow status button icon; the single-state button icon is used for executing a preset function when responding to button triggering operation; the circulation state button icon is composed of at least two button icons and used for responding to the button triggering operation, executing a preset function and switching the button icons.
According to a second aspect of the embodiments of the present disclosure, there is provided a button configuring apparatus including:
a scene information determination unit configured to execute acquiring scene information corresponding to a button display request according to the button display request of a client; the button display request is generated by the client according to button triggering operation of a preset area of a live broadcast room;
a configuration information acquisition unit configured to perform acquisition of target button configuration information matching the scene information from a button configuration list;
and the icon button acquisition unit is configured to execute the steps of acquiring a button icon corresponding to the target button configuration information, sending the button icon to the client, rendering the interface of the preset area of the live broadcast room by the client according to the button icon, and displaying the rendered interface.
In an exemplary embodiment, the scene information includes a type identifier and an event identifier of the live broadcast room;
the configuration information obtaining unit is further configured to perform obtaining, from the button configuration list, at least one piece of button configuration information that matches both the type identifier and the event identifier as the target button configuration information.
In an exemplary embodiment, the button display request carries a version identification; the version identification is used for representing the application environment of the button triggering operation in the client;
the configuration information obtaining unit is further configured to perform screening on at least one piece of button configuration information according to the version identifier, and take the button configuration information matched with the version identifier as the target button configuration information.
In an exemplary embodiment, the icon button obtaining unit is further configured to perform determining a content distribution address of a button icon according to the target button configuration information; and acquiring the button icon from a content distribution network according to the content distribution address.
In an exemplary embodiment, the icon button obtaining unit is further configured to perform determining a button icon identification according to the target button configuration information; and acquiring a corresponding content distribution address according to the button icon identifier.
In an exemplary embodiment, the icon button obtaining unit is further configured to execute determining, according to the target button configuration information, location information of an interface of the button icon in a preset area of the live broadcast room; and the client is used for rendering the button icon to an interface of a preset area of the live broadcast room according to the position information.
In an exemplary embodiment, the button icons include a single status button icon and a flow status button icon; the single-state button icon is used for executing a preset function when responding to button triggering operation; the circulation state button icon is composed of at least two button icons and used for responding to the button triggering operation, executing a preset function and switching the button icons.
According to a third aspect of the embodiments of the present disclosure, there is provided a server, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the button configuration method as described in any embodiment of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of a server, enable the server to perform a button configuration method as described in any one of the embodiments of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising instructions, characterized in that the instructions, when executed by a processor of a server, enable the server to perform the button configuration method as described in any one of the embodiments of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
acquiring scene information corresponding to a button display request according to the button display request of a client; the button display request is generated by a client according to button triggering operation of a preset area of the live broadcast room; secondly, acquiring target button configuration information matched with the scene information from a button configuration list; finally, acquiring a button icon corresponding to the target button configuration information, sending the button icon to the client, rendering an interface in a preset area of the live broadcast room by the client according to the button icon, and displaying the rendered interface; the method and the device have the advantages that the corresponding target button configuration information is obtained according to the scene information corresponding to the button display request of the client, the target button configuration information is sent to the client and then rendered, the button configuration information is determined in a determining process without being bound with the client version, flexible determination can be carried out according to the scene information, and the button configuration efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a diagram illustrating an application environment for a button configuration method in accordance with an illustrative embodiment.
FIG. 2 is a flow diagram illustrating a method of button configuration in accordance with an exemplary embodiment.
FIG. 3 is a flow chart illustrating another button configuration method in accordance with an exemplary embodiment.
FIG. 4 is a flow chart illustrating yet another method of button configuration in accordance with an exemplary embodiment.
FIG. 5 is a block diagram illustrating a button configuration apparatus according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are information and data authorized by the user or sufficiently authorized by each party; correspondingly, the present disclosure also provides a corresponding user authorization entry for the user to select authorization or to select denial.
The button configuration method provided by the present disclosure can be applied to the application environment shown in fig. 1. Wherein, the client 110 interacts with the server 120 through the network; the client 110 responds to the click of the user, triggers and generates a button display request and sends the button display request to the server 120, and the server 120 acquires scene information corresponding to the button display request according to the button display request of the client 110; the button display request is generated by the client 110 according to the button triggering operation of the preset area of the live broadcast room; the server 120 acquires target button configuration information matched with the scene information from the button configuration list; the server 120 acquires a button icon corresponding to the target button configuration information, sends the button icon to the client 110, enables the client 110 to render an interface of a preset area of the live broadcast room according to the button icon, and displays the rendered interface.
The client 110 may be, but is not limited to, various smart phones, tablet computers, notebook computers, or the like, and the server 120 may be implemented by an independent server or a server cluster formed by a plurality of servers.
Fig. 2 is a flowchart illustrating a button configuration method according to an exemplary embodiment, where the button configuration method is used in the server 120, as shown in fig. 2, and includes the following steps.
In step S210, according to a button display request of a client, obtaining scene information corresponding to the button display request; the button display request is generated by the client according to button triggering operation of a preset area of the live broadcast room.
The scene information is a scene environment where a button display request of the client is triggered to be generated, such as a specific type of a chat room in a live broadcast room, different areas clicked by a user, event information triggered by click operation of the user, and the like; the scene information may also include parameter information of the client, account information of the user, network information, mobile phone information, and the like.
The button display request refers to a request instruction for displaying a button icon, which is generated by the client and sent to the server; the button display request at least comprises an acquisition request for button icons, button styles and button arrangement modes.
The preset area of the live broadcast room refers to an area where a user can click and trigger the button to display a request through a client.
Specifically, a main broadcast user or an audience user clicks a preset area of a live broadcast room in a live broadcast room chat room, and a client responds to the clicking operation of the main broadcast user or the audience user, triggers and generates a button display request and sends the button display request to a server; the server acquires corresponding scene information according to the button display request sent by the client, wherein the scene information can be acquired by the client in the process of generating the button display request after being triggered, or acquired by the server after receiving the button display request.
In step S220, target button configuration information matching the scene information is acquired from the button configuration list.
The button configuration information is a description file of the button icon, and may include at least an identifier of the button icon or a picture, a filling color of the button icon, a style of the button icon, a version of the button icon, an arrangement position of the button icon, a storage position of the button icon, and the like.
The button configuration list is a list file containing a plurality of button configuration information; the button configuration list can be a plurality of button configuration lists, for example, a plurality of types of corresponding button configuration lists are set according to different types of live room chat rooms, or a plurality of different types of button configuration lists are set according to different client versions.
The target button configuration information is at least one button configuration information which is selected from the button configuration list and matched with the scene information.
In step S230, a button icon corresponding to the target button configuration information is obtained, the button icon is sent to the client, so that the client renders an interface in a preset area of the live broadcast room according to the button icon, and displays the rendered interface.
Specifically, the server acquires a corresponding button icon from a database or a content distribution network according to the target button configuration information; the server may perform preprocessing on the button icon after acquiring the button icon corresponding to the target button configuration information, for example, the acquired button icon is a vector diagram, and the current time of the button icon in the configuration information should be red, and then the server may fill the vector diagram with red and send the vector diagram as the button icon to the client. And after the server sends the button icons to the client, the client renders the button icons in combination with an interface in a preset area of the live broadcast room, and the rendered button icons are displayed on a terminal interface of the client for a user to check and click.
In the button configuration method, scene information corresponding to a button display request is acquired according to the button display request of a client; the button display request is generated by a client according to button triggering operation of a preset area of the live broadcast room; secondly, acquiring target button configuration information matched with the scene information from a button configuration list; finally, acquiring a button icon corresponding to the target button configuration information, sending the button icon to the client, rendering an interface in a preset area of the live broadcast room by the client according to the button icon, and displaying the rendered interface; the method and the device have the advantages that the corresponding target button configuration information is obtained according to the scene information corresponding to the button display request of the client, the target button configuration information is sent to the client and then rendered, the button configuration information is determined in a determining process without being bound with the client version, flexible determination can be carried out according to the scene information, and the button configuration efficiency is improved.
In an exemplary embodiment, the scene information includes a type identifier and an event identifier of the live broadcast;
in step S220, the target button configuration information matched with the scene information is acquired, which may specifically be implemented by the following steps: and acquiring at least one piece of button configuration information matched with both the type identifier and the event identifier from the button configuration list as target button configuration information.
The type identification of the live broadcast room is the limitation on the specific type of the live broadcast room, and different types of live broadcast rooms have different interaction functions and also correspond to different button configuration information; the types of the live rooms comprise chat rooms, movie studios, shopping categories, game live categories, interactive game categories and the like; for example, a chat room type live room has a microphone requirement, and buttons in the live room of the type can comprise a microphone position selection button, a microphone position allocation button, a microphone grabbing button and the like. The event identifier describes an event corresponding to a specific operation triggered by the button display request, for example, clicking a null digit by an anchor may be used as an event to record a scene called out by the button.
Specifically, the server analyzes a button display request sent by the client, and at least analyzes to obtain a type identifier and an event identifier contained in the button display request; and matching the information of the plurality of button accessories in the button configuration list according to the type identifier and the event identifier, and taking at least one piece of successfully matched button configuration information as target button configuration information.
According to the technical scheme provided by the embodiment of the disclosure, the server acquires the type identifier and the event identifier of the live broadcast room from the scene information, the determining range of the button configuration information can be narrowed through the type identifier and the event identifier, and the determining efficiency of the target button configuration information is improved; meanwhile, the type identification and the event identification can at least reflect the scene information of the current operation of the user, so that the matching degree of the button configuration information and the operation scene is improved, and the user experience is improved.
In an exemplary embodiment, the button display request carries a version identification; the version identification is used for representing the application environment of the button triggering operation in the client; acquiring at least one piece of button configuration information matched with both the type identifier and the event identifier as target button configuration information, wherein the method comprises the following steps: and screening at least one piece of button configuration information according to the version identifier, and taking the button configuration information matched with the version identifier as target button configuration information.
The version identification is description information of the current version of the client; the information of the functions supported and not supported by the client can be determined through the version identification so as to provide a button icon which can be used by the client.
Specifically, if the server obtains a plurality of pieces of button configuration information that conform to the scene information, the plurality of pieces of button configuration information may be reselected using the version identifier, for example, the button configuration information whose version identifier is lower than the current version of the client is screened out from the plurality of pieces of button configuration information, or the button configuration information whose version is the latest is selected, so that the version of the button configuration information matches the version of the client or remains the latest.
According to the technical scheme provided by the embodiment of the disclosure, the server determines the target button configuration information through the version identifier, so that the version of the target button configuration information is always matched with the current version of the client, the determination efficiency of the target button configuration information is improved, and the version synchronization between the clients is also ensured.
In an exemplary embodiment, acquiring a button icon corresponding to the target button configuration information includes: determining a content distribution address of the button icon according to the target button configuration information; and acquiring the button icon from the content distribution network according to the content distribution address.
The Content Delivery Network (CDN) is an intelligent virtual Network built on the basis of the existing Network, and users can obtain required Content nearby by means of functional modules of load balancing, Content Delivery, scheduling and the like of a central platform by means of edge servers deployed in various places, so that Network congestion can be reduced, and the access response speed and hit rate of the users can be increased. The content distribution address is an address of a node of the content distribution network, and a resource stored in the content distribution network can be acquired by accessing the address.
Specifically, in the present embodiment, the button icon is stored in the content distribution network, and the server determines the content distribution address of the button icon according to the target button configuration information; and acquiring a corresponding button icon file according to the address. In addition, the server can also directly send the content distribution address of the button icon to the client, and the client acquires the corresponding button icon according to the content distribution address before rendering.
According to the technical scheme provided by the embodiment of the disclosure, the button icons are stored in the content distribution network, so that the button icons can be uniformly modified or adjusted; meanwhile, the button icons do not need to be stored in the client, the data load of the client is reduced, and the running speed of the client is improved. The content distribution network can distribute a closer content distribution address according to the geographic position of the client to acquire the button icon, so that the acquisition efficiency of the button icon is improved at the same time.
In an exemplary embodiment, determining a content distribution address of the button icon according to the target button configuration information includes: determining a button icon identifier according to the target button configuration information; and acquiring a corresponding content distribution address according to the button icon identifier.
Specifically, the target button configuration information records identification information corresponding to the button icon, and the corresponding content distribution address can be determined according to the identification information. According to the technical scheme provided by the embodiment of the disclosure, the association between the button icon and the content distribution address is realized through the button icon identifier, and the determining and obtaining efficiency of the button icon is improved.
In an exemplary embodiment, sending a button icon to a client, so that the client renders an interface of a preset area of a live broadcast room according to the button icon, includes: determining position information of an interface of a button icon in a preset area of a live broadcast room according to the target button configuration information; the client is used for rendering the button icons to an interface of a preset area of the live broadcast room according to the position information.
In a drumstick place, the server sends the button icon obtained through the content distribution address to the client, and the client responds to the received button icon to perform a rendering process of an interface in a preset area of a live broadcast room; specifically, the button icons are correspondingly rendered at corresponding positions of an interface of a preset area of a live broadcast room through the server according to the predetermined position information of each button icon, and are activated at the same time, so that the button icons can be clicked.
According to the technical scheme provided by the embodiment of the disclosure, the server issues the predetermined position information to the client, so that the client can render the button icon according to the parameter set in advance, and the processing efficiency of the accuracy of displaying the button icon by the client is improved.
In an exemplary embodiment, the button icons include a single status button icon and a flow status button icon; the single-state button icon is used for executing a preset function when responding to button triggering operation; the circulation state button icon is composed of at least two button icons and is used for responding to the button triggering operation, executing the preset function and switching the button icons.
The circulation state button icon means that the button has different functions and different display effects before and after being triggered; for example, the mute button usually appears in the form of a horn, and when the mute button is clicked and activated, the horn in the mute button usually has one more horizontal line to indicate that it is currently in a mute state. Therefore, the mute button is a circulation state button icon, and the preset functions corresponding to different states are different, namely, turning on the loudspeaker and turning off the loudspeaker; the two display states before and after being triggered are also different, but are a group of icons.
Specifically, a plurality of button icons in the circulation state button icons also have priorities, and the priorities can be judged according to scene information; for example, in a chat room type, the non-mute button icon should be prioritized over the mute button icon, i.e., the non-mute button is preferentially displayed by default.
Specifically, the circulation status button icons also have a priority therebetween, and the priority can be determined by the position information.
According to the technical scheme provided by the embodiment of the disclosure, the number of the button icons displayed on the interface of the preset area of the live broadcast room can be reduced by circulating the state button icons, so that the operation of a user is facilitated; meanwhile, the icon of the circulation state button is clicked to switch between at least two functional states, so that the operation efficiency is high, and the rendering efficiency of the client is also high.
In an exemplary embodiment, as shown in fig. 3, a further button configuration manner is provided, in which a user clicks a microphone, and a client obtains a button style (corresponding to a button icon) through an api interface provided by a configuration center (corresponding to a server) and then renders the button style into an application scene for description, specifically including:
step 1: the client side responds to the operation of clicking the microphone by a user and sends a request for acquiring a microphone panel button through an api interface provided by the configuration center;
step 2, API (application program interface) responds to the request, requests to take out all button styles;
step 3, acquiring all button styles;
step 4, determining the chat room type and scene when the user clicks the microphone in the request of obtaining the microphone panel button, and requesting to determine the arrangement mode of the button;
step 5, determining the arrangement mode of the buttons;
step 6, screening all button styles according to the arrangement mode of the buttons, and determining the button styles needing to be issued to the client; and requests cdn addresses (content distribution addresses) of the button styles from an icon storage center (which may be the content distribution network cdn) according to keys (icon identifications) of the button styles;
step 7, obtaining cdn addresses of the button styles;
step 8, sending cdn addresses of the button styles, the arrangement modes of the buttons and the like to the client;
step 9, if any link including calling the api interface fails to obtain the button pattern, the Betty cache can be called for rendering to obtain a temporary microphone panel;
step 10, if the cdn address of the button pattern returned by the api interface and the arrangement mode of the buttons are successfully received, rendering the button pattern; if the button patterns have different button circulation states at the same time, the button states are circulated at the same time.
According to the technical scheme provided by the embodiment of the disclosure, cdn addresses of corresponding button styles and arrangement modes of the buttons are obtained and returned to the client according to the operation of clicking the microphone by a user, and then the button styles are rendered by the client; the rendering of the style can be flexibly determined according to the scene information, and the button style rendering efficiency of the client is improved.
In an exemplary embodiment, as shown in fig. 4, another button configuration is provided, comprising:
step S410, according to the button display request of the client, acquiring scene information corresponding to the button display request; the button display request is generated by the client according to button triggering operation of a preset area of the live broadcast room.
Step S420, the scene information comprises a type identifier and an event identifier of the live broadcast room; and acquiring at least one piece of button configuration information matched with both the type identifier and the event identifier from the button configuration list.
Step S430, the button display request carries a version identification; the version identification is used for representing the application environment of the button triggering operation in the client; and screening at least one piece of button configuration information according to the version identifier, and taking the button configuration information matched with the version identifier as target button configuration information.
Step S440, determining a button icon identifier according to the target button configuration information; and acquiring a corresponding content distribution address according to the button icon identifier.
Step S450, determining the position information of the interface of the button icon in the preset area of the live broadcast room according to the target button configuration information; the client is used for rendering the button icon to an interface of a preset area of the live broadcast room according to the position information; the button icons comprise a single state button icon and a circulation state button icon; the single-state button icon is used for executing a preset function when responding to button triggering operation; the circulation state button icon is composed of at least two button icons and is used for responding to the button triggering operation, executing the preset function and switching the button icons.
According to the technical scheme provided by the embodiment of the disclosure, the corresponding target button configuration information is acquired according to the scene information corresponding to the button display request of the client, and the target button configuration information is sent to the client for rendering, so that the determining process of the button configuration information is separated from the binding with the client version, flexible determination can be performed according to the scene information, and the button configuration efficiency is improved.
It should be understood that although the various steps in the flowcharts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps or stages.
It is understood that the same/similar parts between the embodiments of the method described above in this specification can be referred to each other, and each embodiment focuses on the differences from the other embodiments, and it is sufficient that the relevant points are referred to the descriptions of the other method embodiments.
FIG. 5 is a block diagram illustrating a button configuration apparatus according to an exemplary embodiment. Referring to fig. 5, the apparatus includes a scene information determination unit 502, a configuration information acquisition unit 504, and an icon button acquisition unit 506.
A scene information determination unit 502 configured to perform acquiring scene information corresponding to a button display request according to the button display request of the client; the button display request is generated by a client according to button triggering operation of a preset area of the live broadcast room;
a configuration information acquisition unit 504 configured to perform acquisition of target button configuration information matching the scene information from the button configuration list;
and an icon button obtaining unit 506 configured to perform obtaining of a button icon corresponding to the target button configuration information, send the button icon to the client, enable the client to render an interface of a preset area of the live broadcast room according to the button icon, and display the rendered interface.
In an exemplary embodiment, the scene information includes a type identifier and an event identifier of the live broadcast;
the configuration information obtaining unit 504 is further configured to perform obtaining, from the button configuration list, at least one piece of button configuration information that matches both the type identifier and the event identifier, as the target button configuration information.
In an exemplary embodiment, the button display request carries a version identification; the version identification is used for representing the application environment of the button triggering operation in the client;
the configuration information obtaining unit 504 is further configured to perform filtering of at least one button configuration information according to the version identifier, and take the button configuration information matching with the version identifier as the target button configuration information.
In an exemplary embodiment, the icon button obtaining unit 506 is further configured to perform determining a content distribution address of the button icon according to the target button configuration information; and acquiring the button icon from the content distribution network according to the content distribution address.
In an exemplary embodiment, the icon button obtaining unit 506 is further configured to perform determining the button icon identification according to the target button configuration information; and acquiring a corresponding content distribution address according to the button icon identifier.
In an exemplary embodiment, the icon button obtaining unit 506 is further configured to execute determining location information of an interface of the button icon in a preset area of the live broadcast room according to the target button configuration information; the client is used for rendering the button icons to an interface of a preset area of the live broadcast room according to the position information.
In an exemplary embodiment, the button icons include a single status button icon and a flow status button icon; the single-state button icon is used for executing a preset function when responding to button triggering operation; the circulation state button icon is composed of at least two button icons and is used for responding to the button triggering operation, executing the preset function and switching the button icons.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 6 is a block diagram illustrating an electronic device 600 for button configuration in accordance with an exemplary embodiment. For example, the electronic device 600 may be a server. Referring to fig. 6, electronic device 600 includes a processing component 620 that further includes one or more processors, and memory resources, represented by memory 622, for storing instructions, such as application programs, that are executable by processing component 620. The application programs stored in memory 622 may include one or more modules that each correspond to a set of instructions. Further, the processing component 620 is configured to execute instructions to perform the above-described methods.
The electronic device 600 may further include: the power component 624 is configured to perform power management for the electronic device 600, the wired or wireless network interface 626 is configured to connect the electronic device 600 to a network, and the input/output (I/O) interface 628. The electronic device 600 may operate based on an operating system stored in the memory 622, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, or the like.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as the memory 622 comprising instructions, executable by the processor of the electronic device 600 to perform the above-described method is also provided. The storage medium may be a computer-readable storage medium, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, which includes instructions executable by a processor of the electronic device 600 to perform the above-described method.
It should be noted that the descriptions of the above-mentioned apparatus, the electronic device, the computer-readable storage medium, the computer program product, and the like according to the method embodiments may also include other embodiments, and specific implementations may refer to the descriptions of the related method embodiments, which are not described in detail herein.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A button configuration method, comprising:
according to a button display request of a client, acquiring scene information corresponding to the button display request; the button display request is generated by the client according to button triggering operation of a preset area of a live broadcast room;
acquiring target button configuration information matched with the scene information from a button configuration list;
and acquiring a button icon corresponding to the target button configuration information, sending the button icon to the client, rendering an interface in a preset area of the live broadcast room by the client according to the button icon, and displaying the rendered interface.
2. The method of claim 1, wherein the scene information comprises a type identifier and an event identifier of the live broadcast;
the acquiring of the target button configuration information matched with the scene information includes:
and acquiring at least one piece of button configuration information matched with both the type identifier and the event identifier from the button configuration list as the target button configuration information.
3. The method of claim 2, wherein the button display request carries a version identification; the version identification is used for representing the application environment of the button triggering operation in the client;
the obtaining of at least one button configuration information matched with both the type identifier and the event identifier as the target button configuration information includes:
and screening at least one piece of button configuration information according to the version identification, and taking the button configuration information matched with the version identification as the target button configuration information.
4. The method of claim 1, wherein the obtaining the button icon corresponding to the target button configuration information comprises:
determining a content distribution address of a button icon according to the target button configuration information;
and acquiring the button icon from a content distribution network according to the content distribution address.
5. The method of claim 4, wherein determining a content distribution address for a button icon according to the target button configuration information comprises:
determining a button icon identifier according to the target button configuration information;
and acquiring a corresponding content distribution address according to the button icon identifier.
6. The method according to any one of claims 1 to 5, wherein the sending the button icon to the client, so that the client renders an interface of the preset area of the live broadcast room according to the button icon, comprises:
determining the position information of the interface of the button icon in the preset area of the live broadcast room according to the target button configuration information; and the client is used for rendering the button icon to an interface of a preset area of the live broadcast room according to the position information.
7. A button configuring apparatus, comprising:
a scene information determination unit configured to execute acquiring scene information corresponding to a button display request according to the button display request of a client; the button display request is generated by the client according to button triggering operation of a preset area of a live broadcast room;
a configuration information acquisition unit configured to perform acquisition of target button configuration information matching the scene information from a button configuration list;
and the icon button acquisition unit is configured to execute the steps of acquiring a button icon corresponding to the target button configuration information, sending the button icon to the client, rendering the interface of the preset area of the live broadcast room by the client according to the button icon, and displaying the rendered interface.
8. A server, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the button configuration method of any of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of a server, enable the server to perform the button configuration method of any of claims 1 to 6.
10. A computer program product comprising instructions, which, when executed by a processor of a server, enable the server to carry out the button configuration method of any one of claims 1 to 6.
CN202111368325.1A 2021-11-18 2021-11-18 Button configuration method, device, server and storage medium Pending CN114040240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111368325.1A CN114040240A (en) 2021-11-18 2021-11-18 Button configuration method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111368325.1A CN114040240A (en) 2021-11-18 2021-11-18 Button configuration method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN114040240A true CN114040240A (en) 2022-02-11

Family

ID=80138076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111368325.1A Pending CN114040240A (en) 2021-11-18 2021-11-18 Button configuration method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN114040240A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114860358A (en) * 2022-03-31 2022-08-05 北京达佳互联信息技术有限公司 Object processing method and device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866537A (en) * 2020-07-27 2020-10-30 网易(杭州)网络有限公司 Information display method and device in live broadcast room, storage medium and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866537A (en) * 2020-07-27 2020-10-30 网易(杭州)网络有限公司 Information display method and device in live broadcast room, storage medium and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114860358A (en) * 2022-03-31 2022-08-05 北京达佳互联信息技术有限公司 Object processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106487781B (en) Resource data processing method, device and system based on live broadcast
US9686329B2 (en) Method and apparatus for displaying webcast rooms
CN109152095B (en) Wireless network connection method for terminal
US20180043264A1 (en) Game Accessing Method and Processing Method, Server, Terminal, and System
CN111814089B (en) Page rendering method and device, rendering server and storage medium
CN106534910B (en) Multimedia playing control system, method and device
WO2014183427A1 (en) Method and apparatus for displaying webcast rooms
CN113225572B (en) Page element display method, device and system of live broadcasting room
EP4156693A1 (en) Method and apparatus for displaying live broadcast interface
CN112057846B (en) Interaction method, device, equipment and storage medium for cloud game service scheduling
CN113613027B (en) Live broadcast room recommendation method and device and computer equipment
CN114237840A (en) Resource interaction method, device, terminal and storage medium
CN114040240A (en) Button configuration method, device, server and storage medium
CN114222003A (en) Service calling method, system, device, equipment and storage medium
CN112791385A (en) Game running method and device, control equipment and server
CN114040214A (en) Live broadcast room recommendation method and device, electronic equipment and storage medium
CN113965768A (en) Live broadcast room information display method and device, electronic equipment and server
CN113077280A (en) Electronic resource allocation method and device, electronic equipment and storage medium
CN111800551A (en) Voice navigation menu generation method and device, electronic equipment and storage medium
CN115361247B (en) Scene recommendation method and device, storage medium and electronic equipment
CN115794853B (en) Updating method and device of government affair data resource catalog, electronic equipment and medium
CN113312672B (en) Method and device for hiding user identity aiming at target applet
CN113329245B (en) Member opening method and mobile terminal
CN115643434A (en) Virtual resource sending method and device, electronic equipment and storage medium
CN112040529A (en) WiFi connection method and device

Legal Events

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