CN109005468A - Barrage message distributing method, device, equipment and storage medium - Google Patents
Barrage message distributing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109005468A CN109005468A CN201810711925.5A CN201810711925A CN109005468A CN 109005468 A CN109005468 A CN 109005468A CN 201810711925 A CN201810711925 A CN 201810711925A CN 109005468 A CN109005468 A CN 109005468A
- Authority
- CN
- China
- Prior art keywords
- broadcast
- barrage
- distribution
- message
- function
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a kind of barrage message distributing method, device, equipment and storage mediums.This method comprises: broadcast distribution module constructs broadcast of intent object according to barrage message to be distributed and predefined broadcast transmission action description, and broadcast broadcast of intent object;Broadcast reception action description of the broadcast process module according to broadcast transmission action description and barrage distribution object, broadcast of intent object is sent to barrage distribution object, barrage distribution object registered in advance is system broadcasts receiver, and broadcast transmission action description corresponds to consistent with broadcast reception action description;Barrage distribution object calls broadcast reception function, receives broadcast of intent object, and according to broadcast of intent object acquisition barrage message to be distributed.Through the above technical solutions, realizing the broadcast mechanism based on android system, the through formula of barrage message is distributed to each barrage distribution object in audio and video playing/live streaming application software, improves the distribution efficiency of barrage message.
Description
Technical field
The present embodiments relate to computer technology more particularly to a kind of barrage message distributing method, device, equipment and deposit
Storage media.
Background technique
In the audio and video playing application software for such as struggling against fish, barrage message can be largely used.In general, these barrage message
It is to be distributed to need to distribute target using each barrage of barrage message one by one by audio and video playing application software, such as view, industry
Business controller or data management system etc..
By taking barrage distribution target is view as an example, currently, being applied for the audio and video playing for being installed on android system soft
Part, the mode to each view distribution barrage message is the mode successively transmitted.Specifically, each in android system
A view is laid according to hierarchical relationship, then being based on the hierarchical relationship, can construct the adduction relationship between each view
Chain.Transmitting of the barrage message between each view is successively transmitted according to above-mentioned adduction relationship chain.Referring to Fig. 1,
If a view being located in third view layer 104 needs to get barrage message 101, which needs
According to adduction relationship chain, it is first transferred to first view layer 102, then the second view layer 103 is transferred to by first view layer 102, and
Third view layer 104 is finally transferred to by the second view layer 103 again.In this way, the process that the view obtains barrage message just compares
Complexity, the used time is longer, and efficiency is lower.Moreover, even if the view in first view layer 102 and the second view layer 103 does not need this
Barrage message must also receive and transmit the barrage message, undoubtedly will cause the waste of system resource.
There are distribution procedure complexity, distribution effects for ways of distribution of the existing barrage message in audio and video playing application software
Rate is low and the higher problem of system resources consumption.
Summary of the invention
The embodiment of the present invention provides a kind of barrage message distributing method, device, equipment and storage medium, to realize audio-video
The through formula distribution of barrage message, enables each barrage distribution object to directly obtain barrage in broadcasting/live streaming application software
Message improves the distribution efficiency of barrage message.
In a first aspect, the embodiment of the invention provides a kind of barrage message distributing methods, comprising:
Broadcast distribution module constructs broadcast of intent according to barrage message to be distributed and predefined broadcast transmission action description
Object, and broadcast the broadcast of intent object;
Broadcast reception action description of the broadcast process module according to the broadcast transmission action description and barrage distribution object,
The broadcast of intent object is sent to the barrage distribution object, the barrage distribution object is registered in advance to be connect for system broadcasts
Device is received, the broadcast transmission action description corresponds to consistent with the broadcast reception action description;
The barrage distribution object calls broadcast reception function, receives the broadcast of intent object, and according to the broadcast
It is intended to barrage message to be distributed described in object acquisition.
Second aspect, the embodiment of the invention also provides a kind of barrage message distribution device, which includes:
Broadcast distribution module, for according to barrage message to be distributed and predefined broadcast transmission action description, building to be wide
Intention object is broadcast, and broadcasts the broadcast of intent object;
Broadcast process module, for the broadcast reception movement according to the broadcast transmission action description and barrage distribution object
The broadcast of intent object is sent to the barrage distribution object by description, and the barrage distribution object registered in advance is system
Radio receiver, the broadcast transmission action description and the broadcast reception action description correspond to consistent;
Barrage message reception module calls broadcast reception function for the barrage distribution object, receives the broadcast meaning
Figure object, and according to barrage message to be distributed described in the broadcast of intent object acquisition.
The third aspect, the embodiment of the invention also provides a kind of equipment, which includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes barrage message distributing method provided by any embodiment of the invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program, the computer program realize barrage message distributing method provided by any embodiment of the invention when being executed by processor.
The embodiment of the present invention is by being registered as system broadcasts receiver for barrage distribution object in advance, so that barrage distribution pair
As being able to receive directly the system broadcast message broadcasted in android system, basis is provided for the through formula distribution of barrage message.
Setting when being registered as system broadcasts receiver according to barrage message to be distributed and with barrage distribution object by broadcast distribution module
Broadcast reception action description correspond to consistent broadcast transmission action description, construct broadcast of intent object, and by the broadcast of intent
Object carries out system broadcasts;Broadcast reception movement of the broadcast process module according to broadcast transmission action description and barrage distribution object
Description, is sent to barrage distribution object for broadcast of intent object;Barrage distribution object calls broadcast reception function, receives broadcast meaning
Figure object, and according to broadcast of intent object acquisition barrage message to be distributed.The broadcast mechanism based on android system is realized,
The through formula of barrage message is distributed to each barrage distribution object in audio and video playing/live streaming application software, improves barrage
The distribution efficiency of message.
Detailed description of the invention
Fig. 1 is the process schematic of barrage message distribution in the prior art;
Fig. 2 is the flow chart of one of embodiment of the present invention one barrage message distributing method;
Fig. 3 is the process schematic of the barrage message distribution in the embodiment of the present invention one;
Fig. 4 is the flow chart of one of embodiment of the present invention two barrage message distributing method;
Fig. 5 is the structural schematic diagram of one of embodiment of the present invention three barrage message distribution device;
Fig. 6 is the structural schematic diagram of one of the embodiment of the present invention four equipment.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Barrage message distributing method provided in this embodiment is applicable to Android client and the barrage received disappears
Breath, each barrage distribution object being distributed in audio and video playing/live streaming application software.This method can be by barrage message distribution
Device executes, which can be realized by the mode of software and/or hardware, which can integrate and broadcast being equipped with audio-video
It puts/is broadcast live in the equipment of application software, such as typically subscriber terminal equipment, such as mobile phone, tablet computer or smart television
Deng.Referring to fig. 2, the method for the present embodiment specifically comprises the following steps:
According to barrage message to be distributed and predefined broadcast transmission action description, building is wide for S110, broadcast distribution module
Intention object is broadcast, and broadcasts broadcast of intent object.
Wherein, broadcast distribution module is the module that delivery system is broadcasted in android system.Barrage message to be distributed refers to
The barrage message for being distributed to barrage distribution object is waited, is that Android client is obtained from barrage server.Specifically obtain
It takes mode to can be Android client and sends data acquisition request, the passive response data of barrage server to barrage server
Acquisition request obtains;Preferably through barrage monitor interface object and the barrage prison pre-established in Android client
The message transfer function in device interface object as call back function is listened, the barrage library object callback message in barrage server is received
The barrage message that transfer function is sent, barrage monitor interface object are used to monitor the barrage library object in barrage server.?
That is Android client, which obtains barrage message from server, to be connect by the way that barrage monitor is arranged in Android client
Mouth object, monitors the barrage library object in barrage server, sends barrage message to Android visitor for barrage server
Family end provides interface, and includes call back function in barrage monitor, sends barrage message to Android client for barrage server
End, which provides, calls function pointer.When barrage message reaches barrage server, triggering barrage server actively calls call back function,
I.e. barrage message is sent to Android visitor by barrage monitor interface by the function pointer of call back function by barrage server
Family end, Android client then in time, passively receive barrage message, i.e., barrage message to be distributed.
Broadcast transmission action description refers to the description or explanation that holding function possessed by the broadcast message to transmission carries out,
It is usually the abbreviation or keyword of broadcast transmission movement, can describe for system acting, be also possible to be made by oneself in advance
The broadcast action description of justice.Due to need to only carry out the distribution and reception of barrage message in the embodiment of the present invention, therefore broadcast transmission is dynamic
Being described action only to describe the message sent is barrage message, such as broadcast transmission action description action can be
"android.danmu.message".Broadcast of intent object refers to the intention object intent for sending and being broadcasted when broadcast,
It is the Deta bearer person to broadcast the message in android system.
Specifically, it before the distribution that the broadcast mechanism provided using android system carries out barrage message, first will need
Barrage message to be distributed and broadcast transmission action description are configured to can be used for the data format of broadcast transmission.When it is implemented, will
The movement action that broadcast transmission action description is constructed as broadcast of intent object intent, using barrage message to be distributed as wide
The data data for being intended to object intent building is broadcast, according to the data format for being intended to object intent, constructs broadcast of intent object.
Later, it using the broadcast transmission function broadcasted in android system, is broadcasted the broadcast of intent object of building as the overall situation
Message is broadcasted.
S120, broadcast process module are retouched according to the broadcast reception movement of broadcast transmission action description and barrage distribution object
It states, broadcast of intent object is sent to barrage distribution object, barrage distribution object registered in advance is system broadcasts receiver, broadcast
Sending action description is corresponding with broadcast reception action description consistent.
Wherein, broadcast process module be to broadcast message be filtered and radio receiver matching etc. processing module.Bullet
Curtain distribution object, which refers in audio and video playing/live streaming application software, needs to receive the component object of barrage message, such as can be
For the view object that barrage message is shown, it is also possible to the service controller pair for carrying out data processing to barrage message
As can also be the data management system object for carrying out storage or transmission to barrage message.Broadcast reception action description refers to can
With holding function possessed by received broadcast message carry out description or explanation, be usually broadcast reception movement abbreviation or
Keyword can be the action description that system provides, be also possible to carry out customized action description in advance.Broadcast reception movement
Description is usually the action description being arranged in broadcast message fillter section intent-filter when registering radio receiver, is used
It is filtered in system broadcast message, it is corresponding with broadcast reception action description consistent wide to filter out broadcast transmission action description
Broadcast message.Such as the broadcast reception action description action in the present embodiment equally can be set to
" android.danmu.message ", in this way, all radio receivers comprising broadcast reception action description can receive institute
There is the system broadcast message for being issued as barrage message.System broadcasts receiver refers to the reception that can receive system broadcast message
Device.
Under normal conditions, by taking barrage as an example, being will be special in audio and video playing in android system/live streaming application software
The barrage class of door processing barrage message is registered as system broadcasts receiver, then passes through the primary adduction relationship in application software
Chain transmits barrage message to lower layer's view layer layer from above-mentioned barrage class, until barrage message reaches the bullet in target view layer
Curtain distribution object.The distribution procedure of this traditional barrage message distribution mode based on broadcast mechanism is complicated and distributes efficiency
It is low.
It is that it is wide that barrage distribution object is registered as into system in advance before system broadcast message publication in the embodiment of the present invention
Receiver is broadcast, so that it directly receives the system broadcasts that android system is issued, the barrage message of Intermediate View figure layer is omitted
Transmission process.The mode for being registered as system broadcasts receiver can be dynamic registration mode, be also possible to static registration mode.Nothing
It registers, is both needed in registration code comprising broadcast reception action description by using which kind of mode.
Broadcast process module obtains in broadcast of intent object when receiving the broadcast message of broadcast distribution module publication
Broadcast transmission action description, and by itself and it is all be registered as system broadcasts receiver broadcast message fillter sections in broadcast reception
Action description is compared, and determines system broadcasts corresponding with the consistent broadcast reception action description of broadcast transmission action description
Receiver, i.e. barrage distribution object.Later, broadcast of intent object is sent directly to barrage distribution object, to trigger barrage point
Send out the execution of the broadcast reception function in object.
Illustratively, registered in advance comprise determining that for system broadcasts receiver of barrage distribution object connects comprising system broadcasts
The system broadcasts receiver for receiving device registration note and broadcast reception function registers base class, and system broadcasts receiver registers note to compile
Note when translating;Barrage distribution object inheritance system radio receiver registers base class, is explained with obtaining the registration of system broadcasts receiver
And broadcast reception function, so that it is system broadcasts receiver that barrage distribution object is registered in advance during program compiles.
Wherein, it explains, is also metadata, occur in the form of "@+keyword ", such as@Receive.Explain with class, connect
Mouthful and enumerate etc. in the same level, and can be applied to packet, type, building method, method, member variable, parameter or
In the statement of ground variable, for being illustrated annotation to these elements.The registration of system broadcasts receiver, which is explained, refers to Android system
For carrying out the note that system broadcasts receiver is registered automatically, note when note belongs to compiling, i.e., in program compiling duration in system
Between be scanned and processing note.After the registration of system broadcasts receiver explains processed, it can generate and infuse barrage distribution object
Volume is the registration code of system broadcasts receiver, in the registration code comprising broadcast message fillter section intent-filter and its
In broadcast reception action description.System broadcasts receiver registration in the embodiment of the present invention is explained setting and is received in system broadcasts
Device is registered in base class.Broadcast reception function is to receive broadcast for receiving the function of broadcast message in radio receiver
Automatic trigger executes when message.The definition of broadcast reception function is Public void onReceive in the embodiment of the present invention
(Context context, Intent intent), with publicly-owned claim modifier, and function return value type is no class
Type is context environmental object type and two function parameters for being intended to object type it includes data type.System broadcasts connect
It receives device registration base class and refers to the class comprising system broadcasts receiver registration general character.
Specifically, when all barrage distribution objects are registered as system broadcasts receiver, in order to simplify register flow path
And registration efficiency is improved, to be further simplified the process of the through formula distribution of barrage message, uses and compile in the embodiment of the present invention
The form explained when translating.In order to further increase the compiling efficiency and barrage message distribution efficiency explained during compiling, this hair
The form of base class is used in bright embodiment.A system broadcasts receiver is defined in audio and video playing/live streaming application software
Base class is registered, system broadcasts receiver registration note and the corresponding broadcast reception letter of system broadcasts receiver are contained in the base class
Number, and further base class defined above is realized, i.e., in generation, is realized in the compiling that the registration of completion system broadcasts receiver is explained
The realization code of code and broadcast reception function.Later, all barrage distribution objects pass through Similar integral keyword extends, after
It holds above-mentioned definition and base class is explained in the system broadcasts receiver registration realized.In this way, all barrage distribution objects all have
Function possessed by base class is also provided with the registration of system broadcasts receiver and explains, in compiling duration in barrage distribution object
Between can be scanned and handle so that barrage distribution object is registered as system broadcasts receiver during compiling.And barrage
Distribution object is provided with broadcast reception function onReceive, can receive concurrency processing system broadcast message.
Illustratively, the registration of system broadcasts receiver is explained by calling the note processing in predefined annotation processor
Function, it is during program compiling, barrage distribution object is registered in advance for system broadcasts receiver;Processing function is explained by such as
Lower step realizes the function that barrage distribution object is registered as to system broadcasts receiver during program compiling: by calling file
Object Creation function is written in file in object, and object is written in building file, and file object is created in advance by document creation function
It builds;File write-in object is converted into caching write-in object;Using barrage distribution object mark and broadcast reception action description as letter
Number input parameter calls the write-in function in caching write-in object, Android system is written in system broadcasts receiver registration code
The application description file of system, is called during compiling using description file.
Wherein, annotation processor is a java Programming with Pascal Language compiler (java compiler, javac) tool, is used for
Note is scanned and is handled in program compiling.One annotation processor is made with Java code or compiled bytecode
For input, generate file (usually java file).These java files generated cannot be modified, and can write manually with it
Java code the same compiled by javac.That is, the input of annotation processor is that class or variable of note etc. is marked,
It is handled by annotation processor, automatically generates corresponding java code.The input of annotation processor is system in the present embodiment
Radio receiver registration base class and the barrage distribution object for inheriting above-mentioned base class, output is that system broadcasts receiver is infused automatically
The java file of volume, which contains the registration code that system broadcasts receiver is registered automatically, and registration code is certainly
It is dynamic to generate, and unartificial programming.Explaining processing function is that the function for explaining processing is specifically executed in annotation processor.Barrage distribution
Object identity is the mark for referring to characterization barrage distribution object, can be the title or abbreviation of barrage distribution object.Using
Description file refers to the Android application descriptor in android system, is used to describe the application tool in android system
There is which feature, is called and parses during compiling using description file.
Specifically, in order to improve the execution efficiency of note, so that the rate of barrage message distribution is further increased, the present invention
It will realize that the note processing function sets explained are the implementation procedure that file automatically writes in embodiment.System broadcasts receiver note
The realization process that volume is explained are as follows: first pass through the abstract resolver AbstractProcessor for inheriting android system, definition in advance
Include note in annotation processor ReceiveAbstractProcessor, annotation processor ReceiveAbstractProcessor
Solution processing function process, note processing function process are for being scanned and handling to note during program compiling.
Explain the realization process of processing function process specifically: first by calling document creation function new File
() carries out newly-built or opening operation to the application description file of android system, and code is realized can be with are as follows: File file=
New File (" AndroidManifest.xml "), that is, if without application description file in system
AndroidManifest.xml then creates this document, if having existed this document in system, directly opens file.So
Afterwards, by calling the file in file object file that Object Creation function FileWriter () is written, object is written in building file
FileWriter, code is realized can be with are as follows: FileWriter fileWriter=new FileWriter (file).Later, with
It is function input parameters that object FileWriter, which is written, in file, caches write-in Object Creation function by calling
File write-in object FileWriter is converted to caching write-in object bufferedWriter, generation by BufferedWriter ()
Code is realized can be with are as follows: BufferedWriter bufferedWriter=new BufferedWriter (fileWriter), it should
Caching write-in object bufferedWriter has the function of caching write-in file.Finally, with barrage distribution object mark (such as
" * * * View ") and broadcast reception action description (such as " android.danmu.message ") be function input parameters, call
Write-in function writer in caching write-in object bufferedWriter, system broadcasts receiver registration code is written
The application description file AndroidManifest.xml of android system.By above-mentioned implementation procedure, may be implemented compiling
Following system broadcasts receiver registration code is automatically write using description file AndroidManifest.xml during translating,
And by the parsing with description file AndroidManifest.xml corresponding during compiling, barrage distribution object is registered automatically
For system broadcasts receiver.
<receiver android:name=" XXXView ">
<intent-filter>
<action android:name=" android.danmu.message "/>
</intent-filter>
</receiver>。
S130, barrage distribution object call broadcast reception function, receive broadcast of intent object, and according to broadcast of intent object
Obtain barrage message to be distributed.
Specifically, after barrage distribution object receives the broadcast of intent object as broadcast message, automatic trigger is called
Broadcast reception function receives broadcast of intent object.Later, by the parsing to the broadcast of intent object, wherein being included
Barrage message to be distributed.
Referring to Fig. 3, through the embodiment of the present invention in barrage message distributing method, barrage message 301 can directly pass through
It is sent to based on the note formula broadcast distribution device 302 that system broadcasts mechanism carries out barrage message distribution and needs to receive barrage message
In view, that is, the view being located in third view layer 305, without being subjected to intermediate first view layer 303 and the second view layer
304。
The technical solution of the present embodiment, by the way that barrage distribution object is registered as system broadcasts receiver in advance, so that bullet
Curtain distribution object is able to receive directly the system broadcast message broadcasted in android system, is that the through formula of barrage message is distributed
Basis is provided.System broadcasts reception is registered as according to barrage message to be distributed and with barrage distribution object by broadcast distribution module
The broadcast reception action description being arranged when device corresponds to consistent broadcast transmission action description, constructs broadcast of intent object, and should
Broadcast of intent object carries out system broadcasts;Broadcast of the broadcast process module according to broadcast transmission action description and barrage distribution object
Action description is received, broadcast of intent object is sent to barrage distribution object;Barrage distribution object calls broadcast reception function, connects
Broadcast of intent object is received, and according to broadcast of intent object acquisition barrage message to be distributed.It realizes based on the wide of android system
Mechanism is broadcast, the through formula of barrage message is distributed to each barrage distribution object in audio and video playing/live streaming application software, is improved
The distribution efficiency of barrage message.
Embodiment two
The present embodiment on the basis of the above embodiment 1, to " broadcast distribution module is according to barrage message to be distributed and pre-
The broadcast transmission action description of definition constructs broadcast of intent object " it is advanced optimized.It on this basis, can also be into
One step optimizes " broadcast distribution module broadcasts broadcast of intent object ".It on the basis of the above, can also be further to " broadcast
Broadcast reception action description of the processing module according to broadcast transmission action description and barrage distribution object, broadcast of intent object is sent out
Send to barrage distribution object " it is advanced optimized.Wherein the explanation of term identical or corresponding with the various embodiments described above is herein
It repeats no more.Referring to fig. 4, barrage message distributing method provided in this embodiment includes:
Using broadcast transmission action description as function input parameters, calling constructs initial in advance for S210, broadcast distribution module
It is intended to the broadcast movement setting function of object, action description is set to be initially intended to object, obtains intermediate intention object.
Wherein, initially it is intended to object and refers to the intention object initially defined, does not carry out the filling of data inside.It is exemplary
Ground, by the intention Object constructors of android system, building in advance is initial to be intended to object, and code realization can be
Intent intent=new Intent ().Broadcast movement setting function refers to that setting is intended to act the letter of action in object
Number.Centre is intended to object and refers to the intention object provided with action description, corresponds to initial intention object.
Specifically, broadcast distribution module is inputted by function of broadcast transmission action description android.danmu.message
Parameter calls the initial broadcast movement setting function setAction for being intended to object, sets initial for broadcast transmission action description
It is intended to the action description of object, code is realized can be with are as follows: intent.setAction
(" android.danmu.message ") obtains intermediate intention object.
S220, broadcast distribution module call the primary data package device object constructed in advance according to barrage message to be distributed
Data storage function, by the corresponding message identifier of barrage message to be distributed and message body object store to primary data wrap up device
Object obtains target data and wraps up device object.
Wherein, data wrapper object is a data capsule class for storing data in Android exploitation, is used
Data transmission in android system between component.Barrage to be distributed is stored in data wrapper object in the present embodiment
Message.Primary data package device object refers to the data wrapper object initially defined, does not carry out the filling of data inside.Example
Property, by the data wrapper Object constructors of android system, primary data is constructed in advance and wraps up device object
MBundle, code realization can be Bundle mBundle=new Bundle ().Target data wraps up device object and initial
Data wrapper object is corresponding, refers to and is filled with the data wrapper object of data.Data storage function is data package
The function of data filling is carried out in device object to it.Message identifier refers to the character that can be identified for that barrage message, can be number
Any combination of word, letter, symbol and above-mentioned various characters, the message identifier should be the unique, complete of a barrage message
The mark of office.Message body object refers to the bearer of barrage message, interior to include specifically barrage message content.
Specifically, broadcast distribution module parses barrage message to be distributed, obtains its corresponding message identifier type
With message body object msg.Later, the corresponding data storage of different types of data in primary data package device object is called respectively
Corresponding message identifier and message body object are stored to primary data and wrap up device object by function.When it is implemented, calling initial
Message identifier type is stored to primary data and is wrapped up device pair by the character string type data storage function in data wrapper object
As code realization can be mBundle.setString (type).Similarly, the sequence in primary data package device object is called
The corresponding serialized data content of message body object is stored to primary data and wraps up device pair by columnization categorical data storage function
As code realization can be mBundle.setSerializable (msg).In this way, after just obtaining filling barrage message
Target data wraps up device object mBundle.
S230, broadcast distribution module call intermediate intention object using target data package device object as function input parameters
Data packet be arranged function, by target data package device object store to centre be intended to object, obtain broadcast of intent object.
Wherein, data packet setting function, which refers to, is intended in object to be intended to the function that data data is arranged in object.
Specifically, broadcast of intent object is obtained, also needs to fill specific broadcast message data to centre intention object.
When it is implemented, broadcast distribution module is adjusted using the target data of above-mentioned acquisition package device object mBundle as function input parameters
Function setBundle () is set with the intermediate data packet for being intended to object, target data package device object is stored to centre and is intended to
Object, code realization can be intent.setBundle (mBundle).It is retouched in this way, just obtaining comprising broadcast transmission movement
State the broadcast of intent object with barrage message to be distributed.
S240, broadcast distribution module call the context environmental of application class to obtain function, obtain android system
Context environmental object.
Wherein, application class Application is the system class that android system exploitation side provides, and is used for
Process of application development can realize the instantiation of an application class when developing an application program.Context environmental
Object is an abstract class, and android system provides the realization of class, allows to access by context environmental object and apply
The specific resource of program and class.
Specifically, broadcast distribution module is upper in the application class Application in android system by calling
Hereafter environment obtains function getApplicationContext to get the context environmental object of system offer
mContext。
S250, broadcast distribution module are by context environmental object, using broadcast of intent object as function input parameters, call
Broadcast transmission function broadcasts broadcast of intent object.
Specifically, broadcast distribution module calls context environmental using broadcast of intent object intent as function input parameters
Broadcast transmission function sendBroadcast () in object mContext, i.e. mContext.sendBroadcast
(intent), it is broadcasted using broadcast of intent object as system broadcast message.In this way, the broadcast comprising barrage message to be distributed
It is intended to object to be just sent on android system event bus.
S260, broadcast process module are registered according to the system broadcasts receiver in barrage distribution object and are explained, and determine barrage
The broadcast reception action description of distribution object.
Specifically, it when broadcast process module monitors to have new broadcast message in android system event bus, can screen
It can receive the radio receiver of the broadcast message out.When it is implemented, broadcast process module is corresponding by barrage distribution object
The realization explained of system broadcasts receiver registration as a result, obtaining the corresponding broadcast reception action description of barrage distribution object.
S270, broadcast process module are according to broadcast transmission action description and broadcast reception action description, by broadcast of intent pair
As being sent to barrage distribution object.
Specifically, broadcast process module carries out the broadcast reception action description of broadcast transmission action description and acquisition pair
Than being that consistent barrage distribution object is determined as radio receiver, and broadcast of intent object is sent to barrage by comparing result
Distribution object.
S280, barrage distribution object call broadcast reception function, receive broadcast of intent object, and according to broadcast of intent object
Obtain barrage message to be distributed.
Illustratively, broadcast reception function is achieved by the steps of disappears according to broadcast of intent object acquisition barrage to be distributed
The function of breath: by broadcast of intent object, calling data packet to obtain function, obtains target data and wraps up device object;Invocation target
The data acquisition function of data wrapper object obtains the message identifier and message body object of barrage message to be distributed.
Wherein, data packet obtains function and refers to from the function for being intended to acquisition data wrapper object in object.Data acquisition
Function refers to the function that the data for including in it are obtained from data wrapper object.
Specifically, after broadcast reception function is triggered, broadcast of intent object can be obtained, is needed later to the broadcast of intent
Object is parsed, to obtain the barrage message to be distributed for including in it.Detailed process are as follows: broadcast reception function call broadcast meaning
Data packet in figure object obtains function intent.getBundle (), obtains the target data for including in broadcast of intent object
Wrapper object mBundle.Later, the character string type data of broadcast reception function difference invocation target data wrapper object
It obtains function mBundle.getString (type) and serializing categorical data obtains function
MBundle.getSerializable (msg) obtains the corresponding message identifier type of barrage message to be distributed and message body object
msg.In this way, barrage distribution object just obtains the specific message content of barrage message to be distributed.
The technical solution of the present embodiment, by the way that barrage message to be distributed and broadcast transmission action description are configured to number of targets
According to wrapper object, and further it is configured to broadcast of intent object;Barrage distribution object obtains broadcast by broadcast reception function
The target data being intended in object wraps up device object, and further obtains barrage message to be distributed, ensure that barrage message conduct
The integrality and convenience of broadcast message transmission further improve the distribution efficiency of barrage message.
It is the embodiment of barrage message distribution device provided in an embodiment of the present invention, the device and the various embodiments described above below
Barrage message distributing method belong to the same inventive concept, the not detailed description in the embodiment of barrage message distribution device
Detail content can refer to the embodiment of above-mentioned barrage message distributing method.
Embodiment three
The present embodiment provides a kind of barrage message distribution devices, and referring to Fig. 5, which is specifically included:
Broadcast distribution module 510, for according to barrage message to be distributed and predefined broadcast transmission action description, building
Broadcast of intent object, and broadcast broadcast of intent object;
Broadcast process module 520, for the broadcast reception movement according to broadcast transmission action description and barrage distribution object
Description, is sent to barrage distribution object for the broadcast of intent object that broadcast distribution module 510 constructs, barrage distribution object is infused in advance
Volume is system broadcasts receiver, and broadcast transmission action description corresponds to consistent with broadcast reception action description;
Barrage message reception module 530 calls broadcast reception function for barrage distribution object, receives broadcast process module
The broadcast of intent object of 520 broadcast, and according to broadcast of intent object acquisition barrage message to be distributed.
Optionally, on the basis of above-mentioned apparatus, the device further include: radio receiver registration module is used for:
Determine that the system broadcasts receiver comprising system broadcasts receiver registration note and broadcast reception function registers base class,
System broadcasts receiver is explained when registering note as compiling;
Barrage distribution object inheritance system radio receiver register base class, with obtain system broadcasts receiver registration explain and
Broadcast reception function, so that it is system broadcasts receiver that barrage distribution object is registered in advance during program compiles.
Further, radio receiver registration module is specifically used for:
The registration of system broadcasts receiver is explained by calling the note in predefined annotation processor to handle function, in journey
It is during sequence compiles, barrage distribution object is registered in advance for system broadcasts receiver;
It explains processing function and is achieved by the steps of during program compiling that barrage distribution object is registered as system is wide
Broadcast the function of receiver:
By calling the file in file object that Object Creation function is written, object is written in building file, and file object is logical
Document creation function is crossed to be pre-created;
File write-in object is converted into caching write-in object;
Using barrage distribution object mark and broadcast reception action description as function input parameters, call in caching write-in object
Write-in function, by system broadcasts receiver registration code write-in android system application description file, using description file
It is called during compiling.
Correspondingly, broadcast process module 520 is specifically used for:
Broadcast process module is registered according to the system broadcasts receiver in barrage distribution object and is explained, and determines barrage distribution pair
The broadcast reception action description of elephant;
Broadcast process module sends broadcast of intent object according to broadcast transmission action description and broadcast reception action description
To barrage distribution object.
Optionally, broadcast distribution module 510 is specifically used for:
Broadcast distribution module calls the initial intention pair constructed in advance using broadcast transmission action description as function input parameters
The broadcast movement setting function of elephant, is arranged action description to be initially intended to object, obtains intermediate intention object;
Broadcast distribution module calls the data of the primary data package device object constructed in advance according to barrage message to be distributed
The corresponding message identifier of barrage message to be distributed and message body object are stored to primary data and wrap up device object by storage function,
It obtains target data and wraps up device object;
Broadcast distribution module calls the intermediate data for being intended to object using target data package device object as function input parameters
Target data package device object is stored to centre and is intended to object, obtains broadcast of intent object by packet setting function.
Optionally, broadcast distribution module 510 is specifically used for:
Broadcast distribution module calls the context environmental of application class to obtain function, obtains the upper and lower of android system
Literary environmental objects;
Broadcast distribution module is by context environmental object, using broadcast of intent object as function input parameters, calls broadcast
Function is sent, broadcast of intent object is broadcasted.
Optionally, barrage message reception module 530 further includes broadcast reception function implementation sub-module, for by walking as follows
The rapid function of realizing according to broadcast of intent object acquisition barrage message to be distributed:
By broadcast of intent object, data packet is called to obtain function, obtains target data and wrap up device object;
The data acquisition function of invocation target data wrapper object obtains the message identifier of barrage message to be distributed and disappears
Cease body object.
Three a kind of barrage message distribution device through the embodiment of the present invention, realizes the broadcast based on android system
The through formula of barrage message is distributed to each barrage distribution object in audio and video playing/live streaming application software, improved by mechanism
The distribution efficiency of barrage message.
Bullet provided by any embodiment of the invention can be performed in barrage message distribution device provided by the embodiment of the present invention
Curtain message distributing method, has the corresponding functional module of execution method and beneficial effect.
It is worth noting that, included each unit and module are only in the embodiment of above-mentioned barrage message distribution device
It is to be divided according to the functional logic, but be not limited to the above division, as long as corresponding functions can be realized;Separately
Outside, the specific name of each functional unit is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
Example IV
Referring to Fig. 6, a kind of equipment 600 is present embodiments provided comprising: one or more processors 620;Storage device
610, for storing one or more programs, when one or more programs are executed by one or more processors 620, so that one
Or multiple processors 620 realize barrage message distributing method provided by the embodiment of the present invention, comprising:
Broadcast distribution module constructs broadcast of intent according to barrage message to be distributed and predefined broadcast transmission action description
Object, and broadcast broadcast of intent object;
Broadcast reception action description of the broadcast process module according to broadcast transmission action description and barrage distribution object, will be wide
It broadcasts intention object and is sent to barrage distribution object, barrage distribution object registered in advance is system broadcasts receiver, and broadcast transmission is dynamic
It is described corresponding with broadcast reception action description consistent;
Barrage distribution object calls broadcast reception function, receives broadcast of intent object, and according to broadcast of intent object acquisition
Barrage message to be distributed.
Certainly, it will be understood by those skilled in the art that processor 620 can also realize that any embodiment of that present invention is provided
Barrage message distributing method technical solution.
The equipment 600 that Fig. 6 is shown is only an example, should not function to the embodiment of the present invention and use scope bring
Any restrictions.
As shown in fig. 6, the equipment 600 includes processor 620, storage device 610, input unit 630 and output device
640;The quantity of processor 620 can be one or more in equipment, in Fig. 6 by taking a processor 620 as an example;Place in equipment
Reason device 620, storage device 610, input unit 630 can be connected with output device 640 by bus or other modes, in Fig. 6
For being connected by bus 650.
Storage device 610 is used as a kind of computer readable storage medium, and it is executable to can be used for storing software program, computer
Program and module, if the corresponding program instruction/module of barrage message distributing method in the embodiment of the present invention is (for example, barrage
Broadcast distribution module, broadcast process module and barrage message reception module in message distribution device).
Storage device 610 can mainly include storing program area and storage data area, wherein storing program area can store operation
Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.
In addition, storage device 610 may include high-speed random access memory, it can also include nonvolatile memory, for example, at least
One disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, storage device 610
It can further comprise the memory remotely located relative to processor 620, these remote memories can be by being connected to the network extremely
Equipment.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 630 can be used for receiving the number or character information of input, and generate with the user setting of equipment with
And the related key signals input of function control.Output device 640 may include that display screen etc. shows equipment.
Embodiment five
The present embodiment provides a kind of storage medium comprising computer executable instructions, the computer executable instructions by
For executing a kind of barrage message distributing method when computer processor executes, this method comprises:
Broadcast distribution module constructs broadcast of intent according to barrage message to be distributed and predefined broadcast transmission action description
Object, and broadcast broadcast of intent object;
Broadcast reception action description of the broadcast process module according to broadcast transmission action description and barrage distribution object, will be wide
It broadcasts intention object and is sent to barrage distribution object, barrage distribution object registered in advance is system broadcasts receiver, and broadcast transmission is dynamic
It is described corresponding with broadcast reception action description consistent;
Barrage distribution object calls broadcast reception function, receives broadcast of intent object, and according to broadcast of intent object acquisition
Barrage message to be distributed.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention
The method operation that executable instruction is not limited to the described above, can also be performed barrage message provided by any embodiment of the invention
Relevant operation in distribution method.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more
Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art
Part can be embodied in the form of software products, which can store in computer readable storage medium
In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server or the network equipment etc.) executes barrage provided by each embodiment of the present invention and disappears
Cease distribution method.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of barrage message distributing method characterized by comprising
Broadcast distribution module constructs broadcast of intent pair according to barrage message to be distributed and predefined broadcast transmission action description
As, and broadcast the broadcast of intent object;
Broadcast reception action description of the broadcast process module according to the broadcast transmission action description and barrage distribution object, by institute
It states broadcast of intent object and is sent to the barrage distribution object, the barrage distribution object is registered in advance to be received for system broadcasts
Device, the broadcast transmission action description and the broadcast reception action description correspond to consistent;
The barrage distribution object calls broadcast reception function, receives the broadcast of intent object, and according to the broadcast of intent
Barrage message to be distributed described in object acquisition.
2. being connect the method according to claim 1, wherein the barrage distribution object is registered in advance for system broadcasts
Receiving device includes:
Determine that the system broadcasts receiver comprising system broadcasts receiver registration note and the broadcast reception function registers base class,
The system broadcasts receiver is explained when registering note as compiling;
The barrage distribution object inherits the system broadcasts receiver and registers base class, to obtain the system broadcasts receiver note
Volume is explained and the broadcast reception function, so that it is the system that the barrage distribution object is registered in advance during program compiles
Radio receiver.
3. according to the method described in claim 2, it is characterized in that, the broadcast process module is acted according to the broadcast transmission
The broadcast reception action description of description and barrage distribution object, is sent to the barrage distribution object for the broadcast of intent object
Include:
The broadcast process module is registered according to the system broadcasts receiver in the barrage distribution object and is explained, and determines institute
State the broadcast reception action description of barrage distribution object;
The broadcast process module is according to the broadcast transmission action description and the broadcast reception action description, by the broadcast
It is intended to object and is sent to the barrage distribution object.
4. according to the method described in claim 2, it is characterized in that, system broadcasts receiver registration is explained by calling in advance
Note in the annotation processor of definition handles function, during program compiling, is by the barrage distribution object is registered in advance
The system broadcasts receiver;
The note processing function registers the barrage distribution object during program compiling described in being achieved by the steps of
For the function of the system broadcasts receiver:
By calling the file in file object that Object Creation function is written, object is written in building file, and the file object is logical
Document creation function is crossed to be pre-created;
File write-in object is converted into caching write-in object;
Using barrage distribution object mark and the broadcast reception action description as function input parameters, the caching is called to write
Enter the write-in function in object, it is described by the application description file of system broadcasts receiver registration code write-in android system
It is called during compiling using description file.
5. the method according to claim 1, wherein the broadcast distribution module according to barrage message to be distributed and
Predefined broadcast transmission action description, building broadcast of intent object include:
The broadcast distribution module calls the initial meaning constructed in advance using the broadcast transmission action description as function input parameters
The broadcast movement setting function of figure object, is arranged action description for the initial intention object, acquisition is intermediate to be intended to object;
The broadcast distribution module calls the primary data package device object constructed in advance according to the barrage message to be distributed
Data storage function stores the corresponding message identifier of the barrage message to be distributed and message body object to the primary data
Wrapper object obtains target data and wraps up device object;
The broadcast distribution module calls the intermediate intention pair using target data package device object as function input parameters
Function is arranged in the data packet of elephant, and target data package device object is stored to the intermediate intention object, is obtained described wide
Broadcast intention object.
6. the method according to claim 1, wherein the broadcast distribution module broadcasts the broadcast of intent object
Include:
The broadcast distribution module calls the context environmental of application class to obtain function, obtains the upper and lower of android system
Literary environmental objects;
The broadcast distribution module is by the context environmental object, using the broadcast of intent object as function input parameters,
Broadcast transmission function is called, the broadcast of intent object is broadcasted.
7. according to the method described in claim 5, it is characterized in that, the broadcast reception function be achieved by the steps of it is described
Function according to barrage message to be distributed described in the broadcast of intent object acquisition:
By the broadcast of intent object, data packet is called to obtain function, obtains the target data package device object;
The data acquisition function for calling the target data package device object, obtains the message of the barrage message to be distributed
Mark and the message body object.
8. a kind of barrage message distribution device characterized by comprising
Broadcast distribution module, for according to barrage message to be distributed and predefined broadcast transmission action description, building broadcast meaning
Figure object, and broadcast the broadcast of intent object;
Broadcast process module is retouched for the broadcast reception movement according to the broadcast transmission action description and barrage distribution object
It states, the broadcast of intent object is sent to the barrage distribution object, the barrage distribution object registered in advance is that system is wide
Receiver is broadcast, the broadcast transmission action description corresponds to consistent with the broadcast reception action description;
Barrage message reception module calls broadcast reception function for the barrage distribution object, receives the broadcast of intent pair
As, and according to barrage message to be distributed described in the broadcast of intent object acquisition.
9. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now barrage message distributing method as described in any in claim 1-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The barrage message distributing method as described in any in claim 1-7 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810711925.5A CN109005468B (en) | 2018-06-29 | 2018-06-29 | Bullet screen message distribution method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810711925.5A CN109005468B (en) | 2018-06-29 | 2018-06-29 | Bullet screen message distribution method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109005468A true CN109005468A (en) | 2018-12-14 |
CN109005468B CN109005468B (en) | 2021-01-01 |
Family
ID=64598109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810711925.5A Active CN109005468B (en) | 2018-06-29 | 2018-06-29 | Bullet screen message distribution method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109005468B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109857637A (en) * | 2018-12-25 | 2019-06-07 | 杭州茂财网络技术有限公司 | A kind of Java language method coverage rate and method input and output statistical method and device based on note |
CN113132121A (en) * | 2019-12-30 | 2021-07-16 | 成都鼎桥通信技术有限公司 | Broadcast message processing method and device and terminal equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110179328A1 (en) * | 2008-06-20 | 2011-07-21 | Victor Souza | System and Method for Ingesting Media Content in a Peer-to-Peer Network |
CN105338410A (en) * | 2014-07-07 | 2016-02-17 | 乐视网信息技术(北京)股份有限公司 | Method and device for displaying barrage of video |
CN106060674A (en) * | 2016-06-27 | 2016-10-26 | 武汉斗鱼网络科技有限公司 | System and method for achieving intelligent video live broadcast on front end |
US20180063501A1 (en) * | 2016-08-23 | 2018-03-01 | Shanghai Hode Information Technology Co.,Ltd. | Method and system of displaying a popping-screen |
-
2018
- 2018-06-29 CN CN201810711925.5A patent/CN109005468B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110179328A1 (en) * | 2008-06-20 | 2011-07-21 | Victor Souza | System and Method for Ingesting Media Content in a Peer-to-Peer Network |
CN105338410A (en) * | 2014-07-07 | 2016-02-17 | 乐视网信息技术(北京)股份有限公司 | Method and device for displaying barrage of video |
CN106060674A (en) * | 2016-06-27 | 2016-10-26 | 武汉斗鱼网络科技有限公司 | System and method for achieving intelligent video live broadcast on front end |
US20180063501A1 (en) * | 2016-08-23 | 2018-03-01 | Shanghai Hode Information Technology Co.,Ltd. | Method and system of displaying a popping-screen |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109857637A (en) * | 2018-12-25 | 2019-06-07 | 杭州茂财网络技术有限公司 | A kind of Java language method coverage rate and method input and output statistical method and device based on note |
CN113132121A (en) * | 2019-12-30 | 2021-07-16 | 成都鼎桥通信技术有限公司 | Broadcast message processing method and device and terminal equipment |
CN113132121B (en) * | 2019-12-30 | 2023-01-31 | 成都鼎桥通信技术有限公司 | Broadcast message processing method and device and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109005468B (en) | 2021-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021027043A1 (en) | Method and apparatus for encrypting neural network model, and storage medium | |
CN108882053A (en) | Barrage message distributing method, device, equipment and storage medium | |
WO2018072626A1 (en) | Method and apparatus for invoking component, and method and apparatus for processing component data | |
US8683065B2 (en) | Multicast content provider | |
CN111159614B (en) | Webpage resource acquisition method and device | |
CN115858481A (en) | Method and system for document synchronization in a distributed server-client environment | |
CN109005468A (en) | Barrage message distributing method, device, equipment and storage medium | |
Puder et al. | Exposing native device APIs to web apps | |
CN108810633A (en) | Barrage method for message transmission, device, equipment and storage medium | |
CN109343983A (en) | Information interacting method, device, equipment and storage medium between functional module | |
KR100670605B1 (en) | System and method for servicing multimedia contents and recording medium thereof | |
CN109739487B (en) | Business logic processing method and device and computer readable storage medium | |
CN109388388B (en) | Information interaction method, device, equipment and storage medium between function modules | |
CN109062650A (en) | Barrage message distributing method, device, equipment and storage medium | |
CN109144520B (en) | Information interaction method, device, equipment and storage medium among different objects in Android | |
CN109815202B (en) | Log editing method and related device | |
US11630645B2 (en) | System and method for managing and using data model | |
US20200137155A1 (en) | System and method for peer-to-peer communication in partial mesh network | |
US20140082315A1 (en) | Memory allocation for long-lived objects | |
CN111443903A (en) | Software development file acquisition method and device, electronic equipment and storage medium | |
CN108810645A (en) | Barrage message distributing method, device, equipment and storage medium | |
CN108966035A (en) | Barrage method for message transmission, device, equipment and storage medium | |
CN108881991A (en) | Barrage message distributing method, device, equipment and storage medium | |
CN115617537A (en) | Data transmission method and device and storage medium | |
CN108810644B (en) | Bullet screen message distribution method, device, equipment and storage medium |
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 |