CN106973332A - A kind of barrage message treatment method, analytic method and system - Google Patents
A kind of barrage message treatment method, analytic method and system Download PDFInfo
- Publication number
- CN106973332A CN106973332A CN201710142617.0A CN201710142617A CN106973332A CN 106973332 A CN106973332 A CN 106973332A CN 201710142617 A CN201710142617 A CN 201710142617A CN 106973332 A CN106973332 A CN 106973332A
- Authority
- CN
- China
- Prior art keywords
- barrage message
- data
- data content
- separator
- block
- 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.)
- Pending
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
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
- H04N21/4314—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a kind of barrage message treatment method, analytic method and system, described processing method includes:S1a, obtains the data content of barrage message and the data type information of the data content, wherein, the data content of the barrage message includes multiple sub-blocks;S2a, the whole data content of composition is attached by each sub-block of data content by the first separator;S3a, the data type information and the whole data content are attached by the second separator, form barrage message.The present invention by different separators by each several part data cube computation of barrage message together, compared with general JSON forms, the memory size shared by identical data is smaller, more there is higher compression ratio, disclosure satisfy that the requirement of the high concurrent of barrage message data.
Description
Technical field
The present invention relates to technical field of data storage, more particularly, to a kind of barrage message treatment method, analytic method
And system.
Background technology
Most common One function is exactly to send barrage message in network direct broadcasting client, and barrage message is exactly in video
The rich text message of word and the picture composition sent on interface, for customer volume numerous during network direct broadcasting, barrage disappears
The concurrent quantity of breath is abnormal huge, therefore, how to improve concurrently being particularly important for barrage message.
At present, substantial amounts of barrage message is generally stored using JSON forms, for example, the barrage stored using JSON forms
Message is:{type:101, msg=type=" chatmsg ", rid=" 591839 ", ct=" 1 ", uid=" 46387962 ",
Nn=" love of consciousness ", txt=" sees lower equipment ", cid=" 123456 ", ic=" abcdefg ", level=" 4 ", el
=" ".
From the point of view of above-mentioned storage format, JSON storage formats include numerous { } and " " these symbols, these symbols
The internal memory of occupancy than larger, therefore using the storage of JSON forms the memory size that takes of barrage message data also than larger, no
It is adapted to the concurrent transmission of barrage message.
The content of the invention
The present invention provides a kind of barrage message processing for overcoming above mentioned problem or solving the above problems at least in part
Method, analytic method and system.
According to an aspect of the invention, there is provided a kind of barrage message treatment method, including:
S1a, obtains the data content of barrage message and the data type information of the data content, wherein, the bullet
The data content of curtain message includes multiple sub-blocks;
S2a, the whole data content of composition is attached by each sub-block of data content by the first separator;
S3a, the data type information and the whole data content are attached by the second separator, form bullet
Curtain message.
According to another aspect of the present invention, a kind of barrage message resolution method is additionally provided, including:
S1b, barrage message according to the second separator is divided into two parts, wherein, Part I is the number of barrage message
According to the data type information of content, Part II is the data content of barrage message;
S2b, multiple sub-blocks are divided into by the data content of the barrage message according to the first separator;
S3b, obtains key assignments and property value, and export each height according to the 3rd separator to the segmentation of each sub-block
Property value in data block.
According to another aspect of the invention there is provided a kind of barrage message handling system, including:
Acquisition module, for obtaining the data content of barrage message and the data type information of the data content, its
In, the data content of the barrage message includes multiple sub-blocks;
First link block, it is whole for each sub-block of data content to be attached into composition by the first separator
Individual data content;
Second link block, for the data type information and the whole data content to be entered by the first separator
Row connection, forms barrage message.
In accordance with a further aspect of the present invention, a kind of barrage message resolution system is additionally provided, including:
First segmentation module, for barrage message to be divided into two parts according to the second separator, wherein, Part I is
The data type information of the data content of barrage message, Part II is the data content of barrage message;
Second segmentation module, for the data content of the barrage message to be divided into multiple subnumbers according to the first separator
According to block;
3rd segmentation module, for obtaining key assignments and property value to the segmentation of each sub-block according to the 3rd separator,
And export the property value in each sub-block.
A kind of barrage message treatment method, analytic method and system that the present invention is provided, by different separators by bullet
Curtain message each several part data cube computation together, compared with general JSON forms, the memory size shared by identical data
It is smaller, more there is higher compression ratio, disclosure satisfy that the requirement of the high concurrent of barrage message data;In the mistake parsed to barrage message
Cheng Zhong, intactly can just be parsed data, execution efficiency is very fast, and the system resource of occupancy is non-by multiple call function
It is often few, and the generation of many objects is had in the resolving to general JSON formatted datas, and in Java, object is
Occupy very much system resource, and be not related to any object in the analytic method of the present invention, whole resolving, be entirely
The operation carried out to character string, the efficiency of parsing can be higher.
Brief description of the drawings
Fig. 1 is the barrage message treatment method flow chart of one embodiment of the invention;
Fig. 2 is the barrage message resolution method flow chart of another embodiment of the present invention;
Fig. 3 connects block diagram for the barrage message handling system of one embodiment of the invention;
Fig. 4 entirely connects block diagram for the barrage message handling system of one embodiment of the invention;
Fig. 5 is connected block diagram for the barrage message resolution system of another embodiment of the present invention;
Fig. 6 is the structured flowchart of the test equipment of the barrage message handling system of one embodiment of the invention;
Fig. 7 is the structured flowchart of the test equipment of the barrage message resolution system of another embodiment of the present invention.
Embodiment
With reference to the accompanying drawings and examples, the embodiment to the present invention is described in further detail.Implement below
Example is used to illustrate the present invention, but is not limited to the scope of the present invention.
It is the barrage message treatment method of one embodiment of the invention referring to Fig. 1, including:S1a, obtains barrage message
The data type information of data content and the data content, wherein, the data content of the barrage message includes many height
Data block;S2a, the whole data content of composition is attached by each sub-block of data content by the first separator;
S3a, the data type information and the whole data content are attached by the second separator, form barrage message.
Most common One function is exactly to send barrage message in network direct broadcasting client, and barrage message is exactly in video
The rich text message of word and the picture composition sent on interface, the concurrent quantity of barrage message is abnormal huge, using logical
JSON forms, the memory size that data take is than larger.Therefore, the present embodiment by different separators by barrage message
Each several part data cube computation together, compared with general JSON forms, the memory size shared by identical data is smaller, more
There is higher compression ratio, disclosure satisfy that the requirement of the high concurrent of barrage message data.
In another embodiment of the present invention, by each described sub-block be converted to " key assignments-property value " to
Form, " key assignments-property value " is attached between by first separator described in each, wherein, the key assignments is
The unique mark of the sub-block, the property value is the content of the sub-block.Wherein, the key assignments and property value it
Between be attached by the 3rd separator.
Customized barrage message in barrage message treatment method, the present embodiment is described with a specific example below
Form be:
type:101,msg:Type@=chatmsg/rid@591839/ct@=1/uid@=46387962/nn@=meaning
The love/txt@=of knowledge see lower equipment/cid@=123456/ic@=abcdefg/level@=4/e1@=/.
Wherein, barrage message is divided into two parts, and Part I is type:101, Type represent is in barrage message data
The data type of appearance, 101 represent data type mark, are what type of data for distinguishing the data;Part II
msg:Love/txt@of type@=chatmsg/rid@591839/ct@=1/uid@=46387962/nn@=consciousness see lower dress
Standby/cid@=123456/ic@=abcdefg/level@=4/e1@=/ are the specific data content of barrage message, data class
Connection is separated by separator ", " between type and data content, msg represent be behind the beginning of the data content, msg
The particular content of Type kind of message.The particular content of barrage message includes multiple sub-blocks, and each sub-block is used
" key assignments-property value " to form, wherein, type@=chatmsg is that one " key assignments-property value " in msg is right, and "/" is
Each separator of " key assignments-property value " between, "@=" is the separator between key assignments and property value, wherein, if key
Be worth corresponding property value for sky, then be adopted as@=/ mode be shown.
The above-mentioned transformat to barrage message is defined, and next carries out the form with general JSON forms
Related comparative analysis.Identical barrage message is shown as follows using the form of JSON data formats:
{type:101, msg={ type=" chatmsg ", rid=" 591839 ", ct=" 1 ", uid="
46387962 ", nn=" love of consciousness ", txt=" sees lower equipment ", cid=" 123456 ", ic=" abcdefg ", level="
4 ", el=" " } }.
Next it is analyzed with this dimension of size shared by the form and JSON forms that the present embodiment is used
Space size comparative analysis, pass through count find, in the case of identical information amount size of data, what the present embodiment was used
Number of characters shared by form is 114 characters, and the number of characters shared by the data of JSON forms is 129 characters, in order to
More intuitively show lifting of the above-mentioned form in internal memory space-consuming, showed using the form of form, specific table
Lattice data are as shown in table 1 below:
Table 1
Character is taken under identical msg | Relative to 129 compression ratios | |
The present embodiment form | 114 | 0.88 |
JSON forms | 129 | 1 |
Pass through the analysis of above table data, it can be deduced that the form phase that the present embodiment is designed in the case of same quantity of data
Than existing JSON data formats it has been compressed to 88%, that is, 12% lifting of compressing data, so for identical number
According to the barrage message of amount, the ability of system processes data can be greatly enhanced, improve backstage to the concurrent of barrage message and
Disposal ability.
It is the barrage message resolution method of another embodiment of the present invention referring to Fig. 2, including:S1b, barrage message pressed
Two parts are divided into according to the second separator, wherein, Part I is the data type information of the data content of barrage message, second
Part is the data content of barrage message;S2b, the data content of the barrage message is divided into according to the first separator multiple
Sub-block;S3b, obtains key assignments and property value, and export each according to the 3rd separator to the segmentation of each sub-block
Property value in sub-block.Wherein, the function called is split () function, and split () function is being called each time by number
According to being divided into behind two parts or many parts, the data after segmentation are deposited in character string dimension.
After above-described embodiment is organized to barrage message according to user-defined format, in needing to use barrage message
Specific data when, it is necessary to be parsed to barrage message.Just can be intactly by number by multiple call function in the present embodiment
According to parsing, execution efficiency is very fast, and the system resource of occupancy is considerably less, and the parsing of the data to general JSON forms
During have the generations of many objects, object is to occupy very much system resource, and uses the analytic method of the present invention, entirely
During be not related to any object, be entirely to character string carry out operation, the efficiency of parsing can be higher.
The analytic method of the barrage message of the present embodiment described with a specific example below, resolving be divided into
Under several steps:
(1) call first string [] data=split (", ") functions in character string by character string according to ", "
Mode is split, by string segmentation into 2 parts, one is type parts, the second is msg parts.Split functions will be returned
It is the content in type, the 1st to return the 0th element data [0] in the character string dimension of a well cutting, this character string dimension
Element data [1] is the content in msg.
(2) for the data in data [0] call again string [] typeMsg=data [0] .split (":"), will
Data in data [0] are split again, then that storage is type in typeMsg [0], and the middle storages of typeMsg [1] are 101,
Namely barrage message data type identification.
(3) for the content in msg be first by call string [] data1=smsg [1] .split (":"), that
Content in data1 [1] is exactly specific msg data.
(4) string [] realMsgData=data1 [1] .split ("/") function call is reused, is used "/" next pair
Data split obtaining each sub-block realMsgData.
(5) split ("=") is called to divide data again successively the data in digital data block realMsgData again
Cut the data really needed.
Intactly barrage message can be parsed by the above method, the parsing side next provided the present embodiment
The analytic method of method and general JSON formatted datas is analyzed, and the resolving of JSON formatted datas is mainly to include
Following steps:
Assuming that the data of JSON forms are:
{type:101, msg={ type=" chatmsg ", rid=" 591839 ", ct=" 1 ", uid="
46387962 ", nn=" love of consciousness ", txt=" sees lower equipment ", cid=" 123456 ", ic=" abcdefg ", level="
4 ", el=" " } }.
(1) above-mentioned character string originData (the above-mentioned character string of originData acute pyogenic infection of finger tip) data are formatted first
For JsonObject data types, specially JsonObjectjsonObject=new JsonObject (originData),
OriginData data formats a jsonObject object has been melted into thus.
(2) the msg data in jsonObject objects are extracted, particular by calling JsonObject msgObject=
OriginData.getJsonObject (" msg ") method is realized, thus gets the specific data in msg, and
And the content in msg is assigned to msgObject objects.
(3) next need to extract specific message data from msgObject objects, particular by calling
String typeMsg=msgObject.getString (" type ") functions get the corresponding specific data of type;According to
The secondary acquisition for analogizing other data is as follows:StringtypeMsg=msgObject.getString (" rid ");
StringtypeMsg=msgObject.getString (" ct ");StringtypeMsg=msgObject.getString ("
uid");StringtypeMsg=msgObject.getString (" nn ");StringtypeMsg=
msgObject.getString("txt");StringtypeMsg=msgObject.getString (" cid ");
StringtypeMsg=msgObject.getString (" ic ");StringtypeMsg=msgObject.getString ("
level")。
By after aforesaid operations just can by all data in JSON parsing completely, next come to score
Analyse the otherness of the analysis mode of the present embodiment and the analysis mode of JSON formatted datas.Due to the solution of JSON formatted datas
Analysis needs to rely on third-party JSON parsing storehouses to be parsed, and has the generation of numerous objects, object in resolving
It is to take very much data resource, one object of one object of instantiation and release can cause very big overhead.By right
Than finding that the resolving of JSON formatted datas needs multiple instance object, and the analytic method that the present embodiment is provided is only more
Secondary to call split functions intactly just parse barrage message data, whole resolving is not involved with any
The concept of object, is entirely the operation carried out to character string, and the system resource of occupancy is considerably less, and efficiency is relatively high.
It is the barrage message handling system of one embodiment of the invention referring to Fig. 3, including acquisition module 31, first is connected
The link block 33 of module 32 and second.
Wherein, acquisition module 31, for obtaining the data content of barrage message and the data type of the data content
Information, wherein, the data content of the barrage message includes multiple sub-blocks;
First link block 32, for each sub-block of data content to be attached into composition by the first separator
Whole data content;
Second link block 33, for the data type information and the whole data content to be passed through into the second separator
It is attached, forms barrage message.
Referring to Fig. 4, in another embodiment of the present invention, format converting module is also included in barrage message handling system
34 and the 3rd link block 35.Format converting module 34, for each described sub-block to be converted to " key assignments-property value "
To form, wherein, the key assignments is the unique mark of the sub-block, and the property value is interior for the sub-block
Hold, " key assignments-property value " is attached between by first separator described in each;3rd link block 35, is used
In will be attached between each key assignments and corresponding property value by the 3rd separator.
It is the barrage message resolution system of one embodiment of the invention referring to Fig. 5, including the first segmentation module 51, second
Split the segmentation module 53 of module the 52, the 3rd and storage module 54.
First segmentation module 51, for barrage message to be divided into two parts according to the second separator, wherein, Part I
For the data type information of the data content of barrage message, Part II is the data content of barrage message.
Second segmentation module 52, for the data content of the barrage message to be divided into many height according to the first separator
Data block.
3rd segmentation module 53, for obtaining key assignments and attribute to the segmentation of each sub-block according to the 3rd separator
Value, and export the property value in each sub-block.
Storage module 54, for the data split each time to be deposited in character string dimension.
The barrage message handling system provided based on above-mentioned Fig. 3 or Fig. 4 correspondence embodiments, the invention provides a kind of bullet
The test equipment of curtain message handling system.Referring to Fig. 6, the test equipment of the barrage message handling system includes:Processor
(processor) 601, memory (memory) 602, communication interface (Communications Interface) 603 and bus
604;
Wherein, processor 601, memory 602 and communication interface 603 complete mutual communication by bus 604 respectively;
The information transfer that communication interface 603 is used between the test equipment and the communication equipment of barrage rendering device;
Processor 601 is used to call the programmed instruction in memory 602, is provided with performing above-mentioned Fig. 1 correspondences embodiment
Barrage message treatment method, for example including:Obtain the data content of barrage message and the data type of the data content
Information, wherein, the data content of the barrage message includes multiple sub-blocks;Each sub-block of data content is passed through
First separator is attached the whole data content of composition;The data type information and the whole data content are passed through
Two compartment symbol is attached, and forms barrage message.
The present invention discloses a kind of computer program product, and the computer program product can including being stored in non-transient computer
The computer program on storage medium is read, the computer program includes programmed instruction, when programmed instruction is computer-executed, meter
Calculation machine is able to carry out the barrage message treatment method that above-mentioned Fig. 1 correspondence embodiment is provided, for example including:Obtain barrage message
The data type information of data content and the data content, wherein, the data content of the barrage message includes many height
Data block;Each sub-block of data content is attached the whole data content of composition by the first separator;Will be described
Data type information and the whole data content are attached by the second separator, form barrage message.
The present invention provides a kind of non-transient computer readable storage medium storing program for executing, non-transient computer readable storage medium storing program for executing storage
Computer instruction, the computer instruction makes computer perform the barrage message treatment method that above-mentioned Fig. 1 correspondences embodiment is provided,
For example including:The data content of barrage message and the data type information of the data content are obtained, wherein, the barrage disappears
The data content of breath includes multiple sub-blocks;Each sub-block of data content is attached group by the first separator
Into whole data content;The data type information and the whole data content are attached by the second separator, shape
Into barrage message.
The barrage message resolution system provided based on above-mentioned Fig. 5 correspondence embodiments, present invention also offers a kind of barrage
The test equipment of message resolution system.Referring to Fig. 7, the test equipment of the barrage message resolution system includes:Processor
(processor) 701, memory (memory) 702, communication interface (Communications Interface) 703 and bus
704;
Wherein, processor 701, memory 702 and communication interface 703 complete mutual communication by bus 704 respectively;
The information transfer that communication interface 703 is used between the test equipment and the communication equipment of barrage rendering device;
Processor 701 is used to call the programmed instruction in memory 703, is provided with performing above-mentioned Fig. 2 correspondences embodiment
Barrage message resolution method, for example including:Barrage message is divided into two parts according to the second separator, wherein, first
It is divided into the data type information of the data content of barrage message, Part II is the data content of barrage message;By the barrage
The data content of message is divided into multiple sub-blocks according to the first separator;According to the 3rd separator to each sub-block
Segmentation obtains key assignments and property value, and exports the property value in each sub-block.
Invention additionally discloses a kind of computer program product, the computer program product includes being stored in non-transient computer
Computer program on readable storage medium storing program for executing, the computer program includes programmed instruction, when programmed instruction is computer-executed,
Computer is able to carry out the barrage message resolution method that above-mentioned Fig. 2 correspondence embodiment is provided, for example including:Call function is by bullet
Curtain message is divided into two parts according to the second separator, wherein, Part I is the data type of the data content of barrage message
Information, Part II is the data content of barrage message;Call identical function, by the data content of the barrage message according to
First separator is divided into multiple sub-blocks;Call identical function according to the 3rd separator to each sub-block again
Segmentation obtains key assignments and property value, and exports the property value in each sub-block.
The present invention also provides a kind of non-transient computer readable storage medium storing program for executing, and the non-transient computer readable storage medium storing program for executing is deposited
Computer instruction is stored up, the computer instruction makes computer perform the barrage message parsing side that above-mentioned Fig. 2 correspondences embodiment is provided
Method, for example including:Barrage message is divided into two parts by call function according to the second separator, wherein, Part I is barrage
The data type information of the data content of message, Part II is the data content of barrage message;Identical function is called, by institute
The data content for stating barrage message is divided into multiple sub-blocks according to the first separator;Identical function is called again according to
Three separators obtain key assignments and property value to the segmentation of each sub-block, and export the property value in each sub-block.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
The embodiments such as the test equipment of barrage rendering device described above are only schematical, wherein being used as separation
The unit of part description can be or may not be it is physically separate, the part shown as unit can be or
It can not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Some or all of module therein is selected to realize the purpose of this embodiment scheme the need for border.Those of ordinary skill in the art
In the case where not paying performing creative labour, you can to understand and implement.
A kind of barrage message treatment method, analytic method and system that the present invention is provided, by different separators by bullet
Curtain message each several part data cube computation together, compared with general JSON forms, the memory size shared by identical data
It is smaller, more there is higher compression ratio, disclosure satisfy that the requirement of the high concurrent of barrage message data;In the mistake parsed to barrage message
Cheng Zhong, intactly can just be parsed data, execution efficiency is very fast, and the system resource of occupancy is non-by multiple call function
It is often few, and to having the generation of many objects in the resolving of the data of general JSON forms, object is to occupy very much to be
Resource of uniting, and the analytic method of the present invention is used, it is not related to any object in whole process, is entirely that character string is entered
Capable operation, the efficiency of parsing can be higher.
Finally, the present processes are only preferably embodiment, are not intended to limit the scope of the present invention.It is all
Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc. should be included in the protection of the present invention
Within the scope of.
Claims (10)
1. a kind of barrage message treatment method, it is characterised in that including:
S1a, obtains the data content of barrage message and the data type information of the data content, wherein, the barrage disappears
The data content of breath includes multiple sub-blocks;
S2a, the whole data content of composition is attached by each sub-block of data content by the first separator;
S3a, the data type information and the whole data content are attached by the second separator, are formed barrage and are disappeared
Breath.
2. barrage message treatment method as claimed in claim 1, it is characterised in that be converted to each described sub-block
" key assignments-property value " to form, " key assignments-property value " is connected between by first separator described in each
Connect, wherein, the key assignments is the unique mark of the sub-block, and the property value is the content of the sub-block.
3. barrage message treatment method as claimed in claim 2, it is characterised in that pass through between the key assignments and property value
Three separators are attached.
4. a kind of barrage message resolution method, it is characterised in that including:
S1b, barrage message according to the second separator is divided into two parts, wherein, Part I is in the data of barrage message
The data type information of appearance, Part II is the data content of barrage message;
S2b, multiple sub-blocks are divided into by the data content of the barrage message according to the first separator;
S3b, obtains key assignments and property value, and export each subdata according to the 3rd separator to the segmentation of each sub-block
Property value in block.
5. barrage message resolution method as claimed in claim 4, it is characterised in that it is real that the segmentation is based on split () function
It is existing.
6. barrage message resolution method as claimed in claim 5, it is characterised in that also include:
The data for calling the split () function to split each time are deposited in character string dimension.
7. a kind of barrage message handling system, it is characterised in that including:
Acquisition module, for obtaining the data content of barrage message and the data type information of the data content, wherein, institute
Stating the data content of barrage message includes multiple sub-blocks;
First link block, for each sub-block of data content to be attached into the whole number of composition by the first separator
According to content;
Second link block, for the data type information and the whole data content to be connected by the second separator
Connect, form barrage message.
8. barrage message handling system as claimed in claim 7, it is characterised in that also include:
Format converting module, for by each described sub-block be converted to " key assignments-property value " to form, each institute
" key assignments-property value " is stated to be attached by first separator between, wherein, the key assignments is the sub-block
Unique mark, the property value is the content of the sub-block;
3rd link block, for will be attached between each key assignments and corresponding property value by the 3rd separator.
9. a kind of barrage message resolution system, it is characterised in that including:
First segmentation module, for barrage message to be divided into two parts according to the second separator, wherein, Part I is barrage
The data type information of the data content of message, Part II is the data content of barrage message;
Second segmentation module, for the data content of the barrage message to be divided into multiple subdatas according to the first separator
Block;
3rd segmentation module, for obtaining key assignments and property value to the segmentation of each sub-block according to the 3rd separator, and it is defeated
The property value gone out in each sub-block.
10. barrage message resolution system as claimed in claim 9, it is characterised in that also include:
Storage module, for the data split each time to be deposited in character string dimension.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710142617.0A CN106973332A (en) | 2017-03-10 | 2017-03-10 | A kind of barrage message treatment method, analytic method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710142617.0A CN106973332A (en) | 2017-03-10 | 2017-03-10 | A kind of barrage message treatment method, analytic method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106973332A true CN106973332A (en) | 2017-07-21 |
Family
ID=59329086
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710142617.0A Pending CN106973332A (en) | 2017-03-10 | 2017-03-10 | A kind of barrage message treatment method, analytic method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106973332A (en) |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322807A (en) * | 2018-02-24 | 2018-07-24 | 武汉斗鱼网络科技有限公司 | A kind of barrage methods of exhibiting and device |
CN108882006A (en) * | 2018-07-03 | 2018-11-23 | 武汉斗鱼网络科技有限公司 | A kind of conversion method of message format, device, storage medium and android terminal |
CN108933968A (en) * | 2018-07-03 | 2018-12-04 | 武汉斗鱼网络科技有限公司 | A kind of conversion method of message format, device, storage medium and android terminal |
CN108932128A (en) * | 2018-07-03 | 2018-12-04 | 武汉斗鱼网络科技有限公司 | A kind of conversion method of message format, device, storage medium and android terminal |
CN108959209A (en) * | 2018-07-03 | 2018-12-07 | 武汉斗鱼网络科技有限公司 | A kind of processing method, device, terminal and the storage medium of barrage message |
CN109005469A (en) * | 2018-07-03 | 2018-12-14 | 武汉斗鱼网络科技有限公司 | A kind of conversion method of message format, device, storage medium and android terminal |
CN109032724A (en) * | 2018-06-29 | 2018-12-18 | 武汉斗鱼网络科技有限公司 | A kind of processing method, device, terminal and the storage medium of customized barrage message |
CN109068170A (en) * | 2018-07-03 | 2018-12-21 | 武汉斗鱼网络科技有限公司 | A kind of storage method, device, terminal and the storage medium of barrage message |
CN109068183A (en) * | 2018-08-08 | 2018-12-21 | 湖南快乐阳光互动娱乐传媒有限公司 | A kind of live streaming barrage distribution method and device |
CN109086402A (en) * | 2018-07-31 | 2018-12-25 | 武汉斗鱼网络科技有限公司 | The acquisition methods of barrage head portrait URL in Android |
CN109299719A (en) * | 2018-09-30 | 2019-02-01 | 武汉斗鱼网络科技有限公司 | Barrage method of calibration, device, terminal and storage medium based on Character segmentation |
CN109325496A (en) * | 2018-09-30 | 2019-02-12 | 武汉斗鱼网络科技有限公司 | Barrage method of calibration, device, terminal and storage medium based on character removal |
CN109348305A (en) * | 2018-09-30 | 2019-02-15 | 武汉斗鱼网络科技有限公司 | A kind of method of calibration, device, terminal and the storage medium of barrage data |
CN109343968A (en) * | 2018-08-02 | 2019-02-15 | 武汉斗鱼网络科技有限公司 | A kind of method and relevant apparatus obtaining data |
CN109348304A (en) * | 2018-09-30 | 2019-02-15 | 武汉斗鱼网络科技有限公司 | A kind of method of calibration, device and the terminal of barrage data |
CN109379640A (en) * | 2018-09-30 | 2019-02-22 | 武汉斗鱼网络科技有限公司 | Barrage method of calibration, device, terminal and storage medium based on chained list mode |
CN109413506A (en) * | 2018-09-30 | 2019-03-01 | 武汉斗鱼网络科技有限公司 | A kind of method of calibration, device, terminal and the storage medium of barrage data |
CN109413451A (en) * | 2018-09-30 | 2019-03-01 | 武汉斗鱼网络科技有限公司 | A kind of method of calibration, device and the terminal of barrage data |
CN109413450A (en) * | 2018-09-30 | 2019-03-01 | 武汉斗鱼网络科技有限公司 | A kind of integrity checking method, device, terminal and the storage medium of barrage data |
CN109413505A (en) * | 2018-09-30 | 2019-03-01 | 武汉斗鱼网络科技有限公司 | A kind of method of calibration, device, terminal and the storage medium of barrage data |
CN109413452A (en) * | 2018-09-30 | 2019-03-01 | 武汉斗鱼网络科技有限公司 | Barrage method of calibration, device, terminal and storage medium based on different modes |
CN109413504A (en) * | 2018-09-30 | 2019-03-01 | 武汉斗鱼网络科技有限公司 | Barrage method of calibration, device, terminal and storage medium based on character string replacement |
CN109446679A (en) * | 2018-11-02 | 2019-03-08 | 唐山华洋环保科技有限公司 | Pollutant online monitoring data packet intelligently parsing system |
CN111614977A (en) * | 2017-12-28 | 2020-09-01 | 贵州白山云科技股份有限公司 | Method and system for optimizing text content transmission in network system |
CN116055559A (en) * | 2023-03-28 | 2023-05-02 | 广州九尾信息科技有限公司 | Data exchange format processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105430534A (en) * | 2015-10-29 | 2016-03-23 | Tcl集团股份有限公司 | Intelligent device reporting data method and system |
CN105530227A (en) * | 2014-09-30 | 2016-04-27 | 亿阳信通股份有限公司 | Interface data transmission method and device |
CN105608142A (en) * | 2015-12-17 | 2016-05-25 | 浙江大华技术股份有限公司 | Storage method and device of Json data |
US20160371661A1 (en) * | 2014-09-22 | 2016-12-22 | Payactiv, Inc. | Systems and methods for utilization of earned but unpaid income |
-
2017
- 2017-03-10 CN CN201710142617.0A patent/CN106973332A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160371661A1 (en) * | 2014-09-22 | 2016-12-22 | Payactiv, Inc. | Systems and methods for utilization of earned but unpaid income |
CN105530227A (en) * | 2014-09-30 | 2016-04-27 | 亿阳信通股份有限公司 | Interface data transmission method and device |
CN105430534A (en) * | 2015-10-29 | 2016-03-23 | Tcl集团股份有限公司 | Intelligent device reporting data method and system |
CN105608142A (en) * | 2015-12-17 | 2016-05-25 | 浙江大华技术股份有限公司 | Storage method and device of Json data |
Cited By (39)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111614977A (en) * | 2017-12-28 | 2020-09-01 | 贵州白山云科技股份有限公司 | Method and system for optimizing text content transmission in network system |
CN108322807A (en) * | 2018-02-24 | 2018-07-24 | 武汉斗鱼网络科技有限公司 | A kind of barrage methods of exhibiting and device |
CN109032724A (en) * | 2018-06-29 | 2018-12-18 | 武汉斗鱼网络科技有限公司 | A kind of processing method, device, terminal and the storage medium of customized barrage message |
CN109032724B (en) * | 2018-06-29 | 2022-06-24 | 武汉斗鱼网络科技有限公司 | Method, device, terminal and storage medium for processing user-defined bullet screen message |
CN108933968B (en) * | 2018-07-03 | 2022-02-08 | 武汉斗鱼网络科技有限公司 | Message format conversion method and device, storage medium and android terminal |
CN109005469A (en) * | 2018-07-03 | 2018-12-14 | 武汉斗鱼网络科技有限公司 | A kind of conversion method of message format, device, storage medium and android terminal |
CN108959209A (en) * | 2018-07-03 | 2018-12-07 | 武汉斗鱼网络科技有限公司 | A kind of processing method, device, terminal and the storage medium of barrage message |
CN109068170A (en) * | 2018-07-03 | 2018-12-21 | 武汉斗鱼网络科技有限公司 | A kind of storage method, device, terminal and the storage medium of barrage message |
CN108932128A (en) * | 2018-07-03 | 2018-12-04 | 武汉斗鱼网络科技有限公司 | A kind of conversion method of message format, device, storage medium and android terminal |
CN108959209B (en) * | 2018-07-03 | 2022-06-21 | 武汉斗鱼网络科技有限公司 | Barrage message processing method and device, terminal and storage medium |
CN108933968A (en) * | 2018-07-03 | 2018-12-04 | 武汉斗鱼网络科技有限公司 | A kind of conversion method of message format, device, storage medium and android terminal |
CN109005469B (en) * | 2018-07-03 | 2021-07-23 | 武汉斗鱼网络科技有限公司 | Message format conversion method and device, storage medium and android terminal |
CN108882006A (en) * | 2018-07-03 | 2018-11-23 | 武汉斗鱼网络科技有限公司 | A kind of conversion method of message format, device, storage medium and android terminal |
CN109086402A (en) * | 2018-07-31 | 2018-12-25 | 武汉斗鱼网络科技有限公司 | The acquisition methods of barrage head portrait URL in Android |
CN109343968A (en) * | 2018-08-02 | 2019-02-15 | 武汉斗鱼网络科技有限公司 | A kind of method and relevant apparatus obtaining data |
CN109343968B (en) * | 2018-08-02 | 2020-09-04 | 武汉斗鱼网络科技有限公司 | Method and related device for acquiring data |
CN109068183A (en) * | 2018-08-08 | 2018-12-21 | 湖南快乐阳光互动娱乐传媒有限公司 | A kind of live streaming barrage distribution method and device |
CN109413450A (en) * | 2018-09-30 | 2019-03-01 | 武汉斗鱼网络科技有限公司 | A kind of integrity checking method, device, terminal and the storage medium of barrage data |
CN109348304B (en) * | 2018-09-30 | 2021-04-27 | 武汉斗鱼网络科技有限公司 | Bullet screen data verification method and device and terminal |
CN109413505A (en) * | 2018-09-30 | 2019-03-01 | 武汉斗鱼网络科技有限公司 | A kind of method of calibration, device, terminal and the storage medium of barrage data |
CN109413452A (en) * | 2018-09-30 | 2019-03-01 | 武汉斗鱼网络科技有限公司 | Barrage method of calibration, device, terminal and storage medium based on different modes |
CN109413504A (en) * | 2018-09-30 | 2019-03-01 | 武汉斗鱼网络科技有限公司 | Barrage method of calibration, device, terminal and storage medium based on character string replacement |
CN109299719A (en) * | 2018-09-30 | 2019-02-01 | 武汉斗鱼网络科技有限公司 | Barrage method of calibration, device, terminal and storage medium based on Character segmentation |
CN109413506A (en) * | 2018-09-30 | 2019-03-01 | 武汉斗鱼网络科技有限公司 | A kind of method of calibration, device, terminal and the storage medium of barrage data |
CN109379640A (en) * | 2018-09-30 | 2019-02-22 | 武汉斗鱼网络科技有限公司 | Barrage method of calibration, device, terminal and storage medium based on chained list mode |
CN109413504B (en) * | 2018-09-30 | 2021-04-09 | 武汉斗鱼网络科技有限公司 | Bullet screen checking method, device, terminal and storage medium based on character string replacement |
CN109379640B (en) * | 2018-09-30 | 2021-04-27 | 武汉斗鱼网络科技有限公司 | Bullet screen checking method and device based on linked list mode, terminal and storage medium |
CN109348305B (en) * | 2018-09-30 | 2021-04-27 | 武汉斗鱼网络科技有限公司 | Bullet screen data verification method and device, terminal and storage medium |
CN109413451A (en) * | 2018-09-30 | 2019-03-01 | 武汉斗鱼网络科技有限公司 | A kind of method of calibration, device and the terminal of barrage data |
CN109413505B (en) * | 2018-09-30 | 2021-04-27 | 武汉斗鱼网络科技有限公司 | Bullet screen data verification method and device, terminal and storage medium |
CN109413506B (en) * | 2018-09-30 | 2021-06-11 | 武汉斗鱼网络科技有限公司 | Bullet screen data verification method and device, terminal and storage medium |
CN109348304A (en) * | 2018-09-30 | 2019-02-15 | 武汉斗鱼网络科技有限公司 | A kind of method of calibration, device and the terminal of barrage data |
CN109299719B (en) * | 2018-09-30 | 2021-07-23 | 武汉斗鱼网络科技有限公司 | Bullet screen checking method and device based on character segmentation, terminal and storage medium |
CN109325496B (en) * | 2018-09-30 | 2021-07-23 | 武汉斗鱼网络科技有限公司 | Bullet screen checking method and device based on character removal, terminal and storage medium |
CN109348305A (en) * | 2018-09-30 | 2019-02-15 | 武汉斗鱼网络科技有限公司 | A kind of method of calibration, device, terminal and the storage medium of barrage data |
CN109325496A (en) * | 2018-09-30 | 2019-02-12 | 武汉斗鱼网络科技有限公司 | Barrage method of calibration, device, terminal and storage medium based on character removal |
CN109446679A (en) * | 2018-11-02 | 2019-03-08 | 唐山华洋环保科技有限公司 | Pollutant online monitoring data packet intelligently parsing system |
CN116055559A (en) * | 2023-03-28 | 2023-05-02 | 广州九尾信息科技有限公司 | Data exchange format processing method and device |
CN116055559B (en) * | 2023-03-28 | 2023-12-22 | 广州九尾智能科技有限公司 | Data exchange format processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106973332A (en) | A kind of barrage message treatment method, analytic method and system | |
CN102314460B (en) | Data analysis method and system and servers | |
CN101772760B (en) | Database management program and database management device | |
CN107807982B (en) | Consistency checking method and device for heterogeneous database | |
CN106294222A (en) | A kind of method and device determining PCIE device and slot corresponding relation | |
CN106407407A (en) | A file tagging system and method | |
CN104298736A (en) | Method and device for aggregating and connecting data as well as database system | |
CN103714086A (en) | Method and device used for generating non-relational data base module | |
CN105868169A (en) | Data acquisition interface and data acquisition method and system | |
CN104317850A (en) | Data processing method and device | |
CN111639120A (en) | Method, device and equipment for forming graph of architecture view and readable storage medium | |
CN115329556A (en) | Transformer substation CAD drawing auditing method and device | |
CN106341731A (en) | Method and device for responding to remote-control key of intelligent television | |
CN107301203B (en) | Mass data comparison method and system | |
CN104298570B (en) | Data processing method and device | |
CN117093619A (en) | Rule engine processing method and device, electronic equipment and storage medium | |
CN110727565B (en) | Network equipment platform information collection method and system | |
CN106649310A (en) | Data acquisition method and device | |
CN109343993A (en) | A kind of error message processing method and processing device of cloud platform | |
CN106446046B (en) | A method of quickly analysis records in time in relational database | |
CN105551500B (en) | A kind of acoustic signal processing method and device | |
CN103678117B (en) | Data transition tracking equipment and data transition tracking method | |
CN103970792A (en) | Index-based file comparison method and device | |
CN109785099B (en) | Method and system for automatically processing service data information | |
CN108664604B (en) | Method for realizing minimum data splitting storage and service calling presentation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170721 |
|
RJ01 | Rejection of invention patent application after publication |