CN109711741A - A kind of control method and control device obtaining equipment air control data - Google Patents

A kind of control method and control device obtaining equipment air control data Download PDF

Info

Publication number
CN109711741A
CN109711741A CN201811635457.4A CN201811635457A CN109711741A CN 109711741 A CN109711741 A CN 109711741A CN 201811635457 A CN201811635457 A CN 201811635457A CN 109711741 A CN109711741 A CN 109711741A
Authority
CN
China
Prior art keywords
data
upload
air control
behavioral
synchrodata
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.)
Withdrawn
Application number
CN201811635457.4A
Other languages
Chinese (zh)
Inventor
贾普民
李泓松
王建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai 2345 Financial Technologies Ltd
Original Assignee
Shanghai 2345 Financial Technologies 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 Shanghai 2345 Financial Technologies Ltd filed Critical Shanghai 2345 Financial Technologies Ltd
Priority to CN201811635457.4A priority Critical patent/CN109711741A/en
Publication of CN109711741A publication Critical patent/CN109711741A/en
Withdrawn legal-status Critical Current

Links

Abstract

The present invention provides a kind of control methods and control device for obtaining equipment air control data, obtain equipment air control data based on air control SDK, include the following steps: that a. judges whether there is air control data and needs to upload, if so, thening follow the steps b;B. the air control data are uploaded, and judge whether to upload successfully according to result is uploaded, if so, c is thened follow the steps, if it is not, thening follow the steps d;C. function is broken into the device clients and uploads label;D. prompt customer service failure, pass through default rule, making the calling (collection) of back-end data can configure, backstage, client and the additional burden of server-side are not will increase, simple, quick and accurate air control data are provided for user, the present invention is powerful, practical, it is easy to operate, there is high commercial value.

Description

A kind of control method and control device obtaining equipment air control data
Technical field
The invention belongs to field of information processing, in particular to a kind of control method for obtaining equipment air control data and control dress It sets.
Background technique
With the arrival of Internet era, more and more industries are traded and are paid by internet, therewith And also bring huge risk, and air control assessment is also the main method to solve the above problems.
In at this stage, most enterprise need to establish itself cloud data system, risk assessment mould when carrying out air control Type, credit measure system, the core products such as Risk Pricing model, to the mass data of user in itself system and outside system into Row collects analysis, and directly data model is applied in credit operation, realizes completely with data-driven product and business, realizes enterprise The automation of industry air control.And there are still certain disadvantages for this prior art, generally only when server needs some user information Application is called, and if there is increasing the calling (collection) of data newly, will increase the additional burden in backstage (will increase client and server-side Workload or burden).
And currently, there is no a kind of specific ways that can effectively solve the problem that the above problem more particularly to one kind to obtain in the market Take the control method and control device of equipment air control data.
Summary of the invention
For technological deficiency of the existing technology, be different from tradition the object of the present invention is to provide user is a, for Family provides the control method and control device of a kind of acquisition equipment air control data of quick, accurate air control data, according to this hair Bright one aspect, provides a kind of control method for obtaining equipment air control data, obtains equipment air control number based on air control SDK According to including the following steps:
A. it judges whether there is air control data to need to upload, if so, thening follow the steps b;
B. the air control data are uploaded, and judge whether to upload successfully according to result is uploaded, if so, executing step Rapid c, if it is not, thening follow the steps d;
C. function is broken into the device clients and uploads label;
D. prompt customer service failure.
Preferably, in the step b, the upload of the air control data includes at least the upload of synchrodata, described same The upload of step data at least includes the following steps:
B1: it judges whether there is synchrodata and needs to upload, if so, thening follow the steps b2;
B2: judge whether comprising behavioral data, and the first behavioral data or the second behavioral data are determined according to judging result;
B3: judge whether the first behavioral data or the second behavioral data have synchrodata successfully to upload;
B4: if the first behavioral data has synchrodata successfully to upload, thening follow the steps b6, if the first behavioral data is not same Step data successfully uploads, and thens follow the steps b7;
B5: if the second behavioral data has synchrodata successfully to upload, thening follow the steps b6, if the second behavioral data is not same Step data successfully uploads, and thens follow the steps b7;
B6: judging whether the synchrodata that the first behavioral data or the second behavioral data are uploaded is more than first threshold, if The synchrodata that first behavioral data is uploaded is more than the first threshold, then sends all synchrodatas and execute step b7, If the synchrodata that the first behavioral data is uploaded not above the first threshold, only sends current sync data and executes step Rapid b7;If the synchrodata that the second behavioral data is uploaded is more than the first threshold, b7 is thened follow the steps, if the second behavior number According to the synchrodata uploaded not above the first threshold, then return step a;
B7: synchronous air control data, and the return step a after detecting it and whether sending successfully are sent.
Preferably, the first threshold is arranged to 10 minutes.
It is further preferred that the first threshold is arranged to 8 minutes.
It is further preferred that the first threshold is arranged to 13 minutes.
Preferably, in the step b, the upload of the air control data includes at least the upload of asynchronous data, described different The upload of step data at least includes the following steps:
B1 ': it judges whether there is asynchronous data and needs to upload, if so, thening follow the steps b2 ';
B2 ': judging whether comprising behavioral data, and determines third behavioral data or fourth line for number according to judging result According to;
B3 ': judge whether third behavioral data or fourth line have asynchronous data successfully to upload for data;
B4 ': if third behavioral data has asynchronous data successfully to upload, thening follow the steps b6 ', if third behavioral data does not have Asynchronous data successfully uploads, and thens follow the steps b7 ';
B5 ': if fourth line is that data have asynchronous data successfully to upload, b6 ' is thened follow the steps, if fourth line does not have for data Asynchronous data successfully uploads, and thens follow the steps b7 ';
B6 ': judge asynchronous data that third behavioral data or fourth line are uploaded by data whether more than 10 minutes, if The asynchronous data that three behavioral datas are uploaded is more than 10 minutes, then sends all asynchronous datas and execute step b7 ', if the third line The asynchronous data uploaded by data then only sent current asynchronous data and executed step b7 ' not above 10 minutes;If fourth line The asynchronous data uploaded by data is more than 10 minutes, thens follow the steps b7 ', if the asynchronous data that fourth line is uploaded by data Not above 10 minutes, then return step a;
B7 ': asynchronous air control data, and the return step a after detecting it and whether sending successfully are sent.
Preferably, further include step a ' before the step a: being clicked based on user, call air control SDK.
Preferably, the synchrodata or the asynchronous data include at least facility information, App list, address list, lead to Talk about record, short message, photograph album or behavioral data.
Preferably, in the step a, air control data is judged whether there is and need to upload, if it is not, thening follow the steps e: sentencing It is disconnected whether to have service request, if so, service request is sent, if it is not, then carrying out other business operations.
According to another aspect of the present invention, a kind of control device for obtaining equipment air control data is provided, wind is based on It controls SDK and obtains equipment air control data, including following device:
First judgment means: air control data are judged whether there is and need to upload;
Second judgment means: the air control data are uploaded, and judge whether to upload successfully according to result is uploaded;
First processing unit: function is broken into the device clients and uploads label;
First determining device: prompt customer service failure.
Preferably, in second judgment means, the upload of the air control data includes at least the upload of synchrodata, The upload of the synchrodata includes at least following device:
Third judgment means: it judges whether there is synchrodata and needs to upload;
Second determining device: judging whether comprising behavioral data, and determines the first behavioral data or the according to judging result Two behavioral datas;
4th judgment means: judge whether the first behavioral data or the second behavioral data have synchrodata successfully to upload;
5th judgment means: if the first behavioral data has synchrodata successfully to upload;
6th judgment means: if the second behavioral data has synchrodata successfully to upload;
7th judgment means: judge synchrodata that the first behavioral data or the second behavioral data are uploaded whether more than One threshold value;
Second processing device: synchronous air control data, and the return step a after detecting it and whether sending successfully are sent.
Preferably, the first threshold is arranged to 10 minutes.
It is further preferred that the first threshold is arranged to 12 minutes.
Preferably, the 7th judgment means can be used for judging what the first behavioral data or the second behavioral data were uploaded Whether synchrodata is more than second threshold.
Preferably, the second threshold is arranged to 13 minutes.
It is further preferred that the second threshold is arranged to 9 minutes.
Preferably, in the step b, the upload of the air control data includes at least the upload of asynchronous data, described different The upload of step data at least includes the following steps:
8th judgment means: it judges whether there is asynchronous data and needs to upload;
Third determining device: judging whether comprising behavioral data, and determines third behavioral data or the according to judging result Four behavioral datas;
9th judgment means: judge whether third behavioral data or fourth line have asynchronous data successfully to upload for data;
Tenth judgment means: if third behavioral data has asynchronous data successfully to upload;
11st judgment means: if fourth line is that data have asynchronous data successfully to upload;
12nd judgment means: judge asynchronous data that third behavioral data or fourth line are uploaded by data whether be more than First threshold;
Third processing unit: asynchronous air control data, and the return step a after detecting it and whether sending successfully are sent.
Preferably, the first threshold is arranged to 10 minutes.
It is further preferred that the first threshold is arranged to 12 minutes.
Preferably, the 12nd judgment means: judge the asynchronous data that third behavioral data or fourth line are uploaded by data It whether is more than third threshold value.
Preferably, the third threshold value is arranged to 13 minutes.
It is further preferred that the third threshold value is arranged to 7 minutes.
Preferably, further include fourth process device before first judgment means: being clicked based on user, call wind Control SDK.
Preferably, in first judgment means, air control data is judged whether there is and need to upload, if it is not, then executing 13rd judgment means:
Service request is judged whether there is, if so, service request is sent, if it is not, then carrying out other business operations.
The present invention provides a kind of control methods and control device for obtaining equipment air control data, by default rule, Making the calling (collection) of back-end data can configure, and not will increase backstage, client and the additional burden of server-side, mention for user For simple, quick and accurate air control data, the present invention is powerful, practical, easy to operate, has high business valence Value.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention, Objects and advantages will become more apparent upon:
Fig. 1 shows a specific embodiment of the invention, a kind of control method obtaining equipment air control data it is specific Flow diagram;
Fig. 2 shows the first embodiment of the present invention, synchronous air control data are sent, and are detecting whether it sends success Idiographic flow schematic diagram;
Fig. 3 shows the second embodiment of the present invention, sends asynchronous air control data, and detecting whether it sends success Idiographic flow schematic diagram afterwards;
Fig. 4 shows the third embodiment of the present invention, is clicked based on user, calls the detailed process signal of air control SDK Figure;
Fig. 5 shows the fourth embodiment of the present invention, judges whether there is service request, if so, service request is sent, If it is not, then carrying out the idiographic flow schematic diagram of other business operations;And
Fig. 6 shows another embodiment of the present invention, a kind of control device obtaining equipment air control data Module connection diagram.
Specific embodiment
In order to preferably technical solution of the present invention be made clearly to show, the present invention is made into one with reference to the accompanying drawing Walk explanation.
Fig. 1 shows a specific embodiment of the invention, a kind of control method obtaining equipment air control data it is specific Flow diagram specifically includes the following steps:
Firstly, entering step S101, judges whether there is air control data and need to upload, if so, b is thened follow the steps, this field Technical staff understands that the step S101 is judgment step, and whether system detection has air control data to need to be uploaded in server, S102 is thened follow the steps if there is air control data, air control data then directly adjust back business if it does not exist, continue other business numbers According to operation.
Further, the air control data are for reflecting a variety of data in client, by being uploaded to server, server Potential problems can be judged whether there is by the air control data of upload, be solved in time with this.
In a particular embodiment, the multiple client uploads air control data, visitor by the connection with server The request for uploading air control data is submitted at family end, and the server judges whether client has air control data to need to upload, by inspection It surveyed, discovery has air control data to need to upload, and server directly issues downloading air control request of data from client, and client is sentenced Whether disconnected server has operating right to which air control data is downloaded in server.
Then, enter step S102, the air control data uploaded, and according to upload result judge whether upload at Function, if so, c is thened follow the steps, if it is not, d is thened follow the steps, it will be appreciated by those skilled in the art that the step S102 is judgement Step judges to upload the air control data there are after air control data, and judges whether according to result is uploaded in server Upload operation has succeeded, and as without being directly entered in Step d if uploading successfully, prompt client user's upload operation fails, It is directly entered if uploading successfully in step c, is marked to proposing that the client of upload request is got successfully to upload.
Then, S103 is entered step, function is broken into the device clients and uploads label, it will be appreciated by those skilled in the art that System will upload successful message and be sent in requested client after upload server success, and stamps and uploaded Whether label specifically carries out time label to data, uplink time can be judged more than 10 minutes.
Finally, entering step S104, customer service failure is prompted, system obtains after by air control data upload server Upload failing as a result, system is sent to result is uploaded in client, and user is prompted to upload failure.
In a preferred embodiment, system is sent to result is uploaded in client, and is prompted on client user Failure is passed, client, which can be clicked, to be uploaded result and check upload failure cause.
Fig. 2 shows the first embodiment of the present invention, synchronous air control data are sent, and are detecting whether it sends success Idiographic flow schematic diagram specifically include the following steps:
Firstly, entering step S201, judge whether there is synchrodata and need to upload, if so, thening follow the steps b2, specifically Ground, the synchrodata include at least facility information, App list, address list, message registration, short message, photograph album or behavior number According to it will be appreciated by those skilled in the art that the step S201 is judgment step, client is issuing upload air control request of data, institute Server is stated after receiving upload request, the synchrodata of client is judged, judges whether it meets synchrodata Standard be directly entered in next step if the synchrodata in client complies with standard, judge to whether there is in client Behavioral data, if the synchrodata in client is not inconsistent standardization, be directly entered in next process judge it is different in client Step data complies with standard.
Further, judging that client whether there is synchrodata in the step S201 is in order to avoid client user It repeats to submit, after the step is set, can be avoided client user and frequently click submission, if frequent point in user 10 minutes It hits, and existing synchrodata successfully uploads, then is not repeated to upload synchrodata.
Then, S202 is entered step, is judged whether comprising behavioral data, and the first behavioral data is determined according to judging result Or second behavioral data, it will be appreciated by those skilled in the art that being directly entered step if the synchrodata in client complies with standard In S202, the step S202 is judgment step, is judged in client with the presence or absence of behavioral data, if there is behavioral data, Then determine that there are the first behavioral data or the second behavioral datas in behavioral data according to judging result, if there is no behavior number According to then directly accessing and judge to client, judge whether client has had synchrodata successfully to upload.
Then, enter step S203, judge the first behavioral data or the second behavioral data whether have synchrodata successfully on Pass, it will be appreciated by those skilled in the art that step S203 is judgment step, server judge in client there are the first behavioral data or Second behavioral data, and first behavioral data or the second behavioral data are judged, judge in the behavioral data The whether at the appointed time repeated submission of first behavioral data or the second behavioral data, after judging behavioral data, The burden and workload of system can be reduced.
Then, S204 is entered step, if the first behavioral data has synchrodata successfully to upload, thens follow the steps b6, if the One behavioral data does not have synchrodata successfully to upload, and thens follow the steps b7, it will be appreciated by those skilled in the art that the step S204 is Judgment step, there are synchrodatas in determining the first behavioral data, then enter step S206, judge in the first behavioral data institute The synchrodata of biography is more than 10 minutes, is in order to avoid client use to judgement is carried out there are synchrodata in the first behavioral data Family repeats to submit, and reduces system workload and burden, if there is no synchrodata successfully to upload in the first behavioral data, directly into Enter in step S207, directly transmit synchronous air control data into server, and detect and send successfully, back to whether having air control number According in uploading step, wait upload air control data next time.
Then, S205 is entered step, if the second behavioral data has synchrodata successfully to upload, thens follow the steps b6, if the Two behavioral datas do not have synchrodata successfully to upload, and then follow the steps b7, it will be appreciated by those skilled in the art that the step S205 is Judgment step, there are synchrodatas in determining second processing data, then enter step S206, judge in the second behavioral data institute The synchrodata of biography is more than 10 minutes, is in order to avoid client use to judgement is carried out there are synchrodata in the second behavioral data Family repeats to submit, and reduces system workload and burden, if there is no synchrodata successfully to upload in the second behavioral data, directly into Enter in step S207, directly transmit synchronous air control data into server, and detect and send successfully, back to whether having air control number According in uploading step, wait upload air control data next time.
Then, S206 is entered step, judges whether is synchrodata that the first behavioral data or the second behavioral data are uploaded More than 10 minutes, if the synchrodata that the first behavioral data is uploaded is more than 10 minutes, sends all synchrodatas and execute Step b7, if the synchrodata that the first behavioral data is uploaded not above 10 minutes, only sends current sync data and executes Step b7, it will be appreciated by those skilled in the art that the behavioral data includes the first behavioral data and the second behavioral data etc., true There are after synchrodata in fixed first behavioral data, the synchrodata in first behavioral data is judged, judges institute State whether the synchrodata in the first behavioral data meets rule, to avoid client user's frequent progress from submitting air control data, Whether setting rule is submission time more than ten minutes, if the synchrodata in the first behavioral data is submitted in 10 minutes It crosses, then cannot submit, it, can be by the first row if the synchrodata in the first behavioral data was not submitted in 10 minutes The synchrodata uploaded by data is sent, and detects whether to send successfully.
Further, if the synchrodata that the second behavioral data is uploaded is more than 10 minutes, b7 is thened follow the steps, if second The synchrodata that behavioral data is uploaded was not above 10 minutes, then return step a, it will be appreciated by those skilled in the art that determining There are after synchrodata in two behavioral datas, the synchrodata in second behavioral data is judged, judges described Whether the synchrodata in two behavioral datas meets rule, to avoid client user's frequent progress from submitting air control data, setting Whether rule is submission time more than ten minutes, if the synchrodata in the second behavioral data was submitted in 10 minutes, It cannot submit, it, can be by the second behavior number if the synchrodata in the second behavioral data was not submitted in 10 minutes It is sent according to the synchrodata uploaded, and detects whether to send successfully.
Further, general in the prior art only to apply calling when server needs some user information, if there is new The calling (collection) for increasing data will increase the additional burden (will increase client and server-side workload or burden) in backstage, and It by preset some rules in the present invention, configure the calling (collection) of back-end data can, do not need application and call.
Finally, entering step S207, synchronous air control data, and the return step a after detecting it and whether sending successfully are sent, It will be appreciated by those skilled in the art that synchronous air control data after judgement, are meeting submission rule, then it directly will synchronous air control data It is sent in server and is handled, direct Returning process judges whether there is air control data early period after sending successfully.
In a particular embodiment, synchronous air control data are sent directly in system after rule judgement, described System can directly search client belonging to the synchronous air control data, and by the synchronization air control data of this upload and in history The air control data of biography compare.
Fig. 3 shows the second embodiment of the present invention, sends asynchronous air control data, and detecting whether it sends success Idiographic flow schematic diagram afterwards specifically includes the following steps:
Firstly, entering step S301, judge whether there is asynchronous data and need to upload, if so, thening follow the steps b2 ', specifically Ground, the asynchronous data include at least facility information, App list, address list, message registration, short message, photograph album or behavior number According to it will be appreciated by those skilled in the art that the step S301 is judgment step, client is issuing upload air control request of data, institute Server is stated after receiving upload request, the asynchronous data of client is judged, judges whether it meets asynchronous data Standard be directly entered in next step if the asynchronous data in client complies with standard, judge to whether there is in client Behavioral data, if the asynchronous data in client is not inconsistent standardization, directly into end.
Then, S302 is entered step, is judged whether comprising behavioral data, and third behavioral data is determined according to judging result Or fourth line is that data are directly entered in step S303 if the synchrodata in client complies with standard, the step S302 For judgment step, judge then to determine row according to judging result if there is behavioral data with the presence or absence of behavioral data in client There are third behavioral data or fourth line to be data in data, if there is no behavioral data, then directly client is carried out Access and judgement, judge whether client has had synchrodata successfully to upload.
Then, enter step S303, judge third behavioral data or fourth line for data whether have asynchronous data successfully on It passing, the step S303 is judgment step, and server judges in client that there are third behavioral datas or fourth line for data, and It is that data judge to the third behavioral data or fourth line, judges third behavioral data in the behavioral data or the Whether at the appointed time the repeated submission of five behavioral datas after judging behavioral data, can reduce the negative of system Load and workload.
Then, S304 is entered step, if third behavioral data has asynchronous data successfully to upload, thens follow the steps b6 ', if the Three behavioral datas do not have asynchronous data successfully to upload, and then follow the steps b7 ', it will be appreciated by those skilled in the art that the step S304 For judgment step, there are synchrodatas in determining third behavioral data, then enter step S306, judge third behavioral data institute The asynchronous data of upload is more than 10 minutes, is in order to avoid client to judgement is carried out there are asynchronous data in third behavioral data User repeats to submit, and system workload and burden is reduced, if not having asynchronous data successfully to upload in third behavioral data, directly It enters step in S307, directly transmits asynchronous air control data into server, and detect and send successfully, back to whether having air control In data upload step, wait upload air control data next time.
Then, S305 is entered step, if fourth line is that data have asynchronous data successfully to upload, thens follow the steps b6 ', if the Four behavioral datas do not have asynchronous data successfully to upload, and then follow the steps b7 ', it will be appreciated by those skilled in the art that the step S305 For judgment step, there are asynchronous datas in determining fourth process data, then enter step S306, judge fourth line for data institute The synchrodata of upload is more than 10 minutes, is to carry out judging to be in order to avoid client there are asynchronous data in data to fourth line User repeats to submit, and reduces system workload and burden, if fourth line is not have asynchronous data successfully to upload in data, directly It enters step in S307, directly transmits asynchronous air control data into server, and detect and send successfully, back to whether having air control In data upload step, wait upload air control data next time.
Then, S306 is entered step, judges whether is asynchronous data that third behavioral data or fourth line are uploaded by data More than 10 minutes, if the asynchronous data that third behavioral data is uploaded is more than 10 minutes, sends all asynchronous datas and execute Step b7 ', if the asynchronous data that third behavioral data is uploaded not above 10 minutes, only sends current asynchronous data and executes Step b7 ', the behavioral data includes third behavioral data and fourth line is data etc., is deposited in determining third behavioral data After asynchronous data, the asynchronous data in the third behavioral data is judged, is judged in the third behavioral data Whether asynchronous data meets rule, and to avoid client user's frequent progress from submitting air control data, setting rule is submission time Whether more than ten minutes, if the asynchronous data in third behavioral data was submitted in 10 minutes, cannot submit, if the Asynchronous data in three behavioral datas was not submitted in 10 minutes, then the asynchronous number that can be uploaded third behavioral data According to being sent, and detect whether to send successfully.
Further, if the asynchronous data that fourth line is uploaded by data is more than 10 minutes, b7 ' is thened follow the steps, if the The asynchronous data that four behavioral datas are uploaded was not above 10 minutes, then return step a, is determining that fourth line is that there are different in data After step data, it is that asynchronous data in data judges to the fourth line, judges the fourth line to be asynchronous in data Whether data meet rule, for avoid client user's frequent progress submit air control data, setting rule be submission time whether More than ten minutes, if fourth line was submitted in 10 minutes for the asynchronous data in data, cannot submit, if fourth line Do not submitted in 10 minutes for the asynchronous data in data, then the asynchronous data that can be uploaded fourth line by data into Row is sent, and detects whether to send successfully.
Finally, entering step S307, asynchronous air control data, and the return step a after detecting it and whether sending successfully are sent, It will be appreciated by those skilled in the art that asynchronous air control data after judgement, are meeting submission rule, then directly by asynchronous air control data It is sent in server and is handled, direct Returning process judges whether there is air control data early period after sending successfully.
In a preferred embodiment, the behavioral data is divided into the first behavioral data, the second behavioral data, the third line Be data for data, fourth line, fifth line is data, the 6th behavioral data, the behavioral data is divided into 6, and in other realities It applies in example, the behavioral data can be adjusted according to the actual situation, it is not limited to which 6, can be any amount.
Further, the synchrodata and asynchronous data can carry out simultaneously, can also successively carry out, and have no effect on this Implementation result in invention first judges whether asynchronous data can upload in a particular embodiment, completes whole flow process Afterwards, the processes such as the judgement of data are then synchronized again.
Fig. 4 shows the third embodiment of the present invention, is clicked based on user, calls the detailed process signal of air control SDK Figure, specifically, includes the following steps:
Firstly, entering step S401, clicked based on user, air control SDK is called, it will be appreciated by those skilled in the art that judging Whether before having air control data to need to upload, client needs first to call air control SDK, and user clicks button, sends service request, is It unites in the request for judging whether there is air control data and needing to upload sent by client user, carries out subsequent operation, judge into After function, the air control data are uploaded, such as need to upload without air control data, system will be prompted to customer service failure, visitor Family end subscriber can carry out other business operations after checking unsuccessfully prompt.
Then, S402 is entered step, it will be appreciated by those skilled in the art that step S402 can refer to described Fig. 1 in described Fig. 4 In step S101, it will not be described here.
Then, S403 is entered step, it will be appreciated by those skilled in the art that step S403 can refer to described Fig. 1 in described Fig. 4 In step S102, it will not be described here.
Then, S404 is entered step, it will be appreciated by those skilled in the art that step S404 can refer to described Fig. 1 in described Fig. 4 In step S103, it will not be described here.
Finally, S405 is entered step, it will be appreciated by those skilled in the art that step S405 can refer to described Fig. 1 in described Fig. 4 In step S104, it will not be described here.
Fig. 5 shows the fourth embodiment of the present invention, judges whether there is service request, if so, service request is sent, If it is not, then carrying out the idiographic flow schematic diagram of other business operations, specifically, include the following steps:
Firstly, entering step S501, judges whether there is air control data and need to upload, it will be appreciated by those skilled in the art that described Step S501 can be with reference to the step S101 in described Fig. 1 in Fig. 5, and it will not be described here.
Then, enter step S502, the air control data uploaded, and according to upload result judge whether upload at Function, if so, c is thened follow the steps, if it is not, d is thened follow the steps, it will be appreciated by those skilled in the art that step S502 can in described Fig. 5 With with reference to the step S102 in described Fig. 1, it will not be described here.
Then, S503 is entered step, function is broken into the device clients and uploads label, it will be appreciated by those skilled in the art that Step S503 can be with reference to the step S103 in described Fig. 1 in described Fig. 5, and it will not be described here.
Then, S504 is entered step, customer service failure is prompted, it will be appreciated by those skilled in the art that step in described Fig. 5 S504 can be with reference to the step S104 in described Fig. 1, and it will not be described here.
Finally, entering step S505, judge whether there is service request, if so, send service request, if it is not, then into Other business operations of row, it will be appreciated by those skilled in the art that in step s101, judge whether there is air control data and need to upload, if Client needs to upload without air control data, then enters step S505, judges whether there is service request, and the S505 is judgement step Suddenly, system judges whether client has other service requests uploaded except air control data to send, if client has no business and asks It asks, carries out other business operations, if there is service request, then business is sent in server, device to be serviced is handled.
Fig. 6 shows another embodiment of the present invention, a kind of control device obtaining equipment air control data Module connection diagram, it will be appreciated by those skilled in the art that the present invention provides a kind of control device for obtaining equipment air control data, It is based on air control SDK and obtains equipment air control data, including following device:
First judgment means: judging whether there is air control data and need to upload, and whether system detection has air control data to need It reaches in server, then executes the second judgment means if there is air control data, air control data then directly adjust back industry if it does not exist Business, continues other service data manipulatings, and the first judgment means include third judgment means, the second determining device, the 4th judgement dress It sets, the 5th judgment means, the 6th judgment means, the 7th judgment means, second processing device, the first judgment means further include the 8th Judgment means, the second determining device, the 9th judgment means, the tenth judgment means, the 11st judgment means, the 12nd judgment means And third processing unit, first judgment means are separately connected fourth process device and the second judgment means.
Second judgment means: the air control data are uploaded, and according to upload result judge whether to upload successfully, Server judges to upload the air control data there are after air control data, and judges whether to upload behaviour according to result is uploaded It has been succeeded that, as prompted the failure of client user's upload operation, such as uploading without being directly entered in Step d if uploading successfully It is successful then be directly entered in step c, it is marked to proposing that the client of upload request is got successfully to upload, second judgment means It is separately connected the first judgment means and the first processing unit.
First processing unit: function is broken into the device clients and uploads label, system, will after upload server success It uploads successful message to be sent in requested client, and stamps the label uploaded, specifically, are carried out to data the time Whether label can judge uplink time more than 10 minutes, and first processing unit connects the second judgment means and first Determining device.
First determining device: prompt customer service failure, system are obtained uploading and be lost after by air control data upload server It is losing as a result, system is sent to result is uploaded in client, and user is prompted to upload failure, first determining device difference Connect the first processing unit and the 13rd judgment means.
Preferably, in second judgment means, the upload of the air control data includes at least the upload of synchrodata, The upload of the synchrodata includes at least following device:
Third judgment means: judging whether there is synchrodata and need to upload, the synchrodata include at least facility information, App list, address list, message registration, short message, photograph album or behavioral data, client are issuing upload air control request of data, The server judges the synchrodata of client after receiving upload request, judges whether it meets same step number According to standard be directly entered in next step if the synchrodata in client complies with standard, judge whether deposit in client In behavioral data, if the synchrodata in client is not inconsistent standardization, it is directly entered in next process and judges in client Asynchronous data complies with standard, and first judgment means include the 13rd judgment means.
Second determining device: judging whether comprising behavioral data, and determines the first behavioral data or the according to judging result Two behavioral datas directly judge with the presence or absence of behavioral data in client, such as if the synchrodata in client complies with standard There are behavioral datas for fruit, then determine that there are the first behavioral data or the second behavioral datas in behavioral data according to judging result, such as Fruit be not present behavioral data, then directly access and judge to client, judge client whether had synchrodata at Function uploads, and first judgment means include the second judgment means.
4th judgment means: judging whether the first behavioral data or the second behavioral data have synchrodata successfully to upload, clothes Business device judges that there are the first behavioral data or the second behavioral datas in client, and to first behavioral data or the second behavior At the appointed time whether data are judged, judge the first behavioral data in the behavioral data or the second behavioral data Repeated submission after judging behavioral data, can reduce the burden and workload of system, the first judgment means packet Include the 4th judgment means.
5th judgment means: it if the first behavioral data has synchrodata successfully to upload, is deposited in determining the first behavioral data In synchrodata, judge that the synchrodata that the first behavioral data is uploaded is more than 10 minutes, it is same to existing in the first behavioral data It is to repeat to submit in order to avoid client user that step data, which carries out judgement, system workload and burden is reduced, if the first behavior number There is no synchrodata successfully to upload in, then directly transmit synchronous air control data into server, and detect and send successfully, returns It to whether having in air control data upload step, waits and uploads air control data next time, first judgment means include the 5th judgement Device.
6th judgment means: it if the second behavioral data has synchrodata successfully to upload, is deposited in determining second processing data In synchrodata, then judge that the synchrodata that the second behavioral data is uploaded is more than 10 minutes, to existing in the second behavioral data It is to repeat to submit in order to avoid client user that synchrodata, which carries out judgement, system workload and burden is reduced, if the second behavior There is no synchrodata successfully to upload in data, then directly transmits synchronous air control data into server, and detect and send successfully, return Whether have in air control data upload step, wait and upload air control data next time if returning to, first judgment means are sentenced including the 6th Disconnected device.
7th judgment means: judge synchrodata that the first behavioral data or the second behavioral data are uploaded whether more than 10 Minute, the behavioral data includes the first behavioral data and the second behavioral data etc., is existed in determining the first behavioral data After synchrodata, the synchrodata in first behavioral data is judged, is judged same in first behavioral data Whether step data meets rule, and to avoid client user's frequent progress from submitting air control data, setting rule is for submission time It is no, if the synchrodata in the first behavioral data was submitted in 10 minutes, to be submitted more than ten minutes, if first Synchrodata in behavioral data was not submitted in 10 minutes, then the synchrodata that can be uploaded the first behavioral data It is sent, and is detected whether to send successfully, first judgment means include the 7th judgment means.
Second processing device: sending synchronous air control data, and the return step a after detecting it and whether sending successfully, synchronous Air control data after judgement, are meeting submission rule, then directly synchronous air control data are sent in server and are handled, Direct Returning process early period judges whether there is air control data after sending successfully, and first judgment means include second processing dress It sets.
Preferably, in the step b, the upload of the air control data includes at least the upload of asynchronous data, described different The upload of step data at least includes the following steps:
8th judgment means: judging whether there is asynchronous data and need to upload, the asynchronous data include at least facility information, App list, address list, message registration, short message, photograph album or behavioral data, client are issuing upload air control request of data, The server judges the asynchronous data of client after receiving upload request, judges whether it meets asynchronous number According to standard be directly entered in next device if the asynchronous data in client complies with standard, judge whether deposit in client In behavioral data, if the asynchronous data in client is not inconsistent standardization, directly into end, first judgment means include the Eight judgment means.
Third determining device: judging whether comprising behavioral data, and determines third behavioral data or the according to judging result Four behavioral datas judge then to determine row according to judging result if there is behavioral data with the presence or absence of behavioral data in client There are third behavioral data or fourth line to be data in data, if there is no behavioral data, then directly client is carried out Access and judgement, judge whether client has had synchrodata successfully to upload, and first judgment means include the 13rd true Determine device.
9th judgment means: judging whether third behavioral data or fourth line have asynchronous data successfully to upload for data, clothes Business device judges in client that there are third behavioral datas or fourth line for data, and is to the third behavioral data or fourth line Data are judged, judge third behavioral data in the behavioral data or fifth line for data whether at the appointed time Repeated submission after judging behavioral data, can reduce the burden and workload of system, the first judgment means packet Include the 9th judgment means.
Tenth judgment means: it if third behavioral data has asynchronous data successfully to upload, determines and exists in third behavioral data Synchrodata then judges that the asynchronous data that third behavioral data is uploaded is more than 10 minutes, to there are different in third behavioral data It is to repeat to submit in order to avoid client user that step data, which carries out judgement, system workload and burden is reduced, if third behavior number There is no asynchronous data successfully to upload in, then directly transmit asynchronous air control data into server, and detect and send successfully, returns It to whether having in air control data upload step, waits and uploads air control data next time, first judgment means include the tenth judgement Device.
11st judgment means: if fourth line is that data have asynchronous data successfully to upload, in determining fourth process data There are asynchronous datas, then judge that the synchrodata that fourth line is uploaded by data is more than 10 minutes, are to deposit in data to fourth line Carrying out judgement in asynchronous data is to repeat to submit in order to avoid client user, system workload and burden is reduced, if fourth line Not have asynchronous data successfully to upload in data, asynchronous air control data are directly transmitted into server, and detect and send successfully, returned Whether have in air control data upload step, wait and upload air control data next time if returning to, first judgment means include the 11st Judgment means.
12nd judgment means: judge asynchronous data that third behavioral data or fourth line are uploaded by data whether be more than First threshold, such as preferably set the first threshold to 10 minutes, there are asynchronous numbers in determining third behavioral data According to rear, the asynchronous data in the third behavioral data is judged, judges the asynchronous data in the third behavioral data Whether meet rule, for avoid client user's frequent progress submit air control data, setting rule be submission time whether be more than It described 10 minutes, if the asynchronous data in third behavioral data was submitted in 10 minutes, cannot submit, if the third line Do not submitted in 10 minutes for the asynchronous data in data, then can by asynchronous data that third behavioral data is uploaded into Row is sent, and is detected whether to send successfully, and first judgment means include the 12nd judgment means.
Third processing unit: sending asynchronous air control data, and the return step a after detecting it and whether sending successfully, asynchronous Air control data after judgement, are meeting submission rule, then directly asynchronous air control data are sent in server and are handled, Direct Returning process early period judges whether there is air control data after sending successfully, and first judgment means include third processing dress It sets.
Preferably, further include fourth process device before first judgment means: being clicked based on user, call wind SDK is controlled, before judging whether there is air control data and needing to upload, client needs first to call air control SDK, and user clicks button, hair Service request is sent, system is in the request for judging whether there is air control data and needing to upload sent by client user, after progress Continuous operation, after judging successfully, the air control data are uploaded, and such as need to upload without air control data, system will be prompted to use Family service fail, client user can carry out other business operations, the fourth process device connection after checking unsuccessfully prompt First judgment means.
Preferably, in first judgment means, air control data is judged whether there is and need to upload, if it is not, then executing 13rd judgment means: judging whether there is service request, if so, service request is sent, if it is not, then carrying out other business behaviour Make, judges whether there is air control data and need to upload, if client needs to upload without air control data, the business of judging whether there is is asked It asks, system judges whether client has other service requests uploaded except air control data to send, if client has no business and asks It asks, carries out other business operations, if there is service request, then business is sent in server, device to be serviced is handled, 13rd judgment means connect the first determining device.
Further, it will be appreciated by those skilled in the art that above-mentioned Fig. 1 occurs the numberical range of first threshold into Fig. 6, and Preferably use 10 minutes preferred embodiments as the first threshold.It will be appreciated by those skilled in the art that based on different applied fields Scape, such as based on different network environments, can dynamically or statically adjust the first threshold, second threshold or third The numberical range of threshold value, such as be adjusted to 8 minutes, 13 minutes, etc., this has no effect on technical characteristic of the invention.Correspondingly, In different steps, for different judgment means or other processing units, identical threshold value can be used, can also be used Different threshold values, this nor affects on technical characteristic of the invention.
Further, it will be appreciated by those skilled in the art that first behavioral data refer preferably to comprising behavioral data, its His data, such as include the information such as facility information, App list, address list, message registration, short message, photograph album be configurable.It is corresponding Ground, second behavioral data do not include behavioral data, other data preferably, for example, not comprising facility information, App list, The information such as address list, message registration, short message, photograph album be configurable.
Correspondingly, in a preferred embodiment, the content of the third behavioral data can refer to first behavior Data are realized;The fourth line is that data can realize that it will not be described here with reference to the second behavioral data.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited to above-mentioned Particular implementation, those skilled in the art can make various deformations or amendments within the scope of the claims, this not shadow Ring substantive content of the invention.

Claims (11)

1. a kind of control method for obtaining equipment air control data obtains equipment air control data based on air control SDK, feature exists In including the following steps:
A. it judges whether there is air control data to need to upload, if so, thening follow the steps b;
B. the air control data are uploaded, and judge whether to upload successfully according to result is uploaded, if so, c is thened follow the steps, If it is not, thening follow the steps d;
C. function is broken into the device clients and uploads label;
D. prompt customer service failure.
2. control method according to claim 1, which is characterized in that in the step b, the upload of the air control data Including at least the upload of synchrodata, the upload of the synchrodata at least includes the following steps:
B1: it judges whether there is synchrodata and needs to upload, if so, thening follow the steps b2;
B2: judge whether comprising behavioral data, and the first behavioral data or the second behavioral data are determined according to judging result;
B3: judge whether the first behavioral data or the second behavioral data have synchrodata successfully to upload;
B4: if the first behavioral data has synchrodata successfully to upload, thening follow the steps b6, if the first behavioral data does not have same step number According to successfully uploading, b7 is thened follow the steps;
B5: if the second behavioral data has synchrodata successfully to upload, thening follow the steps b6, if the second behavioral data does not have same step number According to successfully uploading, b7 is thened follow the steps;
B6: judging whether the synchrodata that the first behavioral data or the second behavioral data are uploaded is more than first threshold, if first The synchrodata that behavioral data is uploaded is more than the first threshold, then sends all synchrodatas and execute step b7, if the The synchrodata that one behavioral data is uploaded then only sends current sync data and executes step not above the first threshold b7;If the synchrodata that second behavioral data is uploaded is more than the first threshold, b7 is thened follow the steps, if the second behavior The synchrodata that data are uploaded is not above the first threshold, then return step a;
B7: synchronous air control data, and the return step a after detecting it and whether sending successfully are sent.
3. control method according to claim 1 or 2, which is characterized in that in the step b, the air control data The upload for including at least asynchronous data is uploaded, the upload of the asynchronous data at least includes the following steps:
B1 ': it judges whether there is asynchronous data and needs to upload, if so, thening follow the steps b2 ';
B2 ': judging whether comprising behavioral data, and determines third behavioral data or fourth line for data according to judging result;
B3 ': judge whether third behavioral data or fourth line have asynchronous data successfully to upload for data;
B4 ': if third behavioral data has asynchronous data successfully to upload, thening follow the steps b6 ', if third behavioral data is not asynchronous Data successfully upload, and then follow the steps b7 ';
B5 ': if fourth line is that data have asynchronous data successfully to upload, b6 ' is thened follow the steps, if fourth line is that data are not asynchronous Data successfully upload, and then follow the steps b7 ';
B6 ': whether the asynchronous data for judging that third behavioral data or fourth line are uploaded by data is more than first threshold, if third The asynchronous data that behavioral data is uploaded is more than the first threshold, then sends all asynchronous datas and execute step b7 ', if the The asynchronous data that three behavioral datas are uploaded then only sends current asynchronous data and executes step not above the first threshold b7′;If the asynchronous data that fourth line is uploaded by data is more than the first threshold, b7 ' is thened follow the steps, if fourth line is number According to the asynchronous data uploaded not above the first threshold, then return step a;
B7 ': asynchronous air control data, and the return step a after detecting it and whether sending successfully are sent.
4. control method according to claim 1, which is characterized in that further include step a ': base before the step a It is clicked in user, calls air control SDK.
5. according to control method described in 2 or 3, which is characterized in that the synchrodata or the asynchronous data are included at least and set Standby information, App list, address list, message registration, short message, photograph album or behavioral data.
6. control method according to claim 1, which is characterized in that in the step a, judge whether there is air control data It needs to upload, if it is not, thening follow the steps e: service request is judged whether there is, if so, service request is sent, if it is not, then Carry out other business operations.
7. a kind of control device for obtaining equipment air control data obtains equipment air control data based on air control SDK, feature exists In, including following device:
First judgment means: air control data are judged whether there is and need to upload;
Second judgment means: the air control data are uploaded, and judge whether to upload successfully according to result is uploaded;
First processing unit: function is broken into the device clients and uploads label;
First determining device: prompt customer service failure.
8. control device according to claim 7, which is characterized in that in second judgment means, the air control number According to upload include at least the upload of synchrodata, the upload of the synchrodata includes at least following device:
Third judgment means: it judges whether there is synchrodata and needs to upload;
Second determining device: judge whether comprising behavioral data, and the first behavioral data or the second row are determined according to judging result For data;
4th judgment means: judge whether the first behavioral data or the second behavioral data have synchrodata successfully to upload;
5th judgment means: if the first behavioral data has synchrodata successfully to upload;
6th judgment means: if the second behavioral data has synchrodata successfully to upload;
7th judgment means: judge synchrodata that the first behavioral data or the second behavioral data are uploaded whether more than the first threshold Value;
Second processing device: synchronous air control data are sent, and return to the first judgment means after detecting it and whether sending successfully.
9. control device according to claim 7 or 8, which is characterized in that in the step b, the air control data The upload for including at least asynchronous data is uploaded, the upload of the asynchronous data at least includes the following steps:
8th judgment means: it judges whether there is asynchronous data and needs to upload;
Third determining device: judge whether comprising behavioral data, and third behavioral data or fourth line are determined according to judging result For data;
9th judgment means: judge whether third behavioral data or fourth line have asynchronous data successfully to upload for data;
Tenth judgment means: if third behavioral data has asynchronous data successfully to upload;
11st judgment means: if fourth line is that data have asynchronous data successfully to upload;
12nd judgment means: judge asynchronous data that third behavioral data or fourth line are uploaded by data whether more than first Threshold value;
Third processing unit: asynchronous air control data, and the return step a after detecting it and whether sending successfully are sent.
10. control device according to claim 7, which is characterized in that further include before first judgment means Four processing units: being clicked based on user, calls air control SDK.
11. control device according to claim 7, which is characterized in that in first judgment means, judge whether there is Air control data need to upload, if it is not, then executing the 13rd judgment means: service request are judged whether there is, if so, sending industry Business request, if it is not, then carrying out other business operations.
CN201811635457.4A 2018-12-29 2018-12-29 A kind of control method and control device obtaining equipment air control data Withdrawn CN109711741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811635457.4A CN109711741A (en) 2018-12-29 2018-12-29 A kind of control method and control device obtaining equipment air control data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811635457.4A CN109711741A (en) 2018-12-29 2018-12-29 A kind of control method and control device obtaining equipment air control data

Publications (1)

Publication Number Publication Date
CN109711741A true CN109711741A (en) 2019-05-03

Family

ID=66259574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811635457.4A Withdrawn CN109711741A (en) 2018-12-29 2018-12-29 A kind of control method and control device obtaining equipment air control data

Country Status (1)

Country Link
CN (1) CN109711741A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954433A (en) * 2015-04-28 2015-09-30 成都品果科技有限公司 Picture data upload method for mobile equipment
WO2017133531A1 (en) * 2016-02-04 2017-08-10 阿里巴巴集团控股有限公司 Asynchronous service processing method, and server
CN107071058A (en) * 2017-05-24 2017-08-18 深圳市可可卓科科技有限公司 Asynchronous data upload process method and system
CN107622318A (en) * 2017-10-11 2018-01-23 杭州拓叭吧科技有限公司 A kind of operation platform and method for running that training is preengage for Driving Test student
CN107657018A (en) * 2017-09-26 2018-02-02 北京思特奇信息技术股份有限公司 A kind of method and system for preventing Data duplication from submitting

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954433A (en) * 2015-04-28 2015-09-30 成都品果科技有限公司 Picture data upload method for mobile equipment
WO2017133531A1 (en) * 2016-02-04 2017-08-10 阿里巴巴集团控股有限公司 Asynchronous service processing method, and server
CN107071058A (en) * 2017-05-24 2017-08-18 深圳市可可卓科科技有限公司 Asynchronous data upload process method and system
CN107657018A (en) * 2017-09-26 2018-02-02 北京思特奇信息技术股份有限公司 A kind of method and system for preventing Data duplication from submitting
CN107622318A (en) * 2017-10-11 2018-01-23 杭州拓叭吧科技有限公司 A kind of operation platform and method for running that training is preengage for Driving Test student

Similar Documents

Publication Publication Date Title
CN107995169B (en) Mobile game server framework system based on micro-service architecture
CN111835582B (en) Configuration method and device of Internet of things inspection equipment and computer equipment
CN109783227A (en) Method for allocating tasks, device, system and computer readable storage medium
CN109685536B (en) Method and apparatus for outputting information
US9015731B2 (en) Event handling system and method
CN110689223A (en) Robot batch management system based on RPA control
CN110022399B (en) Message display method and device, user terminal and readable storage medium
CN110084567A (en) E-seal application method, device, equipment and computer readable storage medium
US10582563B2 (en) Service data group sending method, apparatus, and server
WO2017054307A1 (en) Recognition method and apparatus for user information
CN115686280A (en) Deep learning model management system, method, computer device and storage medium
CN113821254A (en) Interface data processing method, device, storage medium and equipment
CN113360376A (en) Buried point testing method and device
CN108765083A (en) The configuration of routingization order and processing method and system
CN107730380B (en) Method, system and server for processing joint account
CN109711741A (en) A kind of control method and control device obtaining equipment air control data
CN109271454A (en) A kind of method and the network equipment that data are synchronous
CN115019922A (en) Feedback method, device and equipment for recording and auditing and storage medium
CN109509063B (en) Virtual laboratory operation management method and device without fixed place
CN111159988A (en) Model processing method and device, computer equipment and storage medium
CN108846951A (en) Automatic vending machine long-range control method, device, storage medium and system
CN114584605B (en) Service distribution method and device, electronic equipment and storage medium
US20230083868A1 (en) Implicit waiting controls for a communication system
CN115357482A (en) Test data generation method and device, electronic equipment and storage medium
CN117172731A (en) Human resource management system and method based on CRM

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20190503

WW01 Invention patent application withdrawn after publication