WO2020125074A1 - 消息到达率确定方法、装置、数据统计服务器及存储介质 - Google Patents

消息到达率确定方法、装置、数据统计服务器及存储介质 Download PDF

Info

Publication number
WO2020125074A1
WO2020125074A1 PCT/CN2019/104953 CN2019104953W WO2020125074A1 WO 2020125074 A1 WO2020125074 A1 WO 2020125074A1 CN 2019104953 W CN2019104953 W CN 2019104953W WO 2020125074 A1 WO2020125074 A1 WO 2020125074A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
total amount
anchor
messages
arrival rate
Prior art date
Application number
PCT/CN2019/104953
Other languages
English (en)
French (fr)
Inventor
刘伟
Original Assignee
香港乐蜜有限公司
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 香港乐蜜有限公司 filed Critical 香港乐蜜有限公司
Publication of WO2020125074A1 publication Critical patent/WO2020125074A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Definitions

  • the present application relates to the field of computer technology, in particular to a method, device, data statistics server and storage medium for determining the message arrival rate.
  • the anchor can request to open the live broadcast room and perform the live broadcast, and the audience can enter the live broadcast room to watch the live broadcast of the anchor.
  • both the anchor and the audience are users of the live broadcast room.
  • the inventor found that due to the high mobility of the audience in the live broadcast room, it is difficult to calculate the message arrival rate of each user in the live broadcast room, so it is currently impossible to calculate the message arrival rate in the live broadcast room.
  • the purpose of the embodiments of the present application is to provide a method, device, data statistics server, and storage medium for determining the message arrival rate, so that the message arrival rate in the live broadcast room can be determined simply and quickly.
  • the specific technical solutions are as follows:
  • an embodiment of the present application provides a method for determining a message arrival rate, which is applied to a data statistics server.
  • the method may include:
  • the step of obtaining the total amount of messages sent by the user in the live broadcast room to the anchor may include:
  • the service server is used to: count the total amount of messages sent by the users in the live broadcast room to the anchor .
  • the step of obtaining the total amount of messages received by the anchor may include:
  • the anchor device is used to: count the messages received by the anchor to obtain the total amount of message reception of the anchor.
  • the service server may also be used for:
  • a message carrying the message type identifier is generated; wherein, the message type identifier includes: high priority type identifier, low priority type identifier and white list type identifier; the service control message carries the white list Type identification.
  • the step of calculating the message arrival rate of the live broadcast room according to the total amount of message reception and the total amount of message transmission may include:
  • the instant messaging server determines the first total amount of high-priority type messages, the second total amount of low-priority type messages, and the white list type message Three totals; of which, the instant messaging server is used to: receive messages sent by the business server, and forward the received messages to users in the live broadcast room;
  • the host device determines the fourth total amount of high priority type messages, the fifth total amount of low priority type messages and the sixth white list type message among the total number of received messages Total
  • the method may further include:
  • the message forwarding performance of the instant messaging server is determined.
  • an embodiment of the present application provides a message arrival rate determination device, which is applied to a data statistics server, and the device may include:
  • a first determination module configured to determine the first identification of the live broadcast room and the second identification of the anchor of the live broadcast room to be determined
  • the first obtaining module is used to obtain the total amount of messages sent by the users in the live broadcast to the anchor based on the first identifier and the second identifier;
  • the second obtaining module is used to obtain the total amount of messages received by the anchor
  • the calculation module is used to calculate the message arrival rate of the live broadcast room according to the total amount of message reception and the total amount of message transmission.
  • the first obtaining module may specifically be used for:
  • the service server is used to: count the total amount of messages sent by the users in the live broadcast room to the anchor .
  • the second acquisition module may specifically be used for:
  • the anchor device is used to: count the messages received by the anchor to obtain the total amount of message reception of the anchor.
  • the service server may also be used for:
  • a message carrying the message type identifier is generated; wherein, the message type identifier includes: high priority type identifier, low priority type identifier and white list type identifier; the service control message carries the white list Type identification.
  • the calculation module may include:
  • the first determining unit is configured to determine the first total amount of high-priority type messages and the second total amount of low-priority type messages in the total amount of messages sent according to the message type identifier carried in the message forwarded by the instant message server And the third total amount of whitelist type messages; among them, the instant message server is used to: receive the messages sent by the service server, and forward the received messages to the users in the live broadcast room;
  • the second determining unit is used to determine the fourth total amount of high-priority type messages and the fifth total amount of low-priority type messages in the total message reception amount according to the message type identifier carried in the message received by the host device.
  • the first calculation unit is used to calculate the ratio of the fourth total amount to the first total amount as the arrival rate of high priority type messages
  • the second calculation unit is used to calculate the ratio of the fifth total amount to the second total amount as the arrival rate of low priority type messages
  • the third calculation unit is used to calculate the ratio of the sixth total amount to the third total amount as the arrival rate of the white list type message.
  • it may further include:
  • the second determination module is used to calculate the message arrival rate of the live broadcast room according to the total message reception amount and the message transmission amount, according to the arrival rate of the high priority type message, the arrival rate of the low priority type message and the white list type
  • the message arrival rate determines the message forwarding performance of the instant message server.
  • an embodiment of the present application provides a data statistics server, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory communicate with each other through the communication bus;
  • Memory used to store computer programs
  • the processor when used to execute the program stored in the memory, implements the method steps of any one of the above methods for determining the message arrival rate.
  • an embodiment of the present application provides a storage medium in which a computer program is stored.
  • the computer program is executed by a processor of a data statistics server, any of the method steps of the method for determining the message arrival rate described above is implemented.
  • an embodiment of the present application further provides a computer program product containing instructions that, when running on a data statistics server, cause the data statistics server to execute any of the method steps of the message arrival rate determination method described above.
  • the data statistics server may determine the first identification of the live broadcast room and the second identification of the anchor of the live broadcast room whose message arrival rate is to be determined. Then, based on the first identifier and the second identifier, the total amount of messages sent by the user in the live broadcast room to the anchor can be obtained. You can also get the total amount of messages received by the anchor. After that, the message arrival rate of the live broadcast room can be calculated according to the total amount of message reception and the total amount of message transmission. In this way, the message arrival rate of the anchor in the live broadcast room can be calculated, and the message arrival rate of the anchor can be used as the message arrival rate of the live broadcast room. In this way, the message arrival rate of the live broadcast room can be calculated simply and quickly, and the difficulty of calculating the message arrival rate of the live broadcast room caused by the difficulty of calculating the message reach rate of all users in the live broadcast room is solved.
  • FIG. 1 is a flowchart of a method for determining a message arrival rate provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a message arrival rate determination system provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a device for determining a message arrival rate according to an embodiment of the present application
  • FIG. 4 is a schematic structural diagram of a data statistics server provided by an embodiment of the present application.
  • the embodiments of the present application provide a method, device, data statistics server, and storage medium for determining the message arrival rate.
  • the message arrival rate determination method provided by the embodiment of the present application can be applied to the data statistics server 203 in the message arrival rate determination system 200 shown in FIG. 2.
  • the message arrival rate determination system 200 may include: a data statistics server 203, a service server 201, an instant message server 202, and a user device 204 of a user in a live broadcast room.
  • the user equipment in the live broadcast room includes a host device and a viewer device, and there may be one or more viewer devices.
  • data statistics server, business server and instant messaging server can be three independent devices.
  • the data statistics server can also be an integrated device that integrates the data statistics module, business service module, and instant messaging service module, which is reasonable.
  • the method may include the following steps:
  • S101 Determine the first identifier of the live broadcast room and the second identifier of the anchor of the live broadcast room to determine the message arrival rate;
  • the data statistics server may determine: the first identification of the live broadcast room whose message arrival rate is to be determined, and the second identification of the anchor of the live broadcast room.
  • the first identification of the live broadcast room includes but is not limited to: live broadcast room number and live broadcast room name.
  • the second identification of the anchor of the live broadcast room includes but is not limited to: the account number of the live broadcast platform used by the anchor, and the combination of the first identification of the live broadcast room where the anchor is located and the custom name given to the live broadcast room by the anchor.
  • S102 Based on the first identifier and the second identifier, obtain the total amount of messages sent by the user in the live broadcast to the anchor;
  • the data statistics server may send the obtained first identifier and second identifier to the service server. Then, the service server can search for the message sent by the user in the live broadcast room to the anchor according to the received first identifier and second identifier, and count the total number of the found messages, so as to obtain the user The total number of messages sent by this anchor. After that, the data statistics server can obtain the total amount of the message sent from the service server.
  • each message requested by the user in the live broadcast room will be forwarded to the anchor via the instant messaging server. Therefore, searching for the message sent by the user in the live broadcast room to the anchor is: searching for the message sent by the user in the live broadcast room.
  • the anchor device where the anchor is located can calculate the total amount of messages received by itself. Then, the data statistic server can obtain the total amount of messages received by the anchor from the anchor device.
  • S104 Calculate the message arrival rate of the live broadcast room based on the total amount of message reception and total amount of message transmission.
  • the data statistics server can calculate the ratio of the total amount of received messages to the total amount of sent messages to obtain the message arrival rate of the anchor and arrive at the message The rate is used as the message arrival rate in the live broadcast room. In this way, the message arrival rate of the live broadcast room can be determined simply and quickly.
  • the service server may be further configured that, after receiving the message sending request sent by the user in the live broadcast room, the service server generates a message corresponding to the message sending request that carries the message type identifier.
  • the message type identifier may include: a high priority type identifier, a low priority type identifier, and a white list type identifier.
  • the gift sending request, the barrage sending request, the gift message, the barrage message, and the payment message corresponding to the payment sending request may carry high-priority type identifiers.
  • the gift sending request, the barrage sending request, the gift message, the barrage message, and the payment message corresponding to the payment sending request may carry high-priority type identifiers.
  • other high-concurrency and important messages can also carry high-priority type identifiers.
  • the message for entering the live broadcast room and the message for leaving the live broadcast room corresponding to the request to enter the live broadcast room and the request to leave the live broadcast room may carry a low priority type identifier.
  • other high concurrency but unimportant messages can also carry the low priority type identifier.
  • the service control message related to the service control of the live broadcast room may carry a white list type identifier.
  • the service control message includes but is not limited to: PK (Player Kill), which controls the Lianmai service in the room.
  • PK Player Kill
  • the service control message is sent by the live broadcast software client through Http (Hyper Text Transfer Protocol, Hypertext Transfer Protocol) connected to the service server.
  • Http Hyper Text Transfer Protocol, Hypertext Transfer Protocol
  • the instant message server forwards the received message to the user in the live broadcast room after receiving the message sent by the service server. That is, the instant message server is used to: receive the message sent by the service server, and forward the received message to the user in the live broadcast room.
  • the data statistics server may determine the first total amount of high-priority type messages, the second total amount of low-priority type messages, and the second total amount of low-priority type messages according to the message type identifier carried in the message forwarded by the instant message server The third total amount of whitelist type messages.
  • the data statistics server can also determine the fourth total amount of high-priority type messages, the fifth total amount of low-priority type messages, and the fifth total amount of low-priority type messages according to the message type identifier carried in the messages received by the host device.
  • the sixth total number of whitelist type messages can also be determined.
  • the data statistics server can calculate the ratio of the fourth total to the first total as the arrival rate of high-priority type messages; calculate the ratio of the fifth total to the second total as the arrival of low-priority type messages Rate; calculate the ratio of the sixth total amount to the third total amount as the arrival rate of whitelist type messages. In this way, the reach rate of various types of messages can be calculated.
  • the data statistics server can also obtain the arrival rate of high-priority type messages, and the arrival rate of low-priority type messages.
  • the rate and the arrival rate of whitelist type messages determine the message forwarding performance of the instant messaging server.
  • the arrival rate of high priority type messages is 95%, the arrival rate of low priority type messages is 90%, and the arrival rate of white list type messages is 100%, you can determine the message forwarding of the instant message server Good performance.
  • the arrival rate of high priority type messages is 90%, the arrival rate of low priority type messages is 80%, and the arrival rate of white list type messages is 99%, it is determined that the message forwarding performance of the instant message server is defective.
  • the data statistics server may determine the first identification of the live broadcast room and the second identification of the anchor of the live broadcast room whose message arrival rate is to be determined. Then, based on the first identifier and the second identifier, the total amount of messages sent by the user in the live broadcast room to the anchor can be obtained. You can also get the total amount of messages received by the anchor. After that, the message arrival rate of the live broadcast room can be calculated according to the total amount of message reception and the total amount of message transmission. In this way, the message arrival rate of the anchor in the live broadcast room can be calculated, and the message arrival rate of the anchor can be used as the message arrival rate of the live broadcast room. In this way, the message arrival rate of the live broadcast room can be calculated simply and quickly, and the difficulty of calculating the message arrival rate of the live broadcast room caused by the difficulty of calculating the message reach rate of all users in the live broadcast room is solved.
  • the message arrival rate in the live broadcast room can be calculated simply and quickly.
  • an embodiment of the present application further provides a device for determining the message arrival rate, which is applied to a data statistics server.
  • the device may include:
  • the first determining module 301 is configured to determine the first identification of the live broadcast room and the second identification of the anchor of the live broadcast room to be determined;
  • the first obtaining module 302 is used to obtain the total amount of messages sent by the user in the live broadcast to the anchor based on the first identifier and the second identifier;
  • the second obtaining module 303 is used to obtain the total amount of messages received by the anchor;
  • the calculation module 304 is used for calculating the message arrival rate of the live broadcast room according to the total amount of message reception and the total amount of message transmission.
  • the data statistics server can determine the first identification of the live broadcast room and the second identification of the anchor of the live broadcast room to be determined. Then, based on the first identifier and the second identifier, the total amount of messages sent by the user in the live broadcast room to the anchor can be obtained. You can also get the total amount of messages received by the anchor. After that, the message arrival rate of the live broadcast room can be calculated according to the total amount of message reception and the total amount of message transmission. In this way, the message arrival rate of the anchor in the live broadcast room can be calculated, and the message arrival rate of the anchor can be used as the message arrival rate of the live broadcast room. In this way, the message arrival rate of the live broadcast room can be calculated simply and quickly, and the difficulty of calculating the message arrival rate of the live broadcast room caused by the difficulty of calculating the message reach rate of all users in the live broadcast room is solved.
  • the first obtaining module 302 may be specifically used to:
  • the service server is used to: count the total amount of messages sent by the users in the live broadcast room to the anchor .
  • the second obtaining module 303 may specifically be used for:
  • the anchor device is used to: count the messages received by the anchor to obtain the total amount of message reception of the anchor.
  • the service server may also be used for:
  • a message carrying a message type identifier is generated; among them, the message type identifier includes: high priority type identifier, low priority type identifier and white list type identifier; the service control message carries a white list Type identification.
  • the calculation module 304 may include:
  • the first determining unit is configured to determine the first total amount of high-priority type messages and the second total amount of low-priority type messages in the total amount of messages sent according to the message type identifier carried in the message forwarded by the instant message server And the third total amount of whitelist type messages; among them, the instant message server is used to: receive the messages sent by the service server, and forward the received messages to the users in the live broadcast room;
  • the second determining unit is used to determine the fourth total amount of high-priority type messages and the fifth total amount of low-priority type messages in the total message reception amount according to the message type identifier carried in the message received by the host device.
  • the first calculation unit is used to calculate the ratio of the fourth total amount to the first total amount as the arrival rate of high priority type messages
  • the second calculation unit is used to calculate the ratio of the fifth total amount to the second total amount as the arrival rate of low priority type messages
  • the third calculation unit is used to calculate the ratio of the sixth total amount to the third total amount as the arrival rate of the white list type message.
  • the device may further include:
  • the second determination module is used to calculate the message arrival rate of the live broadcast room according to the total message reception amount and the message transmission amount, according to the arrival rate of the high priority type message, the arrival rate of the low priority type message and the white list type
  • the message arrival rate determines the message forwarding performance of the instant message server.
  • an embodiment of the present application further provides a data statistics server, referring to FIG. 4, which includes a processor 401, a communication interface 402, a memory 403, and a communication bus 404, where the processor 401, the communication interface 402, The memory 403 completes communication with each other through the communication bus 404;
  • Memory 403 used to store computer programs
  • the processor 401 is configured to implement any of the method steps of the message arrival rate determination method described above when executing the program stored in the memory 403.
  • the data statistics server may determine the first identification of the live broadcast room and the second identification of the anchor of the live broadcast room whose message arrival rate is to be determined. Then, based on the first identifier and the second identifier, the total amount of messages sent by the user in the live broadcast room to the anchor can be obtained. You can also get the total amount of messages received by the anchor. After that, the message arrival rate of the live broadcast room can be calculated according to the total amount of message reception and the total amount of message transmission. In this way, the message arrival rate of the anchor in the live broadcast room can be calculated, and the message arrival rate of the anchor can be used as the message arrival rate of the live broadcast room. In this way, the message arrival rate of the live broadcast room can be calculated simply and quickly, and the difficulty of calculating the message arrival rate of the live broadcast room caused by the difficulty of calculating the message reach rate of all users in the live broadcast room is solved.
  • an embodiment of the present application further provides a storage medium in which a computer program is stored, and when the computer program is executed by the processor of the data statistics server, a method for implementing any of the above method for determining the message arrival rate step.
  • the storage medium is a computer-readable storage medium.
  • the data statistics server may determine the first identifier of the live broadcast room and the second identifier of the anchor of the live broadcast room to be determined . Then, based on the first identifier and the second identifier, the total amount of messages sent by the user in the live broadcast room to the anchor can be obtained. You can also get the total amount of messages received by the anchor. After that, the message arrival rate of the live broadcast room can be calculated according to the total amount of message reception and the total amount of message transmission. In this way, the message arrival rate of the anchor in the live broadcast room can be calculated, and the message arrival rate of the anchor can be used as the message arrival rate of the live broadcast room. In this way, the message arrival rate of the live broadcast room can be calculated simply and quickly, and the difficulty of calculating the message arrival rate of the live broadcast room caused by the difficulty of calculating the message reach rate of all users in the live broadcast room is solved.
  • an embodiment of the present application also provides a computer program product containing instructions that, when running on a data statistics server, cause the data statistics server to perform any of the method steps of the message arrival rate determination method described above .
  • the data statistics server may determine the first identification of the live broadcast room to be determined and the second identification of the anchor of the live broadcast room. Then, based on the first identifier and the second identifier, the total amount of messages sent by the user in the live broadcast room to the anchor can be obtained. You can also get the total amount of messages received by the anchor. After that, the message arrival rate of the live broadcast room can be calculated according to the total amount of message reception and the total amount of message transmission. In this way, the message arrival rate of the anchor in the live broadcast room can be calculated, and the message arrival rate of the anchor can be used as the message arrival rate of the live broadcast room. In this way, the message arrival rate of the live broadcast room can be calculated simply and quickly, and the difficulty of calculating the message arrival rate of the live broadcast room caused by the difficulty of calculating the message reach rate of all users in the live broadcast room is solved.
  • the communication bus mentioned in the above electronic equipment may be a peripheral component interconnection standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard structure (Extended Industry Standard Architecture, EISA) bus, etc.
  • PCI peripheral component interconnection standard
  • EISA Extended Industry Standard Architecture
  • the communication bus can be divided into an address bus, a data bus, and a control bus. For ease of representation, only a thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used for communication between the electronic device and other devices.
  • the memory may include random access memory (Random Access Memory, RAM), or non-volatile memory (Non-Volatile Memory, NVM), for example, at least one disk memory.
  • RAM Random Access Memory
  • NVM Non-Volatile Memory
  • the memory may also be at least one storage device located away from the foregoing processor.
  • the aforementioned processor may be a general-purpose processor, including a central processor (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it may also be a digital signal processor (Digital Signal Processing, DSP), dedicated integration Circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • a central processor Central Processing Unit, CPU
  • NP Network Processor
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server or data center Transmit to another website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including a server, a data center, and the like integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, Solid State Disk (SSD)), or the like.
  • a magnetic medium for example, a floppy disk, a hard disk, a magnetic tape
  • an optical medium for example, a DVD
  • a semiconductor medium for example, Solid State Disk (SSD)

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

本申请实施例提供了一种消息到达率确定方法、装置、数据统计服务器及存储介质。该方法包括:确定待确定消息到达率的直播间的第一标识和直播间的主播的第二标识;基于第一标识和第二标识,获取直播间的用户给主播所发送消息的消息发送总量;获得主播的消息接收总量;根据消息接收总量和消息发送总量,计算直播间的消息到达率。应用本申请实施例,可以简单、快速地确定直播间的消息到达率。

Description

消息到达率确定方法、装置、数据统计服务器及存储介质
本申请要求于2018年12月19日提交中国专利局、申请号为201811559525.3、发明名称为“消息到达率确定方法、装置、数据统计服务器及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,特别是涉及一种消息到达率确定方法、装置、数据统计服务器及存储介质。
背景技术
目前,许多社交类软件中设置有直播间功能。其中,基于直播间功能,主播可以请求开通直播间并进行直播,观众可以进入该直播间观看主播的直播。其中,主播和观众均为该直播间的用户。
发明人在实现本申请的过程中发现,由于直播间的观众流动性大,因而很难对直播间各个用户的消息到达率进行计算,因而目前还无法对直播间的消息到达率进行计算。
发明内容
本申请实施例的目的在于提供一种消息到达率确定方法、装置、数据统计服务器及存储介质,以可以简单、快速地确定直播间的消息到达率。具体技术方案如下:
第一方面,本申请实施例提供了一种消息到达率确定方法,应用于数据统计服务器,该方法可以包括:
确定待确定消息到达率的直播间的第一标识和直播间的主播的第二标识;
基于第一标识和第二标识,获取直播间的用户给主播所发送消息的消息发送总量;
获得主播的消息接收总量;
根据消息接收总量和消息发送总量,计算直播间的消息到达率。
可选地,在本申请实施例中,基于第一标识和第二标识,获取直播间的用户给主播所发送消息的消息发送总量的步骤,可以包括:
基于第一标识和第二标识,从业务服务器获取直播间的用户给主播所发送消息的消息发送总量;其中,业务服务器用于:统计直播间的用户给主播所发送消息的消息发送总量。
可选地,在本申请实施例中,获得主播的消息接收总量的步骤,可以包括:
从主播所在的主播设备获得主播的消息接收总量;其中,主播设备用于:对主播接收到的消息进行统计,得到主播的消息接收总量。
可选地,在本申请实施例中,业务服务器还可以用于:
根据直播间的用户发送的消息发送请求,生成携带消息类型标识的消息;其中,消息类型标识包括:高优先级类型标识、低优先级类型标识和白名单类型标识;业务控制消息中携带白名单类型标识。
可选地,在本申请实施例中,根据消息接收总量和消息发送总量,计算直播间的消息到达率的步骤,可以包括:
根据即时消息服务器所转发的消息中携带的消息类型标识,确定消息发送总量中的高优先级类型消息的第一总量、低优先级类型消息的第二总量和白名单类型消息的第三总量;其中,即时消息服务器用于:接收业务服务器所发送的消息,并将所接收到的消息转发至直播间的用户;
根据主播设备接收到的消息中携带的消息类型标识,确定消息接收总量中的高优先级类型消息的第四总量、低优先级类型消息的第五总量和白名单类型消息的第六总量;
计算第四总量与第一总量的比值,作为高优先级类型消息的到达率;
计算第五总量与第二总量的比值,作为低优先级类型消息的到达率;
计算第六总量与第三总量的比值,作为白名单类型消息的到达率。
可选地,在本申请实施例中,在根据消息接收总量和消息发送总量,计 算直播间的消息到达率的步骤之后,还可以包括:
根据高优先级类型消息的到达率、低优先级类型消息的到达率和白名单类型消息的到达率,确定即时消息服务器的消息转发性能。
第二方面,本申请实施例提供了一种消息到达率确定装置,应用于数据统计服务器,该装置可以包括:
第一确定模块,用于确定待确定消息到达率的直播间的第一标识和直播间的主播的第二标识;
第一获取模块,用于基于第一标识和第二标识,获取直播间的用户给主播所发送消息的消息发送总量;
第二获取模块,用于获得主播的消息接收总量;
计算模块,用于根据消息接收总量和消息发送总量,计算直播间的消息到达率。
可选地,在本申请实施例中,第一获取模块具体可以用于:
基于第一标识和第二标识,从业务服务器获取直播间的用户给主播所发送消息的消息发送总量;其中,业务服务器用于:统计直播间的用户给主播所发送消息的消息发送总量。
可选地,在本申请实施例中,第二获取模块具体可以用于:
从主播所在的主播设备获得主播的消息接收总量;其中,主播设备用于:对主播接收到的消息进行统计,得到主播的消息接收总量。
可选地,在本申请实施例中,业务服务器还可以用于:
根据直播间的用户发送的消息发送请求,生成携带消息类型标识的消息;其中,消息类型标识包括:高优先级类型标识、低优先级类型标识和白名单类型标识;业务控制消息中携带白名单类型标识。
可选地,在本申请实施例中,计算模块可以包括:
第一确定单元,用于根据即时消息服务器所转发的消息中携带的消息类型标识,确定消息发送总量中的高优先级类型消息的第一总量、低优先级类 型消息的第二总量和白名单类型消息的第三总量;其中,即时消息服务器用于:接收业务服务器所发送的消息,并将所接收到的消息转发至直播间的用户;
第二确定单元,用于根据主播设备接收到的消息中携带的消息类型标识,确定消息接收总量中的高优先级类型消息的第四总量、低优先级类型消息的第五总量和白名单类型消息的第六总量;
第一计算单元,用于计算第四总量与第一总量的比值,作为高优先级类型消息的到达率;
第二计算单元,用于计算第五总量与第二总量的比值,作为低优先级类型消息的到达率;
第三计算单元,用于计算第六总量与第三总量的比值,作为白名单类型消息的到达率。
可选地,在本申请实施例中,还可以包括:
第二确定模块,用于在根据消息接收总量和消息发送总量,计算直播间的消息到达率之后,根据高优先级类型消息的到达率、低优先级类型消息的到达率和白名单类型消息的到达率,确定即时消息服务器的消息转发性能。
第三方面,本申请实施例提供了一种数据统计服务器,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;
存储器,用于存放计算机程序;
处理器,用于执行存储器上所存放的程序时,实现上述任一项消息到达率确定方法的方法步骤。
第四方面,本申请实施例提供了一种存储介质,存储介质内存储有计算机程序,计算机程序被数据统计服务器的处理器执行时实现上述任一项消息到达率确定方法的方法步骤。
第五方面,本申请实施例还提供了一种包含指令的计算机程序产品,当其在数据统计服务器上运行时,使得数据统计服务器执行上述任一项消息到 达率确定方法的方法步骤。
在本申请实施例中,数据统计服务器可以确定待确定消息到达率的直播间的第一标识和该直播间的主播的第二标识。然后,可以基于第一标识和第二标识,获取该直播间的用户给该主播所发送消息的消息发送总量。还可以获取该主播的消息接收总量。之后,可以根据该消息接收总量和消息发送总量,计算该直播间的消息到达率。这样,可以计算直播间中主播的消息到达率,并将主播的消息达到率作为直播间的消息到达率。这样,可以简单、快速地计算出直播间的消息到达率,解决了难以计算直播间中所有用户的消息达到率而导致的难以计算直播间的消息到达率的难题。
附图说明
为了更清楚地说明本申请实施例和现有技术的技术方案,下面对实施例和现有技术中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的一种消息到达率确定方法的流程图;
图2为本申请实施例提供的一种消息到达率确定系统的示意图;
图3为本申请实施例提供的一种消息到达率确定装置的结构示意图;
图4为本申请实施例提供的一种数据统计服务器的结构示意图。
具体实施方式
为使本申请的目的、技术方案、及优点更加清楚明白,以下参照附图并举实施例,对本申请进一步详细说明。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
为了解决现有技术中存在的问题,本申请实施例提供了一种消息到达率确定方法、装置、数据统计服务器及存储介质。
下面首先对本申请实施例提供的消息到达率确定方法进行说明。
本申请实施例提供的消息到达率确定方法可以应用于如图2所示的消息 到达率确定系统200中的数据统计服务器203。其中,该消息到达率确定系统200可以包括:数据统计服务器203、业务服务器201、即时消息服务器202和直播间中用户的用户设备204。
其中,直播间中的用户设备包括主播设备和观众设备,观众设备可以为一个或多个。
另外,数据统计服务器、业务服务器和即时消息服务器可以为三个独立的设备。当然,数据统计服务器也可以是集成有数据统计模块、业务服务模块和即时消息服务模块的一体化设备,这都是合理的。
参见图1,该方法可以包括如下步骤:
S101:确定待确定消息到达率的直播间的第一标识和直播间的主播的第二标识;
可以理解的是,数据统计服务器可以确定:待确定消息到达率的直播间的第一标识,以及,该直播间的主播的第二标识。
其中,该直播间的第一标识包括但并不局限于:直播间编号和直播间名称。该直播间的主播的第二标识包括但并不局限于:主播在所使用的直播平台中的账号,以及,主播所在直播间的第一标识和主播给该直播间自定义名称的组合。
S102:基于第一标识和第二标识,获取直播间的用户给主播所发送消息的消息发送总量;
数据统计服务器在获得第一标识和第二标识之后,可以将所获得的第一标识和第二标识发送给业务服务器。然后,业务服务器可以根据接收到的第一标识和第二标识,查找该直播间的用户给该主播所发送的消息,并统计所查找到的消息的总数量,从而得到该直播间的用户给该主播所发送消息的消息发送总量。之后,数据统计服务器可以从业务服务器中获得该消息发送总量。
其中,由于直播间中的用户所请求发送的每一条消息均会通过即时消息服务器转发给主播。因而查找该直播间的用户给该主播所发送的消息即为: 查找该直播间的用户所发送的消息。
S103:获得主播的消息接收总量;
其中,主播所在的主播设备可以计算自身所接收到的消息接收总量。然后,数据统计服务器可以从主播设备获取主播的消息接收总量。
S104:根据消息接收总量和消息发送总量,计算直播间的消息到达率。
在获得消息接收总量和消息发送总量之后,在一种实现方式中,数据统计服务器可以计算消息接收总量与消息发送总量的比值,从而得到主播的消息到达率,并将该消息到达率作为直播间的消息达到率。这样,可以简单、快速地确定出直播间的消息到达率。
在另一种实现方式中,还可以配置:业务服务器在接收到直播间的用户发送的消息发送请求之后,生成携带有消息类型标识的、该消息发送请求对应的消息。其中,该消息类型标识可以包括:高优先级类型标识、低优先级类型标识和白名单类型标识。
具体地,礼物发送请求、弹幕发送请求、付费发送请求所对应的礼物消息、弹幕消息和付费消息可以携带有高优先级类型标识。当然,其他高并发且重要的消息也可以携带有高优先级类型标识。
另外,进入直播间请求、离开直播间请求所对应的进入直播间消息和离开直播间消息可以携带有低优先级类型标识。当然,其他高并发但并不重要消息也可以携带该低优先级类型标识。
此外,涉及直播间的业务控制的业务控制消息可以携带有白名单类型标识。其中,业务控制消息包括但并不局限于:PK(Player Kill,玩家互杀)房间中控制连麦业务的消息。在一般情况下,业务控制消息是直播软件客户端通过Http(Hyper Text Transfer Protocol,超文本传输协议)连接业务服务器进行发送。而且,当白名单类型标识的业务控制消息丢失时,则该业务控制消息所控制的业务无法实现。
另外,还可以配置:即时消息服务器在接收业务服务器所发送的消息之后,并将所接收到的消息转发至直播间的用户。即,即时消息服务器用于: 接收业务服务器所发送的消息,并将所接收到的消息转发至直播间的用户。
然后,数据统计服务器可以根据即时消息服务器所转发的消息中携带的消息类型标识,确定消息发送总量中的高优先级类型消息的第一总量、低优先级类型消息的第二总量和白名单类型消息的第三总量。
另外,数据统计服务器还可以根据主播设备接收到的消息中携带的消息类型标识,确定消息接收总量中的高优先级类型消息的第四总量、低优先级类型消息的第五总量和白名单类型消息的第六总量。
之后,数据统计服务器可以计算第四总量与第一总量的比值,作为高优先级类型消息的到达率;计算第五总量与第二总量的比值,作为低优先级类型消息的到达率;计算第六总量与第三总量的比值,作为白名单类型消息的到达率。这样,可以计算得到各种类型消息的达到率。
在获得高优先级类型消息的到达率、低优先级类型消息的到达率和白名单类型消息的到达率,数据统计服务器还可以根据高优先级类型消息的到达率、低优先级类型消息的到达率和白名单类型消息的到达率,确定即时消息服务器的消息转发性能。
举例而言,当高优先级类型消息的到达率为95%,低优先级类型消息的到达率为90%,白名单类型消息的到达率为100%时,则可以确定即时消息服务器的消息转发性能良好。当高优先级类型消息的到达率为90%,低优先级类型消息的到达率为80%,白名单类型消息的到达率为99%时,则确定即时消息服务器的消息转发性能存在缺陷。
其中,当白名单类型消息的到达率无法达到100%,则直播室的部分业务功能无法实现。
在本申请实施例中,数据统计服务器可以确定待确定消息到达率的直播间的第一标识和该直播间的主播的第二标识。然后,可以基于第一标识和第二标识,获取该直播间的用户给该主播所发送消息的消息发送总量。还可以获取该主播的消息接收总量。之后,可以根据该消息接收总量和消息发送总量,计算该直播间的消息到达率。这样,可以计算直播间中主播的消息到达率,并将主播的消息达到率作为直播间的消息到达率。这样,可以简单、快 速地计算出直播间的消息到达率,解决了难以计算直播间中所有用户的消息达到率而导致的难以计算直播间的消息到达率的难题。
综上,应用本申请实施例提供的消息到达率确定方法,可以简单、快速地计算出直播间的消息到达率。
相应于上述方法实施例,本申请实施例还提供了一种消息到达率确定装置,应用于数据统计服务器,参见图3,该装置可以包括:
第一确定模块301,用于确定待确定消息到达率的直播间的第一标识和直播间的主播的第二标识;
第一获取模块302,用于基于第一标识和第二标识,获取直播间的用户给主播所发送消息的消息发送总量;
第二获取模块303,用于获得主播的消息接收总量;
计算模块304,用于根据消息接收总量和消息发送总量,计算直播间的消息到达率。
应用本申请实施例提供的装置,数据统计服务器可以确定待确定消息到达率的直播间的第一标识和该直播间的主播的第二标识。然后,可以基于第一标识和第二标识,获取该直播间的用户给该主播所发送消息的消息发送总量。还可以获取该主播的消息接收总量。之后,可以根据该消息接收总量和消息发送总量,计算该直播间的消息到达率。这样,可以计算直播间中主播的消息到达率,并将主播的消息达到率作为直播间的消息到达率。这样,可以简单、快速地计算出直播间的消息到达率,解决了难以计算直播间中所有用户的消息达到率而导致的难以计算直播间的消息到达率的难题。
可选地,在本申请实施例中,第一获取模块302具体可以用于:
基于第一标识和第二标识,从业务服务器获取直播间的用户给主播所发送消息的消息发送总量;其中,业务服务器用于:统计直播间的用户给主播所发送消息的消息发送总量。
可选地,在本申请实施例中,第二获取模块303具体可以用于:
从主播所在的主播设备获得主播的消息接收总量;其中,主播设备用于:对主播接收到的消息进行统计,得到主播的消息接收总量。
可选地,在本申请实施例中,业务服务器还可以用于:
根据直播间的用户发送的消息发送请求,生成携带消息类型标识的消息;其中,消息类型标识包括:高优先级类型标识、低优先级类型标识和白名单类型标识;业务控制消息中携带白名单类型标识。
可选地,在本申请实施例中,计算模块304可以包括:
第一确定单元,用于根据即时消息服务器所转发的消息中携带的消息类型标识,确定消息发送总量中的高优先级类型消息的第一总量、低优先级类型消息的第二总量和白名单类型消息的第三总量;其中,即时消息服务器用于:接收业务服务器所发送的消息,并将所接收到的消息转发至直播间的用户;
第二确定单元,用于根据主播设备接收到的消息中携带的消息类型标识,确定消息接收总量中的高优先级类型消息的第四总量、低优先级类型消息的第五总量和白名单类型消息的第六总量;
第一计算单元,用于计算第四总量与第一总量的比值,作为高优先级类型消息的到达率;
第二计算单元,用于计算第五总量与第二总量的比值,作为低优先级类型消息的到达率;
第三计算单元,用于计算第六总量与第三总量的比值,作为白名单类型消息的到达率。
可选地,在本申请实施例中,该装置还可以包括:
第二确定模块,用于在根据消息接收总量和消息发送总量,计算直播间的消息到达率之后,根据高优先级类型消息的到达率、低优先级类型消息的到达率和白名单类型消息的到达率,确定即时消息服务器的消息转发性能。
相应于上述方法实施例,本申请实施例还提供了一种数据统计服务器,参见图4,包括处理器401、通信接口402、存储器403和通信总线404,其中,处理器401,通信接口402,存储器403通过通信总线404完成相互间的通信;
存储器403,用于存放计算机程序;
处理器401,用于执行存储器403上所存放的程序时,实现上述任一项消息到达率确定方法的方法步骤。
在本申请实施例中,数据统计服务器可以确定待确定消息到达率的直播间的第一标识和该直播间的主播的第二标识。然后,可以基于第一标识和第二标识,获取该直播间的用户给该主播所发送消息的消息发送总量。还可以获取该主播的消息接收总量。之后,可以根据该消息接收总量和消息发送总量,计算该直播间的消息到达率。这样,可以计算直播间中主播的消息到达率,并将主播的消息达到率作为直播间的消息到达率。这样,可以简单、快速地计算出直播间的消息到达率,解决了难以计算直播间中所有用户的消息达到率而导致的难以计算直播间的消息到达率的难题。
相应于上述方法实施例,本申请实施例还提供了一种存储介质,存储介质内存储有计算机程序,计算机程序被数据统计服务器的处理器执行时实现上述任一项消息到达率确定方法的方法步骤。其中,该存储介质为计算机可读存储介质。
本申请实施例提供的存储介质中存储的计算机程序被数据统计服务器的处理器执行后,数据统计服务器可以确定待确定消息到达率的直播间的第一标识和该直播间的主播的第二标识。然后,可以基于第一标识和第二标识,获取该直播间的用户给该主播所发送消息的消息发送总量。还可以获取该主播的消息接收总量。之后,可以根据该消息接收总量和消息发送总量,计算该直播间的消息到达率。这样,可以计算直播间中主播的消息到达率,并将主播的消息达到率作为直播间的消息到达率。这样,可以简单、快速地计算出直播间的消息到达率,解决了难以计算直播间中所有用户的消息达到率而 导致的难以计算直播间的消息到达率的难题。
相应于上述方法实施例,本申请实施例还提供了一种包含指令的计算机程序产品,当其在数据统计服务器上运行时,使得数据统计服务器执行上述任一项消息到达率确定方法的方法步骤。
本申请实施例提供的计算机程序产品被数据统计服务器的处理器执行后,数据统计服务器可以确定待确定消息到达率的直播间的第一标识和该直播间的主播的第二标识。然后,可以基于第一标识和第二标识,获取该直播间的用户给该主播所发送消息的消息发送总量。还可以获取该主播的消息接收总量。之后,可以根据该消息接收总量和消息发送总量,计算该直播间的消息到达率。这样,可以计算直播间中主播的消息到达率,并将主播的消息达到率作为直播间的消息到达率。这样,可以简单、快速地计算出直播间的消息到达率,解决了难以计算直播间中所有用户的消息达到率而导致的难以计算直播间的消息到达率的难题。
上述电子设备提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
通信接口用于上述电子设备与其他设备之间的通信。
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array, FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置、数据统计服务器、存储介质和计算机程序产品实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。

Claims (15)

  1. 一种消息到达率确定方法,其特征在于,应用于数据统计服务器,所述方法包括:
    确定待确定消息到达率的直播间的第一标识和所述直播间的主播的第二标识;
    基于所述第一标识和所述第二标识,获取所述直播间的用户给所述主播所发送消息的消息发送总量;
    获得所述主播的消息接收总量;
    根据所述消息接收总量和所述消息发送总量,计算所述直播间的消息到达率。
  2. 根据权利要求1所述的方法,其特征在于,所述基于所述第一标识和所述第二标识,获取所述直播间的用户给所述主播所发送消息的消息发送总量的步骤,包括:
    基于所述第一标识和所述第二标识,从业务服务器获取所述直播间的用户给所述主播所发送消息的消息发送总量;其中,所述业务服务器用于:统计所述直播间的用户给所述主播所发送消息的消息发送总量。
  3. 根据权利要求1所述的方法,其特征在于,所述获得所述主播的消息接收总量的步骤,包括:
    从所述主播所在的主播设备获得所述主播的消息接收总量;其中,所述主播设备用于:对所述主播接收到的消息进行统计,得到所述主播的消息接收总量。
  4. 根据权利要求2所述的方法,其特征在于,所述业务服务器还用于:
    根据所述直播间的用户发送的消息发送请求,生成携带消息类型标识的消息;其中,所述消息类型标识包括:高优先级类型标识、低优先级类型标识和白名单类型标识;业务控制消息中携带所述白名单类型标识。
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述消息接收总量和所述消息发送总量,计算所述直播间的消息到达率的步骤,包括:
    根据即时消息服务器所转发的消息中携带的消息类型标识,确定所述消息发送总量中的高优先级类型消息的第一总量、低优先级类型消息的第二总 量和白名单类型消息的第三总量;其中,所述即时消息服务器用于:接收所述业务服务器所发送的消息,并将所接收到的消息转发至所述直播间的用户;
    根据所述主播设备接收到的消息中携带的消息类型标识,确定所述消息接收总量中的高优先级类型消息的第四总量、低优先级类型消息的第五总量和白名单类型消息的第六总量;
    计算所述第四总量与第一总量的比值,作为高优先级类型消息的到达率;
    计算所述第五总量与第二总量的比值,作为低优先级类型消息的到达率;
    计算所述第六总量与第三总量的比值,作为白名单类型消息的到达率。
  6. 根据权利要求5所述的方法,其特征在于,在所述根据所述消息接收总量和所述消息发送总量,计算所述直播间的消息到达率的步骤之后,还包括:
    根据高优先级类型消息的到达率、所述低优先级类型消息的到达率和所述白名单类型消息的到达率,确定所述即时消息服务器的消息转发性能。
  7. 一种消息到达率确定装置,其特征在于,应用于数据统计服务器,所述装置包括:
    第一确定模块,用于确定待确定消息到达率的直播间的第一标识和所述直播间的主播的第二标识;
    第一获取模块,用于基于所述第一标识和所述第二标识,获取所述直播间的用户给所述主播所发送消息的消息发送总量;
    第二获取模块,用于获得所述主播的消息接收总量;
    计算模块,用于根据所述消息接收总量和所述消息发送总量,计算所述直播间的消息到达率。
  8. 根据权利要求7所述的装置,其特征在于,所述第一获取模块具体用于:
    基于所述第一标识和所述第二标识,从业务服务器获取所述直播间的用户给所述主播所发送消息的消息发送总量;其中,所述业务服务器用于:统计所述直播间的用户给所述主播所发送消息的消息发送总量。
  9. 根据权利要求7所述的装置,其特征在于,所述第二获取模块具体用于:
    从所述主播所在的主播设备获得所述主播的消息接收总量;其中,所述主播设备用于:对所述主播接收到的消息进行统计,得到所述主播的消息接收总量。
  10. 根据权利要求8所述的装置,其特征在于,所述业务服务器还用于:
    根据所述直播间的用户发送的消息发送请求,生成携带消息类型标识的消息;其中,所述消息类型标识包括:高优先级类型标识、低优先级类型标识和白名单类型标识;业务控制消息中携带所述白名单类型标识。
  11. 根据权利要求10所述的装置,其特征在于,所述计算模块包括:
    第一确定单元,用于根据即时消息服务器所转发的消息中携带的消息类型标识,确定所述消息发送总量中的高优先级类型消息的第一总量、低优先级类型消息的第二总量和白名单类型消息的第三总量;其中,所述即时消息服务器用于:接收所述业务服务器所发送的消息,并将所接收到的消息转发至所述直播间的用户;
    第二确定单元,用于根据所述主播设备接收到的消息中携带的消息类型标识,确定所述消息接收总量中的高优先级类型消息的第四总量、低优先级类型消息的第五总量和白名单类型消息的第六总量;
    第一计算单元,用于计算所述第四总量与第一总量的比值,作为高优先级类型消息的到达率;
    第二计算单元,用于计算所述第五总量与第二总量的比值,作为低优先级类型消息的到达率;
    第三计算单元,用于计算所述第六总量与第三总量的比值,作为白名单类型消息的到达率。
  12. 根据权利要求11所述的装置,其特征在于,还包括:
    第二确定模块,用于在根据所述消息接收总量和所述消息发送总量,计算所述直播间的消息到达率之后,根据高优先级类型消息的到达率、所述低优先级类型消息的到达率和所述白名单类型消息的到达率,确定所述即时消息服务器的消息转发性能。
  13. 一种数据统计服务器,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间 的通信;
    存储器,用于存放计算机程序;
    处理器,用于执行存储器上所存放的程序时,实现权利要求1-6中任一所述的方法步骤。
  14. 一种存储介质,其特征在于,所述存储介质内存储有计算机程序,所述计算机程序被数据统计服务器的处理器执行时实现权利要求1-6中任一所述的方法步骤。
  15. 一种计算机程序产品,所述计算机程序产品用于在运行时执行权利要求1-6中任一项所述的方法步骤。
PCT/CN2019/104953 2018-12-19 2019-09-09 消息到达率确定方法、装置、数据统计服务器及存储介质 WO2020125074A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811559525.3 2018-12-19
CN201811559525.3A CN110022259B (zh) 2018-12-19 2018-12-19 消息到达率确定方法、装置、数据统计服务器及存储介质

Publications (1)

Publication Number Publication Date
WO2020125074A1 true WO2020125074A1 (zh) 2020-06-25

Family

ID=67188644

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/104953 WO2020125074A1 (zh) 2018-12-19 2019-09-09 消息到达率确定方法、装置、数据统计服务器及存储介质

Country Status (2)

Country Link
CN (1) CN110022259B (zh)
WO (1) WO2020125074A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709514A (zh) * 2021-09-02 2021-11-26 北京一起教育科技有限责任公司 一种数据处理方法、装置和电子设备
CN115379281A (zh) * 2021-05-20 2022-11-22 北京字节跳动网络技术有限公司 虚拟直播间的消息展示方法、装置和设备

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110022259B (zh) * 2018-12-19 2021-09-24 卓米私人有限公司 消息到达率确定方法、装置、数据统计服务器及存储介质
CN110620699B (zh) * 2019-08-02 2021-12-28 北京字节跳动网络技术有限公司 消息到达率确定方法、装置、设备和计算机可读存储介质
CN111327915A (zh) * 2020-02-21 2020-06-23 北京字节跳动网络技术有限公司 确定消息到达率的方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140047049A1 (en) * 2012-08-07 2014-02-13 Milyoni, Inc. Methods and systems for linking and prioritizing chat messages
CN106126629A (zh) * 2016-06-22 2016-11-16 武汉斗鱼网络科技有限公司 一种基于直播行业的主数据管理方法及系统
CN107959891A (zh) * 2017-11-08 2018-04-24 杭州风远科技有限公司 一种直播系统
CN108540827A (zh) * 2017-03-01 2018-09-14 杭州海康威视数字技术股份有限公司 数据处理方法及装置
CN110022259A (zh) * 2018-12-19 2019-07-16 香港乐蜜有限公司 消息到达率确定方法、装置、数据统计服务器及存储介质

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107635155B (zh) * 2017-09-20 2020-08-07 香港乐蜜有限公司 一种信息发送方法、装置、设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140047049A1 (en) * 2012-08-07 2014-02-13 Milyoni, Inc. Methods and systems for linking and prioritizing chat messages
CN106126629A (zh) * 2016-06-22 2016-11-16 武汉斗鱼网络科技有限公司 一种基于直播行业的主数据管理方法及系统
CN108540827A (zh) * 2017-03-01 2018-09-14 杭州海康威视数字技术股份有限公司 数据处理方法及装置
CN107959891A (zh) * 2017-11-08 2018-04-24 杭州风远科技有限公司 一种直播系统
CN110022259A (zh) * 2018-12-19 2019-07-16 香港乐蜜有限公司 消息到达率确定方法、装置、数据统计服务器及存储介质

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115379281A (zh) * 2021-05-20 2022-11-22 北京字节跳动网络技术有限公司 虚拟直播间的消息展示方法、装置和设备
CN113709514A (zh) * 2021-09-02 2021-11-26 北京一起教育科技有限责任公司 一种数据处理方法、装置和电子设备
CN113709514B (zh) * 2021-09-02 2023-06-23 北京一起教育科技有限责任公司 一种数据处理方法、装置和电子设备

Also Published As

Publication number Publication date
CN110022259A (zh) 2019-07-16
CN110022259B (zh) 2021-09-24

Similar Documents

Publication Publication Date Title
WO2020125074A1 (zh) 消息到达率确定方法、装置、数据统计服务器及存储介质
US11095710B2 (en) Detecting virtual private network usage
WO2019128535A1 (zh) 消息管理方法、设备及存储介质
WO2021057889A1 (zh) 一种数据处理方法、装置、电子设备及存储介质
WO2022057318A1 (zh) 拉流请求处理方法、装置、系统、电子设备和存储介质
US20220150678A1 (en) Communication method and apparatus, computer-readable medium, and electronic device
WO2020094034A1 (zh) 用于终端的无线网络连接方法
US9591524B2 (en) Method and apparatus for transmitting data in network system, and data transmission system
US20180309756A1 (en) Identity Authentication Method and Apparatus
US20150319137A1 (en) Techniques to monitor connection paths on networked devices
US9173097B2 (en) Techniques for auto-authentication
US9769012B2 (en) Notification normalization
WO2017071087A1 (zh) 信息的传输方法、装置和设备
US11848845B2 (en) Content delivery network server testing
WO2020015579A1 (zh) 推广资源确定方法和装置
CN110677684B (zh) 视频处理、视频访问方法及分布式存储、视频访问系统
WO2016165296A1 (zh) 一种服务质量控制的方法、设备及系统
WO2018133767A1 (zh) 通话控制方法、终端设备及存储介质
US20160277971A1 (en) Centralized wireless network management system
WO2019149042A1 (zh) 一种网络配置方法、装置、电子设备和系统
WO2023082605A1 (zh) Http报文的提取方法、装置、介质及设备
CN113114611B (zh) 黑名单管理的方法和装置
WO2019161600A1 (zh) 一种向社区添加成员的方法、装置、服务器及介质
CN109743232B (zh) 一种接口探测方法及装置
US9129025B2 (en) Automatically granting access to content in a microblog

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19899597

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19899597

Country of ref document: EP

Kind code of ref document: A1