CN114513434A - Data monitoring method and device, storage medium and server - Google Patents

Data monitoring method and device, storage medium and server Download PDF

Info

Publication number
CN114513434A
CN114513434A CN202011280969.0A CN202011280969A CN114513434A CN 114513434 A CN114513434 A CN 114513434A CN 202011280969 A CN202011280969 A CN 202011280969A CN 114513434 A CN114513434 A CN 114513434A
Authority
CN
China
Prior art keywords
data
component
electronic devices
users
user number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011280969.0A
Other languages
Chinese (zh)
Inventor
谭粤元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011280969.0A priority Critical patent/CN114513434A/en
Publication of CN114513434A publication Critical patent/CN114513434A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application provides a data monitoring method, a data monitoring device, a storage medium and electronic equipment, wherein the data monitoring method comprises the following steps: acquiring data reported by a plurality of electronic devices, wherein each data comprises an identifier of the electronic device and an identifier of a component; determining the number of first users corresponding to the plurality of electronic devices according to the identifiers of the plurality of electronic devices; determining a second user number corresponding to each component according to the identifications of the electronic devices and the identifications of the components; and calculating the data loss rate corresponding to each component according to the first user number and the second user number corresponding to each component. In the data monitoring method, the server can acquire the data reported by the plurality of electronic devices and calculate the data loss rate corresponding to each component of the plurality of electronic devices, so that the data reporting conditions of the plurality of electronic devices are monitored, abnormal data loss conditions of each component are found in time, and maintenance personnel are reminded to process the abnormal data loss conditions.

Description

Data monitoring method and device, storage medium and server
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a data monitoring method, an apparatus, a storage medium, and a server.
Background
Currently, with the rapid development of electronic technology, electronic devices such as smart phones are increasingly used in daily life of users. In order to provide better service experience for users, data fed back by the electronic device needs to be collected at the server side so as to analyze the state of the electronic device.
However, when the user uses the electronic device and the electronic device reports data to the server, the situation that the electronic device reports data but the server does not receive the data, that is, the data is lost sometimes occurs, so that the server side is affected.
Disclosure of Invention
The embodiment of the application provides a data monitoring method, a data monitoring device, a storage medium and a server, which can monitor the data loss rate corresponding to each component when a plurality of electronic devices report data.
An embodiment of the present application provides a data monitoring method, including:
acquiring data reported by a plurality of electronic devices, wherein each data comprises an identifier of the electronic device and an identifier of a component;
determining the number of first users corresponding to the plurality of electronic devices according to the identifiers of the plurality of electronic devices;
determining a second user number corresponding to each component according to the identifications of the electronic devices and the identifications of the components;
and calculating the data loss rate corresponding to each component according to the first user number and the second user number corresponding to each component.
An embodiment of the present application further provides a data monitoring apparatus, including:
the data acquisition module is used for acquiring data reported by a plurality of electronic devices, and each data comprises an identifier of the electronic device and an identifier of a component;
the first determining module is used for determining the number of first users corresponding to the plurality of electronic devices according to the identifiers of the plurality of electronic devices;
the second determining module is used for determining a second user number corresponding to each component according to the identifications of the electronic devices and the identifications of the components;
and the calculating module is used for calculating the data loss rate corresponding to each component according to the first user number and the second user number corresponding to each component.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is enabled to execute the data monitoring method.
The embodiment of the application also provides a server, and the server is used for executing the data monitoring method.
In the data monitoring method provided by the embodiment of the application, the server can acquire the data reported by the plurality of electronic devices and calculate the data loss rate corresponding to each component of the plurality of electronic devices, so that the data reporting condition of the plurality of electronic devices is monitored, the abnormal data loss condition of each component is found in time, and a maintainer is reminded to process the abnormal data loss condition.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic view of a first application scenario of a data monitoring method according to an embodiment of the present application.
Fig. 2 is a schematic view of a second application scenario of the data monitoring method according to the embodiment of the present application.
Fig. 3 is a schematic flowchart of a first data monitoring method according to an embodiment of the present application.
Fig. 4 is a schematic flowchart of a second data monitoring method according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a data monitoring apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
Referring to fig. 1, fig. 1 is a schematic view of a first application scenario of a data monitoring method according to an embodiment of the present application.
The data monitoring method provided by the embodiment of the application can be applied to a server, for example, the server 20. Wherein the server 20 may communicate with a plurality of electronic devices 10, the electronic devices 10 may be devices such as smart phones, tablet computers, etc. The plurality of electronic devices 10 may report data to the server 20, so that the server 20 may collect the data reported by the plurality of electronic devices 10 and process the collected data.
Referring to fig. 2, fig. 2 is a schematic view of a second application scenario of the data monitoring method according to the embodiment of the present application.
Each electronic device 10 may include a plurality of components, such as a processor 11, a display 12, and the like. It is understood that fig. 2 is merely an example, and that the electronic device 10 may include a greater variety and number of components, which are not limited in this application.
It is understood that the data reported by the electronic device 10 may include the identification of the electronic device, the identification of the component, and information associated with the component.
The identifier of the electronic device may be used to distinguish different electronic devices, or may be understood as being used to distinguish users corresponding to different electronic devices. The identities of the same electronic device may represent the same electronic device or the same user, and the identities of different electronic devices may represent different electronic devices or different users. For example, the identification of the electronic device may include an International Mobile Equipment Identity (IMEI).
The identification of components may be used to distinguish between different components in an electronic device, for example, whether a component is a processor or a display screen. It is understood that the identification of the components may be represented by preset numbers, characters, etc. Different components and corresponding components are different in identification. The identifiers representing the same component may be the same for different electronic devices.
Information associated with a component may be used to indicate the status of the component. For example, the information associated with the component may include information about the operational stability, the operational duration, the power consumption during operation, and the like of the component.
Therefore, after the server 20 receives the data reported by the plurality of electronic devices 10, it can distinguish different electronic devices, distinguish different components in the electronic devices, and obtain the states of the different components, so as to perform comprehensive judgment and processing.
It can be understood that when the electronic device 10 reports data to the server 20, due to the influence of various factors such as network stability, a situation that the electronic device 10 reports data but the server 20 does not receive the data may occur, that is, the data reported by the electronic device 10 is lost. Therefore, the server 20 may be configured to execute the data monitoring method provided in the embodiment of the present application, and monitor data reported by the multiple electronic devices 10 to obtain the data loss rate. When the data loss rate is obviously abnormal, data maintenance personnel can be reminded to process the data in time.
Referring to fig. 3, fig. 3 is a first flowchart illustrating a data monitoring method according to an embodiment of the present application. The data monitoring method comprises the following steps:
310, data reported by a plurality of electronic devices is obtained, where each data includes an identifier of an electronic device and an identifier of a component.
After the plurality of electronic devices report the data, the server may obtain the data reported by the plurality of electronic devices. For example, after the electronic device reports data, the server may store the received data in a set storage area or a set cache, and then obtain the data from the set storage area or the set cache, and perform subsequent processing. Each piece of data includes an identifier of the electronic device and an identifier of the component, and it is understood that each piece of data may further include information associated with the component. The electronic device identifier included in each data is only one, the component identifiers may be one or more, and the information associated with the components may be one or more. For the identifier of the electronic device, the identifier of the component, and the information related to the component, please refer to the above description, which is not repeated herein.
And 320, determining the number of the first users corresponding to the plurality of electronic devices according to the identifications of the plurality of electronic devices.
After the server acquires the data reported by the plurality of electronic devices, the server can acquire the identifiers of the plurality of electronic devices. Subsequently, the server may perform statistics on the obtained identifiers of the plurality of electronic devices, so as to determine the number of the first users corresponding to the plurality of electronic devices according to the identifiers of the plurality of electronic devices.
When the statistics is carried out, repeated identifications of the electronic equipment can be removed. That is, when the identifier of the same electronic device appears for multiple times, for example, the same electronic device reports multiple pieces of data, and at this time, the corresponding user is the same user, so that the identifier of the electronic device is only reserved once, and the number of the first users is also increased by one.
For example, when data reported by 1000 pieces of electronic equipment is acquired, the 1000 pieces of data include identifiers of 1000 pieces of electronic equipment. The identifier a1 of the electronic device appears 100 times, the identifier a2 of the electronic device appears 50 times, the identifier a3 of the electronic device appears 150 times, and the identifiers of the other electronic devices all appear only 1 time, so that it can be determined that the number of the first users corresponding to the identifiers of the 1000 electronic devices is 703.
And 330, determining a second user number corresponding to each component according to the identifications of the electronic devices and the identifications of the components.
After the server acquires the data reported by the electronic devices, the server can also acquire the identifiers of the components. Subsequently, the server may count the obtained identifiers of the plurality of electronic devices and the identifiers of the plurality of components, so as to determine the second number of users corresponding to each component according to the identifiers of the plurality of electronic devices and the identifiers of the plurality of components.
When the statistics is carried out, the second user number corresponding to each component is counted respectively, and when the second user number is counted, the data with repeated identifications of the electronic equipment and the identifications of the components can be removed. That is, when the identifier of the same electronic device and the identifier of the same component both appear many times, for example, the same electronic device reports a plurality of pieces of data about the same component, and the corresponding user is the same user at this time, so that the identifier of the component corresponding to the identifier of the electronic device is only retained once, and the number of the second users corresponding to the component is also increased by one.
For example, when data reported by 1000 pieces of electronic equipment is acquired, in the 1000 pieces of data, the component b1 appears 800 times, and in the data corresponding to the 800 times component b1, the identifier a1 of the electronic equipment appears 50 times (that is, the electronic equipment a1 reports 50 times data about the component b1, which is similar to the following description), the identifier a2 of the electronic equipment appears 20 times, the identifier a3 of the electronic equipment appears 50 times, and the identifiers of other electronic equipment all appear only 1 time, so that the number of the second users corresponding to the component b1 is determined to be 35683.
And 340, calculating the data loss rate corresponding to each component according to the first user number and the second user number corresponding to each component.
After the server determines the first user number and the second user number corresponding to each component, the data loss rate corresponding to each component can be calculated according to the first user number and the second user number corresponding to each component.
In some embodiments, the server calculates the data loss rate corresponding to each component according to the following formula:
Q1=1-N2/N1
wherein Q is1For each component corresponding data loss rate, N2A second number of users, N, for each component1Is a first number of users.
For example, for component b1, a first number of users N1703, component b1 corresponding to a second number of users N2683, the data loss rate Q corresponding to the component b1 can be calculated1Comprises the following steps: 1-683/703, about 2.84%.
In the description of the present application, it is to be understood that terms such as "first", "second", and the like are used merely to distinguish one similar element from another, and are not to be construed as indicating or implying relative importance or implying any indication of the number of technical features indicated.
In the data monitoring method provided by the embodiment of the application, the server can acquire the data reported by the plurality of electronic devices and calculate the data loss rate corresponding to each component of the plurality of electronic devices, so that the data reporting condition of the plurality of electronic devices is monitored, the abnormal data loss condition of each component is found in time, and a maintainer is reminded to process the abnormal data loss condition.
It can be understood that, in some embodiments, the server may obtain data reported by the plurality of electronic devices according to a preset period, and calculate a data loss rate of each component in the preset period.
For example, the server may obtain data reported by the plurality of electronic devices in a preset period, analyze the obtained data to obtain a first user number and a second user number corresponding to each component, and calculate a data loss rate corresponding to each component in the preset period according to the first user number and the second user number corresponding to each component.
For example, the preset period may be one day, that is, the server may monitor and analyze data reported by the plurality of electronic devices in a period of each day.
It can also be understood that, since different models of electronic devices may have differences in reporting data, in some embodiments, the server may perform data monitoring for different models of electronic devices respectively.
Each piece of data reported by the plurality of electronic devices may further include a model identifier of the electronic device. The model identification may include, for example, a model name, a marketer model name, an operating system version, and the like. Before determining the number of the first users corresponding to the plurality of electronic devices according to the identifiers of the plurality of electronic devices, the server may further classify the plurality of electronic devices according to the model identifiers of the plurality of electronic devices to obtain the models of the plurality of electronic devices. For example, the classification may be performed only by the model name, only by the marketing model name, only by the operating system version, or by the model name, the marketing model name, and the operating system version. For example, electronic devices having the same model name, the same marketing model name, and the same operating system version are classified as the same electronic device model.
Subsequently, when determining the first user number and the second user number, the server determines the first user number corresponding to each electronic device model according to the identifications of the plurality of electronic devices and the plurality of electronic device models, determines the second user number corresponding to each component in each electronic device model according to the identifications of the plurality of electronic devices, the identifications of the plurality of components and the plurality of electronic device models, and calculates the data loss rate corresponding to each component in each electronic device model according to the first user number corresponding to each electronic device model and the second user number corresponding to each component in each electronic device model.
In some embodiments, referring to fig. 4, fig. 4 is a second flowchart of a data monitoring method provided in the embodiments of the present application. Wherein, the data monitoring method further comprises:
351, determining a third user number corresponding to the multiple components according to the identifications of the multiple electronic devices and the identifications of the multiple components;
352, calculating the total data loss rate corresponding to the plurality of components according to the first user number and the third user number.
It can be understood that after the server acquires the data reported by the plurality of electronic devices, the acquired identifiers of the plurality of electronic devices and the identifiers of the plurality of components may be counted, so as to determine the number of third users corresponding to the plurality of components according to the identifiers of the plurality of electronic devices and the identifiers of the plurality of components. And the third user number is the total user number corresponding to the plurality of components.
When the statistics is carried out, the data with the repeated identifications of the electronic equipment and the components can be removed, and the data with the different identifications of the components and the repeated identifications of the electronic equipment can be removed. That is, when the same electronic device reports a plurality of pieces of data about the same component, the corresponding electronic device is the same user, and the calculation is performed according to one user during statistics; moreover, when the same electronic device reports a plurality of pieces of data about different components, the corresponding data are the same user, and the statistical timing is calculated according to the user.
It should be noted that the third number of users is not a superposition of the second number of users corresponding to each component. Since the same user may exist in the second users corresponding to different components, duplicate users need to be removed.
For example, when 1000 pieces of data reported by the electronic device are acquired, in the 1000 pieces of data, the number of the second users corresponding to the component b1 is 683, the number of the second users corresponding to the component b2 is 695, and 680 of the second users corresponding to the component b1 and the second users corresponding to the component b2 are the same users, that is, it is determined that the number of the third users corresponding to the component b1 and the component b2 is 698.
And then, the server calculates the total data loss rate corresponding to the multiple components according to the obtained first user number and the third user number.
In some embodiments, the server calculates a total data loss rate corresponding to the plurality of components according to the following formula:
Q2=1-N3/N1
wherein Q is2For total data loss rate, N3Is the third user number, N1Is a first number of users.
For example, for component b1 and component b2, the first number of users N1A third number N of users corresponding to component b1 and component b2 as 7033698, the total data loss rate Q corresponding to the component b1 and the component b2 can be calculated2Comprises the following steps: 1-698/703, about 0.71%.
In some embodiments, with continued reference to fig. 4, the data monitoring method further comprises:
361, obtaining a fourth user number corresponding to the electronic device for starting the data reporting service;
and 362, calculating the total data loss rate of the users according to the third number of users and the fourth number of users.
The server can monitor the condition that each electronic device starts the data reporting service. For example, when a user turns on or off a "user experience plan" in an electronic device, the server may receive turn-on or turn-off information of the electronic device. Therefore, the server can monitor the data reporting condition of each electronic device and acquire the number of the fourth users corresponding to the electronic device which starts the data reporting service. It will be appreciated that the fourth number of users also does not include duplicate users.
For example, the server may obtain the number of all electronic devices that have started the data reporting service, and remove the number of electronic devices that have closed the data reporting service after being started, so as to obtain the number of electronic devices that have been currently started and continue to report data, that is, the number of fourth users.
Subsequently, the server may calculate the user overall data loss rate based on the third number of users and the fourth number of users.
In some embodiments, the server calculates the user overall data loss rate according to the following formula:
Q3=1-N3/N4
wherein Q is3For the user overall data loss rate, N3Is the third user number, N4Is the fourth user number.
For example, the third number of users N3698, number of fourth users N4At 750, the overall data loss rate Q of the user can be calculated3Comprises the following steps: 1-698/750, about 6.93%.
It can be understood that, a plurality of data tables may be further designed in the server to store data reported by each electronic device, and/or to store data obtained after analysis and processing by the server.
For example, when the electronic device reports the data of the component for the first time, a table shown in table 1 below may be designed to store the data reported by the electronic device:
TABLE 1
Name of field Meaning of a field Type of field
imei Electronic equipment identification number Character string
model_sale Model name of marketing machine Character string
model Name of machine type Character string
hardware_group Component and device Character string
first_date Date of first appearance of imei under the component Character string
For another example, a table shown in table 2 below may be designed to store data reported by the electronic device and data processed by the server:
TABLE 2
Name of field Meaning of a field Type of field
dayno Date Character string
model_sale Name of the model of the marketing machine Character string
model Name of machine type Character string
os_version Operating system version Character string
hardware_group Component and device Character string
new_users Number of newly added users on the same day Integer number of
history_users Historical cumulative number of users Integer number of
today_users Number of users on the day Integer number of
It can also be understood that, after the server obtains the data reported by the plurality of electronic devices and processes the data, the processed data may be input to a data analysis engine for analysis, for example, input to a Kylin data analysis engine for analysis, so as to obtain a monitoring report for the plurality of electronic devices, thereby facilitating to find whether the data loss rate of the monitored electronic devices is abnormal or not, and timely handle the abnormal situation.
In particular implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
As can be seen from the above, the data monitoring method provided in the embodiment of the present application includes: acquiring data reported by a plurality of electronic devices, wherein each data comprises an identifier of the electronic device and an identifier of a component; determining the number of first users corresponding to the plurality of electronic devices according to the identifiers of the plurality of electronic devices; determining a second user number corresponding to each component according to the identifications of the electronic devices and the identifications of the components; and calculating the data loss rate corresponding to each component according to the first user number and the second user number corresponding to each component. In the data monitoring method, the server can acquire the data reported by the plurality of electronic devices and calculate the data loss rate corresponding to each component of the plurality of electronic devices, so that the data reporting conditions of the plurality of electronic devices are monitored, abnormal data loss conditions of each component are found in time, and maintenance personnel are reminded to process the abnormal data loss conditions.
The embodiment of the application also provides a data monitoring device, and the data monitoring device can be integrated in the server.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a data monitoring apparatus according to an embodiment of the present application. Wherein, data monitoring apparatus 400 includes: a data acquisition module 410, a first determination module 420, a second determination module 430, and a calculation module 440.
The data acquisition module 410 is configured to acquire data reported by a plurality of electronic devices, where each data includes an identifier of an electronic device and an identifier of a component;
a first determining module 420, configured to determine, according to the identifiers of the multiple electronic devices, a first number of users corresponding to the multiple electronic devices;
the second determining module 430 is configured to determine, according to the identifiers of the multiple electronic devices and the identifiers of the multiple components, a second number of users corresponding to each component;
the calculating module 440 is configured to calculate a data loss rate corresponding to each component according to the first number of users and the second number of users corresponding to each component.
In some embodiments, the calculating module 440 calculates the data loss rate corresponding to each component according to the following formula:
Q1=1-N2/N1
wherein Q is1For each component corresponding data loss rate, N2A second number of users, N, for each component1Is a first number of users.
In some embodiments, the data monitoring apparatus 400 further comprises a third determination module. The third determining module is used for determining the third user number corresponding to the multiple components according to the identifications of the multiple electronic devices and the identifications of the multiple components; the calculating module 440 is further configured to calculate a total data loss rate corresponding to the plurality of components according to the first user number and the third user number.
In some embodiments, the calculating module 440 calculates a total data loss rate corresponding to the plurality of components according to the following formula:
Q2=1-N3/N1
wherein Q is2Is the total numberAccording to the loss rate, N3Is the third user number, N1Is a first number of users.
In some embodiments, data monitoring apparatus 400 further comprises a service monitoring module. The service monitoring module is used for acquiring the number of fourth users corresponding to the electronic equipment for starting the data reporting service; the calculating module 440 is further configured to calculate an overall user data loss rate according to the third number of users and the fourth number of users.
In some embodiments, the calculation module 440 calculates the user overall data loss rate according to the following formula:
Q3=1-N3/N4
wherein Q is3For the user overall data loss rate, N3Is the third user number, N4Is the fourth user number.
The specific implementation manner of each module of the data monitoring apparatus 400 may refer to the description in the data monitoring method, and is not described herein again. In specific implementation, the modules may be implemented as independent entities, or may be combined arbitrarily and implemented as one or several entities.
As can be seen from the above, the data monitoring apparatus 400 provided in the embodiment of the present application includes: the data acquisition module 410 is configured to acquire data reported by a plurality of electronic devices, where each data includes an identifier of an electronic device and an identifier of a component; a first determining module 420, configured to determine, according to the identifiers of the multiple electronic devices, a first number of users corresponding to the multiple electronic devices; the second determining module 430 is configured to determine, according to the identifiers of the multiple electronic devices and the identifiers of the multiple components, a second number of users corresponding to each component; the calculating module 440 is configured to calculate a data loss rate corresponding to each component according to the first number of users and the second number of users corresponding to each component. The data monitoring device can acquire data reported by a plurality of electronic devices and calculate the data loss rate corresponding to each component of the plurality of electronic devices, so that the data reporting condition of the plurality of electronic devices can be monitored, the abnormal data loss condition of each component can be found in time, and maintenance personnel can be reminded to process the data.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the data monitoring method according to any of the above embodiments.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, which may include, but is not limited to: a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
The data monitoring method, the data monitoring device and the storage medium provided by the embodiment of the application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. A method for monitoring data, comprising:
acquiring data reported by a plurality of electronic devices, wherein each data comprises an identifier of the electronic device and an identifier of a component;
determining the number of first users corresponding to the plurality of electronic devices according to the identifiers of the plurality of electronic devices;
determining a second user number corresponding to each component according to the identifications of the electronic devices and the identifications of the components;
and calculating the data loss rate corresponding to each component according to the first user number and the second user number corresponding to each component.
2. The data monitoring method according to claim 1, wherein when the data loss rate corresponding to each component is calculated according to the first number of users and the second number of users corresponding to each component, the calculation is performed according to the following formula:
Q1=1-N2/N1
wherein Q is1For each component corresponding data loss rate, N2A second number of users, N, for each component1The first number of users.
3. The data monitoring method according to claim 1 or 2, further comprising:
determining a third user number corresponding to the plurality of components according to the identifiers of the plurality of electronic devices and the identifiers of the plurality of components;
and calculating the total data loss rate corresponding to the plurality of components according to the first user number and the third user number.
4. The data monitoring method according to claim 3, wherein when the total data loss rate corresponding to the plurality of components is calculated according to the first user number and the third user number, the calculation is performed according to the following formula:
Q2=1-N3/N1
wherein Q is2For the total data loss rate, N3Is the third number of users, N1The first number of users.
5. The data monitoring method of claim 3, further comprising:
acquiring the number of fourth users corresponding to the electronic equipment for starting the data reporting service;
and calculating the total data loss rate of the users according to the third user quantity and the fourth user quantity.
6. The data monitoring method of claim 5, wherein when calculating the total user data loss rate according to the third number of users and the fourth number of users, the calculation is performed according to the following formula:
Q3=1-N3/N4
wherein Q is3For the user overall data loss rate, N3Is the third number of users, N4Is the fourth number of users.
7. A data monitoring method according to claim 1 or 2, characterized in that:
the acquiring data reported by the plurality of electronic devices includes: acquiring data reported by a plurality of electronic devices in a preset period;
the calculating the data loss rate corresponding to each component according to the first user number and the second user number corresponding to each component includes: and calculating the data loss rate of each component in the preset period according to the first user number and the second user number corresponding to each component.
8. The data monitoring method according to claim 1 or 2, wherein each of the data further includes a model identifier of an electronic device, and before determining the first number of users corresponding to the plurality of electronic devices according to the identifiers of the plurality of electronic devices, the method further includes:
classifying the electronic equipment according to the model identifications of the electronic equipment to obtain a plurality of electronic equipment models;
the determining, according to the identifiers of the plurality of electronic devices, the number of first users corresponding to the plurality of electronic devices includes: determining a first user number corresponding to each electronic equipment model according to the identifications of the electronic equipment and the electronic equipment models;
determining a second user number corresponding to each component according to the identifiers of the electronic devices and the identifiers of the components, including: determining a second user number corresponding to each component in each electronic equipment model according to the identifications of the electronic equipment, the identifications of the components and the electronic equipment models;
the calculating the data loss rate corresponding to each component according to the first user number and the second user number corresponding to each component includes: and calculating the data loss rate corresponding to each component in each electronic equipment model according to the first user number corresponding to each electronic equipment model and the second user number corresponding to each component in each electronic equipment model.
9. A data monitoring device, comprising:
the data acquisition module is used for acquiring data reported by a plurality of electronic devices, and each data comprises an identifier of the electronic device and an identifier of a component;
the first determining module is used for determining the number of first users corresponding to the plurality of electronic devices according to the identifiers of the plurality of electronic devices;
the second determining module is used for determining a second user number corresponding to each component according to the identifications of the electronic devices and the identifications of the components;
and the calculating module is used for calculating the data loss rate corresponding to each component according to the first user number and the second user number corresponding to each component.
10. A storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the data monitoring method of any one of claims 1 to 8.
11. A server, characterized in that the server is adapted to perform the data monitoring method of any of claims 1 to 8.
CN202011280969.0A 2020-11-16 2020-11-16 Data monitoring method and device, storage medium and server Pending CN114513434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011280969.0A CN114513434A (en) 2020-11-16 2020-11-16 Data monitoring method and device, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011280969.0A CN114513434A (en) 2020-11-16 2020-11-16 Data monitoring method and device, storage medium and server

Publications (1)

Publication Number Publication Date
CN114513434A true CN114513434A (en) 2022-05-17

Family

ID=81547112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011280969.0A Pending CN114513434A (en) 2020-11-16 2020-11-16 Data monitoring method and device, storage medium and server

Country Status (1)

Country Link
CN (1) CN114513434A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060198376A1 (en) * 2005-03-02 2006-09-07 Nec Corporation Communication device for IP network
CN107153702A (en) * 2017-05-10 2017-09-12 北京微影时代科技有限公司 A kind of data processing method and device
CN110505076A (en) * 2018-05-18 2019-11-26 维沃移动通信有限公司 Measurement method, acquisition methods, terminal and the network equipment of bursts dropping ratio
CN111241502A (en) * 2020-01-14 2020-06-05 恩亿科(北京)数据科技有限公司 Cross-device user identification method and device, electronic device and storage medium
CN111353073A (en) * 2018-12-21 2020-06-30 阿里巴巴集团控股有限公司 Terminal equipment identification information processing method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060198376A1 (en) * 2005-03-02 2006-09-07 Nec Corporation Communication device for IP network
CN107153702A (en) * 2017-05-10 2017-09-12 北京微影时代科技有限公司 A kind of data processing method and device
CN110505076A (en) * 2018-05-18 2019-11-26 维沃移动通信有限公司 Measurement method, acquisition methods, terminal and the network equipment of bursts dropping ratio
CN111353073A (en) * 2018-12-21 2020-06-30 阿里巴巴集团控股有限公司 Terminal equipment identification information processing method and device and electronic equipment
CN111241502A (en) * 2020-01-14 2020-06-05 恩亿科(北京)数据科技有限公司 Cross-device user identification method and device, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN106776253B (en) Interface card pause monitoring method and device
CN110442498B (en) Abnormal data node positioning method and device, storage medium and computer equipment
CN109672583A (en) Method for monitoring network, equipment, storage medium and device
CN110362455B (en) Data processing method and data processing device
CN112540887A (en) Fault drilling method and device, electronic equipment and storage medium
CN111984442A (en) Method and device for detecting abnormality of computer cluster system, and storage medium
CN109857618B (en) Monitoring method, device and system
CN110377703A (en) Error information processing method, device and equipment
CN110825466B (en) Program jamming processing method and jamming processing device
CN110737650A (en) Data quality detection method and device
CN111158926B (en) Service request analysis method, device and equipment
CN111062503B (en) Power grid monitoring alarm processing method, system, terminal and storage medium
CN110807050B (en) Performance analysis method, device, computer equipment and storage medium
CN108696371B (en) Network fault determination method and system
CN106294364B (en) Method and device for realizing web crawler to capture webpage
CN111835566A (en) System fault management method, device and system
CN114513434A (en) Data monitoring method and device, storage medium and server
CN111176950A (en) Method and equipment for monitoring network card of server cluster
CN106681894B (en) Monitoring method and monitoring device of intelligent equipment
CN110232521B (en) Service system stability evaluation method and evaluation device
CN113709223A (en) Method and device for monitoring platform abnormity, electronic equipment and readable storage medium
CN116702121B (en) Method for enhancing access control security in cloud desktop scene
CN106991038A (en) Service monitoring method and device based on java collectors
CN114071450B (en) Recognition method and device for card changing behavior of machine changing
CN118519818B (en) Deep recursion network-based big data computer system fault detection method

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20241008