CN106411614B - The count off abnormality eliminating method and numbering-off system of numbering-off system - Google Patents
The count off abnormality eliminating method and numbering-off system of numbering-off system Download PDFInfo
- Publication number
- CN106411614B CN106411614B CN201611027958.5A CN201611027958A CN106411614B CN 106411614 B CN106411614 B CN 106411614B CN 201611027958 A CN201611027958 A CN 201611027958A CN 106411614 B CN106411614 B CN 106411614B
- Authority
- CN
- China
- Prior art keywords
- count
- data
- client
- server
- abnormal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Storage Device Security (AREA)
- Computer And Data Communications (AREA)
Abstract
The application discloses the count off abnormality eliminating method and numbering-off system of numbering-off system, and method includes: to install the client of numbering-off system on the subscriber terminal, and client is docked with count off server;Set the Application Type and count off data type of count off;The encryption policy of count off data is set;Numbering-off system is opened, when being triggered to the application program for belonging to the Application Type of setting, corresponding count off data is formed and is stored in the blocking in queue of client;Judge count off data with the presence or absence of abnormal: if the count off parameter format exception or data exception of count off data or count off time are more than preset time-out time, representing count off exception, abnormality processing carried out to count off data, it is on the contrary then to represent count off normal;The normal count off data of count off are handled according to the encryption policy of setting, and will treated count off data from obstruction queue deposit client database;By treated, count off data are uploaded to count off server from client database.
Description
Technical field
This application involves count off statistical technique fields, specifically, being related to a kind of count off abnormality processing side of numbering-off system
Method and numbering-off system.
Background technique
China Internet has formed scale, and Internet application moves towards diversification.Internet more and more profoundly changes
Study, work and the life style of people, or even affect entire society's process.In by the end of December, 2011 by, Chinese netizen
Quantity breaks through 500,000,000, reaches 5.13 hundred million, whole year newly-increased netizen 55,800,000.The Internet penetration relatively upper end of the year promotes 4 percentage points,
Reach 38.3%.
Internet now gradually develops towards big data direction, analyzes after the information data by collecting user
Statistical rule or the next step operation of prediction user are obtained, provides faster, more intelligent push or other clothes for user
Business is with the hot research topic as this field.So, reporting and how carrying out count off process for count off data how is realized
In data exception processing, become technical problem urgently to be resolved at this stage.
Summary of the invention
In view of this, the technical problem to be solved by the application is to provide a kind of count off abnormality processing sides of numbering-off system
Method and numbering-off system not only realize the reporting functions of count off data, additionally it is possible to it is abnormal to judge that count off data whether there is, and energy
It is enough that the count off data that there is exception are effectively treated, it advantageously ensures that the correctness of count off data, is subsequent user's row
Good data basis has been established for statistics.
In order to solve the above-mentioned technical problem, the application has following technical solution:
A kind of count off abnormality eliminating method of numbering-off system, comprising:
The client for installing numbering-off system on the subscriber terminal, the client dock matching with count off server
It sets;
The Application Type and count off data type of count off are set on the client, and by the application program of setting
Type and the count off data type are uploaded to the count off server;
The encryption policy of the count off data is set in the client;
The numbering-off system is opened, belongs to the Application Type of setting when user is triggered to by the client
Application program when, form corresponding count off data in the client and be stored in the blocking in queue of the client;
Judge the count off data with the presence or absence of abnormal: if the count off parameter format exception or data exception of count off data,
Or the count off time is more than preset time-out time, then represents count off exception, carries out abnormality processing to count off data, it is on the contrary then represent
Count off is normal;
The normal count off data of count off are handled according to the encryption policy of setting, and will treated the report
Number data are from obstruction queue deposit client database;
By treated, count off data are uploaded to count off server from the client database, by count off server pair
It is described treated count off data are handled and the count off catalogue that is stored in count off server in, the count off catalogue is described
The Application Type that count off server is uploaded according to the client and the count off data type are in count off server
It is established in database.
Preferably, in which:
It is described that abnormality processing is carried out to count off data, further are as follows:
It is deposited when abnormal when determining a certain count off data, 1 is added to the abnormal number of the count off data, again waited for receiving and be somebody's turn to do
Count off data and the abnormal conditions for judging the count off data, if the abnormal number of the count off data is accumulated to default abnormal numerical value count off
When data are still abnormal, then give up the count off data, the count off data is forbidden to carry out count off again, if the count off data are described
Abnormal number switchs to that count off is normal before reaching the default abnormal numerical value, then normal to count off according to the encryption policy of setting
Count off data handled.
Preferably, in which:
Further comprise: judging the abnormal conditions of count off data:
If count off parameter format exception or data exception occur in count off data, and abnormal number is less than the default abnormal number
When value, then count off is carried out again after being spaced preset first dormancy time;
If there is time-out error in count off data, and when abnormal number is less than the default abnormal numerical value, are then spaced preset
Count off is carried out after second dormancy time again;
If count off data do not occur exception, the upper of other count off data is carried out again after being spaced preset third dormancy time
Report.
Preferably, in which:
The encryption policy of count off data is set in the client, further are as follows:
The strategy encrypted to the count off parameter in the count off data is set in the client, or in the visitor
The strategy not encrypted to the count off parameter in the count off data is set on the end of family;
The normal count off data of count off are handled according to the encryption policy of setting, further are as follows:
When using the strategy of encryption, encryption count off data are generated on the client, when using non-encrypted strategy,
Non-encrypted count off data are generated in client.
Preferably, in which:
By count off server, treated that count off data are handled and are stored in the count off mesh in count off server to described
In record, further are as follows:
Treated described in the judgement of count off server, and count off data are to encrypt count off data or non-encrypted count off data,
If encryption count off data, then encryption count off data are decrypted in the decruption key transferred in count off server, and will decryption
In the count off catalogue in count off data deposit count off server afterwards, if non-encrypted count off data, then directly by non-encrypted report
In count off catalogue in number data deposit count off server.
A kind of numbering-off system characterized by comprising user terminal, client, count off server and count off abnormality processing
Module,
The client is mounted on the user terminal, docks configuration connection with count off server formation;
The client for setting the Application Type and count off data type of count off, and will answer described in setting
It is uploaded to the count off server with Program Type and the count off data type, is also used to be arranged the encryption of the count off data
Strategy, and be used for when user is triggered to the application program for the Application Type for belonging to setting by the client,
Corresponding count off data are formed in the client and are stored in the client database;
The count off exception processing module, for judging the count off data with the presence or absence of abnormal: if the report of count off data
Number parameter format exception or data exception or count off time are more than preset time-out time, then count off exception are represented, to count off number
It is on the contrary then to represent count off normal according to carrying out abnormality processing;
The client is also used to handle the normal count off data of count off according to the encryption policy of setting,
And will treated count off data from obstruction queue deposit client database, then count off data of inciting somebody to action that treated
Count off server is uploaded to from the client database;
The count off server, for treated that count off data are handled and are stored in count off server to described
In count off catalogue, the Application Type that the count off catalogue, which is the count off server, to be uploaded according to the client and
What the count off data type was established in count off server database.
Preferably, in which:
The count off exception processing module, is further used for: depositing when abnormal when determining a certain count off data, to the report
The abnormal number of number data adds 1, again waits for receiving the count off data and judges the abnormal conditions of the count off data, if the count off number
According to abnormal number to be accumulated to default abnormal numerical value count off data be still abnormal when, then give up the count off data, forbid the count off number
According to carrying out count off again, if to switch to count off before the abnormal number reaches the default abnormal numerical value normal for the count off data,
Then the normal count off data of count off are handled according to the encryption policy of setting.
Preferably, in which:
Further comprise: data reporting module,
The data reporting module, is further used for: judge the abnormal conditions of count off data:
If count off parameter format exception or data exception occur in count off data, and abnormal number is less than the default abnormal number
When value, then count off is carried out again after being spaced preset first dormancy time;
If there is time-out error in count off data, and when abnormal number is less than the default abnormal numerical value, are then spaced preset
Count off is carried out after second dormancy time again;
If count off data do not occur exception, the upper of other count off data is carried out again after being spaced preset third dormancy time
Report.
Preferably, in which:
The client is further used for that the count off parameter progress in the count off data is arranged in the client
The strategy of encryption, or the strategy not encrypted to the count off parameter in the count off data is set in the client;
The client is further used for when using the strategy of encryption, encryption count off data is generated, when using non-encrypted
Strategy when, generate non-encrypted count off data.
Preferably, in which:
The count off server, being further used for judgement, described treated that count off data are encryption count off data also right and wrong
Count off data are encrypted, if encryption count off data, then the decruption key transferred in count off server carries out encryption count off data
Decryption, and the count off data after decryption are stored in the count off catalogue in count off server, if non-encrypted count off data, then directly
It connects in the count off catalogue that non-encrypted count off data are stored in count off server.
Compared with prior art, system and method described herein achieving the following effects:
First, the count off abnormality eliminating method and numbering-off system of numbering-off system provided by the present invention can judge to be formed
Count off data with the presence or absence of abnormal, the count off parameter format exception or data exception of count off data or count off time are more than pre-
If time-out time, then represent count off exception, to count off data carry out abnormality processing, count the abnormal number of each count off data, when
When abnormal number is more than default abnormal numerical value, then gives up the exception count off data, no longer carry out reporting for the abnormal data, pass through this
Kind mode, has effectively filtered out the data of the exception of count off repeatedly, it is ensured that the accuracy of the count off data reported is subsequent
Data analysis established good data basis.
Second, the count off abnormality eliminating method and numbering-off system of numbering-off system provided by the present invention are directed to count off respectively
Data count off parameter format exception occur or data exception, count off data time-out error occur and count off data do not occur exception
The interval of reported data in varied situations is arranged provided with the interval time that data report in three kinds of situations, is conducive to alleviate report
The pressure that number server is born during receiving count off data, guarantees the normal operation of numbering-off system.
Third, in the count off abnormality eliminating method and numbering-off system of numbering-off system provided by the present invention, count off data
Abnormal number, preset first dormancy time when there is count off parameter format exception or data exception, when there is time-out error
Preset third dormancy time when preset second dormancy time and normal count off, can be according to the actual conditions of numbering-off system
And count off data volume is adjusted flexibly in real time, to be conducive to the optimization operation of numbering-off system.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen
Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the count off abnormality eliminating method of numbering-off system of the invention;
Fig. 2 is a kind of structure chart of numbering-off system of the invention;
Fig. 3 is a kind of flow chart of the embodiment of the count off abnormality eliminating method of numbering-off system of the invention.
Specific embodiment
As used some vocabulary to censure specific components in the specification and claims.Those skilled in the art answer
It is understood that hardware manufacturer may call the same component with different nouns.This specification and claims are not with name
The difference of title is as the mode for distinguishing component, but with the difference of component functionally as the criterion of differentiation.Such as logical
The "comprising" of piece specification and claim mentioned in is an open language, therefore should be construed to " include but do not limit
In "." substantially " refer within the acceptable error range, those skilled in the art can within a certain error range solve described in
Technical problem basically reaches the technical effect.In addition, " coupling " word includes any direct and indirect electric property coupling herein
Means.Therefore, if it is described herein that a first device is coupled to a second device, then representing the first device can directly electrical coupling
It is connected to the second device, or the second device indirectly electrically coupled through other devices or coupling means.Specification
Subsequent descriptions be implement the application better embodiment, so it is described description be for the purpose of the rule for illustrating the application,
It is not intended to limit the scope of the present application.The protection scope of the application is as defined by the appended claims.
Embodiment 1
Shown in Figure 1 is a kind of herein described specific embodiment of the count off abnormality eliminating method of numbering-off system, should
Method includes:
Step 101, the client for installing numbering-off system on the subscriber terminal, the client and count off server are carried out
Docking configuration;
Step 102, the Application Type and count off data type for setting count off on the client, and will be described in setting
Application Type and the count off data type are uploaded to the count off server;
Step 103, the encryption policy that the count off data are set in the client;
Step 104 opens the numbering-off system, belongs to the application of setting when user is triggered to by the client
When the application program of Program Type, corresponding count off data are formed in the client and be stored in the client blocks team
In column;
Step 105 judges the count off data with the presence or absence of abnormal: if the count off parameter format of count off data is abnormal or counts
It is more than preset time-out time according to exception or count off time, then represents count off exception, abnormality processing is carried out to count off data, instead
Then to represent count off normal;
Step 106 is handled the normal count off data of count off according to the encryption policy of setting, and will be after processing
The count off data from the obstruction queue deposit client database in;
Step 107, by treated, count off data are uploaded to count off server from the client database, by count off
Server to it is described treated count off data are handled and the count off catalogue that is stored in count off server in.The count off catalogue
It is the Application Type and the count off data type that the count off server is uploaded according to the client in count off
It is established in server database.
Through the above steps 105, the exception judgement to count off data is realized, the count off parameter lattice of count off data are passed through
Formula, count off data content and count off data whether time-out come to count off data it is normal whether judge, and to reporting
The abnormal count off data of number carry out abnormality processing.In this manner, abnormal count off data have not only been filtered out, additionally it is possible to according to
Abnormal conditions handle count off data, to advantageously ensure that the accuracy of count off data.
In above-mentioned steps 105, preset time-out time can be set according to numbering-off system practical operation situation, such as can
It is set as 30 seconds.When count off data are more than to give the correct time on 30 seconds failed, then there is time-out error in representative.
Further, abnormality processing is carried out to count off data, are as follows: it is deposited when abnormal when determining a certain count off data, it is right
The abnormal number of the count off data adds 1, again waits for receiving the count off data and judges the abnormal conditions of the count off data, if the report
The abnormal number of number data is accumulated to default abnormal numerical value count off data when being still abnormal, then gives up the count off data, forbid the report
Number data carry out count off again, if the count off data are switching to count off just before the abnormal number reaches the default abnormal numerical value
Often, then the normal count off data of count off are handled according to the encryption policy of setting.
By the above-mentioned means, carrying out abnormality processing to count off data, the abnormal number of each count off data is counted, when abnormal number is super
When crossing default abnormal numerical value, then gives up the exception count off data, no longer carry out reporting for the abnormal data, in this manner,
The data of the exception of count off repeatedly are effectively filtered out, it is ensured that the accuracy of the count off data reported is subsequent data
Good data basis has been established in analysis.
In addition, the count off abnormality eliminating method of numbering-off system provided by the present invention, further comprises:
Judge the abnormal conditions of count off data:
If count off parameter format exception or data exception occur in count off data, and abnormal number is less than the default abnormal number
When value, then count off is carried out again after being spaced preset first dormancy time;
If there is time-out error in count off data, and when abnormal number is less than the default abnormal numerical value, are then spaced preset
Count off is carried out after second dormancy time again;
If count off data do not occur exception, it is spaced after third dormancy time and carries out reporting for other count off data again.
When abnormal number in above scheme, preset first suspend mode when there is count off parameter format exception or data exception
Between, preset second dormancy time when there is time-out error and when normal count off preset third dormancy time, can root
It is adjusted flexibly according to the actual conditions and real-time count off data volume of numbering-off system.
The default abnormal numerical value of count off data can be set as 3 in the present invention, that is to say, that reach 3 times also for count off number
There are abnormal data to carry out giving up processing.
Further, the first dormancy time can be set as 5 seconds by the present invention.Above-mentioned second dormancy time is according to count off exception
Number can be set as abnormal number * 20 seconds to set, such as by the second dormancy time.Above-mentioned third dormancy time can be according to client data
Available data sum in library is set, such as the available data that can be set as third dormancy time in client database
Total * 100 milliseconds, certainly, the upper and lower bound of third dormancy time can also be defined, such as the upper limit is set as 2 seconds, it will
Lower limit is set as 100 milliseconds.
The present invention is directed to count off data respectively and count off parameter format exception or data exception, count off data appearance time-out occurs
Mistake and count off data do not occur abnormal three kinds of situations, and provided with the interval time that data report, setting is in varied situations
The interval of reported data is conducive to alleviate the pressure that count off server is born during receiving count off data, guarantees report
The normal operation of number system.
In above-mentioned steps 103, the encryption policy of the count off data is set in the client, further are as follows:
The strategy encrypted to the count off parameter in the count off data is set in the client, or in the visitor
The strategy not encrypted to the count off parameter in the count off data is set on the end of family.
Through the above steps 101, the client of numbering-off system is installed on the subscriber terminal, and the client and count off are taken
Business device carries out docking configuration, and the basis for so then completing numbering-off system is built.By step 102 and step 103, count off is answered
Spirit can be carried out according to user demand on the client with the encryption policy of Program Type, count off data type and count off data
Setting living, that is to say, that user can be to the count off of some function in the APP type for needing count off and specific triggering APP
It is configured, the encryption policy of count off data can be also configured, user uses very flexibly.
By step 103, user can be arranged whether encrypt to the count off data uploaded by client, maximum journey
User is met on degree to the various use demands of numbering-off system.
In above-mentioned steps 106, the normal count off data of count off are handled according to the encryption policy of setting, into one
Step are as follows:
When using the strategy of encryption, encryption count off data are generated on the client, when using non-encrypted strategy,
Non-encrypted count off data are generated in client.Two kinds of strategies select according to actual needs for user, design very humanized.
In above-mentioned steps 107, by count off server, treated that count off data are handled and are stored in count off clothes to described
It is engaged in the count off catalogue in device, further are as follows:
Treated described in the judgement of count off server, and count off data are to encrypt count off data or non-encrypted count off data,
If encryption count off data, then encryption count off data are decrypted in the decruption key transferred in count off server, and will decryption
In the count off catalogue in count off data deposit count off server afterwards, if non-encrypted count off data, then directly by non-encrypted report
In count off catalogue in number data deposit count off server.
The present invention, to count off data encryption or the two kinds of strategies not encrypted, provides two different answer according to client respectively
To strategy.If receiving encryption count off data, according to the decruption key being stored in count off server to encryption count off data
It saves after being decrypted into count off catalogue;If receiving non-encrypted count off data, directly non-encrypted count off data are saved
Into count off catalogue.Since count off catalogue is the Application Type uploaded according to count off server according to the client
It is established in count off server database with the count off data type, therefore is saved in the count off designed in this manner
After in catalogue, it is very beneficial for the subsequent statistical analysis to count off data.
The count off abnormality eliminating method of numbering-off system provided by the present invention, can be according to the encryption policy of client count off
Data are uploaded to count off server again after being encrypted, then save after encryption count off data are decrypted by server, so
Mode ensure that the safety of count off data collected by numbering-off system.
In the count off abnormality eliminating method of numbering-off system provided by the present invention, after opening numbering-off system, client triggering
When to some application program in the Application Type of setting, client will generate corresponding count off data, by count off number
Block in queue according to deposit, and count off data can be handled according to the encryption policy of setting, is restored again into client data
It in library, is then uploaded in count off server by client database again, and then count off data is extracted into report by server again
In number record.Queue can be blocked and play the role of caching to count off data, count off data are stored in the number of client by client
According to the loss in library, effectively preventing count off data.Count off server finally stores count off data to count off server data
In count off catalogue in library, the loss of count off data is on the one hand prevented, the statistical analysis of count off data is on the other hand also facilitated,
Preferable basis is established for subsequent Users'Data Analysis.
The count off abnormality eliminating method of numbering-off system further comprises in the present invention: when needing to analyze count off data
When, basic data of the count off data needed for being extracted from the count off catalogue in the count off server database as analysis.This
Count off data are stored in the database of count off server by invention, and the safety of data has been effectively ensured, has avoided the occurrence of data
The phenomenon that loss.When needing to count count off data, then the called data from the database of count off server, very just
Just.
Count off data type in the present invention includes but is not limited to: starting client opens some application program, clicks and answer
With some functional application etc. in program.
For example, using PC machine as user terminal, the client of numbering-off system is installed in PC machine, and by client and count off
Server carries out docking configuration.Some video player is set as to the application program of count off, opens the video playing in user
After device, subsequent execution operation such as search, browsing, viewing user behavior and open video player user behavior all
Count off data will be generated and be sent to server, server handles these count off data, stores, and uses for post analysis.
Embodiment 2
Shown in Figure 2 is a kind of herein described specific embodiment of numbering-off system 100, which includes: user's end
End 10, client 20, count off server 30 and count off exception processing module 40,
The client 20 is mounted on the user terminal 10, is docked configuration with the count off server 30 formation and is connected
It connects;
The client 20, for setting the Application Type and count off data type of count off, and will be described in setting
Application Type and the count off data type are uploaded to the count off server 30, are also used to be arranged the count off data
Encryption policy, and for being triggered to the application program for belonging to the Application Type of setting by the client as user
When, corresponding count off data are formed in the client 20 and are stored in the blocking in queue of the client;
The count off exception processing module 40, for judging the count off data with the presence or absence of abnormal: if count off data
Count off parameter format exception or data exception or count off time are more than preset time-out time, then count off exception are represented, to count off
Data carry out abnormality processing, on the contrary then to represent count off normal;
The client 20 is also used to according to the encryption policy of setting to the normal count off data of count off
Reason, and will treated count off data from obstruction queue deposit client database, then general's treated count off
Data are uploaded to count off server 30 from the client database;
The count off server 30, for treated that count off data are handled and are stored in count off server 30 to described
In count off catalogue in, the count off catalogue is the count off server 30 uploaded according to the client 20 it is described using journey
What sequence type and the count off data type were established in 30 database of count off server.
Above-mentioned preset time-out time can be set according to numbering-off system practical operation situation, for example, can be set as 10 seconds-
It 35 seconds, is further chosen as 25 seconds.When count off data are more than to give the correct time on 25 seconds failed, then there is time-out error in representative.
Above-mentioned count off exception processing module 40, is further used for: depositing when abnormal when determining a certain count off data, to this
The abnormal number of count off data adds 1, again waits for receiving the count off data and judges the abnormal conditions of the count off data, if the count off
The abnormal number of data is accumulated to default abnormal numerical value count off data when being still abnormal, then gives up the count off data, forbid the count off
Data carry out count off again, if the count off data are switching to count off just before the abnormal number reaches the default abnormal numerical value
Often, then the normal count off data of count off are handled according to the encryption policy of setting.
The default abnormal numerical value of count off data can be set as 3 in the present invention, that is to say, that reach 3 times also for count off number
There are abnormal data to carry out giving up processing.
Numbering-off system in the present invention further comprises: data reporting module, and the data reporting module is further used
In: judge the abnormal conditions of count off data:
If count off parameter format exception or data exception occur in count off data, and abnormal number is less than the default abnormal number
When value, then count off is carried out again after being spaced preset first dormancy time;
If there is time-out error in count off data, and when abnormal number is less than the default abnormal numerical value, are then spaced preset
Count off is carried out after second dormancy time again;
If count off data do not occur exception, the upper of other count off data is carried out again after being spaced preset third dormancy time
Report.
First dormancy time can be set as 5 seconds by the present invention.Above-mentioned second dormancy time is set according to count off exception number,
Such as the second dormancy time can be set as abnormal number * 20 seconds.Above-mentioned third dormancy time can be according to showing in client database
There is data count to be set, such as the available data sum * 100 that third dormancy time can be set as in client database
Millisecond, certainly, can also be defined the upper and lower bound of third dormancy time, such as the upper limit is set as 2 seconds, lower limit is set as
100 milliseconds.
Certainly, the abnormal number in above scheme, preset first when there is count off parameter format exception or data exception
Preset third dormancy time when dormancy time, preset second dormancy time when there is time-out error and normal count off,
It can be adjusted flexibly according to the actual conditions and real-time count off data volume of numbering-off system.
The present invention is directed to count off data respectively and count off parameter format exception or data exception, count off data appearance time-out occurs
Mistake and count off data do not occur abnormal three kinds of situations, and provided with the interval time that data report, setting is in varied situations
The interval of reported data is conducive to alleviate the pressure that count off server is born during receiving count off data, guarantees report
The normal operation of number system.
Numbering-off system provided by the present invention realizes the exception judgement to count off data, is joined by the count off of count off data
Number format, count off data content and count off data whether time-out come to count off data it is normal whether judge, and to out
The count off data of existing count off exception carry out abnormality processing.Abnormality processing is carried out to count off data, counts the exception of each count off data
Number then gives up the exception count off data, no longer carries out reporting for the abnormal data when abnormal number is more than default abnormal numerical value,
In this manner, the data of the exception of count off repeatedly have effectively been filtered out, it is ensured that the accuracy of the count off data reported,
Good data basis has been established for the analysis of subsequent data.
Above-mentioned client 20 is further used for being arranged in the client 20 to the count off parameter in the count off data
The strategy encrypted, or the plan not encrypted to the count off parameter in the count off data is set in the client 20
Slightly.
The client 20 of numbering-off system 100 is installed on user terminal 10, and by the client 20 and count off server 30
Docking configuration is carried out, the basis for so then completing numbering-off system 100 is built.Application Type, the count off data class of count off
The encryption policy of type and count off data can carry out flexible setting according to user demand in client 20, that is to say, that use
Family can be configured the count off of some function in the APP type for needing count off and specific triggering APP, can also be to count off
The encryption policy of data is configured, and user uses very flexibly.
Above-mentioned client 20 is further used for when using the strategy of encryption, generates encryption count off data, adds when using non-
When close strategy, non-encrypted count off data are generated.Two kinds of strategies select according to actual needs for user, design very human nature
Change.User can be arranged whether encrypt to the count off data uploaded by client 20, meet user to the full extent
To the various use demands of numbering-off system 100.
Above-mentioned count off server 30, be further used for judgement treated count off data the are encryption count off data or
Non-encrypted count off data, if encryption count off data, then transfer decruption key in count off server to encryption count off data into
Row decryption, and by the count off catalogue in the count off data deposit count off server 30 after decryption, if non-encrypted count off data,
Then directly non-encrypted count off data are stored in the count off catalogue in count off server 30.
The present invention, to count off data encryption or the two kinds of strategies not encrypted, provides two different respectively according to client 20
Countermeasure.If receiving encryption count off data, transfers after encryption count off data are decrypted in decruption key and save to report
In number record;If receiving non-encrypted count off data, directly non-encrypted count off data are saved into count off catalogue.Due to report
Number record is the Application Type uploaded according to count off server 30 according to the client 20 and the count off data
What type was established in 30 database of count off server, therefore after being saved in the count off catalogue designed in this manner, it is non-
Often be conducive to the subsequent statistical analysis to count off data.
When needing to analyze count off data, the count off server 30 is further used for from the count off server
Basic data of the count off data needed for being extracted in count off catalogue in 30 databases as analysis.The present invention saves count off data
In the database of count off server 30, the phenomenon that the safety of data has been effectively ensured, has avoided the occurrence of loss of data.It is needing
When being counted to count off data, then the called data from the database of count off server 30, it is very convenient.
In numbering-off system 100 provided by the present invention, after opening numbering-off system, client 20 is triggered to the application journey of setting
When some application program in sequence type, client 20 will generate corresponding count off data, and be added to and can block in queue,
And storage is into client database after capable of being handled according to the encryption policy of setting count off data, then by client
Database transmissions are again extracted count off data in count off catalogue by count off server to count off server.Team can be blocked
Column play the role of caching to count off data, and count off data are stored in client database by client, effectively prevent reporting
The loss of number data.Count off server finally stores count off data in the count off catalogue into 30 database of count off server,
On the one hand the loss of count off data is prevented, the statistical analysis of count off data is on the other hand also facilitated, is subsequent user data
Preferable basis is established in analysis.
Above-mentioned count off data type includes but is not limited to: starting client 20 opens some application program, clicks using journey
Some functional application in sequence etc..For example, installing the visitor of numbering-off system 100 in PC machine using PC machine as user terminal 10
Family end 20, and client 20 is carried out to dock configuration with count off server 30.Some video player is set as answering for count off
With program, after user opens the video player, the user behaviors such as the operation of subsequent execution is for example searched for, browsed, watching with
And open the user behavior of video player and will all generate count off data and be sent to server, server to these count off data into
Row processing, storage, use for post analysis.In the embodiment, count off data just include opening video player, to video playing
Search, browsing, the viewing etc. that device carries out.
Embodiment 3
The Application Example of a kind of numbering-off system 100 of the present invention presented below built with operation method, referring to Fig. 3, tool
Body includes:
Step 201, the client 20 that numbering-off system 100 is installed on user terminal 10, by the client 20 and count off
Server 30 carries out docking configuration;
Step 202, the Application Type and count off data type that count off is set in client 20, and by the institute of setting
It states Application Type and the count off data type is uploaded to the count off server 30;
Step 203, the encryption policy that the count off data are arranged in the client 20, the encryption policy are described
The strategy encrypted to the count off parameter in the count off data is set in client 20;
Step 204 opens the numbering-off system 100, belongs to the described using journey of setting when the client 20 is triggered to
When the application program of sequence type, corresponding count off data are formed in blocking in queue for the client 20;
Step 205 judges the count off data with the presence or absence of abnormal: if the count off parameter format of count off data is abnormal or counts
It is more than preset time-out time according to exception or count off time, then represents count off exception, abnormality processing is carried out to count off data, it will
The abnormal number of count off data is accumulated to abnormal numerical value still when being count off exception, then gives up the exception count off data, otherwise retains just
Normal count off data;
Step 206 is handled the normal count off data of count off according to the encryption policy of setting, forms encryption report
Number data, and encryption count off data are stored in client database from the obstruction queue;
Encryption count off data are uploaded in count off server 30 by step 207, transfer decruption key by count off server 30
Encryption count off data are decrypted, and the count off data after decryption are stored in the count off catalogue in 30 database of count off server
In.
Step 208, the count off mesh when needing to analyze count off data, from 30 database of count off server
Basic data of the count off data needed for being extracted in record as analysis.
Through the above steps 201- step 208 be realize numbering-off system 100 build and the abnormality processing of count off data.
User terminal in the present invention can be the equipment such as PC machine, mobile phone, Pad.
As can be seen from the above embodiments beneficial effect existing for the application is:
First, the count off abnormality eliminating method and numbering-off system of numbering-off system provided by the present invention can judge to be formed
Count off data with the presence or absence of abnormal, the count off parameter format exception or data exception of count off data or count off time are more than pre-
If time-out time, then represent count off exception, to count off data carry out abnormality processing, count the abnormal number of each count off data, when
When abnormal number is more than default abnormal numerical value, then gives up the exception count off data, no longer carry out reporting for the abnormal data, pass through this
Kind mode, has effectively filtered out the data of the exception of count off repeatedly, it is ensured that the accuracy of the count off data reported is subsequent
Data analysis established good data basis.
Second, the count off abnormality eliminating method and numbering-off system of numbering-off system provided by the present invention are directed to count off respectively
Data count off parameter format exception occur or data exception, count off data time-out error occur and count off data do not occur exception
The interval of reported data in varied situations is arranged provided with the interval time that data report in three kinds of situations, is conducive to alleviate report
The pressure that number server is born during receiving count off data, guarantees the normal operation of numbering-off system.
Third, in the count off abnormality eliminating method and numbering-off system of numbering-off system provided by the present invention, count off data
Abnormal number, preset first dormancy time when there is count off parameter format exception or data exception, when there is time-out error
Preset third dormancy time when preset second dormancy time and normal count off, can be according to the actual conditions of numbering-off system
And count off data volume is adjusted flexibly in real time, to be conducive to the optimization operation of numbering-off system.
It should be understood by those skilled in the art that, embodiments herein can provide as method, apparatus or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
Above description shows and describes several preferred embodiments of the present application, but as previously described, it should be understood that the application
Be not limited to forms disclosed herein, should not be regarded as an exclusion of other examples, and can be used for various other combinations,
Modification and environment, and the above teachings or related fields of technology or knowledge can be passed through within that scope of the inventive concept describe herein
It is modified.And changes and modifications made by those skilled in the art do not depart from spirit and scope, then it all should be in this Shen
It please be in the protection scope of appended claims.
Claims (8)
1. a kind of count off abnormality eliminating method of numbering-off system, comprising:
The client for installing numbering-off system on the subscriber terminal, the client is carried out to dock configuration with count off server;
The Application Type and count off data type of count off are set on the client, and by the Application Type of setting
The count off server is uploaded to the count off data type;
The encryption policy of count off data is set in the client;
The numbering-off system is opened, belongs to the Application Type of setting when user is triggered to by the client and answers
When with program, corresponding count off data are formed in the client and are stored in the blocking in queue of the client;
Judge the count off data with the presence or absence of abnormal: if the count off parameter format exception or data exception of count off data, or report
The number time is more than preset time-out time, then represents count off exception, carries out abnormality processing to count off data and obtains abnormal number, on the contrary
It is normal then to represent count off;
Judge the abnormal conditions of count off data: if count off parameter format exception or data exception occur in count off data, and described different
When constant is less than default abnormal numerical value, then count off is carried out again after being spaced preset first dormancy time;If count off data go out
Existing time-out error, and when the abnormal number is less than the default abnormal numerical value, then it is spaced after preset second dormancy time again
Secondary carry out count off;If count off data do not occur exception, it is spaced after preset third dormancy time and carries out other count off data again
Report;The normal count off data of count off are handled according to the encryption policy of setting, and will treated the report
Number data are blocked in queue deposit client database from described;
By treated, count off data are uploaded to count off server from the client database, by count off server to described
Count off data that treated are handled and in the count off catalogues that are stored in count off server, and the count off catalogue is the count off
The Application Type that server is uploaded according to the client and the count off data type are in count off server data
It is established in library.
2. the count off abnormality eliminating method of numbering-off system according to claim 1, which is characterized in that
It is described that abnormal number is obtained to count off data progress abnormality processing, further are as follows:
It is deposited when abnormal when determining a certain count off data, 1 is added to the abnormal number of the count off data, again waits for receiving the count off
Data and the abnormal conditions for judging the count off data, if the abnormal number of the count off data is accumulated to the default abnormal numerical value count off
When data are still abnormal, then give up the count off data, the count off data is forbidden to carry out count off again, if the count off data are described
Abnormal number switchs to that count off is normal before reaching the default abnormal numerical value, then normal to count off according to the encryption policy of setting
Count off data handled.
3. the count off abnormality eliminating method of numbering-off system according to claim 1, which is characterized in that
The encryption policy of count off data is set in the client, further are as follows:
The strategy encrypted to the count off parameter in the count off data is set in the client, or in the client
It is upper that the strategy not encrypted to the count off parameter in the count off data is set;
The normal count off data of count off are handled according to the encryption policy of setting, further are as follows:
When using the strategy of encryption, encryption count off data are generated on the client, when using non-encrypted strategy, in client
Non-encrypted count off data are generated on end.
4. the count off abnormality eliminating method of numbering-off system according to claim 1, which is characterized in that
By count off server to it is described treated count off data are handled and the count off catalogue that is stored in count off server in,
Further are as follows:
Treated described in the judgement of count off server, and count off data are to encrypt count off data or non-encrypted count off data, if
Count off data are encrypted, then encryption count off data are decrypted in the decruption key transferred in count off server, and will be after decryption
Count off data are stored in the count off catalogue in count off server, if non-encrypted count off data, then directly by non-encrypted count off number
According in the count off catalogue in deposit count off server.
5. a kind of numbering-off system characterized by comprising user terminal, client, count off server, data reporting module and
Count off exception processing module,
The client is mounted on the user terminal, docks configuration connection with count off server formation;
The client applies journey for setting the Application Type and count off data type of count off, and by the described of setting
Sequence type and the count off data type are uploaded to the count off server, are also used to be arranged the encryption policy of count off data, and
For when user is triggered to the application program for the Application Type for belonging to setting by the client, in the visitor
Family end forms corresponding count off data and is stored in the client database;
The count off exception processing module, for judging the count off data with the presence or absence of abnormal: if the count off of count off data is joined
Number format exception or data exception or count off time are more than preset time-out time, then represent count off exception, to count off data into
Row abnormality processing obtains abnormal number, on the contrary then to represent count off normal;
The data reporting module, for judging the abnormal conditions of count off data: if count off parameter format occur different for count off data
Normal or data exception, and abnormal number is less than when presetting abnormal numerical value, then is carried out again after being spaced preset first dormancy time
Count off;If there is time-out error in count off data, and when abnormal number is less than the default abnormal numerical value, are then spaced preset second
Count off is carried out after dormancy time again;If count off data do not occur exception, carried out again after being spaced preset third dormancy time
Other count off data report;
The client is also used to handle the normal count off data of count off according to the encryption policy of setting, and will
The count off data that treated from can block in queue deposit client database, then will treated count off data from described
Count off server is uploaded in client database;
The count off server, for treated the count off that count off data are handled and be stored in count off server
In catalogue, the Application Type that the count off catalogue, which is the count off server, to be uploaded according to the client and described
What count off data type was established in count off server database.
6. numbering-off system according to claim 5, which is characterized in that
The count off exception processing module, is further used for: depositing when abnormal when determining a certain count off data, to the count off number
According to abnormal number add 1, again wait for receiving the count off data and judge the abnormal conditions of the count off data, if the count off data
Abnormal number is accumulated to the default abnormal numerical value count off data when being still abnormal, then gives up the count off data, forbid the count off number
According to carrying out count off again, if to switch to count off before the abnormal number reaches the default abnormal numerical value normal for the count off data,
Then the normal count off data of count off are handled according to the encryption policy of setting.
7. numbering-off system according to claim 5, which is characterized in that
The client, is further used for being arranged in the client and encrypts to the count off parameter in the count off data
Strategy, or the strategy not encrypted to the count off parameter in the count off data is set in the client;
The client is further used for when using the strategy of encryption, encryption count off data is generated, when using non-encrypted plan
When slightly, non-encrypted count off data are generated.
8. numbering-off system according to claim 5, which is characterized in that
The count off server, it is encryption count off data or non-encrypted for being further used for judgement treated the count off data
Count off data, if encryption count off data, then encryption count off data are decrypted in the decruption key transferred in count off server,
And by the count off catalogue in the count off data deposit count off server after decryption, if non-encrypted count off data, then directly will
In count off catalogue in non-encrypted count off data deposit count off server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611027958.5A CN106411614B (en) | 2016-11-18 | 2016-11-18 | The count off abnormality eliminating method and numbering-off system of numbering-off system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611027958.5A CN106411614B (en) | 2016-11-18 | 2016-11-18 | The count off abnormality eliminating method and numbering-off system of numbering-off system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106411614A CN106411614A (en) | 2017-02-15 |
CN106411614B true CN106411614B (en) | 2019-07-12 |
Family
ID=58068808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611027958.5A Active CN106411614B (en) | 2016-11-18 | 2016-11-18 | The count off abnormality eliminating method and numbering-off system of numbering-off system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106411614B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102479192A (en) * | 2010-11-24 | 2012-05-30 | 盛乐信息技术(上海)有限公司 | System for carrying out analysis of user behavior model by electronic book reader and method thereof |
CN103744859A (en) * | 2013-12-13 | 2014-04-23 | 北京奇虎科技有限公司 | Off-line method and device for fault data |
CN103873583A (en) * | 2014-03-24 | 2014-06-18 | 北京聚思信息咨询有限公司 | Method and system for analyzing behaviors of internet users based on cloud platform |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012099345A1 (en) * | 2011-01-21 | 2012-07-26 | Lg Electronics Inc. | Chain management system, remote management method thereof and user screen displaying method therefor |
-
2016
- 2016-11-18 CN CN201611027958.5A patent/CN106411614B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102479192A (en) * | 2010-11-24 | 2012-05-30 | 盛乐信息技术(上海)有限公司 | System for carrying out analysis of user behavior model by electronic book reader and method thereof |
CN103744859A (en) * | 2013-12-13 | 2014-04-23 | 北京奇虎科技有限公司 | Off-line method and device for fault data |
CN103873583A (en) * | 2014-03-24 | 2014-06-18 | 北京聚思信息咨询有限公司 | Method and system for analyzing behaviors of internet users based on cloud platform |
Also Published As
Publication number | Publication date |
---|---|
CN106411614A (en) | 2017-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Margaria et al. | Efficient test-based model generation for legacy reactive systems | |
US8443443B2 (en) | Security system and method for detecting intrusion in a computerized system | |
CN108717510A (en) | A kind of method, system and terminal by clustering file abnormal operation behavior | |
CN104516807A (en) | Automatic log sensor tuning | |
CN106203077B (en) | A kind of processing method of Copy Info, device and electronic equipment | |
CN107409134A (en) | Method card analysis | |
CN107040863A (en) | Real time business recommends method and system | |
CN109600336A (en) | Store equipment, identifying code application method and device | |
CN104426945B (en) | A kind of method, apparatus and system obtaining application performance data | |
EP3895048B1 (en) | Systems and methods for behavioral threat detection | |
CN109241302A (en) | A kind of comment authorization method, device and the terminal device of online course | |
CN108932428A (en) | A kind of processing method that extorting software, device, equipment and readable storage medium storing program for executing | |
CN105224335A (en) | A kind of control method of Automatic clearance terminal device, system and terminal device | |
CN107491300A (en) | The reminding method and its terminal of a kind of intelligent function | |
CN107566148A (en) | Analysis method, system, device and the terminal of terminal applies operation data | |
CN109783335A (en) | User's operation records restoring method, device, equipment and readable storage medium storing program for executing | |
CN108153458A (en) | A kind of dialog box processing method, terminal device and computer readable storage medium | |
CN106411614B (en) | The count off abnormality eliminating method and numbering-off system of numbering-off system | |
CN109144834A (en) | Acquisition method and device, the Android system and terminal device of user behavior data | |
Alspaugh et al. | Better logging to improve interactive data analysis tools | |
CN106453627B (en) | Numbering-off system and numbering-off system build and operation method | |
CN110019501A (en) | A kind of collecting method, device and terminal device | |
CN107729167A (en) | Using abnormality eliminating method and device | |
CN106559425B (en) | The operation method and numbering-off system of numbering-off system | |
CN106685852A (en) | Count-off system and construction and optimization operation method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |