CN112764870A - Ranking list obtaining method and device, electronic equipment and storage medium - Google Patents

Ranking list obtaining method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112764870A
CN112764870A CN202110130239.0A CN202110130239A CN112764870A CN 112764870 A CN112764870 A CN 112764870A CN 202110130239 A CN202110130239 A CN 202110130239A CN 112764870 A CN112764870 A CN 112764870A
Authority
CN
China
Prior art keywords
ranking list
component
adjustable display
data
ranking
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
CN202110130239.0A
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 CN202110130239.0A priority Critical patent/CN112764870A/en
Publication of CN112764870A publication Critical patent/CN112764870A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a leader board obtaining method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a ranking list component used by the target activity; acquiring configuration data of adjustable display parameters of the ranking list component; the configuration data is the value of the corresponding adjustable display parameter; configuring adjustable display parameters of the ranking list component according to the configuration data to obtain an initial ranking list; and acquiring real-time data of the ranking list component in the initial ranking list, and adjusting the display content of the ranking list component according to the real-time data to obtain a target ranking list corresponding to the target activity. In this embodiment, by extracting the adjustable display parameters of the ranking list components, different ranking list components can be selected according to different target activities, and the adjustable display parameters can be configured according to the target activities, so that the required ranking list can be freely assembled, the effect of enriching the ranking list types is achieved, and the use experience is favorably promoted.

Description

Ranking list obtaining method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a ranking list obtaining method and apparatus, an electronic device, and a storage medium.
Background
At present, in order to increase the number of users, various activities are usually pushed out by each platform to attract the users, and in the participation process or after the activities are finished, the platforms usually make a ranking list aiming at each activity so as to feed back the ranking list to the users.
In practical applications, different types of activities often require different types of leaderboards, for example, the leaderboards for athletic activities are usually given more attention to time, and the leaderboards for business activities are given more attention to money, which requires developers to develop different types of leaderboards for different activities.
However, for developers, once there is a new leader board, the logic needs to be readjusted at the code level, making development inefficient.
Disclosure of Invention
The present disclosure provides a ranking list obtaining method and apparatus, an electronic device, and a storage medium, so as to solve the deficiencies of the related art.
According to a first aspect of the embodiments of the present disclosure, a leaderboard obtaining method is provided, which is applied to an electronic device, and the method includes:
acquiring a ranking list component used by the target activity; the leaderboard component comprises at least one adjustable display parameter;
acquiring configuration data of adjustable display parameters of the ranking list component; the configuration data is the value of the corresponding adjustable display parameter;
configuring adjustable display parameters of the ranking list component according to the configuration data to obtain an initial ranking list;
and acquiring real-time data of the ranking list component in the initial ranking list, and adjusting the display content of the ranking list component according to the real-time data to obtain a target ranking list corresponding to the target activity.
Optionally, the electronic device includes a storage area corresponding to the ranking list component, and the storage area includes configuration data of adjustable display parameters of the ranking list component;
obtaining configuration data of adjustable display parameters of the leaderboard component, including:
obtaining the configuration data from the storage area.
Optionally, before the obtaining the configuration data from the storage area, the method further includes:
responding to the detected configuration request of the adjustable display parameters, and outputting a configuration interface;
and acquiring configuration data input through the configuration interface, and storing the configuration data in a storage area corresponding to the leader board component.
Optionally, the adjustable display parameter includes a background configuration parameter of an operation object, and the operation object includes at least one of: a ranking list, a ranking object, a voting key, a prize winning table or a prize winning table accessory icon;
obtaining configuration data of adjustable display parameters of the leaderboard component, including:
and acquiring target background data of the operation object.
Optionally, the adjustable display parameters include text color configuration parameters in the leaderboard component;
obtaining configuration data of adjustable display parameters of the leaderboard component, including:
and acquiring target color data in the ranking list component.
Optionally, the adjustable display parameters include a leader board number and contents of each header;
obtaining configuration data of adjustable display parameters of the leaderboard component, including:
and acquiring the target column number of the ranking list component and the target content of each column header.
Optionally, the adjustable display parameter includes an option parameter characterizing whether to display a function item, the function item including at least one of: the award-receiving platform, the number of users, the voting key and the skipping key;
obtaining configuration data of adjustable display parameters of the leaderboard component, including:
and acquiring option data of at least one functional item of the ranking list component, and taking the option data as configuration data of the functional item.
Optionally, the adjustable display parameter includes a data source identifier corresponding to the ranking object;
obtaining configuration data of adjustable display parameters of the leaderboard component, including:
and acquiring a data source identifier corresponding to the ranking object, wherein the data source identifier is used for indicating a data source of real-time data displayed by the ranking list component.
Optionally, the ranking list component includes a data source interface, and acquiring real-time data of the ranking list component in the initial ranking list includes:
when detecting that the ranking list component in the initial ranking list has a data updating requirement, generating a real-time data acquisition request according to the ranking object in the initial ranking list; the real-time data acquisition request comprises the number of data of the request and the starting position of the data requested by the request, and is used for requesting the data source corresponding to the data source identification to feed back the real-time data of the ranking object;
sending a real-time data acquisition request to a data source through a data source interface;
and acquiring real-time data received by the data source interface so as to update the content of the ranking object into the real-time data.
According to a second aspect of the embodiments of the present disclosure, there is provided a leaderboard acquisition apparatus, applied to an electronic device, the apparatus including:
a ranking component acquisition module configured to execute a ranking list component used to acquire a target activity; the leaderboard component comprises at least one adjustable display parameter;
a configuration data acquisition module configured to perform acquisition of configuration data of adjustable display parameters of the leaderboard component; the configuration data is the value of the corresponding adjustable display parameter;
a display parameter acquisition module configured to perform configuring the adjustable display parameters of the leaderboard component according to the configuration data to obtain an initial leaderboard;
a real-time data acquisition module configured to perform acquisition of real-time data of the ranking list component in the initial ranking list, adjust display content of the ranking list component according to the real-time data, and obtain a target ranking list corresponding to the target activity
Optionally, the electronic device includes a storage area corresponding to the ranking list component, and the storage area includes configuration data of adjustable display parameters of the ranking list component; the configuration data acquisition module comprises:
a configuration data acquisition unit configured to perform acquisition of the configuration data from the storage area.
Optionally, the configuration data obtaining module includes:
a configuration interface input unit configured to execute a configuration request in response to detecting an adjustable display parameter, and output a configuration interface;
the configuration data acquisition unit is configured to acquire configuration data input through the configuration interface and store the configuration data in a storage area corresponding to the leader board component.
Optionally, the adjustable display parameter includes a background configuration parameter of an operation object, and the operation object includes at least one of: a ranking list, a ranking object, a voting key, a prize winning table or a prize winning table accessory icon; the configuration data acquisition module comprises:
a background data acquisition unit configured to perform acquisition of target background data of the operation object.
Optionally, the adjustable display parameters include text color configuration parameters in the leaderboard component;
the configuration data acquisition module comprises:
a color data acquisition unit configured to perform acquisition of target color data in the leaderboard component.
Optionally, the adjustable display parameters include a leader board number and contents of each header;
the configuration data acquisition module comprises:
a header content obtaining unit configured to perform obtaining of the target column number of the leader board component and the target content of each list header.
Optionally, the adjustable display parameter includes an option parameter characterizing whether to display a function item, the function item including at least one of: the award-receiving platform, the number of users, the voting key and the skipping key;
the configuration data acquisition module comprises:
and the option data acquisition unit is configured to acquire option data of at least one functional item of the leader board component and take the option data as configuration data of the functional item.
Optionally, the adjustable display parameter includes a data source identifier corresponding to the ranking object;
the configuration data acquisition module comprises:
and the data source identification acquisition unit is configured to execute acquisition of the data source identification corresponding to the ranking object, and the data source identification is used for indicating a data source of the real-time data displayed by the ranking list component.
Optionally, the leaderboard component includes a data source interface, and the real-time data obtaining module includes:
the data request generating unit is configured to execute generation of a real-time data acquisition request according to a ranking object in the initial ranking list when the condition that the ranking list component in the initial ranking list needs data updating is detected; the real-time data acquisition request comprises the number of data of the request and the starting position of the data requested by the request, and is used for requesting the data source corresponding to the data source identification to feed back the real-time data of the ranking object;
a data request sending unit configured to execute sending of a real-time data acquisition request to the data source through a data source interface;
a real-time data receiving unit configured to perform acquiring the real-time data received by the data source interface to update the content of the ranking object to the real-time data.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing a computer program executable by the processor;
wherein the processor is configured to execute the computer program in the memory to implement the method of any one of the above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, in which an executable computer program is provided, which, when executed by a processor of an electronic device, enables the electronic device to implement the method according to any one of the above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor of an electronic device, enables the electronic device to carry out the steps of the method according to any one of the above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
as can be seen from the foregoing embodiments, in the embodiments of the present disclosure, a leader board component used by a target activity may be acquired; the leaderboard component comprises at least one adjustable display parameter; then, acquiring configuration data of adjustable display parameters of the ranking list component; the configuration data is the value of the corresponding adjustable display parameter; then, configuring adjustable display parameters of the ranking list component according to the configuration data to obtain an initial ranking list; and finally, acquiring real-time data of the ranking list component in the initial ranking list, and adjusting the display content of the ranking list component according to the real-time data to obtain a target ranking list corresponding to the target activity. In this embodiment, by extracting the adjustable display parameters of the ranking list components, different ranking list components can be selected according to different target activities, and the adjustable display parameters can be configured according to the target activities, so that the required ranking list can be freely assembled, the effect of enriching the ranking list types is achieved, and the use experience is favorably promoted. In addition, in the embodiment, a developer does not need to readjust the development logic, so that the development workload can be reduced, and the development efficiency can be 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.
Fig. 1 is a flow diagram illustrating a leader board acquisition method according to an example embodiment.
FIG. 2 is a diagram illustrating a leader board display according to an example embodiment.
FIG. 3 is a diagram illustrating another leader board display according to an example embodiment.
FIG. 4 is a schematic diagram illustrating yet another leader board display effect according to an example embodiment.
FIG. 5 is a flow diagram illustrating a method of obtaining configuration data according to an example embodiment.
FIG. 6 is a flow chart illustrating a method of acquiring real-time data according to an exemplary embodiment.
FIG. 7 is a schematic diagram illustrating a path for acquiring real-time data according to an example embodiment.
Fig. 8 is a block diagram illustrating a leader board acquisition apparatus according to an example embodiment.
FIG. 9 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The following exemplary described embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of devices consistent with certain aspects of the present disclosure as recited in the claims below.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the 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.
In order to solve the above technical problem, an embodiment of the present disclosure provides a ranking list obtaining method, and fig. 1 is a flowchart of a ranking list obtaining method according to an exemplary embodiment, and is applied to an electronic device, where the electronic device may be a mobile terminal such as a smart phone, a tablet computer, or a personal computer, or may be a server or a server cluster. Referring to fig. 1, a leader board obtaining method includes steps 11 to 14:
in step 11, acquiring a ranking list component used by the target activity; the leaderboard component includes at least one adjustable display parameter.
In this embodiment, the leaderboard can include different leaderboard components for different activities. For example, some leaderboards set the prize winning table component, the ranking object component, the voting key in the option parameter, etc., and the effect is as shown in fig. 2; some ranking lists set ranking object components only for displaying ranking, and the effect is as shown in fig. 3; some ranking lists set ranking object components, voting keys in option parameters, and the like, and are used for displaying ranking and encouraging users to participate in voting and the like, and the effects are shown in fig. 4. In this embodiment, each ranking board includes different ranking board components, which can enrich the types of the ranking boards, so that the ranking boards are more matched with the target activities.
In this embodiment, for the case that the leaderboard of different activities includes different leaderboard components, the display parameters, that is, the adjustable display parameters, which are configurable in each leaderboard component may be extracted. In this way, each ranking board component can be applied to different ranking boards as a general component in a default state, and the general component can be changed into a fixed-projection component to be matched with the ranking boards by adjusting the adjustable display parameters of each ranking board component.
In this embodiment, the adjustable display parameters of each leader board component may be set within the configuration menu, and thus, the configuration menu may include at least one of the following adjustable display parameters:
(1) a background configuration parameter of an operation object, wherein the operation object comprises at least one of: a leaderboard, a leader object, a voting key, a prize desk, or a prize desk accessory icon. For example, the background color of the whole leader board, the ranking background color, the background color of the voting buttons, and the background color of the crown above the prize winning station.
(2) Text color configuration parameters in the leaderboard component. Such as the color of the text in each list header, the color of the text in different areas, etc.
(3) The number of leaderboard columns and the contents of each header. For example, the number of columns (e.g. 3 or 4) in the main leader board, the contents of each header (e.g. ranking number, ranking object, number of obtained categories or tickets, operation, number of fans, etc.), etc.
(4) An option parameter characterizing whether to display a functional item, wherein the functional item includes at least one of: the prize-winning platform, the number of users, the voting key, the jumping key, the key for checking more ranking objects and the like.
(5) And the data source identification corresponding to the ranking object. For example, the data source identification may be a server name, an IP address, a target activity name, a direct room in which the target activity is located, and the like.
It should be noted that, a technician may select a suitable adjustable display parameter according to a specific scenario, and under the condition that the leader board assembly can be adjusted according to the configuration data, the corresponding adjustable display parameter falls within the protection scope of the present disclosure.
In this embodiment, in a process of using the electronic device or in other scenarios, if there is a need to set a activity (hereinafter referred to as a target activity), a user may trigger a ranking list menu in the electronic device, where the ranking list menu may include a component list, and a plurality of ranking list components are included in the component list, so that the user can select the components conveniently. The electronic device can display the component list options when detecting that the user triggers the leaderboard menu. When the user triggers the component list option, the electronic device may display the component list and a blank area located around the component list in response to detecting a triggering operation for selecting the component list, for example, the component list may be located on the left side of the display area and the blank area is located on the right side of the display area, and the component list is juxtaposed to the blank area, thereby facilitating direct dragging of the selected component into the blank area and reducing the operation difficulty of the user. When the user drags any of the leaderboard components from the list of components, the electronic device may display the dragged leaderboard component in the blank area in response to detecting the dragging operation. Repeating the above process, the electronic device can obtain a leaderboard component for use with the target activity. Thus, in the embodiment, the user is allowed to freely select the ranking list components, so that different types of ranking lists are built, and the personalized requirements of the user are met.
In an embodiment, when the user triggers the component list option, the electronic device may display the component list and a selection box located before (or after) each ranking board component in the component list in response to detecting a triggering operation of selecting the component list, where the selection box allows the user to click an operation, for example, the corresponding ranking board component can be selected after clicking the selection box, which is simpler and more convenient than a dragging operation. When the user clicks any ranking list component and the corresponding selection frame, the electronic equipment determines that the ranking list component corresponding to the selection frame is selected. Repeating the above process, the electronic device can obtain at least one leaderboard component used for the target activity and display the at least one leaderboard component.
In step 12, obtaining configuration data of adjustable display parameters of the leader board component; the configuration data is a value corresponding to an adjustable display parameter.
In this embodiment, after obtaining at least one leaderboard component used for the target activity, the electronic device may obtain default configuration data of each leaderboard component, configure the adjustable display parameters according to the default configuration data, and display the at least one leaderboard component after configuration is completed. Or, in this embodiment, the universal ranking board component selected in step 11 may be subjected to a customization operation, so that the ranking board component is matched with the target activity and the ranking board component is matched with other ranking board components, and a ranking board with a better display effect is obtained.
Of course, the adjustable display parameters of each ranking list component may also be configured in advance, for example, when the user selects the ranking list component in step 11, the ranking list component may be configured, and the configuration data is stored in the corresponding storage area, that is, the configuration work of the ranking list component is completed, and at this time, the configuration data in the storage area may be stored for a long time as the static data. When the ranking list components need to be displayed, the electronic device can read the configuration data from the storage area and configure each ranking list component, namely, the update work of the adjustable display parameters of the ranking list components is completed.
It should be noted that the storage area may be a physical memory space allocated by the electronic device for the target activity, and the physical memory space is static; or a folder established by the electronic device for the target activity, and the physical memory space occupied by the folder is dynamic. Technicians can select reasonable storage areas according to specific scenes, and the corresponding scheme falls into the protection scope of the disclosure.
In this embodiment, the electronic device may detect a configuration request of the user in the process of displaying the leaderboard component. Referring to fig. 5, in step 51, upon detecting a configuration request for an adjustable display parameter, such as triggering a leader board component, the electronic device may respond to the configuration request and output a configuration interface. At this point, at least one adjustable display parameter may be included within the configuration interface. In step 52, the electronic device may obtain configuration data input via the configuration interface and store the configuration data in a storage area corresponding to the leader board component. Therefore, the configuration interface can provide the user with the configurable adjustable display parameters and can acquire the configuration data input by the user, thereby simplifying the configuration operation steps and being beneficial to improving the configuration efficiency.
In an example, the adjustable display parameters may include a background configuration parameter of the operational object. In this example, the background color of the operation object is allowed to be adjusted, so that the colors of the ranking list can be more diversified, and the corresponding operation object can be conveniently highlighted.
For example, the operation object is a ranking list, and in the process of displaying the ranking list components, the user can click the blank area to indicate that the background data of the ranking list is adjusted, and at this time, the electronic device can output a background color list. The user can select one of the colors (such as black, white, red, and the like) as the background color of the whole ranking list, and the electronic device can acquire the color selected by the user as the target background color of the ranking list.
For another example, the operation object is a prize table, and the user may click the prize table to adjust background data of the prize table, and at this time, the electronic device may output a background color list. The user may select one of the colors (e.g., red, gold, etc.) as the background color of the prize table, and the electronic device may acquire the color selected by the user as the target background color of the prize table.
In another example, the adjustable display parameters may include a text color configuration parameter in a leaderboard component. In the example, the word color is allowed to be adjusted, so that the words in the same area or the same type in the ranking list have the same color, and convenience is brought to a user to focus on the words in the same area or the same type through the word color. The electronic device can obtain a text color configuration parameter of the text in the leaderboard component. For example, in displaying the leaderboard component, the user can click on the text in the leaderboard component, at which point the electronic device can output a text color list of the text. The user may select one of the colors (e.g., black, white, red, etc.) as the target color of the text, and the electronic device may acquire the color selected by the user as the target color of the text.
In yet another example, the adjustable display parameters may include a leaderboard number and contents per head of list. In the process of displaying the leaderboard component, the user can click the first column of the leaderboard, and the electronic device can output list configuration options of the leaderboard. The user can select the corresponding column number in the list configuration option or directly input the column number in the input box, and the electronic equipment can obtain the target column number of the ranking list; then, the electronic device may output an input box of each list header according to the target number of columns, so that a user may input contents of the list header in the input box of each list header, such as a rank ordinal number, a live net red, a net red silk number, a ticket number, and the like, and the electronic device may obtain the target contents of each list header. Finally, the electronic device may rank the target number of leaderboards and the target content of each listhead. In this example, the user can increase or decrease the content displayed in the ranking list by adjusting the number of the ranking list, which is beneficial to displaying more content to achieve the effect of highlighting the features of the target activity or displaying less content to highlight the important features of the target activity, that is, the effect of displaying the content matched with the target activity can be achieved.
In yet another example, the adjustable display parameters may include an option parameter characterizing whether to display a functional item, wherein the functional item includes at least one of: the prize-winning platform, the number of users, the voting key-press and the skip key-press achieve the effect of enriching the functional items of the ranking list. In the process of displaying the ranking list component, the user can click the blank area to indicate the function items for adjusting the ranking list, and at the moment, the electronic device can output a function item list, wherein the function item list comprises candidate function items such as a prize winning table, the number of users, a voting key and a skip key, and a selection frame of each function item. Of course, the function item list and the background color list in the above embodiments may be integrated into one configuration list, and both may be used as sub-lists of the configuration list. The user may click on a selection box of at least one function item in the function item list to select the at least one function item, such as a prize desk, a voting key, and the like, as a function item newly added in the leaderboard, and the electronic device may acquire option data of the at least one function item and use the selection data as configuration data of the function item.
In yet another example, the adjustable display parameters may include a data source identification of the ranking object, facilitating user selection of a different data source. In the process of displaying the ranking list component, a user clicks a component needing to configure a data source, such as a prize desk, a ranking object, and the like, and the electronic device may output a data source list, where the data source list includes a plurality of data source identifiers, and each data source identifier is used to indicate a data source of real-time data displayed by the ranking list component. When the user selects a data source from the data source list, the electronic device may obtain a data source identifier corresponding to the ranking object.
In step 13, the adjustable display parameters of the ranking board components are configured according to the configuration data, so as to obtain an initial ranking board.
In an embodiment, the electronic device may read the configuration data from the storage area according to a preset period, and then configure the adjustable display parameter of the ranking list component based on the configuration data, so that the initial ranking list may be obtained, and the initial ranking list is ensured to be in a latest state.
In another embodiment, the electronic device may detect whether the configuration data in the storage area changes or whether the user configures the adjustable display parameters, read the configuration data from the storage area when the configuration data changes, and then configure the adjustable display parameters of the leader board component based on the configuration data, so that an initial leader board may be obtained, and the processing capacity of the electronic device may be reduced while the initial leader board is ensured to be in a latest state.
It should be noted that, when the electronic device configures the adjustable display parameters, the electronic device may compare the current configuration data of the ranking list component, and only adjust the adjustable display parameters with changed configuration data, so as to reduce the processing amount of the electronic device while ensuring that the initial ranking list is in the latest state, thereby achieving the effect of quickly obtaining the initial ranking list.
In step 14, obtaining real-time data of the ranking board components in the initial ranking board, and adjusting display contents of the ranking board components according to the real-time data to obtain a target ranking board corresponding to the target activity.
In this embodiment, referring to fig. 6, in step 61, the electronic device may detect whether the ranking list component in the initial ranking list has a data updating requirement, for example, the electronic device detects that a preset period is reached at regular time or detects that a user clicks an updating key, and when detecting that the ranking list component in the initial ranking list has a data updating requirement, a real-time data acquisition request is generated according to a ranking object in the initial ranking list; the real-time data acquisition request comprises the number of data of the request and the starting position of the data requested by the request, and is used for requesting the data source corresponding to the data source identification to feed back the real-time data of the ranking object.
In step 62, the electronic device may send a real-time data acquisition request to the data source through the data source interface, with the effect shown in fig. 7. Taking the example that the data source is arranged in the server, the electronic device can send the data acquisition request to the server through the data source interface, and the efficiency of acquiring real-time data can be improved by designating the data source interface. After receiving the real-time data obtaining request, the server may parse the real-time data obtaining request, obtain the number of pieces of data (e.g., 10 or 20 pieces of data) and the starting position (e.g., position 1 or position 11 of the next page), and return the real-time data to the electronic device.
For example, when the leader board is displayed for the first time, the number of data items requested this time may be "an array length (e.g., 15 items) that needs to be pulled when initially defaulted to be displayed for the first time"); if the real-time data acquisition request is not an initial request, the user may click a corresponding request for "view more", and the number of data requested this time may be appropriately reduced, for example, 5 data.
In step 63, the electronic device may obtain the real-time data received by the data source interface, and then adjust the display content of the ranking list component according to the real-time data, such as the ranking number, the live net reds, the ticket number, and the like, so as to obtain the target ranking list corresponding to the target activity.
Therefore, in the embodiment of the disclosure, the ranking list component used by the target activity can be acquired; the leaderboard component comprises at least one adjustable display parameter; then, acquiring configuration data of adjustable display parameters of the ranking list component; the configuration data is the value of the corresponding adjustable display parameter; then, configuring adjustable display parameters of the ranking list component according to the configuration data to obtain an initial ranking list; and finally, acquiring real-time data of the ranking list component in the initial ranking list, and adjusting the display content of the ranking list component according to the real-time data to obtain a target ranking list corresponding to the target activity. In this embodiment, by extracting the adjustable display parameters of the ranking list components, different ranking list components can be selected according to different target activities, and the adjustable display parameters can be configured according to the target activities, so that the required ranking list can be freely assembled, the effect of enriching the ranking list types is achieved, and the use experience is favorably promoted. In addition, in the embodiment, a developer does not need to readjust the development logic, so that the development workload can be reduced, and the development efficiency can be improved.
On the basis of the ranking list acquiring method provided by the embodiment of the present disclosure, an embodiment of the present disclosure further provides a ranking list acquiring apparatus applied to an electronic device, with reference to fig. 8, where the apparatus includes:
a ranking component acquisition module 81 configured to execute a ranking list component used to acquire the target activity; the leaderboard component comprises at least one adjustable display parameter;
a configuration data acquisition module 82 configured to perform acquiring configuration data of adjustable display parameters of the leaderboard component; the configuration data is the value of the corresponding adjustable display parameter;
a display parameter obtaining module 83 configured to execute configuring the adjustable display parameters of the ranking board components according to the configuration data to obtain an initial ranking board;
the real-time data obtaining module 84 is configured to perform obtaining of the real-time data of the ranking board components in the initial ranking board, and adjust the display content of the ranking board components according to the real-time data to obtain a target ranking board corresponding to the target activity.
Optionally, the electronic device includes a storage area corresponding to the ranking list component, and the storage area includes configuration data of adjustable display parameters of the ranking list component; the configuration data acquisition module comprises:
a configuration data acquisition unit configured to perform acquisition of the configuration data from the storage area.
Optionally, the configuration data obtaining module includes:
a configuration interface input unit configured to execute a configuration request in response to detecting an adjustable display parameter, and output a configuration interface;
the configuration data acquisition unit is configured to acquire configuration data input through the configuration interface and store the configuration data in a storage area corresponding to the leader board component.
Optionally, the adjustable display parameter includes a background configuration parameter of an operation object, and the operation object includes at least one of: a ranking list, a ranking object, a voting key, a prize winning table or a prize winning table accessory icon; the configuration data acquisition module comprises:
a background data acquisition unit configured to perform acquisition of target background data of the operation object.
Optionally, the adjustable display parameters include text color configuration parameters in the leaderboard component;
the configuration data acquisition module comprises:
a color data acquisition unit configured to perform acquisition of target color data in the leaderboard component.
Optionally, the adjustable display parameters include a leader board number and contents of each header;
the configuration data acquisition module comprises:
a header content obtaining unit configured to perform obtaining of the target column number of the leader board component and the target content of each list header.
Optionally, the adjustable display parameter includes an option parameter characterizing whether to display a function item, the function item including at least one of: the award-receiving platform, the number of users, the voting key and the skipping key;
the configuration data acquisition module comprises:
and the option data acquisition unit is configured to acquire option data of at least one functional item of the leader board component and take the option data as configuration data of the functional item.
Optionally, the adjustable display parameter includes a data source identifier corresponding to the ranking object;
the configuration data acquisition module comprises:
and the data source identification acquisition unit is configured to execute acquisition of the data source identification corresponding to the ranking object, and the data source identification is used for indicating a data source of the real-time data displayed by the ranking list component.
Optionally, the leaderboard component includes a data source interface, and the real-time data obtaining module includes:
the data request generating unit is configured to execute generation of a real-time data acquisition request according to a ranking object in the initial ranking list when the condition that the ranking list component in the initial ranking list needs data updating is detected; the real-time data acquisition request comprises the number of data of the request and the starting position of the data requested by the request, and is used for requesting the data source corresponding to the data source identification to feed back the real-time data of the ranking object;
a data request sending unit configured to execute sending of a real-time data acquisition request to the data source through a data source interface;
a real-time data receiving unit configured to perform acquiring the real-time data received by the data source interface to update the content of the ranking object to the real-time data.
It can be understood that the apparatus provided in the embodiment of the present disclosure corresponds to the method shown in fig. 1, and specific contents may refer to the contents of each embodiment of the method, which are not described herein again.
FIG. 9 is a block diagram illustrating an electronic device in accordance with an example embodiment. Referring to fig. 9, electronic device 900 may include one or more of the following components: a processing component 902, a memory 904, a power component 906, a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, a sensor component 914, a communication component 916, and an image capture component 918.
The processing component 902 generally controls overall operation of the electronic device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 902 may include one or more processors 920 to execute instructions. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the electronic device 900. Examples of such data include instructions for any application or method operating on the electronic device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 906 provides power to the various components of the electronic device 900. The power components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 900.
The multimedia component 908 includes a screen that provides an output interface between the electronic device 900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, the audio component 910 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing status evaluations of various aspects of the electronic device 900. For example, sensor assembly 914 may detect an open/closed state of electronic device 900, the relative positioning of components, such as a display and keypad of electronic device 900, sensor assembly 914 may also detect a change in the position of electronic device 900 or a component of electronic device 900, the presence or absence of user contact with electronic device 900, orientation or acceleration/deceleration of electronic device 900, and a change in the temperature of electronic device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate wired or wireless communication between the electronic device 900 and other devices. The electronic device 900 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an embodiment of the present disclosure, the electronic device 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing: acquiring the style parameters of the ranking list components corresponding to the target activities; the style parameter comprises a plurality of configuration parameters and control data of each configuration parameter; sequentially configuring the ranking list components based on the control data of each configuration parameter to obtain an initial ranking list; and acquiring real-time data required by each configuration parameter in the initial ranking list to obtain a target ranking list corresponding to the target activity.
In an embodiment of the present disclosure, a computer-readable storage medium is also provided, such as the memory 904 comprising an executable computer program, which may be capable of performing the steps of the method as shown in fig. 1 by the processor 920 of the electronic device 900. The computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an embodiment of the present disclosure, there is also provided a computer program product comprising a computer program which, when executed by a processor of an electronic device, enables the electronic device to perform the steps of the method as shown in fig. 1.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device/server/storage medium embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
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 embodiments discussed above that follow in general the principles of the disclosure and include 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 ranking list obtaining method is applied to electronic equipment, and the method comprises the following steps:
acquiring a ranking list component used by the target activity; the leaderboard component comprises at least one adjustable display parameter;
acquiring configuration data of adjustable display parameters of the ranking list component; the configuration data is the value of the corresponding adjustable display parameter;
configuring adjustable display parameters of the ranking list component according to the configuration data to obtain an initial ranking list;
and acquiring real-time data of the ranking list component in the initial ranking list, and adjusting the display content of the ranking list component according to the real-time data to obtain a target ranking list corresponding to the target activity.
2. The method of claim 1, wherein a storage area corresponding to the leaderboard component is included in the electronic device and the storage area includes configuration data for adjustable display parameters of the leaderboard component;
obtaining configuration data of adjustable display parameters of the leaderboard component, including:
obtaining the configuration data from the storage area.
3. The method of claim 2, wherein prior to retrieving the configuration data from the storage area, the method further comprises:
responding to the detected configuration request of the adjustable display parameters, and outputting a configuration interface;
and acquiring configuration data input through the configuration interface, and storing the configuration data in a storage area corresponding to the leader board component.
4. The method of claim 3, wherein the adjustable display parameters comprise background configuration parameters of an operator, wherein the operator comprises at least one of: a ranking list, a ranking object, a voting key, a prize winning table or a prize winning table accessory icon;
obtaining configuration data of adjustable display parameters of the leaderboard component, including:
and acquiring target background data of the operation object.
5. The method of claim 3, wherein the adjustable display parameters include a text color configuration parameter in the leaderboard component;
obtaining configuration data of adjustable display parameters of the leaderboard component, including:
and acquiring target color data in the ranking list component.
6. The method of claim 3, wherein the adjustable display parameters include a leaderboard number of columns and contents per head of column;
obtaining configuration data of adjustable display parameters of the leaderboard component, including:
and acquiring the target column number of the ranking list component and the target content of each column header.
7. A ranking list acquisition device is applied to electronic equipment, and comprises:
a ranking component acquisition module configured to execute a ranking list component used to acquire a target activity; the leaderboard component comprises at least one adjustable display parameter;
a configuration data acquisition module configured to perform acquisition of configuration data of adjustable display parameters of the leaderboard component; the configuration data is the value of the corresponding adjustable display parameter;
a display parameter acquisition module configured to perform configuring the adjustable display parameters of the leaderboard component according to the configuration data to obtain an initial leaderboard;
the real-time data acquisition module is configured to execute acquiring real-time data of the ranking list components in the initial ranking list, and adjust display contents of the ranking list components according to the real-time data to obtain a target ranking list corresponding to the target activity.
8. An electronic device, comprising:
a processor;
a memory for storing a computer program executable by the processor;
wherein the processor is configured to execute the computer program in the memory to implement the method of any of claims 1-6.
9. A computer-readable storage medium, wherein an executable computer program in the computer-readable storage medium, when executed by a processor of an electronic device, enables the electronic device to implement the method of any of claims 1-6.
10. A computer program product comprising a computer program which, when executed by a processor of an electronic device, enables the electronic device to carry out the steps of the method according to any one of claims 1 to 6.
CN202110130239.0A 2021-01-29 2021-01-29 Ranking list obtaining method and device, electronic equipment and storage medium Pending CN112764870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110130239.0A CN112764870A (en) 2021-01-29 2021-01-29 Ranking list obtaining method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110130239.0A CN112764870A (en) 2021-01-29 2021-01-29 Ranking list obtaining method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112764870A true CN112764870A (en) 2021-05-07

Family

ID=75703979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110130239.0A Pending CN112764870A (en) 2021-01-29 2021-01-29 Ranking list obtaining method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112764870A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113476854A (en) * 2021-06-30 2021-10-08 北京达佳互联信息技术有限公司 Ranking list determining method and device, electronic equipment and storage medium
CN113568917A (en) * 2021-08-13 2021-10-29 网易(杭州)网络有限公司 Data ranking method and device, electronic equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951523A (en) * 2017-03-20 2017-07-14 北京搜狐新媒体信息技术有限公司 A kind of object processing method and system
CN107291736A (en) * 2016-03-31 2017-10-24 华为技术有限公司 A kind of method and system of edit page
CN107376356A (en) * 2017-07-07 2017-11-24 腾讯科技(深圳)有限公司 List service, application on site list implementation method and device are realized for application on site
CN108495195A (en) * 2018-03-13 2018-09-04 武汉斗鱼网络科技有限公司 A kind of network direct broadcasting ranking list generation method, device, equipment and storage medium
CN110781422A (en) * 2019-09-18 2020-02-11 中国平安财产保险股份有限公司 Page configuration method and device, computer equipment and storage medium
CN111274781A (en) * 2020-01-21 2020-06-12 北京三快在线科技有限公司 Table display method and device, storage medium and electronic equipment
CN111427552A (en) * 2020-02-27 2020-07-17 深圳壹账通智能科技有限公司 Front-end component development method and device, computer equipment and storage medium
CN111589163A (en) * 2020-05-20 2020-08-28 网易(杭州)网络有限公司 Ranking list processing method, terminal device, server and storage medium
CN111610972A (en) * 2020-05-22 2020-09-01 北京百度网讯科技有限公司 Page generation method, device, equipment and storage medium
CN111679827A (en) * 2020-04-28 2020-09-18 平安国际智慧城市科技股份有限公司 H5 page generation method, device, equipment and storage medium
CN111752429A (en) * 2020-05-29 2020-10-09 维沃移动通信有限公司 Information display method, information display device, electronic equipment and medium
CN111954041A (en) * 2019-05-15 2020-11-17 上海哔哩哔哩科技有限公司 Video loading method, computer equipment and readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291736A (en) * 2016-03-31 2017-10-24 华为技术有限公司 A kind of method and system of edit page
CN106951523A (en) * 2017-03-20 2017-07-14 北京搜狐新媒体信息技术有限公司 A kind of object processing method and system
CN107376356A (en) * 2017-07-07 2017-11-24 腾讯科技(深圳)有限公司 List service, application on site list implementation method and device are realized for application on site
CN108495195A (en) * 2018-03-13 2018-09-04 武汉斗鱼网络科技有限公司 A kind of network direct broadcasting ranking list generation method, device, equipment and storage medium
CN111954041A (en) * 2019-05-15 2020-11-17 上海哔哩哔哩科技有限公司 Video loading method, computer equipment and readable storage medium
CN110781422A (en) * 2019-09-18 2020-02-11 中国平安财产保险股份有限公司 Page configuration method and device, computer equipment and storage medium
CN111274781A (en) * 2020-01-21 2020-06-12 北京三快在线科技有限公司 Table display method and device, storage medium and electronic equipment
CN111427552A (en) * 2020-02-27 2020-07-17 深圳壹账通智能科技有限公司 Front-end component development method and device, computer equipment and storage medium
CN111679827A (en) * 2020-04-28 2020-09-18 平安国际智慧城市科技股份有限公司 H5 page generation method, device, equipment and storage medium
CN111589163A (en) * 2020-05-20 2020-08-28 网易(杭州)网络有限公司 Ranking list processing method, terminal device, server and storage medium
CN111610972A (en) * 2020-05-22 2020-09-01 北京百度网讯科技有限公司 Page generation method, device, equipment and storage medium
CN111752429A (en) * 2020-05-29 2020-10-09 维沃移动通信有限公司 Information display method, information display device, electronic equipment and medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113476854A (en) * 2021-06-30 2021-10-08 北京达佳互联信息技术有限公司 Ranking list determining method and device, electronic equipment and storage medium
CN113476854B (en) * 2021-06-30 2024-04-16 北京达佳互联信息技术有限公司 Method and device for determining ranking list, electronic equipment and storage medium
CN113568917A (en) * 2021-08-13 2021-10-29 网易(杭州)网络有限公司 Data ranking method and device, electronic equipment and storage medium
CN113568917B (en) * 2021-08-13 2023-07-28 网易(杭州)网络有限公司 Data ranking method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105843615B (en) Notification message processing method and device
CN113411490B (en) Multimedia work publishing method and device, electronic equipment and storage medium
US10216711B2 (en) Information collection method and apparatus
CN112764870A (en) Ranking list obtaining method and device, electronic equipment and storage medium
CN113157179A (en) Picture adjustment parameter adjusting method and device, electronic equipment and storage medium
CN112051949A (en) Content sharing method and device and electronic equipment
CN114245154B (en) Method and device for displaying virtual articles in game live broadcast room and electronic equipment
CN109525966B (en) Intelligent device query method and device and storage medium
CN104951522B (en) Method and device for searching
CN111510556B (en) Call information processing method and device and computer storage medium
CN110913276A (en) Data processing method, device, server, terminal and storage medium
CN114268802B (en) Virtual space display method and device, electronic equipment and storage medium
CN110737373B (en) Application interface control method, device, terminal and storage medium
CN114397990A (en) Image distribution method and device, electronic equipment and computer readable storage medium
CN108717373B (en) Name display method and device of intelligent equipment and storage medium
CN106897876B (en) Terminal payment processing method and device
CN115097967B (en) Interactive information setting method and device, electronic equipment and storage medium
CN112769681B (en) Session display method and device, electronic equipment and storage medium
CN112911351B (en) Video tutorial display method, device, system and storage medium
CN114900709B (en) Object information display method and device, electronic equipment and storage medium
CN116301516A (en) Application sharing method and device, electronic equipment and storage medium
CN116088993A (en) Information display method, information display device, electronic equipment and storage medium
CN115794281A (en) Page interaction method and device, electronic equipment and storage medium
CN114047862A (en) Interface control method and device, equipment and storage medium
CN115373560A (en) Display object recommendation method and device, electronic equipment and storage medium

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