CN109101340B - Dynamic distribution method, device, equipment and storage medium of barrage message - Google Patents

Dynamic distribution method, device, equipment and storage medium of barrage message Download PDF

Info

Publication number
CN109101340B
CN109101340B CN201811086359.XA CN201811086359A CN109101340B CN 109101340 B CN109101340 B CN 109101340B CN 201811086359 A CN201811086359 A CN 201811086359A CN 109101340 B CN109101340 B CN 109101340B
Authority
CN
China
Prior art keywords
distribution
message
value
secondary distribution
bullet screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811086359.XA
Other languages
Chinese (zh)
Other versions
CN109101340A (en
Inventor
张磊
陈少杰
张文明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201811086359.XA priority Critical patent/CN109101340B/en
Publication of CN109101340A publication Critical patent/CN109101340A/en
Application granted granted Critical
Publication of CN109101340B publication Critical patent/CN109101340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a dynamic distribution method, a device, equipment and a storage medium of bullet screen messages. The method comprises the following steps: acquiring distribution pressure parameter values corresponding to each secondary distribution object, wherein the distribution pressure parameters comprise at least one of historical message bearing capacity, current residual message bearing rate, current CPU idle rate and current residual memory capacity; for each secondary distribution object, determining a message pressure-bearing value of the secondary distribution object according to a distribution pressure parameter value of the secondary distribution object and a parameter weight value of the distribution pressure parameter; and determining a target secondary distribution object according to the message pressure-bearing value corresponding to each secondary distribution object, and distributing the bullet screen message to the target secondary distribution object. By the technical scheme, the high-efficiency distribution of the bullet screen message is realized, and the fault tolerance of the bullet screen message distribution is improved.

Description

Dynamic distribution method, device, equipment and storage medium of barrage message
Technical Field
The embodiment of the invention relates to a barrage technology, in particular to a dynamic distribution method, a device, equipment and a storage medium of barrage messages.
Background
Barrage messages are heavily used in audio/video playing/live broadcasting application software. Generally, a bullet screen message is sent to application software by a server (i.e., a bullet screen server) for transmitting and processing the bullet screen message, and then a bullet screen distributing module having a function of distributing the bullet screen message in the application software distributes the received bullet screen message to each bullet screen receiving module.
When the amount of the bullet screen messages sent by the bullet screen server is very large, the distribution pressure of a single bullet screen distribution module is high, and the problem that the bullet screen messages are not distributed timely or even lost can occur. In this case, multiple levels of bullet screen distribution modules, such as a top bullet screen distribution module and multiple secondary bullet screen distribution modules, may be set inside the application software, where the top bullet screen distribution module distributes the received bullet screen message to each secondary bullet screen distribution module, and the secondary bullet screen distribution module distributes the bullet screen message to each bullet screen receiving module.
In the process, the top bullet screen distribution module randomly or sequentially distributes a bullet screen message to a certain secondary bullet screen distribution module. However, the processing time of each bullet screen message is unequal, so that the bullet screen message distribution speed of each secondary bullet screen distribution module is unequal, the distribution pressure of some secondary bullet screen distribution modules is larger, and other secondary bullet screen distribution modules are idle, and the bullet screen messages are not favorably distributed efficiently.
Disclosure of Invention
The embodiment of the invention provides a dynamic bullet screen message distribution method, a dynamic bullet screen message distribution device, equipment and a storage medium, so that the bullet screen messages are efficiently distributed, and the fault tolerance of bullet screen message distribution is improved.
In a first aspect, an embodiment of the present invention provides a dynamic delivery method for barrage messages, including:
acquiring distribution pressure parameter values corresponding to each secondary distribution object, wherein the distribution pressure parameters comprise at least one of historical message bearing capacity, current residual message bearing rate, current CPU idle rate and current residual memory capacity;
for each secondary distribution object, determining a message pressure-bearing value of the secondary distribution object according to a distribution pressure parameter value of the secondary distribution object and a parameter weight value of the distribution pressure parameter;
and determining a target secondary distribution object according to the message pressure-bearing value corresponding to each secondary distribution object, and distributing the bullet screen message to the target secondary distribution object.
In a second aspect, an embodiment of the present invention further provides a device for dynamically distributing a bullet screen message, where the device includes:
the parameter value acquisition module is used for acquiring distribution pressure parameter values corresponding to the secondary distribution objects, wherein the distribution pressure parameters comprise at least one of historical message bearing capacity, current residual message bearing rate, current CPU idle rate and current residual memory capacity;
the message pressure-bearing value determining module is used for determining the message pressure-bearing value of each secondary distribution object according to the distribution pressure parameter value of the secondary distribution object and the parameter weight value of the distribution pressure parameter;
and the bullet screen message distribution module is used for determining a target secondary distribution object according to each message pressure bearing value corresponding to each secondary distribution object and distributing bullet screen messages to the target secondary distribution object.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the dynamic delivery method of the bullet screen message provided by any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the dynamic distribution method for a bullet screen message provided in any embodiment of the present invention.
The embodiment of the invention realizes the high-efficiency distribution of the bullet screen message by setting a load balancing mechanism for the bullet screen message distribution between the top-level distribution object and the plurality of secondary distribution objects. Specifically, by obtaining the distribution pressure parameter value corresponding to each secondary distribution object, the necessary load calculation data is improved by realizing a load balancing mechanism for the top distribution object. The message pressure-bearing value of each secondary distribution object is determined according to the distribution pressure parameter value of the secondary distribution object and the parameter weight value of the distribution pressure parameter, so that the weighing standard value of the balanced load is more reasonably determined. The target secondary distribution object is determined according to the message bearing value corresponding to each secondary distribution object, and the bullet screen message is distributed to the target secondary distribution object, so that load balance in the bullet screen message distribution process is realized, and the bullet screen message distribution efficiency and the bullet screen message distribution fault tolerance are improved.
Drawings
Fig. 1 is a flowchart of a dynamic delivery method of a bullet screen message in an embodiment of the present invention;
fig. 2 is a flowchart of a dynamic delivery method of a bullet screen message in the second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a dynamic delivery apparatus for barrage messages in a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
The dynamic bullet screen message distribution method provided by the embodiment can be suitable for bullet screen message distribution in audio and video playing/live broadcast application software in an Android client, and is particularly suitable for cascading bullet screen message distribution when the number of bullet screen messages is large. The method can be executed by a dynamic delivery device of the bullet screen message, the device can be realized in a software and/or hardware mode, and the device can be integrated in equipment provided with audio/video playing/live broadcasting application software based on an Android system, for example, typical user terminal equipment such as a mobile phone, a tablet personal computer or a smart television is provided. The execution main body in the embodiment of the invention is a top-level distribution object, and mainly explains the load balancing process of the top-level distribution object. Referring to fig. 1, the method of the present embodiment specifically includes the following steps:
and S110, acquiring the distribution pressure parameter value corresponding to each secondary distribution object.
The secondary distribution object refers to an instantiation object of a bullet screen distribution class of the next level for performing distribution processing on bullet screen messages. The top-level distribution object is arranged opposite to the secondary distribution object, and is an instantiation object of the bullet screen distribution class of the upper level for performing distribution processing on the bullet screen message. The distribution pressure parameter refers to a parameter capable of characterizing the bullet screen message distribution pressure/load of the secondary distribution object. The dispense pressure parameter value refers to a value of a dispense pressure parameter.
Specifically, to implement load balancing in the bullet screen message distribution process, the top-level distribution object needs to first obtain the distribution pressure parameter values of each secondary distribution object that needs to receive bullet screen messages. In practical application, the process of obtaining the distribution pressure parameter value may be establishing a communication channel between the top-level distribution object and each of the secondary distribution objects, so that each of the secondary distribution objects reports the distribution pressure parameter value thereof or the top-level distribution object reads the distribution pressure parameter value thereof from each of the secondary distribution objects; or, a system communication channel in the Android system, such as a system broadcast channel or a third-party open source event bus EventBus, may be utilized to allow each secondary distribution object to deliver its distribution pressure parameter value to the system communication channel, and the top-level distribution object receives the distribution pressure parameter value of each secondary distribution object from the system communication channel.
Illustratively, the distribution pressure parameter includes at least one of a historical message carrying capacity, a current remaining message carrying rate, a current CPU idle rate, and a current remaining memory capacity. The message carrying capacity refers to the number of bullet screen messages (i.e. bullet screen messages to be distributed) which are stored by the secondary distribution object and are to be distributed to each bullet screen receiving object. The historical message carrying capacity refers to the message carrying capacity of the secondary distribution object in the bullet screen message distribution process before the operation, and may be a maximum value or an average value of the message carrying capacity in a set time period, and is preferably the average value, so as to more reasonably reflect the distribution capacity of the secondary distribution object. The message carrying rate refers to a percentage value of the message carrying capacity of the secondary distribution object to the maximum message carrying capacity (i.e. the total message carrying capacity) that the secondary distribution object can carry. The current remaining message carrying rate refers to a percentage value of the remaining amount of the message carrying capacity of the secondary distribution object at the current moment to the total message carrying amount. The current CPU idle rate refers to the system CPU idle rate of the Android client at the current moment. The current residual memory capacity refers to the residual capacity of the system memory of the Android client at the current moment. The advantage of this arrangement is that the load situation of the secondary distribution object can be reflected from at least one perspective.
And S120, determining the message pressure bearing value of each secondary distribution object according to the distribution pressure parameter value of the secondary distribution object and the parameter weight value of the distribution pressure parameter.
The parameter weight value is a value of a proportion of the distribution pressure parameter when determining the message pressure bearing value, and is a value less than or equal to 1. The message pressure-bearing value is an estimated value of the bullet screen message distribution pressure which can be borne by the secondary distribution object currently, and the larger the value is, the larger the number of bullet screen messages to be distributed which can still be received by the secondary distribution object at the current moment is.
Specifically, after the top-level distribution object obtains the distribution pressure parameter value of the secondary-level distribution object, the sum of products (i.e., the cumulative sum of products) of the distribution pressure parameter value and the corresponding parameter weight value can be calculated, so as to obtain the corresponding message pressure-bearing value. For each secondary distribution object, the top distribution object executes the solving process of the message pressure bearing value, and a plurality of message pressure bearing values of a plurality of secondary distribution objects can be obtained.
Illustratively, when the distribution pressure parameter includes a current remaining message bearer rate, a current CPU idle rate, and a current remaining memory capacity, the parameter weight value includes a bearer rate weight value, a CPU weight value, and a memory weight value; determining the message pressure-bearing value of the secondary distribution object according to the distribution pressure parameter value of the secondary distribution object and the parameter weight value of the distribution pressure parameter comprises: and determining the product cumulative sum as the message pressure-bearing value of the secondary distribution object according to the current residual message load rate and load rate weight value, the current CPU idle rate and CPU weight value, and the current residual memory capacity and memory weight value.
Specifically, the distribution pressure parameters of the secondary distribution object are set to be the current remaining message carrying rate, the current CPU idle rate and the current remaining memory capacity, so as to more accurately, comprehensively and real-timely represent the load condition of the secondary distribution object. The parameter weight values correspond to a load factor weight value, a CPU weight value, and a memory weight value, respectively. In this case, the message bearing value is: the message pressure bearing value is the current residual message bearing rate weight value + the current CPU idle rate CPU weight value + the current residual memory capacity memory weight value. The three types of parameter weight values can be fixed values set empirically in advance, or can be dynamically set according to the actual conditions of the Android client.
Illustratively, when the parameter weight value is a preset fixed value, the load factor weight value, the CPU weight value and the memory weight value are respectively a first preset weight value, a second preset weight value and a third preset weight value.
Specifically, since the current remaining message bearer rate is a parameter value for the secondary distribution object alone, which can most intuitively reflect the load condition of the secondary distribution object, the first preset weight value (bearer rate weight value) may be set to a larger value, such as 1. The current CPU idle rate and the current remaining memory capacity are real-time system information of the entire Android client, and both of them can indirectly reflect the load condition of the secondary distribution object, and in consideration of the difference between the consumption demand of the CPU and the consumption demand of the memory for different bullet screen messages, a second preset weight value (CPU weight value) and a third preset weight value (memory weight value) can be statistically determined according to the consumption demands of a plurality of bullet screen messages, and if both are set to 0.5. Thus, the calculation formula of the message carrying capacity result can be: result ═ 1 × danmuAllow +0.5 × cpuAvai +0.5 × memAvai, where danmuAllow, cpuAvai, and memAvai are the current remaining message carrying rate, current CPU idle rate, and current remaining memory capacity, respectively.
Illustratively, when the parameter weight value is a dynamically set numerical value, the CPU weight value and the memory weight value are determined according to the message type of the bullet screen message.
Specifically, when the parameter weight value is a dynamically set numerical value, the CPU weight value and the memory weight value may be determined according to the message type of the bullet screen message to be distributed each time, and the sum of the CPU weight value and the memory weight value is 1. For example, for a first barrage message, which is a service logic processing barrage-like message, the consumption demand of the first barrage message on the CPU is high, and the consumption demand on the memory is low, the CPU weight value and the memory weight value may be set to 0.8 and 0.2, respectively; for the second barrage message, which is a display processing type barrage message, the consumption demand of the second barrage message on the CPU is low, and the consumption demand on the memory is high, and the CPU weight value and the memory weight value may be set to 0.3 and 0.7, respectively. While the setting of the bearer rate weight value may still maintain an empirically set fixed value. At this time, the calculation formula of the message carrying capacity result may be: result ═ 1 × danmuAllow + x × cpuAvai + (1-x) × memAvai, where x and (1-x) are the CPU weight value and the memory weight value, respectively, and x is 0.8 for the first barrage message; for the second barrage message, x is 0.3. The setting can make the message pressure-bearing value of calculation have bullet screen message pertinence more to select target secondary distribution object more rationally.
S130, determining a target secondary distribution object according to each message pressure bearing value corresponding to each secondary distribution object, and distributing the bullet screen message to the target secondary distribution object.
The target secondary distribution object is a target object to be distributed by the bullet screen message, and is a secondary distribution object obtained after the top distribution object is subjected to load balancing.
Specifically, the top-level distribution object determines a maximum message pressure-bearing value from each message pressure-bearing value, and determines a secondary distribution object corresponding to the maximum message pressure-bearing value as a target secondary distribution object. And then, the top-level distribution object distributes the barrage message to the target secondary distribution object through a direct communication channel established between the top-level distribution object and the target secondary distribution object.
The direct communication channel is pre-established in the following way: a bullet screen distribution protocol public interface image { } containing an interface type of a bullet screen distribution function public void OnMessage (Message) is predefined, and a secondary distribution class inherits the bullet screen distribution protocol. Then, when each secondary distribution object is created, each secondary distribution object is generated by calling the constructor instantiation of the secondary distribution class, and the secondary distribution object is also a protocol distribution object and contains a bullet screen distribution function OnMessage as a callback function. After each secondary distribution object is created, the secondary distribution objects are registered to the top-level distribution object, so that the top-level distribution object holds the reference relationship of each secondary distribution object, and the direct expression communication channel is constructed. Then, the process of distributing the barrage message by the top-level distribution object is as follows: and the top-level distribution object takes the bullet screen message as a function input parameter, calls the bullet screen distribution function in the target secondary distribution object held by the top-level distribution object, and transmits the bullet screen message to the target secondary distribution object. It should be noted that the input parameter Message of the bullet screen distribution function is only an abstract representation, and it can be specifically set according to the data format or application requirement of the bullet screen Message.
Exemplarily, determining the target secondary distribution object according to each message pressure-bearing value corresponding to each secondary distribution object includes: storing the bearing value of each message to a bearing value array according to the storage sequence of each secondary distribution object in the distribution object array; determining a maximum message bearing value and an array index of the maximum message bearing value in a bearing value array according to the bearing value array; and determining a secondary distribution object corresponding to the array index from the distribution object array as a target secondary distribution object. The secondary distribution object and the message bearing value thereof are respectively maintained through the two arrays with the one-to-one correspondence relationship among the elements, and the system memory can be effectively saved.
Exemplarily, determining the target secondary distribution object according to each message pressure-bearing value corresponding to each secondary distribution object includes: for any secondary distribution object, according to the object identifier and the message bearing value of the secondary distribution object, calling an element insertion function put (object identifier, message bearing value) of a bearing value map set, and storing the message bearing value of the secondary distribution object to the bearing value map set; determining the maximum message bearing value according to each bearing value map value in the bearing value map set; taking the maximum message bearing value as a function input parameter, calling a key acquisition function getKey (value) of a bearing value map set to acquire a bearing value map key corresponding to the maximum message bearing value; and taking the bearing value map key as a function input parameter, calling a value acquisition function getvalue (key) of the distribution object map set, and acquiring a secondary distribution object corresponding to the bearing value map key in the distribution object map set as a target secondary distribution object, wherein the object identifier is taken as a key in the distribution object map set, and the secondary distribution object corresponding to the object identifier is taken as a value. The secondary distribution objects and the message bearing values thereof are respectively maintained through the map sets with the consistent map keys, and the secondary distribution objects and the message bearing values thereof can be efficiently managed, so that the load balancing efficiency of the top distribution object for distributing the bullet screen messages is improved.
According to the technical scheme of the embodiment, the necessary load calculation data is improved by obtaining the distribution pressure parameter value corresponding to each secondary distribution object and realizing a load balancing mechanism for the top distribution object. The message pressure-bearing value of each secondary distribution object is determined according to the distribution pressure parameter value of the secondary distribution object and the parameter weight value of the distribution pressure parameter, so that the weighing standard value of the balanced load is more reasonably determined. The target secondary distribution object is determined according to the message bearing value corresponding to each secondary distribution object, and the bullet screen message is distributed to the target secondary distribution object, so that load balance in the bullet screen message distribution process is realized, and the bullet screen message distribution efficiency and the bullet screen message distribution fault tolerance are improved.
Example two
In this embodiment, based on the first embodiment, the "obtaining of the distribution pressure parameter value corresponding to each secondary distribution object" is further optimized. Wherein explanations of the same or corresponding terms as those of the above embodiments are omitted. Referring to fig. 2, the dynamic distribution method of the bullet screen message provided in this embodiment includes:
s210, acquiring the serialized objects corresponding to the secondary distribution objects.
The serialized object is an object that stores serialized data.
Specifically, in order to facilitate the top-level distribution object to obtain the distribution pressure parameter value transmitted by the secondary distribution object, in this embodiment, the secondary distribution object packages the obtained distribution pressure parameter value into an object, and performs a serialization operation on the object, so as to generate a serialized object mSecondResponseStr. Therefore, the top-level distribution object can obtain the distribution pressure parameter value of the secondary distribution object by obtaining the serialized object of the secondary distribution object, and the efficiency of obtaining the distribution pressure parameter value of each secondary distribution object by the top-level distribution object is improved.
It should be noted that the secondary distribution object obtains the value of the distribution pressure parameter in a manner related to the distribution pressure parameter. For example, if the distribution pressure parameter is the historical message bearing capacity and/or the current remaining message bearing rate, the distribution pressure parameter can be obtained by reading log data of the system; for example, if the distribution pressure parameter is the current CPU idle rate and/or the current remaining memory capacity, the distribution pressure parameter may be obtained by reading the system operation state parameter.
Exemplarily, S210 includes: for any secondary distribution object, when the data type of the event object in the event bus is consistent with the data type of the function input parameter of the event message receiving function in the top distribution object, obtaining the event object of the secondary distribution object by calling the event message receiving function as a serialization object corresponding to the secondary distribution object; the event object is a secondary distribution object and is issued to an event bus by calling an event message delivery function through a first event bus object; the top-level distribution object is registered in the event bus in advance by calling a registration function through the second event bus object in the constructor of the top-level distribution class.
The event bus object is an object generated by a third-party open source event bus EventBus, and is an actual executor for realizing the delivery or the reception of the event message. The first event bus object is an event bus object generated in a module to which the secondary distribution object belongs, and the second event bus object is an event bus object generated in a module to which the top distribution object belongs. The event message delivery function is a function in the first event bus object that is used to deliver the event object into the event bus.
Specifically, in order to simplify the communication manner between the secondary distribution object and the top distribution object, improve the communication efficiency between the secondary distribution object and the top distribution object, and reduce the coupling between the secondary distribution object and the top distribution object, in this embodiment, the third-party open source event bus EventBus is used to achieve the acquisition of the distribution pressure parameter value by the top distribution object.
Before performing this operation, each secondary distribution object should have serialized the object encapsulating its distribution pressure parameter value into one serialized object and stored the serialized object into the event object. In addition, each secondary distribution object should pre-generate a first event bus object, mEvenBus1, using the object creation function getdefuaalt in the event bus EventBus. Thereafter, each secondary distribution object issues the above obtained event object into the event bus by calling the event message post () through the first event bus object mEvenBus 1.
On the other hand, if the top-level distribution object is to receive an event message from the event bus EventBus, the top-level distribution object should be registered in the event bus in advance. The registration process is as follows: in the constructor of the top-level distribution class topdemanmanager, a second event bus object mEvenBus2 is generated by calling the object creation function getDefualt in the event bus class EventBus. Thereafter, the top-level distribution object mtopdanmnanager created by instantiation is registered into the event bus EventBus by calling the registration function register (this) in the second event bus object mEvenBus 2. The benefit of placing the registration process in the constructor of the top-level distribution class is to avoid repeated registrations of top-level distribution objects. Similarly, a cancellation function unregister (this) in the second event bus object mEvenBus2 is called in the destruction function onDestory of the top-level distribution class topdemanmanager to register the event bus EventBus back, so that the event message in the event bus is not monitored any more when the top-level distribution class topdemanmanager is destroyed. In addition, a public type is also predefined in the top-level distribution class, an event message receiving function with a returned value of void and a function name of onEventMainThread is also required, and an input parameter of the function is set as a parameter with a unique data type of an event object data type notifiationseconconstrestr, which indicates that the registered top-level distribution object can receive a message with a data type notifiationseconconstrestr.
After all the above operations are completed, the top-level distribution object mtopdannmanager can monitor the event message in the event bus. In particular, the event bus compares the data type of the event object issued by each secondary distribution object with the data type of the function input parameter of the event message receiving function in the top distribution object. When the comparison result is consistent, the event object issued by the secondary distribution object is sent to the event message receiving function. And the top-level distribution object obtains the event object mNotificationsResponseResponseStrr through the event message receiving function oneventMainThread (mNotificationsSecondedResponseStrr). The implementation process inside the event message receiving function is as follows: the function input parameter is assigned to a global variable mnotificationsecontres defined within the top level distribution object by calling this. Since the event object stores the serialized objects, the top level distribution object obtains the serialized objects of the secondary distribution objects.
S220, for any serialized object, the types of the serialized object and a pre-constructed feedback object class are used as function input parameters, an object deserialization function is called, and a distribution pressure parameter value of a current secondary distribution object corresponding to the serialized object is obtained.
Specifically, in order to obtain the distribution pressure parameter value of the secondary distribution object, the serialization operation needs to be performed on each of the obtained serialization objects. Before deserializing operation, an information feedback class SecondResponse capable of storing each distribution pressure parameter value is predefined, each distribution pressure parameter field is defined in the class, and a corresponding field value storage function set and a field value reading function get are set for each distribution pressure parameter, wherein the 'x' represents the corresponding field. If a CPU field storage function setAvaiCpu () and a CPU field reading function getAvaiCpu () are set for the current CPU idle rate cpuAvai field, a corresponding field value storage function and field value reading function are also set for the history message carrying capacity, the current remaining message carrying rate, and the current remaining memory capacity.
In specific implementation, the top-level distribution object uses a serialization object mnotification second response estr and a feedback object class type second response class as function input parameters, calls an object deserialization function parseObject (mnotification second response estr, second response class) with a static identifier static in a JavaScript object notation (JSON) class provided in Java language, and obtains a deserialization result of a serialization object. The first function input parameter of the object deserializing function represents an object to be resolved, the second function input parameter represents the type of a class to be resolved, and a field value storage function set and a field value reading function get in the feedback object are automatically called in the function. The deserialization result is a feedback object mseconddresponse of a feedback object class SecondResponse type, and the feedback object is filled with the corresponding distribution pressure parameter value, so as to obtain the distribution pressure parameter value of the current secondary distribution object corresponding to the serialization object as the input parameter. The above objects are deserialized. By performing the above operations for each serialized object, the values of the distribution pressure parameters for the respective secondary distribution objects can be obtained.
The object deserialization process in this embodiment adopts a more general JSON format in Java language, and when data formats of other character string types are adopted, the corresponding object deserialization function needs to be adopted.
Exemplarily, if the class types of the serialized object and the pre-constructed feedback object are used as function input parameters, an object deserialization function is called, and a result of obtaining a distribution pressure parameter value of the current secondary distribution object corresponding to the serialized object is abnormal, the distribution pressure parameter value is set as a default parameter value, or a message is reported to the feedback data of the current secondary distribution object.
Specifically, in order to improve the fault tolerance of the program, in this embodiment, the object deserialization operation is set in a try structure in a try-catch structure of the fault-tolerant processing code block, and when the result of the object deserialization operation is abnormal, for example, when the object deserialization function returns a return value indicating an operation abnormality, the exception handling code segment in the catch structure is executed. The exception handling mode may be setting a distribution pressure parameter value of the currently processed serialized object as a default parameter value, or feeding back a data report message to the current secondary distribution object through a direct communication channel for bullet screen message distribution, so that the current secondary distribution object reissues the event object. After that, the deserialization operation of the next serialized object is performed.
And S230, aiming at each secondary distribution object, determining the message pressure bearing value of the secondary distribution object according to the distribution pressure parameter value of the secondary distribution object and the parameter weight value of the distribution pressure parameter.
S240, determining a target secondary distribution object according to each message pressure-bearing value corresponding to each secondary distribution object, and distributing the bullet screen message to the target secondary distribution object.
According to the technical scheme of the embodiment, the serialization object in the JSON data format is used for bearing the distribution pressure parameters of the secondary distribution objects, and the object deserialization function corresponding to the JSON data format is used for carrying out serialization processing, so that the efficiency of acquiring the load data of each secondary distribution object by the top distribution object can be further improved, and the efficiency of bullet screen message distribution is further improved.
The following is an embodiment of a dynamic delivery apparatus of a bullet screen message according to an embodiment of the present invention, which belongs to the same inventive concept as the dynamic delivery method of bullet screen messages according to the above embodiments, and reference may be made to the embodiment of the dynamic delivery method of bullet screen messages, for details that are not described in detail in the embodiment of the dynamic delivery apparatus of bullet screen messages.
EXAMPLE III
The present embodiment provides a dynamic distribution apparatus of bullet screen messages, referring to fig. 3, the apparatus specifically includes:
a parameter value obtaining module 310, configured to obtain a distribution pressure parameter value corresponding to each secondary distribution object, where the distribution pressure parameter includes at least one of a history message carrying capacity, a current remaining message carrying rate, a current CPU idle rate, and a current remaining memory capacity;
the message pressure-bearing value determining module 320 is configured to determine, for each secondary distribution object, a message pressure-bearing value of the secondary distribution object according to a distribution pressure parameter value of the secondary distribution object and a parameter weight value of the distribution pressure parameter;
and the bullet screen message distribution module 330 is configured to determine a target secondary distribution object according to each message pressure-bearing value corresponding to each secondary distribution object, and distribute the bullet screen message to the target secondary distribution object.
Optionally, the parameter value obtaining module 310 includes:
a serialized object acquisition sub-module for acquiring serialized objects corresponding to the respective secondary distribution objects;
and the parameter value acquisition sub-module is used for calling an object deserialization function by taking the types of the serialized objects and the pre-constructed feedback object classes as function input parameters for any serialized object to obtain the distribution pressure parameter value of the current secondary distribution object corresponding to the serialized object.
Further, the serialized object acquisition sub-module is specifically configured to:
for any secondary distribution object, when the data type of the event object in the event bus is consistent with the data type of the function input parameter of the event message receiving function in the top distribution object, obtaining the event object of the secondary distribution object by calling the event message receiving function as a serialization object corresponding to the secondary distribution object;
the event object is a secondary distribution object and is issued to an event bus by calling an event message delivery function through a first event bus object; the top-level distribution object is registered in the event bus in advance by calling a registration function through the second event bus object in the constructor of the top-level distribution class.
Optionally, on the basis of the foregoing apparatus, the apparatus further includes an exception handling module, configured to:
and if the class types of the serialized object and the pre-constructed feedback object are used as function input parameters, calling an object deserialization function, and obtaining the result abnormality of the distribution pressure parameter value of the current secondary distribution object corresponding to the serialized object, setting the distribution pressure parameter value as a default parameter value, or reporting a message to the feedback data of the current secondary distribution object.
Optionally, when the distribution pressure parameter includes a current remaining message bearing rate, a current CPU idle rate, and a current remaining memory capacity, the parameter weight value includes a bearing rate weight value, a CPU weight value, and a memory weight value;
correspondingly, the message pressure-bearing value determining module 320 is specifically configured to:
and determining the product cumulative sum as the message pressure-bearing value of the secondary distribution object according to the current residual message load rate and load rate weight value, the current CPU idle rate and CPU weight value, and the current residual memory capacity and memory weight value.
When the parameter weight value is a preset fixed value, the load rate weight value, the CPU weight value and the memory weight value are respectively a first preset weight value, a second preset weight value and a third preset weight value.
Alternatively, when the parameter weight value is a dynamically set value, the CPU weight value and the memory weight value are determined according to the message type of the bullet screen message.
By the dynamic bullet screen message distribution device, the bullet screen messages are efficiently distributed, and the fault tolerance of bullet screen message distribution is improved.
The dynamic delivery device of the bullet screen message provided by the embodiment of the invention can execute the dynamic delivery method of the bullet screen message provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the dynamic delivery apparatus for barrage messages, each unit and each module included in the embodiment are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Example four
Referring to fig. 4, the present embodiment provides an apparatus 400 comprising: one or more processors 420; the storage device 410 is configured to store one or more programs, and when the one or more programs are executed by the one or more processors 420, the one or more processors 420 implement the dynamic delivery method for a bullet screen message provided in the embodiment of the present invention, including:
acquiring distribution pressure parameter values corresponding to each secondary distribution object, wherein the distribution pressure parameters comprise at least one of historical message bearing capacity, current residual message bearing rate, current CPU idle rate and current residual memory capacity;
for each secondary distribution object, determining the message pressure-bearing value of the secondary distribution object according to the distribution pressure parameter value of the secondary distribution object and the parameter weight value of the distribution pressure parameter;
and determining a target secondary distribution object according to each message pressure-bearing value corresponding to each secondary distribution object, and distributing the bullet screen message to the target secondary distribution object.
Of course, those skilled in the art can understand that the processor 420 can also implement the technical solution of the dynamic distribution method of the bullet screen message provided by any embodiment of the present invention.
The apparatus 400 shown in fig. 4 is only an example and should not bring any limitations to the functionality or scope of use of the embodiments of the present invention. As shown in fig. 4, the apparatus 400 includes a processor 420, a storage device 410, an input device 430, and an output device 440; the number of the processors 420 in the device may be one or more, and one processor 420 is taken as an example in fig. 4; the processor 420, the storage device 410, the input device 430 and the output device 440 of the apparatus may be connected by a bus or other means, for example, the bus 450 in fig. 4.
The storage device 410 is a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the dynamic delivery method of the bullet-screen message in the embodiment of the present invention (for example, a parameter value obtaining module, a message pressure value determining module, and a bullet-screen message delivery module in the dynamic delivery device of the bullet-screen message).
The storage device 410 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 410 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 410 may further include memory located remotely from the processor 420, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the apparatus. The output device 440 may include a display device such as a display screen.
EXAMPLE five
The present embodiments provide a storage medium containing computer-executable instructions which, when executed by a computer processor, perform a method for dynamic distribution of bullet screen messages, the method comprising:
acquiring distribution pressure parameter values corresponding to each secondary distribution object, wherein the distribution pressure parameters comprise at least one of historical message bearing capacity, current residual message bearing rate, current CPU idle rate and current residual memory capacity;
for each secondary distribution object, determining the message pressure-bearing value of the secondary distribution object according to the distribution pressure parameter value of the secondary distribution object and the parameter weight value of the distribution pressure parameter;
and determining a target secondary distribution object according to each message pressure-bearing value corresponding to each secondary distribution object, and distributing the bullet screen message to the target secondary distribution object.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the dynamic delivery method of the bullet screen message provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solution of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, where the computer software product may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the dynamic delivery method of the bullet screen message provided by the embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A dynamic distribution method of barrage messages is characterized by comprising the following steps:
acquiring distribution pressure parameter values corresponding to each secondary distribution object, wherein the distribution pressure parameters comprise the current CPU idle rate and the current residual memory capacity, and the distribution pressure parameters also comprise historical message bearing capacity or the current residual message bearing rate;
wherein the obtaining of the distribution pressure parameter value corresponding to each secondary distribution object comprises:
acquiring serialized objects corresponding to the secondary distribution objects;
wherein the obtaining of the serialized objects corresponding to the respective secondary distribution objects comprises:
packaging the distribution pressure parameter values into the objects according to the distribution pressure parameter values corresponding to the secondary objects, and performing serialization operation on the objects to generate serialized objects corresponding to the secondary distribution objects;
for any secondary distribution object, when the data type of the event object in the event bus is consistent with the data type of the function input parameter of the event message receiving function in the top distribution object, obtaining the event object of the secondary distribution object by calling the event message receiving function as a serialized object corresponding to the secondary distribution object;
the event object is issued to the secondary distribution object through a first event bus object calling an event message delivery function to the event bus; the top-level distribution object calls a registration function in a constructor of a top-level distribution class through a second event bus object to register in the event bus in advance; the event bus object is an object generated by a third-party open source event bus;
for any serialized object, taking the types of the serialized object and a pre-constructed feedback object class as function input parameters, calling an object deserialization function, and obtaining a distribution pressure parameter value of a current secondary distribution object corresponding to the serialized object;
for each secondary distribution object, determining a message pressure-bearing value of the secondary distribution object according to a distribution pressure parameter value of the secondary distribution object and a parameter weight value of the distribution pressure parameter;
determining a target secondary distribution object according to each message pressure-bearing value corresponding to each secondary distribution object, and distributing a bullet screen message to the target secondary distribution object, so that the target secondary distribution object distributes the bullet screen message to a corresponding bullet screen receiving module, wherein the bullet screen message is issued by a bullet screen server;
the top-level distribution object takes the type of a serialization object and a feedback object class as function input parameters, and calls an object deserialization function with a static identifier in a JavaScript object notation JSON provided in Java language to obtain a deserialization result of a serialization object; the first function input parameter of the object deserialization function represents an object to be parsed, the second function input parameter represents a type of a class to be parsed, and a field value storage function set and a field value reading function get in a feedback object are automatically called in the function, so that the deserialization result is a feedback object mSecondResponse of a feedback object class SecondResponse type, and the feedback object is filled with a corresponding distribution pressure parameter value, so that a distribution pressure parameter value of a current secondary distribution object corresponding to the serialization object as the input parameter is obtained, and the operation is executed for each serialization object, so that the distribution pressure parameter value of each secondary distribution object is obtained.
2. The method of claim 1, further comprising:
if the types of the serialized objects and the pre-constructed feedback object classes are used as function input parameters, object deserialization functions are called, the result of obtaining the distribution pressure parameter values of the current secondary distribution objects corresponding to the serialized objects is abnormal, the distribution pressure parameter values are set as default parameter values, or data feedback information is reported to the current secondary distribution objects.
3. The method of claim 1, wherein when the distribution pressure parameter comprises the current remaining message bearer rate, the current CPU idle rate, and the current remaining memory capacity, the parameter weight value comprises a bearer rate weight value, a CPU weight value, and a memory weight value;
determining the message pressure-bearing value of the secondary distribution object according to the distribution pressure parameter value of the secondary distribution object and the parameter weight value of the distribution pressure parameter comprises:
and determining the product accumulated sum as the message pressure bearing value of the secondary distribution object according to the current residual message bearing rate and the bearing rate weight value, the current CPU idle rate and the CPU weight value, and the current residual memory capacity and the memory weight value.
4. The method according to claim 3, wherein when the parameter weight value is a preset fixed value, the load factor weight value, the CPU weight value and the memory weight value are respectively a first preset weight value, a second preset weight value and a third preset weight value.
5. The method of claim 3, wherein when the parameter weight value is a dynamically set value, the CPU weight value and the memory weight value are determined according to a message type of the bullet screen message.
6. An apparatus for dynamically distributing barrage messages, comprising:
a parameter value obtaining module, configured to obtain a distribution pressure parameter value corresponding to each secondary distribution object, where the distribution pressure parameter includes a current CPU idle rate and a current remaining memory capacity, and the distribution pressure parameter further includes a history message carrying capacity or a current remaining message carrying rate;
wherein the parameter value obtaining module comprises:
a serialized object acquisition sub-module for acquiring serialized objects corresponding to the respective secondary distribution objects;
the parameter value acquisition sub-module is used for calling an object deserialization function by taking the types of the serialized objects and the pre-constructed feedback object classes as function input parameters for any serialized object to obtain a distribution pressure parameter value of a current secondary distribution object corresponding to the serialized object;
wherein the serialized object acquisition sub-module is specifically configured to:
packaging the distribution pressure parameter values into the objects according to the distribution pressure parameter values corresponding to the secondary objects, and performing serialization operation on the objects to generate serialized objects corresponding to the secondary distribution objects;
for any secondary distribution object, when the data type of the event object in the event bus is consistent with the data type of the function input parameter of the event message receiving function in the top distribution object, obtaining the event object of the secondary distribution object by calling the event message receiving function as a serialized object corresponding to the secondary distribution object;
the event object is issued to the secondary distribution object through a first event bus object calling an event message delivery function to the event bus; the top-level distribution object calls a registration function in a constructor of a top-level distribution class through a second event bus object to register in the event bus in advance; the event bus object is an object generated by a third-party open source event bus;
the message pressure-bearing value determining module is used for determining the message pressure-bearing value of each secondary distribution object according to the distribution pressure parameter value of the secondary distribution object and the parameter weight value of the distribution pressure parameter;
the bullet screen message distribution module is used for determining a target secondary distribution object according to each message pressure bearing value corresponding to each secondary distribution object and distributing bullet screen messages to the target secondary distribution object, so that the target secondary distribution object distributes the bullet screen messages to the corresponding bullet screen receiving module, and the bullet screen messages are issued by a bullet screen server;
the top-level distribution object takes the type of a serialization object and a feedback object class as function input parameters, and calls an object deserialization function with a static identifier in a JavaScript object notation JSON provided in Java language to obtain a deserialization result of a serialization object; the first function input parameter of the object deserialization function represents an object to be parsed, the second function input parameter represents a type of a class to be parsed, and a field value storage function set and a field value reading function get in a feedback object are automatically called in the function, so that the deserialization result is a feedback object mSecondResponse of a feedback object class SecondResponse type, and the feedback object is filled with a corresponding distribution pressure parameter value, so that a distribution pressure parameter value of a current secondary distribution object corresponding to the serialization object as the input parameter is obtained, and the operation is executed for each serialization object, so that the distribution pressure parameter value of each secondary distribution object is obtained.
7. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method for dynamic distribution of bullet screen messages as recited in any of claims 1-5.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for dynamic distribution of a bullet screen message according to any one of claims 1 to 5.
CN201811086359.XA 2018-09-18 2018-09-18 Dynamic distribution method, device, equipment and storage medium of barrage message Active CN109101340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811086359.XA CN109101340B (en) 2018-09-18 2018-09-18 Dynamic distribution method, device, equipment and storage medium of barrage message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811086359.XA CN109101340B (en) 2018-09-18 2018-09-18 Dynamic distribution method, device, equipment and storage medium of barrage message

Publications (2)

Publication Number Publication Date
CN109101340A CN109101340A (en) 2018-12-28
CN109101340B true CN109101340B (en) 2021-11-26

Family

ID=64866582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811086359.XA Active CN109101340B (en) 2018-09-18 2018-09-18 Dynamic distribution method, device, equipment and storage medium of barrage message

Country Status (1)

Country Link
CN (1) CN109101340B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11436653B1 (en) * 2019-09-26 2022-09-06 Amazon Technologies, Inc. Hybrid system event processing
CN113254838B (en) * 2021-06-18 2021-10-01 每日互动股份有限公司 Message distribution method based on mesh cascade, electronic equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902587A (en) * 2011-07-28 2013-01-30 中国移动通信集团四川有限公司 Distribution type task scheduling method, distribution type task scheduling system and distribution type task scheduling device
CN103605568A (en) * 2013-10-29 2014-02-26 北京奇虎科技有限公司 Multithread management method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465796B (en) * 2007-12-19 2012-10-31 中国移动通信集团公司 Method, device and system for collecting and distributing P2P system metadata
CN103856353B (en) * 2014-03-06 2018-01-26 上海爱数信息技术股份有限公司 A kind of business diary data access and the method and device of statistical analysis
CN104360904A (en) * 2014-10-16 2015-02-18 四川长虹电器股份有限公司 Intermodular message transmission mechanism based on event bus
CN105912399B (en) * 2016-04-05 2020-02-07 杭州嘉楠耘智信息科技有限公司 Task processing method, device and system
US10581960B2 (en) * 2016-12-22 2020-03-03 Nicira, Inc. Performing context-rich attribute-based load balancing on a host
CN106993234A (en) * 2017-03-22 2017-07-28 北京潘达互娱科技有限公司 Barrage display methods and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902587A (en) * 2011-07-28 2013-01-30 中国移动通信集团四川有限公司 Distribution type task scheduling method, distribution type task scheduling system and distribution type task scheduling device
CN103605568A (en) * 2013-10-29 2014-02-26 北京奇虎科技有限公司 Multithread management method and device

Also Published As

Publication number Publication date
CN109101340A (en) 2018-12-28

Similar Documents

Publication Publication Date Title
CN107241281B (en) Data processing method and device
CN110278161B (en) Message distribution method, device and system based on user mode protocol stack
CN110633442A (en) Pushing method and device and electronic equipment
CN109542718B (en) Service call monitoring method and device, storage medium and server
CN111770029B (en) Dynamic queue forwarding method, system and storage medium based on RabbitMQ and ActiveMQ
CN109101340B (en) Dynamic distribution method, device, equipment and storage medium of barrage message
WO2021159831A1 (en) Programming platform user code running method, platform, node, device and medium
CN108900627B (en) Network request method, terminal device and storage medium
CN112363834A (en) Task processing method, device, terminal and storage medium
CN111538572A (en) Task processing method, device, scheduling server and medium
CN109462646B (en) Abnormal response method and equipment
CN109062650B (en) Bullet screen message distribution method, device, equipment and storage medium
CN101467132A (en) Method and system for distributing data processing units in a communication network
CN109089163B (en) Bullet screen message distribution method, device, equipment and storage medium
CN109525443B (en) processing method and device for distributed pre-acquisition communication link and computer equipment
CN108810645B (en) Bullet screen message distribution method, device, equipment and storage medium
CN117032987A (en) Distributed task scheduling method, system, equipment and computer readable medium
CN111427674A (en) Micro-service management method, device and system
CN109274988B (en) Bullet screen message distribution method, device, equipment and storage medium
CN115220993B (en) Process monitoring method and device, vehicle and storage medium
CN110609758A (en) Queue-based device operating method, computer device and readable storage medium
CN109361953B (en) Dynamic distribution method, device, equipment and storage medium of barrage message
CN108810644B (en) Bullet screen message distribution method, device, equipment and storage medium
US20200245106A1 (en) Message shunting method, device and system based on user mode protocol stack
CN112445597A (en) Timing task scheduling method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant