CN111988401A - Data uploading method and device - Google Patents

Data uploading method and device Download PDF

Info

Publication number
CN111988401A
CN111988401A CN202010842485.4A CN202010842485A CN111988401A CN 111988401 A CN111988401 A CN 111988401A CN 202010842485 A CN202010842485 A CN 202010842485A CN 111988401 A CN111988401 A CN 111988401A
Authority
CN
China
Prior art keywords
uploading
target
data
rule
uploaded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010842485.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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202010842485.4A priority Critical patent/CN111988401A/en
Publication of CN111988401A publication Critical patent/CN111988401A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Abstract

The present specification provides a data uploading method and apparatus, wherein the data uploading method includes: receiving an uploading task, wherein the uploading task carries target data information of data to be uploaded and a target uploading platform identifier; determining a corresponding target uploading rule from a preset uploading rule base according to the target data information of the data to be uploaded and the target uploading platform identification; and uploading the data to be uploaded to the target uploading platform according to the target uploading rule under the condition that the target uploading rule exists. According to the method and the device, the data to be uploaded indicated in the uploading task are automatically uploaded to the target uploading platform according to the determined uploading rule without carrying out a large amount of repeated manual labor, the data reporting time is saved, the data reporting efficiency is greatly improved, the risk of manual misoperation is avoided, and the error probability is reduced.

Description

Data uploading method and device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data uploading method and apparatus.
Background
The supervision and disclosure means that data are actively disclosed to a supervision department, and data need to be uploaded to supervision platforms of the supervision department when the process of disclosing the data to the supervision department is completed, and different supervision platforms have different data uploading modes, and if some supervision platforms are a webpage, some data types need to fill a form on the webpage, and some data types need to upload a data file on the webpage, in addition, some supervision platforms are specific clients, need to fill and report the form or upload the data file on the clients, and the difference between different supervision platforms and different types of data uploading modes is large.
In the prior art, some supervision platforms need workers to manually upload data, fill forms one by one, check or upload data files according to requirements, and accordingly data uploading is completed. However, the whole data uploading process depends on manual filling and checking, a large amount of manual repeated labor is needed, the data uploading efficiency is low, a large amount of time is needed, and errors are easy to occur. Further, a simpler and more convenient method is needed for data uploading operation or processing.
Disclosure of Invention
In view of this, the present specification provides a data uploading method. The present specification also relates to a data uploading apparatus, a computing device, and a computer-readable storage medium, so as to solve the technical defects in the prior art.
According to a first aspect of embodiments of the present specification, there is provided a data uploading method, including:
receiving an uploading task, wherein the uploading task carries target data information of data to be uploaded and a target uploading platform identifier;
determining a corresponding target uploading rule from a preset uploading rule base according to the target data information of the data to be uploaded and the target uploading platform identification;
and uploading the data to be uploaded to the target uploading platform according to the target uploading rule under the condition that the target uploading rule exists.
Optionally, before receiving the upload task, the method further includes:
acquiring a historical data uploading process;
establishing a corresponding uploading rule based on each historical data uploading flow, wherein the uploading rule comprises data information and an uploading platform identifier;
and generating a preset uploading rule base based on the uploading rules, wherein the preset uploading rule base is a rule set comprising at least two uploading rules.
Optionally, the determining, according to the target data information of the data to be uploaded and the target uploading platform identifier, a corresponding target uploading rule from a preset uploading rule base includes:
searching the target data information and the target uploading platform identification in the uploading rules included in the preset uploading rule base;
and under the condition that the target data information and the target uploading platform identification are found, determining an uploading rule corresponding to the target data information and the target uploading platform identification as the target uploading rule.
Optionally, the method further includes:
and determining a processing mode according to the uploading time limit under the condition that the target uploading rule does not exist and the uploading task carries the uploading time limit, and uploading the data to be uploaded to the target uploading platform according to the processing mode.
Optionally, the determining a processing mode according to the uploading deadline, and uploading the data to be uploaded to the target uploading platform according to the processing mode includes:
receiving an execution instruction of the uploading task when the uploading deadline is smaller than a deadline threshold value;
after the uploading process of the data to be uploaded is completed, constructing a first uploading rule based on the execution instruction, wherein the first uploading rule comprises target data information of the data to be uploaded and a target uploading platform identifier;
and adding the first uploading rule to the preset uploading rule base.
Optionally, the determining a processing mode according to the uploading deadline, and uploading the data to be uploaded to the target uploading platform according to the processing mode includes:
receiving a second uploading rule created for an uploading process corresponding to the data to be uploaded under the condition that the uploading deadline is greater than or equal to a deadline threshold value, wherein the second uploading rule comprises target data information of the data to be uploaded and a target uploading platform identifier;
adding the second uploading rule to the preset uploading rule base;
and executing the uploading task according to the second uploading rule.
Optionally, the method further includes:
receiving a third uploading rule created for an uploading process corresponding to the data to be uploaded under the condition that the target uploading rule does not exist and the uploading task does not carry an uploading deadline, wherein the third uploading rule comprises target data information of the data to be uploaded and a target uploading platform identifier;
adding the third uploading rule to the preset uploading rule base;
and executing the uploading task according to the third uploading rule.
According to a second aspect of embodiments herein, there is provided a data uploading apparatus, including:
the receiving module is configured to receive an uploading task, and the uploading task carries target data information of data to be uploaded and a target uploading platform identifier;
the first determining module is configured to determine a corresponding target uploading rule from a preset uploading rule base according to the target data information of the data to be uploaded and the target uploading platform identifier;
and the uploading module is configured to upload the data to be uploaded to the target uploading platform according to the target uploading rule under the condition that the target uploading rule exists.
According to a third aspect of embodiments herein, there is provided a computing device comprising:
a memory and a processor;
the memory is configured to store computer-executable instructions, and the processor is configured to execute the computer-executable instructions to implement the method of:
receiving an uploading task, wherein the uploading task carries target data information of data to be uploaded and a target uploading platform identifier;
determining a corresponding target uploading rule from a preset uploading rule base according to the target data information of the data to be uploaded and the target uploading platform identification;
and uploading the data to be uploaded to the target uploading platform according to the target uploading rule under the condition that the target uploading rule exists.
According to a fourth aspect of embodiments herein, there is provided a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the data uploading method.
According to the data uploading method provided by the specification, when an uploading task is received, a corresponding target uploading rule can be determined from a preset uploading rule base according to target data information of data to be uploaded and a target uploading platform identifier carried by the uploading task; and under the condition that the target uploading rule exists, uploading the data to be uploaded to a target uploading platform according to the target uploading rule. In this case, when the upload task is received, the corresponding upload rule may be determined according to the target data information and the target upload platform identifier carried in the upload task, and the data to be uploaded indicated in the upload task is automatically uploaded to the target upload platform according to the determined upload rule; that is to say, as long as the data to be uploaded once uploads the target uploading platform, the corresponding uploading rule can be determined, the same data is uploaded to the same uploading platform, only one manual operation is needed, the subsequent data can be automatically uploaded directly according to the uploading rule, a large amount of manual repeated labor is not needed, the data reporting time is saved, the data reporting efficiency is greatly improved, the risk of manual misoperation is avoided, and the error probability is reduced.
Drawings
Fig. 1 is a flowchart of a data uploading method provided in an embodiment of the present specification;
FIG. 2 is a process flow diagram of a data uploading method applied to a surveillance disclosure scenario provided by an embodiment of the present specification;
fig. 3 is a schematic structural diagram of a data uploading device provided in an embodiment of the present specification;
fig. 4 is a block diagram of a computing device according to an embodiment of the present disclosure.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present description. This description may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, as those skilled in the art will be able to make and use the present disclosure without departing from the spirit and scope of the present disclosure.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In the present specification, a data uploading method is provided, and the present specification relates to a data uploading apparatus, a computing device, and a computer-readable storage medium, which are described in detail in the following embodiments one by one.
Fig. 1 shows a flowchart of a data uploading method provided in an embodiment of the present specification, which specifically includes the following steps:
step 102: and receiving an uploading task, wherein the uploading task carries target data information of the data to be uploaded and a target uploading platform identifier.
In practical applications, the specific uploading processes for completing various uploading tasks by a computer may be different, that is, the data uploading modes are different, and the data uploading modes of different uploading platforms and different attributes are different greatly. At present, the data uploading is generally completed by manually filling information or uploading data files one by one according to requirements. The whole data uploading process depends on manual operation, a large amount of manual repeated labor needs to be carried out on repeated data, the data uploading efficiency is low, a large amount of time needs to be consumed, and errors are easy to occur.
Therefore, in order to reduce the amount of the uploading task and improve the data uploading efficiency, the specification provides a data uploading method, and when the uploading task is received, a corresponding target uploading rule can be determined from a preset uploading rule base according to target data information of data to be uploaded and a target uploading platform identifier carried by the uploading task; and under the condition that the target uploading rule exists, uploading the data to be uploaded to a target uploading platform according to the target uploading rule. Therefore, as long as the data to be uploaded is uploaded on the target uploading platform once, the corresponding uploading rule can be determined, the same data is uploaded on the same uploading platform, only one manual operation is needed, and the data can be uploaded automatically according to the uploading rule subsequently.
Specifically, the upload task may be a task triggered by a preset operation when data needs to be uploaded to the monitoring platform, or a task triggered by detected data to be uploaded, where the upload task includes target data information of the data to be uploaded and a target upload platform identifier, that is, it can be known which data is to be uploaded to which upload platform according to the upload task; the preset operation may refer to an operation of entering a certain supervision platform to click an upload control, may also refer to an operation of selecting certain data and then clicking a corresponding upload control, and may also refer to other preset operations, which are not limited in this specification. Secondly, the target data information refers to data information of the data to be uploaded, the data information may include data identification and data attribute of the data to be uploaded, and the data attribute may include basic parameters of the data, such as data type, storage address, and the like. The target uploading platform identification refers to an identification of a platform to be uploaded with data to be uploaded, and is used for uniquely identifying one platform.
In a specific implementation process, a plurality of platforms exist, when uploading data, firstly correct data to be uploaded is acquired, secondly, the subsequent automatic uploading process can be completed only by determining which uploading platform to upload the data to be uploaded, and therefore when an uploading task is created, target data information and a target uploading platform identifier of the data to be uploaded are carried in the uploading task.
In one or more embodiments of this embodiment, when the data to be uploaded is correctly output and passes the approval, an option corresponding to data information corresponding to the data to be uploaded can be selected from upload options displayed by the target upload platform, and a storage address of the data to be uploaded is selected, so as to trigger an upload task, and the data type, the storage address, and the target upload platform identifier of the data to be uploaded are carried in the upload task, and then the data to be uploaded is automatically uploaded to the target upload platform.
For example, an uploading platform a is entered, and an uploading option 1 is displayed in a display interface of the uploading platform a: uploading Word type daily data; upload option 2: uploading Excel type daily data; upload option 3: uploading XML type daily data, assuming that an uploading option 1 is selected, and a storage position of data to be uploaded is selected to be an xx disk, an uploading task is generated at the moment, the data to be uploaded is carried in the uploading task to be Word type data and stored in the xx disk, and the target uploading platform identifier is an identifier of an uploading platform A.
In one or more embodiments of this embodiment, the data approval process and the data upload process may be connected into a whole, that is, the whole process from the data approval to the data upload is automatically completed, and may be unattended. In this case, after the data to be uploaded is approved, the data to be uploaded and the approval result (generally having the identification of the target uploading platform to be uploaded) can be automatically sent to the uploading system, and after the uploading system recognizes new data, the type of the received data and the target uploading platform to be uploaded can be automatically recognized, and an uploading task is created, so that the data to be uploaded can be automatically uploaded to the target uploading platform subsequently.
It should be noted that, in the present specification, the target data information of the data to be uploaded and the target uploading platform identifier may be carried in the uploading task, so that when different uploading platforms are to be uploaded for the data of different data information subsequently, the corresponding uploading rules may be matched, and the data may be automatically uploaded.
Further, in order to enable the corresponding upload rule to be matched subsequently, a preset upload rule base should be generated in advance before the upload task is received, and the specific implementation process may be as follows:
acquiring a historical data uploading process;
establishing a corresponding uploading rule based on each historical data uploading flow, wherein the uploading rule comprises data information and an uploading platform identifier;
and generating a preset uploading rule base based on the uploading rules, wherein the preset uploading rule base is a rule set comprising at least two uploading rules.
In practical application, the history data uploading process refers to a history uploading process of uploading data to a corresponding platform, for example, data 1 is an Excel table, when the data 1 is uploaded to the platform a, data of an X cell in the table is filled in the position 1, and the process is the history uploading process of uploading the data 1 to the platform a. Secondly, each data is uploaded to each platform and has a corresponding uploading process, manual operation in each uploading process is abstracted into uploading rules, and then a preset uploading rule base can be formed, namely the uploading rules are rules simulating manual operation, namely behavior simulation rules, and for example, the uploading rules can be that data of an X cell in a table of data 1 is filled in a position 1 of the platform A. It should be noted that, the process of uploading data to the platform may involve a plurality of steps, which are only illustrated according to a certain step, and in actual implementation, corresponding rules are simulated for each step of the entire historical data uploading process.
It should be noted that, in this specification, a corresponding upload rule may be created in advance based on each historical data upload flow, and a preset upload rule base may be formed by the created upload rule, and when an upload task is subsequently received, the corresponding upload rule may be determined from the preset upload rule base directly according to target data information and a target upload platform identifier carried in the upload task, so as to facilitate subsequent automatic upload of data to be uploaded directly according to the determined upload rule.
Furthermore, due to the continuous development of the technology and the continuous change of the demand, the upload rules included in the preset upload rule base may be eliminated (i.e. the upload rule is no longer used for uploading data), so that in practical application, the preset upload rule base may be upgraded and maintained, some eliminated upload rules are deleted, that is, after the preset upload rule base is generated based on the upload rules, the following operations may be performed:
receiving a deleting instruction aiming at an uploading rule in a preset uploading rule base;
and deleting the uploading rule corresponding to the deleting instruction in the preset uploading rule base.
Specifically, the delete instruction refers to an instruction for deleting a certain upload rule, and the delete instruction may be triggered by a preset delete operation, for example, after selecting an identifier of a certain upload rule, a right button is clicked, a delete option is selected from the popped up function options, or after selecting an identifier of a certain upload rule, the identifier of the upload rule is dragged to a delete area. The preset deletion operation may be in other operation forms, and is not limited in this application.
In the specification, after the preset uploading rule base is generated, the preset uploading rule base can be upgraded and maintained, the eliminated uploading rules in the preset uploading rule base are deleted, the storage space is saved, the range of the uploading rules corresponding to subsequent matching is reduced, the searching efficiency is improved, and the data uploading efficiency and the success rate can be improved to a certain extent.
Step 104: and determining a corresponding target uploading rule from a preset uploading rule base according to the target data information of the data to be uploaded and the target uploading platform identification.
Specifically, on the basis of receiving the uploading task, further, the corresponding target uploading rule is determined from the preset uploading rule base according to the target data information of the data to be uploaded and the target uploading platform identifier.
In practical application, based on the historical data uploading process, the created uploading rule includes data information and an uploading platform identifier, so that after an uploading task is received, the uploading rule can be directly searched in the uploading rule included in the preset rule base to determine the corresponding uploading rule, and the specific implementation process can be as follows:
searching target data information and a target uploading platform identifier in an uploading rule included in a preset uploading rule base;
and under the condition that the target data information and the target uploading platform identification are found, determining the uploading rule corresponding to the target data information and the target uploading platform identification as the target uploading rule.
It should be noted that, if the data to be uploaded corresponding to the target data information is uploaded to the target uploading platform once, the corresponding uploading rules exist in the preset rule base, and the data information and the uploading platform identifier of each uploading rule included in the preset rule base are searched one by one, so that the target uploading rules can be found.
For example, the preset rule base includes an upload rule 1, an upload rule 2, an upload rule 3, an upload rule 4 and an upload rule 5, where the upload rule 1 includes data information 1 and an upload platform identifier 1, the upload rule 2 includes data information 2 and an upload platform identifier 2, the upload rule 3 includes data information 3 and an upload platform identifier 3, the upload rule 4 includes data information 4 and an upload platform identifier 4, and the upload rule 5 includes data information 5 and an upload platform identifier 5. Assuming that the target data information carried in the received uploading task is data information 3 and the target uploading platform identifier is the target uploading platform identifier 3, searching is performed in the uploading rules included in the preset rule base, the data information and the uploading platform identifier contained in the uploading rule 3 are determined to be the same as the target data information and the target uploading platform identifier carried in the uploading task, and at this time, the uploading rule 3 is determined to be the target uploading rule.
Step 106: and under the condition that the target uploading rule exists, uploading the data to be uploaded to a target uploading platform according to the target uploading rule.
It should be noted that, if the data to be uploaded corresponding to the target data information is uploaded to the target uploading platform once, the corresponding uploading rules exist in the preset rule base, and the data information and the uploading platform identifier of each uploading rule included in the preset rule base are searched one by one, so that the target uploading rules can be found, that is, the preset rule base stores the target uploading rules, and the target uploading rules include each execution step (that is, a rule) for uploading the data to be uploaded to the target uploading platform, so that each step for manually executing the uploading can be directly simulated according to the determined target uploading rules, and the data to be uploaded is automatically uploaded to the target uploading platform.
It should be noted that after receiving the upload task, the corresponding upload rule may be determined according to the target data information and the target upload platform identifier carried in the upload task, and in the presence of the target upload rule, the data to be uploaded indicated in the upload task may be automatically uploaded to the target upload platform according to the target upload rule; that is to say, as long as the data to be uploaded once uploads the target uploading platform, the corresponding uploading rule can be determined, the same data is uploaded to the same uploading platform, only one manual operation is needed, the subsequent data can be automatically uploaded directly according to the uploading rule, a large amount of manual repeated labor is not needed, the data reporting time is saved, the data reporting efficiency is greatly improved, the risk of manual misoperation is avoided, and the error probability is reduced.
Further, if the data to be uploaded corresponding to the target data information never passes through the target uploading platform, the corresponding uploading rule does not exist in the preset rule base, and at this time, the corresponding target uploading rule cannot be found from the preset rule base, that is, the target uploading rule does not exist in the preset rule base. Under the condition that the target uploading rule does not exist in the preset rule base, the corresponding processing mode can be determined according to the urgency degree of the uploading task.
In the above example, assuming that the target data information carried in the received upload task is data information 3 and the target upload platform identifier is upload platform identifier 4, the target upload task is searched in the upload rules included in the preset rule base, and since none of the upload rules included in the preset rule base carries data information 3 and the upload platform identifier is upload platform identifier 4, the target upload rule corresponding to the target data information and the target upload platform identifier does not exist in the preset upload rule base.
In one or more embodiments of this embodiment, when there is no target upload rule and the upload task carries an upload deadline, a processing manner is determined according to the upload deadline, and the data to be uploaded is uploaded to the target upload platform according to the processing manner.
Specifically, the upload time limit refers to a time limit for completing uploading of the data to be uploaded to the target upload platform, and for example, the upload time limit may be 3 hours, one day, 7 days, one month, and the like. The processing mode refers to a mode of uploading data to be uploaded to a target uploading platform, for example, the processing mode may be a mode of manually uploading data to be uploaded to the target uploading platform, and then creating an uploading rule according to an uploading process; or, the processing mode may be that a corresponding uploading rule is created according to a step flow of manual operation as required, and then an uploading task is executed according to the created uploading rule.
It should be noted that, if the upload task carries an upload deadline, the urgency degree of the upload task may be determined according to the upload deadline, so as to determine whether to manually upload data to be uploaded to a target upload platform and then create an upload rule according to an upload flow, or to manually create a corresponding upload rule according to a step flow that requires manual operation, and then execute the upload task according to the created upload rule.
In one or more embodiments of this embodiment, a processing manner is determined according to an upload deadline, and data to be uploaded is uploaded to a target upload platform according to the processing manner, where a specific implementation process may be as follows:
receiving an execution instruction of the uploading task under the condition that the uploading deadline is smaller than the deadline threshold;
after the uploading process of the data to be uploaded is completed, constructing a first uploading rule based on the execution instruction, wherein the first uploading rule comprises target data information of the data to be uploaded and a target uploading platform identifier;
and adding the first uploading rule to a preset uploading rule base.
Specifically, the deadline threshold is a preset threshold used for determining the urgency level of the upload task. The execution instruction refers to an instruction triggered by an operation executed by manually uploading data to be uploaded to a target uploading platform. It should be noted that, if the upload time limit is less than the time limit threshold, it indicates that the upload task is urgent and it may not be possible to create the rule first and then automatically upload the rule according to the rule, so that the data to be uploaded is manually uploaded to the target upload platform first, and after the upload is completed, the first upload rule is created according to the operation executed in the upload process and is added to the preset rule base, so that the data to be uploaded is automatically uploaded to the target upload platform next time.
In one or more embodiments of this embodiment, a processing manner is determined according to an upload deadline, and data to be uploaded is uploaded to a target upload platform according to the processing manner, where a specific implementation process may also be as follows:
receiving a second uploading rule created for an uploading process corresponding to the data to be uploaded under the condition that the uploading deadline is greater than or equal to the deadline threshold value, wherein the second uploading rule comprises target data information of the data to be uploaded and a target uploading platform identifier;
adding the second uploading rule to a preset uploading rule base;
and executing the uploading task according to the second uploading rule.
It should be noted that, if the upload time limit is greater than or equal to the time limit threshold, it is indicated that the upload task is not urgent, the rule may be created first, and then the upload task is automatically executed according to the rule, so that the upload process corresponding to the data to be uploaded is notified to create the second upload rule first, and then the upload task is automatically executed according to the second upload rule, so as to facilitate the next automatic upload of the data to be uploaded to the target upload platform, and the second upload rule may be added to the preset rule base.
Further, not all upload tasks carry an upload deadline, and when the upload tasks do not carry the upload deadline, the upload tasks may be defaulted to be not urgent, and the specific implementation process may be as follows:
receiving a third uploading rule created for an uploading process corresponding to the data to be uploaded under the condition that the target uploading rule does not exist and the uploading task does not carry an uploading deadline, wherein the third uploading rule comprises target data information of the data to be uploaded and a target uploading platform identifier;
adding the third uploading rule to a preset uploading rule base;
and executing the uploading task according to the third uploading rule.
It should be noted that, if the target upload rule does not exist in the preset rule base, it may be determined, according to the urgency level of the upload task, whether to manually upload the data to be uploaded to the target upload platform first, and then create the upload rule according to an execution instruction in the upload process, or to manually operate the step flow as needed to create the corresponding upload rule first, and then execute the upload task according to the created upload rule.
According to the data uploading method provided by the specification, when an uploading task is received, a corresponding target uploading rule can be determined from a preset uploading rule base according to target data information of data to be uploaded and a target uploading platform identifier carried by the uploading task; and under the condition that the target uploading rule exists, uploading the data to be uploaded to a target uploading platform according to the target uploading rule. In this case, when the upload task is received, the corresponding upload rule may be determined according to the target data information and the target upload platform identifier carried in the upload task, and the data to be uploaded indicated in the upload task is automatically uploaded to the target upload platform according to the determined upload rule; that is to say, as long as the data to be uploaded once uploads the target uploading platform, the corresponding uploading rule can be determined, the same data is uploaded to the same uploading platform, only one manual operation is needed, the subsequent data can be automatically uploaded directly according to the uploading rule, a large amount of manual repeated labor is not needed, the data reporting time is saved, the data reporting efficiency is greatly improved, the risk of manual misoperation is avoided, and the error probability is reduced.
It should be noted that the data uploading method provided by the present specification can be applied to the data uploading process in various scenes, for example, in a supervision and disclosure scene, data is uploaded to a supervision department through a supervision platform; or, the method can also be applied to a shopping scenario, order data uploading, and the like, and certainly, the method can also be applied to other scenarios, and the application scenario of the data uploading method in this specification is not limited.
The data uploading method provided in the present specification is further described below with reference to fig. 2 by taking an application of the data uploading method in a supervision disclosure scenario as an example. Fig. 2 shows a processing flow chart of a data uploading method applied to a supervision disclosure scenario, which is provided in an embodiment of the present specification, and specifically includes the following steps:
step 202: the method comprises the steps of obtaining historical data uploading flows, creating corresponding uploading rules based on each historical data uploading flow, and generating a preset uploading rule base based on the uploading rules, wherein the preset uploading rule base is a rule set comprising at least two uploading rules, and the uploading rules comprise data information and monitoring platform identification.
In practical application, different supervision platforms have different data uploading modes, and different supervision platforms and different types of data uploading modes have larger difference. At present, the data uploading is generally completed by manually filling forms, checking or uploading data files one by one according to requirements. The whole data uploading process depends on manual operation, a large amount of manual repeated labor is needed for repeated data, the data uploading efficiency is low, a large amount of time is needed to be consumed, and errors are easy to occur.
Therefore, in order to reduce the amount of the uploading task and improve the data uploading efficiency, the specification provides a data uploading method, and when the uploading task is received, a corresponding target uploading rule can be determined from a preset uploading rule base according to target data information of data to be uploaded and a target supervision platform identifier carried by the uploading task; and under the condition that the target uploading rule exists, uploading the data to be uploaded to a target supervision platform according to the target uploading rule. Therefore, as long as the data to be uploaded is uploaded to the target supervision platform once, the corresponding uploading rule can be determined, the same data is uploaded to the same supervision platform, only one manual operation is needed, and the data can be uploaded automatically according to the uploading rule subsequently.
Step 204: and receiving an uploading task, wherein the uploading task carries target data information of the data to be uploaded and a target supervision platform identifier.
Step 206: and determining a corresponding target uploading rule from a preset uploading rule base according to the target data information of the data to be uploaded and the target supervision platform identification.
Step 208: and under the condition that the target uploading rule exists, uploading the data to be uploaded to a target supervision platform according to the target uploading rule.
Step 210: and under the condition that the target uploading rule does not exist and the uploading deadline carried by the uploading task is smaller than the deadline threshold, receiving an execution instruction of the uploading task, constructing a first uploading rule based on the execution instruction after the uploading process of the data to be uploaded is completed, and adding the first uploading rule to a preset uploading rule base, wherein the first uploading rule comprises target data information of the data to be uploaded and a target supervision platform identifier.
Step 212: and under the condition that the target uploading rule does not exist and the uploading deadline carried by the uploading task is greater than or equal to the deadline threshold value, receiving a second uploading rule created for the uploading flow corresponding to the data to be uploaded, adding the second uploading rule to a preset uploading rule base, and executing the uploading task according to the second uploading rule, wherein the second uploading rule comprises target data information of the data to be uploaded and a target supervision platform identifier.
Step 214: and under the condition that the target uploading rule does not exist and the uploading task does not carry the uploading time limit, receiving a third uploading rule created aiming at the uploading process corresponding to the data to be uploaded, adding the third uploading rule to a preset uploading rule base, and executing the uploading task according to the third uploading rule, wherein the third uploading rule comprises target data information of the data to be uploaded and a target supervision platform identifier.
According to the data uploading method provided by the specification, when the uploading task is received, the corresponding target uploading rule can be determined from the preset uploading rule base according to the target data information of the data to be uploaded carried by the uploading task and the target supervision platform identification; and under the condition that the target uploading rule exists, uploading the data to be uploaded to a target supervision platform according to the target uploading rule. In this case, when the upload task is received, the corresponding upload rule can be determined according to the target data information and the target supervision platform identifier carried in the upload task, and the data to be uploaded indicated in the upload task is automatically uploaded to the target supervision platform according to the determined upload rule; that is to say, as long as the data to be uploaded once uploads the target supervision platform, the corresponding uploading rule can be determined, the same data is uploaded to the same supervision platform, only one manual operation is needed, the data can be uploaded automatically according to the uploading rule, a large amount of manual repeated labor is not needed, the data reporting time is saved, the data reporting efficiency is greatly improved, the risk of manual misoperation is avoided, and the error probability is reduced.
Corresponding to the above method embodiment, the present specification further provides an embodiment of a data uploading device, and fig. 3 shows a schematic structural diagram of the data uploading device provided in an embodiment of the present specification. As shown in fig. 3, the apparatus includes:
a receiving module 302, configured to receive an upload task, where the upload task carries target data information of data to be uploaded and a target upload platform identifier;
a first determining module 304, configured to determine, according to the target data information of the data to be uploaded and the target uploading platform identifier, a corresponding target uploading rule from a preset uploading rule base;
an uploading module 306 configured to upload the data to be uploaded to the target uploading platform according to the target uploading rule if the target uploading rule exists.
In one or more implementations of this embodiment, the apparatus further includes:
the acquisition module is configured to acquire a historical data uploading process;
the system comprises a creating module, a storage module and a processing module, wherein the creating module is configured to create a corresponding uploading rule based on each historical data uploading flow, and the uploading rule comprises data information and an uploading platform identifier;
the generating module is configured to generate a preset uploading rule base based on the uploading rules, wherein the preset uploading rule base is a rule set comprising at least two uploading rules.
In one or more implementations of this embodiment, the determining module 304 is further configured to:
searching the target data information and the target uploading platform identification in the uploading rules included in the preset uploading rule base;
and under the condition that the target data information and the target uploading platform identification are found, determining an uploading rule corresponding to the target data information and the target uploading platform identification as the target uploading rule.
In one or more implementations of this embodiment, the apparatus further includes:
and the second determining module is configured to determine a processing mode according to the uploading time limit under the condition that the target uploading rule does not exist and the uploading task carries the uploading time limit, and upload the data to be uploaded to the target uploading platform according to the processing mode.
In one or more implementations of this embodiment, the second determining module is further configured to:
receiving an execution instruction of the uploading task when the uploading deadline is smaller than a deadline threshold value;
after the uploading process of the data to be uploaded is completed, constructing a first uploading rule based on the execution instruction, wherein the first uploading rule comprises target data information of the data to be uploaded and a target uploading platform identifier;
and adding the first uploading rule to the preset uploading rule base.
In one or more implementations of this embodiment, the second determining module is further configured to:
receiving a second uploading rule created for an uploading process corresponding to the data to be uploaded under the condition that the uploading deadline is greater than or equal to a deadline threshold value, wherein the second uploading rule comprises target data information of the data to be uploaded and a target uploading platform identifier;
adding the second uploading rule to the preset uploading rule base;
and executing the uploading task according to the second uploading rule.
In one or more implementations of this embodiment, the apparatus further includes:
the receiving module is configured to receive a third uploading rule created for an uploading process corresponding to the data to be uploaded under the condition that the target uploading rule does not exist and the uploading task does not carry an uploading deadline, wherein the third uploading rule comprises target data information of the data to be uploaded and a target uploading platform identifier;
an adding module configured to add the third uploading rule to the preset uploading rule base;
an execution module configured to execute the upload task according to the third upload rule.
When receiving an upload task, the data upload device provided in this specification may determine a corresponding target upload rule from a preset upload rule base according to target data information of data to be uploaded and a target upload platform identifier, which are carried by the upload task; and under the condition that the target uploading rule exists, uploading the data to be uploaded to a target uploading platform according to the target uploading rule. In this case, when the upload task is received, the corresponding upload rule may be determined according to the target data information and the target upload platform identifier carried in the upload task, and the data to be uploaded indicated in the upload task is automatically uploaded to the target upload platform according to the determined upload rule; that is to say, as long as the data to be uploaded once uploads the target uploading platform, the corresponding uploading rule can be determined, the same data is uploaded to the same uploading platform, only one manual operation is needed, the subsequent data can be automatically uploaded directly according to the uploading rule, a large amount of manual repeated labor is not needed, the data reporting time is saved, the data reporting efficiency is greatly improved, the risk of manual misoperation is avoided, and the error probability is reduced.
The above is a schematic scheme of a data uploading device of this embodiment. It should be noted that the technical solution of the data uploading apparatus and the technical solution of the data uploading method belong to the same concept, and details that are not described in detail in the technical solution of the data uploading apparatus can be referred to the description of the technical solution of the data uploading method.
FIG. 4 illustrates a block diagram of a computing device 400 provided according to an embodiment of the present description. The components of the computing device 400 include, but are not limited to, a memory 410 and a processor 420. Processor 420 is coupled to memory 410 via bus 430 and database 450 is used to store data.
Computing device 400 also includes access device 440, access device 440 enabling computing device 400 to communicate via one or more networks 460. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. The access device 440 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 400, as well as other components not shown in FIG. 4, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 4 is for purposes of example only and is not limiting as to the scope of the present description. Those skilled in the art may add or replace other components as desired.
Computing device 400 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smartphone), wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 400 may also be a mobile or stationary server.
Wherein the processor 420 is configured to execute the following computer-executable instructions to implement the following method:
receiving an uploading task, wherein the uploading task carries target data information of data to be uploaded and a target uploading platform identifier;
determining a corresponding target uploading rule from a preset uploading rule base according to the target data information of the data to be uploaded and the target uploading platform identification;
and uploading the data to be uploaded to the target uploading platform according to the target uploading rule under the condition that the target uploading rule exists.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the data uploading method belong to the same concept, and details that are not described in detail in the technical solution of the computing device can be referred to the description of the technical solution of the data uploading method.
An embodiment of the present specification also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement:
receiving an uploading task, wherein the uploading task carries target data information of data to be uploaded and a target uploading platform identifier;
determining a corresponding target uploading rule from a preset uploading rule base according to the target data information of the data to be uploaded and the target uploading platform identification;
and uploading the data to be uploaded to the target uploading platform according to the target uploading rule under the condition that the target uploading rule exists.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the data uploading method belong to the same concept, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the data uploading method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present disclosure is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present disclosure. Further, those skilled in the art should also appreciate that the embodiments described in this specification are preferred embodiments and that acts and modules referred to are not necessarily required for this description.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are intended only to aid in the description of the specification. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the specification and its practical application, to thereby enable others skilled in the art to best understand the specification and its practical application. The specification is limited only by the claims and their full scope and equivalents.

Claims (10)

1. A method of data upload, the method comprising:
receiving an uploading task, wherein the uploading task carries target data information of data to be uploaded and a target uploading platform identifier;
determining a corresponding target uploading rule from a preset uploading rule base according to the target data information of the data to be uploaded and the target uploading platform identification;
and uploading the data to be uploaded to the target uploading platform according to the target uploading rule under the condition that the target uploading rule exists.
2. The data uploading method according to claim 1, wherein before receiving the uploading task, the method further comprises:
acquiring a historical data uploading process;
establishing a corresponding uploading rule based on each historical data uploading flow, wherein the uploading rule comprises data information and an uploading platform identifier;
and generating a preset uploading rule base based on the uploading rules, wherein the preset uploading rule base is a rule set comprising at least two uploading rules.
3. The data uploading method according to claim 1 or 2, wherein the determining a corresponding target uploading rule from a preset uploading rule base according to the target data information of the data to be uploaded and the target uploading platform identifier includes:
searching the target data information and the target uploading platform identification in the uploading rules included in the preset uploading rule base;
and under the condition that the target data information and the target uploading platform identification are found, determining an uploading rule corresponding to the target data information and the target uploading platform identification as the target uploading rule.
4. The data upload method of claim 1, said method further comprising:
and determining a processing mode according to the uploading time limit under the condition that the target uploading rule does not exist and the uploading task carries the uploading time limit, and uploading the data to be uploaded to the target uploading platform according to the processing mode.
5. The data uploading method according to claim 4, wherein the determining a processing mode according to the uploading deadline and uploading the data to be uploaded to the target uploading platform according to the processing mode comprises:
receiving an execution instruction of the uploading task when the uploading deadline is smaller than a deadline threshold value;
after the uploading process of the data to be uploaded is completed, constructing a first uploading rule based on the execution instruction, wherein the first uploading rule comprises target data information of the data to be uploaded and a target uploading platform identifier;
and adding the first uploading rule to the preset uploading rule base.
6. The data uploading method according to claim 4, wherein the determining a processing mode according to the uploading deadline and uploading the data to be uploaded to the target uploading platform according to the processing mode comprises:
receiving a second uploading rule created for an uploading process corresponding to the data to be uploaded under the condition that the uploading deadline is greater than or equal to a deadline threshold value, wherein the second uploading rule comprises target data information of the data to be uploaded and a target uploading platform identifier;
adding the second uploading rule to the preset uploading rule base;
and executing the uploading task according to the second uploading rule.
7. The data upload method of claim 1, said method further comprising:
receiving a third uploading rule created for an uploading process corresponding to the data to be uploaded under the condition that the target uploading rule does not exist and the uploading task does not carry an uploading deadline, wherein the third uploading rule comprises target data information of the data to be uploaded and a target uploading platform identifier;
adding the third uploading rule to the preset uploading rule base;
and executing the uploading task according to the third uploading rule.
8. A data upload apparatus, the apparatus comprising:
the receiving module is configured to receive an uploading task, and the uploading task carries target data information of data to be uploaded and a target uploading platform identifier;
the first determining module is configured to determine a corresponding target uploading rule from a preset uploading rule base according to the target data information of the data to be uploaded and the target uploading platform identifier;
and the uploading module is configured to upload the data to be uploaded to the target uploading platform according to the target uploading rule under the condition that the target uploading rule exists.
9. A computing device, comprising:
a memory and a processor;
the memory is configured to store computer-executable instructions, and the processor is configured to execute the computer-executable instructions to implement the method of:
receiving an uploading task, wherein the uploading task carries target data information of data to be uploaded and a target uploading platform identifier;
determining a corresponding target uploading rule from a preset uploading rule base according to the target data information of the data to be uploaded and the target uploading platform identification;
and uploading the data to be uploaded to the target uploading platform according to the target uploading rule under the condition that the target uploading rule exists.
10. A computer readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the data upload method of any of claims 1 to 7.
CN202010842485.4A 2020-08-20 2020-08-20 Data uploading method and device Pending CN111988401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010842485.4A CN111988401A (en) 2020-08-20 2020-08-20 Data uploading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010842485.4A CN111988401A (en) 2020-08-20 2020-08-20 Data uploading method and device

Publications (1)

Publication Number Publication Date
CN111988401A true CN111988401A (en) 2020-11-24

Family

ID=73443594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010842485.4A Pending CN111988401A (en) 2020-08-20 2020-08-20 Data uploading method and device

Country Status (1)

Country Link
CN (1) CN111988401A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997049049A1 (en) * 1996-06-19 1997-12-24 Pegasystems Inc. Rules bases and methods of access thereof
US8554645B1 (en) * 2011-01-04 2013-10-08 Intuit Inc. Method and system for identifying business expenditures with vendors and automatically generating and submitting required forms
WO2015128815A1 (en) * 2014-02-25 2015-09-03 Flexion Mobile Limited System and method to modify run-time behavior of an application by modification of machine-readable instructions
CN108062367A (en) * 2017-12-08 2018-05-22 平安科技(深圳)有限公司 The method for uploading and its terminal of a kind of data list
CN109618331A (en) * 2019-02-01 2019-04-12 深圳乐信软件技术有限公司 Data reporting method, device, equipment and storage medium
CN109766377A (en) * 2018-12-17 2019-05-17 深圳壹账通智能科技有限公司 Cross-platform data capture method, device, computer equipment and storage medium
CN109829123A (en) * 2017-11-22 2019-05-31 阿里巴巴集团控股有限公司 A kind of method for sending information and device
CN111177231A (en) * 2019-12-20 2020-05-19 中国建设银行股份有限公司 Report generation method and report generation device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997049049A1 (en) * 1996-06-19 1997-12-24 Pegasystems Inc. Rules bases and methods of access thereof
US8554645B1 (en) * 2011-01-04 2013-10-08 Intuit Inc. Method and system for identifying business expenditures with vendors and automatically generating and submitting required forms
WO2015128815A1 (en) * 2014-02-25 2015-09-03 Flexion Mobile Limited System and method to modify run-time behavior of an application by modification of machine-readable instructions
CN109829123A (en) * 2017-11-22 2019-05-31 阿里巴巴集团控股有限公司 A kind of method for sending information and device
CN108062367A (en) * 2017-12-08 2018-05-22 平安科技(深圳)有限公司 The method for uploading and its terminal of a kind of data list
CN109766377A (en) * 2018-12-17 2019-05-17 深圳壹账通智能科技有限公司 Cross-platform data capture method, device, computer equipment and storage medium
CN109618331A (en) * 2019-02-01 2019-04-12 深圳乐信软件技术有限公司 Data reporting method, device, equipment and storage medium
CN111177231A (en) * 2019-12-20 2020-05-19 中国建设银行股份有限公司 Report generation method and report generation device

Similar Documents

Publication Publication Date Title
JP2017062767A (en) Method and system for intelligent cloud planning and decommissioning
CN110321273A (en) A kind of business statistical method and device
CN111949324A (en) Distributed serial number generation method and device
CN109766422A (en) Information processing method, apparatus and system, storage medium, terminal
CN112256318B (en) Construction method and equipment for dependent product
CN111191853B (en) Risk prediction method and device and risk query method and device
CN115049365A (en) Application commissioning information processing method and device and computer equipment
CN106658666A (en) Method and device for building wireless connection
CN113987300A (en) Label generation method and device
CN113094284A (en) Application fault detection method and device
CN111988401A (en) Data uploading method and device
CN115129574A (en) Code testing method and device
US9843635B2 (en) Data replication among portable electronic devices
CN115270013A (en) Method and device for evaluating emission reduction measures during activities and electronic equipment
CN114168589A (en) Index construction method and device
CN113705822A (en) Automatic modeling method, system, computing device and storage medium
CN113254530A (en) Mobile terminal off-line processing method, system, electronic equipment and storage medium
CN111625341A (en) Task scheduling management method and device
CN112433950A (en) Method for automatically building test environment, electronic equipment and storage medium
CN110765303A (en) Method and system for updating database
CN111159988A (en) Model processing method and device, computer equipment and storage medium
CN114791996B (en) Information processing method, device, system, electronic equipment and storage medium
CN117035946A (en) Order diversion method, order diversion device, computer equipment and computer readable storage medium
CN110019352B (en) Method and apparatus for storing data
CN108037981B (en) Accessory management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201124