[go: up one dir, main page]

CN111930331B - Information display method and device, electronic equipment and computer readable medium - Google Patents

Information display method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN111930331B
CN111930331B CN202011011924.3A CN202011011924A CN111930331B CN 111930331 B CN111930331 B CN 111930331B CN 202011011924 A CN202011011924 A CN 202011011924A CN 111930331 B CN111930331 B CN 111930331B
Authority
CN
China
Prior art keywords
server node
information
indicates
presented
node information
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.)
Active
Application number
CN202011011924.3A
Other languages
Chinese (zh)
Other versions
CN111930331A (en
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.)
Shenzhen Juntu Technology Co.,Ltd.
Original Assignee
Beijing Missfresh Ecommerce 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 Missfresh Ecommerce Co Ltd filed Critical Beijing Missfresh Ecommerce Co Ltd
Priority to CN202011011924.3A priority Critical patent/CN111930331B/en
Publication of CN111930331A publication Critical patent/CN111930331A/en
Application granted granted Critical
Publication of CN111930331B publication Critical patent/CN111930331B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开的实施例公开了信息显示方法、装置、电子设备和计算机可读介质。该方法的一具体实施方式包括:基于预获取的维度名集以及预获取的指标值集,生成待呈现信息集,其中,该待呈现信息包括二元组集,该二元组包括维度名以及该维度名在该指标值集中对应的指标值;对该待呈现信息集中的每个待呈现信息进行分片处理以生成分片待呈现信息,得到分片待呈现信息集;将该分片待呈现信息集发送至显示终端。该实施方式提高了数据的传输效率。

Figure 202011011924

Embodiments of the present disclosure disclose information display methods, apparatuses, electronic devices, and computer-readable media. A specific implementation of the method includes: generating a set of information to be presented based on a pre-acquired dimension name set and a pre-acquired index value set, wherein the to-be-presented information includes a 2-tuple set, and the 2-tuple includes dimension names and The dimension name corresponds to the indicator value in the indicator value set; perform fragmentation processing on each to-be-presented information in the to-be-presented information set to generate fragmented to-be-presented information, and obtain the fragmented to-be-presented information set; The presence information set is sent to the display terminal. This embodiment improves the transmission efficiency of data.

Figure 202011011924

Description

信息显示方法、装置、电子设备和计算机可读介质Information display method, apparatus, electronic device and computer readable medium

技术领域technical field

本公开的实施例涉及计算机技术领域,具体涉及信息显示方法、装置、电子设备和计算机可读介质。Embodiments of the present disclosure relate to the field of computer technology, and in particular, to information display methods, apparatuses, electronic devices, and computer-readable media.

背景技术Background technique

信息显示,是一种将系统内部或外部存储器中的数据以可见或可读形式输出的技术。目前,常用的信息显示方法是存储有被用户请求的数据的服务器将被用户请求的数据直接发送至用户的显示终端。Information display is a technology that outputs the data in the system's internal or external memory in a visible or readable form. Currently, a commonly used information display method is that a server storing the data requested by the user directly sends the data requested by the user to the display terminal of the user.

然而,当采用上述方式进行信息显示时,往往会存在如下技术问题:However, when using the above method to display information, there are often the following technical problems:

第一,采用单个服务器进行数据发送并且一次发送全部数据,数据传输效率低下;First, using a single server for data transmission and sending all data at once, the data transmission efficiency is low;

第二,未综合考虑服务器自身的工作状态以及服务器与用户显示终端之间的链路状态,从而导致所确定的分片数量是固定的,导致服务器的使用效率不高;Second, the working state of the server itself and the link state between the server and the user display terminal are not comprehensively considered, resulting in a fixed number of shards, resulting in inefficient use of the server;

第三,难以根据服务器自身的工作状态以及服务器与用户显示终端之间的链路状态对服务器进行任务分配,导致服务器在发送数据时可能存在数据阻塞以及网络阻塞的问题。其中,数据阻塞是指由于服务器拥堵而导致的数据不能及时发送。Third, it is difficult to assign tasks to the server according to the working status of the server itself and the link status between the server and the user display terminal, which may cause data blocking and network blocking problems when the server sends data. Among them, data congestion means that data cannot be sent in time due to server congestion.

发明内容SUMMARY OF THE INVENTION

本公开的内容部分用于以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。本公开的内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。This summary of the disclosure serves to introduce concepts in a simplified form that are described in detail in the detailed description that follows. The content section of this disclosure is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to be used to limit the scope of the claimed technical solution.

本公开的一些实施例提出了信息显示方法、装置、电子设备和计算机可读介质,来解决以上背景技术部分提到的技术问题中的一项或多项。Some embodiments of the present disclosure propose information display methods, apparatuses, electronic devices, and computer-readable media to solve one or more of the technical problems mentioned in the background section above.

第一方面,本公开的一些实施例提供了一种信息显示方法,该方法包括:基于预获取的维度名集以及预获取的指标值集,生成待呈现信息集,其中,上述待呈现信息包括二元组集,上述二元组包括维度名以及上述维度名在上述指标值集中对应的指标值,上述维度名可以是以下至少一项:地区,预设时间段,销售率,退货率,上述指标值可以是以下至少一项:地区名称,预设时间段数值,销售率数值,退货率数值;对上述待呈现信息集中的每个待呈现信息进行分片处理以生成分片待呈现信息,得到分片待呈现信息集;将上述分片待呈现信息集发送至显示终端。In a first aspect, some embodiments of the present disclosure provide an information display method. The method includes: generating a set of information to be presented based on a pre-acquired dimension name set and a pre-acquired index value set, wherein the above-mentioned information to be presented includes: Two-tuple set, the above-mentioned two-tuple includes the dimension name and the index value corresponding to the above-mentioned dimension name in the above-mentioned index value set, and the above-mentioned dimension name can be at least one of the following: region, preset time period, sales rate, return rate, the above The index value can be at least one of the following: region name, preset time period value, sales rate value, and return rate value; perform fragmentation processing on each to-be-presented information in the above-mentioned to-be-presented information set to generate fragmented to-be-presented information, Obtaining the fragmentation to-be-presented information set; sending the fragmented to-be-presented information set to the display terminal.

在一些实施例中,所述基于所述服务器节点信息集以及所述待呈现信息确定分片数量,包括:In some embodiments, the determining the number of fragments based on the server node information set and the to-be-presented information includes:

通过以下公式确定所述分片数量:The number of shards is determined by the following formula:

Figure 562237DEST_PATH_IMAGE001
Figure 562237DEST_PATH_IMAGE001
,

其中,

Figure 10536DEST_PATH_IMAGE002
表示所述服务器节点信息集中的服务器节点信息的数量;
Figure 118169DEST_PATH_IMAGE003
表示序号;
Figure 795269DEST_PATH_IMAGE004
表示序号;
Figure 875221DEST_PATH_IMAGE005
表示序号;
Figure 494421DEST_PATH_IMAGE006
表示服务器节点信息;
Figure 27033DEST_PATH_IMAGE007
表示服务器节点信息包括的服务器节点状态值;
Figure 773404DEST_PATH_IMAGE008
表示服务器节点信息包括的链路状态值;
Figure 973441DEST_PATH_IMAGE009
表示所述服务器节点信息集中第
Figure 497963DEST_PATH_IMAGE003
个服务器节点信息包括的服务器节点状态值;
Figure 986713DEST_PATH_IMAGE010
表示所述服务器节点信息集中第
Figure 254884DEST_PATH_IMAGE003
个服务器节点信息包括的链路状态值;
Figure 71878DEST_PATH_IMAGE011
表示所述服务器节点信息集中第
Figure 298460DEST_PATH_IMAGE004
个服务器节点信息包括的服务器节点状态值;
Figure 71244DEST_PATH_IMAGE012
表示所述服务器节点信息集中第
Figure 877526DEST_PATH_IMAGE005
个服务器节点信息包括的链路状态值;
Figure 255418DEST_PATH_IMAGE013
表示所述服务器节点信息集中各个服务器节点信息包括的服务器节点状态值中的最大值;
Figure 138054DEST_PATH_IMAGE014
表示所述服务器节点信息集中各个服务器节点信息包括的链路状态值中的最大值;
Figure 398135DEST_PATH_IMAGE015
表示所述待呈现信息的信息长度;
Figure 8107DEST_PATH_IMAGE016
表示第一预设权重,取值范围为
Figure 240506DEST_PATH_IMAGE017
Figure 808890DEST_PATH_IMAGE018
表示所述分片数量。in,
Figure 10536DEST_PATH_IMAGE002
Indicates the number of server node information in the server node information set;
Figure 118169DEST_PATH_IMAGE003
Indicates the serial number;
Figure 795269DEST_PATH_IMAGE004
Indicates the serial number;
Figure 875221DEST_PATH_IMAGE005
Indicates the serial number;
Figure 494421DEST_PATH_IMAGE006
Indicates server node information;
Figure 27033DEST_PATH_IMAGE007
Indicates the server node status value included in the server node information;
Figure 773404DEST_PATH_IMAGE008
Indicates the link status value included in the server node information;
Figure 973441DEST_PATH_IMAGE009
Indicates the No. 1 in the server node information set
Figure 497963DEST_PATH_IMAGE003
The server node status value included in the server node information;
Figure 986713DEST_PATH_IMAGE010
Indicates the No. 1 in the server node information set
Figure 254884DEST_PATH_IMAGE003
The link state value included in the server node information;
Figure 71878DEST_PATH_IMAGE011
Indicates the No. 1 in the server node information set
Figure 298460DEST_PATH_IMAGE004
The server node status value included in the server node information;
Figure 71244DEST_PATH_IMAGE012
Indicates the No. 1 in the server node information set
Figure 877526DEST_PATH_IMAGE005
The link state value included in the server node information;
Figure 255418DEST_PATH_IMAGE013
Indicates the maximum value of the server node status values included in the server node information in the server node information set;
Figure 138054DEST_PATH_IMAGE014
Indicates the maximum value of the link state values included in the information of each server node in the server node information set;
Figure 398135DEST_PATH_IMAGE015
Indicates the information length of the information to be presented;
Figure 8107DEST_PATH_IMAGE016
Indicates the first preset weight, the value range is
Figure 240506DEST_PATH_IMAGE017
;
Figure 808890DEST_PATH_IMAGE018
Indicates the number of shards.

在一些实施例中,所述确定所述服务器节点信息集中每个服务器节点信息对应的服务器节点的承载能力值,包括:In some embodiments, the determining the bearing capacity value of the server node corresponding to each server node information in the server node information set includes:

通过以下公式确定所述服务器节点信息集中每个服务器节点信息对应的服务器节点的承载能力值:The bearing capacity value of the server node corresponding to each server node information in the server node information set is determined by the following formula:

Figure 41420DEST_PATH_IMAGE019
Figure 41420DEST_PATH_IMAGE019
,

其中,

Figure 658346DEST_PATH_IMAGE020
表示第二预设权重,取值范围为(0,1);
Figure 807567DEST_PATH_IMAGE021
表示第三预设权重,取值范围为
Figure 281274DEST_PATH_IMAGE022
Figure 453629DEST_PATH_IMAGE023
表示序号;
Figure 405405DEST_PATH_IMAGE007
表示服务器节点信息包括的服务器节点状态值;
Figure 425445DEST_PATH_IMAGE008
表示服务器节点信息包括的链路状态值
Figure 70053DEST_PATH_IMAGE009
表示所述服务器节点信息集中第
Figure 729704DEST_PATH_IMAGE003
个服务器节点信息包括的服务器节点状态值;
Figure 750750DEST_PATH_IMAGE010
表示所述服务器节点信息集中第
Figure 343405DEST_PATH_IMAGE003
个服务器节点信息包括的链路状态值;
Figure 362177DEST_PATH_IMAGE024
表示所述服务器节点;
Figure 56594DEST_PATH_IMAGE025
表示所述服务器节点在所述服务器节点信息集中对应的服务器节点信息包括的服务器节点状态值;
Figure 881331DEST_PATH_IMAGE026
表示所述服务器节点在所述服务器节点信息集中对应的服务器节点信息包括的链路状态值;
Figure 594072DEST_PATH_IMAGE027
表示所述承载能力值。in,
Figure 658346DEST_PATH_IMAGE020
Indicates the second preset weight, the value range is (0,1);
Figure 807567DEST_PATH_IMAGE021
Indicates the third preset weight, the value range is
Figure 281274DEST_PATH_IMAGE022
;
Figure 453629DEST_PATH_IMAGE023
Indicates the serial number;
Figure 405405DEST_PATH_IMAGE007
Indicates the server node status value included in the server node information;
Figure 425445DEST_PATH_IMAGE008
Indicates the link status value included in the server node information
Figure 70053DEST_PATH_IMAGE009
Indicates the No. 1 in the server node information set
Figure 729704DEST_PATH_IMAGE003
The server node status value included in the server node information;
Figure 750750DEST_PATH_IMAGE010
Indicates the No. 1 in the server node information set
Figure 343405DEST_PATH_IMAGE003
The link state value included in the server node information;
Figure 362177DEST_PATH_IMAGE024
represents the server node;
Figure 56594DEST_PATH_IMAGE025
Indicates the server node status value included in the server node information corresponding to the server node in the server node information set;
Figure 881331DEST_PATH_IMAGE026
Indicates the link state value included in the server node information corresponding to the server node in the server node information set;
Figure 594072DEST_PATH_IMAGE027
Indicates the carrying capacity value.

第二方面,本公开的一些实施例提供了一种信息显示装置,装置包括:生成单元,被配置成基于预获取的维度名集以及预获取的指标值集,生成待呈现信息集,其中,上述待呈现信息包括二元组集,上述二元组包括维度名以及上述维度名在上述指标值集中对应的指标值,上述维度名可以是以下至少一项:地区,预设时间段,销售率,退货率,上述指标值可以是以下至少一项:地区名称,预设时间段数值,销售率数值,退货率数值;分片处理单元,被配置成对上述待呈现信息集中的每个待呈现信息进行分片处理以生成分片待呈现信息,得到分片待呈现信息集;发送单元,被配置成将述分片待呈现信息集发送至显示终端。In a second aspect, some embodiments of the present disclosure provide an information display apparatus, the apparatus includes: a generating unit configured to generate a set of information to be presented based on a pre-acquired dimension name set and a pre-acquired index value set, wherein, The above-mentioned information to be presented includes a 2-tuple set, and the above-mentioned 2-tuple includes a dimension name and an index value corresponding to the above-mentioned dimension name in the above-mentioned index value set, and the above-mentioned dimension name can be at least one of the following: region, preset time period, sales rate , return rate, the above-mentioned index value can be at least one of the following: region name, value of preset time period, value of sales rate, value of return rate; fragmentation processing unit, configured to display each to-be-presented in the above-mentioned to-be-presented information set The information is fragmented to generate fragmented to-be-presented information, and a fragmented to-be-presented information set is obtained; the sending unit is configured to send the fragmented to-be-presented information set to the display terminal.

第三方面,本公开的一些实施例提供了一种电子设备,包括:一个或多个处理器;存储装置,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如第一方面中所描述的方法。In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device on which one or more programs are stored, when one or more programs are stored by one or more The processor executes such that the one or more processors implement the method as described in the first aspect.

第四方面,本公开的一些实施例提供了一种计算机可读介质,其上存储有计算机程序,其中,程序被处理器执行时实现如第一方面中所描述的方法。In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method as described in the first aspect.

本公开的上述各个实施例具有如下有益效果:首先,基于预获取的维度名集以及预获取的指标值集,生成待呈现信息集,其中,上述待呈现信息包括二元组集,上述二元组包括维度名以及上述维度名在上述指标值集中对应的指标值,上述维度名可以是以下至少一项:地区,预设时间段,销售率,退货率,上述指标值可以是以下至少一项:地区名称,预设时间段数值,销售率数值,退货率数值。通过对数据进行组合处理,方便下一步分片。其次,对上述待呈现信息集中的每个待呈现信息进行分片处理以生成分片待呈现信息,得到分片待呈现信息集。通过对待呈现信息进行分片处理,为下一步的信息发送进行数据准备。最后,将上述分片待呈现信息集发送至显示终端。解决了将用户请求的数据整体发送至用户的显示终端时可能存在的因数据量过大而导致的数据传输效率低下的问题。The foregoing embodiments of the present disclosure have the following beneficial effects: first, based on a pre-acquired dimension name set and a pre-acquired index value set, a set of information to be presented is generated, wherein the above-mentioned information to be presented includes a set of binary groups, and the above-mentioned binary The group includes the dimension name and the index value corresponding to the above-mentioned dimension name in the above-mentioned index value set. The above-mentioned dimension name can be at least one of the following: region, preset time period, sales rate, and return rate. The above-mentioned index value can be at least one of the following : Region name, preset time period value, sales rate value, return rate value. By combining the data, it is convenient for the next sharding. Next, each piece of information to be presented in the above information set to be presented is subjected to fragmentation processing to generate fragmented information to be presented, and a set of fragmented information to be presented is obtained. By performing fragmentation processing on the information to be presented, data preparation is performed for the next information transmission. Finally, the above-mentioned fragmented information set to be presented is sent to the display terminal. This solves the problem of low data transmission efficiency that may exist when the entire data requested by the user is sent to the user's display terminal due to an excessively large amount of data.

附图说明Description of drawings

结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent when taken in conjunction with the accompanying drawings and with reference to the following detailed description. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.

图1是根据本公开的一些实施例的信息显示方法的一个应用场景示意图;1 is a schematic diagram of an application scenario of an information display method according to some embodiments of the present disclosure;

图2是根据本公开的信息显示方法的一些实施例的流程图;2 is a flowchart of some embodiments of information display methods according to the present disclosure;

图3是根据本公开的信息显示方法的另一些实施例的流程图;FIG. 3 is a flowchart of other embodiments of the information display method according to the present disclosure;

图4是根据本公开的信息显示方法的一些实施例的结构示意图;4 is a schematic structural diagram of some embodiments of an information display method according to the present disclosure;

图5是适于用来实现本公开的一些实施例的电子设备的结构示意图。5 is a schematic structural diagram of an electronic device suitable for implementing some embodiments of the present disclosure.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例。相反,提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes, and are not intended to limit the protection scope of the present disclosure.

另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。In addition, it should be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings. The embodiments of this disclosure and features of the embodiments may be combined with each other without conflict.

需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or interdependence.

需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "a" and "a plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless the context clearly indicates otherwise, they should be understood as "one or a plurality of". multiple".

本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of these messages or information.

下面将参考附图并结合实施例来详细说明本公开。The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

图1是根据本公开的一些实施例的信息显示方法的一个应用场景示意图。FIG. 1 is a schematic diagram of an application scenario of an information display method according to some embodiments of the present disclosure.

在图1的应用场景图中,首先,计算设备101可以基于预获取的维度名集102以及预获取的指标值集103,生成待呈现信息集104,其中,上述待呈现信息包括二元组集,上述二元组包括维度名以及上述维度名在上述指标值集中对应的指标值,上述维度名可以是以下至少一项:地区,预设时间段,销售率,退货率,上述指标值可以是以下至少一项:地区名称,预设时间段数值,销售率数值,退货率数值。其次,计算设备101可以对上述待呈现信息集104中的每个待呈现信息进行分片处理以生成分片待呈现信息,得到分片待呈现信息集105。最后,计算设备101可以将上述分片待呈现信息集105发送至显示终端106。In the application scenario diagram of FIG. 1 , first, the computing device 101 can generate a set of information to be presented 104 based on the pre-acquired dimension name set 102 and the pre-acquired index value set 103 , wherein the above-mentioned information to be presented includes a set of binary groups , the above-mentioned two-tuple includes the dimension name and the index value corresponding to the above-mentioned dimension name in the above-mentioned index value set, and the above-mentioned dimension name can be at least one of the following: region, preset time period, sales rate, return rate, the above-mentioned index value can be At least one of the following: region name, preset time period value, sell-through rate value, return rate value. Next, the computing device 101 may perform fragmentation processing on each of the information to be presented in the above set of information to be presented 104 to generate fragmented information to be presented, and obtain a set of fragmented information to be presented 105 . Finally, the computing device 101 may send the above-mentioned fragmented to-be-presented information set 105 to the display terminal 106 .

需要说明的是,上述计算设备101可以是硬件,也可以是软件。当计算设备为硬件时,可以实现成多个服务器或终端设备组成的分布式集群,也可以实现成单个服务器或单个终端设备。当计算设备体现为软件时,可以安装在上述所列举的硬件设备中。其可以实现成例如用来提供分布式服务的多个软件和软件模块,也可以是实现成单个软件或软件模块。在此不做具体限定。It should be noted that the above computing device 101 may be hardware or software. When the computing device is hardware, it can be implemented as a distributed cluster composed of multiple servers or terminal devices, or can be implemented as a single server or a single terminal device. When a computing device is embodied as software, it may be installed in the hardware devices listed above. It can be implemented, for example, as multiple software and software modules for providing distributed services, or as a single software or software module. There is no specific limitation here.

应该理解,图1中的计算设备的数目仅仅是示意性的。根据实现需要,可以具有任意数目的计算设备。It should be understood that the number of computing devices in FIG. 1 is merely illustrative. There may be any number of computing devices depending on implementation needs.

继续参考图2,示出了根据本公开的信息显示方法的一些实施例的流程200。该方法可以由图1的计算设备101来执行。该信息显示方法,包括以下步骤:With continued reference to FIG. 2 , a flow 200 of some embodiments of information display methods according to the present disclosure is shown. The method may be performed by the computing device 101 of FIG. 1 . The information display method includes the following steps:

步骤201,基于预获取的维度名集以及预获取的指标值集,生成待呈现信息集。Step 201 , based on the pre-acquired dimension name set and the pre-acquired index value set, generate an information set to be presented.

在一些实施例中,信息显示方法的执行主体(如图1所示的计算设备101)可以基于预获取的维度名集以及预获取的指标值集,生成待呈现信息集。其中,上述待呈现信息包括二元组集,上述二元组包括维度名以及上述维度名在上述指标值集中对应的指标值。上述维度名可以是以下至少一项:地区,预设时间段,销售率,退货率,上述指标值可以是以下至少一项:地区名称,预设时间段数值,销售率数值,退货率数值。In some embodiments, the execution body of the information display method (the computing device 101 shown in FIG. 1 ) may generate the information set to be presented based on the pre-acquired dimension name set and the pre-acquired index value set. The information to be presented includes a set of binary groups, and the binary group includes a dimension name and an index value corresponding to the dimension name in the index value set. The above-mentioned dimension name can be at least one of the following: region, preset time period, sales rate, and return rate, and the above-mentioned indicator value can be at least one of the following: region name, preset time period value, sales rate value, and return rate value.

作为示例,上述维度名集可以是[地区,时间,销售率,退货率]。上述指标值集可以是[[华中地区,2020-2021,12%,10%],[华北地区,2020-2021,11%,15%]]。上述待呈现信息集可以是[[地区:华中地区,时间:2020-2021,销售率:12%,退货率:10%],[地区:华北地区,时间:2020-2021,销售率:11%,退货率:15%]]。As an example, the above set of dimension names can be [region, time, sale rate, return rate]. The above index value set can be [[Central China, 2020-2021, 12%, 10%], [North China, 2020-2021, 11%, 15%]]. The above information set to be presented can be [[region: Central China, time: 2020-2021, sales rate: 12%, return rate: 10%], [region: North China, time: 2020-2021, sales rate: 11% , Return rate: 15%]].

步骤202,对待呈现信息集中的每个待呈现信息进行分片处理以生成分片待呈现信息,得到分片待呈现信息集。Step 202: Perform fragmentation processing on each information to be presented in the information set to be presented to generate fragmented information to be presented, and obtain a set of fragmented information to be presented.

在一些实施例中,上述执行主体可以对上述待呈现信息集中的每个待呈现信息进行分片处理以生成分片待呈现信息,得到分片待呈现信息集。其中,分片处理是指将上述待呈现信息划分成多个数据段。可以将上述待呈现信息集中包括的每个待呈现信息作为子分片待呈现信息,得到分片待呈现信息。其中,上述分片待呈现信息包括多个子分片待呈现信息。作为示例,上述待呈现信息集可以是[[地区:华中地区,时间:2020-2021,销售率:12%,退货率:10%],[地区:华北地区,时间:2020-2021,销售率:11%,退货率:15%]]。其中,上述待呈现信息集中的每个待呈现信息包括的二元组集都包括4个二元组。可以得到分片待呈现信息集为[[[地区:华中地区],[时间:2020-2021],[销售率:12%],[退货率:10%]],[[地区:华北地区],[时间:2020-2021],[销售率:11%],[退货率:15%]]]。In some embodiments, the above-mentioned execution body may perform fragmentation processing on each to-be-presented information in the above-mentioned to-be-presented information set to generate fragmented to-be-presented information, and obtain a fragmented to-be-presented information set. The fragmentation processing refers to dividing the above-mentioned information to be presented into multiple data segments. Each piece of to-be-presented information included in the above-mentioned to-be-presented information set may be used as sub-slice to-be-presented information to obtain the segmented to-be-presented information. Wherein, the above-mentioned segment to-be-presented information includes multiple sub-segment to-be-presented information. As an example, the above information set to be presented may be [[Region: Central China, Time: 2020-2021, Sales Rate: 12%, Return Rate: 10%], [Region: North China, Time: 2020-2021, Sales Rate : 11%, return rate: 15%]]. Wherein, the set of binary groups included in each information to be presented in the above information set to be presented includes 4 binary groups. The information set to be presented by the shards can be obtained as [[[Region: Central China], [Time: 2020-2021], [Sales Rate: 12%], [Return Rate: 10%]], [[Region: North China] , [Time: 2020-2021], [Sales Rate: 11%], [Return Rate: 15%]]].

步骤203,将分片待呈现信息集发送至显示终端。Step 203: Send the fragmented information set to be presented to the display terminal.

在一些实施例中,上述执行主体将上述分片待呈现信息集发送至显示终端,可以包括以下步骤:In some embodiments, the above-mentioned execution body sends the above-mentioned fragmented information set to be presented to the display terminal, which may include the following steps:

第一步,按照逐条发送上述分片待呈现信息集中分片待呈现信息的方式,将上述分片待呈现信息集发送至显示终端。其中,逐条发送分片待呈现信息的方式还包括通过多个服务器将要发送的分片待呈现信息中的各个子分片待呈现信息并行地向显示终端进行数据发送。The first step is to send the above-mentioned set of fragmented information to be presented to the display terminal according to the method of sending the above-mentioned fragmented to-be-presented information set to be presented one by one. The method of sending the pieces of information to be presented one by one also includes sending data to the display terminal in parallel for each sub-segment to be presented information in the pieces of information to be presented to be sent through multiple servers.

本公开的上述各个实施例具有如下有益效果:首先,基于预获取的维度名集以及预获取的指标值集,生成待呈现信息集,其中,上述待呈现信息包括二元组,上述二元组包括维度名以及上述维度名在上述指标值集中对应的指标值。通过对数据进行组合处理,方便下一步分片。其次,对上述待呈现信息集中的每个待呈现信息进行分片处理以生成分片待呈现信息,得到分片待呈现信息集。通过对待呈现信息进行分片处理,为下一步的信息发送进行数据准备。最后,将上述分片待呈现信息集发送至显示终端。解决了将用户请求的数据整体发送至用户的显示终端时可能存在的因数据量过大而导致的数据传输效率低下的问题。The above-mentioned embodiments of the present disclosure have the following beneficial effects: firstly, based on the pre-acquired dimension name set and the pre-acquired index value set, a set of information to be presented is generated, wherein the above-mentioned information to be presented includes a two-tuple, and the above-mentioned two-tuple It includes the dimension name and the index value corresponding to the above-mentioned dimension name in the above-mentioned index value set. By combining the data, it is convenient for the next sharding. Next, each piece of information to be presented in the above information set to be presented is subjected to fragmentation processing to generate fragmented information to be presented, and a set of fragmented information to be presented is obtained. By performing fragmentation processing on the information to be presented, data preparation is performed for the next information transmission. Finally, the above-mentioned fragmented information set to be presented is sent to the display terminal. This solves the problem of low data transmission efficiency that may exist when the entire data requested by the user is sent to the user's display terminal due to an excessively large amount of data.

进一步参考图3,示出了根据本公开的信息显示方法的另一些实施例的流程图300。上述方法可以由图1的计算设备101来执行。上述信息显示方法,包括以下步骤:With further reference to FIG. 3, a flowchart 300 of further embodiments of information display methods according to the present disclosure is shown. The above-described method may be performed by the computing device 101 of FIG. 1 . The above information display method includes the following steps:

步骤301,基于预获取的维度名集和预获取的指标值集,生成待呈现信息集。Step 301 , based on the pre-acquired dimension name set and the pre-acquired index value set, generate an information set to be presented.

在一些实施例中,步骤301的具体实现及所带来的技术效果可以参考图2对应的那些实施例中的步骤201,在此不再赘述。In some embodiments, for the specific implementation of step 301 and the technical effects brought about, reference may be made to step 201 in those embodiments corresponding to FIG. 2 , and details are not repeated here.

步骤302,获取服务器节点信息集。Step 302, acquiring the server node information set.

在一些实施例中,上述执行主体可以通过有线连接或无线连接的方式获取服务器节点信息集。其中,上述服务器节点信息包括但不限于以下至少一项:服务器节点状态值,链路状态值。上述服务器节点状态值用于表征服务器的工作状态,上述链路状态值用于表征服务器节点信息对应的服务器节点到用户的显示终端的链路的状态。In some embodiments, the above-mentioned execution body may acquire the server node information set through a wired connection or a wireless connection. Wherein, the above-mentioned server node information includes but is not limited to at least one of the following: server node status value, link status value. The above server node state value is used to represent the working state of the server, and the above link state value is used to represent the state of the link from the server node corresponding to the server node information to the user's display terminal.

作为示例,服务器节点状态值可以是2(表征服务器正常工作),1(表征服务器部分模块工作异常)。链路状态值可以是2(表征链路通畅),1(表征链路部分阻塞)。As an example, the server node status value may be 2 (indicating that the server works normally), 1 (indicating that some modules of the server work abnormally). The link status value can be 2 (indicating that the link is smooth), 1 (indicating that the link is partially blocked).

步骤303,基于服务器节点信息集和待呈现信息确定分片数量。Step 303: Determine the number of shards based on the server node information set and the to-be-presented information.

在一些实施例中,上述执行主体可以基于服务器节点信息集和待呈现信息确定分片数量。In some embodiments, the above-mentioned execution body may determine the number of shards based on the server node information set and the information to be presented.

作为示例,可以通过以下公式确定分片数量:As an example, the number of shards can be determined by the following formula:

Figure 518165DEST_PATH_IMAGE028
Figure 518165DEST_PATH_IMAGE028
.

其中,

Figure 949147DEST_PATH_IMAGE002
表示上述服务器节点信息集中服务器节点信息的数量。
Figure 62727DEST_PATH_IMAGE015
表示上述待呈现信息的信息长度,其中,上述信息长度可以是指上述待呈现信息包括的二元组集中的二元组的数量。
Figure 895554DEST_PATH_IMAGE018
表示上述分片数量。in,
Figure 949147DEST_PATH_IMAGE002
Indicates the number of server node information in the above server node information set.
Figure 62727DEST_PATH_IMAGE015
Indicates the information length of the above-mentioned information to be presented, wherein the above-mentioned information length may refer to the number of tuples in the 2-tuple set included in the above-mentioned information to be presented.
Figure 895554DEST_PATH_IMAGE018
Indicates the number of shards above.

作为示例,上述服务器节点信息集中服务器节点信息的数量可以为2。上述待呈现信息可以是[地区:华中地区,时间:2020-2021,销售率:12%,退货率:10%],上述待呈现信息包括的二元组集中有4个二元组。可以通过上式确定分片数量为2(计算过程如下式)。As an example, the number of server node information in the foregoing server node information set may be two. The above-mentioned information to be presented may be [region: Central China, time: 2020-2021, sales rate: 12%, return rate: 10%], and the above-mentioned information to be presented includes 4 pairs of pairs. The number of shards can be determined to be 2 by the above formula (the calculation process is as follows).

Figure 990549DEST_PATH_IMAGE029
Figure 990549DEST_PATH_IMAGE029
.

在一些实施例的一些可选的实现方式中,上述执行主体可以基于服务器节点信息集和待呈现信息以及以下公式确定分片数量:In some optional implementations of some embodiments, the above-mentioned execution body may determine the number of shards based on the server node information set and the information to be presented and the following formula:

Figure 908827DEST_PATH_IMAGE030
Figure 908827DEST_PATH_IMAGE030
.

其中,

Figure 75366DEST_PATH_IMAGE002
表示上述服务器节点信息集中的服务器节点信息的数量。
Figure 247852DEST_PATH_IMAGE003
表示序号。
Figure 779328DEST_PATH_IMAGE004
表示序号。
Figure 919322DEST_PATH_IMAGE005
表示序号。
Figure 889552DEST_PATH_IMAGE006
表示服务器节点信息。
Figure 634654DEST_PATH_IMAGE007
表示服务器节点信息包括的服务器节点状态值。
Figure 133769DEST_PATH_IMAGE008
表示服务器节点信息包括的链路状态值。
Figure 777371DEST_PATH_IMAGE009
表示上述服务器节点信息集中第
Figure 223396DEST_PATH_IMAGE003
个服务器节点信息包括的服务器节点状态值。
Figure 619742DEST_PATH_IMAGE010
表示上述服务器节点信息集中第
Figure 555337DEST_PATH_IMAGE003
个服务器节点信息包括的链路状态值。
Figure 873186DEST_PATH_IMAGE011
表示上述服务器节点信息集中第
Figure 654060DEST_PATH_IMAGE004
个服务器节点信息包括的服务器节点状态值。
Figure 186804DEST_PATH_IMAGE012
表示上述服务器节点信息集中第
Figure 230983DEST_PATH_IMAGE005
个服务器节点信息包括的链路状态值。
Figure 832866DEST_PATH_IMAGE013
表示上述服务器节点信息集中各个服务器节点信息包括的服务器节点状态值中的最大值。
Figure 683010DEST_PATH_IMAGE014
表示上述服务器节点信息集中各个服务器节点信息包括的链路状态值中的最大值。
Figure 53948DEST_PATH_IMAGE015
表示上述待呈现信息的信息长度。
Figure 269029DEST_PATH_IMAGE016
表示第一预设权重,取值范围为
Figure 108940DEST_PATH_IMAGE031
Figure 497196DEST_PATH_IMAGE018
表示上述分片数量。in,
Figure 75366DEST_PATH_IMAGE002
Indicates the number of server node information in the above server node information set.
Figure 247852DEST_PATH_IMAGE003
Indicates the serial number.
Figure 779328DEST_PATH_IMAGE004
Indicates the serial number.
Figure 919322DEST_PATH_IMAGE005
Indicates the serial number.
Figure 889552DEST_PATH_IMAGE006
Indicates server node information.
Figure 634654DEST_PATH_IMAGE007
Indicates the server node status value included in the server node information.
Figure 133769DEST_PATH_IMAGE008
Indicates the link state value included in the server node information.
Figure 777371DEST_PATH_IMAGE009
Indicates the No. 1 in the above server node information set
Figure 223396DEST_PATH_IMAGE003
Each server node information includes the server node status value.
Figure 619742DEST_PATH_IMAGE010
Indicates the No. 1 in the above server node information set
Figure 555337DEST_PATH_IMAGE003
The link state value included in the server node information.
Figure 873186DEST_PATH_IMAGE011
Indicates the No. 1 in the above server node information set
Figure 654060DEST_PATH_IMAGE004
Each server node information includes the server node status value.
Figure 186804DEST_PATH_IMAGE012
Indicates the No. 1 in the above server node information set
Figure 230983DEST_PATH_IMAGE005
The link state value included in the server node information.
Figure 832866DEST_PATH_IMAGE013
Indicates the maximum value among the server node status values included in the server node information in the above server node information set.
Figure 683010DEST_PATH_IMAGE014
Indicates the maximum value among the link state values included in the information of each server node in the above server node information set.
Figure 53948DEST_PATH_IMAGE015
Indicates the information length of the above-mentioned information to be presented.
Figure 269029DEST_PATH_IMAGE016
Indicates the first preset weight, the value range is
Figure 108940DEST_PATH_IMAGE031
.
Figure 497196DEST_PATH_IMAGE018
Indicates the number of shards above.

作为示例,服务器节点信息集可以是[(1,2),(1,1),(2,2),(2,1),(2,2),(1,1),(1,1),(2,2),(2,2)]。上述服务器节点信息集中各个服务器节点信息包括的链路状态值中的最大值为2,上述服务器节点信息集中各个服务器节点信息包括的服务器节点状态值中的最大值为2。第一预设权重可以为2。上述待呈现信息可以是[地区:华中地区,时间:2020-2021,销售率:12%,退货率:10%],其中,上述待呈现信息包括的二元组集中有4个二元组。通过上述公式确定分片数量为4(计算过程如下式)。As an example, the server node information set may be [(1, 2), (1, 1), (2, 2), (2, 1), (2, 2), (1, 1), (1, 1) ), (2, 2), (2, 2)]. The maximum value of the link state values included in each server node information in the server node information set is 2, and the maximum value of the server node state values included in each server node information in the server node information set is 2. The first preset weight may be 2. The above-mentioned information to be presented may be [region: Central China, time: 2020-2021, sales rate: 12%, return rate: 10%], wherein the above-mentioned information to be presented includes 4 pairs of pairs. According to the above formula, the number of shards is determined to be 4 (the calculation process is as follows).

Figure 925903DEST_PATH_IMAGE032
Figure 925903DEST_PATH_IMAGE032
.

上述公式作为本公开的实施例的一个发明点,由此解决了背景技术提及的技术问题二,即“未综合考虑服务器自身的工作状态以及服务器与用户显示终端之间的链路状态,从而导致所确定的分片数量是固定的,导致服务器的使用效率不高”。为了解决上述技术问题二提及的问题,首先,通过将每个服务器节点的服务器状态和链路状态数值化,使得便于量化每个服务器节点的状态。其次,通过引入

Figure 108623DEST_PATH_IMAGE033
,使得能够综合考量链路状态以及服务器节点状态对服务器自身工作状态的影响。除此之外,通过引入
Figure 950677DEST_PATH_IMAGE034
,从而能够确定每个服务器的相对工作状态。此外,由于服务器自身的工作状态是动态变化的,通过待呈现信息的信息长度与各个服务器自身的工作状态的比值确定每个待呈现信息对应的分片数量。从而使得分片数量能够根据服务器状态动态确定,进而提高了服务器的利用效率。此外,上述公式还引入了第一预设权重(表征备份服务器的数量)。进而,使得能够留有一定量的服务器用于容灾,保障了数据传输是的稳定性。最终,解决了技术问题二提及的问题。The above formula is an inventive point of the embodiments of the present disclosure, thereby solving the second technical problem mentioned in the background art, that is, "the working state of the server itself and the link state between the server and the user display terminal are not comprehensively considered, so that the As a result, the number of shards determined is fixed, resulting in inefficient use of the server." In order to solve the problem mentioned in the above technical problem 2, first, by quantifying the server state and link state of each server node, it is convenient to quantify the state of each server node. Second, by introducing
Figure 108623DEST_PATH_IMAGE033
, so that the influence of the link state and the server node state on the server's own working state can be comprehensively considered. Besides, by introducing
Figure 950677DEST_PATH_IMAGE034
, so that the relative working status of each server can be determined. In addition, since the working status of the server itself changes dynamically, the number of fragments corresponding to each information to be presented is determined by the ratio of the information length of the information to be presented to the working status of each server itself. Therefore, the number of shards can be dynamically determined according to the server state, thereby improving the utilization efficiency of the server. In addition, the above formula also introduces a first preset weight (representing the number of backup servers). Furthermore, a certain amount of servers can be reserved for disaster recovery, which ensures the stability of data transmission. Finally, the problems mentioned in the second technical problem are solved.

步骤304,基于分片数量,对待呈现信息进行均匀分片处理以生成分片待呈现信息。Step 304 , based on the number of fragments, perform a uniform fragmentation process on the information to be presented to generate fragmented information to be presented.

在一些实施例中,上述执行主体可以基于分片数量,对待呈现信息进行均匀分片处理以生成分片待呈现信息。其中,均匀分片可以以字符为分片的基本单位,然后基于上述分片数量对上述待呈现信息进行均匀分片。上述分片待呈现信息包括四元组集,上述四元组包括前索引编号,子分片待呈现信息编号,子分片待呈现信息以及后索引编号。上述前索引编号可以是指上述四元组相邻的前一个四元组中的子分片待呈现信息编号。当上述四元组为上述分片待呈现信息中的第一个四元组时,上述四元组的前索引编号可以用-1表示。上述后索引编号可以是指上述四元组相邻的后一个四元组中的子分片待呈现信息编号。当上述四元组为上述分片待呈现信息中的最后一个四元组时,上述四元组的后索引编号可以用-2表示。上述子分片待呈现信息编号可以由两位数构成,第一位是指上述待呈现信息在上述待呈现信息集中的位置编号,第二位是指上述四元组在上述分片待呈现信息中的位置编号。上述子分片待呈信息是指上述待呈现信息分片后的数据片段。In some embodiments, the above-mentioned execution body may perform a uniform fragmentation process on the information to be presented based on the number of fragments to generate the fragmented information to be presented. The uniform slicing may take characters as the basic unit of slicing, and then perform uniform slicing on the above-mentioned information to be presented based on the above-mentioned number of shards. The segment to-be-presented information includes a set of quadruplets, and the quadruple includes a pre-index number, a sub- segment to-be-presented information number, sub-slice to-be-presented information, and a post-index number. The above-mentioned previous index number may refer to the number of the information to be presented of the sub-slice in the preceding quadruplet adjacent to the above-mentioned quadruplet. When the above-mentioned quadruple is the first quadruple in the above-mentioned fragmentation to-be-presented information, the preceding index number of the above-mentioned quadruple may be represented by -1. The above-mentioned post-index number may refer to the number of the information to be presented of the sub-slice in the next quadruple adjacent to the above-mentioned quadruple. When the above-mentioned quadruple is the last quadruple in the above-mentioned fragmentation to-be-presented information, the post-index number of the above-mentioned quadruple may be represented by -2. The number of the information to be presented in the sub-segment can be composed of two digits, the first bit refers to the position number of the above-mentioned information to be presented in the above-mentioned information set to be presented, and the second bit refers to the above-mentioned quadruple in the above-mentioned fragment to be presented information. position number in . The above-mentioned sub-segment to-be-presented information refers to the fragmented data segment of the above-mentioned to-be-presented information.

作为示例,上述分片数量可以是4,上述待呈现信息可以是[地区:华中地区,时间:2020-2021,销售率:12%,退货率:10%]。上述待呈现信息包含36个字符。对上述待呈现信息进行均匀分片处理以生成分片待呈现信息[(-1,00,“地区:华中地区,时”,01),(00,01“间:2020-20”,02),(01,02,“21,销售率:12”,04),(02,03,“%,退货率:10%”,-2)]。As an example, the number of shards may be 4, and the information to be presented may be [Region: Central China, Time: 2020-2021, Sales Rate: 12%, Return Rate: 10%]. The above information to be presented contains 36 characters. The above-mentioned information to be presented is evenly sharded to generate the sharded information to be presented [(-1, 00, "region: central China, hour", 01), (00, 01 "time: 2020-20", 02) , (01, 02, "21, sell rate: 12", 04), (02, 03, "%, return rate: 10%", -2)].

步骤305,基于服务器节点信息集,确定每个服务器节点信息对应的服务器节点的承载能力值,得到承载能力值集。Step 305 , based on the server node information set, determine the bearing capacity value of the server node corresponding to each server node information, and obtain a bearing capacity value set.

在一些实施例中,上述执行主体可以基于服务器节点信息集,确定每个服务器节点信息对应的服务器节点的承载能力值,得到承载能力值集。In some embodiments, the above-mentioned execution body may determine the bearing capacity value of the server node corresponding to each server node information based on the server node information set, and obtain the bearing capacity value set.

在一些实施例的一些可选的实现方式中,上述执行主体可以基于上述服务器节点信息集,通过以下公式确定每个服务器节点信息对应的服务器节点的承载能力值,得到承载能力值集:In some optional implementations of some embodiments, the above-mentioned execution body may determine, based on the above-mentioned server node information set, the bearing capacity value of the server node corresponding to each server node information by the following formula, and obtain the bearing capacity value set:

Figure 80307DEST_PATH_IMAGE035
Figure 80307DEST_PATH_IMAGE035
.

其中,

Figure 910991DEST_PATH_IMAGE020
表示第二预设权重,取值范围为(0,1)。
Figure 795771DEST_PATH_IMAGE021
表示第三预设权重,取值范围为
Figure 797225DEST_PATH_IMAGE036
Figure 527283DEST_PATH_IMAGE023
表示序号。
Figure 461741DEST_PATH_IMAGE007
表示服务器节点信息包括的服务器节点状态值。
Figure 268154DEST_PATH_IMAGE008
表示服务器节点信息包括的链路状态值。
Figure 756904DEST_PATH_IMAGE037
表示上述服务器节点信息集中第
Figure 25075DEST_PATH_IMAGE003
个服务器节点信息包括的服务器节点状态值。
Figure 345198DEST_PATH_IMAGE010
表示上述服务器节点信息集中第
Figure 509463DEST_PATH_IMAGE003
个服务器节点信息包括的链路状态值。
Figure 16667DEST_PATH_IMAGE024
表示上述服务器节点。
Figure 104840DEST_PATH_IMAGE025
表示上述服务器节点在上述服务器节点信息集中对应的服务器节点信息中的服务器节点状态值。
Figure 279470DEST_PATH_IMAGE026
表示上述服务器节点在上述服务器节点信息集中对应的服务器节点信息中的链路状态值。
Figure 349057DEST_PATH_IMAGE027
表示上述承载能力值。in,
Figure 910991DEST_PATH_IMAGE020
Indicates the second preset weight, the value range is (0,1).
Figure 795771DEST_PATH_IMAGE021
Indicates the third preset weight, the value range is
Figure 797225DEST_PATH_IMAGE036
.
Figure 527283DEST_PATH_IMAGE023
Indicates the serial number.
Figure 461741DEST_PATH_IMAGE007
Indicates the server node status value included in the server node information.
Figure 268154DEST_PATH_IMAGE008
Indicates the link state value included in the server node information.
Figure 756904DEST_PATH_IMAGE037
Indicates the No. 1 in the above server node information set
Figure 25075DEST_PATH_IMAGE003
Each server node information includes the server node status value.
Figure 345198DEST_PATH_IMAGE010
Indicates the No. 1 in the above server node information set
Figure 509463DEST_PATH_IMAGE003
The link state value included in the server node information.
Figure 16667DEST_PATH_IMAGE024
Represents the above server node.
Figure 104840DEST_PATH_IMAGE025
Indicates the server node status value in the server node information corresponding to the server node in the server node information set.
Figure 279470DEST_PATH_IMAGE026
Indicates the link state value in the server node information corresponding to the server node in the server node information set.
Figure 349057DEST_PATH_IMAGE027
Indicates the above carrying capacity value.

作为示例,上述服务器节点信息集可以是[(1,2),(1,1),(2,2),(2,1),(2,2),(1,1),(1,1),(2,2),(2,2)]。第二预设权重取值可以是0.4,第三预设权重取值可以是0.6。通过上述公式得到承载能力值集为[11.4286%,7.1429%,14.2857%,10.0%,14.2857%,7.1429%,7.1429%,14.2857%,14.2857%],其中,计算结果保留四位小数。As an example, the above server node information set may be [(1, 2), (1, 1), (2, 2), (2, 1), (2, 2), (1, 1), (1, 1), (2, 2), (2, 2)]. The value of the second preset weight may be 0.4, and the value of the third preset weight may be 0.6. The bearing capacity value set obtained by the above formula is [11.4286%, 7.1429%, 14.2857%, 10.0%, 14.2857%, 7.1429%, 7.1429%, 14.2857%, 14.2857%], and the calculation result retains four decimal places.

上述公式作为本公开的实施例的一个发明点,由此解决了背景技术提及的技术问题三,即“难以根据服务器自身的工作状态以及服务器与用户显示终端之间的链路状态对服务器进行任务分配,导致服务器在发送数据时可能存在数据阻塞以及网络阻塞的问题。”。为了解决技术问题三提及的问题,首先,考虑到了链路状态对数据传输的影响,引入了链路状态值作为参数,一定程度上缓解了因网络阻塞而造成的数据传输效率低下的问题。其次,通过第二预设权重和第三预设权重分别突出服务器节点状态值和链路状态值对上述承载能力值的影响。当着重考虑链路状态时,可以设置第三预设权重大于第二预设权重,当着重考虑服务器节点状态时,可以设置第二预设权重大于第三权重。使得公式能够根据实际需求变化,应用场景更加广泛。其次,通过

Figure 874716DEST_PATH_IMAGE038
(表征服务器的状态)和与
Figure 484689DEST_PATH_IMAGE039
(表征所有服务器的总的状态)的比值,得到每个服务器节点的承载能力值。使得每个服务器节点能够满负荷工作,避免数据量较少导致的服务器节点空闲或者数据量较大导致的数据拥塞的问题。最终,解决了技术问题三所提及的问题。The above formula is an inventive point of the embodiments of the present disclosure, thereby solving the technical problem 3 mentioned in the background art, that is, "it is difficult to perform the operation of the server according to the working state of the server itself and the link state between the server and the user display terminal. Task distribution, which leads to the problem of data blocking and network blocking when the server sends data.". In order to solve the problem mentioned in technical problem 3, first, considering the influence of link status on data transmission, the link status value is introduced as a parameter, which alleviates the problem of low data transmission efficiency caused by network congestion to a certain extent. Secondly, the influence of the server node state value and the link state value on the above bearing capacity value is highlighted through the second preset weight and the third preset weight, respectively. When the link state is mainly considered, the third preset weight may be set greater than the second preset weight, and when the server node state is mainly considered, the second preset weight may be set greater than the third weight. The formula can be changed according to actual needs, and the application scenarios are more extensive. Second, by
Figure 874716DEST_PATH_IMAGE038
(representing the state of the server) and with
Figure 484689DEST_PATH_IMAGE039
(representing the total status of all servers) ratio to get the carrying capacity value of each server node. It enables each server node to work at full load, avoiding the problem of idle server nodes caused by a small amount of data or data congestion caused by a large amount of data. Finally, the problems mentioned in technical question three are solved.

步骤306,基于承载能力值集,将分片待呈现信息集中的每个分片待呈现信息包括的各个四元组发送至各个服务器节点。Step 306: Based on the bearer capability value set, each quadruple included in each fragment to be presented information set in the fragment to be presented information set is sent to each server node.

在一些实施例中,上述执行主体可以基于承载能力值集,将分片待呈现信息集中的每个分片待呈现信息包括的各个四元组发送至各个服务器节点。其中,按照每个服务器节点对应的承载能力值与四元组的数量的乘积值确定每个服务器节点需要发送的四元组的个数。四元组按照随机的方式发送到各个服务器节点。承载能力值仅用于限定每个服务器节点需要发送的四元组的个数。In some embodiments, the above-mentioned execution subject may send each quadruple included in each fragment to be presented information set in the fragment to be presented information set to each server node based on the bearer capability value set. The number of quadruplets to be sent by each server node is determined according to the product value of the bearing capacity value corresponding to each server node and the number of quadruplets. The quadruplets are sent to each server node in a random manner. The bearer capacity value is only used to limit the number of quadruplets each server node needs to send.

步骤307,将各个服务器节点中的各个四元组并行发送至显示终端。Step 307: Send each quadruple in each server node to the display terminal in parallel.

在一些实施例中,上述执行主体可以将各个服务器节点中的各个四元组并行发送至显示终端。其中,并行发送是指各个服务器节点在并行信道上同时进行数据传输。In some embodiments, the above-mentioned execution body may send each quadruple in each server node to the display terminal in parallel. Among them, the parallel transmission refers to that each server node performs data transmission on parallel channels at the same time.

步骤308,基于各个四元组中的前索引编号,子分片待呈现信息编号以及后索引编号,对各个四元组中的子分片待呈现信息进行拼接,得到待呈现信息集。Step 308: Based on the pre-index number, the sub-slice to-be-presented information number and the post-index number in each quadruple, splicing the sub-slice to-be-presented information in each quadruple to obtain the to-be-presented information set.

在一些实施例中,上述执行主体可以基于各个四元组中的前索引编号,子分片待呈现信息编号以及后索引编号,对各个四元组中的子分片待呈现信息进行拼接,得到待呈现信息集。其中,拼接是指当一个四元组的后索引编号与另一个四元组的子分片待呈现信息编号一致时,将后一个四元组中的子分片待呈现信息拼接到前一个四元组中的子分片待呈现信息的后面,或者是指当一个四元组的前索引编号与另一个四元组的子分片待呈现信息编号一致时,将前一个四元组中的子分片待呈现信息拼接到后一个四元组中的子分片待呈现信息的后面。In some embodiments, the above-mentioned execution body may splicing the to-be-presented information of the sub-slices in each quadruple based on the pre-index number, the sub-slice to-be-presented information number, and the post-index number in each quadruple to obtain The set of information to be presented. Wherein, splicing refers to splicing the information to be presented of the sub-segment in the latter quad to the information to be presented of the sub-slice in the latter quad to the previous quad The sub-segment in the tuple is after the information to be presented, or when the front index number of one quadruple is consistent with the number of the sub-segment to be presented information of another quadruple, the The sub-slice to-be-presented information is spliced to the back of the sub-slice to-be-presented information in the next quadruple.

作为示例,各个四元组可以是(01,02,“21,销售率:12”,04),(-1,00,“地区:华中地区,时”,01),(02,03,“%,退货率:10%”,-2),(00,01“间:2020-20”,02)。对上述各个四元组进行拼接,得到待呈现信息集[[地区:华中地区,时间:2020-2021,销售率:12%,退货率:10%]]。As an example, each quadruple could be (01, 02, "21, Sales Rate: 12", 04), (-1, 00, "Region: Central China, Hours", 01), (02, 03, " %, return rate: 10%", -2), (00, 01 "between: 2020-20", 02). The above quadruples are spliced to obtain the information set to be presented [[region: central China, time: 2020-2021, sales rate: 12%, return rate: 10%]].

步骤309,将待呈现信息集在显示终端进行显示。Step 309: Display the information set to be presented on the display terminal.

在一些实施例中,上述执行主体可以将待呈现信息集在显示终端进行显示。In some embodiments, the above-mentioned execution body may set the information to be presented on the display terminal for display.

本公开的上述各个实施例中的一个实施例具有如下有益效果:通过本公开的一些实施例中的公式,使得分片的数量能够动态确定,同时能够根据服务器自身状态进行任务分配,保证了服务器的利用效率。具体来说,发明人发现,由于未能综合的考量服务器自身的工作状态以及与用户显示终端之前的链路状态,使得分片数量常常为一个固定值。此外,由于未能综合考量服务器自身的情况,常常会出现任务分配过多导致服务器无法及时处理任务,或任务分配过少导致服务器利用率不高的问题出现。基于此,本公开的一些实施例,首先,通过将每个服务器节点的服务器状态和链路状态数值化,使得便于量化每个服务器节点的状态。其次,通过引入

Figure 717087DEST_PATH_IMAGE040
,使得能够综合考量链路状态以及服务器节点状态对服务器自身工作状态的影响。除此之外,通过引入
Figure 770625DEST_PATH_IMAGE041
,从而能够确定每个服务器的相对工作状态。此外,由于服务器自身的工作状态是动态变化的,通过待呈现信息的信息长度与各个服务器自身的工作状态的比值确定每个待呈现信息对应的分片数量。从而使得分片数量能够根据服务器状态动态确定,进而提高了服务器的利用效率。此外,上述公式还引入了第一预设权重(表征备份服务器的数量)。进而,使得能够留有一定量的服务器用于容灾,保障了数据传输时的稳定性。最终,使得分片数量能够动态的确定。此外,还考虑到了链路状态对数据传输的影响,引入了链路状态值作为参数,一定程度上缓解了因网络阻塞而造成的数据传输效率低下的问题。其次,通过第二预设权重和第三预设权重分别突出服务器节点状态值和链路状态值对上述承载能力值的影响。当着重考虑链路状态时,可以设置第三预设权重大于第二预设权重,当着重考虑服务器节点状态时,可以设置第二预设权重大于第三权重。使得公式能够根据实际需求变化,应用场景更加广泛。其次,通过
Figure 518001DEST_PATH_IMAGE042
(表征服务器的状态)和与
Figure 134927DEST_PATH_IMAGE043
(表征所有服务器的总的状态)的比值,得到每个服务器节点的承载能力值。使得每个服务器节点能够满负荷工作,避免数据量较少导致的服务器节点空闲或者数据量较大导致的数据拥塞的问题。最终,提高了服务器的使用效率。One of the foregoing embodiments of the present disclosure has the following beneficial effects: through the formulas in some embodiments of the present disclosure, the number of shards can be dynamically determined, and tasks can be allocated according to the state of the server itself, ensuring that the server utilization efficiency. Specifically, the inventor found that the number of shards is often a fixed value due to failure to comprehensively consider the working state of the server itself and the link state before the display terminal with the user. In addition, due to the failure to comprehensively consider the situation of the server itself, there are often problems such as too much task allocation, which causes the server to fail to process tasks in time, or too little task allocation, which results in low server utilization. Based on this, in some embodiments of the present disclosure, first, by quantifying the server state and link state of each server node, it is convenient to quantify the state of each server node. Second, by introducing
Figure 717087DEST_PATH_IMAGE040
, so that the influence of the link state and the server node state on the server's own working state can be comprehensively considered. Besides, by introducing
Figure 770625DEST_PATH_IMAGE041
, so that the relative working status of each server can be determined. In addition, since the working status of the server itself changes dynamically, the number of fragments corresponding to each information to be presented is determined by the ratio of the information length of the information to be presented to the working status of each server itself. Therefore, the number of shards can be dynamically determined according to the server state, thereby improving the utilization efficiency of the server. In addition, the above formula also introduces a first preset weight (representing the number of backup servers). Furthermore, a certain amount of servers can be reserved for disaster recovery, which ensures the stability of data transmission. Finally, the number of shards can be dynamically determined. In addition, considering the influence of link state on data transmission, the link state value is introduced as a parameter, which alleviates the problem of low data transmission efficiency caused by network congestion to a certain extent. Secondly, the influence of the server node state value and the link state value on the above bearing capacity value is highlighted through the second preset weight and the third preset weight, respectively. When the link state is mainly considered, the third preset weight may be set greater than the second preset weight, and when the server node state is mainly considered, the second preset weight may be set greater than the third weight. The formula can be changed according to actual needs, and the application scenarios are more extensive. Second, by
Figure 518001DEST_PATH_IMAGE042
(representing the state of the server) and with
Figure 134927DEST_PATH_IMAGE043
(representing the total status of all servers) ratio to get the carrying capacity value of each server node. It enables each server node to work at full load, avoiding the problem of idle server nodes caused by a small amount of data or data congestion caused by a large amount of data. Ultimately, the efficiency of server usage is improved.

进一步参考图4,作为对上述各图上述方法的实现,本公开提供了一种信息显示装置的一些实施例,这些装置实施例与图2上述的那些方法实施例相对应,该装置具体可以应用与各种电子设备中。如图4所示,一些实施例的信息显示装置400包括:生成单元401,被配置成基于预获取的维度名集以及预获取的指标值集,生成待呈现信息集,其中,上述待呈现信息包括二元组集,上述二元组包括维度名以及上述维度名在上述指标值集中对应的指标值,上述维度名可以是以下至少一项:地区,预设时间段,销售率,退货率,上述指标值可以是以下至少一项:地区名称,预设时间段数值,销售率数值,退货率数值;分片处理单元402,被配置成对上述待呈现信息集中的每个待呈现信息进行分片处理以生成分片待呈现信息,得到分片待呈现信息集;发送单元403,被配置成将上述分片待呈现信息集发送至显示终端。With further reference to FIG. 4 , as an implementation of the above methods in the above figures, the present disclosure provides some embodiments of an information display device, these device embodiments correspond to those method embodiments described above in FIG. 2 , and the device can be applied with various electronic devices. As shown in FIG. 4 , the information display apparatus 400 of some embodiments includes: a generating unit 401 configured to generate a set of information to be presented based on a pre-acquired dimension name set and a pre-acquired index value set, wherein the above-mentioned information to be presented It includes a set of two-tuples, where the two-tuple includes the dimension name and the index value corresponding to the above-mentioned dimension name in the above-mentioned index value set, and the above-mentioned dimension name can be at least one of the following: region, preset time period, sales rate, return rate, The above-mentioned index value may be at least one of the following: a region name, a preset time period value, a sales rate value, and a return rate value; the fragmentation processing unit 402 is configured to classify each to-be-presented information in the above-mentioned to-be-presented information set. Fragment processing is performed to generate fragmentation to-be-presented information to obtain a fragmented to-be-presented information set; the sending unit 403 is configured to send the fragmented to-be-presented information set to the display terminal.

可以理解的是,该装置400中记载的诸单元与参考图2描述的方法中的各个步骤相对应。由此,上文针对方法描述的操作、特征以及产生的有益效果同样适用于装置400及其中包含的单元,在此不再赘述。It can be understood that the units recorded in the apparatus 400 correspond to the respective steps in the method described with reference to FIG. 2 . Therefore, the operations, features, and beneficial effects described above with respect to the method are also applicable to the apparatus 400 and the units included therein, and details are not described herein again.

下面参考图5,其示出了适于用来实现本公开的一些实施例的电子设备(例如图1中的计算设备101)500的结构示意图。图5示出的电子设备仅仅是一个示例,不应对本公开的实施例的功能和使用范围带来任何限制。Referring now to FIG. 5 , a schematic structural diagram of an electronic device (eg, computing device 101 in FIG. 1 ) 500 suitable for implementing some embodiments of the present disclosure is shown. The electronic device shown in FIG. 5 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.

如图5所示,电子设备500可以包括处理装置(例如中央处理器、图形处理器等)501,其可以根据存储在只读存储器(ROM)502中的程序或者从存储装置508加载到随机访问存储器(RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有电子设备500操作所需的各种程序和数据。处理装置501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。As shown in FIG. 5 , an electronic device 500 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 501 that may be loaded into random access according to a program stored in a read only memory (ROM) 502 or from a storage device 508 Various appropriate actions and processes are executed by the programs in the memory (RAM) 503 . In the RAM 503, various programs and data necessary for the operation of the electronic device 500 are also stored. The processing device 501 , the ROM 502 , and the RAM 503 are connected to each other through a bus 504 . An input/output (I/O) interface 505 is also connected to bus 504 .

通常,以下装置可以连接至I/O接口505:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置506;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置507;包括例如磁带、硬盘等的存储装置508;以及通信装置509。通信装置509可以允许电子设备500与其他设备进行无线或有线通信以交换数据。虽然图5示出了具有各种装置的电子设备500,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。图5中示出的每个方框可以代表一个装置,也可以根据需要代表多个装置。Typically, the following devices can be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 507 such as a computer; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509 . Communication means 509 may allow electronic device 500 to communicate wirelessly or by wire with other devices to exchange data. While FIG. 5 shows electronic device 500 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in FIG. 5 can represent one device, and can also represent multiple devices as required.

特别地,根据本公开的一些实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的一些实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的一些实施例中,该计算机程序可以通过通信装置509从网络上被下载和安装,或者从存储装置508被安装,或者从ROM 502被安装。在该计算机程序被处理装置501执行时,执行本公开的一些实施例的方法中限定的上述功能。In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In some such embodiments, the computer program may be downloaded and installed from the network via the communication device 509 , or from the storage device 508 , or from the ROM 502 . When the computer program is executed by the processing device 501, the above-mentioned functions defined in the methods of some embodiments of the present disclosure are performed.

需要说明的是,本公开的一些实施例上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开的一些实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开的一些实施例中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that, in some embodiments of the present disclosure, the computer-readable medium described above may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the foregoing two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. Rather, in some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.

在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText TransferProtocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and server can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium (eg, a communications network) interconnect. Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.

上述计算机可读介质可以是上述装置中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:基于预获取的维度名集以及预获取的指标值集,生成待呈现信息集,其中,上述待呈现信息包括二元组集,上述二元组包括维度名以及上述维度名在上述指标值集中对应的指标值,上述维度名可以是以下至少一项:地区,预设时间段,销售率,退货率,上述指标值可以是以下至少一项:地区名称,预设时间段数值,销售率数值,退货率数值;对上述待呈现信息集中的每个待呈现信息进行分片处理以生成分片待呈现信息,得到分片待呈现信息集;将上述分片待呈现信息集发送至显示终端。The above-mentioned computer-readable medium may be included in the above-mentioned apparatus; or may exist alone without being assembled into the electronic device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: based on the pre-acquired dimension name set and the pre-acquired index value set, generate to-be-presented An information set, wherein the above-mentioned information to be presented includes a set of two-tuples, and the above-mentioned two-tuple includes a dimension name and an index value corresponding to the above-mentioned dimension name in the above-mentioned index value set, and the above-mentioned dimension name can be at least one of the following: region, preset Time period, sales rate, and return rate, the above-mentioned index values may be at least one of the following: region name, preset time period value, sales rate value, and return rate value; Fragment processing is performed to generate fragmentation to-be-presented information, and a fragmented to-be-presented information set is obtained; the above-mentioned fragmented to-be-presented information set is sent to the display terminal.

可以以一种或多种程序设计语言或其组合来编写用于执行本公开的一些实施例的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)——连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of some embodiments of the present disclosure may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, or a combination thereof, Also included are conventional procedural programming languages - such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider to via an Internet connection).

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.

描述于本公开的一些实施例中的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括生成单元、分片处理单元、发送单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,发送单元还可以被描述为“将上述分片待呈现信息集发送至显示终端的单元”。The units described in some embodiments of the present disclosure may be implemented by means of software, and may also be implemented by means of hardware. The described unit may also be set in a processor, for example, it may be described as: a processor includes a generating unit, a fragmentation processing unit, and a sending unit. In some cases, the names of these units do not constitute a limitation on the unit itself. For example, the sending unit may also be described as "a unit that sends the above-mentioned fragmented information set to be presented to the display terminal".

本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.

以上描述仅为本公开的一些较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开的实施例中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开的实施例中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above descriptions are merely some preferred embodiments of the present disclosure and illustrations of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, and should also cover, without departing from the above-mentioned inventive concept, the above-mentioned Other technical solutions formed by any combination of technical features or their equivalent features. For example, a technical solution is formed by replacing the above features with the technical features disclosed in the embodiments of the present disclosure (but not limited to) with similar functions.

Claims (6)

1.一种信息显示方法,包括:1. An information display method, comprising: 基于预获取的维度名集以及预获取的指标值集,生成待呈现信息集,其中,所述待呈现信息包括二元组集,所述二元组包括维度名以及所述维度名在所述指标值集中对应的指标值,所述维度名是以下至少一项:地区,预设时间段,销售率,退货率,所述指标值是以下至少一项:地区名称,预设时间段数值,销售率数值,退货率数值;Based on the pre-acquired dimension name set and the pre-acquired index value set, a set of information to be presented is generated, wherein the information to be presented includes a set of two-tuples, and the two-tuple includes the dimension name and the dimension name in the The corresponding index value in the index value set, the dimension name is at least one of the following: region, preset time period, sales rate, return rate, and the index value is at least one of the following: region name, preset time period value, Sales rate value, return rate value; 对所述待呈现信息集中的每个待呈现信息进行分片处理以生成分片待呈现信息,得到分片待呈现信息集,其中,对所述待呈现信息集中的每个待呈现信息进行分片处理以生成分片待呈现信息,包括:获取服务器节点信息集;基于所述服务器节点信息集以及所述待呈现信息确定分片数量;基于所述分片数量,对所述待呈现信息进行分片处理以生成分片待呈现信息;Perform fragmentation processing on each information to be presented in the information set to be presented to generate fragmented information to be presented, and obtain a fragmented information set to be presented, wherein each information to be presented in the information set to be presented is divided into pieces. Fragment processing to generate fragmentation to-be-presented information includes: acquiring a server node information set; determining the number of fragments based on the server node information set and the to-be-presented information; Fragmentation processing to generate fragmentation to be presented information; 将所述分片待呈现信息集发送至显示终端,其中,将所述分片待呈现信息集发送至显示终端,包括:基于所述服务器节点信息集,确定所述服务器节点信息集中每个服务器节点信息对应的服务器节点的承载能力值,得到承载能力值集;基于所述承载能力值集,将所述分片待呈现信息集中每个分片待呈现信息包括的四元组集中的各个四元组发送至各个服务器节点;将所述各个服务器节点中的各个四元组并行发送至显示终端,其中,所述服务器节点信息包括以下至少一项:服务器节点状态值,链路状态值;Sending the fragmentation to-be-presented information set to the display terminal, wherein sending the fragmented to-be-presented information set to the display terminal includes: determining each server in the server node information set based on the server node information set The bearing capacity value of the server node corresponding to the node information is obtained, and a bearing capacity value set is obtained; based on the bearing capacity value set, each four-tuple set included in each fragment to be presented information set in the fragment to-be-presented information set is set. sending the tuple to each server node; sending each quadruple in the each server node to the display terminal in parallel, wherein the server node information includes at least one of the following: a server node state value, a link state value; 其中,所述基于所述服务器节点信息集以及所述待呈现信息确定分片数量,包括:Wherein, determining the number of fragments based on the server node information set and the to-be-presented information includes: 通过以下公式确定所述分片数量:The number of shards is determined by the following formula:
Figure DEST_PATH_IMAGE001
Figure DEST_PATH_IMAGE001
,
其中,
Figure 246585DEST_PATH_IMAGE002
表示所述服务器节点信息集中的服务器节点信息的数量;
Figure 104557DEST_PATH_IMAGE004
表示序号;
Figure DEST_PATH_IMAGE005
表示序号;
Figure 636032DEST_PATH_IMAGE006
表示序号;
Figure DEST_PATH_IMAGE007
表示服务器节点信息;
Figure 916972DEST_PATH_IMAGE008
表示服务器节点信息包括的服务器节点状态值;
Figure DEST_PATH_IMAGE009
表示服务器节点信息包括的链路状态值;
Figure 824885DEST_PATH_IMAGE010
表示所述服务器节点信息集中第
Figure 38829DEST_PATH_IMAGE004
个服务器节点信息包括的服务器节点状态值;
Figure DEST_PATH_IMAGE011
表示所述服务器节点信息集中第
Figure 741206DEST_PATH_IMAGE004
个服务器节点信息包括的链路状态值;
Figure 306179DEST_PATH_IMAGE012
表示所述服务器节点信息集中第
Figure 719581DEST_PATH_IMAGE005
个服务器节点信息包括的服务器节点状态值;
Figure DEST_PATH_IMAGE013
表示所述服务器节点信息集中第
Figure 53610DEST_PATH_IMAGE006
个服务器节点信息包括的链路状态值;
Figure 661309DEST_PATH_IMAGE014
表示所述服务器节点信息集中各个服务器节点信息包括的服务器节点状态值中的最大值;
Figure DEST_PATH_IMAGE015
表示所述服务器节点信息集中各个服务器节点信息包括的链路状态值中的最大值;
Figure 182420DEST_PATH_IMAGE016
表示所述待呈现信息的信息长度;
Figure DEST_PATH_IMAGE017
表示第一预设权重,取值范围为
Figure 166557DEST_PATH_IMAGE018
Figure DEST_PATH_IMAGE019
表示所述分片数量;
in,
Figure 246585DEST_PATH_IMAGE002
Indicates the number of server node information in the server node information set;
Figure 104557DEST_PATH_IMAGE004
Indicates the serial number;
Figure DEST_PATH_IMAGE005
Indicates the serial number;
Figure 636032DEST_PATH_IMAGE006
Indicates the serial number;
Figure DEST_PATH_IMAGE007
Indicates server node information;
Figure 916972DEST_PATH_IMAGE008
Indicates the server node status value included in the server node information;
Figure DEST_PATH_IMAGE009
Indicates the link status value included in the server node information;
Figure 824885DEST_PATH_IMAGE010
Indicates the No. 1 in the server node information set
Figure 38829DEST_PATH_IMAGE004
The server node status value included in the server node information;
Figure DEST_PATH_IMAGE011
Indicates the No. 1 in the server node information set
Figure 741206DEST_PATH_IMAGE004
The link state value included in the server node information;
Figure 306179DEST_PATH_IMAGE012
Indicates the No. 1 in the server node information set
Figure 719581DEST_PATH_IMAGE005
The server node status value included in the server node information;
Figure DEST_PATH_IMAGE013
Indicates the No. 1 in the server node information set
Figure 53610DEST_PATH_IMAGE006
The link state value included in the server node information;
Figure 661309DEST_PATH_IMAGE014
Indicates the maximum value of the server node status values included in the server node information in the server node information set;
Figure DEST_PATH_IMAGE015
Indicates the maximum value of the link state values included in the information of each server node in the server node information set;
Figure 182420DEST_PATH_IMAGE016
Indicates the information length of the information to be presented;
Figure DEST_PATH_IMAGE017
Indicates the first preset weight, the value range is
Figure 166557DEST_PATH_IMAGE018
;
Figure DEST_PATH_IMAGE019
Indicates the number of shards;
其中,所述确定所述服务器节点信息集中每个服务器节点信息对应的服务器节点的承载能力值,包括:Wherein, the determining the bearing capacity value of the server node corresponding to each server node information in the server node information set includes: 通过以下公式确定所述服务器节点信息集中每个服务器节点信息对应的服务器节点的承载能力值:The bearing capacity value of the server node corresponding to each server node information in the server node information set is determined by the following formula:
Figure 785452DEST_PATH_IMAGE020
Figure 785452DEST_PATH_IMAGE020
,
其中,
Figure DEST_PATH_IMAGE021
表示第二预设权重,取值范围为(0,1);
Figure 32893DEST_PATH_IMAGE022
表示第三预设权重,取值范围为
Figure DEST_PATH_IMAGE023
Figure 306880DEST_PATH_IMAGE024
表示序号;
Figure 829128DEST_PATH_IMAGE008
表示服务器节点信息包括的服务器节点状态值;
Figure 872170DEST_PATH_IMAGE009
表示服务器节点信息包括的链路状态值
Figure 821672DEST_PATH_IMAGE010
表示所述服务器节点信息集中第
Figure 379692DEST_PATH_IMAGE004
个服务器节点信息包括的服务器节点状态值;
Figure 204166DEST_PATH_IMAGE011
表示所述服务器节点信息集中第
Figure 101715DEST_PATH_IMAGE004
个服务器节点信息包括的链路状态值;
Figure DEST_PATH_IMAGE025
表示所述服务器节点;
Figure 690960DEST_PATH_IMAGE026
表示所述服务器节点在所述服务器节点信息集中对应的服务器节点信息包括的服务器节点状态值;
Figure DEST_PATH_IMAGE027
表示所述服务器节点在所述服务器节点信息集中对应的服务器节点信息包括的链路状态值;
Figure 673959DEST_PATH_IMAGE028
表示所述承载能力值。
in,
Figure DEST_PATH_IMAGE021
Indicates the second preset weight, the value range is (0,1);
Figure 32893DEST_PATH_IMAGE022
Indicates the third preset weight, the value range is
Figure DEST_PATH_IMAGE023
;
Figure 306880DEST_PATH_IMAGE024
Indicates the serial number;
Figure 829128DEST_PATH_IMAGE008
Indicates the server node status value included in the server node information;
Figure 872170DEST_PATH_IMAGE009
Indicates the link status value included in the server node information
Figure 821672DEST_PATH_IMAGE010
Indicates the No. 1 in the server node information set
Figure 379692DEST_PATH_IMAGE004
The server node status value included in the server node information;
Figure 204166DEST_PATH_IMAGE011
Indicates the No. 1 in the server node information set
Figure 101715DEST_PATH_IMAGE004
The link state value included in the server node information;
Figure DEST_PATH_IMAGE025
represents the server node;
Figure 690960DEST_PATH_IMAGE026
Indicates the server node status value included in the server node information corresponding to the server node in the server node information set;
Figure DEST_PATH_IMAGE027
Indicates the link state value included in the server node information corresponding to the server node in the server node information set;
Figure 673959DEST_PATH_IMAGE028
Indicates the carrying capacity value.
2.根据权利要求1所述的方法,其中,所述基于所述分片数量,对所述待呈现信息进行分片处理以生成分片待呈现信息,包括:2. The method according to claim 1, wherein, based on the number of fragments, performing fragmentation processing on the to-be-presented information to generate fragmented to-be-presented information, comprising: 基于所述分片数量,对所述待呈现信息进行均匀分片处理以生成分片待呈现信息,其中,所述分片待呈现信息包括四元组集,所述四元组包括前索引编号,子分片待呈现信息编号,子分片待呈现信息以及后索引编号。Based on the number of fragments, the to-be-presented information is evenly fragmented to generate fragmented to-be-presented information, wherein the fragmented to-be-presented information includes a set of quadruplets, and the quadruple includes a previous index number , the sub-slice information number to be presented, the sub-slice information to be presented and the post index number. 3.根据权利要求2所述的方法,其中,所述方法还包括:3. The method of claim 2, wherein the method further comprises: 基于所述各个四元组中的前索引编号,子分片待呈现信息编号以及后索引编号,对所述各个四元组中的子分片待呈现信息进行拼接,得到所述待呈现信息集;Based on the pre-index number, the sub-slice to-be-presented information number, and the post-index number in each quadruple, the sub-slice to-be-presented information in each quadruple is spliced to obtain the to-be-presented information set ; 将所述待呈现信息集在显示终端进行显示。The to-be-presented information set is displayed on the display terminal. 4.一种信息显示装置,包括:4. An information display device, comprising: 生成单元,被配置成基于预获取的维度名集以及预获取的指标值集,生成待呈现信息集,其中,所述待呈现信息包括二元组集,所述二元组包括维度名以及所述维度名在所述指标值集中对应的指标值,所述维度名是以下至少一项:地区,预设时间段,销售率,退货率,所述指标值是以下至少一项:地区名称,预设时间段数值,销售率数值,退货率数值;The generating unit is configured to generate an information set to be presented based on the pre-acquired dimension name set and the pre-acquired index value set, wherein the to-be-presented information includes a two-tuple set, and the two-tuple includes a dimension name and all The index value corresponding to the dimension name in the index value set, the dimension name is at least one of the following: region, preset time period, sales rate, return rate, and the index value is at least one of the following: region name, Preset time period value, sales rate value, return rate value; 分片处理单元,被配置成对所述待呈现信息集中的每个待呈现信息进行分片处理以生成分片待呈现信息,得到分片待呈现信息集,其中,所述分片处理单元被进一步配置成:获取服务器节点信息集;基于所述服务器节点信息集以及所述待呈现信息确定分片数量;基于所述分片数量,对所述待呈现信息进行分片处理以生成分片待呈现信息;A fragmentation processing unit configured to perform fragmentation processing on each to-be-presented information in the to-be-presented information set to generate fragmented to-be-presented information to obtain a fragmented to-be-presented information set, wherein the fragmented processing unit is It is further configured to: obtain a server node information set; determine the number of fragments based on the server node information set and the to-be-presented information; present information; 发送单元,被配置成将所述分片待呈现信息集发送至显示终端,其中,所述发送单元被进一步配置成:基于所述服务器节点信息集,确定所述服务器节点信息集中每个服务器节点信息对应的服务器节点的承载能力值,得到承载能力值集;基于所述承载能力值集,将所述分片待呈现信息集中每个分片待呈现信息包括的四元组集中的各个四元组发送至各个服务器节点;将所述各个服务器节点中的各个四元组并行发送至显示终端,其中,所述服务器节点信息包括以下至少一项:服务器节点状态值,链路状态值;其中,所述基于所述服务器节点信息集以及所述待呈现信息确定分片数量,包括:a sending unit configured to send the fragmented information set to be presented to the display terminal, wherein the sending unit is further configured to: determine each server node in the server node information set based on the server node information set The bearing capacity value of the server node corresponding to the information is obtained, and a bearing capacity value set is obtained; based on the bearing capacity value set, each quaternion in the quaternion set included in the information to be presented by each fragment in the information set to be presented in the fragment sending the group to each server node; sending each quadruple in each server node to the display terminal in parallel, wherein the server node information includes at least one of the following: a server node state value, a link state value; wherein, The determining the number of fragments based on the server node information set and the to-be-presented information includes: 通过以下公式确定所述分片数量:The number of shards is determined by the following formula:
Figure DEST_PATH_IMAGE029
Figure DEST_PATH_IMAGE029
,
其中,
Figure 6851DEST_PATH_IMAGE002
表示所述服务器节点信息集中的服务器节点信息的数量;
Figure 523021DEST_PATH_IMAGE004
表示序号;
Figure 876642DEST_PATH_IMAGE005
表示序号;
Figure 612517DEST_PATH_IMAGE006
表示序号;
Figure 14679DEST_PATH_IMAGE007
表示服务器节点信息;
Figure 683558DEST_PATH_IMAGE008
表示服务器节点信息包括的服务器节点状态值;
Figure 411343DEST_PATH_IMAGE009
表示服务器节点信息包括的链路状态值;
Figure 368934DEST_PATH_IMAGE010
表示所述服务器节点信息集中第
Figure 574788DEST_PATH_IMAGE004
个服务器节点信息包括的服务器节点状态值;
Figure 567015DEST_PATH_IMAGE011
表示所述服务器节点信息集中第
Figure 262438DEST_PATH_IMAGE004
个服务器节点信息包括的链路状态值;
Figure 441747DEST_PATH_IMAGE012
表示所述服务器节点信息集中第
Figure 949826DEST_PATH_IMAGE005
个服务器节点信息包括的服务器节点状态值;
Figure 858876DEST_PATH_IMAGE013
表示所述服务器节点信息集中第
Figure 397305DEST_PATH_IMAGE006
个服务器节点信息包括的链路状态值;
Figure 595068DEST_PATH_IMAGE014
表示所述服务器节点信息集中各个服务器节点信息包括的服务器节点状态值中的最大值;
Figure 142724DEST_PATH_IMAGE015
表示所述服务器节点信息集中各个服务器节点信息包括的链路状态值中的最大值;
Figure 109543DEST_PATH_IMAGE016
表示所述待呈现信息的信息长度;
Figure 84453DEST_PATH_IMAGE017
表示第一预设权重,取值范围为
Figure 769512DEST_PATH_IMAGE030
Figure 120859DEST_PATH_IMAGE019
表示所述分片数量;
in,
Figure 6851DEST_PATH_IMAGE002
Indicates the number of server node information in the server node information set;
Figure 523021DEST_PATH_IMAGE004
Indicates the serial number;
Figure 876642DEST_PATH_IMAGE005
Indicates the serial number;
Figure 612517DEST_PATH_IMAGE006
Indicates the serial number;
Figure 14679DEST_PATH_IMAGE007
Indicates server node information;
Figure 683558DEST_PATH_IMAGE008
Indicates the server node status value included in the server node information;
Figure 411343DEST_PATH_IMAGE009
Indicates the link status value included in the server node information;
Figure 368934DEST_PATH_IMAGE010
Indicates the No. 1 in the server node information set
Figure 574788DEST_PATH_IMAGE004
The server node status value included in the server node information;
Figure 567015DEST_PATH_IMAGE011
Indicates the No. 1 in the server node information set
Figure 262438DEST_PATH_IMAGE004
The link state value included in the server node information;
Figure 441747DEST_PATH_IMAGE012
Indicates the No. 1 in the server node information set
Figure 949826DEST_PATH_IMAGE005
The server node status value included in the server node information;
Figure 858876DEST_PATH_IMAGE013
Indicates the No. 1 in the server node information set
Figure 397305DEST_PATH_IMAGE006
The link state value included in the server node information;
Figure 595068DEST_PATH_IMAGE014
Indicates the maximum value of the server node status values included in the server node information in the server node information set;
Figure 142724DEST_PATH_IMAGE015
Indicates the maximum value of the link state values included in the information of each server node in the server node information set;
Figure 109543DEST_PATH_IMAGE016
Indicates the information length of the information to be presented;
Figure 84453DEST_PATH_IMAGE017
Indicates the first preset weight, the value range is
Figure 769512DEST_PATH_IMAGE030
;
Figure 120859DEST_PATH_IMAGE019
Indicates the number of shards;
其中,所述确定所述服务器节点信息集中每个服务器节点信息对应的服务器节点的承载能力值,包括:Wherein, the determining the bearing capacity value of the server node corresponding to each server node information in the server node information set includes: 通过以下公式确定所述服务器节点信息集中每个服务器节点信息对应的服务器节点的承载能力值:The bearing capacity value of the server node corresponding to each server node information in the server node information set is determined by the following formula:
Figure DEST_PATH_IMAGE031
Figure DEST_PATH_IMAGE031
,
其中,
Figure 915420DEST_PATH_IMAGE021
表示第二预设权重,取值范围为(0,1);
Figure 123548DEST_PATH_IMAGE022
表示第三预设权重,取值范围为
Figure 30324DEST_PATH_IMAGE032
Figure 919782DEST_PATH_IMAGE024
表示序号;
Figure 595614DEST_PATH_IMAGE008
表示服务器节点信息包括的服务器节点状态值;
Figure 912326DEST_PATH_IMAGE009
表示服务器节点信息包括的链路状态值
Figure 103136DEST_PATH_IMAGE010
表示所述服务器节点信息集中第
Figure 530706DEST_PATH_IMAGE004
个服务器节点信息包括的服务器节点状态值;
Figure 326624DEST_PATH_IMAGE011
表示所述服务器节点信息集中第
Figure 876554DEST_PATH_IMAGE004
个服务器节点信息包括的链路状态值;
Figure 990878DEST_PATH_IMAGE025
表示所述服务器节点;
Figure 222140DEST_PATH_IMAGE026
表示所述服务器节点在所述服务器节点信息集中对应的服务器节点信息包括的服务器节点状态值;
Figure 669301DEST_PATH_IMAGE027
表示所述服务器节点在所述服务器节点信息集中对应的服务器节点信息包括的链路状态值;
Figure 327816DEST_PATH_IMAGE028
表示所述承载能力值。
in,
Figure 915420DEST_PATH_IMAGE021
Indicates the second preset weight, the value range is (0,1);
Figure 123548DEST_PATH_IMAGE022
Indicates the third preset weight, the value range is
Figure 30324DEST_PATH_IMAGE032
;
Figure 919782DEST_PATH_IMAGE024
Indicates the serial number;
Figure 595614DEST_PATH_IMAGE008
Indicates the server node status value included in the server node information;
Figure 912326DEST_PATH_IMAGE009
Indicates the link status value included in the server node information
Figure 103136DEST_PATH_IMAGE010
Indicates the No. 1 in the server node information set
Figure 530706DEST_PATH_IMAGE004
The server node status value included in the server node information;
Figure 326624DEST_PATH_IMAGE011
Indicates the No. 1 in the server node information set
Figure 876554DEST_PATH_IMAGE004
The link state value included in the server node information;
Figure 990878DEST_PATH_IMAGE025
represents the server node;
Figure 222140DEST_PATH_IMAGE026
Indicates the server node status value included in the server node information corresponding to the server node in the server node information set;
Figure 669301DEST_PATH_IMAGE027
Indicates the link state value included in the server node information corresponding to the server node in the server node information set;
Figure 327816DEST_PATH_IMAGE028
Indicates the carrying capacity value.
5.一种电子设备,包括:5. An electronic device comprising: 一个或多个处理器;one or more processors; 存储装置,其上存储有一个或多个程序;a storage device on which one or more programs are stored; 当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-3中任一所述的方法。The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-3. 6.一种计算机可读介质,其上存储有计算机程序,其中,所述程序被处理器执行时实现如权利要求1-3中任一所述的方法。6. A computer-readable medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the method of any one of claims 1-3.
CN202011011924.3A 2020-09-24 2020-09-24 Information display method and device, electronic equipment and computer readable medium Active CN111930331B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011011924.3A CN111930331B (en) 2020-09-24 2020-09-24 Information display method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011011924.3A CN111930331B (en) 2020-09-24 2020-09-24 Information display method and device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN111930331A CN111930331A (en) 2020-11-13
CN111930331B true CN111930331B (en) 2021-02-02

Family

ID=73335113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011011924.3A Active CN111930331B (en) 2020-09-24 2020-09-24 Information display method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN111930331B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112685455B (en) * 2021-03-12 2021-11-23 北京每日优鲜电子商务有限公司 Real-time data classification display method and device, electronic equipment and readable medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8584124B2 (en) * 2010-04-20 2013-11-12 Salesforce.Com, Inc. Methods and systems for batch processing in an on-demand service environment
CN104917731B (en) * 2014-03-12 2019-04-26 深圳中兴网信科技有限公司 A kind of data that improve show the method and system of speed, server, browser
CN105976212B (en) * 2016-05-30 2020-02-07 北京京东尚科信息技术有限公司 Commodity display method and device and electronic commerce platform
CN108280767A (en) * 2017-08-28 2018-07-13 平安科技(深圳)有限公司 Method, apparatus, storage medium and the terminal of list cutting
CN108197162B (en) * 2017-12-12 2020-10-16 上海天旦网络科技发展有限公司 System and method for presenting business transaction situation
CN108446305B (en) * 2018-01-30 2020-12-01 上海天旦网络科技发展有限公司 System and method for multi-dimensional statistics of business data
CN110244949B (en) * 2019-05-06 2023-09-05 创新先进技术有限公司 Page information display method and device
CN110221778A (en) * 2019-05-27 2019-09-10 携程计算机技术(上海)有限公司 Processing method, system, storage medium and the electronic equipment of hotel's data
CN110795492B (en) * 2019-11-11 2022-06-14 国网山东省电力公司电力科学研究院 A multi-dimensional fast processing system for transaction data visualization display parameters
CN111563206B (en) * 2020-07-03 2024-01-12 秦皇岛肆拾贰宇数字科技有限公司 Item information sequence display method, device, electronic equipment and medium

Also Published As

Publication number Publication date
CN111930331A (en) 2020-11-13

Similar Documents

Publication Publication Date Title
CN112363879B (en) Cache server performance test method, device, equipment and medium
CN110795446A (en) List updating method and device, readable medium and electronic equipment
CN110532322B (en) Operation and maintenance interaction method, system, computer-readable storage medium and device
CN111932187A (en) Inventory related information display method and device, electronic equipment and readable medium
CN115640285A (en) Power abnormality information transmission method, device, electronic apparatus, and medium
CN112416632B (en) Event communication method and device, electronic equipment and computer readable medium
CN112182374B (en) Inventory control methods, devices, electronic equipment and computer-readable media
CN111930331B (en) Information display method and device, electronic equipment and computer readable medium
CN113051456B (en) Request processing method, apparatus, electronic device and computer readable medium
CN112100211B (en) Data storage method, apparatus, electronic device, and computer readable medium
CN110730109A (en) Method and apparatus for generating information
CN112019406B (en) Flow monitoring method and device, electronic equipment and computer readable medium
CN112804164B (en) Flow information generation method and device, electronic equipment and computer readable medium
CN116708564A (en) Service processing method, device, equipment and storage medium
CN112965827B (en) Information scheduling method and device, electronic equipment and computer medium
CN114785770A (en) Mirror layer file sending method and device, electronic equipment and computer readable medium
CN112100205A (en) Data processing method, device, equipment and computer readable medium
CN113420400A (en) Routing relation establishing method, request processing method, device and equipment
CN112182002A (en) Data disaster tolerance method and device, electronic equipment and computer readable medium
CN113037597B (en) Flow monitoring method and device, electronic equipment and computer readable medium
CN116755889B (en) Data acceleration method, device and equipment applied to server cluster data interaction
CN115391358A (en) Array updating method and device, electronic equipment and computer readable medium
CN116361254B (en) Image storage method, device, electronic equipment and computer-readable medium
CN116702169B (en) Data encryption migration method, electronic device and computer readable medium
CN114356295B (en) Three-dimensional model construction method and device and electronic equipment

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231110

Address after: 518000, 705, No. 121 Minsheng Avenue, Shangcun Community, Gongming Street, Guangming District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Hongli Intellectual Property Service Co.,Ltd.

Address before: 100102 room 801, 08 / F, building 7, yard 34, Chuangyuan Road, Chaoyang District, Beijing

Patentee before: BEIJING MISSFRESH E-COMMERCE Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250924

Address after: 518000Guangdong ProvinceShenzhen CityQianhai Hong Kong-Shenzhen Cooperation ZoneNanshan StreetXinghai Avenue 3046Xiangjiang Financial Building 201-059B

Patentee after: Shenzhen Juntu Technology Co.,Ltd.

Country or region after: China

Address before: 518000, 705, No. 121 Minsheng Avenue, Shangcun Community, Gongming Street, Guangming District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen Hongli Intellectual Property Service Co.,Ltd.

Country or region before: China