CN114567579A - Frame synchronization global quality monitoring method and device and readable access medium - Google Patents

Frame synchronization global quality monitoring method and device and readable access medium Download PDF

Info

Publication number
CN114567579A
CN114567579A CN202210193712.4A CN202210193712A CN114567579A CN 114567579 A CN114567579 A CN 114567579A CN 202210193712 A CN202210193712 A CN 202210193712A CN 114567579 A CN114567579 A CN 114567579A
Authority
CN
China
Prior art keywords
time
data
client
serial number
frame
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
Application number
CN202210193712.4A
Other languages
Chinese (zh)
Inventor
杨旺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Xinchishenxiang Technology Co ltd
Original Assignee
Wuhan Xinchishenxiang Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Xinchishenxiang Technology Co ltd filed Critical Wuhan Xinchishenxiang Technology Co ltd
Priority to CN202210193712.4A priority Critical patent/CN114567579A/en
Publication of CN114567579A publication Critical patent/CN114567579A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a frame synchronization global quality monitoring method, a frame synchronization global quality monitoring device and a readable access medium, and relates to the field of frame synchronization monitoring, wherein a data collector firstly needs to time after collecting data, and a client time offset value is as follows: the minimum value of the time consumed by the client side for sending data is set to be cMIN, the minimum value of the time consumed by the server side for sending data is set to be sMin, the minimum ping value is set to be pMin, the value of the time required to be offset by the client side is set to be cOffset, and the time is not timed at the moment, so that the time consumed data can be negative, and the cOffset is (cMIN-sMin)/2.

Description

Frame synchronization global quality monitoring method and device and readable access medium
Technical Field
The invention relates to the field of frame synchronization monitoring, in particular to a frame synchronization global quality monitoring method and device and a readable access medium.
Background
With the better mobile network conditions, the requirements of players on game real-time interaction are higher, in games, common synchronization schemes are deterministic frame synchronization and state synchronization, the state synchronization can run most game logics on a server, receive the operations of the players, calculate and send the operations to the players, and the game system is characterized by higher safety, long development period and higher traffic occupation. The deterministic frame synchronization is performed in the following manner: the server collects all player inputs, broadcasts the inputs to all client sides according to a fixed frequency such as 30HZ after the inputs are collected, the client sides execute a deterministic state machine, and the specified inputs are ensured to have definite performance.
The application document with the patent number CN113559506B discloses an automated testing method, an automated testing device and a readable storage medium for frame synchronization, which include the following steps: the client side collects a key frame data packet of a game scene in the background, wherein the key frame data packet comprises a key frame Hash value and key frame operation data; the client uploads the key frame data packet to the server; the test end downloads the key frame data packet from the server and restores the game scene through the key frame operation data; generating a comparison Hash value of the key frame through the restored game scene, and performing comparison check on the comparison Hash value and the key frame Hash value; and if the comparison result of the verification is inconsistent, sending a prompt message. The automatic testing method for frame synchronization restores the game key frame by key frame operation data, calculates the Hash value, and compares the Hsah value with the Hash value of the downloaded key frame to judge whether the problem of frame synchronization exists. The technical scheme can quickly expose the frame synchronization Bug, and the data volume of the data packet is not large, thereby not causing too large burden to the system.
However, when UDP communication is used and timeliness is guaranteed by redundant data, it is difficult to debug the overall timeliness quality in an intuitive manner.
Disclosure of Invention
The invention aims to provide a frame synchronization global quality monitoring method, a frame synchronization global quality monitoring device and a readable access medium, so as to solve the technical problem that the whole timeliness quality is difficult to debug in an intuitive mode in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme:
a global quality monitoring method of frame synchronization comprises the following steps:
s1, a client generates a unique operation serial number during each operation;
s2, the client generates a sending serial number when sending the operation serial number each time;
s3, the client side counts an operation serial number, a sending serial number and sending time;
s4, recording an operation serial number when the server receives the client operation, and sending the serial number;
s5, recording a sending sequence number, a frame sequence number and time when the server side sends data;
s6, the server side sends data to a data collector at regular time;
s7, recording a receiving serial number and a frame serial number when the client receives the server data;
s8, the client sends data to a data collector at regular time;
s9, after the data collector collects data, time synchronization is firstly needed, and the time offset value of the client is as follows: the maximum value of the time consumed for sending data by the client is set to be cMax, the minimum value is set to be cMIN,
the minimum time consumed for the client to send data is set as cMIN,
setting the minimum time consumption for the server to send data as sMin,
the minimum delay value is set to be pMin,
let the value of the client time required offset be cffset,
at this time, the time is not timed, so the above time-consuming data may be negative,
cOffset=(cMin-sMin)/2,
the accuracy is achieved at the time of pMin.
A frame synchronization global quality monitoring device comprises a client, a server, a data collector and a visual display and analysis system.
Preferably, the client collects quality data at regular time, including operation sequence number, sending sequence number and time, and frame data receiving sequence number and time.
Preferably, the server collects quality data periodically, including receiving operation sequence number, time of receiving sequence number, and frame data sending time.
Preferably, the data collector receives quality data of the client and the server, stores the quality data by using a time sequence database, and performs time synchronization.
Preferably, the visual presentation and analysis tool performs data analysis of synchronization timeliness, including overall quality data of one-field frame synchronization.
A frame synchronization global quality monitoring readable storage medium, which program, when executed by a processor, performs the steps of the above-described frame synchronization monitoring method.
Compared with the prior art, the invention has the beneficial effects that:
1. the centralized analysis of all links of the redundant frame synchronization is realized, and not only the single-disk data can be analyzed, but also the whole data can be statistically analyzed;
2. the time synchronization service with extremely high accuracy is realized, the time alignment between the client and the server is facilitated, and the timely quality analysis can be intuitively carried out;
3. and clear data guidance is provided for the subsequent optimization of the frame synchronization timeliness.
Drawings
Fig. 1 is a block diagram of the frame synchronization and timeliness quality analysis of the present invention.
Detailed Description
Example 1
As shown in fig. 1, a frame synchronization global quality monitoring method includes the following steps:
s1, a client generates a unique operation serial number during each operation;
s2, the client generates a sending serial number when sending the operation serial number each time;
s3, the client side counts the operation serial number, the sending serial number and the sending time;
s4, recording an operation serial number when the server receives the client operation, and sending the serial number;
s5, recording a sending sequence number, a frame sequence number and time when the server side sends data;
s6, the server side sends data to a data collector at regular time;
s7, recording a receiving serial number and a frame serial number when the client receives the server data;
s8, the client sends data to a data collector at regular time;
s9, after the data collector collects data, time synchronization is firstly needed, and the time offset value of the client is as follows: the maximum value of the time consumed for sending data by the client is set to be cMax, the minimum value is set to be cMIN,
the minimum time for the client to send data is cMIN,
setting the minimum time consumption for the server to send data as sMin,
the minimum delay value is set to be pMin,
let the value of the client time required offset be cffset,
at this time, the time is not timed, so the above time-consuming data may be negative,
cOffset=(cMin-sMin)/2,
at the moment, the accuracy can be used for timely quality analysis during pMin time setting.
Example 2
As shown in fig. 1, a frame-synchronized global quality monitoring apparatus includes a client, a server, a data aggregator, and a visual display and analysis system, where the client collects quality data including an operation serial number, a transmission serial number, and a frame data receiving time, and the server collects quality data including a received operation serial number, a received serial number, and a frame data transmitting time, and the data aggregator receives quality data of the client and the server, stores the quality data using a time series database, and performs a time setting operation, a visual display and analysis tool, and performs data analysis of synchronization timeliness, including whole quality data of one frame synchronization.

Claims (7)

1. A frame synchronization global quality monitoring method is characterized in that: the method comprises the following steps:
s1, a client generates a unique operation serial number during each operation;
s2, the client generates a sending serial number when sending the operation serial number each time;
s3, the client side counts an operation serial number, a sending serial number and sending time;
s4, recording an operation serial number when the server receives the client operation, and sending the serial number;
s5, recording a sending sequence number, a frame sequence number and time when the server side sends data;
s6, the server side sends data to a data collector at regular time;
s7, recording a receiving serial number and a frame serial number when the client receives the server data;
s8, the client sends data to a data collector at regular time;
s9, after the data collector collects data, time synchronization is firstly needed, and the time offset value of the client is as follows: the maximum time consumption for sending data by the client is set to be cMax, the minimum time consumption is set to be cMIN,
the minimum time consumed for the client to send data is set as cMIN,
setting the minimum time consumption for the server to send data as sMin,
the minimum delay value is set to be pMin,
let the value of the client time required offset be cffset,
at this time, the time is not timed, so the above time-consuming data may be negative,
cOffset=(cMin-sMin)/2,
the accuracy is achieved at the time of pMin.
2. A frame-synchronized global quality monitoring apparatus, characterized by: the system comprises a client, a server, a data collector and a visual display and analysis system.
3. A frame-synchronized global quality monitoring apparatus according to claim 2, wherein: the client collects quality data at regular time, including operation serial number, sending serial number and time, and frame data receiving serial number and time.
4. A frame-synchronized global quality monitoring apparatus according to claim 2, wherein: and the server collects quality data at regular time, wherein the quality data comprises a received operation serial number, time of receiving the serial number and frame data sending time.
5. A frame-synchronized global quality monitoring apparatus according to claim 2, wherein: and the data collector receives the quality data of the client and the server, stores the quality data by using a time sequence database, and performs time synchronization operation.
6. A frame-synchronized global quality monitoring apparatus according to claim 2, wherein: the visual display and analysis tool performs data analysis of synchronization timeliness, including the integral quality data of one-field frame synchronization.
7. A frame-synchronized global quality monitor readable storage medium, characterized by: which program, when being executed by a processor, carries out the steps of the method for monitoring frame synchronization as claimed in claim 1.
CN202210193712.4A 2022-03-01 2022-03-01 Frame synchronization global quality monitoring method and device and readable access medium Pending CN114567579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210193712.4A CN114567579A (en) 2022-03-01 2022-03-01 Frame synchronization global quality monitoring method and device and readable access medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210193712.4A CN114567579A (en) 2022-03-01 2022-03-01 Frame synchronization global quality monitoring method and device and readable access medium

Publications (1)

Publication Number Publication Date
CN114567579A true CN114567579A (en) 2022-05-31

Family

ID=81715647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210193712.4A Pending CN114567579A (en) 2022-03-01 2022-03-01 Frame synchronization global quality monitoring method and device and readable access medium

Country Status (1)

Country Link
CN (1) CN114567579A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6012096A (en) * 1998-04-23 2000-01-04 Microsoft Corporation Method and system for peer-to-peer network latency measurement
CN1777126A (en) * 2005-12-12 2006-05-24 史文勇 System and method for conducting comprehensive measurement and association analysis to time delay and drop
CN101114982A (en) * 2006-07-24 2008-01-30 互联天下科技发展(深圳)有限公司 IP network based audio-video QoS algorithm
CN104065935A (en) * 2014-06-27 2014-09-24 山东山大电力技术有限公司 Automatic time synchronization system for transformer substation video monitoring mainframe and time synchronization method thereof
CN104184534A (en) * 2014-09-09 2014-12-03 桂林电子科技大学 Method for achieving accuracy of transparent clock path delay of IEEE1588 protocol
CN106603182A (en) * 2015-10-16 2017-04-26 北京邮电大学 Space environment oriented safe time synchronization method
CN108322281A (en) * 2018-05-14 2018-07-24 上海市计量测试技术研究院 Time calibration in network service based on NTP and assessment system and method
CN110812835A (en) * 2019-11-06 2020-02-21 腾讯科技(深圳)有限公司 Cloud game detection method and device, storage medium and electronic device
CN110932931A (en) * 2019-11-13 2020-03-27 苏宁云计算有限公司 Detection method and device for network delay of data center

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6012096A (en) * 1998-04-23 2000-01-04 Microsoft Corporation Method and system for peer-to-peer network latency measurement
CN1777126A (en) * 2005-12-12 2006-05-24 史文勇 System and method for conducting comprehensive measurement and association analysis to time delay and drop
CN101114982A (en) * 2006-07-24 2008-01-30 互联天下科技发展(深圳)有限公司 IP network based audio-video QoS algorithm
CN104065935A (en) * 2014-06-27 2014-09-24 山东山大电力技术有限公司 Automatic time synchronization system for transformer substation video monitoring mainframe and time synchronization method thereof
CN104184534A (en) * 2014-09-09 2014-12-03 桂林电子科技大学 Method for achieving accuracy of transparent clock path delay of IEEE1588 protocol
CN106603182A (en) * 2015-10-16 2017-04-26 北京邮电大学 Space environment oriented safe time synchronization method
CN108322281A (en) * 2018-05-14 2018-07-24 上海市计量测试技术研究院 Time calibration in network service based on NTP and assessment system and method
CN110812835A (en) * 2019-11-06 2020-02-21 腾讯科技(深圳)有限公司 Cloud game detection method and device, storage medium and electronic device
CN110932931A (en) * 2019-11-13 2020-03-27 苏宁云计算有限公司 Detection method and device for network delay of data center

Similar Documents

Publication Publication Date Title
US8737980B2 (en) End to end application automatic testing
US7668109B2 (en) Method for determining mobile terminal performance in a running wireless network
WO2017041406A1 (en) Failure positioning method and device
CN109347688B (en) Method and device for positioning fault in wireless local area network
CN109462490B (en) Video monitoring system and fault analysis method
CN111177222A (en) Model testing method and device, computing equipment and storage medium
CN102045222A (en) Real-time overall test method of network system
CN111835579B (en) Method and system for testing effectiveness of network traffic scheduling simulation
CN104717670B (en) A kind of measure of the quality of service method, apparatus and system
CN104683182A (en) Method and device for detecting network service quality of IDC machine room
CN111181800A (en) Test data processing method and device, electronic equipment and storage medium
US9699674B2 (en) Technique for testing wireless network load produced by mobile app-carrying devices
CN107770798A (en) A kind of data analysing method and device
EP3860200A1 (en) Data transmission method and device
CN114567579A (en) Frame synchronization global quality monitoring method and device and readable access medium
CN110224882B (en) Energy storage power station remote control time delay test method and device
CN104915291B (en) Terminal restarts verification method and system
CN114844811B (en) Test method and test system for vehicle-mounted terminal
CN112312376B (en) Method and system for remotely and interactively managing multifunctional electric meter
CN116419184A (en) Processing method for vehicle remote wake-up and computer readable storage medium
CN113495750B (en) Upgrade detection method and device for equipment and server
CN110969082B (en) Clock synchronous test inspection method and system
CN113128986A (en) Error reporting processing method and device for long-link transaction
CN112583672B (en) TCP server stability test method based on time stamp
CN117312104B (en) Visual link tracking method and system based on airport production operation system

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