CN110022259A - Message arrival rate determines method, apparatus, data statistics server and storage medium - Google Patents
Message arrival rate determines method, apparatus, data statistics server and storage medium Download PDFInfo
- Publication number
- CN110022259A CN110022259A CN201811559525.3A CN201811559525A CN110022259A CN 110022259 A CN110022259 A CN 110022259A CN 201811559525 A CN201811559525 A CN 201811559525A CN 110022259 A CN110022259 A CN 110022259A
- Authority
- CN
- China
- Prior art keywords
- message
- total amount
- direct broadcasting
- broadcasting room
- arrival rate
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000004891 communication Methods 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 15
- 230000005540 biological transmission Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 241000209140 Triticum Species 0.000 description 1
- 235000021307 Triticum Nutrition 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-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
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
The embodiment of the invention provides a kind of Message arrival rate to determine method, apparatus, data statistics server and storage medium.This method comprises: determining the second identifier of the first identifier of the direct broadcasting room of Message arrival rate to be determined and the main broadcaster of direct broadcasting room;Based on first identifier and second identifier, the user for obtaining direct broadcasting room sends total amount to the message of message transmitted by main broadcaster;Obtain the message sink total amount of main broadcaster;Total amount is sent according to message sink total amount and message, calculates the Message arrival rate of direct broadcasting room.Using the embodiment of the present invention, the Message arrival rate of direct broadcasting room can be simply and rapidly determined.
Description
Technical field
The present invention relates to field of computer technology, determine that method, apparatus, data are united more particularly to a kind of Message arrival rate
Count server and storage medium.
Background technique
Currently, being provided with direct broadcasting room function in many social category softwares.Wherein, it is based on the direct broadcasting room function, main broadcaster can be with
Request is opened direct broadcasting room and is broadcast live, and spectators can enter the live streaming of direct broadcasting room viewing main broadcaster.Wherein, main broadcaster and spectators are equal
For the user of the direct broadcasting room.
Inventor has found in the implementation of the present invention, since spectators' mobility of direct broadcasting room is big, thus is difficult to straight
The arrival rate of message of each user calculates between broadcasting, thus can not also calculate at present the arrival rate of message of direct broadcasting room.
Summary of the invention
A kind of Message arrival rate of being designed to provide of the embodiment of the present invention determines method, apparatus, data statistics server
And storage medium, can simply and rapidly determine the Message arrival rate of direct broadcasting room.Specific technical solution is as follows:
In a first aspect, the embodiment of the invention provides a kind of Message arrival rate to determine method, it is applied to data statistics service
Device, this method may include:
Determine the second identifier of the first identifier of the direct broadcasting room of Message arrival rate to be determined and the main broadcaster of direct broadcasting room;
Based on first identifier and second identifier, the user for obtaining direct broadcasting room sends always to the message of message transmitted by main broadcaster
Amount;
Obtain the message sink total amount of main broadcaster;
Total amount is sent according to message sink total amount and message, calculates the Message arrival rate of direct broadcasting room.
Optionally, in embodiments of the present invention, it is based on first identifier and second identifier, obtains the user of direct broadcasting room to main broadcaster
The message of transmitted message sends the step of total amount, may include:
Based on first identifier and second identifier, the user of direct broadcasting room is obtained to message transmitted by main broadcaster from service server
Message sends total amount;Wherein, service server is used for: the user for counting direct broadcasting room sends always to the message of message transmitted by main broadcaster
Amount.
Optionally, in embodiments of the present invention, the step of obtaining the message sink total amount of main broadcaster may include:
The message sink total amount of main broadcaster is obtained from main broadcaster's equipment where main broadcaster;Wherein, main broadcaster's equipment is used for: being connect to main broadcaster
The message received is counted, and the message sink total amount of main broadcaster is obtained.
Optionally, in embodiments of the present invention, service server can be also used for:
Request is sent according to the message that the user of direct broadcasting room sends, generates the message for carrying type of message mark;Wherein, disappear
Breath type identification includes: high priority type mark, low priority type mark and white list type identification;Service control message
Middle carrying white list type identification.
Optionally, in embodiments of the present invention, total amount is sent according to message sink total amount and message, calculates disappearing for direct broadcasting room
The step of breath arrival rate, may include:
The type of message mark carried in the message forwarded according to server of instant message, determines that message is sent in total amount
High priority type message the first total amount, the second total amount of low priority type message and the third of white list message
Total amount;Wherein, server of instant message is used for: receiving message transmitted by service server, and received message is turned
It is sent to the user of direct broadcasting room;
The type of message mark carried in the message received according to main broadcaster's equipment, determines the Gao You in message sink total amount
The 4th total amount, the 5th total amount of low priority type message and the 6th total amount of white list message of first grade message;
The ratio for calculating the 4th total amount and the first total amount, the arrival rate as high priority type message;
The ratio for calculating the 5th total amount and the second total amount, the arrival rate as low priority type message;
The ratio for calculating the 6th total amount and third total amount, the arrival rate as white list message.
Optionally, in embodiments of the present invention, total amount is being sent according to message sink total amount and message, is calculating direct broadcasting room
After the step of Message arrival rate, can also include:
According to the arrival rate of high priority type message, the arrival rate and white list message of low priority type message
Arrival rate, determine the message forwarding performance of server of instant message.
Second aspect, the embodiment of the invention provides a kind of Message arrival rate determining devices, are applied to data statistics service
Device, the apparatus may include:
First determining module, for determining the first identifier of the direct broadcasting room of Message arrival rate to be determined and the main broadcaster of direct broadcasting room
Second identifier;
First obtains module, for being based on first identifier and second identifier, obtains the user of direct broadcasting room to transmitted by main broadcaster
The message of message sends total amount;
Second obtains module, for obtaining the message sink total amount of main broadcaster;
Computing module calculates the Message arrival rate of direct broadcasting room for sending total amount according to message sink total amount and message.
Optionally, in embodiments of the present invention, the first acquisition module specifically can be used for:
Based on first identifier and second identifier, the user of direct broadcasting room is obtained to message transmitted by main broadcaster from service server
Message sends total amount;Wherein, service server is used for: the user for counting direct broadcasting room sends always to the message of message transmitted by main broadcaster
Amount.
Optionally, in embodiments of the present invention, the second acquisition module specifically can be used for:
The message sink total amount of main broadcaster is obtained from main broadcaster's equipment where main broadcaster;Wherein, main broadcaster's equipment is used for: being connect to main broadcaster
The message received is counted, and the message sink total amount of main broadcaster is obtained.
Optionally, in embodiments of the present invention, service server can be also used for:
Request is sent according to the message that the user of direct broadcasting room sends, generates the message for carrying type of message mark;Wherein, disappear
Breath type identification includes: high priority type mark, low priority type mark and white list type identification;Service control message
Middle carrying white list type identification.
Optionally, in embodiments of the present invention, computing module may include:
First determination unit, the type of message mark carried in the message for being forwarded according to server of instant message,
Determine that message sends the first total amount of high priority type message, the second total amount of low priority type message and white in total amount
The third total amount of list message;Wherein, server of instant message is used for: message transmitted by service server is received, and
Received message is forwarded to the user of direct broadcasting room;
Second determination unit, the type of message mark carried in the message for being received according to main broadcaster's equipment, determination disappear
Breath receives the 4th total amount, the 5th total amount and white list class of low priority type message of the high priority type message in total amount
6th total amount of type message;
First computing unit, for calculating the ratio of the 4th total amount and the first total amount, as high priority type message
Arrival rate;
Second computing unit, for calculating the ratio of the 5th total amount and the second total amount, as low priority type message
Arrival rate;
Third computing unit, for calculating the ratio of the 6th total amount and third total amount, as arriving for white list message
Up to rate.
Optionally, in embodiments of the present invention, can also include:
Second determining module, for sending total amount according to message sink total amount and message, the message for calculating direct broadcasting room is arrived
Up to after rate, disappeared according to the arrival rate of high priority type message, the arrival rate of low priority type message and white list type
The arrival rate of breath determines the message forwarding performance of server of instant message.
The third aspect the embodiment of the invention provides a kind of data statistics server, including processor, communication interface, is deposited
Reservoir and communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any of the above-described Message arrival rate determination side
The method and step of method.
Fourth aspect is stored with computer program the embodiment of the invention provides a kind of storage medium in storage medium, meter
The method that any of the above-described Message arrival rate determines method is realized when calculation machine program is executed by the processor of data statistics server
Step.
5th aspect, the embodiment of the invention also provides a kind of computer program products comprising instruction, when it is in data
When being run on statistical server, so that data statistics server executes the method step that any of the above-described Message arrival rate determines method
Suddenly.
In embodiments of the present invention, data statistics server can determine the first of the direct broadcasting room of Message arrival rate to be determined
The second identifier of the main broadcaster of mark and the direct broadcasting room.It is then possible to be based on first identifier and second identifier, the direct broadcasting room is obtained
User sends total amount to the message of message transmitted by the main broadcaster.The message sink total amount of the main broadcaster can also be obtained.It later, can be with
Total amount is sent according to the message sink total amount and message, calculates the Message arrival rate of the direct broadcasting room.In this way, direct broadcasting room can be calculated
The Message arrival rate of middle main broadcaster, and the message of main broadcaster is reached into Message arrival rate of the rate as direct broadcasting room.In this way, can it is simple,
The Message arrival rate for rapidly calculating direct broadcasting room solves and is difficult to calculate the message of all users in direct broadcasting room and reaches rate and lead
Cause be difficult to calculate the problem of the Message arrival rate of direct broadcasting room.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow chart that a kind of Message arrival rate provided in an embodiment of the present invention determines method;
Fig. 2 is the schematic diagram that a kind of Message arrival rate provided in an embodiment of the present invention determines system;
Fig. 3 is a kind of structural schematic diagram of Message arrival rate determining device provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of data statistics server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In order to solve the problems in the existing technology, the embodiment of the invention provides a kind of Message arrival rate determination sides
Method, device, data statistics server and storage medium.
Method, which is illustrated, to be determined to Message arrival rate provided in an embodiment of the present invention first below.
It is true that Message arrival rate provided in an embodiment of the present invention determines that method can be applied to Message arrival rate as shown in Figure 2
Determine the data statistics server 203 in system 200.Wherein, which determines that system 200 may include: data statistics
The user equipment 204 of user in server 203, service server 201, server of instant message 202 and direct broadcasting room.
Wherein, the user equipment in direct broadcasting room includes main broadcaster's equipment and viewer apparatus, and viewer apparatus can be one or more
It is a.
In addition, data statistics server, service server and server of instant message can be three independent equipment.When
So, data statistics server is also possible to be integrated with data statistics module, business service module and instant message service module
Integration apparatus, this is all reasonable.
Referring to Fig. 1, this method be may include steps of:
S101: the second identifier of the first identifier of the direct broadcasting room of Message arrival rate to be determined and the main broadcaster of direct broadcasting room is determined;
It is understood that data statistics server can determine: the first mark of the direct broadcasting room of Message arrival rate to be determined
Know, and, the second identifier of the main broadcaster of the direct broadcasting room.
Wherein, the first identifier of the direct broadcasting room includes but is not limited to: direct broadcasting room number and direct broadcasting room title.The live streaming
Between the second identifier of main broadcaster include but is not limited to: account of the main broadcaster in used live streaming platform, and, Zhu Bosuo
The combination of the direct broadcasting room self-defined title is given in the first identifier of direct broadcasting room and main broadcaster.
S102: being based on first identifier and second identifier, and the user for obtaining direct broadcasting room sends out to the message of message transmitted by main broadcaster
Send total amount;
Data statistics server, can be by first identifier obtained and the after obtaining first identifier and second identifier
Two marks are sent to service server.Then, service server can be searched according to the first identifier and second identifier received
The user of the direct broadcasting room counts the total quantity of found message to message transmitted by the main broadcaster, so that it is straight to obtain this
User between broadcasting sends total amount to the message of message transmitted by the main broadcaster.Later, data statistics server can be from business service
The message is obtained in device sends total amount.
Wherein, can be turned by server of instant message since the user in direct broadcasting room requests each message sent
Issue main broadcaster.The user of the direct broadcasting room is thus searched to message transmitted by the main broadcaster i.e. are as follows: the user institute for searching the direct broadcasting room
The message of transmission.
S103: the message sink total amount of main broadcaster is obtained;
Wherein, main broadcaster's equipment where main broadcaster can calculate the message sink total amount received by itself.Then, data are united
The message sink total amount of main broadcaster can be obtained from main broadcaster's equipment by counting server.
S104: total amount is sent according to message sink total amount and message, calculates the Message arrival rate of direct broadcasting room.
After obtaining message sink total amount and message transmission total amount, in one implementation, data statistics server
Message sink total amount and message can be calculated and send the ratio of total amount, to obtain the Message arrival rate of main broadcaster, and by the message
Arrival rate reaches rate as the message of direct broadcasting room.In this way, the Message arrival rate of direct broadcasting room can be determined simply and rapidly.
In another implementation, can also configure: service server disappears what the user for receiving direct broadcasting room sent
After breath transmission request, generation carries type of message the identifies, message and sends the corresponding message of request.Wherein, the message
Type identification may include: high priority type mark, low priority type mark and white list type identification.
Specifically, present sends request, barrage sends request, payment sends the corresponding present message of request, barrage disappears
Breath and payment message can carry high priority type mark.Certainly, other high concurrents and important message can also carry
There is high priority type mark.
In addition, into direct broadcasting room request, leaving the corresponding entrance direct broadcasting room message of direct broadcasting room request and leaving direct broadcasting room
Message can carry low priority type mark.Certainly, it is low excellent can also to carry this for other high concurrents but not important message
First grade type identification.
In addition, white list type identification can be carried by being related to the Service control message of the Service control of direct broadcasting room.Wherein,
Service control message includes but is not limited to: control connects the message of wheat business in the room PK.Under normal circumstances, Service control
Message is that live streaming software client is sent by Http connection service server.Moreover, working as the industry of white list type identification
When control message of being engaged in is lost, then the business that the Service control message is controlled cannot achieve.
Furthermore it is also possible to configure: server of instant message is receiving transmitted by service server after message, and by institute
The message received is forwarded to the user of direct broadcasting room.That is, server of instant message is used for: receiving and disappear transmitted by service server
It ceases, and received message is forwarded to the user of direct broadcasting room.
Then, data statistics server can be according to the type of message carried in the message that server of instant message is forwarded
Mark, determine message send the first total amount of high priority type message in total amount, low priority type message it is second total
The third total amount of amount and white list message.
In addition, data statistics server can also be according to the type of message mark carried in the message that main broadcaster's equipment receives
Know, determines the 4th total amount, the 5th total amount of low priority type message of the high priority type message in message sink total amount
With the 6th total amount of white list message.
Later, data statistics server can calculate the ratio of the 4th total amount and the first total amount, as high priority type
The arrival rate of message;The ratio for calculating the 5th total amount and the second total amount, the arrival rate as low priority type message;Calculate the
The ratio of six total amounts and third total amount, the arrival rate as white list message.Disappear in this way, various types can be calculated
Breath reaches rate.
Disappear in arrival rate, the arrival rate of low priority type message and the white list type for obtaining high priority type message
The arrival rate of breath, data statistics server can also arrival rate, low priority type message according to high priority type message
Arrival rate and white list message arrival rate, determine the message forwarding performance of server of instant message.
For example, when the arrival rate of high priority type message is 95%, the arrival rate of low priority type message is
90%, when the arrival rate of white list message is 100%, then it can determine that the message forwarding performance of server of instant message is good
It is good.When the arrival rate of high priority type message is 90%, the arrival rate of low priority type message is 80%, white list type
When the arrival rate of message is 99%, it is determined that the message forwarding performance existing defects of server of instant message.
Wherein, when the arrival rate of white list message is unable to reach 100%, then the partial service function of studio can not
It realizes.
In embodiments of the present invention, data statistics server can determine the first of the direct broadcasting room of Message arrival rate to be determined
The second identifier of the main broadcaster of mark and the direct broadcasting room.It is then possible to be based on first identifier and second identifier, the direct broadcasting room is obtained
User sends total amount to the message of message transmitted by the main broadcaster.The message sink total amount of the main broadcaster can also be obtained.It later, can be with
Total amount is sent according to the message sink total amount and message, calculates the Message arrival rate of the direct broadcasting room.In this way, direct broadcasting room can be calculated
The Message arrival rate of middle main broadcaster, and the message of main broadcaster is reached into Message arrival rate of the rate as direct broadcasting room.In this way, can it is simple,
The Message arrival rate for rapidly calculating direct broadcasting room solves and is difficult to calculate the message of all users in direct broadcasting room and reaches rate and lead
Cause be difficult to calculate the problem of the Message arrival rate of direct broadcasting room.
To sum up, method is determined using Message arrival rate provided in an embodiment of the present invention, can simply and rapidly calculate straight
Message arrival rate between broadcasting.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of Message arrival rate determining device, applications
In data statistics server, referring to Fig. 3, the apparatus may include:
First determining module 301, for determining the first identifier and direct broadcasting room of the direct broadcasting room of Message arrival rate to be determined
The second identifier of main broadcaster;
First obtains module 302, and for being based on first identifier and second identifier, the user for obtaining direct broadcasting room is sent out to main broadcaster
The message of message is sent to send total amount;
Second obtains module 303, for obtaining the message sink total amount of main broadcaster;
Computing module 304, for sending total amount according to message sink total amount and message, the message for calculating direct broadcasting room is reached
Rate.
Using device provided in an embodiment of the present invention, data statistics server can determine the straight of Message arrival rate to be determined
The second identifier of the main broadcaster of first identifier and the direct broadcasting room between broadcasting.It is then possible to be based on first identifier and second identifier, obtain
The user of the direct broadcasting room sends total amount to the message of message transmitted by the main broadcaster.The message sink that the main broadcaster can also be obtained is total
Amount.Later, total amount can be sent according to the message sink total amount and message, calculates the Message arrival rate of the direct broadcasting room.In this way, can
To calculate the Message arrival rate of main broadcaster in direct broadcasting room, and the message of main broadcaster is reached into Message arrival rate of the rate as direct broadcasting room.This
Sample can simply and rapidly calculate the Message arrival rate of direct broadcasting room, solve and be difficult to calculate disappearing for all users in direct broadcasting room
Breath is difficult to calculate the problem of the Message arrival rate of direct broadcasting room caused by reaching rate.
Optionally, in embodiments of the present invention, the first acquisition module 302 specifically can be used for:
Based on first identifier and second identifier, the user of direct broadcasting room is obtained to message transmitted by main broadcaster from service server
Message sends total amount;Wherein, service server is used for: the user for counting direct broadcasting room sends always to the message of message transmitted by main broadcaster
Amount.
Optionally, in embodiments of the present invention, the second acquisition module 303 specifically can be used for:
The message sink total amount of main broadcaster is obtained from main broadcaster's equipment where main broadcaster;Wherein, main broadcaster's equipment is used for: being connect to main broadcaster
The message received is counted, and the message sink total amount of main broadcaster is obtained.
Optionally, in embodiments of the present invention, service server can be also used for:
Request is sent according to the message that the user of direct broadcasting room sends, generates the message for carrying type of message mark;Wherein, disappear
Breath type identification includes: high priority type mark, low priority type mark and white list type identification;Service control message
Middle carrying white list type identification.
Optionally, in embodiments of the present invention, computing module 304 may include:
First determination unit, the type of message mark carried in the message for being forwarded according to server of instant message,
Determine that message sends the first total amount of high priority type message, the second total amount of low priority type message and white in total amount
The third total amount of list message;Wherein, server of instant message is used for: message transmitted by service server is received, and
Received message is forwarded to the user of direct broadcasting room;
Second determination unit, the type of message mark carried in the message for being received according to main broadcaster's equipment, determination disappear
Breath receives the 4th total amount, the 5th total amount and white list class of low priority type message of the high priority type message in total amount
6th total amount of type message;
First computing unit, for calculating the ratio of the 4th total amount and the first total amount, as high priority type message
Arrival rate;
Second computing unit, for calculating the ratio of the 5th total amount and the second total amount, as low priority type message
Arrival rate;
Third computing unit, for calculating the ratio of the 6th total amount and third total amount, as arriving for white list message
Up to rate.
Optionally, in embodiments of the present invention, which can also include:
Second determining module, for sending total amount according to message sink total amount and message, the message for calculating direct broadcasting room is arrived
Up to after rate, disappeared according to the arrival rate of high priority type message, the arrival rate of low priority type message and white list type
The arrival rate of breath determines the message forwarding performance of server of instant message.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of data statistics servers, referring to fig. 4,
Including processor 401, communication interface 402, memory 403 and communication bus 404, wherein processor 401, communication interface 402,
Memory 403 completes mutual communication by communication bus 404;
Memory 403, for storing computer program;
Processor 401 when for executing the program stored on memory 403, realizes any of the above-described Message arrival rate
Determine the method and step of method.
In embodiments of the present invention, data statistics server can determine the first of the direct broadcasting room of Message arrival rate to be determined
The second identifier of the main broadcaster of mark and the direct broadcasting room.It is then possible to be based on first identifier and second identifier, the direct broadcasting room is obtained
User sends total amount to the message of message transmitted by the main broadcaster.The message sink total amount of the main broadcaster can also be obtained.It later, can be with
Total amount is sent according to the message sink total amount and message, calculates the Message arrival rate of the direct broadcasting room.In this way, direct broadcasting room can be calculated
The Message arrival rate of middle main broadcaster, and the message of main broadcaster is reached into Message arrival rate of the rate as direct broadcasting room.In this way, can it is simple,
The Message arrival rate for rapidly calculating direct broadcasting room solves and is difficult to calculate the message of all users in direct broadcasting room and reaches rate and lead
Cause be difficult to calculate the problem of the Message arrival rate of direct broadcasting room.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of storage medium, stored in storage medium
There is computer program, any of the above-described Message arrival rate is realized when computer program is executed by the processor of data statistics server
Determine the method and step of method.Wherein, which is computer readable storage medium.
The computer program stored in storage medium provided in an embodiment of the present invention is by the processor of data statistics server
After execution, data statistics server can determine the first identifier of the direct broadcasting room of Message arrival rate to be determined and the master of the direct broadcasting room
The second identifier broadcast.It is then possible to be based on first identifier and second identifier, the user of the direct broadcasting room is obtained to transmitted by the main broadcaster
The message of message sends total amount.The message sink total amount of the main broadcaster can also be obtained.It later, can be according to the message sink total amount
Total amount is sent with message, calculates the Message arrival rate of the direct broadcasting room.In this way, the message that can calculate main broadcaster in direct broadcasting room reaches
Rate, and the message of main broadcaster is reached into Message arrival rate of the rate as direct broadcasting room.In this way, live streaming can be calculated simply and rapidly
Between Message arrival rate, solve be difficult to calculate all users in direct broadcasting room message reach rate caused by be difficult to calculate live streaming
Between Message arrival rate problem.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of, and the computer program comprising instruction is produced
Product, when it runs on data statistics server, so that data statistics server execution any of the above-described Message arrival rate is true
Determine the method and step of method.
After computer program product provided in an embodiment of the present invention is executed by the processor of data statistics server, data system
Meter server can determine the second identifier of the first identifier of the direct broadcasting room of Message arrival rate to be determined and the main broadcaster of the direct broadcasting room.
It is then possible to be based on first identifier and second identifier, message hair of the user to message transmitted by the main broadcaster of the direct broadcasting room is obtained
Send total amount.The message sink total amount of the main broadcaster can also be obtained.Later, it can be sent according to the message sink total amount and message total
Amount, calculates the Message arrival rate of the direct broadcasting room.In this way, the Message arrival rate of main broadcaster in direct broadcasting room can be calculated, and by main broadcaster's
Message reaches Message arrival rate of the rate as direct broadcasting room.In this way, the message that can simply and rapidly calculate direct broadcasting room reaches
Rate solves and is difficult to calculate the message of all users in direct broadcasting room and reaches and be difficult to calculate the message of direct broadcasting room caused by rate and reach
The problem of rate.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just
It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy
The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also
To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete
Door or transistor logic, discrete hardware components.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program
Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or
It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter
Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium
In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer
Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center
User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or
Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or
It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with
It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk
Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device,
For data statistics server and storage medium embodiment, since it is substantially similar to the method embodiment, so the comparison of description
Simply, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. a kind of Message arrival rate determines method, which is characterized in that be applied to data statistics server, which comprises
Determine the second identifier of the first identifier of the direct broadcasting room of Message arrival rate to be determined and the main broadcaster of the direct broadcasting room;
Based on the first identifier and the second identifier, the user of the direct broadcasting room is obtained to message transmitted by the main broadcaster
Message sends total amount;
Obtain the message sink total amount of the main broadcaster;
Total amount is sent according to the message sink total amount and the message, calculates the Message arrival rate of the direct broadcasting room.
2. the method according to claim 1, wherein it is described be based on the first identifier and the second identifier,
Obtain the step of user of the direct broadcasting room sends total amount to the message of message transmitted by the main broadcaster, comprising:
Based on the first identifier and the second identifier, the user of the direct broadcasting room is obtained to the main broadcaster from service server
The message of transmitted message sends total amount;Wherein, the service server is used for: counting the user of the direct broadcasting room to the master
The message for broadcasting transmitted message sends total amount.
3. the method according to claim 1, wherein the step of the message sink total amount for obtaining the main broadcaster
Suddenly, comprising:
The message sink total amount of the main broadcaster is obtained from main broadcaster's equipment where the main broadcaster;Wherein, main broadcaster's equipment is used for:
The message received to the main broadcaster counts, and obtains the message sink total amount of the main broadcaster.
4. according to the method described in claim 2, it is characterized in that, the service server is also used to:
Request is sent according to the message that the user of the direct broadcasting room sends, generates the message for carrying type of message mark;Wherein, institute
Stating type of message mark includes: high priority type mark, low priority type mark and white list type identification;Service control
The white list type identification is carried in message.
5. according to the method described in claim 4, it is characterized in that, described send out according to the message sink total amount and the message
The step of sending total amount, calculating the Message arrival rate of the direct broadcasting room, comprising:
The type of message mark carried in the message forwarded according to server of instant message, determines that the message is sent in total amount
High priority type message the first total amount, the second total amount of low priority type message and the third of white list message
Total amount;Wherein, the server of instant message is used for: receiving message transmitted by the service server, and will be received
Message be forwarded to the user of the direct broadcasting room;
The type of message mark carried in the message received according to main broadcaster's equipment, determines in the message sink total amount
4th total amount of high priority type message, the 5th total amount of low priority type message and white list message it is the 6th total
Amount;
The ratio for calculating the 4th total amount and the first total amount, the arrival rate as high priority type message;
The ratio for calculating the 5th total amount and the second total amount, the arrival rate as low priority type message;
The ratio for calculating the 6th total amount and third total amount, the arrival rate as white list message.
6. according to the method described in claim 5, it is characterized in that, described according to the message sink total amount and the message
After the step of sending total amount, calculating the Message arrival rate of the direct broadcasting room, further includes:
According to the arrival rate of high priority type message, the arrival rate of the low priority type message and the white list type
The arrival rate of message determines the message forwarding performance of the server of instant message.
7. a kind of Message arrival rate determining device, which is characterized in that be applied to data statistics server, described device includes:
First determining module, for determining the first identifier of the direct broadcasting room of Message arrival rate to be determined and the main broadcaster of the direct broadcasting room
Second identifier;
First obtains module, for being based on the first identifier and the second identifier, obtains the user of the direct broadcasting room to institute
The message for stating message transmitted by main broadcaster sends total amount;
Second obtains module, for obtaining the message sink total amount of the main broadcaster;
Computing module calculates the message of the direct broadcasting room for sending total amount according to the message sink total amount and the message
Arrival rate.
8. device according to claim 7, which is characterized in that the first acquisition module is specifically used for:
Based on the first identifier and the second identifier, the user of the direct broadcasting room is obtained to the main broadcaster from service server
The message of transmitted message sends total amount;Wherein, the service server is used for: counting the user of the direct broadcasting room to the master
The message for broadcasting transmitted message sends total amount.
9. a kind of data statistics server, which is characterized in that including processor, communication interface, memory and communication bus,
In, processor, communication interface, memory completes mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes method step as claimed in any one of claims 1 to 6
Suddenly.
10. a kind of storage medium, which is characterized in that be stored with computer program, the computer program in the storage medium
Method and step as claimed in any one of claims 1 to 6 is realized when being executed by the processor of data statistics server.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811559525.3A CN110022259B (en) | 2018-12-19 | 2018-12-19 | Message arrival rate determining method and device, data statistics server and storage medium |
PCT/CN2019/104953 WO2020125074A1 (en) | 2018-12-19 | 2019-09-09 | Message arrival rate determination method and device, data statistics server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811559525.3A CN110022259B (en) | 2018-12-19 | 2018-12-19 | Message arrival rate determining method and device, data statistics server and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110022259A true CN110022259A (en) | 2019-07-16 |
CN110022259B CN110022259B (en) | 2021-09-24 |
Family
ID=67188644
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811559525.3A Active CN110022259B (en) | 2018-12-19 | 2018-12-19 | Message arrival rate determining method and device, data statistics server and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110022259B (en) |
WO (1) | WO2020125074A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110620699A (en) * | 2019-08-02 | 2019-12-27 | 北京字节跳动网络技术有限公司 | Message arrival rate determination method, device, equipment and computer readable storage medium |
CN111327915A (en) * | 2020-02-21 | 2020-06-23 | 北京字节跳动网络技术有限公司 | Method and device for determining message arrival rate |
WO2020125074A1 (en) * | 2018-12-19 | 2020-06-25 | 香港乐蜜有限公司 | Message arrival rate determination method and device, data statistics server and storage medium |
CN113709514A (en) * | 2021-09-02 | 2021-11-26 | 北京一起教育科技有限责任公司 | Data processing method and device and electronic equipment |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115379281A (en) * | 2021-05-20 | 2022-11-22 | 北京字节跳动网络技术有限公司 | Message display method, device and equipment of virtual live broadcast room |
Citations (4)
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 |
CN107635155A (en) * | 2017-09-20 | 2018-01-26 | 乐蜜有限公司 | A kind of method for sending information, device, equipment and storage medium |
CN107959891A (en) * | 2017-11-08 | 2018-04-24 | 杭州风远科技有限公司 | A kind of live broadcast system |
CN108540827A (en) * | 2017-03-01 | 2018-09-14 | 杭州海康威视数字技术股份有限公司 | Data processing method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106126629B (en) * | 2016-06-22 | 2019-07-09 | 武汉斗鱼网络科技有限公司 | A kind of master data management method and system based on live streaming industry |
CN110022259B (en) * | 2018-12-19 | 2021-09-24 | 卓米私人有限公司 | Message arrival rate determining method and device, data statistics server and storage medium |
-
2018
- 2018-12-19 CN CN201811559525.3A patent/CN110022259B/en active Active
-
2019
- 2019-09-09 WO PCT/CN2019/104953 patent/WO2020125074A1/en active Application Filing
Patent Citations (4)
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 |
CN108540827A (en) * | 2017-03-01 | 2018-09-14 | 杭州海康威视数字技术股份有限公司 | Data processing method and device |
CN107635155A (en) * | 2017-09-20 | 2018-01-26 | 乐蜜有限公司 | A kind of method for sending information, device, equipment and storage medium |
CN107959891A (en) * | 2017-11-08 | 2018-04-24 | 杭州风远科技有限公司 | A kind of live broadcast system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020125074A1 (en) * | 2018-12-19 | 2020-06-25 | 香港乐蜜有限公司 | Message arrival rate determination method and device, data statistics server and storage medium |
CN110620699A (en) * | 2019-08-02 | 2019-12-27 | 北京字节跳动网络技术有限公司 | Message arrival rate determination method, device, equipment and computer readable storage medium |
CN111327915A (en) * | 2020-02-21 | 2020-06-23 | 北京字节跳动网络技术有限公司 | Method and device for determining message arrival rate |
CN113709514A (en) * | 2021-09-02 | 2021-11-26 | 北京一起教育科技有限责任公司 | Data processing method and device and electronic equipment |
CN113709514B (en) * | 2021-09-02 | 2023-06-23 | 北京一起教育科技有限责任公司 | Data processing method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2020125074A1 (en) | 2020-06-25 |
CN110022259B (en) | 2021-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110022259A (en) | Message arrival rate determines method, apparatus, data statistics server and storage medium | |
CN104539977B (en) | Method for previewing and device is broadcast live | |
CN111181798B (en) | Network delay measuring method, device, electronic equipment and storage medium | |
US9124490B2 (en) | Consolidated performance metric analysis | |
KR20120072022A (en) | Virtual smarthome system, server, home gateway based on clouding computing and method thereof | |
US9923782B1 (en) | Computer network virtual entity pathway visualization system | |
CN110519183A (en) | A kind of method, apparatus, electronic equipment and the storage medium of node speed limit | |
CN110138610A (en) | A kind of sending method and device of service message | |
CN108390856B (en) | DDoS attack detection method and device and electronic equipment | |
WO2014114144A1 (en) | Method, server and terminal for information interaction | |
CN105791902B (en) | User's recommended method and device | |
US10552513B1 (en) | Computer system entity rendering system | |
CN112965879A (en) | Data processing method and device, electronic equipment and readable storage medium | |
CN108989881A (en) | A kind of main broadcaster's state determines method and device | |
CN108989101A (en) | A kind of log output system, method and electronic equipment | |
CN111177513A (en) | Method and device for determining abnormal access address, electronic equipment and storage medium | |
CN102780589A (en) | Static routing network delay variation test method based on virtual link | |
US10938771B2 (en) | Determining physical locations of devices in a data center | |
CN106330616A (en) | Method of realizing railway data business classification monitoring | |
CN109032693A (en) | Method and device for loading display information, electronic equipment and readable storage medium | |
US20240022507A1 (en) | Information flow recognition method, network chip, and network device | |
CN113824689B (en) | Edge computing network, data transmission method, device, equipment and storage medium | |
CN112771816B (en) | Method and device for predicting network rate | |
CN103338131A (en) | Method and equipment for testing log transmitting loss rate | |
US20140136647A1 (en) | Router and operating method thereof |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210526 Address after: 25, 5th floor, shuangjingfang office building, 3 frisha street, Singapore Applicant after: Zhuomi Private Ltd. Address before: Room 1101, Santai Commercial Building, 139 Connaught Road, Hong Kong, China Applicant before: HONG KONG LIVE.ME Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |