[go: up one dir, main page]

CN103793139A - Index item weight setting method, device and system - Google Patents

Index item weight setting method, device and system Download PDF

Info

Publication number
CN103793139A
CN103793139A CN201410041072.0A CN201410041072A CN103793139A CN 103793139 A CN103793139 A CN 103793139A CN 201410041072 A CN201410041072 A CN 201410041072A CN 103793139 A CN103793139 A CN 103793139A
Authority
CN
China
Prior art keywords
weight
index item
value
item
index
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410041072.0A
Other languages
Chinese (zh)
Inventor
安琦
张伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410041072.0A priority Critical patent/CN103793139A/en
Publication of CN103793139A publication Critical patent/CN103793139A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种指标项权重的设置方法、装置和系统。本发明实施例采用获取用户的调整命令,其中,该调整命令用于指示当前指标项权重的调整值,根据该调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值的总和不变,然后确定所有指标项调整后的权重值,并根据所有指标项调整后的权重值绘制权重示意图。该方案不仅可以大大减少出错的概率,而且可以提高操作效率。

The invention discloses a method, device and system for setting index item weights. In the embodiment of the present invention, the user's adjustment command is obtained, wherein the adjustment command is used to indicate the adjustment value of the weight of the current index item, and the weight value of the specified index item and the weight value of the current index item are adjusted according to the adjustment command, so that all The sum of the weight values of the index items remains unchanged, and then the adjusted weight values of all index items are determined, and a weight schematic diagram is drawn according to the adjusted weight values of all index items. This scheme can not only greatly reduce the probability of errors, but also improve operational efficiency.

Description

一种指标项权重的设置方法、装置和系统Method, device and system for setting index item weight

技术领域technical field

本发明涉及通信技术领域,具体涉及一种指标项权重的设置方法、装置和系统。The present invention relates to the field of communication technology, in particular to a method, device and system for setting index item weights.

背景技术Background technique

权重是一个相对的概念,是针对某一指标项而言。某一指标项的权重是指该指标项在整体评价中的相对重要程度。Weight is a relative concept, which is for a certain index item. The weight of an index item refers to the relative importance of the index item in the overall evaluation.

随着近年来通信技术的飞速发展,权重作为一个较为常用的参数,在很多场景下都会涉及到,例如,为了能不断提高综合业务性能,运营商往往需要收集用户对单一业务性能的评价,一般的,可以对各指标项进行权重分配,然后获取用户对各个指标项的评分,再由系统根据各个指标项的评分以及各个指标项对应的权重分别计算各个指标项的总分,最后,便可以利用各个指标项的总分来衡量各项业务的性能的优劣,以便进行相应处理。此外,对于终端侧的用户来说,也常常会遇到需要设置权重的情况,比如,在为终端中的各个终端应用分配流量额度时,用户可以根据各个终端应用(此时,这些终端应用即为指标项)的需求,分别为其设置权重,这样,后续就可以根据各个终端应用所对应的权重分别为其分配相应的流量额度,其中,这些权重的总和为一固定值,比如为100%,等等。可见,如何方便地对指标项权重进行设置,是一个有着普遍应用意义的问题。With the rapid development of communication technology in recent years, weight, as a commonly used parameter, is involved in many scenarios. For example, in order to continuously improve the performance of comprehensive services, operators often need to collect users' evaluations of single service performance. Yes, you can assign weights to each indicator item, and then obtain the user's score for each indicator item, and then the system calculates the total score of each indicator item based on the score of each indicator item and the corresponding weight of each indicator item, and finally, you can Use the total score of each index item to measure the pros and cons of the performance of each business, so as to deal with it accordingly. In addition, for users on the terminal side, it is often necessary to set weights. For example, when allocating traffic quotas for each terminal application in the terminal, the user can base each terminal application (at this time, these terminal applications are For the requirements of index items), set weights for them respectively, so that in the future, corresponding traffic quotas can be allocated to them according to the weights corresponding to each terminal application, where the sum of these weights is a fixed value, such as 100% ,etc. It can be seen that how to conveniently set the weight of index items is a problem with universal application significance.

在现有技术中,一般需要用户自己计算权重并进行填写和检验,而如果最终权重总和大于或者小于100%,则无法完成操作,需要重新手工计算和填写,因此,操作效率较低,而且也容易出错。In the prior art, the user generally needs to calculate the weight by himself and fill in and check it. However, if the final weight sum is greater than or less than 100%, the operation cannot be completed and manual calculation and filling are required. Therefore, the operation efficiency is low, and the Error-prone.

发明内容Contents of the invention

本发明实施例提供一种指标项权重的设置方法、装置和系统,可以提高操作效率,避免出错。Embodiments of the present invention provide a method, device and system for setting weights of index items, which can improve operation efficiency and avoid mistakes.

第一方面,本发明实施例提供一种指标项权重的设置方法,包括:In the first aspect, an embodiment of the present invention provides a method for setting index item weights, including:

获取用户的调整命令,所述调整命令用于指示当前指标项权重的调整值;Obtain an adjustment command from the user, where the adjustment command is used to indicate the adjustment value of the weight of the current index item;

根据所述调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值总和不变;Adjust the weight value of the specified index item and the weight value of the current index item according to the adjustment command, so that the sum of the weight values of all index items remains unchanged;

确定所有指标项调整后的权重值;Determine the adjusted weight values of all index items;

根据所述所有指标项调整后的权重值绘制权重示意图。Draw a weight schematic diagram according to the adjusted weight values of all the index items.

结合第一方面,在第一方面的第一种实现方式中,所述指定指标项的个数为N,所述N为大于等于1且小于等于K的正整数,所述K为所有指标项的个数,则所述根据所述调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值的总和不变,包括:In combination with the first aspect, in the first implementation of the first aspect, the number of the specified index items is N, the N is a positive integer greater than or equal to 1 and less than or equal to K, and the K is all index items number, then the weight value of the specified index item and the weight value of the current index item are adjusted according to the adjustment command, so that the sum of the weight values of all index items remains unchanged, including:

将当前指标项的权重加上所述当前指标项权重的调整值;adding the weight of the current index item to the adjustment value of the weight of the current index item;

将所述当前指标项权重的调整值除以N,得到平均调整值;Divide the adjustment value of the weight of the current index item by N to obtain the average adjustment value;

将预置的N个指定指标项的权重值分别减去所述平均调整值。The weight values of the preset N specified index items are respectively subtracted from the average adjustment value.

结合第一方面,或第一方面的第一种实现方式,在第一方面的第二种实现方式中,所述获取用户的调整命令之前,还包括:With reference to the first aspect, or the first implementation manner of the first aspect, in the second implementation manner of the first aspect, before acquiring the adjustment command from the user, it further includes:

获取设置信息;Get setting information;

根据所述设置信息设置用户的调整命令与权重的调整值的对应关系;Setting the corresponding relationship between the adjustment command of the user and the adjustment value of the weight according to the setting information;

则所述获取用户的调整命令,所述调整命令用于指示当前指标项权重的调整值,具体为:获取用户的调整命令,根据所述用户的调整命令与权重的调整值的对应关系确定获取到的调整命令所指示的当前指标项权重的调整值。The acquisition of the adjustment command of the user, the adjustment command is used to indicate the adjustment value of the weight of the current index item, specifically: the adjustment command of the user is acquired, and the acquisition is determined according to the corresponding relationship between the adjustment command of the user and the adjustment value of the weight. The adjustment value of the weight of the current index item indicated by the adjustment command received.

结合第一方面、第一方面的第一或第二种实现方式,在第一方面的第三种实现方式中,所述根据所述调整命令对预置的指定指标项的权重值进行调整之后,还包括:In combination with the first aspect and the first or second implementation of the first aspect, in the third implementation of the first aspect, after adjusting the weight value of the preset specified index item according to the adjustment command ,Also includes:

若所述指定指标项调整后的权重值为0,则在确定所述指定指标项在权重示意图中的相邻指标项为非当前指标项且为非指定指标项时,将权重值为0的指定指标项在权重示意图中的相邻指标项设置为新的指定指标项。If the adjusted weight value of the designated index item is 0, when it is determined that the adjacent index item of the designated index item in the weight schematic diagram is not the current index item and is a non-designated index item, the weight value of 0 The adjacent index items of the designated index item in the weight schematic diagram are set as the new designated index item.

结合第一方面、第一方面的第一、第二或第三种实现方式,在第一方面的第四种实现方式中,所述获取用户的调整命令,包括:In combination with the first aspect, the first, the second or the third implementation manner of the first aspect, in the fourth implementation manner of the first aspect, the acquisition of the user's adjustment command includes:

获取用户在操作屏幕上的手势,所述手势用于指示当前指标项权重的调整值;或者,Obtaining the user's gesture on the operation screen, where the gesture is used to indicate the adjustment value of the weight of the current index item; or,

获取用户通过输入设备输入的操作指令,所述操作指令用于指示当前指标项权重的调整值。The operation instruction input by the user through the input device is acquired, and the operation instruction is used to indicate the adjustment value of the weight of the current index item.

结合第一方面的第四种实现方式,在第一方面的第五种实现方式中,在获取用户在操作屏幕上的手势,或者,获取用户通过输入设备输入的操作指令时,还包括:In combination with the fourth implementation of the first aspect, in the fifth implementation of the first aspect, when acquiring the gesture of the user on the operation screen, or acquiring the operation instruction input by the user through the input device, it also includes:

在权重示意图中通过滑块或线条移动的方式动态反映所述手势或操作指令。The gesture or operation instruction is dynamically reflected in the weight diagram by moving a slider or a line.

结合第一方面、第一方面的第一、第二、第三、第四或第五种实现方式,在第一方面的第六种实现方式中:In combination with the first aspect, the first, second, third, fourth or fifth implementation of the first aspect, in the sixth implementation of the first aspect:

所述权重示意图为圆形、椭圆形、矩形或方形。The schematic diagram of the weight is a circle, an ellipse, a rectangle or a square.

第二方面,本发明实施例还提供一种指标项权重的设置装置,包括获取单元、调整单元、确定单元和绘制单元;In the second aspect, the embodiment of the present invention also provides a device for setting the weight of index items, including an acquisition unit, an adjustment unit, a determination unit, and a drawing unit;

获取单元,用于获取用户的调整命令,所述调整命令用于指示当前指标项权重的调整值;An acquisition unit, configured to acquire an adjustment command from a user, where the adjustment command is used to indicate the adjustment value of the weight of the current index item;

调整单元,用于根据所述获取单元获取的调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值的总和不变;An adjustment unit, configured to adjust the weight value of the specified index item and the weight value of the current index item according to the adjustment command obtained by the acquisition unit, so that the sum of the weight values of all index items remains unchanged;

确定单元,用于确定所有指标项调整后的权重值;Determination unit, used to determine the adjusted weight values of all index items;

绘制单元,用于根据所述确定单元得到的所有指标项调整后的权重值绘制权重示意图。A drawing unit, configured to draw a schematic diagram of weights according to the adjusted weight values of all index items obtained by the determining unit.

结合第二方面,在第二方面的第一种可能的实施方式中,其中:With reference to the second aspect, in the first possible implementation manner of the second aspect, wherein:

所述调整单元,具体用于将当前指标项的权重加上所述当前指标项权重的调整值,将所述当前指标项权重的调整值除以N,得到平均调整值,将预置的N个指定指标项的权重值分别减去所述平均调整值;其中,所述指定指标项的个数为N,所述N为大于等于1且小于等于K的正整数,所述K为所有指标项的个数。The adjustment unit is specifically used to add the weight of the current index item to the adjustment value of the weight of the current index item, divide the adjustment value of the weight of the current index item by N to obtain an average adjustment value, and divide the preset N The weight values of the specified index items are respectively subtracted from the average adjustment value; wherein, the number of the specified index items is N, and the N is a positive integer greater than or equal to 1 and less than or equal to K, and the K is all indicators number of items.

结合第二方面,第二方面的第一种实现方式,在第二方面的第二种实现方式中,所述指标项权重的设置装置还可以包括关系设置单元;With reference to the second aspect and the first implementation manner of the second aspect, in the second implementation manner of the second aspect, the device for setting the weight of the index item may further include a relationship setting unit;

关系设置单元,用于获取设置信息,根据所述设置信息设置用户的调整命令与权重的调整值的对应关系;a relationship setting unit, configured to acquire setting information, and set the corresponding relationship between the adjustment command of the user and the adjustment value of the weight according to the setting information;

所述获取单元,具体用于获取用户的调整命令,根据所述用户的调整命令与权重的调整值的对应关系确定获取到的调整命令所指示的当前指标项权重的调整值。The acquiring unit is specifically configured to acquire an adjustment command of a user, and determine the adjustment value of the weight of the current index item indicated by the acquired adjustment command according to the corresponding relationship between the adjustment command of the user and the adjustment value of the weight.

结合第二方面、第二方面的第一或第二种实现方式,在第二方面的第三种实现方式中,所述指标项权重的设置装置还可以包括指定指标项设置单元;In combination with the second aspect and the first or second implementation manner of the second aspect, in the third implementation manner of the second aspect, the device for setting the weight of the index item may also include a designated index item setting unit;

所述指定指标项设置单元,用于在所述调整单元将所述指定指标项的权重值调整为0且确定所述指定指标项在权重示意图中的相邻指标项为非当前指标项且为非指定指标项时,将权重值为0的指定指标项在权重示意图中的相邻指标项设置为新的指定指标项。The specified index item setting unit is used to adjust the weight value of the specified index item to 0 in the adjustment unit and determine that the adjacent index item of the specified index item in the weight schematic diagram is not the current index item and is When it is not a designated index item, set the adjacent index item in the weight schematic diagram of the designated index item with a weight value of 0 as the new designated index item.

结合第二方面、第二方面的第一、第二或第三种可能的实施方式,在第二方面的第四种实现方式中,其中:In combination with the second aspect, the first, second or third possible implementation manner of the second aspect, in the fourth implementation manner of the second aspect, wherein:

所述获取单元,具体用于获取用户在操作屏幕上的手势,所述手势用于指示当前指标项权重的调整值;或者,获取用户通过输入设备输入的操作指令,所述操作指令用于指示当前指标项权重的调整值。The acquisition unit is specifically configured to acquire a gesture of the user on the operation screen, the gesture is used to indicate the adjustment value of the weight of the current index item; or, to acquire an operation instruction input by the user through an input device, and the operation instruction is used to indicate The adjustment value of the weight of the current index item.

结合第二方面的第四种实现方式,在第二方面的第五种实现方式中,其中:In combination with the fourth implementation of the second aspect, in the fifth implementation of the second aspect, wherein:

所述绘制单元,还用于在获取单元获取用户在操作屏幕上的手势,或者,获取用户通过输入设备输入的操作指令时,在权重示意图中通过滑块或线条移动的方式动态反映所述手势或操作指令。The drawing unit is further configured to dynamically reflect the gesture in the weight schematic diagram by moving a slider or a line when the acquisition unit acquires the gesture of the user on the operation screen, or acquires the operation instruction input by the user through the input device or operating instructions.

第三方面,本发明实施例还提供一种通信系统,包括本发明实施例提供的任意一种指标项权重的设置装置。In a third aspect, an embodiment of the present invention further provides a communication system, including any apparatus for setting weights of index items provided in the embodiments of the present invention.

本发明实施例采用获取用户的调整命令,其中,该调整命令用于指示当前指标项权重的调整值,根据该调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值总和不变,然后确定所有指标项调整后的权重值,并根据所有指标项调整后的权重值绘制权重示意图。由于该方案可以根据用户的调整命令自动地对当前指标项权重值进行调整,并相应地自动调整指定指标项的权重值,使得所有指标项的权重值的总和不变,因此,相对于现有技术中只能通过手工去计算权重并进行填写和检验而言,可以避免由于权重总和大于或者小于原设定的权重总和所导致的操作无法完成的情况的发生,不仅可以大大减少出错的概率,以及提高操作效率,而且也方便用户操作,有利于提高用户体验质量。In the embodiment of the present invention, the user's adjustment command is obtained, wherein the adjustment command is used to indicate the adjustment value of the weight of the current index item, and the weight value of the specified index item and the weight value of the current index item are adjusted according to the adjustment command, so that all The sum of the weight values of the index items remains unchanged, and then the adjusted weight values of all index items are determined, and the weight diagram is drawn according to the adjusted weight values of all index items. Since this scheme can automatically adjust the weight value of the current index item according to the adjustment command of the user, and automatically adjust the weight value of the specified index item accordingly, so that the sum of the weight values of all index items remains unchanged, therefore, compared with the existing In terms of technology, the weight can only be calculated manually and filled in and checked, which can avoid the situation that the operation cannot be completed due to the sum of the weight being greater than or less than the original set weight sum, and can not only greatly reduce the probability of error, As well as improving operation efficiency, it is also convenient for users to operate, which is conducive to improving the quality of user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本发明实施例提供的指标项权重的设置方法的流程图;FIG. 1 is a flow chart of a method for setting index item weights provided by an embodiment of the present invention;

图2a是本发明实施例提供的指标项权重的设置方法的操作示意图;Fig. 2a is a schematic diagram of the operation of the method for setting the weight of the index item provided by the embodiment of the present invention;

图2b是本发明实施例提供的指标项权重的设置方法的另一流程图;Fig. 2b is another flow chart of the method for setting the index item weight provided by the embodiment of the present invention;

图3a是本发明实施例提供的指标项权重的设置方法的操作示意图;Fig. 3a is a schematic diagram of the operation of the method for setting the weight of the index item provided by the embodiment of the present invention;

图3b是本发明实施例提供的指标项权重的设置方法的又一流程图;Fig. 3b is another flow chart of the method for setting the weight of the index item provided by the embodiment of the present invention;

图4a是本发明实施例提供的指标项权重的设置装置的结构示意图;Fig. 4a is a schematic structural diagram of a device for setting index item weights provided by an embodiment of the present invention;

图4b是本发明实施例提供的指标项权重的设置装置的另一结构示意图;Fig. 4b is another structural schematic diagram of an apparatus for setting index item weights provided by an embodiment of the present invention;

图5是本发明实施例提供的通信设备的结构示意图。Fig. 5 is a schematic structural diagram of a communication device provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

本发明实施例提供一种指标项权重的设置方法、装置和系统。以下分别进行详细说明。Embodiments of the present invention provide a method, device and system for setting index item weights. Each will be described in detail below.

实施例一、Embodiment one,

本实施例将从指标项权重的设置装置的角度进行描述,该指标项权重的设置装置具体可以集成在各种通信设备中,比如终端或服务器等等。This embodiment will be described from the perspective of an apparatus for setting index item weights. The apparatus for setting index item weights may specifically be integrated in various communication devices, such as terminals or servers.

一种指标项权重的设置方法,包括:获取用户的调整命令,其中,该调整命令用于指示当前指标项权重的调整值,根据该调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值的总和不变,确定所有指标项调整后的权重值,根据所有指标项调整后的权重值绘制权重示意图。A method for setting the weight of an index item, comprising: obtaining an adjustment command from a user, wherein the adjustment command is used to indicate the adjustment value of the weight of the current index item, and according to the adjustment command, the weight value of the specified index item and the weight of the current index item The value is adjusted so that the sum of the weight values of all index items remains unchanged, the adjusted weight values of all index items are determined, and the weight diagram is drawn according to the adjusted weight values of all index items.

如图1所示,具体流程可以如下:As shown in Figure 1, the specific process can be as follows:

101、获取用户的调整命令,其中,该调整命令用于指示当前指标项权重的调整值;例如,具体可以采用如下任意一种方式:101. Obtain an adjustment command from the user, where the adjustment command is used to indicate the adjustment value of the weight of the current index item; for example, any of the following methods can be used specifically:

(1)获取用户在操作屏幕上的手势,其中,该手势用于指示当前指标项权重的调整值。(1) Obtain the gesture of the user on the operation screen, where the gesture is used to indicate the adjustment value of the weight of the current indicator item.

比如,该手势可以包括在屏幕上滑动或点击等操作。For example, the gesture may include operations such as sliding or clicking on the screen.

(2)获取用户在终端上输入的操作指令,其中,该操作指令用于指示当前指标项权重的调整值。(2) Obtain the operation instruction input by the user on the terminal, where the operation instruction is used to indicate the adjustment value of the weight of the current index item.

比如,具体可以接收用户通过键盘、鼠标或触控笔等输入设备下发该操作指令。For example, it may specifically receive the operation instruction issued by the user through an input device such as a keyboard, a mouse, or a stylus.

其中,在获取用户在操作屏幕上的手势,或者,获取用户通过输入设备输入的操作指令时,还可以在权重示意图中通过滑块或线条移动的方式动态反映该手势或操作指令。例如,具体可以如下:Wherein, when obtaining the user's gesture on the operation screen, or obtaining the operation instruction input by the user through the input device, the gesture or operation instruction can also be dynamically reflected in the weight schematic diagram by moving a slider or a line. For example, it can be as follows:

在权重示意图中,各个指标项的权重之间通过带有滑块的分隔线隔开,并设置其中的一条分隔线为固定的(即不可移动)分隔线,称为基准线,则以手势为例,可以设置当用户触碰并移动屏幕上所显示的权重示意图中的滑块时,该滑块带动其对应的分隔线一起移动,同时根据移动后的位置和基准线的位置计算当前指标项权重的调整值,以及计算当前指标项调整后的权重值,并显示当前指标项调整后的权重值。与此同时,除基准线之外,其他的分隔线也可以根据步骤102所得到的各个指标项调整后的权重值进行相应的移动,从而显示出动态变化的效果,具体的实现可以有多种方式,在此不再赘述。In the weight schematic diagram, the weights of each indicator item are separated by a dividing line with a slider, and one of the dividing lines is set as a fixed (that is, non-movable) dividing line, called the baseline, and the gesture is used as For example, it can be set that when the user touches and moves the slider in the weight schematic diagram displayed on the screen, the slider will drive its corresponding dividing line to move together, and at the same time calculate the current index item according to the moved position and the position of the baseline The adjusted value of the weight, and calculate the adjusted weight value of the current index item, and display the adjusted weight value of the current index item. At the same time, in addition to the baseline, other dividing lines can also be moved correspondingly according to the adjusted weight values of each index item obtained in step 102, thereby showing the effect of dynamic changes. There are many specific implementations. method, which will not be repeated here.

此外,在获取用户的调整命令之前,还可以获取设置信息,比如接收用户输入的设置信息等,然后根据该设置信息设置用户的调整命令与权重的调整值的对应关系,例如,以滑块为例,可以设置滑块移动的距离和权重的调整值的对应关系,等等。In addition, before obtaining the user's adjustment command, it is also possible to obtain setting information, such as receiving the setting information input by the user, etc., and then set the corresponding relationship between the user's adjustment command and the adjustment value of the weight according to the setting information, for example, take the slider as For example, you can set the corresponding relationship between the moving distance of the slider and the adjustment value of the weight, and so on.

则此时,步骤“获取用户的调整命令(即步骤101)”具体可以为:获取用户的调整命令,根据该用户的调整命令与权重的调整值的对应关系确定获取到的调整命令所指示的当前指标项权重的调整值。Then, at this time, the step "acquire the user's adjustment command (that is, step 101)" may specifically be: obtain the user's adjustment command, and determine the value indicated by the obtained adjustment command according to the corresponding relationship between the user's adjustment command and the weight adjustment value. The adjustment value of the weight of the current index item.

例如,还是以滑块为例,可以根据获取到的用户的调整命令确定滑块移动后的位置,然后根据滑块移动后的位置和基准线的位置确定滑块移动的距离,从而就可以根据滑块移动的距离和权重的调整值的对应关系得到当前指标项权重的调整值。此外,还可以得到当前指标项调整后的权重值。For example, still taking the slider as an example, the moved position of the slider can be determined according to the acquired adjustment command from the user, and then the moving distance of the slider can be determined according to the moved position of the slider and the position of the baseline, so that the The corresponding relationship between the moving distance of the slider and the adjustment value of the weight obtains the adjustment value of the weight of the current index item. In addition, the adjusted weight value of the current index item can also be obtained.

一般的,可以设置滑块的调整粒度为“1%”,当然,可以是其他的粒度值,在此不再列举。Generally, the adjustment granularity of the slider can be set to "1%", of course, it can be other granularity values, which will not be listed here.

102、根据该调整命令对指定指标项的权重值和当前指标的权重值进行调整,使得所有指标项的权重值的总和不变,即使得指定指标项的权重的调整值和该当前指标项权重的调整值的和为0。102. Adjust the weight value of the specified index item and the weight value of the current index according to the adjustment command, so that the sum of the weight values of all index items remains unchanged, that is, the adjusted value of the weight of the specified index item and the weight of the current index item The sum of the adjusted values is 0.

其中,指定指标项指的是当当前指标项的权重值发生变化时,其权重值也会相应发生变化的指标项,即该指定指标项是一个变量;该指定指标项的个数N可以根据实际应用的需求进行设置,比如,可以设置用户不太关注或不太在意的指标项作为指定指标项,等等。其中,N为大于等于1且小于等于K的正整数,K为所有指标项的个数。比如,为了简便起见,一般可以设置一个指定指标项,当然,也可是设置两个、三个,甚至更多,为了描述方便,在本发明实施例中,均以该指定指标项的个数为1为例进行说明。Among them, the designated index item refers to the index item whose weight value will change correspondingly when the weight value of the current index item changes, that is, the designated index item is a variable; the number N of the designated index item can be determined according to Set according to the requirements of the actual application, for example, you can set the indicator items that the user does not pay much attention to or care less about as the specified indicator items, and so on. Wherein, N is a positive integer greater than or equal to 1 and less than or equal to K, and K is the number of all index items. For example, for the sake of simplicity, generally one designated index item can be set, of course, two, three, or even more can be set. For the convenience of description, in the embodiments of the present invention, the number of the designated index items is 1 as an example.

如果指定指标项的个数为N,则步骤102具体可以如下:If the number of specified index items is N, then step 102 can be specifically as follows:

将当前指标项的权重加上该当前指标项权重的调整值;Add the weight of the current index item to the adjustment value of the weight of the current index item;

将该当前指标项权重的调整值除以N,得到平均调整值,将预置的N个指定指标项的权重值分别减去所述平均调整值。The adjustment value of the weight of the current index item is divided by N to obtain an average adjustment value, and the weight values of the preset N specified index items are respectively subtracted from the average adjustment value.

例如,以N为1为例,则如果当前指标项权重的调整值为增大10%,即“+10%”,则可以将指定指标项的权重值相应地减少10%,即“-10%”,这样的话,就可以使得指定指标项的权重的调整值和该当前指标项权重的调整值的和为0,从而保证各个指标项的权重总和不变。For example, taking N as 1 as an example, if the adjustment value of the weight of the current index item is increased by 10%, that is, "+10%", then the weight value of the specified index item can be correspondingly reduced by 10%, that is, "-10% %", in this case, the sum of the adjustment value of the weight of the specified index item and the adjustment value of the weight of the current index item can be made to be 0, so as to ensure that the sum of the weights of each index item remains unchanged.

又例如,以N为2为例,则如果当前指标项权重的调整值为增大10%,即“+10%”,则可以将两个指定指标项的权重值相应地减少“5%”,即“-5%”,这样的话,就可以使得这两个指定指标项的权重的调整值和该当前指标项权重的调整值的和为0,从而保证各个指标项的权重总和不变。For another example, taking N as 2 as an example, if the adjustment value of the weight of the current index item is increased by 10%, that is, "+10%", then the weight value of the two specified index items can be correspondingly reduced by "5%" , that is, "-5%", in this case, the sum of the adjustment values of the weights of the two specified index items and the adjustment value of the weight of the current index item can be made 0, so as to ensure that the sum of the weights of each index item remains unchanged.

以此类推,在此不再列举。By analogy, it will not be listed here.

此外,在根据该调整命令对预置的指定指标项的权重值进行调整之后,如果指定指标项调整后的权重值为0,则可以由用户自行重新设置新的指定指标项,或者,还可以由系统自动将权重值为0的指定指标项在权重示意图中的相邻指标项(除当前指标项和指定指标项之外)设置为新的指定指标项;即在步骤“根据该调整命令对预置的指定指标项的权重值进行调整”之后,该指标项权重的设置方法还可以包括:In addition, after adjusting the weight value of the preset specified indicator item according to the adjustment command, if the adjusted weight value of the specified indicator item is 0, the user can reset a new specified indicator item by himself, or, The system automatically sets the adjacent index items (except the current index item and the designated index item) in the weight schematic diagram of the designated index item with a weight value of 0 as the new designated index item; that is, in the step "according to the adjustment command to After adjusting the weight value of the preset specified index item”, the method for setting the weight of the index item may also include:

若该指定指标项调整后的权重值为0,则在确定所述指定指标项在权重示意图中的相邻指标项为非当前指标项且为非指定指标项时,将该相邻指标项(即该非当前指标项且为非指定指标项的相邻指标项)设置为新的指定指标项。If the adjusted weight value of the designated index item is 0, when it is determined that the adjacent index item of the designated index item in the weight schematic diagram is not the current index item and is a non-designated index item, the adjacent index item ( That is, the index item that is not the current index item and is an adjacent index item that is not the designated index item) is set as the new designated index item.

需说明的是,如果所有相邻指标项均为非当前指标项且为非指定指标项,则从中任意选择一个相邻指标项,设置为新的指定指标项。It should be noted that if all adjacent index items are non-current index items and non-designated index items, one of the adjacent index items is arbitrarily selected and set as a new designated index item.

103、确定所有指标项调整后的权重值。103. Determine the adjusted weight values of all index items.

其中,除了当前指标项的权重值和指定指标项的权重值之外,其他指标项的权重值不变。Wherein, except for the weight value of the current index item and the weight value of the specified index item, the weight values of other index items remain unchanged.

104、根据所有指标项调整后的权重值绘制权重示意图。104. Draw a weight schematic diagram according to the adjusted weight values of all index items.

其中,该权重示意图可以根据实际应用的需求和/或用户的喜好进行设置,比如,可以为圆形、椭圆形、矩形或方形等,可以是饼图,也可以柱形图,可以是二维图,也可以是三维图,等等,在此不再赘述。Wherein, the weight schematic diagram can be set according to actual application requirements and/or user preferences, for example, it can be a circle, an oval, a rectangle or a square, etc., it can be a pie chart, it can also be a bar chart, and it can be two-dimensional The graph may also be a three-dimensional graph, etc., which will not be repeated here.

由上可知,本实施例采用获取用户的调整命令,其中,该调整命令用于指示当前指标项权重的调整值,根据该调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值的总和不变,然后确定所有指标项调整后的权重值,并根据所有指标项调整后的权重值绘制权重示意图。由于该方案可以根据用户的调整命令自动地对当前指标项权重值进行调整,并相应地自动调整指定指标项的权重值,使得所有指标项的权重值的总和不变,因此,相对于现有技术中只能通过手工去计算权重并进行填写和检验而言,可以避免由于权重总和大于或者小于原设定的权重总和所导致的操作无法完成的情况的发生,不仅可以大大减少出错的概率,以及提高操作效率,而且也方便用户操作,有利于提高用户体验质量。It can be seen from the above that this embodiment adopts the adjustment command obtained from the user, wherein the adjustment command is used to indicate the adjustment value of the weight of the current index item, and the weight value of the specified index item and the weight value of the current index item are adjusted according to the adjustment command , so that the sum of the weight values of all index items remains unchanged, and then determine the adjusted weight values of all index items, and draw a weight schematic diagram according to the adjusted weight values of all index items. Since this scheme can automatically adjust the weight value of the current index item according to the adjustment command of the user, and automatically adjust the weight value of the specified index item accordingly, so that the sum of the weight values of all index items remains unchanged, therefore, compared with the existing In terms of technology, the weight can only be calculated manually and filled in and checked, which can avoid the situation that the operation cannot be completed due to the sum of the weight being greater than or less than the original set weight sum, and can not only greatly reduce the probability of error, As well as improving operation efficiency, it is also convenient for users to operate, which is conducive to improving the quality of user experience.

在实施例一所描述的方法的基础上,以下将在实施例二和三中举例作进一步详细说明。On the basis of the method described in Example 1, examples will be given in Examples 2 and 3 below for further detailed description.

实施例二、Embodiment two,

在本实施例中,将以该指标项权重的设置装置具体集成在终端,并以流量额度分配的应用场景为例进行说明。In this embodiment, the device for setting the index item weight will be specifically integrated in the terminal, and an application scenario of traffic quota allocation will be used as an example for illustration.

如图2a所示,该图为该指标项权重的设置方法的操作示意图,其中,图2a中圈为指标项的权重示意图,从该权重示意图中可以看出,当前包括有7个指标项:语音、短信、网页(WEB)、无线应用协议(WAP,Wireless ApplicationProtocol)业务、电子邮件(E-mail)、彩信和流媒体;其中,各个指标项之间采用带有滑块的分隔线进行分隔,比如,分隔线7和分隔线1之间的区域为表示“语音”业务所对应的流量额度的权重值,分隔线1和分隔线2之间的区域为表示“短信”业务所对应的流量额度的权重值,分隔线1和分隔线2之间的区域为表示“短信”业务所对应的流量额度的权重值,分隔线1和分隔线2之间的区域为表示“短信”业务所对应的流量额度的权重值,分隔线2和分隔线3之间的区域为表示“WEB”业务所对应的流量额度的权重值,分隔线3和分隔线4之间的区域为表示“WAP”业务所对应的流量额度的权重值,分隔线4和分隔线5之间的区域为表示“电子邮件”业务所对应的流量额度的权重值,分隔线5和分隔线6之间的区域为表示“彩信”业务所对应的流量额度的权重值,分隔线6和分隔线7之间的区域为表示“流媒体”业务所对应的流量额度的权重值。其中,分隔线7为基准线,并设置“流媒体”为指定指标项,即,除基准线(即分隔线7)的滑块之外,其他分隔线的滑块均可以移动。需说明的是,在本实施例中,“移动”指的是绕该圆形权重示意图的圆心旋转。As shown in Figure 2a, this figure is a schematic diagram of the operation of the method for setting the weight of the indicator item. The circle in Figure 2a is a schematic diagram of the weight of the indicator item. From the schematic diagram of the weight, it can be seen that there are currently 7 index items: Voice, SMS, web page (WEB), wireless application protocol (WAP, Wireless Application Protocol) business, email (E-mail), MMS and streaming media; among them, the dividing lines with sliders are used to separate each index item , for example, the area between dividing line 7 and dividing line 1 represents the weight value of the traffic quota corresponding to the "voice" service, and the area between dividing line 1 and dividing line 2 represents the traffic corresponding to the "SMS" service The weight value of the quota, the area between the dividing line 1 and the dividing line 2 represents the weight value of the traffic quota corresponding to the "SMS" service, and the area between the dividing line 1 and the dividing line 2 represents the corresponding value of the "SMS" service The weight value of the traffic quota, the area between the dividing line 2 and the dividing line 3 represents the weight value of the traffic quota corresponding to the "WEB" business, and the area between the dividing line 3 and the dividing line 4 represents the "WAP" business The weight value of the corresponding traffic quota, the area between the dividing line 4 and the dividing line 5 represents the weight value of the traffic quota corresponding to the "email" service, and the area between the dividing line 5 and the dividing line 6 represents the " The weight value of the traffic quota corresponding to the "MMS" service, and the area between the dividing line 6 and the dividing line 7 represents the weight value of the traffic quota corresponding to the "streaming media" service. Among them, the dividing line 7 is the reference line, and "streaming media" is set as the specified index item, that is, the sliders of other dividing lines can be moved except the slider of the reference line (that is, the dividing line 7). It should be noted that, in this embodiment, "moving" refers to rotating around the center of the circular weight schematic diagram.

基于上述应用场景,以下将对该指标项权重的设置方法进行详细说明。Based on the above application scenario, the method for setting the weight of the index item will be described in detail below.

如图2b所示,一种指标项权重的设置方法,具体流程可以如下:As shown in Figure 2b, a method for setting the weight of an index item, the specific process can be as follows:

201、终端获取设置信息,比如接收用户输入的设置信息等,然后根据该设置信息设置用户的调整命令与权重的调整值的对应关系。201. The terminal acquires setting information, such as receiving setting information input by a user, and then sets a correspondence between a user's adjustment command and a weight adjustment value according to the setting information.

例如,以滑块为例,可以设置滑块移动的距离和权重的调整值的对应关系,等等。For example, taking a slider as an example, you can set the corresponding relationship between the moving distance of the slider and the adjustment value of the weight, and so on.

202、终端获取用户的调整命令,其中,该调整命令用于指示当前指标项权重的调整值;例如,具体可以采用如下任意一种方式:202. The terminal acquires an adjustment command from the user, where the adjustment command is used to indicate the adjustment value of the weight of the current index item; for example, any of the following methods may be used specifically:

(1)获取用户在操作屏幕上的手势,其中,该手势用于指示当前指标项权重的调整值。(1) Obtain the gesture of the user on the operation screen, where the gesture is used to indicate the adjustment value of the weight of the current indicator item.

比如,该手势可以包括在屏幕上滑动或点击等操作。For example, the gesture may include operations such as sliding or clicking on the screen.

(2)获取用户通过终端的输入设备输入的操作指令,其中,该操作指令用于指示当前指标项权重的调整值。(2) Obtain an operation instruction input by the user through the input device of the terminal, where the operation instruction is used to indicate the adjustment value of the weight of the current index item.

比如,具体可以接收用户通过键盘、鼠标或触控笔等输入设备下发该操作指令。For example, it may specifically receive the operation instruction issued by the user through an input device such as a keyboard, a mouse, or a stylus.

其中,在获取用户在操作屏幕上的手势,或者,获取用户通过输入设备输入的操作指令时,还可以在权重示意图中通过滑块或线条移动的方式动态反映该手势或操作指令。Wherein, when obtaining the user's gesture on the operation screen, or obtaining the operation instruction input by the user through the input device, the gesture or operation instruction can also be dynamically reflected in the weight schematic diagram by moving a slider or a line.

例如,如图2a所示,如果用户需要调整“语音”业务的权重值,则可以触碰分隔线1的滑块并顺时针转动,此时,“语音”业务的权重值所对应的区域(即分隔线7和分隔线1之间的区域)便会随着增大,同时显示调整后的权重值。For example, as shown in Figure 2a, if the user needs to adjust the weight value of the "Voice" service, he can touch the slider on the dividing line 1 and turn it clockwise. At this time, the area corresponding to the weight value of the "Voice" service ( That is, the area between the dividing line 7 and the dividing line 1) will increase accordingly, and the adjusted weight value will be displayed at the same time.

203、终端根据该调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值总和不变,即使得指定指标项的权重的调整值和该当前指标项权重的调整值的和为0。203. The terminal adjusts the weight value of the specified index item and the weight value of the current index item according to the adjustment command, so that the sum of the weight values of all index items remains unchanged, that is, the adjusted value of the weight of the specified index item and the weight value of the current index item The sum of the adjusted values of the weights is 0.

例如,如图2a所示,将“语音”业务作为当前指标项,则当“语音”业务的权重值所对应的区域(即分隔线7和分隔线1之间的区域)增大时,指定指标项“流媒体”业务的权重值所对应的区域(即分隔线6和基准线(即分隔线7)之间的区域)便会相应减少,且减少的权重值和“语音”业务所增加的权重值相等,比如,具体可以保持基准线7不动,然后将分隔线2、3、4、5和6的滑块绕该圆形权重示意图的圆心,顺时针转动与分隔线1的滑块相同的角度,这样,便能使得在调整当前指标项的权重值时,只会对指定指标项的权重值产生影响,而不会改变其他指标项的权重值,从而保证各个指标项的权重总和可以保持为一个固定值,比如100%。For example, as shown in Figure 2a, if the "voice" service is used as the current index item, when the area corresponding to the weight value of the "voice" service (that is, the area between the separation line 7 and the separation line 1) increases, specify The area corresponding to the weight value of the indicator item "streaming media" business (that is, the area between the dividing line 6 and the reference line (ie dividing line 7)) will be reduced accordingly, and the reduced weight value and the "voice" business will increase For example, you can keep the reference line 7 still, and then move the sliders of the dividing lines 2, 3, 4, 5 and 6 around the center of the circular weight schematic diagram, and turn clockwise to the slider of the dividing line 1. In this way, when adjusting the weight value of the current index item, only the weight value of the specified index item will be affected, and the weight value of other index items will not be changed, so as to ensure the weight of each index item The sum can be kept at a fixed value, say 100%.

比如,如图2a所示,“语音”业务的权重值从原始的“12.38%”调整为“19.38%”,其调整值为“7%”,因此,可以将指定指标项,即“流媒体”业务的权重值相应地减少“7%”,即从原始的“18.82%”调整为“11.82%”,而此时,其他指标项的权重值保持不变,即“短信”的权重值依旧为10%,“WEB”业务的权重值依旧为“12.38%”,“WAP”业务的权重值依旧为“17.65%”,“电子邮件”业务的权重值依旧为“12.35%”,“彩信”业务的权重值依旧为“16.42%”,这7个指标项的权重总和也依然为100%。For example, as shown in Figure 2a, the weight value of the "voice" service is adjusted from the original "12.38%" to "19.38%", and its adjusted value is "7%". Therefore, the specified index item, namely "streaming media "The weight value of the business is reduced by "7%" accordingly, that is, adjusted from the original "18.82%" to "11.82%". At this time, the weight values of other index items remain unchanged, that is, the weight value of "SMS" remains the same 10%, the weight value of "WEB" business is still "12.38%", the weight value of "WAP" business is still "17.65%", the weight value of "email" business is still "12.35%", "MMS" The weight value of the business is still "16.42%", and the sum of the weights of these 7 index items is still 100%.

此外,需说明的是,此外,在根据该调整命令对预置的指定指标项的权重值进行调整之后,如果指定指标项调整后的权重值为0,则可以由用户自行重新设置新的指定指标项,或者,还可以由系统自动将权重值为0的指定指标项在权重示意图中的相邻指标项(除当前指标项和指定指标项之外)设置为新的指定指标项,比如,如果“流媒体”业务的调整后的权重值变为“0”,则此时可以在权重示意图中可以不显示“流媒体”业务,并可以将“流媒体”业务的相邻指标项“彩信”业务作为指定指标项。In addition, it should be noted that, after adjusting the weight value of the preset specified index item according to the adjustment command, if the adjusted weight value of the specified index item is 0, the user can reset the new specified index item by himself. Index item, or, the system can also automatically set the adjacent index item (except the current index item and the specified index item) in the weight schematic diagram of the specified index item with a weight value of 0 as the new specified index item, for example, If the adjusted weight value of the "streaming media" service becomes "0", the "streaming media" service may not be displayed in the weight schematic diagram at this time, and the adjacent index item "MMS" of the "streaming media" service may be "Business as the designated index item.

需说明的是,虽然“语音”业务也是“流媒体”业务的相邻指标项,但由于“语音”业务是当前指标项,因此,应当排除在外。It should be noted that although the "voice" service is also an adjacent index item of the "streaming media" service, since the "voice" service is the current index item, it should be excluded.

204、终端确定所有指标项调整后的权重值。204. The terminal determines the adjusted weight values of all index items.

其中,除了当前指标项的权重值和指定指标项的权重值之外,其他指标项的权重值不变。Wherein, except for the weight value of the current index item and the weight value of the specified index item, the weight values of other index items remain unchanged.

例如,如图2a所示,经过调整之后,各个指标项的权重具体可以如下:For example, as shown in Figure 2a, after adjustment, the weight of each index item can be specifically as follows:

“语音”业务调整后的权重值为“19.38”,“短信”调整后的权重值为10%,“WEB”业务调整后的权重值为“12.38%”,“WAP”业务调整后的权重值为“17.65%”,“电子邮件”业务调整后的权重值为“12.35%”,“彩信”业务调整后的权重值为“16.42%”,“流媒体”业务调整后的权重值为“11.82”。The adjusted weight value of the "Voice" service is "19.38", the adjusted weight value of the "SMS" service is 10%, the adjusted weight value of the "WEB" service is "12.38%", and the adjusted weight value of the "WAP" service The adjusted weight value of the "email" business is "12.35%", the adjusted weight value of the "MMS" business is "16.42%", and the adjusted weight value of the "streaming media" business is "11.82%" ".

205、终端根据所有指标项调整后的权重值绘制权重示意图。205. The terminal draws a weight schematic diagram according to the adjusted weight values of all index items.

其中,该权重示意图可以根据实际应用的需求和/或用户的喜好进行设置,比如,可以为圆形、椭圆形、矩形或方形等,可以是饼图,也可以柱形图,可以是二维图,也可以是三维图,等等,在此不再赘述,例如,图2a所示的权重示意图即为饼图。Wherein, the weight schematic diagram can be set according to actual application requirements and/or user preferences, for example, it can be a circle, an oval, a rectangle or a square, etc., it can be a pie chart, it can also be a bar chart, and it can be two-dimensional The graph can also be a three-dimensional graph, etc., which will not be described in detail here. For example, the schematic diagram of weights shown in FIG. 2a is a pie chart.

此后,终端便可以根据权重示意图中所指示的各个指标项的权重值为各个指标项分配流量额度。Thereafter, the terminal can allocate traffic quotas to each index item according to the weight value of each index item indicated in the weight diagram.

需说明的是,以上仅仅以调整“语音”业务的权重值为例进行说明,应当理解的是,也可以将其他的指标项作为当前指标项,其调整方法与上述方法类似,在此不再赘述。It should be noted that the above is only an example of adjusting the weight value of the "voice" service. It should be understood that other index items can also be used as the current index item. The adjustment method is similar to the above method, and will not be repeated here. repeat.

由上可知,本实施例采用获取用户的调整命令,其中,该调整命令用于指示当前指标项权重的调整值,根据该调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值的总和不变,然后确定所有指标项调整后的权重值,并根据所有指标项调整后的权重值绘制权重示意图。由于该方案可以根据用户的调整命令自动地对当前指标项权重值进行调整,并相应地自动调整指定指标项的权重值,使得所有指标项的权重值的总和不变,因此,相对于现有技术中只能通过手工去计算权重并进行填写和检验而言,可以避免由于权重总和大于或者小于原设定的权重总和所导致的操作无法完成的情况的发生,不仅可以大大减少出错的概率,以及提高操作效率,而且也方便用户操作,有利于提高用户体验质量。It can be seen from the above that this embodiment adopts the adjustment command obtained from the user, wherein the adjustment command is used to indicate the adjustment value of the weight of the current index item, and the weight value of the specified index item and the weight value of the current index item are adjusted according to the adjustment command , so that the sum of the weight values of all index items remains unchanged, and then determine the adjusted weight values of all index items, and draw a weight schematic diagram according to the adjusted weight values of all index items. Since this scheme can automatically adjust the weight value of the current index item according to the adjustment command of the user, and automatically adjust the weight value of the specified index item accordingly, so that the sum of the weight values of all index items remains unchanged, therefore, compared with the existing In terms of technology, the weight can only be calculated manually and filled in and checked, which can avoid the situation that the operation cannot be completed due to the sum of the weight being greater than or less than the original set weight sum, and can not only greatly reduce the probability of error, As well as improving operation efficiency, it is also convenient for users to operate, which is conducive to improving the quality of user experience.

实施例三、Embodiment three,

在本实施例中,将以该指标项权重的设置装置具体集成在服务器,并以用户对业务性能的评价为例进行说明。In this embodiment, the device for setting the index item weight will be specifically integrated in the server, and the user's evaluation of service performance will be used as an example for illustration.

如图3a所示,该图为该指标项权重的设置方法的操作示意图,其中,图3a中圈为指标项的权重示意图,从该权重示意图中可以看出,当前包括有7个指标项:语音、短信、WEB、WAP业务、电子邮件(E-mail)、彩信和流媒体;其中,各个指标项之间采用带有滑块的分隔线进行分隔,比如,分隔线7和分隔线1之间的区域为表示“语音”业务所对应的流量额度的权重值,分隔线1和分隔线2之间的区域为表示“短信”业务所对应的流量额度的权重值,分隔线1和分隔线2之间的区域为表示“短信”业务所对应的流量额度的权重值,分隔线1和分隔线2之间的区域为表示“短信”业务所对应的流量额度的权重值,分隔线2和分隔线3之间的区域为表示“WEB”业务所对应的流量额度的权重值,分隔线3和分隔线4之间的区域为表示“WAP”业务所对应的流量额度的权重值,分隔线4和分隔线5之间的区域为表示“电子邮件”业务所对应的流量额度的权重值,分隔线5和分隔线6之间的区域为表示“彩信”业务所对应的流量额度的权重值,分隔线6和分隔线7之间的区域为表示“流媒体”业务所对应的流量额度的权重值。其中,分隔线7为基准线,并设置“流媒体”为指定指标项,即,除基准线(即分隔线7)的滑块之外,其他分隔线的滑块均可以移动。需说明的是,在本实施例中,“移动”指的是绕该圆形权重示意图的圆心旋转。As shown in Figure 3a, this figure is a schematic diagram of the operation of the method for setting the weight of the index item. The circle in Figure 3a is a schematic diagram of the weight of the index item. It can be seen from the schematic diagram of the weight that there are currently 7 index items: Voice, SMS, WEB, WAP services, email (E-mail), MMS, and streaming media; among them, a dividing line with a slider is used to separate each index item, for example, dividing line 7 and dividing line 1 The area between is the weight value of the traffic quota corresponding to the "voice" service, the area between the dividing line 1 and the dividing line 2 is the weight value of the traffic quota corresponding to the "SMS" service, the dividing line 1 and the dividing line The area between 2 indicates the weight value of the traffic quota corresponding to the "SMS" service, the area between the dividing line 1 and the dividing line 2 indicates the weight value of the traffic quota corresponding to the "SMS" service, and the dividing line 2 and The area between dividing line 3 represents the weight value of the traffic quota corresponding to the "WEB" service, and the area between dividing line 3 and dividing line 4 represents the weight value of the traffic quota corresponding to the "WAP" service. The area between 4 and dividing line 5 is the weight value representing the traffic quota corresponding to the "email" service, and the area between dividing line 5 and dividing line 6 is the weight value representing the traffic quota corresponding to the "MMS" service , the area between the dividing line 6 and the dividing line 7 is the weight value representing the traffic quota corresponding to the "streaming media" service. Among them, the dividing line 7 is the reference line, and "streaming media" is set as the specified index item, that is, the sliders of other dividing lines can be moved except the slider of the reference line (that is, the dividing line 7). It should be noted that, in this embodiment, "moving" refers to rotating around the center of the circular weight schematic diagram.

基于上述应用场景,以下将对该指标项权重的设置方法进行详细说明。Based on the above application scenario, the method for setting the weight of the index item will be described in detail below.

如图3b所示,一种指标项权重的设置方法,具体流程可以如下:As shown in Figure 3b, a method for setting the weight of an index item, the specific process can be as follows:

301、服务器获取设置信息,比如接收用户输入的设置信息等,然后根据该设置信息设置用户的调整命令与权重的调整值的对应关系。301. The server acquires setting information, such as receiving setting information input by a user, and then sets a correspondence between a user's adjustment command and a weight adjustment value according to the setting information.

例如,以滑块为例,可以设置滑块移动的距离和权重的调整值的对应关系,等等。For example, taking a slider as an example, you can set the corresponding relationship between the moving distance of the slider and the adjustment value of the weight, and so on.

302、服务器获取用户的调整命令,其中,该调整命令用于指示当前指标项权重的调整值;例如,具体可以采用如下任意一种方式:302. The server obtains the user's adjustment command, where the adjustment command is used to indicate the adjustment value of the weight of the current index item; for example, any of the following methods can be used specifically:

(1)获取用户(如进行业务性能分析的工作人员)在服务器的操作屏幕上的手势,其中,该手势用于指示当前指标项权重的调整值。(1) Obtain the gesture of the user (such as a staff member performing business performance analysis) on the operation screen of the server, where the gesture is used to indicate the adjustment value of the weight of the current index item.

比如,该手势可以包括在屏幕上滑动或点击等操作。For example, the gesture may include operations such as sliding or clicking on the screen.

(2)获取用户(如进行业务性能分析的工作人员)通过服务器的输入设备输入的操作指令,其中,该操作指令用于指示当前指标项权重的调整值。(2) Obtain an operation instruction input by a user (such as a staff member performing business performance analysis) through an input device of the server, where the operation instruction is used to indicate the adjustment value of the weight of the current index item.

比如,具体可以接收用户通过键盘、鼠标或触控笔等输入设备下发该操作指令。For example, it may specifically receive the operation instruction issued by the user through an input device such as a keyboard, a mouse, or a stylus.

其中,在获取用户在服务器的操作屏幕上的手势,或者,获取用户通过服务器的输入设备输入的操作指令时,还可以在权重示意图中通过滑块或线条移动的方式动态反映该手势或操作指令。Among them, when obtaining the user's gesture on the server's operation screen, or obtaining the user's input operation instruction through the server's input device, the gesture or operation instruction can also be dynamically reflected in the weight schematic diagram by moving a slider or a line .

例如,如图3a所示,如果用户需要调整“短信”业务的权重值,则可以触碰分隔线2的滑块并顺时针转动,此时,“短信”业务的权重值所对应的区域(即分隔线1和分隔线2之间的区域)便会随着增大,同时显示调整后的权重值。For example, as shown in Figure 3a, if the user needs to adjust the weight value of the "short message" service, he can touch the slider on the dividing line 2 and turn it clockwise. At this time, the area corresponding to the weight value of the "short message" service ( That is, the area between Divider 1 and Divider 2) will increase accordingly, and the adjusted weight value will be displayed at the same time.

303、服务器根据该调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值总和不变,即使得指定指标项的权重的调整值和该当前指标项权重的调整值的和为0。303. The server adjusts the weight value of the specified index item and the weight value of the current index item according to the adjustment command, so that the sum of the weight values of all index items remains unchanged, that is, the adjusted value of the weight of the specified index item and the weight value of the current index item The sum of the adjusted values of the weights is 0.

例如,如图3a所示,将“短信”业务作为当前指标项,则当“短信”业务的权重值所对应的区域(即分隔线1和分隔线2之间的区域)增大时,指定指标项“流媒体”业务的权重值所对应的区域(即分隔线6和基准线(即分隔线7)之间的区域)便会相应减少,且减少的权重值和“短信”业务所增加的权重值相等,比如,具体可以保持基准线7和分隔线1不动,然后将分隔线3、4、5和6的滑块绕该圆形权重示意图的圆心,顺时针转动与分隔线2的滑块相同的角度,这样,便能使得在调整当前指标项的权重值时,只会对指定指标项的权重值产生影响,而不会改变其他指标项的权重值,从而保证各个指标项的权重总和可以保持为一个固定值,比如100%。For example, as shown in Figure 3a, if the "short message" service is used as the current index item, when the area corresponding to the weight value of the "short message" service (that is, the area between the separation line 1 and the separation line 2) increases, specify The area corresponding to the weight value of the index item "streaming media" business (that is, the area between the separation line 6 and the reference line (that is, the separation line 7)) will be correspondingly reduced, and the reduced weight value and the "short message" business increase For example, you can keep the reference line 7 and the dividing line 1 still, and then rotate the sliders of the dividing lines 3, 4, 5 and 6 around the center of the circular weight schematic diagram clockwise to match the dividing line 2 In this way, when adjusting the weight value of the current index item, only the weight value of the specified index item will be affected, and the weight value of other index items will not be changed, so as to ensure that each index item The sum of the weights of can be kept at a fixed value, such as 100%.

比如,如图3a所示,“短信”业务的权重值从原始的“10%”调整为“16%”,其调整值为“6%”,因此,可以将指定指标项,即“流媒体”业务的权重值相应地减少“6%”,即从原始的“18.82%”调整为“12.82%”,而此时,其他指标项的权重值保持不变,即“语音”的权重值依旧为“12.38%”,“WEB”业务的权重值依旧为“12.38%”,“WAP”业务的权重值依旧为“17.65%”,“电子邮件”业务的权重值依旧为“12.35%”,“彩信”业务的权重值依旧为“16.42%”,这7个指标项的权重总和也依然为100%。For example, as shown in Figure 3a, the weight value of the "SMS" service is adjusted from the original "10%" to "16%", and its adjusted value is "6%". Therefore, the specified index item, that is, "streaming media "The weight value of the business is reduced by "6%" accordingly, that is, adjusted from the original "18.82%" to "12.82%". At this time, the weight values of other index items remain unchanged, that is, the weight value of "voice" remains the same is "12.38%", the weight value of "WEB" business is still "12.38%", the weight value of "WAP" business is still "17.65%", the weight value of "Email" business is still "12.35%", " The weight value of the "MMS" business is still "16.42%", and the sum of the weights of these seven index items is still 100%.

此外,需说明的是,此外,在根据该调整命令对预置的指定指标项的权重值进行调整之后,如果指定指标项调整后的权重值为0,则可以由用户自行重新设置新的指定指标项,或者,还可以由系统自动将权重值为0的指定指标项在权重示意图中的相邻指标项(除当前指标项和指定指标项之外)设置为新的指定指标项,比如,如果“流媒体”业务的调整后的权重值变为“0”,则此时可以在权重示意图中可以不显示“流媒体”业务,并可以将“流媒体”业务的相邻指标项“彩信”业务或“短信”业务作为指定指标项。In addition, it should be noted that, after adjusting the weight value of the preset specified index item according to the adjustment command, if the adjusted weight value of the specified index item is 0, the user can reset the new specified index item by himself. Index item, or, the system can also automatically set the adjacent index item (except the current index item and the specified index item) in the weight schematic diagram of the specified index item with a weight value of 0 as the new specified index item, for example, If the adjusted weight value of the "streaming media" service becomes "0", the "streaming media" service may not be displayed in the weight schematic diagram at this time, and the adjacent index item "MMS" of the "streaming media" service may be "Business or "SMS" business as the specified index item.

304、服务器确定所有指标项调整后的权重值。304. The server determines the adjusted weight values of all index items.

其中,除了当前指标项的权重值和指定指标项的权重值之外,其他指标项的权重值不变。Wherein, except for the weight value of the current index item and the weight value of the specified index item, the weight values of other index items remain unchanged.

例如,如图3a所示,经过调整之后,各个指标项的权重具体可以如下:For example, as shown in Figure 3a, after adjustment, the weight of each index item can be specifically as follows:

“语音”业务调整后的权重值为“12.38”,“短信”调整后的权重值为16%,“WEB”业务调整后的权重值为“12.38%”,“WAP”业务调整后的权重值为“17.65%”,“电子邮件”业务调整后的权重值为“12.35%”,“彩信”业务调整后的权重值为“16.42%”,“流媒体”业务调整后的权重值为“12.82”。The adjusted weight value of the "Voice" service is "12.38", the adjusted weight value of the "SMS" service is 16%, the adjusted weight value of the "WEB" service is "12.38%", and the adjusted weight value of the "WAP" service The adjusted weight value of the "email" business is "12.35%", the adjusted weight value of the "MMS" business is "16.42%", and the adjusted weight value of the "streaming media" business is "12.82%" ".

305、服务器根据所有指标项调整后的权重值绘制权重示意图。305. The server draws a weight schematic diagram according to the adjusted weight values of all index items.

其中,该权重示意图可以根据实际应用的需求和/或用户的喜好进行设置,比如,可以为圆形、椭圆形、矩形或方形等,可以是饼图,也可以柱形图,可以是二维图,也可以是三维图,等等,在此不再赘述,例如,图3a所示的权重示意图即为饼图。Wherein, the weight schematic diagram can be set according to actual application requirements and/or user preferences, for example, it can be a circle, an oval, a rectangle or a square, etc., it can be a pie chart, it can also be a bar chart, and it can be two-dimensional The graph can also be a three-dimensional graph, etc., which will not be repeated here. For example, the schematic diagram of weights shown in FIG. 3a is a pie chart.

此后,运营商在收集到用户对各个业务的评分之后,便可以根据该便可以根据权重示意图中所指示的各个指标项的权重值,以及获取到的各个业务的评分来计算各个业务最终的分数,从而后续可以利用该分数对各个业务的性能进行评估,以便对各个业务进行改变,以提高业务性能和用户体验质量。Afterwards, after the operator collects the user's ratings for each business, he can calculate the final score of each business according to the weight value of each index item indicated in the weight diagram and the obtained scores of each business. , so that the score can be used to evaluate the performance of each service in the future, so as to make changes to each service, so as to improve service performance and user experience quality.

由上可知,本实施例采用获取用户的调整命令,其中,该调整命令用于指示当前指标项权重的调整值,根据该调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值的总和不变,然后确定所有指标项调整后的权重值,并根据所有指标项调整后的权重值绘制权重示意图。由于该方案可以根据用户的调整命令自动地对当前指标项权重值进行调整,并相应地自动调整指定指标项的权重值,使得所有指标项的权重值的总和不变,因此,相对于现有技术中只能通过手工去计算权重并进行填写和检验而言,可以避免由于权重总和大于或者小于原设定的权重总和所导致的操作无法完成的情况的发生,不仅可以大大减少出错的概率,以及提高操作效率,而且也方便用户操作,有利于提高用户体验质量。It can be seen from the above that this embodiment adopts the adjustment command obtained from the user, wherein the adjustment command is used to indicate the adjustment value of the weight of the current index item, and the weight value of the specified index item and the weight value of the current index item are adjusted according to the adjustment command , so that the sum of the weight values of all index items remains unchanged, and then determine the adjusted weight values of all index items, and draw a weight schematic diagram according to the adjusted weight values of all index items. Since this scheme can automatically adjust the weight value of the current index item according to the adjustment command of the user, and automatically adjust the weight value of the specified index item accordingly, so that the sum of the weight values of all index items remains unchanged, therefore, compared with the existing In terms of technology, the weight can only be calculated manually and filled in and checked, which can avoid the situation that the operation cannot be completed due to the sum of the weight being greater than or less than the original set weight sum, and can not only greatly reduce the probability of error, As well as improving operation efficiency, it is also convenient for users to operate, which is conducive to improving the quality of user experience.

实施例四、Embodiment four,

为了更好地实施以上方法,本发明实施例还相应地提供一种指标项权重的设置装置,如图4a所示,该指标项权重的设置装置包括获取单元401、调整单元402、确定单元403和绘制单元404;In order to better implement the above method, the embodiment of the present invention also provides a device for setting the weight of the index item accordingly. As shown in Figure 4a, the device for setting the weight of the index item includes an acquisition unit 401, an adjustment unit 402, and a determination unit 403 and a rendering unit 404;

获取单元401,用于获取用户的调整命令,其中,该调整命令用于指示当前指标项权重的调整值。The acquiring unit 401 is configured to acquire an adjustment command of a user, where the adjustment command is used to indicate an adjustment value of the weight of the current index item.

例如,获取单元,具体可以用于获取用户在操作屏幕上的手势,其中,该手势用于指示当前指标项权重的调整值;或者,获取用户通过输入设备输入的操作指令,其中,该操作指令用于指示当前指标项权重的调整值,具体可参见前面的实施例,在此不再赘述。For example, the acquiring unit may be specifically configured to acquire a gesture of the user on the operation screen, wherein the gesture is used to indicate the adjustment value of the weight of the current index item; or, acquire an operation instruction input by the user through an input device, wherein the operation instruction For the adjustment value used to indicate the weight of the current index item, refer to the foregoing embodiments for details, and details will not be repeated here.

调整单元402,用于根据获取单元401获取到的调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值的总和不变。The adjustment unit 402 is configured to adjust the weight value of the specified index item and the weight value of the current index item according to the adjustment command acquired by the acquisition unit 401, so that the sum of the weight values of all index items remains unchanged.

例如,调整单元402,具体可以用于将当前指标项的权重加上所述当前指标项权重的调整值,以及将所述当前指标项权重的调整值除以预置的指定指标项的个数N,得到平均调整值,将预置的N个指定指标项的权重值分别减去该平均调整值。For example, the adjustment unit 402 can be specifically configured to add the weight of the current index item to the adjustment value of the weight of the current index item, and divide the adjustment value of the weight of the current index item by the number of preset specified index items N, the average adjustment value is obtained, and the weight values of the preset N specified index items are respectively subtracted from the average adjustment value.

其中,该指定指标项的个数N可以根据实际应用的需求进行设置,比如,可以设置用户不太关注或不太在意的指标项作为指定指标项,等等。其中,N为大于等于1且小于等于K的正整数,K为所有指标项的个数。比如,为了简便起见,一般可以设置一个指定指标项,当然,也可是设置两个、三个,甚至更多,在此不再赘述。Wherein, the number N of the designated index items can be set according to actual application requirements, for example, index items that the user does not pay much attention to or care less about can be set as designated index items, and so on. Wherein, N is a positive integer greater than or equal to 1 and less than or equal to K, and K is the number of all index items. For example, for the sake of simplicity, generally one designated index item can be set, and of course, two, three, or even more can be set, which will not be repeated here.

确定单元403,用于确定所有指标项调整后的权重值。The determining unit 403 is configured to determine adjusted weight values of all index items.

其中,除了当前指标项的权重值和指定指标项的权重值之外,其他指标项的权重值不变。Wherein, except for the weight value of the current index item and the weight value of the specified index item, the weight values of other index items remain unchanged.

绘制单元404,用于根据确定单元403得到的所有指标项调整后的权重值绘制权重示意图。The drawing unit 404 is configured to draw a weight schematic diagram according to the adjusted weight values of all index items obtained by the determining unit 403 .

其中,该权重示意图可以根据实际应用的需求和/或用户的喜好进行设置,比如,可以为圆形、椭圆形、矩形或方形等,可以是饼图,也可以柱形图,可以是二维图,也可以是三维图,等等,在此不再赘述。Wherein, the weight schematic diagram can be set according to actual application requirements and/or user preferences, for example, it can be a circle, an oval, a rectangle or a square, etc., it can be a pie chart, it can also be a bar chart, and it can be two-dimensional The graph may also be a three-dimensional graph, etc., which will not be repeated here.

其中,在获取用户在操作屏幕上的手势,或者,获取用户通过输入设备输入的操作指令时,还可以在权重示意图中通过滑块或线条移动的方式动态反映该手势或操作指令,即:Among them, when obtaining the user's gesture on the operation screen, or obtaining the operation instruction input by the user through the input device, the gesture or operation instruction can also be dynamically reflected in the weight schematic diagram by moving a slider or a line, namely:

绘制单元404,还可以用于在获取单元401获取用户在操作屏幕上的手势,或者,获取用户通过输入设备输入的操作指令时,在权重示意图中通过滑块或线条移动的方式动态反映该手势或操作指令。The drawing unit 404 can also be used to dynamically reflect the gesture in the weight schematic diagram by moving a slider or a line when the acquiring unit 401 acquires the gesture of the user on the operation screen, or acquires the operation instruction input by the user through the input device or operating instructions.

此外,在获取用户的调整命令之前,还可以设置用户的调整命令与权重的调整值的对应关系,即如图4b所示,该指标项权重的设置装置还可以包括关系设置单元405;In addition, before obtaining the user's adjustment command, the corresponding relationship between the user's adjustment command and the adjustment value of the weight can also be set, that is, as shown in Figure 4b, the device for setting the weight of the index item can also include a relationship setting unit 405;

关系设置单元405,用于获取设置信息,根据该设置信息设置用户的调整命令与权重的调整值的对应关系;A relationship setting unit 405, configured to acquire setting information, and set the corresponding relationship between the user's adjustment command and the adjustment value of the weight according to the setting information;

例如,以滑块为例,关系设置单元405可以设置滑块移动的距离和权重的调整值的对应关系,等等。其中,设置信息可以通过多种方式来获取,比如由用户输入、或者从其他设备中获取等等。For example, taking a slider as an example, the relationship setting unit 405 may set a corresponding relationship between the moving distance of the slider and the adjustment value of the weight, and so on. Wherein, the setting information may be obtained in various ways, such as being input by the user, or obtained from other devices, and so on.

则此时,获取单元401,具体可以用于获取用户的调整命令,根据该用户的调整命令与权重的调整值的对应关系确定获取到的调整命令所指示的当前指标项权重的调整值。At this time, the obtaining unit 401 may be specifically configured to obtain the user's adjustment command, and determine the adjustment value of the weight of the current index item indicated by the obtained adjustment command according to the corresponding relationship between the user's adjustment command and the weight adjustment value.

例如,还是以滑块为例,获取单元401可以根据获取到的用户的调整命令确定滑块移动后的位置,然后根据滑块移动后的位置和基准线的位置确定滑块移动的距离,从而就可以根据滑块移动的距离和权重的调整值的对应关系得到当前指标项权重的调整值。此外,还可以得到当前指标项调整后的权重值。For example, still taking the slider as an example, the acquisition unit 401 may determine the position of the slider according to the acquired adjustment command of the user, and then determine the moving distance of the slider according to the position of the slider and the position of the reference line, so that The adjustment value of the weight of the current index item can be obtained according to the corresponding relationship between the moving distance of the slider and the adjustment value of the weight. In addition, the adjusted weight value of the current index item can also be obtained.

另外,需说明的是,在根据该调整命令对预置的指定指标项的权重值进行调整之后,如果指定指标项调整后的权重值为0,则可以由用户自行重新设置新的指定指标项,或者,还可以由系统自动将权重值为0的指定指标项在权重示意图中的相邻指标项(除当前指标项和指定指标项之外)设置为新的指定指标项;即如图4b所示,该指标项权重的设置装置还可以包括指定指标项设置单元406;In addition, it should be noted that after the weight value of the preset specified index item is adjusted according to the adjustment command, if the adjusted weight value of the specified index item is 0, the user can reset the new specified index item , or, the system can also automatically set the adjacent index items (except the current index item and the designated index item) in the weight schematic diagram of the designated index item with a weight value of 0 as the new designated index item; that is, as shown in Figure 4b As shown, the device for setting the index item weight may also include a specified index item setting unit 406;

指定指标项设置单元406,用于在调整单元402将该指定指标项的权重值调整为0时且确定所述指定指标项在权重示意图中的相邻指标项为非当前指标项且为非指定指标项时,则将该相邻指标项设置为新的指定指标项。A specified index item setting unit 406, configured to determine that the adjacent index items of the specified index item in the weight schematic diagram are non-current index items and non-specified when the weight value of the specified index item is adjusted to 0 by the adjustment unit 402 When an indicator item is specified, the adjacent indicator item is set as the new specified indicator item.

具体实现时,以上各个单元可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单元的具体实施可参见前面的实施例,在此不再赘述。In specific implementation, each of the above units may be implemented as an independent entity, or may be combined arbitrarily as one or several entities. The specific implementation of each of the above units may refer to the previous embodiments, and will not be repeated here.

该指标项权重的设置装置具体可以集成在各种通信设备中,比如终端或服务器等等。Specifically, the apparatus for setting the weight of the index item may be integrated in various communication devices, such as terminals or servers.

由上可知,本实施例的指标项权重的设置装置的获取单元401可以获取用户的调整命令,其中,该调整命令用于指示当前指标项权重的调整值,然后由调整单元402根据该调整命令对预置的指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值的总和不变,再然后,由确定单元403确定所有指标项调整后的权重值,并由绘制单元404根据所有指标项调整后的权重值绘制权重示意图。由于该方案可以根据用户的调整命令自动地对当前指标项权重值进行调整,并相应地自动调整指定指标项的权重值,使得所有指标项的权重值的总和不变,因此,相对于现有技术中只能通过手工去计算权重并进行填写和检验而言,可以避免由于权重总和大于或者小于原设定的权重总和所导致的操作无法完成的情况的发生,不仅可以大大减少出错的概率,以及提高操作效率,而且也方便用户操作,有利于提高用户体验质量。It can be known from the above that the obtaining unit 401 of the apparatus for setting the weight of the index item in this embodiment can obtain the adjustment command of the user, wherein the adjustment command is used to indicate the adjustment value of the weight of the current index item, and then the adjustment unit 402 can obtain the adjustment command according to the adjustment command. Adjust the weight value of the preset specified index item and the weight value of the current index item so that the sum of the weight values of all index items remains unchanged, and then determine the adjusted weight value of all index items by the determination unit 403, and The drawing unit 404 draws a weight schematic diagram according to the adjusted weight values of all index items. Since this scheme can automatically adjust the weight value of the current index item according to the adjustment command of the user, and automatically adjust the weight value of the specified index item accordingly, so that the sum of the weight values of all index items remains unchanged, therefore, compared with the existing In terms of technology, the weight can only be calculated manually and filled in and checked, which can avoid the situation that the operation cannot be completed due to the sum of the weight being greater than or less than the original set weight sum, and can not only greatly reduce the probability of error, As well as improving operation efficiency, it is also convenient for users to operate, which is conducive to improving the quality of user experience.

实施例五、Embodiment five,

相应的,本发明实施例还提供一种通信系统,可以包括本发明实施例提供的任一种指标项权重的设置装置,其中,该指标项权重的设置装置具体可参见实施例四,例如,具体可以如下:Correspondingly, the embodiment of the present invention also provides a communication system, which may include any device for setting the weight of the index item provided in the embodiment of the present invention, wherein, for the device for setting the weight of the index item, please refer to Embodiment 4 for details, for example, The details can be as follows:

指标项权重的设置装置,用于获取用户的调整命令,其中,该调整命令用于指示当前指标项权重的调整值,根据该调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值的总和不变,确定所有指标项调整后的权重值,根据所有指标项调整后的权重值绘制权重示意图。The setting device for the weight of the index item is used to obtain the adjustment command of the user, wherein the adjustment command is used to indicate the adjustment value of the weight of the current index item, and the weight value of the specified index item and the weight value of the current index item are adjusted according to the adjustment command. Adjust so that the sum of the weight values of all index items remains unchanged, determine the adjusted weight values of all index items, and draw a weight schematic diagram based on the adjusted weight values of all index items.

其中,该权重示意图可以根据实际应用的需求和/或用户的喜好进行设置,比如,可以为圆形、椭圆形、矩形或方形等,可以是饼图,也可以柱形图,可以是二维图,也可以是三维图,等等,在此不再赘述。Wherein, the weight schematic diagram can be set according to actual application requirements and/or user preferences, for example, it can be a circle, an oval, a rectangle or a square, etc., it can be a pie chart, it can also be a bar chart, and it can be two-dimensional The graph may also be a three-dimensional graph, etc., which will not be repeated here.

可选的,该指标项权重的设置装置,还可以用于在获取用户的调整命令之前,获取设置信息,根据该设置信息设置用户的调整命令与权重的调整值的对应关系,从而在获取用户的调整命令后,可以根据该用户的调整命令与权重的调整值的对应关系确定获取到的调整命令所指示的当前指标项权重的调整值。Optionally, the device for setting the weight of the index item can also be used to obtain setting information before obtaining the user's adjustment command, and set the corresponding relationship between the user's adjustment command and the weight adjustment value according to the setting information, so that when the user's adjustment command is obtained, After the adjustment command is issued, the adjustment value of the weight of the current index item indicated by the obtained adjustment command may be determined according to the corresponding relationship between the adjustment command of the user and the adjustment value of the weight.

此外,在根据该调整命令对预置的指定指标项的权重值进行调整之后,如果指定指标项调整后的权重值为0,则可以由用户自行重新设置新的指定指标项,或者,还可以由系统自动将权重值为0的指定指标项在权重示意图中的相邻指标项(除当前指标项之外)设置为新的指定指标项;即:In addition, after adjusting the weight value of the preset specified indicator item according to the adjustment command, if the adjusted weight value of the specified indicator item is 0, the user can reset a new specified indicator item by himself, or, The system automatically sets the adjacent index items (except the current index item) in the weight schematic diagram of the designated index item with a weight value of 0 as the new designated index item; that is:

该指标项权重的设置装置,还可以用于在该指定指标项调整后的权重值为0时,若确定所述指定指标项在权重示意图中的相邻指标项为非当前指标项且为非指定指标项,则将该相邻指标项设置为新的指定指标项。The setting device for the weight of the index item can also be used to determine that the adjacent index item of the specified index item in the weight schematic diagram is a non-current index item and a non-current index item when the adjusted weight value of the specified index item is 0. If the specified index item is specified, the adjacent index item is set as the new specified index item.

另外,该通信系统还可以包括其他的设备,比如其他可以与该指标项权重的设置装置进行通信的服务器或终端等,在此不再赘述。In addition, the communication system may also include other devices, such as other servers or terminals that can communicate with the device for setting the weight of the index item, and details will not be described here.

以上各个步骤的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of the above steps, reference may be made to the previous embodiments, which will not be repeated here.

由于该通信系统可以包括本发明实施例提供的任一种指标项权重的设置装置,因此可以实现与本发明实施例提供的任一种指标项权重的设置装置所能实现的有益效果,详见前面的实施例,在此不再赘述。Since the communication system can include any setting device for index item weights provided by the embodiments of the present invention, it can achieve the same beneficial effects as the setting device for any index item weights provided by the embodiments of the present invention. For details, see The foregoing embodiments will not be repeated here.

实施例六、Embodiment six,

此外,本发明实施例还提供一种通信设备,具体可以为服务器或终端等设备,包括处理器501、用于收发数据的收发接口502和用于存储数据的存储器503,其中:In addition, an embodiment of the present invention also provides a communication device, which may specifically be a server or a terminal, including a processor 501, a transceiver interface 502 for sending and receiving data, and a memory 503 for storing data, wherein:

处理器501,用于获取用户的调整命令,其中,该调整命令用于指示当前指标项权重的调整值,根据该调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值的总和不变,确定所有指标项调整后的权重值,根据所有指标项调整后的权重值绘制权重示意图。The processor 501 is configured to obtain an adjustment command from the user, wherein the adjustment command is used to indicate the adjustment value of the weight of the current index item, and adjust the weight value of the specified index item and the weight value of the current index item according to the adjustment command, so that The sum of the weight values of all index items remains unchanged, the adjusted weight values of all index items are determined, and the weight schematic diagram is drawn according to the adjusted weight values of all index items.

其中,该权重示意图可以根据实际应用的需求和/或用户的喜好进行设置,比如,可以为圆形、椭圆形、矩形或方形等,可以是饼图,也可以柱形图,可以是二维图,也可以是三维图,等等,在此不再赘述。Wherein, the weight schematic diagram can be set according to actual application requirements and/or user preferences, for example, it can be a circle, an oval, a rectangle or a square, etc., it can be a pie chart, it can also be a bar chart, and it can be two-dimensional The graph may also be a three-dimensional graph, etc., which will not be repeated here.

可选的,该处理器501,还可以用于在获取用户的调整命令之前,获取设置信息,然后根据设置信息设置用户的调整命令与权重的调整值的对应关系,从而在获取用户的调整命令后,可以根据该用户的调整命令与权重的调整值的对应关系确定获取到的调整命令所指示的当前指标项权重的调整值。Optionally, the processor 501 may also be configured to obtain setting information before obtaining the user's adjustment command, and then set the corresponding relationship between the user's adjustment command and the weight adjustment value according to the setting information, so that when the user's adjustment command is obtained, Afterwards, the adjustment value of the weight of the current index item indicated by the acquired adjustment command may be determined according to the correspondence between the adjustment command of the user and the adjustment value of the weight.

此外,在根据该调整命令对预置的指定指标项的权重值进行调整之后,如果指定指标项调整后的权重值为0,则可以由用户自行重新设置新的指定指标项,或者,还可以由系统自动将权重值为0的指定指标项在权重示意图中的相邻指标项(除当前指标项之外)设置为新的指定指标项;即:In addition, after adjusting the weight value of the preset specified indicator item according to the adjustment command, if the adjusted weight value of the specified indicator item is 0, the user can reset a new specified indicator item by himself, or, The system automatically sets the adjacent index items (except the current index item) in the weight schematic diagram of the designated index item with a weight value of 0 as the new designated index item; that is:

该处理器501,还可以用于在该指定指标项调整后的权重值为0时,若确定所述指定指标项在权重示意图中的相邻指标项为非当前指标项且为非指定指标项,则将该相邻指标项设置为新的指定指标项。The processor 501 may also be configured to determine that the adjacent index items of the designated index item in the weight schematic diagram are non-current index items and non-designated index items when the adjusted weight value of the designated index item is 0 , then set the adjacent indicator item as the new specified indicator item.

以上各个设备的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of each of the above devices, reference may be made to the foregoing embodiments, and details are not repeated here.

由上可知,本实施例的通信设备可以获取用户的调整命令,其中,该调整命令用于指示当前指标项权重的调整值,根据该调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值的总和不变,然后确定所有指标项调整后的权重值,并根据所有指标项调整后的权重值绘制权重示意图。由于该方案可以根据用户的调整命令自动地对当前指标项权重值进行调整,并相应地自动调整指定指标项的权重值,使得所有指标项的权重值的总和不变,因此,相对于现有技术中只能通过手工去计算权重并进行填写和检验而言,可以避免由于权重总和大于或者小于原设定的权重总和所导致的操作无法完成的情况的发生,不仅可以大大减少出错的概率,以及提高操作效率,而且也方便用户操作,有利于提高用户体验质量。It can be seen from the above that the communication device in this embodiment can obtain the user's adjustment command, wherein the adjustment command is used to indicate the adjustment value of the weight of the current index item, and according to the adjustment command, the weight value of the specified index item and the weight of the current index item The value is adjusted so that the sum of the weight values of all index items remains unchanged, and then the adjusted weight values of all index items are determined, and a weight schematic diagram is drawn according to the adjusted weight values of all index items. Since this scheme can automatically adjust the weight value of the current index item according to the adjustment command of the user, and automatically adjust the weight value of the specified index item accordingly, so that the sum of the weight values of all index items remains unchanged, therefore, compared with the existing In terms of technology, the weight can only be calculated manually and filled in and checked, which can avoid the situation that the operation cannot be completed due to the sum of the weight being greater than or less than the original set weight sum, and can not only greatly reduce the probability of error, As well as improving operation efficiency, it is also convenient for users to operate, which is conducive to improving the quality of user experience.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), disk or CD, etc.

以上对本发明实施例所提供的一种指标项权重的设置方法、装置和系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method, device and system for setting the weight of an index item provided by the embodiment of the present invention have been described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiment is only used To help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification It should not be construed as limiting the invention.

Claims (11)

1.一种指标项权重的设置方法,其特征在于,包括:1. A method for setting index item weights, comprising: 获取用户的调整命令,所述调整命令用于指示当前指标项权重的调整值;Obtain an adjustment command from the user, where the adjustment command is used to indicate the adjustment value of the weight of the current index item; 根据所述调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值的总和不变;Adjusting the weight value of the specified index item and the weight value of the current index item according to the adjustment command, so that the sum of the weight values of all index items remains unchanged; 确定所有指标项调整后的权重值;Determine the adjusted weight values of all index items; 根据所述所有指标项调整后的权重值绘制权重示意图。Draw a weight schematic diagram according to the adjusted weight values of all the index items. 2.根据权利要求1所述的方法,其特征在于,所述指定指标项的个数为N,所述N为大于等于1且小于等于K的正整数,所述K为所有指标项的个数,则所述根据所述调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值的总和不变,包括:2. The method according to claim 1, wherein the number of the specified index items is N, and the N is a positive integer greater than or equal to 1 and less than or equal to K, and the K is the number of all index items number, then the weight value of the specified index item and the weight value of the current index item are adjusted according to the adjustment command, so that the sum of the weight values of all index items remains unchanged, including: 将所述当前指标项的权重加上所述当前指标项权重的调整值;Adding the weight of the current index item to the adjustment value of the weight of the current index item; 将所述当前指标项权重的调整值除以N,得到平均调整值;Divide the adjustment value of the weight of the current index item by N to obtain the average adjustment value; 将N个指定指标项的权重值分别减去所述平均调整值。The weight values of the N specified index items are respectively subtracted from the average adjustment value. 3.根据权利要求1或2所述的方法,其特征在于,所述根据所述调整命令对指定指标项和当前指标项的权重值进行调整之后,还包括:3. The method according to claim 1 or 2, characterized in that, after adjusting the weight value of the specified index item and the current index item according to the adjustment command, further comprising: 若所述指定指标项调整后的权重值为0,则在确定所述指定指标项在权重示意图中的相邻指标项为非当前指标项且为非指定指标项时,将所述相邻指标项设置为新的指定指标项。If the adjusted weight value of the designated index item is 0, when it is determined that the adjacent index item of the designated index item in the weight schematic diagram is not the current index item and is a non-designated index item, the adjacent index item Item is set to the new specified metric item. 4.根据权利要求1至3任一项所述的方法,其特征在于,所述获取用户的调整命令,所述调整命令用于指示当前指标项权重的调整值包括:4. The method according to any one of claims 1 to 3, characterized in that the acquisition of the user's adjustment command, the adjustment command used to indicate the adjustment value of the weight of the current index item includes: 获取用户在操作屏幕上的手势,所述手势用于指示当前指标项权重的调整值;或者,Obtaining the user's gesture on the operation screen, where the gesture is used to indicate the adjustment value of the weight of the current index item; or, 获取用户通过输入设备输入的操作指令,所述操作指令用于指示当前指标项权重的调整值。The operation instruction input by the user through the input device is acquired, and the operation instruction is used to indicate the adjustment value of the weight of the current index item. 5.根据权利要求4所述的方法,其特征在于,在获取用户在操作屏幕上的手势,或者,获取用户通过输入设备输入的操作指令时,还包括:5. The method according to claim 4, wherein when obtaining the user's gesture on the operation screen, or obtaining the operation instruction input by the user through the input device, further comprising: 在权重示意图中通过滑块或线条移动的方式动态反映所述手势或操作指令。The gesture or operation instruction is dynamically reflected in the weight diagram by moving a slider or a line. 6.一种指标项权重的设置装置,其特征在于,包括:6. A setting device for index item weights, characterized in that it comprises: 获取单元,用于获取用户的调整命令,所述调整命令用于指示当前指标项权重的调整值;An acquisition unit, configured to acquire an adjustment command from a user, where the adjustment command is used to indicate the adjustment value of the weight of the current index item; 调整单元,用于根据所述获取单元获取的调整命令对指定指标项的权重值和当前指标项的权重值进行调整,使得所有指标项的权重值的总和不变;An adjustment unit, configured to adjust the weight value of the specified index item and the weight value of the current index item according to the adjustment command obtained by the acquisition unit, so that the sum of the weight values of all index items remains unchanged; 确定单元,用于确定所有指标项调整后的权重值;Determination unit, used to determine the adjusted weight values of all index items; 绘制单元,用于根据所述确定单元得到的所有指标项调整后的权重值绘制权重示意图。A drawing unit, configured to draw a schematic diagram of weights according to the adjusted weight values of all index items obtained by the determining unit. 7.根据权利要求6所述的指标项权重的设置装置,其特征在于,7. The setting device of index item weight according to claim 6, is characterized in that, 所述调整单元,具体用于将当前指标项的权重加上所述当前指标项权重的调整值,将所述当前指标项权重的调整值除以N,得到平均调整值,将预置的N个指定指标项的权重值分别减去所述平均调整值;其中,所述指定指标项的个数为N,所述N为大于等于1且小于等于K的正整数,所述K为所有指标项的个数。The adjustment unit is specifically used to add the weight of the current index item to the adjustment value of the weight of the current index item, divide the adjustment value of the weight of the current index item by N to obtain an average adjustment value, and divide the preset N The weight values of the specified index items are respectively subtracted from the average adjustment value; wherein, the number of the specified index items is N, and the N is a positive integer greater than or equal to 1 and less than or equal to K, and the K is all indicators number of items. 8.根据权利要求6或7所述的指标项权重的设置装置,其特征在于,还包括指定指标项设置单元;8. The setting device of the index item weight according to claim 6 or 7, further comprising a designated index item setting unit; 所述指定指标项设置单元,用于在所述调整单元将所述指定指标项的权重值为调整为0且确定所述指定指标项在权重示意图中的相邻指标项为非当前指标项且为非指定指标项时,将所述相邻指标项设置为新的指定指标项。The specified index item setting unit is used to adjust the weight value of the specified index item to 0 in the adjustment unit and determine that the adjacent index items of the specified index item in the weight diagram are non-current index items and When it is a non-designated index item, set the adjacent index item as a new designated index item. 9.根据权利要求6至8任一项所述的指标项权重的设置装置,其特征在于,9. The setting device for index item weight according to any one of claims 6 to 8, characterized in that, 所述获取单元,具体用于获取用户在操作屏幕上的手势,所述手势用于指示当前指标项权重的调整值;或者,获取用户通过输入设备输入的操作指令,所述操作指令用于指示当前指标项权重的调整值。The acquisition unit is specifically configured to acquire a gesture of the user on the operation screen, the gesture is used to indicate the adjustment value of the weight of the current index item; or, to acquire an operation instruction input by the user through an input device, and the operation instruction is used to indicate The adjustment value of the weight of the current index item. 10.根据权利要求9所述的指标项权重的设置装置,其特征在于,10. The setting device of index item weight according to claim 9, is characterized in that, 所述绘制单元,还用于在获取单元获取用户在操作屏幕上的手势,或者,获取用户通过输入设备输入的操作指令时,在权重示意图中通过滑块或线条移动的方式动态反映所述手势或操作指令。The drawing unit is further configured to dynamically reflect the gesture in the weight schematic diagram by moving a slider or a line when the acquisition unit acquires the gesture of the user on the operation screen, or acquires the operation instruction input by the user through the input device or operating instructions. 11.一种通信系统,其特征在于,包括权利要求6至10任一项所述的指标项权重的设置装置。11. A communication system, characterized by comprising the setting device for index item weights according to any one of claims 6 to 10.
CN201410041072.0A 2014-01-27 2014-01-27 Index item weight setting method, device and system Pending CN103793139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410041072.0A CN103793139A (en) 2014-01-27 2014-01-27 Index item weight setting method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410041072.0A CN103793139A (en) 2014-01-27 2014-01-27 Index item weight setting method, device and system

Publications (1)

Publication Number Publication Date
CN103793139A true CN103793139A (en) 2014-05-14

Family

ID=50668879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410041072.0A Pending CN103793139A (en) 2014-01-27 2014-01-27 Index item weight setting method, device and system

Country Status (1)

Country Link
CN (1) CN103793139A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304297A (en) * 2018-02-09 2018-07-20 北京航智信息技术有限公司 Realize the method and device of remote control student's mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070180392A1 (en) * 2006-01-27 2007-08-02 Microsoft Corporation Area frequency radial menus
CN102063299A (en) * 2010-12-21 2011-05-18 东莞宇龙通信科技有限公司 Method and device for evaluating application operating conditions in mobile terminal, and mobile terminal
CN102428433A (en) * 2009-05-19 2012-04-25 国际商业机器公司 Radial menus with variable selectable item areas

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070180392A1 (en) * 2006-01-27 2007-08-02 Microsoft Corporation Area frequency radial menus
CN102428433A (en) * 2009-05-19 2012-04-25 国际商业机器公司 Radial menus with variable selectable item areas
CN102063299A (en) * 2010-12-21 2011-05-18 东莞宇龙通信科技有限公司 Method and device for evaluating application operating conditions in mobile terminal, and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304297A (en) * 2018-02-09 2018-07-20 北京航智信息技术有限公司 Realize the method and device of remote control student's mobile terminal
CN108304297B (en) * 2018-02-09 2021-02-26 江西航智信息技术有限公司 Method and device for remotely controlling student mobile terminal

Similar Documents

Publication Publication Date Title
US11989201B2 (en) Generating varied-scale visualizations of multi-dimensional data
US11150793B2 (en) Social balancer for indicating the relative priorities of linked objects
US20120066138A1 (en) User affinity concentrations as social topography
WO2017206001A1 (en) Method for migrating application in mobile edge system, and related device and system
JP2017537367A (en) Assignment of data elements to visualization edges based on semantic distance
CN104391625A (en) Chat display method and device
US10171604B2 (en) System and method for pushing network information
JP2017529585A (en) Process change in multi-tenant system
US9146664B2 (en) Providing content rotation during scroll action
CN109657017B (en) Display method and device for aggregation point set in map
CN109729423A (en) A kind of desktop wallpaper setting method and device
CN110830604B (en) DNS scheduling method and device
US11182606B2 (en) Converting chart data
CN109151597A (en) information display method and device
CN104013410A (en) Method, device and system for audio playing
JP2020502677A (en) User credit evaluation
CN111147395A (en) Network resource adjusting method and device
WO2023226371A1 (en) Target object interactive reproduction control method and apparatus, device and storage medium
AU2014349181A1 (en) Techniques to rate-adjust data usage with a virtual private network
CN103793139A (en) Index item weight setting method, device and system
CN109213451B (en) Management method and device for storage resources in cloud data system
US20140100919A1 (en) Quality of experience data collection
EP4465229A1 (en) Network node, information processing system, information processing method, and non-transitory storage medium
Hassan et al. NSM 2: network slice management and monitoring using machine learning for AR/VR applications
US10795539B2 (en) Visualizing migration of a resource of a distributed computing environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140514