CN110971534B - Uplink rate regulation and control method and device for government affair public opinion - Google Patents
Uplink rate regulation and control method and device for government affair public opinion Download PDFInfo
- Publication number
- CN110971534B CN110971534B CN201911107342.2A CN201911107342A CN110971534B CN 110971534 B CN110971534 B CN 110971534B CN 201911107342 A CN201911107342 A CN 201911107342A CN 110971534 B CN110971534 B CN 110971534B
- Authority
- CN
- China
- Prior art keywords
- rate
- uplink
- expected
- public opinion
- government
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000005259 measurement Methods 0.000 claims description 30
- 230000001105 regulatory effect Effects 0.000 claims description 11
- 230000001276 controlling effect Effects 0.000 claims description 3
- 230000001133 acceleration Effects 0.000 claims 4
- 238000011156 evaluation Methods 0.000 claims 4
- 238000011144 upstream manufacturing Methods 0.000 claims 2
- 230000005540 biological transmission Effects 0.000 abstract description 13
- 238000004364 calculation method Methods 0.000 description 20
- 238000004891 communication Methods 0.000 description 8
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
Landscapes
- Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Educational Administration (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Development Economics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明涉及网络传输速率自动控制技术领域,提供了一种面向政务舆情的上行速率调控方法和装置,该方法包括:在当前时段,按照当前上行速率接收用户终端群发送的多个政务舆情数据包,各个政务舆情数据包中均携带有用户标识数据和政务评论数据,根据当前时段和多个政务舆情数据包中携带的全部用户标识数据测算用户访问期望趋向速率,根据当前时段和多个政务舆情数据包中携带的全部政务评论数据测算政务舆情期望趋向速率,根据政务舆情期望趋向速率和用户访问期望趋向速率将当前上行速率调控至期望上行速率,确保了上行速率的调控精度,防过度调控上行速率,促使上行速率与随时间演变的政务舆情相适配。
The present invention relates to the technical field of automatic network transmission rate control, and provides an uplink rate regulation method and device for government affairs and public opinion. , each government affairs public opinion data packet carries user identification data and government affairs comment data. According to the current time period and all user identification data carried in multiple government affairs public opinion data packets, the expected trend rate of user access is calculated. According to the current period and multiple government affairs public opinion data packets All the government comment data carried in the data packet calculates the expected trend rate of government affairs public opinion, and adjusts the current uplink rate to the expected uplink rate according to the expected trend rate of government affairs public opinion and user access, ensuring the accuracy of uplink speed regulation and preventing over-regulation uplink Speed, so that the uplink speed matches the government affairs public opinion that evolves over time.
Description
技术领域Technical Field
本发明涉及网络传输速率自动控制技术领域,具体涉及一种面向政务舆情的上行速率调控方法和装置。The present invention relates to the technical field of automatic control of network transmission rate, and in particular to an uplink rate regulation method and device for government affairs public opinion.
背景技术Background Art
网络传输速率包括上行速率和下行速率,上行速率是指终端给服务端发送数据的传输速率,下行速率是指服务端给终端发送数据的传输速率,在服务端,上行速率属于服务端在接收终端发送的数据时的传输速率。The network transmission rate includes the uplink rate and the downlink rate. The uplink rate refers to the transmission rate at which the terminal sends data to the server, and the downlink rate refers to the transmission rate at which the server sends data to the terminal. On the server, the uplink rate refers to the transmission rate when the server receives data sent by the terminal.
现有网络传输速率的调控方法侧重于不同应用场景的通用性,包括以下调控方法:(1),扫描网络中网络传输速率通道,根据预设信号强度阈值获得扫描结果,根据扫描结果调控网络传输速率,以减少设备的功耗;(2),在网速控制功能处于开启状态时,基于用户在网速设置界面上设定的最大网络传输速率,调整目标网络的最大网络速率,在网速控制功能处于关闭状态时,基于目标应用的信号传输场景,调整目标应用的最大网络速率,以解决在高速数据网络下无法对网络速度进行控制使流量的无谓消耗增多而导致流量浪费;(3),根据网络组中各网络连接的拥塞窗口值,控制各网络组中的网络连接的数据传输速率,以控制网络拥塞,提升宽带的利用率。Existing methods for regulating network transmission rates focus on the versatility of different application scenarios, including the following regulation methods: (1) scanning the network transmission rate channels in the network, obtaining the scanning results according to a preset signal strength threshold, and regulating the network transmission rate according to the scanning results to reduce the power consumption of the device; (2) when the network speed control function is on, adjusting the maximum network rate of the target network based on the maximum network transmission rate set by the user on the network speed setting interface; when the network speed control function is off, adjusting the maximum network rate of the target application based on the signal transmission scenario of the target application to solve the problem of being unable to control the network speed in a high-speed data network, resulting in increased unnecessary consumption of traffic and resulting in traffic waste; (3) controlling the data transmission rate of the network connections in each network group according to the congestion window value of each network connection in the network group to control network congestion and improve the utilization of broadband.
然而,现有网络传输速率的调控方法难以面向政务舆情调控上行速率,上行速率容易脱离随时间演变的政务舆情。However, the existing network transmission rate regulation method is difficult to regulate the uplink rate for government public opinion, and the uplink rate is easily out of line with the government public opinion that evolves over time.
发明上容Invention
针对现有网络传输速率的调控方法难以面向政务舆情调控上行速率,上行速率容易脱离随时间演变的政务舆情,本发明提供一种面向政务舆情的上行速率调控方法、装置、政务服务器和智能网络设备。The existing network transmission rate control method is difficult to control the uplink rate for government public opinion, and the uplink rate is easily deviated from the government public opinion that evolves over time. The present invention provides an uplink rate control method, device, government server and intelligent network equipment for government public opinion.
本发明第一方面提供一种面向政务舆情的上行速率调控方法,包括:A first aspect of the present invention provides an uplink rate control method for government affairs public opinion, comprising:
在当前时段,按照当前上行速率接收用户终端群发送的多个政务舆情数据包,各个政务舆情数据包中均携带有用户标识数据和政务评论数据;In the current period, multiple government affairs public opinion data packets sent by the user terminal group are received according to the current uplink rate, each of which carries user identification data and government affairs comment data;
根据所述当前时段和多个政务舆情数据包中携带的全部用户标识数据测算用户访问期望趋向速率;Calculate the expected trend rate of user access based on all user identification data carried in the current time period and multiple government affairs public opinion data packets;
根据所述当前时段和多个政务舆情数据包中携带的全部政务评论数据测算政务舆情期望趋向速率;Calculate the expected trend rate of government public opinion based on all government comment data carried in the current time period and multiple government public opinion data packets;
根据所述政务舆情期望趋向速率和所述用户访问期望趋向速率将所述当前上行速率调控至期望上行速率。The current uplink rate is adjusted to the expected uplink rate according to the expected trend rate of government public opinion and the expected trend rate of user access.
本发明第二方面提供一种面向政务舆情的上行速率调控装置,包括:A second aspect of the present invention provides an uplink rate control device for government affairs public opinion, comprising:
数据包接收模块,用于在当前时段,按照当前上行速率接收用户终端群发送的多个政务舆情数据包,各个政务舆情数据包中均携带有用户标识数据和政务评论数据;The data packet receiving module is used to receive multiple government affairs public opinion data packets sent by the user terminal group at the current uplink rate during the current period, each of which carries user identification data and government affairs comment data;
访问速率测算模块,用于根据所述当前时段和多个政务舆情数据包中携带的全部用户标识数据测算用户访问期望趋向速率;An access rate calculation module, used to calculate the expected trend rate of user access based on all user identification data carried in the current time period and multiple government affairs public opinion data packets;
舆情速率测算模块,用于根据所述当前时段和多个政务舆情数据包中携带的全部政务评论数据测算政务舆情期望趋向速率;A public opinion rate calculation module, used to calculate the expected trend rate of government public opinion based on all government comment data carried in the current time period and multiple government public opinion data packets;
上行速率调控模块,用于根据所述政务舆情期望趋向速率和所述用户访问期望趋向速率将所述当前上行速率调控至期望上行速率。The uplink rate control module is used to control the current uplink rate to the expected uplink rate according to the expected trend rate of government public opinion and the expected trend rate of user access.
本发明第三方面提供一种政务服务器,包括:存储器和与所述存储器耦合的处理器,所述存储器可被配置存储至少一条指令或至少一段程序或代码集或指令集,所述指令或所述程序或所述代码集或所述指令集由所述处理器加载并执行以实现如第一方面所述面向政务舆情的上行速率调控方法所执行的操作步骤。The third aspect of the present invention provides a government affairs server, comprising: a memory and a processor coupled to the memory, the memory can be configured to store at least one instruction or at least one program or code set or instruction set, the instruction or the program or the code set or the instruction set is loaded and executed by the processor to implement the operating steps performed by the uplink rate control method for government affairs public opinion as described in the first aspect.
本发明第四方面提供一种智能网络设备,所述智能网络设备被配置有网络上行速度控制程序,所述智能网络设备在所述网络上行速度控制程序被加载并运行时实现如第一方面所述面向政务舆情的上行速率调控方法所执行的操作步骤。The fourth aspect of the present invention provides an intelligent network device, which is configured with a network uplink speed control program. When the network uplink speed control program is loaded and run, the intelligent network device implements the operating steps performed by the uplink rate regulation method for government public opinion as described in the first aspect.
本发明提供的面向政务舆情的上行速率调控方法、装置、政务服务器和智能网络设备的有益效果是:通过当前时段与在当前时段的全部用户标识数据相结合测算用户访问期望趋向速率,保证了用户访问期望趋向速率的准确性,通过当前时段与在当前时段的全部政务评论数据相结合测算政务舆情期望趋向速率,既提高了当前时段的使用率,又保证了政务舆情期望趋向速率的准确性,通过政务舆情期望趋向速率与用户访问期望趋向速率相结合使当前上行速率调控至期望上行速率,确保了上行速率的调控精度,防过度调控上行速率,以使上行速率与随时间演变的政务舆情相适配。The beneficial effects of the uplink rate control method, device, government server and intelligent network equipment for government affairs public opinion provided by the present invention are as follows: the expected trend rate of user access is calculated by combining the current time period with all user identification data in the current time period, thereby ensuring the accuracy of the expected trend rate of user access; the expected trend rate of government affairs public opinion is calculated by combining the current time period with all government affairs comment data in the current time period, thereby improving the utilization rate of the current time period and ensuring the accuracy of the expected trend rate of government affairs public opinion; the current uplink rate is controlled to the expected uplink rate by combining the expected trend rate of government affairs public opinion with the expected trend rate of user access, thereby ensuring the control accuracy of the uplink rate and preventing excessive control of the uplink rate, so as to make the uplink rate adapt to the government affairs public opinion evolving over time.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作以简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
图1为本发明实施例提供的一种面向政务舆情的上行速率调控方法的流程示意图;FIG1 is a flow chart of an uplink rate control method for government affairs public opinion provided by an embodiment of the present invention;
图2为本发明实施例提供的另一种面向政务舆情的上行速率调控方法的流程示意图;FIG2 is a flow chart of another uplink rate control method for government affairs public opinion provided by an embodiment of the present invention;
图3为本发明实施例提供的另一种面向政务舆情的上行速率调控方法的流程示意图;FIG3 is a flow chart of another uplink rate control method for government affairs public opinion provided by an embodiment of the present invention;
图4为本发明实施例提供的一种面向政务舆情的上行速率调控装置的结构示意图;FIG4 is a schematic diagram of the structure of an uplink rate control device for government affairs public opinion provided by an embodiment of the present invention;
图5为本发明实施例提供的一种政务服务器的通信连接示意图。FIG5 is a schematic diagram of a communication connection of a government affairs server provided in an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
以下结合附图对本发明的原理和特征进行描述,所举实例只用以解释本发明,并非用以限定本发明的范围。The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention but not to limit the scope of the present invention.
实施例一Embodiment 1
一种面向政务舆情的上行速率调控方法,包括以下由程序执行的步骤:A method for regulating uplink rate for government affairs public opinion includes the following steps executed by a program:
步骤10,在当前时段,按照当前上行速率接收用户终端群发送的多个政务舆情数据包,各个政务舆情数据包中携带用户标识数据和政务评论数据;Step 10: In the current period, multiple government affairs public opinion data packets sent by the user terminal group are received according to the current uplink rate, each of which carries user identification data and government affairs comment data;
步骤20,根据当前时段和多个政务舆情数据包中携带的全部用户标识数据测算用户访问期望趋向速率;Step 20, calculating the user access expected trend rate according to the current time period and all user identification data carried in multiple government affairs public opinion data packets;
步骤30,根据当前时段和多个政务舆情数据包中携带的全部政务评论数据测算政务舆情期望趋向速率;Step 30, calculating the expected trend rate of government public opinion based on the current time period and all government comment data carried in multiple government public opinion data packets;
步骤40,根据政务舆情期望趋向速率和用户访问期望趋向速率将当前上行速率调控至期望上行速率。Step 40, adjusting the current uplink rate to the expected uplink rate according to the expected trend rate of government public opinion and the expected trend rate of user access.
示范性地,如图1-3所示的面向政务舆情的上行速率调控方法可以应用于诸如网络服务器或者网关等智能网络设备中,当前上行速率属于设定在智能网络设备中的静态速率,该静态速率可以在不同时段保持不变,用户终端群可以是接入组网网络的多个用户终端组成,每个用户终端可以与接入组网网络的同一网络服务器建立通信连接。Exemplarily, the uplink rate control method for government public opinion as shown in Figures 1-3 can be applied to intelligent network devices such as network servers or gateways. The current uplink rate is a static rate set in the intelligent network device, which can remain unchanged at different time periods. The user terminal group can be composed of multiple user terminals accessing the networking network, and each user terminal can establish a communication connection with the same network server accessing the networking network.
示范性地,每个用户标识数据可以预先存储在对应的用户终端中,例如:用户A预先输入用户终端B中的身份证号或者网络媒体发布平台的账号信息,网络媒体发布平台诸如微博应用程序或者微信应用程序或者新闻应用程序等;政务评论数据属于对应的用户终端在呈现政务内容期间被用户针对该政务内容操作产生的政务舆情数据,例如:用户终端B被用户B在政务内容相关联的显示区域输入的点赞指令或者转发指令或者评论文字,多个政务舆情数据包中携带的全部政务评论数据包括分别与政务内容相关联的多个转发操作数据、多个点赞操作数据和多个文本评述数据。Exemplarily, each user identification data can be pre-stored in the corresponding user terminal, for example: user A pre-enters the ID number or account information of the online media publishing platform into user terminal B, the online media publishing platform is such as a Weibo application or a WeChat application or a news application, etc.; the government affairs comment data belongs to the government affairs public opinion data generated by the user operation on the government affairs content during the presentation of the government affairs content by the corresponding user terminal, for example: the like instruction or forwarding instruction or comment text input by user B in the display area associated with the government affairs content by user terminal B, all the government affairs comment data carried in multiple government affairs public opinion data packets include multiple forwarding operation data, multiple like operation data and multiple text comment data respectively associated with the government affairs content.
示范性地,如图1所示,在网络服务器中,以并行方式运行第一线程和第二线程,第一线程执行步骤20中用户访问期望趋向速率的测算步骤,第二线程执行步骤30中政务舆情期望趋向速率的测算步骤,使步骤20和步骤30得以并行方式运行,相比于串行方式,缩短了用户访问期望趋向速率和政务舆情期望趋向速率的测算时间,确保了该两个期望趋向速率的测算效率。Exemplarily, as shown in FIG1 , in a network server, a first thread and a second thread are run in parallel, the first thread executes the step of calculating the expected trend rate of user access in step 20, and the second thread executes the step of calculating the expected trend rate of government public opinion in step 30, so that step 20 and step 30 can be run in parallel. Compared with the serial method, the calculation time of the expected trend rate of user access and the expected trend rate of government public opinion is shortened, thereby ensuring the calculation efficiency of the two expected trend rates.
如图2及图3所示,在网络服务器中,通过一个线程分时执行步骤20中用户访问期望趋向速率的测算步骤以及第二线程执行步骤30中政务舆情期望趋向速率的测算步骤,使步骤20和步骤30以串行方式执行,相比于并行方式,有助于降低步骤20和步骤30的控制难度。As shown in Figures 2 and 3, in the network server, one thread executes the step of calculating the expected trend rate of user access in step 20 and the second thread executes the step of calculating the expected trend rate of government public opinion in step 30 in a time-sharing manner, so that step 20 and step 30 are executed in serial mode, which helps to reduce the control difficulty of step 20 and step 30 compared to the parallel mode.
步骤20具体包括:Step 20 specifically includes:
步骤21,对各个用户标识数据进行累计计数,得到用户标识总个数;Step 21, cumulatively counting each user identification data to obtain the total number of user identifications;
步骤22,将当前时段所属的时长和用户标识总个数输入第一预设期望速率测算模型,第一预设期望速率测算模型对当前时段所属的时长和用户标识总个数进行求解,得到用户访问期望趋向速率,输出用户访问期望趋向速率。Step 22, input the duration of the current time period and the total number of user identifiers into the first preset expected rate calculation model, the first preset expected rate calculation model solves the duration of the current time period and the total number of user identifiers, obtains the user access expected trend rate, and outputs the user access expected trend rate.
示范性地,用户终端群中的用户终端总数可以为1500个,其中,1000个用户终端在当前时段所属的用户标识数据各不相同,网络服务器对每个用户标识数据逐一累计计数后,得到用户标识总个数为1000。Exemplarily, the total number of user terminals in the user terminal group may be 1500, wherein the user identification data of 1000 user terminals in the current period are different, and after the network server accumulates and counts each user identification data one by one, the total number of user identifications obtained is 1000.
第一预设期望速率测算模型具体表示为:The first preset expected rate calculation model is specifically expressed as:
其中,Seuv表示用户访问期望趋向速率,λ1表示第一预设增速系数,第一预设增速系数λ1大于0且小于1,Nuid表示用户标识总个数,T表示当前时段所属的时长。Among them, S euv represents the expected trend rate of user access, λ 1 represents the first preset growth rate coefficient, the first preset growth rate coefficient λ 1 is greater than 0 and less than 1, Nuid represents the total number of user identifiers, and T represents the duration of the current time period.
示范性地,第一预设增速系数λ1可以等于0.06,用户标识总个数Nuid可以等于30000个,当前时段所属的时长T为12秒,用户访问期望趋向速率Seuv为2650个/秒,支持准确、快速地测算用户访问期望趋向速率,确保了用户访问期望趋向速率的测算效率和测算精度。Exemplarily, the first preset growth rate coefficient λ 1 can be equal to 0.06, the total number of user identifiers Nuid can be equal to 30,000, the duration T of the current time period is 12 seconds, and the user access expected trend rate S euv is 2650/second, which supports accurate and rapid measurement of the user access expected trend rate and ensures the measurement efficiency and accuracy of the user access expected trend rate.
步骤30具体包括:Step 30 specifically includes:
步骤31、对各个转发操作数据进行累计计数,得到转发总次数,并对各个点赞操作数据进行累计计数,得到点赞总次数,以及对各个评论文本数据进行累计计数,得到评论总次数;Step 31: cumulatively count each forwarding operation data to obtain the total number of forwardings, cumulatively count each like operation data to obtain the total number of likes, and cumulatively count each comment text data to obtain the total number of comments;
步骤32、将当前时段所属的时长、转发总次数、点赞总次数和评论总次数输入第二预设期望速率测算模型,第二预设期望速率测算模型对当前时段所属的时长、转发总次数、点赞总次数和评论总次数进行求解,得到政务舆情期望趋向速率,输出政务舆情期望趋向速率。Step 32: Input the duration of the current time period, the total number of reposts, the total number of likes and the total number of comments into the second preset expected rate calculation model. The second preset expected rate calculation model solves the duration of the current time period, the total number of reposts, the total number of likes and the total number of comments to obtain the expected trend rate of government public opinion, and outputs the expected trend rate of government public opinion.
示范性地,在网络服务器中,以并行方式运行第三线程、第四线程和第五线程,第三线程执行对各个转发操作数据进行累计计数的操作步骤,第四线程执行对各个点赞操作数据进行累计计数的操作步骤,第五线程执行对各个评论文本数据进行累计计数的操作步骤,使所有转发操作数据、所有点赞操作数据和所有评论文本数据分别得以并行方式被累计计数,相比于串行方式,缩短了累计计数的时长,有助于提升政务舆情期望趋向速率的测算效率。Exemplarily, in a network server, the third thread, the fourth thread and the fifth thread are run in parallel, the third thread executes the operation steps of accumulating and counting each forwarding operation data, the fourth thread executes the operation steps of accumulating and counting each like operation data, and the fifth thread executes the operation steps of accumulating and counting each comment text data, so that all forwarding operation data, all like operation data and all comment text data can be accumulated and counted in parallel, respectively. Compared with the serial method, the time for cumulative counting is shortened, which helps to improve the efficiency of measuring the expected trend rate of government public opinion.
第二预设期望速率测算模型具体表示为:The second preset expected rate calculation model is specifically expressed as:
其中,Segpo表示政务舆情期望趋向速率,λ2表示第二预设增速系数,第二预设增速系数λ2大于0且小于1,kf表示与转发总次数Nf对应的权重系数,kg表示与点赞总次数Ng对应的权重系数,kc表示与评论总次数Nc对应的权重系数,T表示当前时段所属的时长。Among them, S egpo represents the expected trend rate of government public opinion, λ 2 represents the second preset growth rate coefficient, the second preset growth rate coefficient λ 2 is greater than 0 and less than 1, k f represents the weight coefficient corresponding to the total number of reposts N f , k g represents the weight coefficient corresponding to the total number of likes N g , k c represents the weight coefficient corresponding to the total number of comments N c , and T represents the duration of the current time period.
示范性的,第二预设增速系数可以与第一预设增速系数相等,第二预设增速系数可以设置大于0且小于0.1,例如:第二预设增速系数可以等于0.06,权重系数kf、kg和kc均可以是根据经验设定或者根据机器学习训练模型训练后得到,例如:kf、kg和kc分别可以为0.3、0.2和0.5,转发总次数Nf可以为5000个,点赞总次数Ng可以为10000个,评论总次数Nc可以为20000个,政务舆情期望趋向速率可以为1192.5个/秒,支持精确、快速地测算政务舆情期望趋向速率,确保了政务舆情期望趋向速率的测算效率,提高了政务舆情期望趋向速率的测算精度。Exemplarily, the second preset growth rate coefficient can be equal to the first preset growth rate coefficient. The second preset growth rate coefficient can be set to be greater than 0 and less than 0.1. For example, the second preset growth rate coefficient can be equal to 0.06. The weight coefficients kf , kg and kc can all be set according to experience or obtained after training according to a machine learning training model. For example, kf , kg and kc can be 0.3, 0.2 and 0.5 respectively. The total number of reposts Nf can be 5000, the total number of likes Ng can be 10000, the total number of comments Nc can be 20000, and the expected trend rate of government public opinion can be 1192.5/second, which supports accurate and rapid measurement of the expected trend rate of government public opinion, ensures the efficiency of measuring the expected trend rate of government public opinion, and improves the accuracy of measuring the expected trend rate of government public opinion.
步骤40具体包括:Step 40 specifically includes:
步骤41,将政务舆情期望趋向速率、用户访问期望趋向速率和当前上行速率输入第三预设期望速率测算模型,第三预设期望速率测算模型对政务舆情期望趋向速率、用户访问期望趋向速率和当前上行速率进行求解,得到上行调幅速率,输出上行调幅速率;Step 41, inputting the expected trend rate of government public opinion, the expected trend rate of user access and the current uplink rate into a third preset expected rate calculation model, the third preset expected rate calculation model solves the expected trend rate of government public opinion, the expected trend rate of user access and the current uplink rate to obtain the uplink amplitude modulation rate, and outputs the uplink amplitude modulation rate;
步骤42,根据上行调幅速率将当前上行速率调控至期望上行速率。Step 42: Adjust the current uplink rate to the expected uplink rate according to the uplink amplitude modulation rate.
第三预设期望速率测算模型具体表示为:The third preset expected rate calculation model is specifically expressed as:
其中,Suam表示上行调幅速率,lg(Segpo)表示以10为底的政务舆情期望趋向速率Segpo的对数,lg(Seuv)表示以10为底的用户访问期望趋向速率Seuv的对数,Slast表示当前上行速率。Among them, S uam represents the uplink amplitude modulation rate, lg(S egpo ) represents the logarithm of the expected trend rate S egpo of government public opinion with base 10, lg(S euv ) represents the logarithm of the expected trend rate S euv of user access with base 10, and S last represents the current uplink rate.
示范性地,lg(Segpo)可以为3.07,lg(Seuv)可以为3.42,当前上行速率Slast可以为1536kbps,上行调幅速率Suam可以为1378.8kbps,支持精确、快速地测算上行调幅速率,既确保了上行调幅速率的测算效率和测算精度,又提高了当前上行速率的利用率。Exemplarily, lg(S egpo ) can be 3.07, lg(S euv ) can be 3.42, the current uplink rate S last can be 1536 kbps, and the uplink amplitude modulation rate S uam can be 1378.8 kbps, which supports accurate and fast measurement of the uplink amplitude modulation rate, ensures the measurement efficiency and accuracy of the uplink amplitude modulation rate, and improves the utilization rate of the current uplink rate.
步骤42具体包括:当上行调幅速率大于或等于预设上限速率时,则将预设上限速率与当前上行速率之和配置为期望上行速率;当上行调幅速率在预设上限速率与预设下限速率之间时,则将上行调幅速率与当前上行速率之和配置为期望上行速率;当上行调幅速率小于或等于预设下限速率时,则将预设下限速率与当前上行速率之和配置为期望上行速率。Step 42 specifically includes: when the uplink amplitude modulation rate is greater than or equal to the preset upper limit rate, the sum of the preset upper limit rate and the current uplink rate is configured as the expected uplink rate; when the uplink amplitude modulation rate is between the preset upper limit rate and the preset lower limit rate, the sum of the uplink amplitude modulation rate and the current uplink rate is configured as the expected uplink rate; when the uplink amplitude modulation rate is less than or equal to the preset lower limit rate, the sum of the preset lower limit rate and the current uplink rate is configured as the expected uplink rate.
示范性地,预设上限速率和预设下限速率可以是预先配置在网络服务器中的两个不同经验值,例如:预设上限速率为2000kbps以及预设下限速率为1000kbps,依据上行调幅速率与预设上限速率和预设下限速率之间的大小关系精细化测算作为增速值的和值,使用该和值精确、快速地将当前上行速率增大至期望上行速率,有效确保了期望上行速率在合理范围内,以防期望上行速率过度增大。Exemplarily, the preset upper limit rate and the preset lower limit rate can be two different empirical values pre-configured in the network server, for example: the preset upper limit rate is 2000kbps and the preset lower limit rate is 1000kbps, and the sum of the growth rate values is refinedly calculated based on the relationship between the uplink amplitude modulation rate and the preset upper limit rate and the preset lower limit rate. The sum is used to accurately and quickly increase the current uplink rate to the expected uplink rate, effectively ensuring that the expected uplink rate is within a reasonable range to prevent the expected uplink rate from increasing excessively.
实施例二Embodiment 2
如图4所示,一种面向政务舆情的上行速率调控装置,包括:数据包接收模块,用于在当前时段,按照当前上行速率接收用户终端群发送的多个政务舆情数据包;访问速率测算模块,用于根据当前时段和多个政务舆情数据包中携带的全部用户标识数据测算用户访问期望趋向速率;舆情速率测算模块,用于根据当前时段和多个政务舆情数据包中携带的全部政务评论数据测算政务舆情期望趋向速率;上行速率调控模块,用于根据政务舆情期望趋向速率和用户访问期望趋向速率将当前上行速率调控至期望上行速率。As shown in Figure 4, an uplink rate control device for government public opinion includes: a data packet receiving module, which is used to receive multiple government public opinion data packets sent by a user terminal group at the current uplink rate during the current time period; an access rate calculation module, which is used to calculate the expected trend rate of user access based on the current time period and all user identification data carried in the multiple government public opinion data packets; a public opinion rate calculation module, which is used to calculate the expected trend rate of government public opinion based on the current time period and all government comment data carried in the multiple government public opinion data packets; an uplink rate control module, which is used to control the current uplink rate to the expected uplink rate based on the expected trend rate of government public opinion and the expected trend rate of user access.
访问速率测算模块具体用于:对各个用户标识数据进行累计计数,得到用户标识总个数;将当前时段所属的时长和用户标识总个数输入第一预设期望速率测算模型,第一预设期望速率测算模型对当前时段所属的时长和用户标识总个数进行求解后输出用户访问期望趋向速率。The access rate measurement module is specifically used for: accumulating and counting each user identification data to obtain the total number of user identifications; inputting the duration of the current time period and the total number of user identifications into the first preset expected rate measurement model, and the first preset expected rate measurement model solves the duration of the current time period and the total number of user identifications and then outputs the expected trend rate of user access.
第一预设期望速率测算模型具体表示为:The first preset expected rate calculation model is specifically expressed as:
其中,Seuv表示用户访问期望趋向速率,λ1表示第一预设增速系数,第一预设增速系数λ1大于0且小于1,Nuid表示用户标识总个数,T表示当前时段所属的时长。Among them, S euv represents the expected trend rate of user access, λ 1 represents the first preset growth rate coefficient, the first preset growth rate coefficient λ 1 is greater than 0 and less than 1, Nuid represents the total number of user identifiers, and T represents the duration of the current time period.
舆情速率测算模块具体用于:对各个转发操作数据进行累计计数,得到转发总次数;对各个点赞操作数据进行累计计数,得到点赞总次数;对各个评论文本数据进行累计计数,得到评论总次数;将当前时段所属的时长、转发总次数、点赞总次数和评论总次数输入第二预设期望速率测算模型,第二预设期望速率测算模型对当前时段所属的时长、转发总次数、点赞总次数和评论总次数进行求解后输出政务舆情期望趋向速率。The public opinion rate measurement module is specifically used for: accumulating the counting of each forwarding operation data to obtain the total number of forwardings; accumulating the counting of each like operation data to obtain the total number of likes; accumulating the counting of each comment text data to obtain the total number of comments; inputting the duration of the current time period, the total number of forwardings, the total number of likes and the total number of comments into the second preset expected rate measurement model, and the second preset expected rate measurement model solves the duration of the current time period, the total number of forwardings, the total number of likes and the total number of comments, and then outputs the expected trend rate of government public opinion.
第二预设期望速率测算模型具体表示为:The second preset expected rate calculation model is specifically expressed as:
其中,Segpo表示政务舆情期望趋向速率,λ2表示第二预设增速系数,第二预设增速系数λ2大于0且小于1,kf表示与转发总次数Nf对应的权重系数,kg表示与点赞总次数Ng对应的权重系数,kc表示与评论总次数Nc对应的权重系数,T表示当前时段所属的时长。Among them, S egpo represents the expected trend rate of government public opinion, λ 2 represents the second preset growth rate coefficient, the second preset growth rate coefficient λ 2 is greater than 0 and less than 1, k f represents the weight coefficient corresponding to the total number of reposts N f , k g represents the weight coefficient corresponding to the total number of likes N g , k c represents the weight coefficient corresponding to the total number of comments N c , and T represents the duration of the current time period.
上行速率调控模块具体包括:第一子模块,用于将政务舆情期望趋向速率、用户访问期望趋向速率和当前上行速率输入第三预设期望速率测算模型,第三预设期望速率测算模型对政务舆情期望趋向速率、用户访问期望趋向速率和当前上行速率进行求解后输出上行调幅速率;第二子模块,用于根据上行调幅速率将当前上行速率调控至期望上行速率。The uplink rate control module specifically includes: a first submodule, which is used to input the expected trend rate of government public opinion, the expected trend rate of user access and the current uplink rate into a third preset expected rate calculation model, and the third preset expected rate calculation model solves the expected trend rate of government public opinion, the expected trend rate of user access and the current uplink rate and then outputs the uplink amplitude modulation rate; a second submodule, which is used to control the current uplink rate to the expected uplink rate according to the uplink amplitude modulation rate.
所述第三预设期望速率测算模型具体表示为:The third preset expected rate calculation model is specifically expressed as:
其中,Suam表示上行调幅速率,lg(Segpo)表示以10为底的政务舆情期望趋向速率Segpo的对数,lg(Seuv)表示以10为底的用户访问期望趋向速率Seuv的对数,Slast表示当前上行速率。Among them, S uam represents the uplink amplitude modulation rate, lg(S egpo ) represents the logarithm of the expected trend rate S egpo of government public opinion with base 10, lg(S euv ) represents the logarithm of the expected trend rate S euv of user access with base 10, and S last represents the current uplink rate.
第二子模块具体用于:当上行调幅速率大于或等于预设上限速率时,则将预设上限速率与当前上行速率之和配置为期望上行速率;当上行调幅速率在预设上限速率与预设下限速率之间时,则将上行调幅速率与当前上行速率之和配置为期望上行速率;当上行调幅速率小于或等于预设下限速率时,则将预设下限速率与当前上行速率之和配置为期望上行速率。The second submodule is specifically used for: when the uplink amplitude modulation rate is greater than or equal to the preset upper limit rate, configuring the sum of the preset upper limit rate and the current uplink rate as the expected uplink rate; when the uplink amplitude modulation rate is between the preset upper limit rate and the preset lower limit rate, configuring the sum of the uplink amplitude modulation rate and the current uplink rate as the expected uplink rate; when the uplink amplitude modulation rate is less than or equal to the preset lower limit rate, configuring the sum of the preset lower limit rate and the current uplink rate as the expected uplink rate.
实施例三Embodiment 3
一种政务服务器,包括:存储器和与所述存储器耦合的处理器,所述存储器可被配置存储至少一条指令或至少一段程序或代码集或指令集,所述指令或所述程序或所述代码集或所述指令集由所述处理器加载并执行以实现如实施例一中面向政务舆情的上行速率调控方法所执行的任一操作步骤。A government affairs server comprises: a memory and a processor coupled to the memory, wherein the memory can be configured to store at least one instruction or at least one program or code set or instruction set, wherein the instruction or the program or the code set or the instruction set is loaded and executed by the processor to implement any operation step performed by the uplink rate control method for government affairs public opinion in Example 1.
示范性地,如图5所示,处理器分别通过通信总线与存储器和通信接口通信连接,通信接口可以是融合通信接口,处理器可以控制通信接口,使通信接口执行按照当前上行速率在当前时段接收用户终端群发送的多个政务舆情数据包的操作步骤,处理器可以执行测算用户访问期望趋向速率、测算政务舆情期望趋向速率以及调控当前上行速率等相关的操作步骤,具体参见实施例一,此处不在赘述。Exemplarily, as shown in FIG5 , the processor is respectively connected to the memory and the communication interface through the communication bus. The communication interface may be a converged communication interface. The processor may control the communication interface so that the communication interface executes the operating steps of receiving multiple government affairs public opinion data packets sent by the user terminal group in the current time period according to the current uplink rate. The processor may execute related operating steps such as calculating the expected trend rate of user access, calculating the expected trend rate of government affairs public opinion, and regulating the current uplink rate. For details, please refer to Example 1, which will not be repeated here.
实施例四Embodiment 4
一种智能网络设备,其被配置有网络上行速度控制程序,且该智能网络设备在网络上行速度控制程序被加载并运行时实现实现如实施例一中面向政务舆情的上行速率调控方法所执行的任一操作步骤。An intelligent network device is configured with a network uplink speed control program, and when the network uplink speed control program is loaded and run, the intelligent network device implements any operation step performed by the uplink rate regulation method for government affairs public opinion in Example 1.
读者应理解,在本说明书的描述中,参考术语“方面”、“实施例”和“实施方式”和“具体方式”等的描述意指结合该实施例或示例描述的具体特征、步骤或者特点包含于本发明的至少一个实施例或示例中,术语“第一”和“第二”等仅用以描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量,由此,限定有“第一”和“第二”等的特征可以明示或者隐含地包括至少一个该特征。The reader should understand that, in the description of this specification, the descriptions with reference to the terms "aspect", "embodiment", "implementation method" and "specific method" etc. mean that the specific features, steps or characteristics described in combination with the embodiment or example are included in at least one embodiment or example of the present invention, and the terms "first" and "second" etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined as "first" and "second" etc. may explicitly or implicitly include at least one such feature.
在本说明书中,对上述术语的示意性表述不必针对的是相同的实施例或示例,描述的具体特征、步骤或者特点可以在一个或多个具体实例或示例中以合适的方式结合,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同具体实例或示例并不同实施例或示例的特征进行结合或/和组合。In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. The specific features, steps or characteristics described may be combined in a suitable manner in one or more specific instances or examples. In the absence of contradictions, those skilled in the art may combine or/and combine the features of different specific instances or examples and different embodiments or examples described in this specification.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911107342.2A CN110971534B (en) | 2019-11-13 | 2019-11-13 | Uplink rate regulation and control method and device for government affair public opinion |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911107342.2A CN110971534B (en) | 2019-11-13 | 2019-11-13 | Uplink rate regulation and control method and device for government affair public opinion |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110971534A CN110971534A (en) | 2020-04-07 |
CN110971534B true CN110971534B (en) | 2023-05-05 |
Family
ID=70030524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911107342.2A Active CN110971534B (en) | 2019-11-13 | 2019-11-13 | Uplink rate regulation and control method and device for government affair public opinion |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110971534B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106911582A (en) * | 2017-03-07 | 2017-06-30 | 北京搜狐新媒体信息技术有限公司 | A kind of real-time traffic control method and system based on Nginx servers |
CN110062425A (en) * | 2019-04-08 | 2019-07-26 | 京信通信系统(中国)有限公司 | Control method, device, computer equipment and the storage medium of network transmission speed |
CN110297984A (en) * | 2019-05-17 | 2019-10-01 | 中国传媒大学 | Information transmission dynamics system, construction method, device and medium based on microblogging |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170270547A1 (en) * | 2016-03-18 | 2017-09-21 | Michael Daniel Poltz | Application Based Public Opinion Polling Method - a modern approach to public opinion polling |
-
2019
- 2019-11-13 CN CN201911107342.2A patent/CN110971534B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106911582A (en) * | 2017-03-07 | 2017-06-30 | 北京搜狐新媒体信息技术有限公司 | A kind of real-time traffic control method and system based on Nginx servers |
CN110062425A (en) * | 2019-04-08 | 2019-07-26 | 京信通信系统(中国)有限公司 | Control method, device, computer equipment and the storage medium of network transmission speed |
CN110297984A (en) * | 2019-05-17 | 2019-10-01 | 中国传媒大学 | Information transmission dynamics system, construction method, device and medium based on microblogging |
Non-Patent Citations (1)
Title |
---|
Battery Aware Video Delivery Techniques Using Rate Adaptation and Base Station Reconfiguration;Ranjini Guruprasad、Sujit Dey;《IEEE Transactions on Multimedia ( Volume: 17, Issue: 9, September 2015)》;20150522;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110971534A (en) | 2020-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114465962B (en) | Data stream type identification method and related equipment | |
US11411865B2 (en) | Network resource scheduling method, apparatus, electronic device and storage medium | |
CN113467910B (en) | Overload protection scheduling method based on service level | |
RU2677373C1 (en) | Fractal telecommunication traffic transmission quality increasing method | |
US11729106B2 (en) | Service quality control device, method, and program | |
CN110730469B (en) | Method for predicting bandwidth based on extended Kalman wireless network and congestion control thereof | |
EP4020892A1 (en) | Network parameter configuration method and apparatus | |
CN115550242B (en) | Communication link selection method, system, equipment and readable storage medium | |
CN109660467A (en) | Method and apparatus for controlling flow | |
CN109995668B (en) | Flow control method and device, storage medium | |
CN112491573A (en) | Network parameter configuration method and device | |
JP7661629B2 (en) | Data transmission control method, device, computer device, and computer program | |
CN114286447B (en) | Scheduling priority adjustment method, equipment and storage medium | |
CN110971534B (en) | Uplink rate regulation and control method and device for government affair public opinion | |
CN111901134B (en) | Method and device for predicting network quality based on recurrent neural network model (RNN) | |
CN108768738B (en) | Rapid self-adaptive network bandwidth detection method based on CDN network technology | |
CN109194545B (en) | A network test platform traffic generation system, method, device and electronic device | |
CN106341339A (en) | End-to-end network flow control method | |
CN119135580A (en) | Data transmission method and device, non-volatile storage medium, and electronic device | |
CN119276893A (en) | A remote monitoring and management platform based on 2M lines | |
CN117014379A (en) | Code rate control method, device, electronic equipment and storage medium | |
CN106230748A (en) | A kind of packet sending, receiving method and equipment | |
JP3969335B2 (en) | Method and apparatus for selecting QoS control method in multi-service network | |
CN111917657B (en) | Method and device for determining flow transmission strategy | |
CN114710692B (en) | Multimedia file processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Building 1, Kechuang headquarters, Shenzhen (Harbin) Industrial Park, No. 288, Zhigu street, Songbei District, Harbin, Heilongjiang 150001 Applicant after: Harbin Hagong smart jialitong Technology Co.,Ltd. Address before: 150000 room 207, No. 162, Hongqi Street, building 17, Nangang high tech entrepreneurship center, high tech Industrial Development Zone, Harbin, Heilongjiang Applicant before: Harbin Harbin University of technology robot group jialitong Technology Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A Method and Device for Regulating the Upstream Rate of Government Public Opinion Effective date of registration: 20231102 Granted publication date: 20230505 Pledgee: Harbin Kechuang Financing Guarantee Co.,Ltd. Pledgor: Harbin Hagong smart jialitong Technology Co.,Ltd. Registration number: Y2023230000091 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PC01 | Cancellation of the registration of the contract for pledge of patent right |
Granted publication date: 20230505 Pledgee: Harbin Kechuang Financing Guarantee Co.,Ltd. Pledgor: Harbin Hagong smart jialitong Technology Co.,Ltd. Registration number: Y2023230000091 |
|
PC01 | Cancellation of the registration of the contract for pledge of patent right |