CN110351330B - Data uploading method and device, computer equipment and storage medium - Google Patents

Data uploading method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110351330B
CN110351330B CN201910456004.3A CN201910456004A CN110351330B CN 110351330 B CN110351330 B CN 110351330B CN 201910456004 A CN201910456004 A CN 201910456004A CN 110351330 B CN110351330 B CN 110351330B
Authority
CN
China
Prior art keywords
data
preset
uploading
users
user information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910456004.3A
Other languages
Chinese (zh)
Other versions
CN110351330A (en
Inventor
高梁梁
何烨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910456004.3A priority Critical patent/CN110351330B/en
Publication of CN110351330A publication Critical patent/CN110351330A/en
Application granted granted Critical
Publication of CN110351330B publication Critical patent/CN110351330B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • 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]

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Signal Processing (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a data uploading method and device, computer equipment and a storage medium. The method is applied to the field of data transmission and comprises the steps of determining the number of users according to data in a preset order database, and judging whether the number of the users is larger than a preset number threshold value or not; if the number of the users is larger than a preset number threshold, acquiring user information corresponding to the users and data types corresponding to the users; generating a data table to be filled according to the data category, generating a form number according to the user information, and uploading the data table to be filled and the form number to a server; judging whether the performance parameters of the current terminal meet preset uploading conditions or not; and if the performance parameters of the current terminal meet preset uploading conditions, uploading user information corresponding to the data and a preset form number mapping table to a server. By implementing the embodiment of the invention, the processing speed of data uploading can be improved, and the overhigh system load can be prevented.

Description

Data uploading method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer data processing, and in particular, to a data uploading method, apparatus, computer device, and computer-readable storage medium.
Background
With the continuous development of internet technology, more and more enterprises use the internet to upload order data to a server so as to store and process the order data. In the prior art, the order data is generally uploaded to the server directly after the order data is generated. However, the amount of order data is often peak, and a large amount of order data may occur in a certain period of time. If the batch of data is directly uploaded to the server, the phenomena of low processing speed, too high system load, even system abnormality and the like are easily caused in the data uploading process.
Disclosure of Invention
The embodiment of the invention provides a data uploading method and device, computer equipment and a storage medium, and aims to solve the problems of low processing speed, overhigh system load and the like in the data uploading process.
In a first aspect, an embodiment of the present invention provides a data uploading method, including: determining the number of users according to data in a preset order database, and judging whether the number of the users is larger than a preset number threshold value; if the number of the users is larger than a preset number threshold, acquiring user information corresponding to the users and data types corresponding to the users; generating a data table to be filled according to the data category, generating a form number according to the user information, and uploading the data table to be filled and the form number to a server; judging whether the performance parameters of the current terminal meet preset uploading conditions or not; and if the performance parameters of the current terminal meet preset uploading conditions, uploading user information corresponding to the data and a preset form number mapping table to a server, wherein the preset form number mapping table is used for storing the mapping relation between the user information and the form number.
In a second aspect, an embodiment of the present invention provides a data uploading apparatus, including:
the first judgment unit is used for determining the number of users according to data in a preset order database and judging whether the number of the users is greater than a preset number threshold value;
the first obtaining unit is used for obtaining user information corresponding to the user and a data type corresponding to the user if the number of the users is larger than a preset number threshold;
the first uploading unit is used for generating a data table to be filled according to the data category, generating a form number according to the user information, and uploading the data table to be filled and the form number to a server;
the second judging unit is used for judging whether the performance parameters of the current terminal meet the preset uploading condition or not;
and the second uploading unit is used for uploading the user information corresponding to the data and a preset form number mapping table to a server if the performance parameters of the current terminal meet preset uploading conditions, wherein the preset form number mapping table is used for storing the mapping relation between the user information and the form number.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the data uploading method when executing the program.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, causes the processor to execute the above data uploading method.
The embodiment of the invention provides a data uploading method and device, computer equipment and a computer readable storage medium. Determining the number of users according to data in a preset order database, and judging whether the number of the users is greater than a preset number threshold value; if the number of the users is larger than a preset number threshold, acquiring user information corresponding to the users and data categories corresponding to the users; generating a data table to be filled according to the data category, generating a form number according to the user information, and uploading the data table to be filled and the form number to a server; judging whether the performance parameters of the current terminal meet preset uploading conditions or not; and if the performance parameters of the current terminal meet preset uploading conditions, uploading user information corresponding to the data and a preset form number mapping table to a server. By implementing the embodiment of the invention, before data is uploaded, the number of users is determined according to data in a preset order database, and whether the number of the users is greater than a preset number threshold value is determined so as to determine whether the data volume to be uploaded is overlarge currently; if the number of the users is larger than a preset number threshold, the generated form number is uploaded to a server, and after the performance parameter of the current terminal meets a preset uploading condition, the user information corresponding to the data and a preset form number mapping table are uploaded to the server, so that the processing speed of data uploading can be increased, and the system load is prevented from being too high.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a data uploading method according to an embodiment of the present invention;
fig. 2 is a schematic view of an application scenario of a data uploading method according to an embodiment of the present invention;
fig. 3 is another schematic flow chart of a data uploading method according to an embodiment of the present invention;
fig. 4 is another schematic flow chart of a data uploading method according to an embodiment of the present invention;
fig. 5 is another schematic flow chart of a data uploading method according to an embodiment of the present invention;
fig. 6 is another schematic flow chart of a data uploading method according to an embodiment of the present invention;
fig. 7 is a schematic block diagram of a data uploading apparatus according to an embodiment of the present invention;
fig. 8 is another schematic block diagram of a data uploading apparatus according to an embodiment of the present invention;
fig. 9 is another schematic block diagram of a data uploading apparatus according to an embodiment of the present invention;
fig. 10 is another schematic block diagram of a data uploading apparatus according to an embodiment of the present invention;
fig. 11 is another schematic block diagram of a data uploading apparatus according to an embodiment of the present invention;
fig. 12 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting. As used in the specification of the present invention 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.
Please refer to fig. 1 and fig. 2, which are a flowchart and an application scenario diagram of a data uploading method according to an embodiment of the present invention. The data uploading method provided by the embodiment of the invention can be applied to a terminal, and the terminal 10 can be an intelligent terminal with a network communication function, such as a desktop computer, a mobile phone, a tablet computer and the like. The terminal 10 can perform data interaction with the server 20. The server 20 may be an independent server, or a server cluster composed of a plurality of servers. The server may be a server for storing and processing order data, wherein the order data may be air ticket order data, meal reservation data, policy data, and the like, and the embodiment of the present invention does not limit the type of the uploaded data. If the data is policy data, when the insurance enterprise uploads the policy data by using the terminal 10, the processing speed is slow, the system load is too high, even the system is abnormal, and the like, which are caused by the huge amount of the policy data, in the data uploading process, and the data uploading method provided by the embodiment of the invention can effectively solve the problems. As shown in fig. 1, the data uploading method includes steps S110 to S150.
S110, determining the number of users according to data in a preset order database, and judging whether the number of the users is larger than a preset number threshold value.
In specific implementation, if the data to be uploaded is policy data, the corresponding user is specifically an insured person, and the number of users is specifically the number of insured persons. The number of insured persons can be obtained by reading the policy to be uploaded in the local preset order database. The policy to be uploaded may include applicant information, time of application, kind of insurance, insured person information, etc., where the insured person information may include the name, gender, age, etc. of the insured person. Each policy to be uploaded corresponds to unique information of the insured person, namely the number of the insured persons can be obtained by obtaining the number of the policies to be uploaded. After acquiring the number of insured persons, the number of insured persons needs to be determined to determine whether the number of insured persons is greater than a preset number threshold, in specific implementation, the preset number threshold may be set according to actual requirements, and the preset number threshold is, for example, 1000, 10000, and the like.
And S120, if the number of the users is larger than a preset number threshold, acquiring user information corresponding to the users and data types corresponding to the users.
If the number of the users is larger than the preset number threshold, the current data volume is too large, and the system overload is easily caused by directly uploading the data, so that the user information corresponding to the users and the data types corresponding to the users are obtained for calling in the subsequent steps.
Specifically, if the data to be uploaded is policy data, the corresponding user is specifically an insured person, the number of users is specifically the number of insured persons, and the data category is specifically a policy category. If the number of insured persons is greater than the preset number threshold, it indicates that the number of insured persons is too large, and if the system processes the number of insured persons in a conventional manner (for example, directly uploads the whole policy information including the information of the insured persons and other information in batch), the phenomena of system processing abnormity, too high load and the like may occur. In order to prevent the problems of too high load and processing abnormality, the embodiment reduces the amount of uploaded data information by acquiring only important information of the policy to be uploaded. Specifically, the information of the insured person is obtained from each policy to be uploaded in the policy database, and then the policy category corresponding to the insured person is determined, so as to generate the policy to be filled according to the policy category and generate the policy number according to the information of the insured person. The insured life information includes but is not limited to the insured life's name, gender, identification number, contact phone number, etc.
In some embodiments, as shown in FIG. 3, the step S120 includes, but is not limited to, steps S121-S122.
And S121, if the number of the users is larger than a preset number threshold, obtaining user information, enterprise identifiers and employee levels corresponding to the users.
In particular, the business identifier may be a business name, a business number, etc., and the employee level is an identifier that distinguishes the administrative level of the employee within the business. The enterprise identifiers and employee levels for different users may or may not be the same. In the policy data, the business identifiers and employee levels for different insureds may or may not be the same. For example, an insured life corresponds to an enterprise identifier of "8185" and a corresponding employee level of "T17"; insured b corresponds to an enterprise identifier of "8185" and an employee level of M8.
And S122, determining the data type corresponding to the user according to the enterprise identifier, the employee level and a preset data type mapping table.
Specifically, the preset data category mapping table may be a preset policy mapping table, where the preset policy mapping table is used to store mapping relationships between the enterprise identifier, the employee level, and the policy category, and the number of the mapping relationships may be one or more. And determining the policy category corresponding to the insured person through the enterprise identifier, the employee level and a preset policy mapping table. For example, assuming that the enterprise identifier corresponding to the insured life is "8185" and the corresponding employee level is "T17", the mapping relationship in the preset policy mapping table includes: the enterprise identifier "8185" and employee level "T17" map to a first policy category. The first policy may specifically be that the policy type is personal accident risk, and the policy amount is 20 ten thousands.
And S130, generating a data table to be filled according to the data category, generating a form number according to the user information, and uploading the data table to be filled and the form number to a server.
Specifically, if the data to be uploaded is policy data, the corresponding user is specifically an insured person, the number of users is specifically the number of insured persons, the data type is specifically a policy type, the data table to be filled is specifically a policy to be filled, and the policy number is a policy number.
In some embodiments, as shown in FIG. 4, the step S130 includes, but is not limited to, steps S131-S133.
S131, generating the form to be filled according to the data category and a preset form mapping table to be filled.
Specifically, different data categories correspond to the existence of unique forms to be filled. The data to be uploaded is assumed to be policy data, unique policies to be filled exist in different policy categories correspondingly, and the preset policy mapping table to be filled is used for storing the mapping relation between the policy categories and the policies to be filled. And determining the only policy to be filled according to the policy category and a preset policy mapping table to be filled.
The policy to be filled comprises one or more frames to be filled, the frames to be filled are used for filling the information of the insured person, and the information of the insured person comprises but is not limited to the name, the gender, the identification number and the contact telephone corresponding to the insured person.
S132, acquiring the arrangement serial number corresponding to the user information and generating a form number according to the arrangement serial number.
Specifically, the user information has a unique arrangement number. Assuming that the data to be uploaded is policy data, the information of the insured person has a unique arrangement serial number corresponding to the information of the insured person, and the policy number is generated according to the arrangement serial number corresponding to the acquired information of the insured person so as to establish a unique mapping relation between the information of the insured person and the policy number, wherein the mapping relation between the information of the insured person and the policy number is stored in a preset policy number mapping table so that a subsequent server can quickly call the information of the insured person when the policy to be filled is filled with the information of the insured person, and the processing efficiency is improved.
And S133, uploading the form to be filled and the form number to a server.
Specifically, assuming that the data to be uploaded is policy data, the uploading the form to be filled and the form number to the server specifically includes: and uploading the form to be filled and the form number to a server. After the performance parameters of the current terminal meet the preset uploading condition, the insured person information corresponding to the policy and the preset policy number mapping table are uploaded to a server, so that the policy uploading processing speed is increased, and the system load is prevented from being too high.
And S140, judging whether the performance parameters of the current terminal meet the preset uploading condition.
Specifically, the preset upload condition may be set according to an actual condition, for example, the preset upload condition may be that a duration of time during which the performance parameter of the current terminal is smaller than the preset parameter threshold is greater than a preset time threshold, and for example, whether the performance parameter of the current terminal meets the preset upload condition may be determined by judging whether the current time is the preset upload time, for example, the idle time of the terminal is set to the preset upload time according to a usage habit of a terminal user. The embodiment of the present invention does not limit the preset upload condition.
In some embodiments, as shown in FIG. 5, the step S140 includes, but is not limited to, steps S141-S143.
And S141, calculating the duration of the performance parameter less than a preset parameter threshold.
Specifically, the performance parameter corresponding to the current terminal may be one or more of parameters such as a broadband occupancy rate, a processor occupancy rate, and a memory occupancy rate, and the specific performance parameter may be set according to an actual requirement.
In specific implementation, the duration of time that the performance parameter is smaller than the preset parameter threshold is calculated by judging whether the performance parameter is smaller than the preset parameter threshold. The preset parameter threshold value can be set according to actual requirements. Assuming that the performance parameter corresponding to the current terminal is the processor occupancy rate, the preset parameter threshold may be 50%, and if the processor occupancy rate corresponding to the current terminal is less than 50%, determining that the performance parameter is less than the preset parameter threshold.
And S142, judging whether the time length is greater than a preset time threshold value.
Specifically, the preset time threshold may be set according to a requirement, and the preset time threshold is, for example, 3 hours, that is, if the time length is greater than 3 hours, it is determined that the time length is greater than the preset time threshold.
And S143, if the time length is greater than a preset time threshold, determining that the current terminal meets a preset uploading condition.
Specifically, if the time length is greater than the preset time threshold, it indicates that the current terminal is in a state with better performance for a long time, and a large amount of data processing can be performed, so as to determine that the performance parameter of the current terminal meets the preset uploading condition.
And S150, if the performance parameters of the current terminal meet preset uploading conditions, uploading user information corresponding to the data and a preset form number mapping table to a server, wherein the preset form number mapping table is used for storing the mapping relation between the user information and the form number.
Specifically, assuming that the data to be uploaded is policy data, the corresponding user is specifically an insured person, the number of users is specifically the number of insured persons, the data type is specifically a policy type, the data table to be filled is a policy to be filled, the policy number is a policy number, the preset table of form numbers is specifically a preset mapping table of policy numbers, and the preset mapping table of policy numbers is used for storing the mapping relationship between the information of the insured person and the policy number.
In some embodiments, as shown in FIG. 6, the step S150 includes, but is not limited to, steps S151-S152.
And S151, if the performance parameters of the current terminal meet the preset uploading condition, verifying the user information corresponding to the data.
Specifically, if the performance parameters of the current terminal meet preset uploading conditions, the user information corresponding to the data is verified, so that the error rate of the data uploaded to the server is prevented from being reduced, and the accuracy of policy data is improved.
In a specific implementation, assuming that data to be uploaded is policy data, the verifying the user information corresponding to the data specifically includes: and checking the information of the insured person corresponding to the policy. The insured life information includes but is not limited to the name, sex, identification number, contact number corresponding to the insured life. If the insured person information is the ID card number, the insured person information corresponding to the policy is verified according to the ID card verification code algorithm ISO7064:1983.MOD 11-2. If the information of the insured person is the sex, the sex can be checked according to the sex identification code in the identity card number. The verification processing mode may be set according to the actual information of the insured person, which is not described herein in detail.
And S152, uploading the verified user information and a preset form number mapping table to a server.
Specifically, assuming that the data to be uploaded is policy data, the uploading the verified user information and the preset form number mapping table to the server specifically includes: and uploading the verified insured life information and a preset policy number mapping table to a server. After receiving the information of the insured person after the verification processing and the preset policy number mapping table, the server can determine the corresponding relation between the information of the insured person and the policy to be filled according to the preset policy number mapping table, and further realize the fast filling of the information of the insured person into the policy to be filled corresponding to the information of the insured person.
Fig. 7 is a schematic block diagram of a data uploading device 100 according to an embodiment of the present invention. As shown in fig. 7, the present invention further provides a data uploading apparatus 100 corresponding to the above data uploading method. The data uploading device 100 includes a unit for executing the data uploading method, and the device 100 may be configured in a terminal, which may be an electronic terminal such as a mobile phone, a tablet computer, a smart band, and the like. The terminal can perform data interaction with the server. As shown in fig. 7, the apparatus includes a first determining unit 110, a first obtaining unit 120, a first uploading unit 130, a second determining unit 140, and a second uploading unit 150.
The first determining unit 110 is configured to determine the number of users according to data in a preset order database, and determine whether the number of users is greater than a preset number threshold.
The first obtaining unit 120 is configured to obtain user information corresponding to a user and a data type corresponding to the user if the number of the users is greater than a preset number threshold.
In some embodiments, as shown in fig. 8, the first obtaining unit 120 includes a second obtaining unit 121 and a first determining unit 122.
The second obtaining unit 121 is configured to obtain, if the number of the users is greater than a preset number threshold, user information, an enterprise identifier, and an employee level corresponding to the user.
A first determining unit 122, configured to determine a data category corresponding to the user according to the enterprise identifier, the employee level, and a preset data category mapping table.
A first uploading unit 130, configured to generate a data table to be filled according to the data category, generate a form number according to the user information, and upload the data table to be filled and the form number to a server.
In some embodiments, as shown in fig. 9, the first uploading unit 130 includes a first generating unit 131, a second generating unit 132, and a first processing unit 133.
The first generating unit 131 is configured to generate the form to be filled according to the data category and a preset form mapping table to be filled.
The second generating unit 132 is configured to obtain a sequence number corresponding to the user information and generate a form number according to the sequence number.
The first processing unit 133 is configured to upload the form to be filled and the form number to a server.
The second determining unit 140 is configured to determine whether the performance parameter of the current terminal meets a preset uploading condition.
In some embodiments, as shown in fig. 10, the second judging unit 140 includes a calculating unit 141, a third judging unit 142, and a second determining unit 143.
A calculating unit 141, configured to calculate a duration of time during which the performance parameter is smaller than a preset parameter threshold.
A third determining unit 142, configured to determine whether the time length is greater than a preset time threshold.
A second determining unit 143, configured to determine that the current terminal meets a preset uploading condition if the time length is greater than a preset time threshold.
A second uploading unit 150, configured to upload, to a server, user information corresponding to the data and a preset form number mapping table if the performance parameter of the current terminal meets a preset uploading condition, where the preset form number mapping table is used to store a mapping relationship between the user information and the form number.
In some embodiments, as shown in fig. 11, the second uploading unit 150 includes a checking unit 151 and a second processing unit 152.
And the verifying unit 151 is configured to verify the user information corresponding to the data if the performance parameter of the current terminal meets a preset uploading condition.
The second processing unit 152 is configured to upload the verified user information and the preset form number mapping table to the server.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation processes of the data uploading apparatus 100 and each unit may refer to the corresponding descriptions in the foregoing method embodiments, and for convenience and conciseness of description, no further description is provided herein.
The apparatus 100 described above may be implemented in the form of a computer program which may be run on a computer device as shown in fig. 12.
Referring to fig. 12, fig. 12 is a schematic block diagram of a computer device according to an embodiment of the present invention. The computer device 500 may be a terminal, which may be an intelligent terminal such as a mobile phone, a tablet computer, a desktop computer, and the like.
The computer device 500 includes a processor 520, memory, and a network interface 550 coupled by a system bus 510, where the memory may include a non-volatile storage medium 530 and an internal memory 540.
The non-volatile storage medium 530 may store an operating system 531 and computer programs 532. The computer program 532, when executed, may cause the processor 520 to perform a data upload method.
The processor 520 is used to provide computing and control capabilities that support the operation of the overall computer device 500.
The internal memory 540 provides an environment for the execution of computer programs on non-volatile storage media, which when executed by the processor 520, cause the processor 520 to perform a data upload method.
The network interface 550 is used for network communication with other devices. It will be appreciated by those skilled in the art that the schematic block diagram of the computer device is only a partial block diagram of the structure associated with the inventive arrangements and does not constitute a limitation of the computer device 500 to which the inventive arrangements are applied, and that a particular computer device 500 may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
Wherein the processor 520 is configured to run the program code stored in the memory to implement the following functions: determining the number of users according to data in a preset order database, and judging whether the number of the users is larger than a preset number threshold value; if the number of the users is larger than a preset number threshold, acquiring user information corresponding to the users and data types corresponding to the users; generating a data table to be filled according to the data category, generating a form number according to the user information, and uploading the data table to be filled and the form number to a server; judging whether the performance parameters of the current terminal meet preset uploading conditions or not; and if the performance parameters of the current terminal meet preset uploading conditions, uploading user information corresponding to the data and a preset form number mapping table to a server, wherein the preset form number mapping table is used for storing the mapping relation between the user information and the form number.
In an embodiment, when the processor 520 performs the step of acquiring the user information corresponding to the user and the data type corresponding to the user if the number of the users is greater than the preset number threshold, the following steps are specifically performed: if the number of the users is larger than a preset number threshold, acquiring user information, enterprise identifiers and employee levels corresponding to the users; and determining the data type corresponding to the user according to the enterprise identifier, the employee level and a preset data type mapping table.
In an embodiment, when the processor 520 executes the steps of generating the data table to be filled according to the data category, generating the form number according to the user information, and uploading the data table to be filled and the form number to the server, the following steps are specifically executed: generating the form to be filled according to the data category and a preset form mapping table to be filled; acquiring a sequence number corresponding to the user information and generating a form number according to the sequence number; and uploading the form to be filled and the form number to a server.
In an embodiment, when the processor 520 performs the step of determining whether the performance parameter of the current terminal meets the preset upload condition, the following steps are specifically performed: calculating the duration of the performance parameter which is less than a preset parameter threshold value; judging whether the time length is greater than a preset time threshold value or not; and if the time length is greater than a preset time threshold, determining that the current terminal meets a preset uploading condition.
In an embodiment, when the processor 520 performs the step of uploading the policy corresponding to the policy and the preset policy number mapping table to the server if the performance parameter of the current terminal meets the preset uploading condition, the following steps are specifically performed: if the performance parameters of the current terminal meet preset uploading conditions, verifying user information corresponding to the data; and uploading the user information after the verification processing and a preset form number mapping table to a server.
It should be understood that, in the embodiment of the present invention, the Processor 520 may be a Central Processing Unit (CPU), and the Processor 520 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that the schematic block diagram of the computer device 500 does not constitute a limitation of the computer device 500 and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
In a further embodiment of the invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program, when executed by a processor, realizes the steps of: determining the number of users according to data in a preset order database, and judging whether the number of the users is larger than a preset number threshold value; if the number of the users is larger than a preset number threshold, acquiring user information corresponding to the users and data categories corresponding to the users; generating a data table to be filled according to the data category, generating a form number according to the user information, and uploading the data table to be filled and the form number to a server; judging whether the performance parameters of the current terminal meet preset uploading conditions or not; and if the performance parameters of the current terminal meet preset uploading conditions, uploading user information corresponding to the data and a preset form number mapping table to a server, wherein the preset form number mapping table is used for storing the mapping relation between the user information and the form number.
In an embodiment, when the computer program is executed by a processor to implement the step of obtaining the user information corresponding to the user and the data type corresponding to the user if the number of users is greater than the preset number threshold, the following steps are specifically implemented: if the number of the users is larger than a preset number threshold, acquiring user information, enterprise identifiers and employee levels corresponding to the users; and determining the data type corresponding to the user according to the enterprise identifier, the employee level and a preset data type mapping table.
In an embodiment, when the computer program is executed by a processor to implement the steps of generating a data table to be filled according to the data category, generating a form number according to the user information, and uploading the data table to be filled and the form number to a server, the following steps are specifically implemented: acquiring training data used for training a text classification training model, and acquiring data corresponding to the training data to generate a form to be filled according to the data category and a preset form mapping table to be filled; acquiring a sequence number corresponding to the user information and generating a form number according to the sequence number; and uploading the form to be filled and the form number to a server.
In an embodiment, when the computer program is executed by the processor to implement the step of determining whether the performance parameter of the current terminal meets the preset upload condition, the following steps are specifically implemented: calculating the duration of the performance parameter which is less than a preset parameter threshold value; judging whether the time length is greater than a preset time threshold value or not; and if the time length is greater than a preset time threshold, determining that the current terminal meets a preset uploading condition.
In an embodiment, the computer program is executed by the processor to implement the following steps when the step of uploading the policy corresponding to the policy and the preset policy number mapping table to the server if the performance parameter of the current terminal meets the preset uploading condition is executed: if the performance parameters of the current terminal meet preset uploading conditions, verifying user information corresponding to the data; and uploading the user information after the verification processing and a preset form number mapping table to a server.
The computer readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention. It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, more than one unit or component may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for uploading data, the method comprising:
determining the number of users according to data in a preset order database, and judging whether the number of the users is greater than a preset number threshold value;
if the number of the users is larger than a preset number threshold, acquiring user information corresponding to the users and data categories corresponding to the users;
generating a data table to be filled according to the data category, generating a form number according to the user information, and uploading the data table to be filled and the form number to a server;
judging whether the performance parameters of the current terminal meet preset uploading conditions or not;
and if the performance parameters of the current terminal meet preset uploading conditions, uploading user information corresponding to the data and a preset form number mapping table to a server, wherein the preset form number mapping table is used for storing the mapping relation between the user information and the form number.
2. The method of claim 1, wherein if the number of users is greater than a preset number threshold, acquiring user information corresponding to the users and data types corresponding to the users comprises:
if the number of the users is larger than a preset number threshold, acquiring user information, enterprise identifiers and employee levels corresponding to the users;
and determining the data type corresponding to the user according to the enterprise identifier, the employee level and a preset data type mapping table.
3. The method of claim 1, wherein the generating a table of data to be populated from the data categories and a form number from the user information, and uploading the table of data to be populated and the form number to a server, comprises:
generating the form to be filled according to the data category and a preset form mapping table to be filled;
acquiring a sequence number corresponding to the user information and generating a form number according to the sequence number;
and uploading the form to be filled and the form number to a server.
4. The method of claim 1, wherein the determining whether the performance parameter of the current terminal meets a preset uploading condition includes:
calculating the duration of the performance parameter which is less than a preset parameter threshold value;
judging whether the time length is greater than a preset time threshold value or not;
and if the time length is greater than a preset time threshold, determining that the current terminal meets a preset uploading condition.
5. The method of claim 1, wherein uploading the user information corresponding to the data and a preset form number mapping table to a server if the performance parameter of the current terminal meets a preset uploading condition, comprises:
if the performance parameters of the current terminal meet preset uploading conditions, verifying user information corresponding to the data;
and uploading the user information after the verification processing and a preset form number mapping table to a server.
6. An apparatus for uploading data, the apparatus comprising:
the first judgment unit is used for determining the number of users according to data in a preset order database and judging whether the number of the users is greater than a preset number threshold value;
the first obtaining unit is used for obtaining user information corresponding to the user and data types corresponding to the user if the number of the users is larger than a preset number threshold;
the first uploading unit is used for generating a data table to be filled according to the data category, generating a form number according to the user information, and uploading the data table to be filled and the form number to a server;
the second judging unit is used for judging whether the performance parameters of the current terminal meet the preset uploading condition or not;
and the second uploading unit is used for uploading the user information corresponding to the data and a preset form number mapping table to a server if the performance parameters of the current terminal meet preset uploading conditions, wherein the preset form number mapping table is used for storing the mapping relation between the user information and the form number.
7. The apparatus of claim 6, wherein the first obtaining unit comprises:
the second obtaining unit is used for obtaining user information, enterprise identifiers and employee levels corresponding to the users if the number of the users is larger than a preset number threshold;
and the first determining unit is used for determining the data category corresponding to the user according to the enterprise identifier, the employee level and a preset data category mapping table.
8. The apparatus of claim 6, wherein the first upload unit comprises:
the first generation unit is used for generating the form to be filled according to the data category and a preset form mapping table to be filled;
the second generation unit is used for acquiring the arrangement serial number corresponding to the user information and generating a form number according to the arrangement serial number;
and the first processing unit is used for uploading the form to be filled and the form number to a server.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the data uploading method according to any of claims 1 to 5 when executing the program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to perform the data upload method according to any one of claims 1-5.
CN201910456004.3A 2019-05-29 2019-05-29 Data uploading method and device, computer equipment and storage medium Active CN110351330B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910456004.3A CN110351330B (en) 2019-05-29 2019-05-29 Data uploading method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910456004.3A CN110351330B (en) 2019-05-29 2019-05-29 Data uploading method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110351330A CN110351330A (en) 2019-10-18
CN110351330B true CN110351330B (en) 2022-09-06

Family

ID=68174372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910456004.3A Active CN110351330B (en) 2019-05-29 2019-05-29 Data uploading method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110351330B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111626870B (en) * 2020-05-25 2023-07-21 泰康保险集团股份有限公司 Nuclear data processing method, device and equipment for cleaning physical examination piece

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7532368B2 (en) * 2006-10-18 2009-05-12 International Business Machines Corporation Automated processing of paper forms using remotely-stored form content
US20140129914A1 (en) * 2012-11-08 2014-05-08 Rahul Agarwal Method of pre-populating editable electronic forms using trusted relationship based id codes
US10742720B2 (en) * 2016-02-29 2020-08-11 Seagate Technology Llc Cloud storage accelerator
CN106878366B (en) * 2016-06-20 2020-04-07 阿里巴巴集团控股有限公司 File uploading method and device

Also Published As

Publication number Publication date
CN110351330A (en) 2019-10-18

Similar Documents

Publication Publication Date Title
CN110597511B (en) Page automatic generation method, system, terminal equipment and storage medium
CN109543891B (en) Method and apparatus for establishing capacity prediction model, and computer-readable storage medium
CN112165379A (en) User secure login method and device and terminal equipment
CN111352794B (en) Abnormality detection method, abnormality detection device, computer device, and storage medium
CN111124878A (en) Test report generation method and device, computer equipment and storage medium
CN110995539A (en) Business system monitoring method and device and computer equipment
CN112328876A (en) Electronic card generation and pushing method and device based on knowledge graph
CN112054915A (en) Processing method, device and system for client abnormity early warning and computing equipment
CN110351330B (en) Data uploading method and device, computer equipment and storage medium
CN110738508A (en) data analysis method and device
CN110245684B (en) Data processing method, electronic device, and medium
CN111541703B (en) Terminal equipment authentication method and device, computer equipment and storage medium
CN110633304B (en) Combined feature screening method, device, computer equipment and storage medium
CN112751785A (en) Method and device for sending to-be-processed request, computer equipment and storage medium
CN111738356A (en) Object feature generation method, device, equipment and storage medium for specific data
CN110795308A (en) Server inspection method, device, equipment and storage medium
CN113824717B (en) Configuration checking method and device
CN114021642A (en) Data processing method and device, electronic equipment and storage medium
CN114528208A (en) Program error information identification method, device, equipment and medium
CN109597798B (en) Network file deleting method and device, computer equipment and storage medium
CN112669091A (en) Data processing method, device and storage medium
CN110727439A (en) Software installation package construction method and device, computer equipment and storage medium
CN115174495B (en) Resource allocation method based on parallel routing and related equipment
CN114499994B (en) Equipment fingerprint identification method and device, electronic equipment and medium
CN111369346B (en) User credit evaluation method, device, server and storage medium

Legal Events

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