CN106919701B - Distributed data processing method and device - Google Patents

Distributed data processing method and device Download PDF

Info

Publication number
CN106919701B
CN106919701B CN201710137555.4A CN201710137555A CN106919701B CN 106919701 B CN106919701 B CN 106919701B CN 201710137555 A CN201710137555 A CN 201710137555A CN 106919701 B CN106919701 B CN 106919701B
Authority
CN
China
Prior art keywords
reporting
distribution data
access server
information
distributed data
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
CN201710137555.4A
Other languages
Chinese (zh)
Other versions
CN106919701A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710137555.4A priority Critical patent/CN106919701B/en
Publication of CN106919701A publication Critical patent/CN106919701A/en
Application granted granted Critical
Publication of CN106919701B publication Critical patent/CN106919701B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The embodiment of the invention discloses a distributed data processing method, which comprises the following steps: the method comprises the steps that a management server firstly receives reported information sent by an access server, and then judges whether the reported information contains a distribution data identifier, wherein the distribution data identifier is used for indicating that the reported information at least contains a group of distribution data, the distribution data is used for indicating the number information of online clients which are accessed to the access server and are positioned in different partitions, and when the reported information contains the distribution data identifier, the distribution data in the reported information is written into a database. Therefore, the management server receives the online users in different partitions of the access server and writes the online users into the database for record storage, so that subsequent management and network maintenance are facilitated, and network management and maintenance are improved.

Description

Distributed data processing method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for processing distributed data.
Background
With the increasing demand of product personnel on the refined operation of game services, the operators have been limited to the number of online users who see the game server, but hope to dig and find the scene distribution of users in the game more deeply, such as: in online users of a server, how many players are queued, how many players are in a hall, and how many players are in a map scene, so as to make better operation analysis and decision. Such as: the online of an access server is stable and does not drop abnormally and steeply, but a large number of users in a game are disconnected, but the disconnection is not reflected in an online curve, because a large number of users in the game are disconnected, at the moment, users just rush in outside, the problem cannot be discovered in time, and a large negative effect is caused on game service.
In addition, the prior art cannot detect the access online users of each partition of the access server, and cannot perform more detailed management and network maintenance, which results in low network management and maintenance efficiency.
Disclosure of Invention
The embodiment of the invention provides a distributed data processing method and a distributed data processing device, which are used for monitoring the number of access clients in different partitions of an access server and improving the efficiency of network management and maintenance.
A first aspect of an embodiment of the present invention provides a method for processing distributed data, which is applied to a management server, and includes:
receiving reported information sent by an access server;
judging whether the reported information contains a distribution data identifier, wherein the distribution data identifier is used for indicating that the reported information at least contains a group of distribution data, and the distribution data is used for indicating the quantity information of the online clients which are accessed to the access server and are positioned in different partitions;
and when the reporting information contains the distribution data identification, writing the distribution data in the reporting information into a database.
A second aspect of the embodiments of the present invention provides a method for processing distributed data, which is applied to an access server, and includes:
receiving a distribution data reporting rule sent by a management server;
and sending reporting information to the management server according to the distributed data reporting rule, wherein the reporting information comprises a distributed data identifier, the distributed data identifier is used for indicating that the reporting information at least comprises a group of distributed data, and the distributed data is used for indicating the number information of the online clients which are accessed to the access server and are positioned in different partitions.
A third aspect of the embodiments of the present invention provides a processing apparatus for distributed data, which is applied to a management server, and includes:
the receiving unit is used for receiving the reported information sent by the access server;
a determining unit, configured to determine whether the reporting information includes a distribution data identifier, where the distribution data identifier is used to indicate that the reporting information includes at least one group of distribution data, and the distribution data is used to indicate information about the number of online clients in different partitions accessing the access server;
and the writing unit is used for writing the distribution data in the report information into a database when the report information contains the distribution data identification.
A fourth aspect of the present invention provides a distributed data processing apparatus, applied to an access server, including:
the receiving unit is used for receiving the distribution data reporting rule sent by the management server;
a sending unit, configured to send reporting information to the management server according to the distribution data reporting rule, where the reporting information includes a distribution data identifier, where the distribution data identifier is used to indicate that the reporting information includes at least one group of distribution data, and the distribution data is used to indicate information about the number of online clients in different partitions accessing the access server.
According to the technical scheme, the embodiment of the invention has the following advantages:
in the embodiment of the invention, a management server firstly receives reported information sent by an access server, and then judges whether the reported information contains a distribution data identifier, wherein the distribution data identifier is used for indicating that the reported information at least contains a group of distribution data, the distribution data is used for indicating the quantity information of online clients which are accessed to the access server and are positioned in different partitions, and when the reported information contains the distribution data identifier, the distribution data in the reported information is written into a database. Therefore, the management server receives the online users in different partitions of the access server and writes the online users into the database for record storage, so that subsequent management and network maintenance are facilitated, and network management and maintenance are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a system architecture to which a method for processing distributed data according to an embodiment of the present invention is applied;
FIG. 2 is a diagram of an embodiment of a method for processing distributed data according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another embodiment of a processing method of distributed data according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another embodiment of a processing method of distributed data according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another embodiment of a processing method of distributed data according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another system architecture to which the method for processing distributed data according to the embodiment of the present invention is applied;
FIG. 7 is a schematic diagram of an embodiment of a display of distribution data acquired by a specific application scenario in an embodiment of the present invention;
FIG. 8 is a diagram of an embodiment of a processing device for distributing data according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of another embodiment of a processing device for distributing data according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of another embodiment of a processing device for distributing data according to an embodiment of the present invention;
FIG. 11 is a schematic diagram of another embodiment of a processing device for distributing data according to an embodiment of the present invention;
fig. 12 is a schematic diagram of another embodiment of a processing device for distributing data according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a distributed data processing method and a distributed data processing device, which are used for monitoring the number of access clients in different partitions of an access server and improving the efficiency of network management and maintenance.
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. The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a schematic diagram of a system architecture applied by a processing method for distributed data in an embodiment of The present invention, where The schematic diagram includes an access server, a management server, a database server, and an integrated service operation and management platform (OSS), where The access server includes a plurality of partitions, each partition has an online client access, for example, The access server is a game server, The game server includes a queuing partition, a lobby partition, a channel partition, and a tangent partition, a player client that is queuing to enter a channel is in The queuing partition, a player client that is selected in a game lobby partition is in The lobby partition, a player client that is playing a game is in The channel partition, and a player client that is switching The server is in The tangent partition.
The access server may comprise a plurality of server devices, different server devices being operable to implement the functionality of different partitions. The access server is connected with the management server and used for sending reporting information to the management server, the reporting information can contain the number of the online clients accessed in different partitions of the access server, the management server is connected with the database server, the management server writes the received number of the online clients accessed in different partitions of the access server into the database server, the database server is further connected with an OSS, and an operator can call the stored data in the database server through the OSS so as to obtain the number of the online clients accessed in different partitions of the access server, so that analysis and maintenance are performed.
Referring to fig. 2, an embodiment of a method for processing distributed data in an embodiment of the present invention includes:
101. and the access server sends the report information to the management server.
In order to count the number of online clients accessed by each partition of the access server, the access server and the management server may agree in advance to perform statistics by sending the report information. That is, the access server monitors the number of online clients that have been accessed in each partition in real time and then sends the number to the management server. Because the number of online clients accessing the access server is changed all the time, the access server needs to refresh according to a certain period, so as to acquire the online clients of each partition, and send the number of the online players of different partitions, which are currently acquired, to the management server through the reported information according to a certain period. For example, the access server is a game server, the period is 1 second, the access server acquires 200 online player clients of the queuing partition, 400 online player clients of the lobby partition, 1000 online player clients of the channel partition and 100 online player clients of the tangent partition at the 0 th second, and reports the number of the four partitions and sends the reported number to the management server. In the 1 st second, 210 online player clients acquiring the queuing partition, 420 online player clients acquiring the lobby partition, 1300 online player clients acquiring the channel partition and 50 online player clients acquiring the tangent partition are reported to the management server.
102. After receiving the report information sent by the access server, the management server judges whether the report information contains a distribution data identifier, wherein the distribution data identifier is used for indicating that the report information at least contains a group of distribution data, and the distribution data is used for indicating the number information of the online clients which are accessed to the access server and are positioned in different partitions.
In the communication process between the access server and the management server, the access server may also send other types of report information to the management server, for example, the total number of currently accessed online clients in the access server, and in order to distinguish the distribution data from other data, the management server and the access server may agree in advance to distinguish the distribution data by the distribution data identifier. When the access server sends the distribution data, a distribution data identifier may be added to the sent field to indicate that the distribution data corresponds to the distribution data, that is, the number information of the online clients of different partitions in the access server. After receiving the report information sent by the access server, the management server firstly analyzes the report information, judges whether the report information contains a distribution data identifier, and if the report information contains the distribution data identifier, determines that the report information contains the distribution data for indicating the number of the online clients of different partitions of the access server.
Alternatively, the distribution data identifier may be represented by characters or numbers, such as the number "5" indicating that the distribution data is included. In addition, it can also be determined that the distribution data is not included by assigning a specific value to the distribution data identifier, for example, if the distribution data identifier is a number "0", it indicates that the report information does not include the distribution data.
Alternatively, the distribution data may be represented in the form of characters or numbers, for example, the number of online clients of a certain partition is represented by numeric characters, and the numeric characters of different partitions may be used as separators "; "to distinguish.
103. And when the reporting information contains the distribution data identification, the management server writes the distribution data in the reporting information into a database.
And when the management server determines that the reporting information sent by the access server contains the distributed data identifier, accessing the distributed data in the reporting information into the database for storage. So as to read the data in the following period, thereby managing and maintaining the network. When the management server determines that the reporting information sent by the access server does not include the distributed data identifier, if the reporting information includes other types of data, the other types of data may also be written into the database, for example, if the reporting information includes data information of the total number of online clients accessed in the current access server, the management server writes the total number into the database.
It should be noted that the database may be a database in the management server, or may be a database in an independent database server, and is not particularly limited.
In the embodiment of the invention, a management server firstly receives reported information sent by an access server, and then judges whether the reported information contains a distribution data identifier, wherein the distribution data identifier is used for indicating that the reported information at least contains a group of distribution data, the distribution data is used for indicating the quantity information of online clients which are accessed to the access server and are positioned in different partitions, and when the reported information contains the distribution data identifier, the distribution data in the reported information is written into a database. Therefore, the management server receives the online users in different partitions of the access server and writes the online users into the database for record storage, so that subsequent management and network maintenance are facilitated, and network management and maintenance are improved.
Referring to fig. 3, another embodiment of the method for processing distributed data according to the embodiment of the present invention includes:
201. and the access server sends the report information to the management server.
The details are described with reference to step 101.
202. After receiving the report information sent by the access server, the management server judges whether the report information contains a distribution data identifier, wherein the distribution data identifier is used for indicating that the report information at least contains a group of distribution data, and the distribution data is used for indicating the number information of the online clients which are accessed to the access server and are positioned in different partitions.
The details are described with reference to step 102.
203. And when the reporting information contains the distribution data identification, the management server writes the distribution data in the reporting information into a database.
The details are described with reference to step 103.
204. When the difference value of the received distribution data in the first partition within the preset time length is larger than a first preset threshold value, the management server sends alarm information to the access server, wherein the alarm information is used for indicating that the access condition in the first partition in the access server is abnormal.
In practical application, the network anomaly detection efficiency is low due to the fact that a regional network fault or a part of access servers are abnormal, and the prior art cannot timely detect that a large number of users are disconnected, so that whether the regional network fault or the server anomaly exists or not cannot be judged. Therefore, optionally, in the embodiment of the present invention, when the management server obtains the distribution data of each partition of the access server, that is, when the management server obtains the number of online clients of each partition in the access server, a difference value of the distribution data of the same partition within a preset time period is calculated, that is, a difference value of the number of online clients of the same partition within the preset time period is calculated, if the difference value is greater than a first preset threshold, it indicates that the partition is in an abnormal access state, and the management server sends an alarm message to the access server to notify the access server that the partition is in an abnormal access state. For example, the number of online clients of the lobby partition, which the management server receives at the 1 st second, of the access server is 2000, the number of online clients of the lobby partition, which the management server receives at the 2 nd second, of the access server is 1000, and in the time period, the difference between the two data reaches 1000, which may indicate that the network condition of the lobby partition of the access server is unstable or the server equipment managing the partition fails, so that the management server may send alarm information to the access server, so that the access server runs a management policy to maintain the access condition of the partition, thereby improving the efficiency of network maintenance.
It should be noted that the time length of the preset duration should be greater than or equal to the time length of the period in which the access server periodically sends the report information. For example, if the period duration for the access server to periodically send the report information is 1 second, the length of the preset duration may be 1 second or two seconds.
Referring to fig. 4, another embodiment of the method for processing distributed data according to the embodiment of the present invention includes:
301. and the access server sends the report information to the management server.
The details are described with reference to step 101.
302. After receiving the report information sent by the access server, the management server judges whether the report information contains a distribution data identifier, wherein the distribution data identifier is used for indicating that the report information at least contains a group of distribution data, and the distribution data is used for indicating the number information of the online clients which are accessed to the access server and are positioned in different partitions.
The details are described with reference to step 102.
303. And when the reporting information contains the distribution data identification, the management server writes the distribution data in the reporting information into a database.
The details are described with reference to step 103.
304. When the difference value of the received distribution data in the first partition within the preset time length is larger than a first preset threshold value, the management server sends alarm information to the access server, wherein the alarm information is used for indicating that the access condition in the first partition in the access server is abnormal.
The details are described with reference to step 204.
305. When the received value of the distribution data in the second partition exceeds a second preset threshold value, the management server sends capacity expansion indication information to the access server, wherein the capacity expansion indication information is used for indicating the access server to increase the access upper limit value of the second partition.
Generally, the access server sets an access upper limit value in each partition for controlling network congestion, for example, the access server sets a total online value of 10000, an upper limit value of a waiting partition of 2000, an upper limit value of a lobby partition of 3000, an upper limit value of a channel partition of 4000, and an upper limit value of a tangent partition of 1000. When the number of online clients accessed to a certain partition reaches an upper limit value, other access clients are generally not allowed to access to the partition. But as the application maintained by the access server receives the favor of more client users, more and more clients will want to access the access server. For example, the access server is a game server, when the game is more popular, more player users want to access the game server to play the game, the upper limit value initially set by the game server obviously cannot meet the access of more player users, and at this time, expansion needs to be performed, so that more player users can access the game server. Therefore, in the embodiment of the present invention, when the management server determines that the distribution data of a certain partition exceeds the second preset threshold, the management server sends the capacity expansion indication information to the access server, and after the access server receives the capacity expansion indication information, an operator who manages the access server may add more server devices, so as to increase the upper limit value of the partition, enable more clients to access the partition, and improve the efficiency of network management.
Referring to fig. 5, another embodiment of the method for processing distributed data according to the embodiment of the present invention includes:
401. and sending a distribution data reporting rule to the access server, wherein the distribution data reporting rule is used for indicating the access server to send reporting information according to the distribution data reporting rule when sending distribution data.
The distributed data reporting rule comprises: and reporting according to a preset rule of two fields, wherein the first field is used for reporting the distributed data identifier, and the second field is used for reporting the distributed data of different partitions.
Optionally, in the embodiment of the present invention, before the access server sends the report information, the management server sends the distribution data report rule to the access server, so that when the access server needs to report the distribution data, the distribution data is reported according to the rule.
Optionally, the distribution data reporting rule may be a rule that reports through two preset fields, where a first field is used for reporting the distribution data identifier, and a second field is used for reporting the distribution data of different partitions. The two fields are self-defined fields, the first field is preset for storing the distribution data identification, and the second field is used for storing the distribution data of different partitions.
The distribution data identifier may be represented in the form of characters or numbers, for example, a number "5" indicates that the distribution data is included, and for example, if the distribution data identifier is a number "0", it indicates that the report information does not include the distribution data. The distribution data can be represented in the form of characters or numbers, such as the number of online clients of a certain partition is represented by numerical characters, and the numerical characters of different partitions can be represented by separators "; "to distinguish. For example, the contents of two customized fields in the report information sent by the access server are "5" and "0"; 160; 1999; 205 ″, which indicates that the reported information includes distribution data, where the number of online clients in the first partition is 0, the number of online clients in the second partition is 160, the number of online clients in the third partition is 1999, and the number of online clients in the fourth partition is 205. Optionally, the access server may advance an arrangement order of the partitions, for example, the first partition is a queuing partition, the second partition is a lobby partition, the third partition is a channel partition, and the fourth partition is a tangent partition, so that the specific online number of people in each partition can be accurately obtained.
402. And the access server sends the report information to the management server.
The details are described with reference to step 101.
403. After receiving the report information sent by the access server, the management server judges whether the report information contains a distribution data identifier, wherein the distribution data identifier is used for indicating that the report information at least contains a group of distribution data, and the distribution data is used for indicating the number information of the online clients which are accessed to the access server and are positioned in different partitions.
The details are described with reference to step 102.
404. And when the reporting information contains the distribution data identification, the management server writes the distribution data in the reporting information into a database.
The details are described with reference to step 103.
405. When the difference value of the received distribution data in the first partition within the preset time length is larger than a first preset threshold value, the management server sends alarm information to the access server, wherein the alarm information is used for indicating that the access condition in the first partition in the access server is abnormal.
The details are described with reference to step 204.
406. When the received value of the distribution data in the second partition exceeds a second preset threshold value, the management server sends capacity expansion indication information to the access server, wherein the capacity expansion indication information is used for indicating the access server to increase the access upper limit value of the second partition.
The details are described with reference to step 305.
Referring to fig. 6, fig. 6 is a schematic diagram of an architecture of a specific application scenario of the processing method for distributed data according to the embodiment of the present invention.
In the embodiment of the invention, the management server can also be simultaneously connected with a plurality of access servers and carries out statistics and management on the distribution data of different partitions of the plurality of access servers, wherein the access server can be a game server, the management server can be a TDIR directory server, the TDIR directory server comprises a TDIR access layer and a TDIR service layer, the TDIR access layer is connected with the plurality of game servers through a TDIR api interface so as to receive the reported information sent by the game server, the TDIR service layer judges whether a field of a custom type exists in the reported information and needs to be opened, the field of the custom type contains the confidence of the distribution data, if the field exists, the online field is newly added, and the obtained custom data is written into a database through the newly added online field; if not, writing other information in the reported information into the database. The OSS management platform obtains the data in the data table from the database to display, and the specific display content is shown in fig. 7.
Referring to fig. 8, fig. 8 is a schematic diagram of an embodiment of a processing apparatus for distributing data according to an embodiment of the present invention, where the apparatus is applied to a management server, and specifically includes:
a receiving unit 501, configured to receive report information sent by an access server;
a determining unit 502, configured to determine whether the reporting information includes a distribution data identifier, where the distribution data identifier is used to indicate that the reporting information includes at least one group of distribution data, and the distribution data is used to indicate information about the number of online clients in different partitions accessing the access server;
a writing unit 503, configured to write the distribution data in the report information into a database when the report information includes the distribution data identifier.
Optionally, the receiving unit 501 is specifically configured to:
and receiving the report information sent by the access server according to a preset period.
Referring to fig. 9, optionally, the processing apparatus for distributing data in the embodiment of the present invention further includes:
a sending unit 504, configured to send alarm information to the access server when a difference between distribution data in the first partition received within a preset time period is greater than a first preset threshold, where the alarm information is used to indicate that an access condition in the first partition in the access server is abnormal.
Optionally, the sending unit 504 is further configured to send, when the value of the received distribution data in the second partition exceeds a second preset threshold, capacity expansion indication information to the access server, where the capacity expansion indication information is used to indicate the access server to increase an access upper limit value of the second partition.
Optionally, the sending unit 504 is further configured to send a distribution data reporting rule to the access server before the receiving unit receives the reporting information sent by the access server, where the distribution data reporting rule is used to instruct the access server to send the reporting information according to the distribution data reporting rule when the access server sends the distribution data.
Optionally, the distributed data reporting rule includes: and reporting according to a preset rule of two fields, wherein the first field is used for reporting the distributed data identifier, and the second field is used for reporting the distributed data of different partitions.
Optionally, the reported information further includes a total number of online clients accessing the access server; the writing unit 503 is further configured to:
writing the total number into the database.
Referring to fig. 10, fig. 10 is a schematic diagram of another embodiment of a processing apparatus for distributing data in an embodiment of the present invention, where the apparatus is applied to an access server, and specifically includes:
a receiving unit 601, configured to receive a distribution data reporting rule sent by a management server;
a sending unit 602, configured to send reporting information to the management server according to the distribution data reporting rule, where the reporting information includes a distribution data identifier, where the distribution data identifier is used to indicate that the reporting information includes at least one group of distribution data, and the distribution data is used to indicate information about the number of online clients in different partitions accessing the access server.
Optionally, the sending unit 601 is specifically configured to:
and sending reporting information to the management server according to the distributed data reporting rule and a preset period.
Optionally, the distributed data reporting rule includes: and reporting according to a preset rule of two fields, wherein the first field is used for reporting the distributed data identifier, and the second field is used for reporting the distributed data of different partitions.
The processing apparatus for distributed data provided in the embodiment of the present invention can be understood by referring to the processing method for distributed data described in fig. 1 to fig. 7, and details are not repeated here.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The processing apparatus for distributing data according to the embodiment of fig. 8 and 9 has another form of embodiment, which is shown in fig. 11 and includes: a processor 701, a memory 702, a transceiver 703, wherein the processor 701, the memory 702, and the transceiver 703 are connected by a bus 704, the transceiver 703 may include a transmitter and a receiver, the memory 702 stores computer instructions, and the processor 701 executes the computer instructions to implement the following method:
receiving reported information sent by an access server;
judging whether the reported information contains a distribution data identifier, wherein the distribution data identifier is used for indicating that the reported information at least contains a group of distribution data, and the distribution data is used for indicating the quantity information of the online clients which are accessed to the access server and are positioned in different partitions;
and when the reporting information contains the distribution data identification, writing the distribution data in the reporting information into a database.
Optionally, the processor 701 is further configured to implement:
and when the difference value of the received distribution data in the first partition within the preset time length is greater than a first preset threshold value, sending alarm information to the access server, wherein the alarm information is used for indicating that the access condition in the first partition in the access server is abnormal.
Optionally, the processor 701 is further configured to implement:
and when the received value of the distribution data in the second partition exceeds a second preset threshold value, sending capacity expansion indication information to the access server, wherein the capacity expansion indication information is used for indicating the access server to increase the access upper limit value of the second partition.
Optionally, the processor 701 is further configured to implement:
before receiving the reporting information sent by the access server, sending a distribution data reporting rule to the access server, wherein the distribution data reporting rule is used for indicating the access server to send the reporting information according to the distribution data reporting rule when sending the distribution data.
The embodiment of the distribution data processing apparatus shown in fig. 10 has another form of embodiment, which is shown in fig. 12, and includes: a processor 801, a memory 802, a transceiver 803, the processor 801, the memory 802 and the transceiver 803 being connected by a bus 804, the transceiver 803 may include a transmitter and a receiver, the memory 802 stores computer instructions, the processor 801 by executing the computer instructions is for implementing the method of:
receiving a distribution data reporting rule sent by a management server;
and sending reporting information to the management server according to the distributed data reporting rule, wherein the reporting information comprises a distributed data identifier, the distributed data identifier is used for indicating that the reporting information at least comprises a group of distributed data, and the distributed data is used for indicating the number information of the online clients which are accessed to the access server and are positioned in different partitions.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (23)

1. A processing method of distributed data is applied to a management server, and is characterized in that the processing method comprises the following steps:
receiving reported information sent by an access server; the access server comprises a plurality of partitions, monitors the number of online clients accessed in each partition in real time and sends the number to the management server;
judging whether the reported information contains a distribution data identifier, wherein the distribution data identifier is used for indicating that the reported information at least contains a group of distribution data, and the distribution data is used for indicating the quantity information of the online clients which are accessed to the access server and are positioned in different partitions;
and when the reporting information contains the distribution data identification, writing the distribution data in the reporting information into a database.
2. The processing method of claim 1, wherein the receiving the report information sent by the access server comprises:
and receiving the report information sent by the access server according to a preset period.
3. The processing method according to claim 2, characterized in that it further comprises:
and when the difference value of the received distribution data in the first partition within the preset time length is greater than a first preset threshold value, sending alarm information to the access server, wherein the alarm information is used for indicating that the access condition in the first partition in the access server is abnormal.
4. The processing method according to any one of claims 1 to 3, characterized in that it further comprises:
and when the received value of the distribution data in the second partition exceeds a second preset threshold value, sending capacity expansion indication information to the access server, wherein the capacity expansion indication information is used for indicating the access server to increase the access upper limit value of the second partition.
5. The processing method according to any one of claims 1 to 3, wherein before the receiving the report information sent by the access server, the processing method further comprises:
and sending a distribution data reporting rule to the access server, wherein the distribution data reporting rule is used for indicating the access server to send reporting information according to the distribution data reporting rule when sending distribution data.
6. The processing method of claim 5, wherein the distributed data reporting rule comprises: and reporting according to a preset rule of two fields, wherein the first field is used for reporting the distributed data identifier, and the second field is used for reporting the distributed data of different partitions.
7. The processing method according to any one of claims 1 to 3, wherein the reported information further includes a total number of online clients accessing the access server; the processing method further comprises the following steps:
writing the total number into the database.
8. A processing method of distributed data is applied to an access server, and is characterized in that the access server comprises a plurality of partitions, and the access server monitors the number of online clients accessed in each partition in real time; the processing method comprises the following steps:
receiving a distribution data reporting rule sent by a management server;
and sending reporting information to the management server according to the distributed data reporting rule, wherein the reporting information comprises a distributed data identifier, the distributed data identifier is used for indicating that the reporting information at least comprises a group of distributed data, and the distributed data is used for indicating the number information of the online clients which are accessed to the access server and are positioned in different partitions.
9. The processing method of claim 8, wherein the sending reporting information to the management server according to the distributed data reporting rule comprises:
and sending reporting information to the management server according to the distributed data reporting rule and a preset period.
10. The processing method according to claim 8 or 9, wherein the distributed data reporting rule comprises: and reporting according to a preset rule of two fields, wherein the first field is used for reporting the distributed data identifier, and the second field is used for reporting the distributed data of different partitions.
11. A processing apparatus for distributing data, applied to a management server, the apparatus comprising:
the receiving unit is used for receiving the reported information sent by the access server; the access server comprises a plurality of partitions, monitors the number of online clients accessed in each partition in real time and sends the number to the management server;
a determining unit, configured to determine whether the reporting information includes a distribution data identifier, where the distribution data identifier is used to indicate that the reporting information includes at least one group of distribution data, and the distribution data is used to indicate information about the number of online clients in different partitions accessing the access server;
and the writing unit is used for writing the distribution data in the report information into a database when the report information contains the distribution data identification.
12. The apparatus according to claim 11, wherein the receiving unit is specifically configured to:
and receiving the report information sent by the access server according to a preset period.
13. The apparatus of claim 12, further comprising:
the sending unit is used for sending alarm information to the access server when the difference value of the received distribution data in the first partition within the preset time length is larger than a first preset threshold value, wherein the alarm information is used for indicating that the access condition in the first partition in the access server is abnormal.
14. The apparatus of any one of claims 11 to 13, further comprising:
and the sending unit is used for sending capacity expansion indication information to the access server when the value of the received distribution data in the second partition exceeds a second preset threshold, wherein the capacity expansion indication information is used for indicating the access server to increase the access upper limit value of the second partition.
15. The apparatus of any one of claims 11 to 13, further comprising:
a sending unit, configured to send a distribution data reporting rule to an access server before the receiving unit receives reporting information sent by the access server, where the distribution data reporting rule is used to instruct the access server to send the reporting information according to the distribution data reporting rule when sending distribution data.
16. The apparatus of claim 15, wherein the distributed data reporting rule comprises: and reporting according to a preset rule of two fields, wherein the first field is used for reporting the distributed data identifier, and the second field is used for reporting the distributed data of different partitions.
17. The apparatus according to any one of claims 11 to 13, wherein the reported information further includes a total number of online clients accessing the access server; the write unit is further to:
writing the total number into the database.
18. The processing device for distributed data is applied to an access server, and is characterized in that the access server comprises a plurality of partitions, and the access server monitors the number of online clients accessed in each partition in real time; the device comprises:
the receiving unit is used for receiving the distribution data reporting rule sent by the management server;
a sending unit, configured to send reporting information to the management server according to the distribution data reporting rule, where the reporting information includes a distribution data identifier, where the distribution data identifier is used to indicate that the reporting information includes at least one group of distribution data, and the distribution data is used to indicate information about the number of online clients in different partitions accessing the access server.
19. The apparatus according to claim 18, wherein the sending unit is specifically configured to:
and sending reporting information to the management server according to the distributed data reporting rule and a preset period.
20. The apparatus of claim 18 or 19, wherein the distributed data reporting rule comprises: and reporting according to a preset rule of two fields, wherein the first field is used for reporting the distributed data identifier, and the second field is used for reporting the distributed data of different partitions.
21. An apparatus for processing distributed data, comprising: a memory and a processor;
the memory is to store computer instructions;
the processor is configured to execute computer instructions stored in the memory;
the computer instructions are for performing a method of processing distributed data according to any one of claims 1 to 7.
22. An apparatus for processing distributed data, comprising: a memory and a processor;
the memory is to store computer instructions;
the processor is configured to execute computer instructions stored in the memory;
the computer instructions are for performing a method of processing distributed data according to any one of claims 8 to 10.
23. A computer storage medium having computer instructions stored therein; the computer instructions are for performing a method of processing distributed data according to any one of claims 1 to 10.
CN201710137555.4A 2017-03-09 2017-03-09 Distributed data processing method and device Active CN106919701B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710137555.4A CN106919701B (en) 2017-03-09 2017-03-09 Distributed data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710137555.4A CN106919701B (en) 2017-03-09 2017-03-09 Distributed data processing method and device

Publications (2)

Publication Number Publication Date
CN106919701A CN106919701A (en) 2017-07-04
CN106919701B true CN106919701B (en) 2020-06-19

Family

ID=59460645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710137555.4A Active CN106919701B (en) 2017-03-09 2017-03-09 Distributed data processing method and device

Country Status (1)

Country Link
CN (1) CN106919701B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001077906A2 (en) * 2000-04-10 2001-10-18 Sonicisland Software, Inc. System and method for providing an interactive display interface for information objects
CN101729571A (en) * 2009-12-28 2010-06-09 广州游家信息技术有限公司 Method, server and system for counting network on-line user number
CN104184603A (en) * 2013-05-23 2014-12-03 腾讯科技(深圳)有限公司 User status accounting method, device and system
CN105407013A (en) * 2015-10-28 2016-03-16 北京奇虎科技有限公司 User online state statistical system and method
CN105554113A (en) * 2015-11-27 2016-05-04 广州多益网络科技有限公司 Game processing method and system capable of accommodating a large number of players
CN106027289A (en) * 2016-05-09 2016-10-12 北京奇虎科技有限公司 User state statistics system and user state statistics method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001077906A2 (en) * 2000-04-10 2001-10-18 Sonicisland Software, Inc. System and method for providing an interactive display interface for information objects
CN101729571A (en) * 2009-12-28 2010-06-09 广州游家信息技术有限公司 Method, server and system for counting network on-line user number
CN104184603A (en) * 2013-05-23 2014-12-03 腾讯科技(深圳)有限公司 User status accounting method, device and system
CN105407013A (en) * 2015-10-28 2016-03-16 北京奇虎科技有限公司 User online state statistical system and method
CN105554113A (en) * 2015-11-27 2016-05-04 广州多益网络科技有限公司 Game processing method and system capable of accommodating a large number of players
CN106027289A (en) * 2016-05-09 2016-10-12 北京奇虎科技有限公司 User state statistics system and user state statistics method

Also Published As

Publication number Publication date
CN106919701A (en) 2017-07-04

Similar Documents

Publication Publication Date Title
US10831641B2 (en) Method and apparatus for determining a performance impact by a software upgrade of a mobile user endpoint device
EP0994602B1 (en) Computer system and network performance monitoring
US7472189B2 (en) Method of collecting data from network elements
US8989002B2 (en) System and method for controlling threshold testing within a network
CN110233860B (en) Load balancing method, device and system
CN107679718B (en) List allocation method, apparatus and computer-readable storage medium
CN108768702A (en) Network analysis method and equipment
CN105306860B (en) A kind of Video data storage method and device
CN103220173A (en) Alarm monitoring method and alarm monitoring system
CN109787827B (en) CDN network monitoring method and device
EP3310093B1 (en) Traffic control method and apparatus
CN109669835A (en) MySQL database monitoring method, device, equipment and readable storage medium storing program for executing
CN105681379A (en) Cluster management system and method
US20200004785A1 (en) Automatic grouping based on user behavior
CN107105049A (en) Data migration method and device
CN112141832A (en) Visual operation platform of elevator thing networking
CN102857798A (en) Monitoring system of system software operation condition based on set-top box
CN101467132B (en) Method and system for distributing data processing units in a communication network
CN104184603B (en) A kind of User Status statistical method, apparatus and system
CN110708177B (en) Exception handling method, system and device in distributed system
CN106919701B (en) Distributed data processing method and device
CN103957230B (en) A kind of client user's number determines method, server, client and system
CN108199980A (en) The action listener method and monitoring system of exchange chip
CN110224872B (en) Communication method, device and storage medium
CN106358140B (en) Contact person grouping method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant