CN109981550B - Game service quality evaluation method and device - Google Patents

Game service quality evaluation method and device Download PDF

Info

Publication number
CN109981550B
CN109981550B CN201711464952.9A CN201711464952A CN109981550B CN 109981550 B CN109981550 B CN 109981550B CN 201711464952 A CN201711464952 A CN 201711464952A CN 109981550 B CN109981550 B CN 109981550B
Authority
CN
China
Prior art keywords
game
determining
preset
data
uplink
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
Application number
CN201711464952.9A
Other languages
Chinese (zh)
Other versions
CN109981550A (en
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.)
China Mobile Communications Group Co Ltd
China Mobile Group Beijing Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Beijing 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 China Mobile Communications Group Co Ltd, China Mobile Group Beijing Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201711464952.9A priority Critical patent/CN109981550B/en
Publication of CN109981550A publication Critical patent/CN109981550A/en
Application granted granted Critical
Publication of CN109981550B publication Critical patent/CN109981550B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • 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
    • H04L43/0823Errors, e.g. transmission errors
    • 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
    • H04L43/0852Delays
    • 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
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • 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/131Protocols for games, networked simulations or virtual reality
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
    • A63F2300/535Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing for monitoring, e.g. of user parameters, terminal parameters, application parameters, network parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of network optimization, in particular to a game service quality evaluation method and a game service quality evaluation device, wherein the method comprises the steps of obtaining game data in a preset time period of a game service; extracting data parameters corresponding to preset quality indexes from the game data according to preset identification rules; according to the extracted data parameters corresponding to the preset quality indexes, the corresponding quality indexes are determined, so that the quality indexes of the game service are comprehensively considered, the identification rules corresponding to different quality indexes are set, the corresponding data parameters can be directly identified and extracted from the real game data, and the obtained quality indexes can reflect the real game operation experience of the user and the running state of the game, so that the game service evaluation result is more accurate.

Description

Game service quality evaluation method and device
Technical Field
The invention relates to the field of network optimization, in particular to a game service quality evaluation method and device.
Background
At present, due to the particularity of respective protocols of a home broadband client game, a non-connection-oriented User Datagram Protocol (UDP) is generally adopted for application Transmission, and a quality index covering the whole game service cannot be acquired according to an analysis means of a conventional connection-oriented Transmission Control Protocol (TCP).
In the prior art, a game service quality evaluation method can only perform dial test through a known server address of a game service, perform a conventional Ping test, and evaluate the game service quality through time delay and path difference.
However, the method for evaluating the quality of game service in the prior art has the following disadvantages:
1) although the Ping test can indirectly test the connectivity of the network transmission path, for example, obtain traditional quality indexes such as time delay and packet loss, it cannot reflect accurate quality indexes such as stutter, response delay and disconnection in the game process, and cannot reflect the real feeling of the user when operating the game, for example, the stutter in the game process, slow response and the Ping test cannot have a direct correspondence.
2) The server address of the fixed game service is adopted for dial testing, the server address is usually an IP address library obtained from a third party, the problems of accuracy and real-time performance exist, and the server address of the game service changes every day in the current network condition, so the dial testing mode through the fixed server address cannot be matched with the real-time online game condition, and a large number of omission conditions may exist.
3) When the Ping test is carried out, the connection mode of the probe simulation game is adopted for dial test, but the data stream of the real game service is not sent, so that the whole process of the game operation cannot be truly reflected.
Therefore, in the prior art, the quality index of the game service cannot be comprehensively considered, and the real game operation experience of the user cannot be reflected, so that the evaluation result is inaccurate, accurate analysis, positioning, repair and the like of the game problem are not facilitated, and the user experience is reduced.
Disclosure of Invention
The embodiment of the invention provides a game service quality evaluation method and device, and aims to solve the problems that quality indexes of game services cannot be comprehensively considered, evaluation results are inaccurate, and real game operation experience of users cannot be reflected in the prior art.
The embodiment of the invention provides the following specific technical scheme:
a game service quality evaluation method comprises the following steps:
acquiring game data in a preset time period of game service;
extracting data parameters corresponding to preset quality indexes from the game data according to preset identification rules;
and determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index.
Preferably, if the quality index is a login delay, extracting a data parameter corresponding to the preset quality index from the game data according to a preset identification rule, specifically including:
determining all domain name system DNS domain names corresponding to the game service, and extracting the sending time of a DNS domain name query request and the receiving time of a DNS domain name query response;
determining a server obtained by DNS domain name resolution, and extracting the sending time of a login server request and the receiving time of a login server response;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, which specifically comprises:
determining DNS domain name query time delay according to the extracted sending time of the DNS domain name query request and the extracted receiving time of the DNS domain name query response, and determining login server time delay according to the extracted sending time of the login server request and the extracted receiving time of the login server response;
and determining login delay according to DNS domain name query delay and login server delay.
Preferably, if the quality index is an update rate, extracting a data parameter corresponding to the preset quality index from the game data according to a preset identification rule, specifically including:
extracting the data volume of the downloaded update package and the corresponding downloading time;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, which specifically comprises:
and determining the updating rate according to the downloaded updating packet data volume and the corresponding downloading time.
Preferably, if the quality index is the percentage of dropped connections, extracting the data parameter corresponding to the preset quality index from the game data according to a preset identification rule, specifically including:
determining the retransmission times according to the preset standard characteristics of the encrypted Transmission Control Protocol (TCP) session retransmission;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, which specifically comprises:
and taking the determined times of retransmission as the times of disconnection, and determining the disconnection occupation ratio according to the times of disconnection and the total game duration.
Preferably, if the quality index is a katon ratio, extracting a data parameter corresponding to the preset quality index from the game data according to a preset identification rule, specifically including:
extracting corresponding groups of uplink and downlink data packets according to corresponding feature bits of the uplink and downlink data packets in the preset game interactive operation process;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, which specifically comprises:
respectively calculating the time delay of each group of uplink and downlink data packets according to the time of each group of uplink and downlink data packets, screening out each group of uplink and downlink data packets with the time delay larger than a preset threshold value, and determining the number of each group of uplink and downlink data packets with the screened time delay larger than the preset threshold value;
and determining the number of times of pause according to the number of the screened groups of uplink and downlink data packets with the time delay larger than the preset threshold, and determining the pause proportion according to the number of times of pause and the total game duration, or determining the pause proportion according to the number of times of pause and the total number of the identified groups of corresponding uplink and downlink data packets.
Preferably, if the quality index is the interaction time delay, extracting the data parameter corresponding to the preset quality index from the game data according to a preset identification rule, specifically including:
extracting corresponding groups of uplink and downlink data packets according to corresponding feature bits of the uplink and downlink data packets in the preset game interactive operation process;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, which specifically comprises:
respectively calculating the time delay of each group of uplink and downlink data packets according to the time of each group of uplink and downlink data packets;
and determining the interaction time delay of the game according to the time delay of the uplink and downlink data packets of each group.
Preferably, if the quality index is a game speed, extracting a data parameter corresponding to the preset quality index from the game data according to a preset identification rule, specifically including:
acquiring the downlink data volume of game services in the game process;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, which specifically comprises:
and determining the game speed according to the downlink data volume and the total game duration.
Preferably, if the quality index is a download data amount, extracting a data parameter corresponding to the preset quality index from the game data according to a preset identification rule, specifically including:
acquiring the downlink data volume of game services in the game process;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, which specifically comprises:
and determining the download data volume of the game according to the downlink data volume.
A game quality of service evaluation apparatus comprising:
the acquisition unit is used for acquiring game data in a preset time period of the game service;
the extracting unit is used for extracting data parameters corresponding to preset quality indexes from the game data according to preset identification rules;
and the determining unit is used for determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index.
Preferably, if the quality index is a login delay, the data parameter corresponding to the preset quality index is extracted from the game data according to a preset identification rule, and the extraction unit is specifically configured to:
determining all domain name system DNS domain names corresponding to the game service, and extracting the sending time of a DNS domain name query request and the receiving time of a DNS domain name query response;
determining a server obtained by DNS domain name resolution, and extracting the sending time of a login server request and the receiving time of a login server response;
according to the extracted data parameters corresponding to the preset quality indexes, determining the corresponding quality indexes, wherein the determining unit is specifically used for:
determining DNS domain name query time delay according to the extracted sending time of the DNS domain name query request and the extracted receiving time of the DNS domain name query response, and determining login server time delay according to the extracted sending time of the login server request and the extracted receiving time of the login server response;
and determining login delay according to DNS domain name query delay and login server delay.
Preferably, if the quality index is an update rate, the data parameter corresponding to the preset quality index is extracted from the game data according to a preset identification rule, and the extraction unit is specifically configured to:
extracting the data volume of the downloaded update package and the corresponding downloading time;
according to the extracted data parameters corresponding to the preset quality indexes, determining the corresponding quality indexes, wherein the determining unit is specifically used for:
and determining the updating rate according to the downloaded updating packet data volume and the corresponding downloading time.
Preferably, if the quality index is the percentage of dropped connections, extracting a data parameter corresponding to the preset quality index from the game data according to a preset identification rule, where the extraction unit is specifically configured to:
determining the retransmission times according to the preset standard characteristics of the encrypted Transmission Control Protocol (TCP) session retransmission;
according to the extracted data parameters corresponding to the preset quality indexes, determining the corresponding quality indexes, wherein the determining unit is specifically used for:
and taking the determined times of retransmission as the times of disconnection, and determining the disconnection occupation ratio according to the times of disconnection and the total game duration.
Preferably, if the quality index is a katon ratio, extracting a data parameter corresponding to the preset quality index from the game data according to a preset identification rule, wherein the extraction unit is specifically configured to:
extracting corresponding groups of uplink and downlink data packets according to corresponding feature bits of the uplink and downlink data packets in the preset game interactive operation process;
according to the extracted data parameters corresponding to the preset quality indexes, determining the corresponding quality indexes, wherein the determining unit is specifically used for:
respectively calculating the time delay of each group of uplink and downlink data packets according to the time of each group of uplink and downlink data packets, screening out each group of uplink and downlink data packets with the time delay larger than a preset threshold value, and determining the number of each group of uplink and downlink data packets with the screened time delay larger than the preset threshold value;
and determining the number of times of pause according to the number of the screened groups of uplink and downlink data packets with the time delay larger than the preset threshold, and determining the pause proportion according to the number of times of pause and the total game duration, or determining the pause proportion according to the number of times of pause and the total number of the identified groups of corresponding uplink and downlink data packets.
Preferably, if the quality index is the interaction time delay, the data parameter corresponding to the preset quality index is extracted from the game data according to a preset identification rule, and the extraction unit is specifically configured to:
extracting corresponding groups of uplink and downlink data packets according to corresponding feature bits of the uplink and downlink data packets in the preset game interactive operation process;
according to the extracted data parameters corresponding to the preset quality indexes, determining the corresponding quality indexes, wherein the determining unit is specifically used for:
respectively calculating the time delay of each group of uplink and downlink data packets according to the time of each group of uplink and downlink data packets;
and determining the interaction time delay of the game according to the time delay of the uplink and downlink data packets of each group.
Preferably, if the quality index is a game speed, the data parameter corresponding to the preset quality index is extracted from the game data according to a preset identification rule, and the extraction unit is specifically configured to:
acquiring the downlink data volume of game services in the game process;
according to the extracted data parameters corresponding to the preset quality indexes, determining the corresponding quality indexes, wherein the determining unit is specifically used for:
and determining the game speed according to the downlink data volume and the total game duration.
Preferably, if the quality index is a download data amount, the data parameter corresponding to the preset quality index is extracted from the game data according to a preset identification rule, and the extraction unit is specifically configured to:
acquiring the downlink data volume of game services in the game process;
according to the extracted data parameters corresponding to the preset quality indexes, determining the corresponding quality indexes, wherein the determining unit is specifically used for:
and determining the download data volume of the game according to the downlink data volume.
A computer apparatus, comprising:
at least one memory for storing a computer program;
at least one processor, when executing a computer program stored in a memory, implements the steps of a game quality of service assessment method in an embodiment of the present invention.
A computer-readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the steps of a game quality of service assessment method in an embodiment of the present invention.
In the embodiment of the invention, game data in a preset time period of a game service are acquired; extracting data parameters corresponding to preset quality indexes from the game data according to preset identification rules; determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, thus, based on the data of the UDP session, through the analysis of the game data, the identification rules corresponding to different quality indexes are set, thereby identifying and extracting corresponding data parameters from the game data according to the preset identification rule, determining the corresponding quality index, through the setting of the identification rule and the definition of the quality index, the quality index can cover the whole game operation process, the quality index of the game service is comprehensively considered, and the quality index is directly identified and calculated from the actual game data, instead of by simulated dial testing, the quality index thus obtained can reflect the user's real game operation experience and the running state of the game, therefore, when index evaluation is carried out according to the obtained quality index, the evaluation result is more accurate.
Drawings
FIG. 1 is a flow chart of a method for evaluating quality of game service according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a division of a game operation process according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a game service quality evaluation apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, in the embodiment of the present invention, a specific process of a game service quality evaluation method is as follows:
step 100: and acquiring game data in a preset time period of the game service.
In the embodiment of the present invention, mainly for the game service, the quality evaluation of the game service is realized by establishing a quality index system covering the whole process of the game operation, and it should be noted that the game service quality evaluation method in the embodiment of the present invention is not limited to the game service, but is also applicable to the quality evaluation of other services.
In the embodiment of the invention, the quality index analysis is not only based on the session of the 4-layer protocol, namely the transport layer protocol, but also based on the operation logic relationship among the data packets in the 7-layer protocol, namely the application layer, when the game data is obtained, the data of the session of the 7-layer UDP protocol is mainly obtained, and the relevance analysis is carried out on the data in the session of the 7-layer UDP protocol, so that the data with the characteristic relevance relationship can be determined to calculate the quality index.
For the home Broadband client game, when collecting game data, all the data may be user plane data at any Point between an uplink Optical Line Terminal (OLT) of the home Broadband and a Broadband Remote Access Server (BRAS) -Core Router (Core Router, CR) -convergence Router (BR), and preferably, game data may be collected on the BRAS, so that a complete Point-to-Point Protocol over Ethernet (PPPOE) account on the user Ethernet and a source address of the user terminal may be obtained.
In the embodiment of the present invention, the mode of collecting the game data is not limited, and for example, a data Bypass mode, a mirror mode, a Bypass (Bypass) mode, and the like may be used.
Further, different services can be identified and distinguished according to the feature codes of the data of the services.
In the embodiment of the invention, through deep identification of the game service, the game data of the game service can be accurately identified according to the key information of the preset game service, such as the feature code of the data, so that the identification is realized through the feature code of the data, and the identification is more accurate instead of simply through a port number and an IP address.
Step 110: and extracting data parameters corresponding to the preset quality indexes from the game data according to a preset identification rule.
The data parameters corresponding to the quality indexes represent data parameters required to be used when the quality indexes are determined, and the data parameters required to be used by each quality index are determined mainly according to the analysis of game data and the definition of the quality indexes in advance.
Further, in the embodiment of the present invention, the whole game operation process is further divided, and the game service is divided into each service phase, specifically, as shown in fig. 2, a schematic diagram of the game operation process is divided.
For example, if a game is played, the whole game operation process can be divided into the following nodes: clicking an icon, a game login interface, displaying a Ping time delay of a game, selecting a server for login, starting game role entry, entering a main interface map for playing, transmitting game data, and finishing exit, and then dividing according to game operation processes corresponding to different nodes: 1) a login stage: and (3) logging in from the clicked icon to the selected server: the process is mainly to download maps, pictures and the like required by the game by associating a plurality of servers.
2) Logging in from the game login interface to the option server: and associating the Ping server.
3) Logging in from the selection server to enter the main interface map for playing: and associating a plurality of servers to synchronize data.
4) Logging in from optional server to end logout: and transmitting encrypted data, wherein in the running process of the game, the real-time interactive operation of the game adopts a UDP protocol, and meanwhile, the game can keep a long-chain encryption session of TCP and transmit the encrypted data.
5) Quitting from starting to finishing the entering of the main interface map: the game data is transmitted.
6) Quitting from starting to finishing the entering of the main interface map: game Ping test.
7) Quitting from starting to finishing the entering of the main interface map: the total duration of the game.
Therefore, when calculating each quality index, the data parameters of the quality indexes corresponding to different service stages can be obtained according to the definition of each divided service stage and quality index.
Specifically, for different quality indexes, corresponding data parameters are obtained, which will be described in detail below.
Step 120: and determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index.
In the embodiment of the invention, 7 quality indexes are set, which are respectively as follows: the card pause duty ratio, the interaction time delay, the drop duty ratio, the game speed, the downloaded data volume, the login delay and the updating speed. The 7 quality indexes can cover the whole game operation process and reflect the real experience of user operation.
When steps 110 and 120 are executed, the following cases can be classified:
in the first case: if the quality index is the login delay, the step 110 is executed, which specifically includes:
determining all Domain Name Systems (DNS) Domain names corresponding to the game service, and extracting the sending time of a DNS Domain Name query request and the receiving time of a DNS Domain Name query response;
and determining a server obtained by DNS domain name resolution, and extracting the sending time of a login server request and the receiving time of a login server response.
In a dependent manner, the step 120 is executed by:
determining DNS domain name query time delay according to the extracted sending time of the DNS domain name query request and the extracted receiving time of the DNS domain name query response, and determining login server time delay according to the extracted sending time of the login server request and the extracted receiving time of the login server response;
and determining login delay according to DNS domain name query delay and login server delay.
In practice, when a user logs in a game, the address of the server is obtained through DNS domain name query and resolution, and then the user logs in according to the address of the returned server after returning the address, for example, login verification is performed in a UDP login manner, so the login duration is the duration of DNS domain name resolution plus the duration of logging in the server through UDP. In the embodiment of the invention, the login time delay is calculated and can be the DNS domain name query time delay plus the UDP login server time delay. The service phase related to the login delay is a login phase, and the total time for a user to log in a server to complete a protocol flow is related.
The DNS query delay may be calculated and obtained according to the sending time of the DNS query request and the receiving time of the DNS query response, and the login server delay may be calculated and obtained according to the sending time of the login server request and the receiving time of the login server response.
For example, the game service corresponds to 6 DNS domains, and simultaneously queries 6 DNS domains to obtain addresses of 6 servers, and then when logging in according to the addresses of the servers, by determining corresponding uplink and downlink login messages and associating the corresponding uplink and downlink login messages, the time delay of logging in the servers can be obtained, since 6 DNS domains are provided, 6 DNS domain query time delays can be correspondingly obtained, at this time, an average time delay of 6 DNS domain query time delays is adopted, and correspondingly, when logging in the servers, 6 groups of corresponding uplink and downlink login messages are also provided, 6 login server time delays are obtained, at this time, an average time delay of 6 login server time delays is also adopted, and therefore, the login time delay is the sum of the average time delay of the 6 DNS query time delays and the average time delay of 6 login servers.
It should be noted that after the user logs in successfully, the user logs in the protocol session of the pop-up window TCP layer at the same time, but in the embodiment of the present invention, the time delay during login is calculated without performing correlation identification.
In the second case: if the quality index is the update rate, the step 110 is executed, which specifically includes:
and extracting the data volume of the downloaded update package and the corresponding downloading time.
Correspondingly, when step 120 is executed, the method specifically includes:
and determining the updating rate according to the downloaded updating packet data volume and the corresponding downloading time.
Specifically, according to the flag bit of the session flow corresponding to the updating process, the session flow corresponding to the updating process is identified, the downloaded updating packet data volume and the corresponding downloading time in the session flow corresponding to the updating process are obtained, and the updating rate is determined and obtained according to the downloaded updating packet data volume and the downloading time.
That is, the update rate is the downloaded update package data amount/download time, and when the update rate is extracted, the ratio of the update package data amount downloaded by the synchronization server to the download time at each login of the game reflects the network download update rate capability of the game.
In practice, after the game is successfully logged in, the client will generally preferentially update the game version, check security upgrade, and download the update package, and if the user does not log in the game for a long time, the update package will generally be very large during downloading update, the size of the update package may exceed hundreds of megabits or several gigas, and the user may need to wait for a long time.
The downloading, updating and patching process comprises the following steps: the address of the patch server is obtained through the DNS, and the address of the download server is obtained, and a plurality of patches or update packages are generally downloaded, for example, a Game installed by a user through a Tencent Game Platform (TGP) Platform is completely updated in a manner of logging in the Game, so that a plurality of update packages are provided instead of a single update package. The game downloading and updating usually adopts a TCP Protocol, and simultaneously uses a hypertext transfer Protocol (HTTP) Protocol, and according to the standard definition of the HTTP Protocol, a 200ok flag bit is set at the beginning of an HTTP session, so that in the embodiment of the invention, a complete TCP/HTTP session flow can be associated according to the 200ok flag bit, and further, the complete TCP/HTTP session flow can be identified by combining a host address and a server address, so that the downloaded updating packet data volume and the corresponding downloading time of the session can be obtained, and the updating rate can also be obtained.
In the third case: if the quality index is the percentage of dropped connections, the step 110 is executed, which specifically includes:
and determining the retransmission times according to the preset standard characteristics of the encrypted TCP session retransmission.
When step 120 is executed correspondingly, the method specifically includes:
and taking the determined times of retransmission as the times of disconnection, and determining the disconnection occupation ratio according to the times of disconnection and the total game duration.
For example, if the total game duration is 60 minutes and the number of times of the line drops is 6, the percentage of the line drops is 6/60-0.1.
In practice, in game operation, a UDP protocol is usually used for game real-time operation, but since the UDP protocol is a non-connection-oriented protocol, a retransmission mechanism can be used to reestablish a connection or retransmit a lost packet when a different connection-oriented TCP protocol is disconnected, and therefore, the information of the disconnection cannot be directly obtained based on the UDP protocol.
In the embodiment of the invention, by tracking and analyzing the game real-time operation process, the game can keep a long connection encryption session of the TCP when the real-time operation is carried out by adopting the UDP, when the game operation is normally finished, the encrypted TCP connection is also normally finished, when the network has problems, such as abnormal network interruption, the encrypted TCP connection is also simultaneously interrupted, and the connection can be established again by initiating a request of TCP reconnection, so that the disconnection information in the game real-time operation process can be acquired based on the connection-oriented transmission characteristic of the TCP protocol according to the identification of the encrypted TCP connection in the game real-time operation process.
For example, after obtaining game data for a certain game service, an encrypted TCP session may be identified according to an encryption characteristic, for example, a port of the encrypted TCP session is identified as 2099, and a TPKT protocol identifier is provided, where in a first flow after a TCP three-way handshake, an offset field in a payload has an hn 3-feap.lol.qq.com flag field, a packet header is 66 bytes, and the payload is always unchanged, and a complete encrypted TCP session may be obtained by associating the characteristic with the TCP session, when the game is normally ended, an encrypted channel closes the TCP session according to a normal flow, and at this time, a flag bit such as a standard FIN ACK is provided when the game is normally ended.
When the game is abnormally interrupted, the encrypted TCP session is also abnormally interrupted and TCP retransmission is initiated, when TCP is sent to be reconnected to the server according to a TCP protocol standard, continuous attempted connections with intervals of 1, 3, 5 and 10s occur, namely the encrypted TCP session retransmission standard is characterized in that continuous TCP retransmission connections with intervals of 1, 3, 5 and 10s occur, and 1 continuous TCP retransmission connection with intervals of 1, 3, 5 and 10s occurs is recorded as 1 drop, so that the number of drops in the game process can be identified.
Therefore, in the embodiment of the invention, the game disconnection times are obtained by tracking the protocol flow of the game and identifying the game encryption channel and adopting the encrypted TCP session in the game real-time operation process according to the preset standard characteristics of the encrypted TCP session retransmission, so that the acquisition and judgment of the disconnection quality index in the game are realized, and the problem that the disconnection information cannot be obtained through the UDP protocol session is solved.
In a fourth case: if the quality index is the katon ratio, the step 110 is executed, which specifically includes:
and extracting corresponding groups of uplink and downlink data packets according to corresponding characteristic bits of the uplink and downlink data packets in the preset game interactive operation process.
In a dependent manner, the step 120 is executed by:
firstly, respectively calculating the time delay of each group of uplink and downlink data packets according to the time of each group of uplink and downlink data packets, screening out each group of uplink and downlink data packets with the time delay larger than a preset threshold value, and determining the number of each group of uplink and downlink data packets with the screened time delay larger than the preset threshold value.
And then, determining the number of times of the pause according to the number of the screened groups of uplink and downlink data packets with the time delay larger than the preset threshold, and determining the pause proportion according to the number of times of the pause and the total game duration, or determining the pause proportion according to the number of times of the pause and the total number of the identified groups of corresponding uplink and downlink data packets.
Wherein, the stuck indicates a more obvious operation stuck which can be sensed by the user during the game operation, for example, the time delay of the uplink and downlink data packets is greater than a preset threshold, i.e. the interaction time is greater than a preset threshold, for example, 150ms, and is defined as one stuck.
The preset threshold is, for example, 150ms, 100ms, and the like, and in the embodiment of the present invention, the preset threshold is not limited, and may be set and adjusted according to an actual situation, and may reflect an operation perception of a user.
For example, the upstream and downstream packets have 1000 sets, with 200 of them having a time delay greater than 100ms, the game has a katon ratio of 200/1000-20%.
For another example, if the total game duration is 60 minutes and the number of times of the mortars is 6, the ratio of the mortars is: 6/60 is 0.1.
In practice, the game interactive operation usually adopts a UDP protocol, which is a non-connection-oriented protocol, so that according to the conventional method, interactive information such as retransmission, drop, time delay and the like cannot be directly acquired from a UDP protocol session. Therefore, in the embodiment of the present invention, based on the characteristics of the UDP7 layer packet, by analyzing the data in the game interactive operation process, for example, actions such as user click operation, game movement, and the like, it is known that the corresponding relationship between the uplink and downlink packets exists inside the load of the UDP session in the game interactive operation, and the corresponding relationship may be formed according to the sequence, and the corresponding relationship continues in the whole process of the game interactive operation, and ends when the game ends, the decoding is significant, which is convenient for program extraction and implementation, and the decoder processing overhead is very small.
For example, in the upstream of the UDP protocol, the length of a certain upstream packet is 58, the payload (payload) is 16 bytes, the field with the offset bit after the 12 th bit is "85 ff 0102", where "85 ff" remains unchanged in the entire UDP session, and similarly, in the downstream of the UDP protocol, the corresponding downstream packet length is 60, the payload is 18 bytes, the content of the packet header is completely consistent with the corresponding upstream packet, and the field with the offset bit 1516 bit is also "0120", which is consistent with the field "0120" with the 1516 bits of the corresponding upstream packet.
For another example, the offset 13141516 bit field of the upstream packet in the UDP protocol is "85 ff 0031", the offset 1516 bit field of the corresponding downstream packet is still "0031", and the offset position is not changed all the time.
It can be known that 1314 bits "85 ff" of the uplink packet of the uplink and downlink packets of the UDP session are not changed all the time, 1516 bits of the uplink packet and 1516 bits of the downlink packet always correspond to each other, only the 1516 bit field will change with different switching operations, but the uplink and downlink packets always correspond to each other.
Thus, in the embodiment of the present invention, by analyzing the content of the UDP protocol session, the association relationship between the offset bits of the uplink and downlink data packets is determined, and the corresponding uplink and downlink data packets in the UDP protocol session are identified according to the association relationship, i.e., the feature bits corresponding to the uplink and downlink data packets, such as the fixed size of the packet header byte and the fixed offset bit, so as to obtain the time delay of each group of uplink and downlink data packets, and obtain the quality index information of the katton ratio and the interaction time delay of the game.
In the fifth case: if the quality indicator is the interaction time delay, the step 110 is executed, which specifically includes:
and extracting corresponding groups of uplink and downlink data packets according to corresponding characteristic bits of the uplink and downlink data packets in the preset game interactive operation process.
When step 120 is executed correspondingly, the method specifically includes:
firstly, respectively calculating the time delay of each group of uplink and downlink data packets according to the time of each group of uplink and downlink data packets.
Then, the interaction time delay of the game is determined according to the time delay of the groups of the uplink and downlink data packets.
Specifically, in the embodiment of the present invention, indexes such as an average value, a maximum value, and a minimum value of the interaction time delay of the game may be defined according to actual requirements, so as to evaluate the interaction time delay of the game.
For example, the total accumulated time of the uplink and downlink packets is 60 minutes, and there are 100000 groups of uplink and downlink packets in total, the average latency of the interaction is 3600 seconds/100000-36 milliseconds.
For another example, the time delay of each group of uplink and downlink data packets is recorded, and the maximum value and the minimum value of the interaction time delay are obtained by comparison.
In the sixth case: if the quality index is the game speed, the step 110 is executed, which specifically includes:
and acquiring the downlink data volume of the game service in the game process.
When step 120 is executed correspondingly, the method specifically includes:
and determining the game speed according to the downlink data volume and the total game duration.
For example, if the total duration of the game is 60 minutes, and the amount of downstream data of the game service is 10Mbytes, the game rate is 10 × 1024/3600 — 22.75 Kbps.
In the seventh case: if the quality index is the download data amount, the step 110 is executed, which specifically includes:
and acquiring the downlink data volume of the game service in the game process.
When step 120 is executed correspondingly, the method specifically includes:
and determining the download data volume of the game according to the downlink data volume.
Further, still include: and evaluating the game quality of the game service according to the calculated quality indexes.
The quality index system established in the embodiment of the invention comprehensively considers the whole operation process of the game service and provides a complete and quantized quality index.
Further, still include: extracting, but not limited to, information from any one or any combination of: the game user identification, the family broadband account number and the geographic position can be associated with the obtained quality index, and the portrait and the quality evaluation of the game user can be achieved.
In the embodiment of the invention, game data in a preset time period of a game service are acquired; extracting data parameters corresponding to preset quality indexes from the game data according to preset identification rules; the method comprises the steps of extracting data parameters corresponding to the preset quality indexes, determining the corresponding quality indexes according to the extracted data parameters corresponding to the preset quality indexes, setting identification rules corresponding to different quality indexes through analysis of game data based on UDP (user Datagram protocol) conversation data, extracting corresponding data parameters from the UDP conversation data according to the preset identification rules, calculating each quality index, solving the problem that a UDP protocol does not have a time delay index, and acquiring dropped quality index information by adopting an encrypted TCP conversation through identification of a game encryption channel.
Based on the above embodiments, referring to fig. 3, in an embodiment of the present invention, a game service quality evaluation apparatus specifically includes:
the acquiring unit 30 is used for acquiring game data in a preset time period of the game service;
the extracting unit 31 is configured to extract a data parameter corresponding to a preset quality index from the game data according to a preset identification rule;
the determining unit 32 is configured to determine a corresponding quality index according to the extracted data parameter corresponding to the preset quality index.
Preferably, if the quality index is a login delay, the data parameter corresponding to the preset quality index is extracted from the game data according to a preset identification rule, and the extracting unit 31 is specifically configured to:
determining all domain name system DNS domain names corresponding to the game service, and extracting the sending time of a DNS domain name query request and the receiving time of a DNS domain name query response;
determining a server obtained by DNS domain name resolution, and extracting the sending time of a login server request and the receiving time of a login server response;
according to the extracted data parameters corresponding to the preset quality indexes, the corresponding quality indexes are determined, and the determining unit 32 is specifically configured to:
determining DNS domain name query time delay according to the extracted sending time of the DNS domain name query request and the extracted receiving time of the DNS domain name query response, and determining login server time delay according to the extracted sending time of the login server request and the extracted receiving time of the login server response;
and determining login delay according to DNS domain name query delay and login server delay.
Preferably, if the quality index is an update rate, the data parameter corresponding to the preset quality index is extracted from the game data according to a preset identification rule, and the extracting unit 31 is specifically configured to:
extracting the data volume of the downloaded update package and the corresponding downloading time;
according to the extracted data parameters corresponding to the preset quality indexes, the corresponding quality indexes are determined, and the determining unit 32 is specifically configured to:
and determining the updating rate according to the downloaded updating packet data volume and the corresponding downloading time.
Preferably, if the quality index is the percentage of dropped connections, the data parameter corresponding to the preset quality index is extracted from the game data according to a preset identification rule, and the extracting unit 31 is specifically configured to:
determining the retransmission times according to the preset standard characteristics of the encrypted Transmission Control Protocol (TCP) session retransmission;
according to the extracted data parameters corresponding to the preset quality indexes, the corresponding quality indexes are determined, and the determining unit 32 is specifically configured to:
and taking the determined times of retransmission as the times of disconnection, and determining the disconnection occupation ratio according to the times of disconnection and the total game duration.
Preferably, if the quality index is a katon ratio, the data parameter corresponding to the preset quality index is extracted from the game data according to a preset identification rule, and the extracting unit 31 is specifically configured to:
extracting corresponding groups of uplink and downlink data packets according to corresponding feature bits of the uplink and downlink data packets in the preset game interactive operation process;
according to the extracted data parameters corresponding to the preset quality indexes, the corresponding quality indexes are determined, and the determining unit 32 is specifically configured to:
respectively calculating the time delay of each group of uplink and downlink data packets according to the time of each group of uplink and downlink data packets, screening out each group of uplink and downlink data packets with the time delay larger than a preset threshold value, and determining the number of each group of uplink and downlink data packets with the screened time delay larger than the preset threshold value;
and determining the number of times of pause according to the number of the screened groups of uplink and downlink data packets with the time delay larger than the preset threshold, and determining the pause proportion according to the number of times of pause and the total game duration, or determining the pause proportion according to the number of times of pause and the total number of the identified groups of corresponding uplink and downlink data packets.
Preferably, if the quality index is the interaction time delay, the data parameter corresponding to the preset quality index is extracted from the game data according to a preset identification rule, and the extracting unit 31 is specifically configured to:
extracting corresponding groups of uplink and downlink data packets according to corresponding feature bits of the uplink and downlink data packets in the preset game interactive operation process;
according to the extracted data parameters corresponding to the preset quality indexes, the corresponding quality indexes are determined, and the determining unit 32 is specifically configured to:
respectively calculating the time delay of each group of uplink and downlink data packets according to the time of each group of uplink and downlink data packets;
and determining the interaction time delay of the game according to the time delay of the uplink and downlink data packets of each group.
Preferably, if the quality index is a game speed, the data parameter corresponding to the preset quality index is extracted from the game data according to a preset identification rule, and the extracting unit 31 is specifically configured to:
acquiring the downlink data volume of game services in the game process;
according to the extracted data parameters corresponding to the preset quality indexes, the corresponding quality indexes are determined, and the determining unit 32 is specifically configured to:
and determining the game speed according to the downlink data volume and the total game duration.
Preferably, if the quality index is a download data amount, the data parameter corresponding to the preset quality index is extracted from the game data according to a preset identification rule, and the extracting unit 31 is specifically configured to:
acquiring the downlink data volume of game services in the game process;
according to the extracted data parameters corresponding to the preset quality indexes, the corresponding quality indexes are determined, and the determining unit 32 is specifically configured to:
and determining the download data volume of the game according to the downlink data volume.
Referring to fig. 4, a schematic structural diagram of a computer device according to an embodiment of the present invention is shown.
An embodiment of the present invention provides a computer apparatus, where the server may include a processor 410 (CPU), a memory 420, an input device 430, an output device 440, and the like, where the input device 430 may include a keyboard, a mouse, a touch screen, and the like, and the output device 440 may include a Display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), and the like.
Memory 420 may include Read Only Memory (ROM) and Random Access Memory (RAM), and provides processor 410 with program instructions and data stored in memory 420. In an embodiment of the present invention, the memory 420 may be used for storing the program of the game service quality evaluation method.
By calling the program instructions stored in the memory 420, the processor 410 is configured to perform the following steps according to the obtained program instructions:
acquiring game data in a preset time period of game service;
extracting data parameters corresponding to preset quality indexes from the game data according to preset identification rules;
and determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index.
Preferably, if the quality index is a login delay, the data parameter corresponding to the preset quality index is extracted from the game data according to a preset identification rule, and the processor 410 is specifically configured to:
determining all domain name system DNS domain names corresponding to the game service, and extracting the sending time of a DNS domain name query request and the receiving time of a DNS domain name query response;
determining a server obtained by DNS domain name resolution, and extracting the sending time of a login server request and the receiving time of a login server response;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, where the processor 410 is specifically configured to:
determining DNS domain name query time delay according to the extracted sending time of the DNS domain name query request and the extracted receiving time of the DNS domain name query response, and determining login server time delay according to the extracted sending time of the login server request and the extracted receiving time of the login server response;
and determining login delay according to DNS domain name query delay and login server delay.
Preferably, if the quality index is an update rate, the processor 410 is specifically configured to extract a data parameter corresponding to the preset quality index from the game data according to a preset identification rule, and:
extracting the data volume of the downloaded update package and the corresponding downloading time;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, where the processor 410 is specifically configured to:
and determining the updating rate according to the downloaded updating packet data volume and the corresponding downloading time.
Preferably, if the quality index is the percentage of dropped connections, the processor 410 is specifically configured to extract a data parameter corresponding to a preset quality index from the game data according to a preset identification rule, and:
determining the retransmission times according to the preset standard characteristics of the encrypted Transmission Control Protocol (TCP) session retransmission;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, where the processor 410 is specifically configured to:
and taking the determined times of retransmission as the times of disconnection, and determining the disconnection occupation ratio according to the times of disconnection and the total game duration.
Preferably, if the quality index is a katon ratio, the processor 410 is specifically configured to extract a data parameter corresponding to a preset quality index from the game data according to a preset identification rule, and:
extracting corresponding groups of uplink and downlink data packets according to corresponding feature bits of the uplink and downlink data packets in the preset game interactive operation process;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, where the processor 410 is specifically configured to:
respectively calculating the time delay of each group of uplink and downlink data packets according to the time of each group of uplink and downlink data packets, screening out each group of uplink and downlink data packets with the time delay larger than a preset threshold value, and determining the number of each group of uplink and downlink data packets with the screened time delay larger than the preset threshold value;
and determining the number of times of pause according to the number of the screened groups of uplink and downlink data packets with the time delay larger than the preset threshold, and determining the pause proportion according to the number of times of pause and the total game duration, or determining the pause proportion according to the number of times of pause and the total number of the identified groups of corresponding uplink and downlink data packets.
Preferably, if the quality indicator is an interaction time delay, the data parameter corresponding to the preset quality indicator is extracted from the game data according to a preset identification rule, and the processor 410 is specifically configured to:
extracting corresponding groups of uplink and downlink data packets according to corresponding feature bits of the uplink and downlink data packets in the preset game interactive operation process;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, where the processor 410 is specifically configured to:
respectively calculating the time delay of each group of uplink and downlink data packets according to the time of each group of uplink and downlink data packets;
and determining the interaction time delay of the game according to the time delay of the uplink and downlink data packets of each group.
Preferably, if the quality index is a game speed, the processor 410 is specifically configured to extract a data parameter corresponding to a preset quality index from the game data according to a preset identification rule, and:
acquiring the downlink data volume of game services in the game process;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, where the processor 410 is specifically configured to:
and determining the game speed according to the downlink data volume and the total game duration.
Preferably, if the quality index is a download data amount, the processor 410 is specifically configured to extract a data parameter corresponding to a preset quality index from the game data according to a preset identification rule, and:
acquiring the downlink data volume of game services in the game process;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, where the processor 410 is specifically configured to:
and determining the download data volume of the game according to the downlink data volume.
Based on the above embodiments, in the embodiments of the present invention, there is provided a computer-readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the game service quality evaluation method in any of the above method embodiments.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention 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. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (16)

1. A game service quality evaluation method is characterized by comprising the following steps:
acquiring game data in a preset time period of a game service by adopting a data bypass mode, a mirror image mode or a shunting mode;
extracting data parameters corresponding to preset quality indexes from game data according to preset identification rules, wherein the data parameters are determined according to each service stage of the game service and the definition of the quality indexes, and each service stage comprises a login stage, login from a game login interface to an option server, login from the option server to enter a main interface map for playing, login from the option server to finish exiting, and login from the main interface map for playing to finish exiting;
determining a corresponding quality index according to the extracted data parameter corresponding to the preset quality index;
if the quality index is the katon ratio, extracting a data parameter corresponding to the preset quality index from the game data according to a preset identification rule, wherein the data parameter specifically comprises the following steps:
extracting corresponding groups of uplink and downlink data packets according to corresponding feature bits of the uplink and downlink data packets in the preset game interactive operation process;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, which specifically comprises:
respectively calculating the time delay of each group of uplink and downlink data packets according to the time of each group of uplink and downlink data packets, screening out each group of uplink and downlink data packets with the time delay larger than a preset threshold value, and determining the number of each group of uplink and downlink data packets with the screened time delay larger than the preset threshold value;
and determining the number of times of pause according to the number of the screened groups of uplink and downlink data packets with the time delay larger than the preset threshold, and determining the pause proportion according to the number of times of pause and the total game duration, or determining the pause proportion according to the number of times of pause and the total number of the identified groups of corresponding uplink and downlink data packets.
2. The method of claim 1, wherein if the quality indicator is a login delay, extracting a data parameter corresponding to the preset quality indicator from the game data according to a preset identification rule, specifically comprising:
determining all domain name system DNS domain names corresponding to the game service, and extracting the sending time of a DNS domain name query request and the receiving time of a DNS domain name query response;
determining a server obtained by DNS domain name resolution, and extracting the sending time of a login server request and the receiving time of a login server response;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, which specifically comprises:
determining DNS domain name query time delay according to the extracted sending time of the DNS domain name query request and the extracted receiving time of the DNS domain name query response, and determining login server time delay according to the extracted sending time of the login server request and the extracted receiving time of the login server response;
and determining login delay according to DNS domain name query delay and login server delay.
3. The method of claim 1, wherein if the quality index is an update rate, extracting a data parameter corresponding to a preset quality index from the game data according to a preset identification rule, specifically comprising:
extracting the data volume of the downloaded update package and the corresponding downloading time;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, which specifically comprises:
and determining the updating rate according to the downloaded updating packet data volume and the corresponding downloading time.
4. The method according to claim 1, wherein if the quality indicator is a drop percentage, extracting a data parameter corresponding to a preset quality indicator from the game data according to a preset identification rule, specifically comprising:
determining the retransmission times according to the preset standard characteristics of the encrypted Transmission Control Protocol (TCP) session retransmission;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, which specifically comprises:
and taking the determined times of retransmission as the times of disconnection, and determining the disconnection occupation ratio according to the times of disconnection and the total game duration.
5. The method of claim 1, wherein if the quality indicator is an interaction time delay, extracting a data parameter corresponding to a preset quality indicator from the game data according to a preset identification rule, specifically comprising:
extracting corresponding groups of uplink and downlink data packets according to corresponding feature bits of the uplink and downlink data packets in the preset game interactive operation process;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, which specifically comprises:
respectively calculating the time delay of each group of uplink and downlink data packets according to the time of each group of uplink and downlink data packets;
and determining the interaction time delay of the game according to the time delay of the uplink and downlink data packets of each group.
6. The method of claim 1, wherein if the quality index is a game speed, extracting a data parameter corresponding to a preset quality index from the game data according to a preset identification rule, specifically comprising:
acquiring the downlink data volume of game services in the game process;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, which specifically comprises:
and determining the game speed according to the downlink data volume and the total game duration.
7. The method of claim 1, wherein if the quality index is a download data amount, extracting a data parameter corresponding to a preset quality index from the game data according to a preset identification rule, specifically comprising:
acquiring the downlink data volume of game services in the game process;
determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index, which specifically comprises:
and determining the download data volume of the game according to the downlink data volume.
8. A game quality of service evaluation apparatus, comprising:
the acquisition unit is used for acquiring game data in a preset time period of the game service by adopting a data bypass mode, a mirror image mode or a shunting mode;
the extraction unit is used for extracting data parameters corresponding to preset quality indexes from game data according to preset identification rules, wherein the data parameters are determined according to service stages of the game service and the definition of the quality indexes, and the service stages comprise a login stage, login from a game login interface to an option server, login from the option server to enter a main interface map for playing, login from the option server to finish exiting, and login from the main interface map for playing to finish exiting;
the determining unit is used for determining the corresponding quality index according to the extracted data parameter corresponding to the preset quality index;
if the quality index is the katon ratio, extracting a data parameter corresponding to the preset quality index from the game data according to a preset identification rule, wherein the extraction unit is specifically used for:
extracting corresponding groups of uplink and downlink data packets according to corresponding feature bits of the uplink and downlink data packets in the preset game interactive operation process;
according to the extracted data parameters corresponding to the preset quality indexes, determining the corresponding quality indexes, wherein the determining unit is specifically used for:
respectively calculating the time delay of each group of uplink and downlink data packets according to the time of each group of uplink and downlink data packets, screening out each group of uplink and downlink data packets with the time delay larger than a preset threshold value, and determining the number of each group of uplink and downlink data packets with the screened time delay larger than the preset threshold value;
and determining the number of times of pause according to the number of the screened groups of uplink and downlink data packets with the time delay larger than the preset threshold, and determining the pause proportion according to the number of times of pause and the total game duration, or determining the pause proportion according to the number of times of pause and the total number of the identified groups of corresponding uplink and downlink data packets.
9. The apparatus according to claim 8, wherein if the quality indicator is a login delay, the data parameter corresponding to the preset quality indicator is extracted from the game data according to a preset identification rule, and the extracting unit is specifically configured to:
determining all domain name system DNS domain names corresponding to the game service, and extracting the sending time of a DNS domain name query request and the receiving time of a DNS domain name query response;
determining a server obtained by DNS domain name resolution, and extracting the sending time of a login server request and the receiving time of a login server response;
according to the extracted data parameters corresponding to the preset quality indexes, determining the corresponding quality indexes, wherein the determining unit is specifically used for:
determining DNS domain name query time delay according to the extracted sending time of the DNS domain name query request and the extracted receiving time of the DNS domain name query response, and determining login server time delay according to the extracted sending time of the login server request and the extracted receiving time of the login server response;
and determining login delay according to DNS domain name query delay and login server delay.
10. The apparatus according to claim 8, wherein if the quality indicator is an update rate, the data parameter corresponding to the preset quality indicator is extracted from the game data according to a preset identification rule, and the extracting unit is specifically configured to:
extracting the data volume of the downloaded update package and the corresponding downloading time;
according to the extracted data parameters corresponding to the preset quality indexes, determining the corresponding quality indexes, wherein the determining unit is specifically used for:
and determining the updating rate according to the downloaded updating packet data volume and the corresponding downloading time.
11. The apparatus according to claim 8, wherein if the quality indicator is a drop percentage, the data parameter corresponding to the preset quality indicator is extracted from the game data according to a preset identification rule, and the extracting unit is specifically configured to:
determining the retransmission times according to the preset standard characteristics of the encrypted Transmission Control Protocol (TCP) session retransmission;
according to the extracted data parameters corresponding to the preset quality indexes, determining the corresponding quality indexes, wherein the determining unit is specifically used for:
and taking the determined times of retransmission as the times of disconnection, and determining the disconnection occupation ratio according to the times of disconnection and the total game duration.
12. The apparatus according to claim 8, wherein if the quality indicator is an interaction time delay, the data parameter corresponding to the preset quality indicator is extracted from the game data according to a preset identification rule, and the extracting unit is specifically configured to:
extracting corresponding groups of uplink and downlink data packets according to corresponding feature bits of the uplink and downlink data packets in the preset game interactive operation process;
according to the extracted data parameters corresponding to the preset quality indexes, determining the corresponding quality indexes, wherein the determining unit is specifically used for:
respectively calculating the time delay of each group of uplink and downlink data packets according to the time of each group of uplink and downlink data packets;
and determining the interaction time delay of the game according to the time delay of the uplink and downlink data packets of each group.
13. The apparatus according to claim 8, wherein if the quality indicator is a game speed, the data parameter corresponding to the preset quality indicator is extracted from the game data according to a preset identification rule, and the extracting unit is specifically configured to:
acquiring the downlink data volume of game services in the game process;
according to the extracted data parameters corresponding to the preset quality indexes, determining the corresponding quality indexes, wherein the determining unit is specifically used for:
and determining the game speed according to the downlink data volume and the total game duration.
14. The apparatus according to claim 8, wherein if the quality indicator is a download data amount, the data parameter corresponding to the preset quality indicator is extracted from the game data according to a preset identification rule, and the extracting unit is specifically configured to:
acquiring the downlink data volume of game services in the game process;
according to the extracted data parameters corresponding to the preset quality indexes, determining the corresponding quality indexes, wherein the determining unit is specifically used for:
and determining the download data volume of the game according to the downlink data volume.
15. A computer device, comprising:
at least one memory for storing a computer program;
at least one processor adapted to implement the steps of the method according to any of claims 1-7 when executing a computer program stored in a memory.
16. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program realizing the steps of the method according to any one of claims 1-7 when executed by a processor.
CN201711464952.9A 2017-12-28 2017-12-28 Game service quality evaluation method and device Active CN109981550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711464952.9A CN109981550B (en) 2017-12-28 2017-12-28 Game service quality evaluation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711464952.9A CN109981550B (en) 2017-12-28 2017-12-28 Game service quality evaluation method and device

Publications (2)

Publication Number Publication Date
CN109981550A CN109981550A (en) 2019-07-05
CN109981550B true CN109981550B (en) 2021-10-01

Family

ID=67075178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711464952.9A Active CN109981550B (en) 2017-12-28 2017-12-28 Game service quality evaluation method and device

Country Status (1)

Country Link
CN (1) CN109981550B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457229B (en) * 2019-08-23 2022-01-28 腾讯科技(深圳)有限公司 Game performance monitoring method and device, electronic equipment and storage medium
CN111314165B (en) * 2019-12-18 2022-02-01 上海米哈游天命科技有限公司 Game server determination method, device, server and medium
CN113542880B (en) * 2020-04-20 2022-11-29 中国移动通信集团河北有限公司 Method and device for detecting quality of short video service

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410516A (en) * 2014-11-24 2015-03-11 中国联合网络通信集团有限公司 User-service awareness assessment method and device
CN105050125A (en) * 2015-06-23 2015-11-11 武汉虹信通信技术有限责任公司 Method and device for evaluating mobile data service quality oriented to user experience
CN105721231A (en) * 2014-12-01 2016-06-29 中国移动通信集团江苏有限公司 Service quality sensing detection method and service quality sensing detection device
CN107026766A (en) * 2016-02-02 2017-08-08 中国移动通信集团河北有限公司 A kind of assessment detection method and device of network quality

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752792B (en) * 2011-12-26 2015-08-19 华为技术有限公司 Method, the equipment and system of monitoring mobile terminal Internet access quality of service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410516A (en) * 2014-11-24 2015-03-11 中国联合网络通信集团有限公司 User-service awareness assessment method and device
CN105721231A (en) * 2014-12-01 2016-06-29 中国移动通信集团江苏有限公司 Service quality sensing detection method and service quality sensing detection device
CN105050125A (en) * 2015-06-23 2015-11-11 武汉虹信通信技术有限责任公司 Method and device for evaluating mobile data service quality oriented to user experience
CN107026766A (en) * 2016-02-02 2017-08-08 中国移动通信集团河北有限公司 A kind of assessment detection method and device of network quality

Also Published As

Publication number Publication date
CN109981550A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
Dimopoulos et al. Measuring video QoE from encrypted traffic
CN108429701B (en) Network acceleration system
Schatz et al. Passive youtube QoE monitoring for ISPs
RU2581044C2 (en) Method, device and system for quality control of internet access for mobile terminal
Fiedler et al. A generic quantitative relationship between quality of experience and quality of service
US8838820B2 (en) Method for embedding meta-commands in normal network packets
US8656284B2 (en) Method for determining a quality of user experience while performing activities in IP networks
CN109981550B (en) Game service quality evaluation method and device
CN113315744A (en) Programmable switch, flow statistic method, defense method and message processing method
US20080168177A1 (en) Estimation of web client response time
CN110138617B (en) Data transmission quality testing method, system, electronic device and storage medium
WO2017161760A1 (en) Data transmission method and device
CN103051498A (en) Network speed test method and network speed test system
EP3334117A1 (en) Method, apparatus and system for quantizing defence result
US20070061339A1 (en) Method for analyzing browsing and device for implementing the method
CN111107423A (en) Video service playing card pause identification method and device
CN106656629A (en) Prediction method for stream media playing quality
WO2013029214A1 (en) Video quality monitor and method for determining a network video quality measure in a communication network
US20130286872A1 (en) Session-based traffic analysis system
EP3491784A1 (en) Estimation of losses in a video stream
EP3593493B1 (en) Prediction of a performance indicator
CN111327964B (en) Method and device for positioning video playing pause
CN110838950B (en) Method and device for determining network performance jitter value
KR20110057529A (en) A system of measuring server's response time by using a dummy request tag and the method thereof
Tang et al. Stalling assessment for wireless online video streams via ISP traffic monitoring

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