CN110351330A - Data uploading method, device, computer equipment and storage medium - Google Patents
Data uploading method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110351330A CN110351330A CN201910456004.3A CN201910456004A CN110351330A CN 110351330 A CN110351330 A CN 110351330A CN 201910456004 A CN201910456004 A CN 201910456004A CN 110351330 A CN110351330 A CN 110351330A
- Authority
- CN
- China
- Prior art keywords
- data
- preset
- user information
- filled
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Development Economics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a kind of data uploading method, device, computer equipment and storage mediums.This method is applied to field of data transmission comprising determines number of users according to the data in default order database, judges whether the number of users is greater than preset amount threshold;If the number of users is greater than preset amount threshold, the corresponding user information of user and the corresponding data category of user are obtained;Tables of data to be filled is generated according to the data category and form NO. is generated according to the user information, and the tables of data to be filled and the form NO. are uploaded to server;Judge whether the performance parameter of present terminal meets preset upload condition;If the performance parameter of present terminal meets preset upload condition, the corresponding user information of the data and preset form NO. mapping table are uploaded to server.Implement the embodiment of the present invention, the processing speed of data upload can be improved, prevent system load excessively high.
Description
Technical field
The present invention relates to field of computer data processing more particularly to a kind of data uploading method, device, computer equipments
And computer readable storage medium.
Background technique
With the continuous development of Internet technology, more and more enterprises using internet order uploaded data to server,
To realize storage and processing to order data.In the prior art, order data is uploaded to server is usually in order
Order data is directly uploaded to server after generating by data.But often there is peak condition in the quantity of order data, i.e.,
In a certain period of time it is possible that large batch of order data.If the data of the batch are directly directly uploaded to service
Device be easy to cause and occurs that processing speed is slow and system load is excessively high, even system exception etc. is existing in data upload process
As.
Summary of the invention
The embodiment of the invention provides a kind of data uploading method, device, computer equipment and storage mediums, it is intended to solve
Occurs the problems such as processing speed is slow and system load is excessively high in data upload process.
In a first aspect, the embodiment of the invention provides a kind of data uploading methods comprising: according to default order database
In data determine number of users, judge whether the number of users is greater than preset amount threshold;If the number of users is big
In preset amount threshold, the corresponding user information of user and the corresponding data category of user are obtained;According to the data class
Tables of data to be filled is not generated and form NO. is generated according to the user information, and by the tables of data to be filled and described
Form NO. is uploaded to server;Judge whether the performance parameter of present terminal meets preset upload condition;If present terminal
Performance parameter meets preset upload condition, and the corresponding user information of the data and preset form NO. mapping table are uploaded
To server, the preset form NO. mapping table is used to store the mapping relations of the user information Yu the form NO..
Second aspect, the embodiment of the invention provides a kind of data uploading devices comprising:
First judging unit judges the user for determining number of users according to the data preset in order database
Whether quantity is greater than preset amount threshold;
First acquisition unit obtains the corresponding user of user if being greater than preset amount threshold for the number of users
Information and the corresponding data category of user;
First uploading unit, for generating tables of data to be filled according to the data category and according to the user information
Form NO. is generated, and the tables of data to be filled and the form NO. are uploaded to server;
Second judgment unit, for judging whether the performance parameter of present terminal meets preset upload condition;
Second uploading unit, if the performance parameter for present terminal meets preset upload condition, by the data pair
The user information and preset form NO. mapping table answered are uploaded to server, and the preset form NO. mapping table is for storing
The mapping relations of the user information and the form NO..
The third aspect, the embodiment of the present invention provide a kind of computer equipment again comprising memory, processor and storage
On the memory and the computer program that can run on the processor, wherein the processor executes described program
The above-mentioned data uploading method of Shi Shixian.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, wherein the computer can
It reads storage medium and is stored with computer program, it is above-mentioned that the computer program when being executed by a processor executes the processor
Data uploading method.
The embodiment of the present invention provides a kind of data uploading method, device, computer equipment and computer readable storage medium.
This method includes determining number of users according to the data preset in order database, and it is default to judge whether the number of users is greater than
Amount threshold;If the number of users is greater than preset amount threshold, the corresponding user information of user and user couple are obtained
The data category answered;Tables of data to be filled is generated according to the data category and form NO. is generated according to the user information,
And the tables of data to be filled and the form NO. are uploaded to server;Judge whether the performance parameter of present terminal meets
Preset upload condition;If the performance parameter of present terminal meets preset upload condition, the corresponding user of the data is believed
Breath and preset form NO. mapping table are uploaded to server.Implement the embodiment of the present invention, first judges root before data upload
Number of users is determined according to the data in default order database, judges whether the number of users is greater than preset amount threshold,
To determine whether current data volume to be uploaded is excessive;If the number of users is greater than preset amount threshold, will be generated
Form NO. be first uploaded to server, meet preset upload condition in the performance parameter of present terminal and then by the number
It is uploaded to server according to corresponding user information and preset form NO. mapping table, the processing speed of data upload can be improved,
Prevent system load excessively high.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram for data uploading method that one embodiment of the invention provides;
Fig. 2 is a kind of application scenarios schematic diagram for data uploading method that one embodiment of the invention provides;
Fig. 3 is a kind of another flow diagram for data uploading method that one embodiment of the invention provides;
Fig. 4 is a kind of another flow diagram for data uploading method that one embodiment of the invention provides;
Fig. 5 is a kind of another flow diagram for data uploading method that one embodiment of the invention provides;
Fig. 6 is a kind of another flow diagram for data uploading method that one embodiment of the invention provides;
Fig. 7 is a kind of schematic block diagram for data uploading device that one embodiment of the invention provides;
Fig. 8 is a kind of another schematic block diagram for data uploading device that one embodiment of the invention provides;
Fig. 9 is a kind of another schematic block diagram for data uploading device that one embodiment of the invention provides;
Figure 10 is a kind of another schematic block diagram for data uploading device that one embodiment of the invention provides;
Figure 11 is a kind of another schematic block diagram for data uploading device that one embodiment of the invention provides;
Figure 12 is a kind of schematic block diagram for computer equipment that one embodiment of the invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but one or more other spies are not precluded
Sign, entirety, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
Fig. 1 and Fig. 2 is please referred to, for a kind of flow diagram for data uploading method that one embodiment of the invention provides
And application scenarios schematic diagram.Data uploading method provided by the embodiment of the present invention can be applied in terminal, the terminal 10
It can be the intelligent terminal that desktop computer, mobile phone, tablet computer etc. have network communicating function.The terminal 10 can be with server
20 carry out data interaction.Wherein, the server 20 can be independent server, be also possible to the clothes of multiple server compositions
Business device cluster.The server can be enterprise for storing and handling the server of order data, wherein order data can be with
For air ticket order data, canteen subscription data, declaration form data etc., the embodiment of the present invention is not made the data type uploaded
It limits out.Assuming that the data are declaration form data, when insurance business carries out uploading declaration form data using terminal 10 to declaration form data
Usually it can lead to occur in data upload process that processing speed is slow and system load because declaration form data bulk is huge
It is high, even system exception phenomena such as, by implement data uploading method provided by the embodiment of the present invention can effectively solve it is above-mentioned
Problem.As shown in Figure 1, the data uploading method includes step S110-S150.
S110 determines number of users according to the data in default order database, judges whether the number of users is greater than
Preset amount threshold.
In specific implementation, it is assumed that data to be uploaded are declaration form data, then corresponding user is specially warrantee, number of users
Specially warrantee's quantity.Warrantee's quantity can be obtained by reading the declaration form to be uploaded in local default order database.
The declaration form to be uploaded may include insurer's information, the time of policy purchase, insurance kind of insuring, warrantee's information etc., wherein warrantee's information
It may include the name of warrantee, gender, age etc..Each declaration form to be uploaded corresponds to unique warrantee's information, that is, passes through
Obtain quantity you can get it warrantee's quantity of declaration form to be uploaded.After obtaining warrantee's quantity, warrantee's quantity need to be carried out
Judgement, to determine if to be greater than preset amount threshold, in specific implementation, preset amount threshold can according to actual needs into
Row setting, which is, for example, 1000,10000 etc..
S120 obtains the corresponding user information of user and user if the number of users is greater than preset amount threshold
Corresponding data category.
Wherein, if the number of users is greater than preset amount threshold, show that current data amount is excessive, directly to the data
Upload and be easy to cause system overload, therefore obtains the corresponding user information of user and the corresponding data category of user, in case
Subsequent step calls.
Specifically, it is assumed that data to be uploaded are declaration form data, then corresponding user is specially warrantee, and number of users is specific
For warrantee's quantity, data category is specially declaration form classification.If warrantee's quantity is greater than preset amount threshold, show warrantee
Quantity is excessive, if routinely (such as directly batch uploads whole part declaration form comprising warrantee's information and other information to processing mode
Information), it may result in and phenomena such as abnormal system processing, load too high occur.To prevent load too high, handling exception
Problem, the present embodiment reduce uploaded data information amount by only obtaining the important information of declaration form to be uploaded.Specifically, from
Warrantee's information is obtained in every portion declaration form to be uploaded in the declaration form database, and then determines the corresponding declaration form class of warrantee
Not, to generate declaration form to be filled according to the declaration form classification and generate number of policy according to warrantee's information.Wherein, it is protected
People's information includes but is not limited to the name of warrantee, gender, ID card No., telephone number etc..
In some embodiments, as shown in figure 3, the step S120 includes but is not limited to step S121-S122.
S121, if number of users is greater than preset amount threshold, obtain the corresponding user information of user, enterprise identifier with
And employee's grade.
Specifically, enterprise identifier can be enterprise name, enterprise's number etc., and employee's grade is to distinguish in enterprises
The identifier of employee's administrative grade.The corresponding enterprise identifier of different users and employee grade may identical or not phases
Together.In declaration form data, the corresponding enterprise identifier of different warrantees and employee's grade may be identical or not identical.Example
Such as, the corresponding enterprise identifier of warrantee's first is " 8185 ", and corresponding employee's grade is " T17 ";The corresponding enterprise of warrantee's second
Identifier is " 8185 ", and corresponding employee's grade is M8.
S122 determines that user is corresponding according to the enterprise identifier, employee's grade and preset data category mapping table
Data category.
Specifically, preset data category mapping table is specifically as follows preset declaration form mapping table, which reflects
Firing table is used to store the mapping relations of the enterprise identifier, employee's grade and declaration form classification, and the quantity of the mapping relations can be with
For one or more.Determine that warrantee is corresponding by the enterprise identifier, employee's grade and preset declaration form mapping table
Declaration form classification.For example, it is assumed that the corresponding enterprise identifier of warrantee's first is " 8185 ", corresponding employee's grade is " T17 ", in advance
If declaration form mapping table in mapping relations include: enterprise identifier " 8185 " and employee's grade " T17 " is mapped in the first declaration form
Classification.Wherein, the first declaration form classification is specifically as follows declaration form type for personal accident insurance, and the declaration form amount of money is 200,000 etc..
S130 generates tables of data to be filled according to the data category and generates form NO. according to the user information,
And the tables of data to be filled and the form NO. are uploaded to server.
Specifically, it is assumed that data to be uploaded are declaration form data, then corresponding user is specially warrantee, and number of users is specific
For warrantee's quantity, data category is specially declaration form classification, and the tables of data to be filled is specially declaration form to be filled, the list
Number be number of policy.
In some embodiments, as shown in figure 4, the step S130 includes but is not limited to step S131-S133.
S131 generates the list to be filled according to the data category and preset list mapping table to be filled.
Specifically, different data categories corresponds to the list to be filled of existence anduniquess.Assuming that data to be uploaded are declaration form number
According to different declaration form classifications corresponds to the declaration form to be filled of existence anduniquess, and preset declaration form mapping table to be filled is for storing declaration form
The mapping relations of classification and declaration form to be filled.It can determine only according to the declaration form classification and preset declaration form mapping table to be filled
One declaration form to be filled.
Wherein, declaration form to be filled includes one or more frame to be filled, and frame to be filled is for filling warrantee's information, quilt
Guarantor's information includes but is not limited to the corresponding name of warrantee, gender, ID card No., telephone number.
S132 obtains the corresponding arrangement serial number of the user information and according to the arrangement serial number gencration form NO..
Specifically, user information corresponds to the arrangement serial number of existence anduniquess.Assuming that data to be uploaded are declaration form data, warrantee
Information corresponds to the arrangement serial number of existence anduniquess, according to the acquired corresponding arrangement serial number gencration number of policy of warrantee's information, with
Establish unique mapping relations between warrantee's information and number of policy, wherein warrantee's information and the mapping relations of number of policy are deposited
It is stored in preset number of policy mapping table, quick calling when filling warrantee's information to declaration form to be filled for subsequent server,
To improve treatment effeciency.
The list to be filled and the form NO. are uploaded to server by S133.
Specifically, it is assumed that data to be uploaded be declaration form data, it is described will be in the list to be filled and the form NO.
Reach server specifically: the list to be filled and the form NO. are uploaded to server.By in present terminal
After performance parameter meets preset upload condition, by the corresponding warrantee's information of the declaration form and preset number of policy mapping table
It is uploaded to server, the processing speed that declaration form uploads is improved to realize, prevents system load excessively high.
S140, judges whether the performance parameter of present terminal meets preset upload condition.
Specifically, preset upload condition can be set according to physical condition, for example, the preset upload condition can be with
It is less than preset parameter threshold duration length for present terminal performance parameter and is greater than preset time threshold, and example
Such as, can determine it is pre- whether the performance parameter of present terminal meets by judging whether current time is preset uplink time
If upload condition, such as according to the use habit of terminal user, the free time of terminal is set as preset uplink time.
The embodiment of the present invention does not define the preset upload condition.
In some embodiments, as shown in figure 5, the step S140 includes but is not limited to step S141-S143.
S141 calculates the performance parameter less than preset parameter threshold duration length.
Specifically, the corresponding performance parameter of present terminal can be broadband occupancy, processor occupancy, memory usage
Etc. one or more in parameters, specific performance parameter can be set according to actual needs.
In specific implementation, by judging whether the performance parameter is less than preset parameter threshold, to calculate the performance
Parameter is less than preset parameter threshold duration length.Wherein, preset parameter threshold can carry out according to actual needs
Setting.Assuming that the corresponding performance parameter of present terminal is processor occupancy, preset parameter threshold can be 50%, if currently
The corresponding processor occupancy of terminal is less than 50%, it is determined that the performance parameter is less than preset parameter threshold.
S142, judges whether the time span is greater than preset time threshold.
Specifically, preset time threshold can be set according to demand, which is, for example, 3 hours,
The even described time span is greater than 3 hours, it is determined that the time span is greater than preset time threshold.
S143 determines that the present terminal meets preset upload if the time span is greater than preset time threshold
Condition.
Specifically, if the time span be greater than preset time threshold, show present terminal for a long time be in performance compared with
Good state can carry out large batch of data processing, and then determine that the performance parameter of the present terminal meets preset upload
Condition.
S150, if the performance parameter of present terminal meets preset upload condition, by the corresponding user information of the data
And preset form NO. mapping table is uploaded to server, the preset form NO. mapping table is for storing the user information
With the mapping relations of the form NO..
Specifically, it is assumed that data to be uploaded are declaration form data, then corresponding user is specially warrantee, and number of users is specific
For warrantee's quantity, data category is specially declaration form classification, and the tables of data to be filled is specially declaration form to be filled, the list
Number be number of policy, the preset form NO. mapping table is specially preset number of policy mapping table, and the preset number of policy reflects
Firing table is used to store the mapping relations of warrantee's information and the number of policy.
In some embodiments, as shown in fig. 6, the step S150 includes but is not limited to step S151-S152.
S151, if the performance parameter of present terminal meets preset upload condition, user information corresponding to the data
Carry out checking treatment.
Specifically, if the performance parameter of present terminal meets preset upload condition, the corresponding user of the data is believed
Breath carries out checking treatment, to prevent from reducing the corrupt data rate being uploaded in server, to improve the accuracy of declaration form data.
In specific implementation, it is assumed that data to be uploaded are declaration form data, described to carry out to the corresponding user information of the data
Checking treatment specifically: checking treatment is carried out to the corresponding warrantee's information of the declaration form.Warrantee's information includes but is not limited to
The corresponding name of warrantee, gender, ID card No., telephone number.If warrantee's information is ID card No., to the declaration form
Corresponding warrantee's information, which carries out checking treatment, to carry out school according to identity card check code algorithm ISO7064:1983.MOD 11-2
It tests.If warrantee's information is gender, gender can be verified according to the gender identification code in ID card No..Checking treatment
Mode can be set according to actual warrantee's information, will not repeat them here.
Verification treated user information and preset form NO. mapping table are uploaded to server by S152.
Specifically, it is assumed that data to be uploaded are declaration form data, it is described will verification treated user information and preset
Form NO. mapping table is uploaded to server specifically: will verification treated warrantee's information and preset number of policy mapping table
It is uploaded to server.Warrantee information and preset number of policy mapping table of the server after receiving the checking treatment
Afterwards, it can determine the corresponding relationship of warrantee's information Yu declaration form to be filled according to preset number of policy mapping table, and then realize quick
Warrantee's information is filled to corresponding declaration form to be filled.
Fig. 7 is a kind of schematic block diagram of data uploading device 100 provided in an embodiment of the present invention.As shown in fig. 7, corresponding
In above data method for uploading, the present invention also provides a kind of data uploading devices 100.The data uploading device 100 includes being used for
The unit of above-mentioned data uploading method is executed, which can be configured in terminal, and stating terminal can be mobile phone, plate
The electric terminals such as computer, Intelligent bracelet.The terminal can carry out data interaction with server.As shown in fig. 7, described device includes
First judging unit 110, first acquisition unit 120, the first uploading unit 130, leaflet in second judgment unit 140 and second
Member 150.
First judging unit 110 judges the use for determining number of users according to the data preset in order database
Whether amount amount is greater than preset amount threshold.
First acquisition unit 120 obtains the corresponding use of user if being greater than preset amount threshold for the number of users
Family information and the corresponding data category of user.
In some embodiments, as shown in figure 8, the first acquisition unit 120 includes second acquisition unit 121 and the
One determination unit 122.
Second acquisition unit 121 obtains the corresponding user's letter of user if being greater than preset amount threshold for number of users
Breath, enterprise identifier and employee's grade.
First determination unit 122, for being mapped according to the enterprise identifier, employee's grade and preset data category
Table determines the corresponding data category of user.
First uploading unit 130, for generating tables of data to be filled according to the data category and according to the user
Information generates form NO., and the tables of data to be filled and the form NO. are uploaded to server.
In some embodiments, as shown in figure 9, first uploading unit 130 includes the first generation unit 131, second
Generation unit 132 and first processing units 133.
First generation unit 131, for generating institute according to the data category and preset list mapping table to be filled
State list to be filled.
Second generation unit 132, for obtaining the corresponding arrangement serial number of the user information and according to the arrangement serial number
Generate form NO..
First processing units 133, for the list to be filled and the form NO. to be uploaded to server.
Second judgment unit 140, for judging whether the performance parameter of present terminal meets preset upload condition.
In some embodiments, as shown in Figure 10, the second judgment unit 140 includes computing unit 141, third judgement
Unit 142 and the second determination unit 143.
Computing unit 141, for calculating the performance parameter less than preset parameter threshold duration length.
Third judging unit 142, for judging whether the time span is greater than preset time threshold.
Second determination unit 143 determines the present terminal if being greater than preset time threshold for the time span
Meet preset upload condition.
Second uploading unit 150, if the performance parameter for present terminal meets preset upload condition, by the data
Corresponding user information and preset form NO. mapping table are uploaded to server, and the preset form NO. mapping table is for depositing
Store up the mapping relations of the user information Yu the form NO..
In some embodiments, as shown in figure 11, second uploading unit 150 includes verification unit 151 and second
Processing unit 152.
Verification unit 151, it is corresponding to the data if the performance parameter for present terminal meets preset upload condition
User information carry out checking treatment.
The second processing unit 152, for will verify that treated user information and the upload of preset form NO. mapping table
To server.
It should be noted that it is apparent to those skilled in the art that, above-mentioned 100 He of data uploading device
The specific implementation process of each unit can refer to the corresponding description in preceding method embodiment, for convenience of description and succinctly,
Details are not described herein.
Above-mentioned apparatus 100 can be implemented as a kind of form of computer program, and computer program can be as shown in figure 12
Computer equipment on run.
Figure 12 is please referred to, Figure 12 is a kind of schematic block diagram of computer equipment provided in an embodiment of the present invention.The calculating
Machine equipment 500 can be terminal, and the terminal can be the intelligent terminals such as mobile phone, tablet computer, desktop computer.
The computer equipment 500 includes processor 520, memory and the network interface connected by system bus 510
550, wherein memory may include non-volatile memory medium 530 and built-in storage 540.
The non-volatile memory medium 530 can storage program area 531 and computer program 532.The computer program 532
It is performed, processor 520 may make to execute a kind of data uploading method.
The processor 520 supports the operation of entire computer equipment 500 for providing calculating and control ability.
The built-in storage 540 provides environment for the operation of the computer program in non-volatile memory medium, the computer
When program is executed by processor 520, processor 520 may make to execute a kind of data uploading method.
The network interface 550 is used to carry out network communication with other equipment.It will be understood by those skilled in the art that the calculating
The schematic block diagram of machine equipment is only the block diagram of part-structure relevant to the present invention program, is not constituted to the present invention program
The restriction for the computer equipment 500 being applied thereon, specific computer equipment 500 may include than as shown in the figure more or
Less component perhaps combines certain components or with different component layouts.
Wherein, the processor 520 is for running program code stored in memory, to implement function such as: root
Number of users is determined according to the data in default order database, judges whether the number of users is greater than preset amount threshold;
If the number of users is greater than preset amount threshold, the corresponding user information of user and the corresponding data class of user are obtained
Not;Generate tables of data to be filled according to the data category and form NO. generated according to the user information, and will it is described to
Filling-in-data-forms and the form NO. are uploaded to server;Judge whether the performance parameter of present terminal meets preset upload
Condition;If the performance parameter of present terminal meets preset upload condition, by the corresponding user information of the data and preset
Form NO. mapping table be uploaded to server, the preset form NO. mapping table is for storing the user information and the table
The mapping relations of odd numbers.
In one embodiment, it if processor 520 is executing the number of users greater than preset amount threshold, obtains
When the corresponding user information of user and the step of the corresponding data category of user, following steps are specifically executed: if number of users
Greater than preset amount threshold, the corresponding user information of user, enterprise identifier and employee's grade are obtained;According to the enterprise
Identifier, employee's grade and preset data category mapping table determine the corresponding data category of user.
In one embodiment, processor 520 execute it is described according to the data category generate tables of data to be filled and
Form NO. is generated according to the user information, and the tables of data to be filled and the form NO. are uploaded to the step of server
When rapid, following steps are specifically executed: being generated according to the data category and preset list mapping table to be filled described wait fill out
Fill list;Obtain the corresponding arrangement serial number of the user information and according to the arrangement serial number gencration form NO.;By described wait fill out
It fills list and the form NO. is uploaded to server.
In one embodiment, whether processor 520 meets preset in the execution performance parameter for judging present terminal
When the step of upload condition, following steps are specifically executed: it is lasting less than preset parameter threshold to calculate the performance parameter
Time span;Judge whether the time span is greater than preset time threshold;If the time span is greater than the preset time
Threshold value determines that the present terminal meets preset upload condition.
In one embodiment, if processor 520 meets preset upload item in the performance parameter for executing the present terminal
Part, when the corresponding warrantee's information of the declaration form and preset number of policy mapping table are uploaded to the step of server, specifically
Execute following steps: if the performance parameter of present terminal meets preset upload condition, user information corresponding to the data
Carry out checking treatment;Verification treated user information and preset form NO. mapping table are uploaded to server.
It should be appreciated that in embodiments of the present invention, processor 520 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor can be microprocessor or
Person's processor is also possible to any conventional processor etc..
It will be understood by those skilled in the art that the schematic block diagram of the computer equipment 500 is not constituted and is set to computer
Standby 500 restriction may include perhaps combining certain components or different component cloth than illustrating more or fewer components
It sets.
A kind of computer readable storage medium is provided in another embodiment of the invention, the computer readable storage medium
It is stored with computer program, realizes following steps when wherein computer program is executed by processor: according to default order database
In data determine number of users, judge whether the number of users is greater than preset amount threshold;If the number of users is big
In preset amount threshold, the corresponding user information of user and the corresponding data category of user are obtained;According to the data class
Tables of data to be filled is not generated and form NO. is generated according to the user information, and by the tables of data to be filled and described
Form NO. is uploaded to server;Judge whether the performance parameter of present terminal meets preset upload condition;If present terminal
Performance parameter meets preset upload condition, and the corresponding user information of the data and preset form NO. mapping table are uploaded
To server, the preset form NO. mapping table is used to store the mapping relations of the user information Yu the form NO..
In one embodiment, if the computer program is executed by processor to realize that it is pre- that the number of users is greater than
If amount threshold, when obtaining the step of the corresponding user information of user and the corresponding data category of user, specific implementation is such as
Lower step: if number of users is greater than preset amount threshold, the corresponding user information of user, enterprise identifier and employee are obtained
Grade;The corresponding data class of user is determined according to the enterprise identifier, employee's grade and preset data category mapping table
Not.
In one embodiment, the computer program is executed by processor described according to data category generation to realize
Tables of data to be filled and form NO. is generated according to the user information, and by the tables of data to be filled and the form NO.
When being uploaded to the step of server, it is implemented as follows step: obtaining the training data for being used for training text classification based training model,
And it obtains the training data corresponding number and institute is generated according to the data category and preset list mapping table to be filled
State list to be filled;Obtain the corresponding arrangement serial number of the user information and according to the arrangement serial number gencration form NO.;By institute
It states list to be filled and the form NO. is uploaded to server.
In one embodiment, the computer program is executed by processor the performance ginseng to realize the judgement present terminal
When whether number meets the step of preset upload condition, it is implemented as follows step: calculating the performance parameter less than preset
Parameter threshold duration length;Judge whether the time span is greater than preset time threshold;If the time is long
Degree is greater than preset time threshold, determines that the present terminal meets preset upload condition.
In one embodiment, expired if the computer program is executed by processor with the performance parameter of the real present terminal
The preset upload condition of foot, is uploaded to server for the corresponding warrantee's information of the declaration form and preset number of policy mapping table
Step when, be implemented as follows step: if the performance parameter of present terminal meets preset upload condition, to the data pair
The user information answered carries out checking treatment;Verification treated user information and preset form NO. mapping table are uploaded to clothes
Business device.
The computer readable storage medium can be USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), the various media that can store program code such as magnetic or disk.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond the scope of this invention.It is apparent to those skilled in the art that for convenience of description and simple
Clean, the device of foregoing description and the specific work process of unit can refer to corresponding processes in the foregoing method embodiment, herein
It repeats no more.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary.For example, the division of each unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation.Such as more than one unit or assembly can
To combine or be desirably integrated into another system, or some features can be ignored or not executed.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.This hair
Unit in bright embodiment device can be combined, divided and deleted according to actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product,
It can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a storage medium, including some instructions are with so that a computer is set
Standby (can be personal computer, terminal or the network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection scope subject to.
Claims (10)
1. a kind of data uploading method, which is characterized in that the described method includes:
Number of users is determined according to the data in default order database, judges whether the number of users is greater than preset quantity
Threshold value;
If the number of users is greater than preset amount threshold, the corresponding user information of user and the corresponding data of user are obtained
Classification;
Generate tables of data to be filled according to the data category and form NO. generated according to the user information, and will it is described to
Filling-in-data-forms and the form NO. are uploaded to server;
Judge whether the performance parameter of present terminal meets preset upload condition;
If the performance parameter of present terminal meets preset upload condition, by the corresponding user information of the data and preset
Form NO. mapping table is uploaded to server, and the preset form NO. mapping table is for storing the user information and the list
Number mapping relations.
2. the method as described in claim 1, which is characterized in that if the number of users is greater than preset amount threshold,
Obtain the corresponding user information of user and the corresponding data category of user, comprising:
If number of users is greater than preset amount threshold, the corresponding user information of user, enterprise identifier and employee etc. are obtained
Grade;
The corresponding data class of user is determined according to the enterprise identifier, employee's grade and preset data category mapping table
Not.
3. the method as described in claim 1, which is characterized in that it is described according to the data category generate tables of data to be filled with
And form NO. is generated according to the user information, and the tables of data to be filled and the form NO. are uploaded to server,
Include:
The list to be filled is generated according to the data category and preset list mapping table to be filled;
Obtain the corresponding arrangement serial number of the user information and according to the arrangement serial number gencration form NO.;
The list to be filled and the form NO. are uploaded to server.
4. the method as described in claim 1, which is characterized in that it is default whether the performance parameter for judging present terminal meets
Upload condition, comprising:
The performance parameter is calculated less than preset parameter threshold duration length;
Judge whether the time span is greater than preset time threshold;
If the time span is greater than preset time threshold, determine that the present terminal meets preset upload condition.
5. the method as described in claim 1, which is characterized in that if the performance parameter of the present terminal meets preset upload
The corresponding user information of the data and preset form NO. mapping table are uploaded to server by condition, comprising:
If the performance parameter of present terminal meets preset upload condition, the corresponding user information of the data is carried out at verification
Reason;
Verification treated user information and preset form NO. mapping table are uploaded to server.
6. a kind of data uploading device, which is characterized in that described device includes:
First judging unit judges the number of users for determining number of users according to the data preset in order database
Whether preset amount threshold is greater than;
First acquisition unit obtains the corresponding user information of user if being greater than preset amount threshold for the number of users
And the corresponding data category of user;
First uploading unit, for generating tables of data to be filled according to the data category and being generated according to the user information
Form NO., and the tables of data to be filled and the form NO. are uploaded to server;
Second judgment unit, for judging whether the performance parameter of present terminal meets preset upload condition;
Second uploading unit, it is if the performance parameter for present terminal meets preset upload condition, the data are corresponding
User information and preset form NO. mapping table are uploaded to server, and the preset form NO. mapping table is described for storing
The mapping relations of user information and the form NO..
7. device as claimed in claim 6, which is characterized in that the first acquisition unit includes:
Second acquisition unit obtains the corresponding user information of user, enterprise if being greater than preset amount threshold for number of users
Identifier and employee's grade;
First determination unit, for being determined according to the enterprise identifier, employee's grade and preset data category mapping table
The corresponding data category of user.
8. device as claimed in claim 6, which is characterized in that first uploading unit includes:
First generation unit, it is described to be filled for being generated according to the data category and preset list mapping table to be filled
List;
Second generation unit, for obtaining the corresponding arrangement serial number of the user information and according to the arrangement serial number gencration list
Number;
First processing units, for the list to be filled and the form NO. to be uploaded to server.
9. a kind of computer equipment, including memory, processor and it is stored on the memory and can be on the processor
The computer program of operation, which is characterized in that the processor is realized when executing described program as any in claim 1 to 5
The data uploading method of item.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey
Sequence, the computer program make the processor execute number as described in any one in claim 1-5 when being executed by a processor
According to method for uploading.
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 true CN110351330A (en) | 2019-10-18 |
CN110351330B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111626870A (en) * | 2020-05-25 | 2020-09-04 | 泰康保险集团股份有限公司 | Method, device and equipment for processing data of underwriting of cleaning physical examination piece |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080144106A1 (en) * | 2006-10-18 | 2008-06-19 | Shay Ben-David | 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 |
CN106878366A (en) * | 2016-06-20 | 2017-06-20 | 阿里巴巴集团控股有限公司 | A kind of file uploading method and device |
US20170251050A1 (en) * | 2016-02-29 | 2017-08-31 | Seagate Technology Llc | Cloud storage accelerator |
-
2019
- 2019-05-29 CN CN201910456004.3A patent/CN110351330B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080144106A1 (en) * | 2006-10-18 | 2008-06-19 | Shay Ben-David | 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 |
US20170251050A1 (en) * | 2016-02-29 | 2017-08-31 | Seagate Technology Llc | Cloud storage accelerator |
CN106878366A (en) * | 2016-06-20 | 2017-06-20 | 阿里巴巴集团控股有限公司 | A kind of file uploading method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111626870A (en) * | 2020-05-25 | 2020-09-04 | 泰康保险集团股份有限公司 | Method, device and equipment for processing data of underwriting of cleaning physical examination piece |
Also Published As
Publication number | Publication date |
---|---|
CN110351330B (en) | 2022-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104993946B (en) | Appraisal procedure, the device and system of gray scale publication | |
CN109308350A (en) | Format Auto Filling Forms method, apparatus, computer equipment and storage medium | |
CN108874760A (en) | Report file generation method, device, computer equipment and storage medium | |
CN110597511B (en) | Page automatic generation method, system, terminal equipment and storage medium | |
CN109743295A (en) | Access thresholds method of adjustment, device, computer equipment and storage medium | |
CN109078333A (en) | A kind of method and device matching game good friend | |
CN107146160B (en) | Health condition analysis method for insurance client and server | |
CN108572918A (en) | Performance test methods, device, computer equipment and storage medium | |
CN109597798A (en) | Network file delet method, device, computer equipment and storage medium | |
CN110097170A (en) | Information pushes object prediction model acquisition methods, terminal and storage medium | |
CN108492188A (en) | Lead referral method, apparatus, equipment and storage medium | |
CN110163559A (en) | Automatic Claims Resolution method, apparatus, computer equipment and storage medium | |
CN113489671A (en) | Cross-alliance-link communication method and device, computer equipment and storage medium | |
CN109785043A (en) | Price monitoring method, apparatus, computer equipment and storage medium | |
CN110223030A (en) | Remind strategy matching method, apparatus, computer equipment and storage medium | |
CN110061935A (en) | Traffic sources proportioning regulation method, device, computer equipment and storage medium | |
CN110188121A (en) | Business datum monitoring method, device, computer equipment and storage medium | |
CN111124878A (en) | Test report generation method and device, computer equipment and storage medium | |
CN109543940A (en) | Active evaluation method, apparatus, electronic equipment and storage medium | |
CN110738508A (en) | data analysis method and device | |
CN109191104A (en) | A kind of information processing method and its equipment | |
CN110351330A (en) | Data uploading method, device, computer equipment and storage medium | |
CN110400195A (en) | Order data processing method, device, computer equipment and storage medium | |
CN109842518A (en) | Content distributing network disaster recovery method, device, computer equipment and storage medium | |
CN114003510A (en) | Script testing method, device, equipment and medium based on Mock service |
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 |