CN110233744B - Conference state display method, conference state updating method and device - Google Patents
Conference state display method, conference state updating method and device Download PDFInfo
- Publication number
- CN110233744B CN110233744B CN201910506927.5A CN201910506927A CN110233744B CN 110233744 B CN110233744 B CN 110233744B CN 201910506927 A CN201910506927 A CN 201910506927A CN 110233744 B CN110233744 B CN 110233744B
- Authority
- CN
- China
- Prior art keywords
- state
- conference
- version number
- information
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1813—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
- H04L12/1831—Tracking arrangements for later retrieval, e.g. recording contents, participants activities or behavior, network status
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
- H04L43/045—Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0829—Packet loss
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a conference state display method and a device, wherein the method comprises the following steps: when state query information is received, determining a state version number in the state query information; judging whether the difference value between the state version number in the state query information and the stored state version number is equal to a preset threshold value or not; if the difference value is equal to a preset threshold value, updating the conference state according to the conference state in the state query information; and if the difference value is not equal to the preset threshold value, the conference state is inquired again from the server. By the method, the state can be automatically calibrated based on the state display rule of the state version number and under the condition of network time delay or packet loss in the process of the audio and video conference, so that the real-time performance and the reliability of conference state updating are improved.
Description
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a conference state display method, a conference state update method, and a conference state update apparatus.
Background
In common C/S architecture software in the market, situations that a client needs to display some state changes in real time (for example, online/offline states of friends are displayed in IM software, some monitoring indexes are displayed in real time by monitoring software, state changes of participating members are displayed in real time by audio/video conference software, and the like) are often encountered, and a processing method used in a common situation is as follows:
1. when the client displays the state for the first time, inquiring the state to be displayed from the server;
2. and in the process of continuously displaying the state change, receiving the state change notification sent by the server and updating the state change notification to the interface in real time for displaying.
However, in the actual use process, it is found that the situation that the displayed state of the client is inconsistent with the actual member state often occurs, mainly due to the following two reasons:
1. when the client inquires the state information for the first time, because the inquiry process is a process of transmitting and receiving a protocol in a network, network delay is always generated, and if the state changes in the network delay process, the situation that the interface display is inconsistent with the actual situation can be caused.
2. In the state monitoring process, due to the fact that network environment fluctuation can cause the situation that the notification of the state change has large time delay and even data packet loss, at the moment, the client side can lack a part of data of the state change to cause interface display to be inconsistent with the actual situation.
Disclosure of Invention
The invention provides a conference state display method, a conference state updating method and a conference state updating device, which are used for solving the problem that a conference state displayed in a conference state display interface in the prior art is inconsistent with an actual state.
The specific technical scheme is as follows:
a conference state display method, the method comprising:
detecting whether state query information returned by a server is received or not;
when state query information is received, determining a state version number in the state query information;
judging whether the difference value between the state version number in the state query information and the stored state version number is equal to a preset threshold value or not;
if the difference value is equal to a preset threshold value, updating the conference state according to the conference state in the state query information;
and if the difference value is not equal to the preset threshold value, the conference state is inquired again from the server.
Optionally, before detecting whether the status query information returned by the server is received, the method further includes:
receiving conference state information issued by a server, and determining a state version number in the conference state information, wherein the state version number is a self-increasing shaping variable in a single monitoring index range;
and updating the conference state according to the conference state information, and storing the state version number.
Optionally, the conference state is updated according to the conference state in the state query information, specifically:
and updating the state icons of the corresponding members in the conference interface according to the conference state in the state query information.
Optionally, re-querying the conference state from the server includes:
and regenerating the information of the conference state, and sending the information of the conference state to the server again in a set time period.
A conference state updating method, the method comprising:
when the server monitors the state change of any conference member, adding a preset threshold value to the state version number corresponding to the conference member to form a new state version number;
and adding the new state version number and the state signal to the state information and sending the state information to the corresponding terminal.
Optionally, before the server monitors a state change of any conference member, the method further includes:
when the audio and video conference is started, generating an initial state version number of a corresponding member of the current audio and video conference;
and issuing the initial state version number to each corresponding member.
A conference state display apparatus, the apparatus comprising:
the detection module is used for detecting whether state query information returned by the server is received or not;
the determining module is used for determining a state version number in the state query information when the state query information is received;
the processing module is used for judging whether the difference value between the state version number in the state query information and the stored state version number is equal to a preset threshold value or not; if the difference value is equal to a preset threshold value, updating the conference state according to the conference state in the state query information; and if the difference value is not equal to the preset threshold value, the conference state is inquired again from the server.
Optionally, the processing module is further configured to receive conference state information issued by a server, and determine a state version number in the conference state information, where the state version number is a self-increasing shaping variable in a single monitoring index range; and updating the conference state according to the conference state information, and storing the state version number.
Optionally, the processing module is further configured to update the state icons of the corresponding members in the conference interface according to the conference state in the state query information.
Optionally, the processing module is further configured to regenerate the information on querying the conference state, and resend the information on querying the conference state to the server within a set time period.
By the method, the state can be automatically calibrated based on the state display rule of the state version number and under the condition of network time delay or packet loss in the process of the audio and video conference, so that the real-time performance and the reliability of conference state updating are improved.
Drawings
Fig. 1 is a flowchart of a conference state display method according to an embodiment of the present invention;
fig. 2 is a flowchart of a conference state updating method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a conference state display device according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention are described in detail with reference to the drawings and the specific embodiments, and it should be understood that the embodiments and the specific technical features in the embodiments of the present invention are merely illustrative of the technical solutions of the present invention, and are not restrictive, and the embodiments and the specific technical features in the embodiments of the present invention may be combined with each other without conflict.
Fig. 1 is a flowchart of a conference state display method according to an embodiment of the present invention, where the method includes:
s1, detecting whether the state inquiry information returned by the server is received;
first, the method is applied to a client, which is an APP for a user. When the client starts the audio and video conference, the client clicks to enter a conference interface, the client sends a request for inquiring the conference state to the server, then the client receives the conference state information sent by the server and determines a state version number in the conference state information, and the state version number is a self-increasing shaping variable in a single monitoring index range.
The server response is received at the client and stored locally as initial data and displayed in the conference interface.
S2, when state inquiry information is received, determining a state version number in the state inquiry information;
if the state change notification of the server is received in the conference process, namely the state query information, the client determines the version number in the state query information.
S3, judging whether the difference between the state version number in the state inquiry information and the stored state version number is equal to a preset threshold value;
after obtaining the state version number, the client performs a difference between the previously stored state version number and the state version number received at this time to obtain a difference, and then determines whether the difference is equal to a preset threshold, for example, whether the difference between the obtained state version number and the previously stored state version number is 1. The preset threshold value here may be agreed according to actual situations, and is not limited here.
If the difference is equal to the predetermined threshold, step S4 is executed, and if the difference is not equal to the predetermined threshold, step S5 is executed.
S4, updating the conference state according to the conference state in the state query information;
the client stores the local data according to the received state corresponding to the conference member and updates the local data, namely the stored state version number is the latest state version number, and then the conference state of the conference member is updated according to the latest conference state.
S5, the conference status is inquired from the server again.
If the difference between the conference state version number in the notification and the locally recorded conference state version number is not 1, the situation of packet loss is shown, state changes of some conference members are omitted, at this time, the client ignores the currently received change notification, regenerates the information of inquiring the conference state, and sends the information of inquiring the conference state to the server again in a set time period. The latest conference member state is obtained, and meanwhile the client-side can send the information for inquiring the conference state to the server again in the set time period, so that the server is prevented from receiving a large number of inquiry requests and occupying server resources.
By the method, the state can be automatically calibrated based on the state display rule of the state version number and under the condition of network time delay or packet loss in the process of the audio and video conference, so that the real-time performance and the reliability of conference state updating are improved.
Further, in an embodiment of the present invention, a conference state updating method is also provided, as shown in fig. 2, which is a flowchart of a conference state updating method in an embodiment of the present invention, and the method includes:
s21, when the server monitors the state change of any conference member, adding a preset threshold value to the state version number corresponding to the conference member to form a new state version number;
and S22, adding the new state version number and the state signal to the state information and sending the state information to the corresponding terminal.
When the audio and video conference is started, the server starts to generate a conference state version number for the current audio and video conference, wherein the version number is a shaping variable with an initial value of 0, and the life cycle is from conference holding to conference ending.
When the server detects any conference member state change, the version number of the conference state is added by 1, and the change of the member state is notified to the participating members through the network.
And if the server receives a request for inquiring the conference state from the client, the server responds the current latest conference state to the client.
By the method, the state can be automatically calibrated based on the state display rule of the state version number and under the condition of network time delay or packet loss in the process of the audio and video conference, so that the real-time performance and the reliability of conference state updating are improved.
Corresponding to the method provided by the present invention, an embodiment of the present invention further provides a conference state display apparatus, and as shown in fig. 3, the apparatus is a schematic structural diagram of the conference state display apparatus in the embodiment of the present invention, and includes:
a detection module 301, configured to detect whether state query information returned by a server is received;
a determining module 302, configured to determine a state version number in the state query information when the state query information is received;
the processing module 303 is configured to determine whether a difference between the state version number in the state query information and the stored state version number is equal to a preset threshold; if the difference value is equal to a preset threshold value, updating the conference state according to the conference state in the state query information; and if the difference value is not equal to the preset threshold value, the conference state is inquired again from the server.
The processing module 303 is further configured to receive conference state information sent by a server, and determine a state version number in the conference state information, where the state version number is a shaping variable that is increased within a single monitoring index range; and updating the conference state according to the conference state information, and storing the state version number.
The processing module 303 is further configured to update the state icons of the corresponding members in the conference interface according to the conference state in the state query information.
The processing module 303 is further configured to regenerate the information of the queried conference state, and resend the information of the queried conference state to the server within the set time period.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the application, including the use of specific symbols, labels, or other designations to identify the vertices.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (10)
1. A conference state display method, characterized in that the method comprises:
detecting whether state query information returned by a server is received or not;
when state query information is received, determining a state version number in the state query information;
judging whether the difference value between the state version number in the state query information and the stored state version number is equal to a preset threshold value or not;
if the difference value is equal to a preset threshold value, updating the conference state according to the conference state in the state query information;
and if the difference value is not equal to the preset threshold value, the conference state is inquired again from the server.
2. The method of claim 1, wherein prior to detecting whether the status query information returned by the server is received, the method further comprises:
receiving conference state information issued by a server, and determining a state version number in the conference state information, wherein the state version number is a self-increasing shaping variable in a single monitoring index range;
and updating the conference state according to the conference state information, and storing the state version number.
3. The method according to claim 1, wherein the conference state is updated according to the conference state in the state query information, specifically:
and updating the state icons of the corresponding members in the conference interface according to the conference state in the state query information.
4. The method of claim 1, wherein re-querying the server for meeting status comprises:
and regenerating the information of the conference state, and sending the information of the conference state to the server again in a set time period.
5. A conference state updating method, the method comprising:
when the server monitors the state change of any conference member, adding a preset threshold value to the state version number corresponding to the conference member to form a new state version number;
adding the new state version number and the state signal to the state information and sending the state information to the corresponding terminal;
the terminal detects whether state inquiry information returned by the server is received or not;
when state query information is received, determining a state version number in the state query information;
judging whether the difference value between the state version number in the state query information and the stored state version number is equal to a preset threshold value or not;
if the difference value is equal to a preset threshold value, updating the conference state according to the conference state in the state query information;
and if the difference value is not equal to the preset threshold value, the conference state is inquired again from the server.
6. The method of claim 5, wherein prior to the server monitoring a change in status of any of the conference members, the method further comprises:
when the audio and video conference is started, generating an initial state version number of a corresponding member of the current audio and video conference;
and issuing the initial state version number to each corresponding member.
7. A conference state display apparatus, characterized in that the apparatus comprises:
the detection module is used for detecting whether state query information returned by the server is received or not;
the determining module is used for determining a state version number in the state query information when the state query information is received;
the processing module is used for judging whether the difference value between the state version number in the state query information and the stored state version number is equal to a preset threshold value or not; if the difference value is equal to a preset threshold value, updating the conference state according to the conference state in the state query information; and if the difference value is not equal to the preset threshold value, the conference state is inquired again from the server.
8. The apparatus of claim 7, wherein the processing module is further configured to receive conference state information sent by a server, and determine a state version number in the conference state information, where the state version number is a shaping variable that is self-increasing within a single monitoring index range; and updating the conference state according to the conference state information, and storing the state version number.
9. The apparatus of claim 7, wherein the processing module is further configured to update the status icons of the corresponding members in the conference interface according to the conference status in the status query information.
10. The apparatus of claim 7, wherein the processing module is further configured to regenerate the information about the queried conference state and resend the information about the queried conference state to the server within a set time period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910506927.5A CN110233744B (en) | 2019-06-12 | 2019-06-12 | Conference state display method, conference state updating method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910506927.5A CN110233744B (en) | 2019-06-12 | 2019-06-12 | Conference state display method, conference state updating method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110233744A CN110233744A (en) | 2019-09-13 |
CN110233744B true CN110233744B (en) | 2021-06-01 |
Family
ID=67859037
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910506927.5A Active CN110233744B (en) | 2019-06-12 | 2019-06-12 | Conference state display method, conference state updating method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110233744B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112636937B (en) * | 2020-12-20 | 2022-06-07 | 杭州东信北邮信息技术有限公司 | Method and system for processing conference state notification |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102176710A (en) * | 2010-12-30 | 2011-09-07 | 杭州华三通信技术有限公司 | Method and equipment for determining states of defense zones |
CN102882762A (en) * | 2011-07-11 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Method and system for synchronizing chat status information in multiple pages |
CN103543684A (en) * | 2011-11-11 | 2014-01-29 | 洛克威尔自动控制技术股份有限公司 | Control environment change communication |
CN104022896A (en) * | 2014-05-14 | 2014-09-03 | 福建星网锐捷网络有限公司 | Configuration management method and device and network equipment |
CN105550357A (en) * | 2015-12-29 | 2016-05-04 | 小米科技有限责任公司 | Web page refreshing method and device |
CN108206926A (en) * | 2016-12-20 | 2018-06-26 | 北京视联动力国际信息技术有限公司 | A kind of method and device of conference management client and exterior terminal state synchronized |
CN108459865A (en) * | 2018-01-25 | 2018-08-28 | 成都贝发信息技术有限公司 | A kind of newer detection method of application APP |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10171523B2 (en) * | 2013-05-17 | 2019-01-01 | Futurewei Technologies, Inc. | Multi-tier push service control architecture for large scale conference over ICN |
-
2019
- 2019-06-12 CN CN201910506927.5A patent/CN110233744B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102176710A (en) * | 2010-12-30 | 2011-09-07 | 杭州华三通信技术有限公司 | Method and equipment for determining states of defense zones |
CN102882762A (en) * | 2011-07-11 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Method and system for synchronizing chat status information in multiple pages |
CN103543684A (en) * | 2011-11-11 | 2014-01-29 | 洛克威尔自动控制技术股份有限公司 | Control environment change communication |
CN104022896A (en) * | 2014-05-14 | 2014-09-03 | 福建星网锐捷网络有限公司 | Configuration management method and device and network equipment |
CN105550357A (en) * | 2015-12-29 | 2016-05-04 | 小米科技有限责任公司 | Web page refreshing method and device |
CN108206926A (en) * | 2016-12-20 | 2018-06-26 | 北京视联动力国际信息技术有限公司 | A kind of method and device of conference management client and exterior terminal state synchronized |
CN108459865A (en) * | 2018-01-25 | 2018-08-28 | 成都贝发信息技术有限公司 | A kind of newer detection method of application APP |
Also Published As
Publication number | Publication date |
---|---|
CN110233744A (en) | 2019-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110620890B (en) | File uploading method and system | |
US9753794B2 (en) | Method and apparatus for controlling sending of heartbeat signal | |
EP1560395A1 (en) | System and method for session reestablishment between client terminal and server | |
CN115004673B (en) | Message pushing method, device, electronic equipment and computer readable medium | |
EP2962440A1 (en) | Real-time communications using a restlike api | |
CN111371631B (en) | Heartbeat mechanism detection method, terminal device and storage medium | |
US20130346513A1 (en) | Migrating a chat message service provided by a chat server to a new chat server | |
CN111159269B (en) | Data processing method, device and system | |
CN110912805B (en) | Message reading state synchronization method, terminal, server and system | |
CN110233744B (en) | Conference state display method, conference state updating method and device | |
CN104468248B (en) | Service performance monitoring method, reverse proxy server, statistical analysis server and system | |
CN110913270B (en) | Live broadcasting method and device | |
CN112838980B (en) | Message processing method, system, device, electronic equipment and storage medium | |
CN111092934A (en) | Method for updating client routing and storage medium | |
CN104580084A (en) | Method, terminals and system for sharing multimedia file | |
CN104363257A (en) | User interface data refreshing method and equipment | |
CN108390770B (en) | Information generation method and device and server | |
CN107872493B (en) | Information processing method, terminal and server | |
CN113794622B (en) | Message processing method and device, electronic equipment and storage medium | |
CN106899652B (en) | Method and device for pushing service processing result | |
CN111083426B (en) | Data processing method and device, terminal equipment and storage medium | |
CN108574622B (en) | Instant message processing method and device based on XMPP | |
CN111245874A (en) | Information pushing method and device, server and storage medium | |
CN109587249A (en) | Information sending, receiving method, device, server, client and storage medium | |
CN110855785B (en) | Data processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |