CN105933375A - Method, device and server for monitoring microphone connecting conversation - Google Patents
Method, device and server for monitoring microphone connecting conversation Download PDFInfo
- Publication number
- CN105933375A CN105933375A CN201610196709.2A CN201610196709A CN105933375A CN 105933375 A CN105933375 A CN 105933375A CN 201610196709 A CN201610196709 A CN 201610196709A CN 105933375 A CN105933375 A CN 105933375A
- Authority
- CN
- China
- Prior art keywords
- wheat
- session
- target
- mark
- state table
- 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1069—Session establishment or de-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1083—In-session procedures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/611—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the invention discloses a method for monitoring microphone connecting conversation, and the method comprises the steps: a server can periodically query a target conversation identifier of a target microphone connecting conversation in a microphone connecting state table; if the target conversation identifier exists in a microphone connecting timing table is judged; wherein the microphone connecting state table is used for saving the conversation identifier of the microphone connecting conversation in a communication state, and the microphone connecting timing table is used for saving the time point of the conversation identifier and the related conversation identifier firstly queried in the microphone connecting state table; if yes, the server acquires the time point of the target conversation identifier queried in the microphone connecting state table and the time point of the target conversation identifier saved in the microphone connecting timing table; and the server determines the duration time of the target microphone connecting conversation according to the above two time points. The embodiment of the invention also discloses a monitoring device and a server. According to the invention, the method is adopted to monitor and count the state of the microphone connecting conversation in real time.
Description
Technical field
The present invention relates to network direct broadcasting field, particularly relate to a kind of even monitoring method of wheat state, device kimonos
Business device.
Background technology
Along with popularizing of the Internet, the internet, applications of Streaming Media is widely developed.Network direct broadcasting conduct
The important composition form of Streaming Media, the content abundant with it and the increasing user of interactive attraction participate in.
In live plateform system, in order to increase main broadcaster popularity and cultivate new main broadcaster, occur in that two main broadcasters it
Between carry out the form of even wheat, the main broadcaster of the company of participation wheat can show local Media Stream in the main broadcaster's client of oneself
With the Media Stream of another main broadcaster, enrich the form of expression of live platform greatly.But all the time,
Lack certain means to carry out determining statistics of variables to the relevant parameter of Lian Maijin.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, it is provided that the monitoring method of a kind of even wheat session,
Device and server.In real time even wheat session can be monitored and adds up
In order to solve above-mentioned technical problem, embodiments provide the monitoring method of a kind of even wheat session,
Including:
Server periodic queries connect wheat state table exists target connect wheat session target session mark;
Judge to connect in wheat chronometer and whether there is described target session mark;Wherein, described even wheat state table is used
In the session identification of company's wheat session of storage connected state, described even wheat chronometer is used for being stored in described even wheat
The time point of the session identification inquired first in state table and the session identification of association;
If it is, described server obtains inquires described target session mark in described even wheat state table
Time point, and obtain the time point of the described target session mark of storage in described even wheat chronometer;
According to above-mentioned two time point, described server determines that described target connects the persistent period of wheat session.
Correspondingly, the embodiment of the present invention additionally provides the monitoring device of a kind of even wheat session, including:
Enquiry module, connects for periodic queries and there is target in wheat state table and connect the target session mark of wheat session
Know;
Judge module, is used for judging to connect in wheat chronometer whether there is described target session mark;Wherein, institute
The company's of stating wheat state table is for storing the session identification of company's wheat session of connected state, and described even wheat chronometer is used for
It is stored in described even wheat state table time point and the session identification of association of the session identification inquired first;
Acquisition module, if the judged result for described judge module is yes, obtains at described even wheat state table
In inquire the time point of described target session mark, and obtain the described of storage in described even wheat chronometer
The time point of target session mark;
Determine module, for determining that described target connects the persistent period of wheat session according to above-mentioned two time point.
Implement the embodiment of the present invention, have the advantages that
Server is by knowing the state of even wheat session, Yi Jitong to the inquiry of session identification in even wheat state table
Cross the time point to the even session identification that wheat chronometer inquires and the comparison of current point in time, know Lian Maihui
The persistent period of words, can be monitored in real time and accurately to even wheat session.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement
In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below
In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying
On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of Living Network configuration diagram disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of a kind of even monitoring method of wheat session that the embodiment of the present invention provides;
Fig. 3 is another schematic flow sheet of a kind of even monitoring method of wheat session that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of even supervising device of wheat session that the embodiment of the present invention provides;
Fig. 5 is another structural representation of a kind of even supervising device of wheat session that the embodiment of the present invention provides;
Fig. 6 is the another structural representation of a kind of even supervising device of wheat session that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation
The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
In order to be best understood from monitoring method, device and the service of a kind of even wheat session disclosed in the embodiment of the present invention
Device, the Living Network framework being the most first suitable for the embodiment of the present invention is described.Referring to Fig. 1, Fig. 1 is
A kind of Living Network framework schematic diagram disclosed in the embodiment of the present invention.As it is shown in figure 1, this Living Network framework
Can include service equipment and multiple client, wherein, service equipment is also claimed background server, assembly
Servers etc., service equipment can be communicatively coupled with multiple clients by the Internet.
In the Living Network framework shown in Fig. 1, the part client in multiple clients can be as main broadcaster
Client, and remaining client can be as spectator client.In the embodiment of the present invention, channel is briefly
It is exactly a kind of Virtual Space (or virtual room) of service equipment establishment, is positioned at the spectators visitor of this Virtual Space
Family end can not only watch the live content of main broadcaster's client, it is also possible to carries out voice or literary composition with main broadcaster's client
Word mutual.Main broadcaster's client not only has access to remaining spectator client accessed in its channel, kicks out of
Control, also has live initiative.In the embodiment of the present invention, main broadcaster's client, spectator client are permissible
Realization includes gathering the several functions such as group chat, net cast, channel K song, game on line, online video display.
In the Living Network framework shown in Fig. 1, main broadcaster's client, spectator client may operate in include but not
Be limited to mobile phone, removable computer, panel computer, personal digital assistant (Personal Digital Assistant,
PDA), on the subscriber equipment such as media player, intelligent television, intelligent watch, intelligent glasses, Intelligent bracelet.
See Fig. 2, the schematic flow sheet of the monitoring method of a kind of even wheat session provided for the embodiment of the present invention,
In embodiments of the present invention, described method includes:
S201, server lookup connect the situation that there is the target session mark that target connects wheat session in wheat state table
Under, it is judged that whether wheat chronometer even exists target session mark.
Concrete, even wheat session represents the company wheat set up between first main broadcaster's client and second main broadcaster's client
Connecting, even the process of setting up of wheat session can be: server receives first main broadcaster's client or the second main broadcaster visitor
Family end is initiated even wheat and is invited, and is determining that first main broadcaster's client or second main broadcaster's client have corresponding operation
In the case of authority, the video flowing that first main broadcaster's client is issued is transmitted to second main broadcaster's client by server,
And the video flowing that second main broadcaster's client is issued is transmitted to first main broadcaster's client, make the first main broadcaster client
End and second main broadcaster's client show first main broadcaster's client and second main broadcaster's client respectively on same interface
The video flowing issued, the now company's of being successfully established wheat session between first main broadcaster's client and second main broadcaster's client,
Company's wheat session between i.e. first main broadcaster's client and second main broadcaster's client is connected state.Even wheat state table
For storing the session identification of company's wheat session of connected state, session identification connects wheat session for unique expression
Identity, including: the terminal iidentification of first main broadcaster's client, the terminal iidentification and first of second main broadcaster's client
The channel identication (including main channel mark and sub-channel identication) of main broadcaster's client and second main broadcaster's client, as
Fruit connects wheat session and is converted to off-state by connected state, then connect in wheat state table that this connects the meeting that wheat session is corresponding
Words mark is deleted.The session identification that even wheat chronometer inquires first for storage in even wheat state table
Time point.Session identification in the server periodically company of inquiry wheat state table, target session is designated even wheat
Any one session identification in state table, server lookup connects and there is target session mark in wheat state table
In the case of, continue to judge to connect in wheat chronometer whether there is target session mark, even wheat state table exists mesh
It is divided into two kinds of situations: one is that this target session is designated and is queried to first, and upper one looks into during mark session identification
Inquiry time point connects and there is not this target session mark in wheat state table, and the target that i.e. target session mark is corresponding is even
Wheat session is newly-built;Another kind is to connect during last inquiry to there is this target session mark in wheat state table,
I.e. target connects wheat session and continues for some time.Meanwhile, server inquires target meeting in even wheat state table
Words mark, showing that target connects wheat session is connected state.
S202 inquires, in even wheat state table, the time point that target session identifies if it is, server obtains,
And the time point of the target session mark of storage in the company's of acquisition wheat chronometer.
Concrete, if connected, wheat chronometer exists target session mark, it is not new for showing that target connects wheat session
Building, there is a period of time, server target session in inquiry even wheat state table generates also when identifying
Logging timestamp, obtains the time point of inquiry target session mark, and the company of acquisition according to the timestamp of record
, even there is session identification and association in wheat chronometer in the time point of the target session mark of storage in wheat chronometer
Time point.
According to above-mentioned two time point, S203, server determine that target connects the persistent period of wheat session.
Concrete, according to the time interval between two time points, server can determine that target connects holding of wheat session
The continuous time, server can be that judgment condition performs corresponding trigger action according to the persistent period.
From above-described embodiment it can be seen that server is by knowing the inquiry of session identification even wheat state table
The even state of wheat session, and by the time point of the session identification that company's wheat chronometer inquires and current time
Between the comparison of point, know the persistent period of even wheat session, can supervise in real time and accurately to company's wheat session
Survey.
See Fig. 3, for the monitoring method of a kind of even wheat session that the embodiment of the present invention provides, implement in the present invention
In example, described method includes:
When S301, server receive for setting up request that target connects wheat session, set up target and connect wheat session,
And the target session mark that target connects wheat session stores to even wheat state table.
Concrete, first main broadcaster's user end to server is initiated to set up target and is connected the request of wheat session, server
Forwarding the request to second main broadcaster's client, after second main broadcaster's client agrees to this request, server is
Setting up target between one main broadcaster's client and second main broadcaster's client and connect wheat session, server is by the first main broadcaster visitor
The video flowing that family end is issued is transmitted to second main broadcaster's client, and the video second main broadcaster's client issued
First main broadcaster's client is issued in circulation, makes first main broadcaster's client and second main broadcaster's client respectively on same boundary
Video flowing and the video flowing of second main broadcaster's client issue of first main broadcaster's client issue is shown on face,.Example
As, interface is arranged side by side two broadcast windows, two broadcast windows show the first main broadcaster client respectively
The video flowing that the video flowing of end issue and second main broadcaster's client are issued, or use other mode same
Showing the video flowing that two main broadcaster's clients are issued on interface, the present invention is not restricted.Target session mark is used
In unique mark representing even wheat session, the terminal iidentification of first main broadcaster's client, the second main broadcaster visitor can be wrapped
The terminal iidentification of family end, the channel identication at first main broadcaster's client place and the frequency at second main broadcaster's client place
Road identifies, and after target connects the success of wheat session establishment, the target session mark that target connects wheat session stores to even
In wheat state table, the even session identification of only company's wheat session of storage connected state in wheat state table.
It should be noted that be successfully established target in first main broadcaster's client and second main broadcaster's client to connect wheat meeting
After words are set up, the spectator client in the channel at first main broadcaster's client and second main broadcaster's client place is also same
The video flowing that step two main broadcaster's clients of display are issued.
When S302, server receive for disconnecting request that target connects wheat session, by target session mark from even
Wheat state table is deleted.
Concrete, server receives first main broadcaster's client or second main broadcaster's client sends works as disconnecting
When front target connects the request of wheat session, stop forwarding second main broadcaster's client to issue to first main broadcaster's client
Video flowing, and stop to second main broadcaster's client forward first main broadcaster's client issue video flowing, this
Time first main broadcaster's client and second main broadcaster's client between target to connect wheat session be off-state, server
Need the target session that target connects wheat session to connect in wheat state table in identifying to delete.
S303, server lookup connect and there is target in wheat state table and connect the target session mark of wheat session.
Concrete, there is target in the server periodically company of inquiry wheat state table and connect wheat session, show target
It is connected state that the target that even wheat session is corresponding connects wheat session current point in time.
S304, judge even whether wheat chronometer exists target session mark.
Concrete, wheat chronometer even stores the time of the session identification inquired in even wheat state table first
Point and the session identification associated, server judges to connect in wheat chronometer whether there is target session mark, if
Exist, show that target connects wheat session persistence a period of time, be not newly-built;If it does not, show mesh
Mark during session connection newly-built.
S305, current point in time and target session are identified store to even wheat chronometer.
Concrete, in the case of the judged result of S304 is no, server is by current point in time and target meeting
Words mark stores to even wheat chronometer after being associated.
S206, server connect the connected state of wheat session to default associated process notice target.
The process that associated process is the relevant parameter of the company of subscription wheat session that is concrete, that preset, server to
The associated process preset or business module notice target connect the connected state of wheat session, associated process or business mould
Block learns when receiving this notice that target connects the foundation of wheat session.
S307, server obtain the time point inquiring target session mark in even wheat state table, and obtain
The time point of the target session mark of storage in the company's of taking wheat chronometer.
Concrete, in the case of the judged result of S304 is no, server obtains and connects target in wheat state table
The time point of session identification, and inquire in even wheat state table target session mark time point (i.e. when
Front time point).
According to above-mentioned two time point, S308, server determine that target connects the persistent period of wheat session.
Concrete, according to the time interval between two time points, server determines that target connects holding of wheat session
The continuous time, target connects the persistent period of wheat session and represents that target connects wheat session and keeps the time of connected state.
S309, server lookup connect when there is not target session mark in wheat state table, obtain the current time
The time point of the target session mark of storage in point, and the company's of acquisition wheat chronometer.
Concrete, in the query script of next time, there is not target session mark in the company's of discovery wheat state table in server
During knowledge, showing that target connects wheat session is off-state, and server obtains current time point and Lian Mai chronometer
The time point of the target session mark of middle storage.
According to above-mentioned two time point, S310, server determine that target connects the life span of wheat session.
Concrete, target connects the life span of wheat session and represents that target connects wheat session and switched to by connected state disconnected
The time of open state.
S311, server are deleted and are connected target session mark and the time point of target session mark in wheat chronometer.
Concrete, target connects wheat session when being off-state, and server delete target connects the target meeting of wheat session
Words mark and time point.
S312, server connect off-state and the life span of wheat session to default associated process notice target.
Concrete, to default associated process or business module, server notifies that target connects the disconnection shape of wheat session
It is off-state and life that state, associated process or business module learn when receiving this notice that target connects wheat session
Depositing the time, associated process or business module are according to the corresponding business operation of this notification triggers.
It is understood that the polling cycle that server lookup connects wheat state table is the least, the target calculated
Even the persistent period of wheat session and the precision of life span are the highest, but the process expense of server also can simultaneously
Accordingly increase, in order to take into account precision and expense, can be set to polling cycle as required reasonably be worth,
Such as: the polling cycle of server is set to 1s, i.e. server once connects wheat state table every 1s inquiry.
The embodiment of the present invention illustrates as a example by one session identification of server lookup, in actual application,
Multiple session identifications in even wheat state table can be inquired about by server simultaneously, will connect in wheat chronometer simultaneously
Session identification compare, can obtain starting even wheat set, persistently connect wheat set and disconnect even wheat set,
Start even wheat set and include newly-built company's wheat session, persistently connect wheat set and include keeping the company of connection status
Wheat session, disconnects even wheat set and includes company's wheat set of off-state, and it is real that concrete principle can refer to the present invention
Executing the description of example, here is omitted.
It should be noted that be executed in parallel, i.e. S301-S302 between S301-S302 and S303-S312
Sub-process separate with the sub-process of S303-S312, be not carried out difference sequentially.
Below the monitoring method of company's wheat session of the present invention is illustrated by specific embodiment, it is assumed that inquiry
Cycle is 1s, and server inquire to connect in wheat state table at time point t1 and there is Session ID1, in order to determine
Whether Session ID1 is to occur first, and server judges whether Session ID1 in even wheat chronometer,
If it does, show that company's wheat session corresponding for Session ID1 has existed certain time, the company's of acquisition wheat chronometer
In the time point t2 of Session ID1, calculate the time interval conduct between time point t1 to time point t2
The persistent period of company's wheat session corresponding for Session ID1, owing to polling cycle is 1s, it is known that calculate
Persistent period is the integral multiple of 1s.If even wheat chronometer not existing Session ID1, show Session ID1
Corresponding company's wheat session is newly-built, server store after Session ID1 and time point t1 is associated to
Even wheat time point, server notifies company's wheat session corresponding for Session ID1 to associated process or business module
Connected state.
Assume that server inquires to connect in wheat state table at time point t1 and there is Session ID1, at time point t3
There is not Session ID1 in the company's of inquiring wheat state table, server obtains the Session connected in wheat chronometer
The time point t2 of ID1, determines Session ID1 couple according to the time interval between time point t2 to time point t1
The life span of the company's wheat session answered, then the Session ID1 in the company's of deletion wheat chronometer and the time of association
Point t1, server notifies off-state and the existence of Session ID1 to relevant business process or business module
Time.
From above-described embodiment it can be seen that server is by knowing the inquiry of session identification even wheat state table
The even state of wheat session, and by the time point of the session identification that company's wheat chronometer inquires and current time
Between the comparison of point, know the persistent period of even wheat session, can supervise in real time and accurately to company's wheat session
Survey.
See Fig. 4, the structural representation of the monitoring device of a kind of even wheat session provided for the embodiment of the present invention,
The monitoring device of the embodiment of the present invention is for performing the detection method of a kind of even wheat session in Fig. 2, involved
Term and process can refer to the description of Fig. 2 embodiment.Monitoring device includes: enquiry module 40, judge mould
Block 41, acquisition module 42 and determine module 43.
Enquiry module 40, connects for periodic queries and there is target in wheat state table and connect the target session of wheat session
Mark.
Judge module 41, is used for judging to connect in wheat chronometer whether there is described target session mark;Wherein,
Described even wheat state table is for storing the session identification of company's wheat session of connected state, and described even wheat chronometer is used
In the time point and the session mark of association that are stored in described even wheat state table the session identification inquired first
Know.
Acquisition module 42, if the judged result for described judge module is yes, obtains in described even wheat state
Table inquires the time point of described target session mark, and obtains the institute of storage in described even wheat chronometer
State the time point of target session mark.
Determine module 43, for determining that described target connects the persistent period of wheat session according to above-mentioned two time point.
The embodiment of the method for the embodiment of the present invention and Fig. 2 based on same design, its technique effect brought also phase
With, detailed process can refer to the description of embodiment of the method one, and here is omitted.
See Fig. 5, for a structural representation of a kind of even monitoring device of wheat session that the embodiment of the present invention provides
Figure, the monitoring device of the embodiment of the present invention is for performing the detection method of a kind of even wheat session in Fig. 3, institute
The term related to and process can refer to the description of Fig. 3 embodiment.Monitoring device is except including: enquiry module 40,
Judge module 41, acquisition module 42 and determine outside module 43, also include: pretreatment module 44, first
Notification module 45 and the second notification module 46.
Optionally, monitoring modular 4 also includes:
Pretreatment module 44, during for receiving for setting up request that described target connects wheat session, sets up described
Target connects wheat session, and the target session mark that described target connects wheat session stores to described even wheat state
In table;Or
When receiving the request for disconnecting the connection session of described target, described target session is identified from described company
Wheat state table is deleted.
Optionally, monitoring modular also includes:
First notification module 45, if there is not described target session mark in described even wheat chronometer, will
Current point in time and described target session mark store to described even wheat chronometer;To default associated process
Notify that described target connects the connected state of wheat session.
Optionally, monitoring modular also includes:
Second notification module 46, is used for inquiring about when there is not described target session mark in described even wheat state table,
Obtain current time point, and obtain the described target session mark of storage in described even wheat chronometer time
Between point;
Determine that described target connects the life span of wheat session according to above-mentioned two time point;
Delete the described target session mark in described even wheat chronometer and the time of described target session mark
Point;
Notify that described target connects the off-state of wheat session and described life span to default associated process.
Optionally, there is target connect wheat meeting for connecting with the cyclic polling of 1 second in enquiry module 40 in wheat state table
The target session mark of words.
The embodiment of the method two of the embodiment of the present invention and Fig. 3 is based on same design, and its technique effect brought is also
Identical, concrete principle can refer to the description of the embodiment two of method Fig. 3, and here is omitted.
Seeing Fig. 6, the another structural representation of a kind of monitoring device provided for the embodiment of the present invention, at this
In bright embodiment, monitoring device includes processor 601, memorizer 602 and transceiver 603.Transceiver 603
Transceiving data between external equipment.The quantity of the processor 601 in monitoring device can be one or
Multiple.In some embodiments of the present invention, processor 601, memorizer 602 and transceiver 603 can be by total
Wire system or other modes connect.Monitoring device may be used for the method shown in Fig. 2 that performs.About this enforcement
The implication of the term that example relates to and citing, be referred to embodiment corresponding to Fig. 2.Here is omitted.
Wherein, memorizer 602 stores program code.Processor 601 is used for calling in memorizer 602 to be deposited
The program code of storage, is used for performing following operation:
Periodic queries connect wheat state table exists target connect wheat session target session mark;
Judge to connect in wheat chronometer and whether there is described target session mark;Wherein, described even wheat state table is used
In the session identification of company's wheat session of storage connected state, described even wheat chronometer is used for being stored in described even wheat
The time point of the session identification inquired first in state table and the session identification of association;
If it is, obtain the time point inquiring described target session mark in described even wheat state table, with
And obtain the time point of the described target session mark of storage in described even wheat chronometer;
Determine that described target connects the persistent period of wheat session according to above-mentioned two time point.
In a kind of possible embodiment, processor 601 performs periodic queries and connects existence in wheat state table
Before target connects the target session mark of wheat session, it is additionally operable to perform:
When receiving for setting up request that described target connects wheat session, set up described target and connect wheat session, and
The target session mark that described target connects wheat session stores to described even wheat state table;Or
When receiving the request for disconnecting the connection session of described target, described target session is identified from described company
Wheat state table is deleted.
In a kind of possible embodiment, processor 601 is additionally operable to perform:
If there is not described target session mark, by current point in time and described target in described even wheat chronometer
Session identification stores to described even wheat chronometer;
Notify that described target connects the connected state of wheat session to default associated process.
In a kind of possible embodiment, processor 601 performs described to determine according to above-mentioned two time point
After described target connects the persistent period of wheat session, it is additionally operable to perform:
Inquire about time described even wheat state table does not exist described target session mark, obtain current time point,
And obtain the time point of the described target session mark of storage in described even wheat chronometer;
Determine that described target connects the life span of wheat session according to above-mentioned two time point;
Delete the described target session mark in described even wheat chronometer and the time of described target session mark
Point;
Notify that described target connects the off-state of wheat session and described life span to default associated process.
In a kind of possible embodiment, processor 601 performs described periodic queries and connects in wheat state table
Exist target connect wheat session target session mark include:
Connect with the cyclic polling of 1 second wheat state table exists target connect wheat session target session mark.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method,
Can be by computer program and complete to instruct relevant hardware, described program can be stored in a calculating
In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.
Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory,
Or random store-memory body (Random Access Memory, RAM) etc. ROM).
Above disclosed only one preferred embodiment of the present invention, can not limit this with this certainly
Bright interest field, one of ordinary skill in the art will appreciate that all or part of stream realizing above-described embodiment
Journey, and according to the equivalent variations that the claims in the present invention are made, still fall within the scope that invention is contained.
Claims (11)
1. the monitoring method of company wheat session, it is characterised in that including:
Server periodic queries connect wheat state table exists target connect wheat session target session mark;
Judge to connect in wheat chronometer and whether there is described target session mark;Wherein, described even wheat state table is used
In the session identification of company's wheat session of storage connected state, described even wheat chronometer is used for being stored in described even wheat
The time point of the session identification inquired first in state table and the session identification of association;
If it is, described server obtains inquires described target session mark in described even wheat state table
Time point, and obtain the time point of the described target session mark of storage in described even wheat chronometer;
According to above-mentioned two time point, described server determines that described target connects the persistent period of wheat session.
2. the method for claim 1, it is characterised in that described server periodic queries connects wheat shape
Before state table exists the target session mark that target connects wheat session, also include:
When described server receives for setting up request that described target connects wheat session, set up described target and connect wheat
Session, and the target session mark that described target connects wheat session stores to described even wheat state table;Or
When described server receives the request for disconnecting the connection session of described target, by described target session mark
Know and delete from described even wheat state table.
3. the method for claim 1, it is characterised in that also include:
If there is not described target session mark, by current point in time and described target in described even wheat chronometer
Session identification stores to described even wheat chronometer;
To default associated process, described server notifies that described target connects the connected state of wheat session.
4. the method for claim 1, it is characterised in that described determine according to above-mentioned two time point
After described target connects the persistent period of wheat session, also include:
Connect time wheat state table does not exist described target session mark described in described server lookup, obtain current
Time point, and obtain the time point of the described target session mark of storage in described even wheat chronometer;
According to above-mentioned two time point, described server determines that described target connects the life span of wheat session;
Described server deletes the described target session mark in described even wheat chronometer and described target session mark
The time point known;
To default associated process, described server notifies that described target connects the off-state of wheat session and described life
Deposit the time.
5. the method as described in claim 1-4 any one, it is characterised in that described server is periodically
Inquiry even wheat state table exists target connect the target session mark of wheat session and include:
Described server connects with the cyclic polling of 1 second and there is target in wheat state table and connect the target session of wheat session
Mark.
6. the monitoring device of company wheat session, it is characterised in that including:
Enquiry module, connects for periodic queries and there is target in wheat state table and connect the target session mark of wheat session
Know;
Judge module, is used for judging to connect in wheat chronometer whether there is described target session mark;Wherein, institute
The company's of stating wheat state table is for storing the session identification of company's wheat session of connected state, and described even wheat chronometer is used for
It is stored in described even wheat state table time point and the session identification of association of the session identification inquired first;
Acquisition module, if the judged result for described judge module is yes, obtains at described even wheat state table
In inquire the time point of described target session mark, and obtain the described of storage in described even wheat chronometer
The time point of target session mark;
Determine module, for determining that described target connects the persistent period of wheat session according to above-mentioned two time point.
7. monitoring device as claimed in claim 6, it is characterised in that also include:
Pretreatment module, during for receiving for setting up request that described target connects wheat session, sets up described mesh
Mark connects wheat session, and the target session mark that described target connects wheat session stores to described even wheat state table
In;Or
When receiving the request for disconnecting the connection session of described target, described target session is identified from described company
Wheat state table is deleted.
8. monitoring device as claimed in claim 6, it is characterised in that also include:
First notification module, if there is not described target session mark in described even wheat chronometer, ought
Front time point and described target session mark store to described even wheat chronometer;Lead to default associated process
Know that described target connects the connected state of wheat session.
9. monitoring device as claimed in claim 6, it is characterised in that also include:
Second notification module, is used for inquiring about when there is not described target session mark in described even wheat state table,
Obtain current time point, and obtain the described target session mark of storage in described even wheat chronometer time
Between point;
Determine that described target connects the life span of wheat session according to above-mentioned two time point;
Delete the described target session mark in described even wheat chronometer and the time of described target session mark
Point;
Notify that described target connects the off-state of wheat session and described life span to default associated process.
10. the monitoring device as described in claim 6-9 any one, it is characterised in that described enquiry module
For connect with the cyclic polling of 1 second wheat state table exists target connect wheat session target session mark.
11. 1 kinds of servers, it is characterised in that include the device as described in claim 6-10 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610196709.2A CN105933375B (en) | 2016-03-30 | 2016-03-30 | Method and device for monitoring microphone connection session and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610196709.2A CN105933375B (en) | 2016-03-30 | 2016-03-30 | Method and device for monitoring microphone connection session and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105933375A true CN105933375A (en) | 2016-09-07 |
CN105933375B CN105933375B (en) | 2019-12-24 |
Family
ID=56840067
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610196709.2A Active CN105933375B (en) | 2016-03-30 | 2016-03-30 | Method and device for monitoring microphone connection session and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105933375B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106454537A (en) * | 2016-10-14 | 2017-02-22 | 广州华多网络科技有限公司 | Live video streaming method and relevant equipment |
CN106488251A (en) * | 2016-10-19 | 2017-03-08 | 北京小米移动软件有限公司 | Realize the live middle even method and device of wheat, main broadcaster's client and subscription client |
CN106485539A (en) * | 2016-09-18 | 2017-03-08 | 百川通联(北京)网络技术有限公司 | A kind of method and system preventing advertisement cheating |
CN107846633A (en) * | 2016-09-18 | 2018-03-27 | 腾讯科技(深圳)有限公司 | A kind of live broadcasting method and system |
CN107995187A (en) * | 2017-11-30 | 2018-05-04 | 上海哔哩哔哩科技有限公司 | Video main broadcaster, live broadcasting method, terminal and system based on HTML5 browsers |
CN108259448A (en) * | 2016-12-30 | 2018-07-06 | 广州华多网络科技有限公司 | The method and device of abnormal broken line during a kind of company of preventing wheat |
CN108306942A (en) * | 2018-01-09 | 2018-07-20 | 武汉斗鱼网络科技有限公司 | Communication means, storage medium, electronic equipment and the system that multi-user is broadcast live simultaneously |
CN108989864A (en) * | 2018-07-24 | 2018-12-11 | 武汉斗鱼网络科技有限公司 | A kind of even wheat method, apparatus, equipment and storage medium |
CN110392311A (en) * | 2018-04-18 | 2019-10-29 | 武汉斗鱼网络科技有限公司 | Even wheat methods of exhibiting, storage medium, even wheat server, client and system |
CN113259429A (en) * | 2021-05-11 | 2021-08-13 | 鸬鹚科技(深圳)有限公司 | Session keeping control method, device, computer equipment and medium |
CN113810775A (en) * | 2021-09-13 | 2021-12-17 | 上海哔哩哔哩科技有限公司 | Voice and video connection system and method |
CN114554230A (en) * | 2020-11-27 | 2022-05-27 | 北京字节跳动网络技术有限公司 | Continuous microphone state processing method and device, terminal, computer equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060123119A1 (en) * | 2004-12-08 | 2006-06-08 | Microsoft Corporation | Verifying and maintaining connection liveliness in a reliable messaging for web services environment |
CN101098517A (en) * | 2007-02-28 | 2008-01-02 | 中兴通讯股份有限公司 | Dispatcher permanent online method and apparatus |
CN101472020A (en) * | 2007-12-29 | 2009-07-01 | 二六三网络通信股份有限公司 | Method, device and system for implementing network telephone business |
CN102647576A (en) * | 2011-02-22 | 2012-08-22 | 中兴通讯股份有限公司 | Video interaction method and video interaction system |
CN103841353A (en) * | 2014-02-24 | 2014-06-04 | 广州华多网络科技有限公司 | Video interaction method, terminal, server and system |
CN104317565A (en) * | 2014-09-26 | 2015-01-28 | 广州华多网络科技有限公司 | Microphone alternating order processing method and client |
-
2016
- 2016-03-30 CN CN201610196709.2A patent/CN105933375B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060123119A1 (en) * | 2004-12-08 | 2006-06-08 | Microsoft Corporation | Verifying and maintaining connection liveliness in a reliable messaging for web services environment |
CN101098517A (en) * | 2007-02-28 | 2008-01-02 | 中兴通讯股份有限公司 | Dispatcher permanent online method and apparatus |
CN101472020A (en) * | 2007-12-29 | 2009-07-01 | 二六三网络通信股份有限公司 | Method, device and system for implementing network telephone business |
CN102647576A (en) * | 2011-02-22 | 2012-08-22 | 中兴通讯股份有限公司 | Video interaction method and video interaction system |
CN103841353A (en) * | 2014-02-24 | 2014-06-04 | 广州华多网络科技有限公司 | Video interaction method, terminal, server and system |
CN104317565A (en) * | 2014-09-26 | 2015-01-28 | 广州华多网络科技有限公司 | Microphone alternating order processing method and client |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106485539A (en) * | 2016-09-18 | 2017-03-08 | 百川通联(北京)网络技术有限公司 | A kind of method and system preventing advertisement cheating |
CN107846633A (en) * | 2016-09-18 | 2018-03-27 | 腾讯科技(深圳)有限公司 | A kind of live broadcasting method and system |
CN106485539B (en) * | 2016-09-18 | 2019-08-06 | 北京联动优创文化传媒有限公司 | A kind of method and system for preventing advertisement from practising fraud |
CN106454537B (en) * | 2016-10-14 | 2020-04-14 | 广州华多网络科技有限公司 | Video live broadcast method and related equipment |
CN106454537A (en) * | 2016-10-14 | 2017-02-22 | 广州华多网络科技有限公司 | Live video streaming method and relevant equipment |
CN106488251A (en) * | 2016-10-19 | 2017-03-08 | 北京小米移动软件有限公司 | Realize the live middle even method and device of wheat, main broadcaster's client and subscription client |
CN108259448A (en) * | 2016-12-30 | 2018-07-06 | 广州华多网络科技有限公司 | The method and device of abnormal broken line during a kind of company of preventing wheat |
CN107995187A (en) * | 2017-11-30 | 2018-05-04 | 上海哔哩哔哩科技有限公司 | Video main broadcaster, live broadcasting method, terminal and system based on HTML5 browsers |
US11019119B2 (en) | 2017-11-30 | 2021-05-25 | Shanghai Bilibili Technology Co., Ltd. | Web-based live broadcast |
CN108306942A (en) * | 2018-01-09 | 2018-07-20 | 武汉斗鱼网络科技有限公司 | Communication means, storage medium, electronic equipment and the system that multi-user is broadcast live simultaneously |
WO2019136845A1 (en) * | 2018-01-09 | 2019-07-18 | 武汉斗鱼网络科技有限公司 | Multiple user simultaneous live communication method, storage medium, electronic device, and system |
CN110392311A (en) * | 2018-04-18 | 2019-10-29 | 武汉斗鱼网络科技有限公司 | Even wheat methods of exhibiting, storage medium, even wheat server, client and system |
CN110392311B (en) * | 2018-04-18 | 2021-11-09 | 武汉斗鱼网络科技有限公司 | Connecting wheat display method, storage medium, connecting wheat server, client and system |
CN108989864B (en) * | 2018-07-24 | 2021-02-02 | 武汉斗鱼网络科技有限公司 | Wheat connecting method, device, equipment and storage medium |
CN108989864A (en) * | 2018-07-24 | 2018-12-11 | 武汉斗鱼网络科技有限公司 | A kind of even wheat method, apparatus, equipment and storage medium |
CN114554230A (en) * | 2020-11-27 | 2022-05-27 | 北京字节跳动网络技术有限公司 | Continuous microphone state processing method and device, terminal, computer equipment and storage medium |
CN114554230B (en) * | 2020-11-27 | 2023-07-25 | 北京字节跳动网络技术有限公司 | Method, device, terminal, computer equipment and storage medium for processing wheat connecting state |
CN113259429A (en) * | 2021-05-11 | 2021-08-13 | 鸬鹚科技(深圳)有限公司 | Session keeping control method, device, computer equipment and medium |
CN113259429B (en) * | 2021-05-11 | 2023-12-05 | 鸬鹚科技(深圳)有限公司 | Session maintenance management and control method, device, computer equipment and medium |
CN113810775A (en) * | 2021-09-13 | 2021-12-17 | 上海哔哩哔哩科技有限公司 | Voice and video connection system and method |
Also Published As
Publication number | Publication date |
---|---|
CN105933375B (en) | 2019-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105933375A (en) | Method, device and server for monitoring microphone connecting conversation | |
US8300789B2 (en) | Method and system for identifying a multipoint control unit for hosting a conference | |
CN107294742B (en) | Method and device for creating conference group and server | |
CN106506391B (en) | Network traffic distribution method and router | |
CN100493038C (en) | Method and system for alternating medium-flow during process of terminal talk | |
US10592940B2 (en) | Transmission system, participation fee management method, computer program product, and maintenance system | |
CN103916306A (en) | Method and device for achieving instant communication | |
CN105338287A (en) | Video conference control method and video conference control device | |
CN104735810A (en) | Method and device for establishing connecting between terminals | |
CN110311795A (en) | The creation method and system, server of friendly neighbour group | |
CN102509180B (en) | Server, activity scheme management method and activity scheme management system | |
CN105075229A (en) | Method for establishing a callback telecommunication connection | |
AU2012248149B2 (en) | Charge management system, charge management method, program, program providing system, and maintenance system | |
CN105898340A (en) | Live broadcast key point hinting method, server, user terminal and system | |
CN105516247A (en) | Information recommendation method and apparatus for communication application | |
CN104363479B (en) | User's real-time scheduling method and system between a kind of channel | |
CN115720121A (en) | Equipment linkage real-time broadcasting method and device, storage medium and computer equipment | |
CN105828129B (en) | A kind of audio-video frequency playing system control method, device and audio-video frequency playing system | |
CN110557610A (en) | Calling system and method for door phone, door phone and storage medium | |
CN104717193B (en) | Multi-party interactive sessions in multi-party interactive application start method and system | |
CN111107180B (en) | Method and device for attributing user to entity | |
CN104009968B (en) | A kind of control device and method of video dispatching | |
WO2023185788A1 (en) | Candidate member determination method and apparatus, and device | |
CN109803060B (en) | Intelligent call method for hotel management | |
CN103048668A (en) | Method for automatically tracking and monitoring target |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210115 Address after: 511442 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province Patentee after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd. Address before: 511449 29 / F, building B-1, Wanda Plaza, Wanbo business district, Nancun Town, Panyu District, Guangzhou City, Guangdong Province Patentee before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd. |