CN110020390A - Data are submitted to method, system, terminal and the medium of third party website automatically - Google Patents
Data are submitted to method, system, terminal and the medium of third party website automatically Download PDFInfo
- Publication number
- CN110020390A CN110020390A CN201910289933.XA CN201910289933A CN110020390A CN 110020390 A CN110020390 A CN 110020390A CN 201910289933 A CN201910289933 A CN 201910289933A CN 110020390 A CN110020390 A CN 110020390A
- Authority
- CN
- China
- Prior art keywords
- data
- party website
- submitted
- automatically
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of method that data are submitted to third party website automatically, method includes: the hardware certificate information for obtaining third party website and issuing;Simulation logs in third party website;The data for obtaining third party website submit interface;Signing messages is parsed from the hardware certificate information, and third party website login interface is called with the signing messages, obtains the key message logined successfully;It is obtained from database data to be committed;According to the data of third party website submit call format carry out data recombination, by after recombination data and key message by call third party website data submit interface upload.This method can fast and automatically, submit the data to third party website in batches, submit that the accuracy of data is high, it is high-efficient to submit, reduces labor workload, greatly save cost of labor.
Description
Technical field
The present invention relates to technical field of data processing, and in particular to a kind of data are submitted to the side of third party website automatically
Method, system, terminal and medium.
Background technique
Nowadays, many data need to be submitted to another website, for example, a large amount of branding data needs to be submitted to quotient
Mark office, these data are intricate, if artificial submit, need manually to log in third party website and fill in dependency number item by item
According to when data volume is huge, being easy to appear mistake, and manually submit inefficient, labor workload is big.
Summary of the invention
For the defects in the prior art, a kind of data provided in an embodiment of the present invention are submitted to third party website automatically
Method, system, terminal and medium solve the problems, such as manually to submit corrupt data rate high and low efficiency.
In a first aspect, the embodiment of the present invention also provides a kind of method that data are submitted to third party website automatically, comprising:
Obtain the hardware certificate information that third party website issues;
Simulation logs in third party website;
The data for obtaining third party website submit interface;
Signing messages is parsed from the hardware certificate information, and calls third party website to log in the signing messages
Interface obtains the key message logined successfully;
It is obtained from database data to be committed;
According to the submission call format of third party website carry out data recombination, by after recombination data and key message pass through
Call the data of third party website that interface is submitted to upload.
Further, data recombination is carried out according to the submission call format of third party website described, by the number after recombination
After the data submission interface uploading step for passing through calling third party website with key message further include: what return was submitted automatically
As a result.
Further, key message includes cookie information and token information.
Further, include: according to the specific method that the submission call format of third party website carries out data recombination
Obtain the parameter of the submission data of third party website;
According to the corresponding meaning of each parameter of the Parameter analysis;
Corresponding assembling is carried out according to the meaning by data to be committed.
Second aspect, the embodiment of the present invention also provide a kind of system that data are submitted to third party website automatically, including
One acquiring unit, simulation log in unit, second acquisition unit, resolution unit, third acquiring unit and data recomposition unit,
In,
The first acquisition unit is for obtaining the hardware certificate information that third party website issues;
The simulation logs in unit and logs in third party website for simulating;
The data that the second acquisition unit is used to obtain third party website submit interface;
The resolution unit is used to parse signing messages from the hardware certificate information, and with the signing messages tune
With third party website login interface, the key message logined successfully is obtained;
The third acquiring unit is data to be committed for obtaining from database;
The data recombination unit is used to submit call format to carry out data recombination according to the data of third party website, will weigh
Data and key message after group are by calling the data of third party website that interface is submitted to upload.
Further, system further includes result feedback unit, and the result feedback unit is for feeding back the knot submitted automatically
Fruit.
Further, key message includes cookie information and token information.
Further, the specific works method of data recombination unit includes:
Obtain the parameter of the submission data of third party website;
According to the corresponding meaning of each parameter of the Parameter analysis;
Corresponding assembling is carried out according to the meaning by data to be committed.
The third aspect, a kind of intelligent terminal provided in an embodiment of the present invention, including processor, input equipment, output equipment
And memory, the processor, input equipment, output equipment and memory are connected with each other, the memory is calculated for storing
Machine program, the computer program include program instruction, and the processor is configured for that described program is called to instruct, in execution
The step of stating the method for embodiment description.
Fourth aspect, a kind of computer readable storage medium provided in an embodiment of the present invention, the computer storage medium
It is stored with computer program, the computer program includes program instruction, and described program instruction makes institute when being executed by a processor
State the step of processor executes the method for above-described embodiment description.
Beneficial effects of the present invention:
A kind of data provided in an embodiment of the present invention are submitted to method, system, terminal and the medium of third party website automatically,
Can fast and automatically, submit the data to third party website in batches, submit that the accuracy of data is high, it is high-efficient to submit, reduces people
Work workload, greatlys save cost of labor.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art are briefly described.In all the appended drawings, similar element
Or part is generally identified by similar appended drawing reference.In attached drawing, each element or part might not be drawn according to actual ratio.
Fig. 1 shows the method stream that a kind of data provided by first embodiment of the invention are submitted to third party website automatically
Cheng Tu;
Fig. 2 shows a kind of data provided by second embodiment of the invention to be submitted to the system of third party website automatically
Structural schematic diagram;
Fig. 3 shows a kind of structural schematic diagram of intelligent terminal provided by third embodiment of the invention.
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 of the other feature, whole is not precluded
Body, 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.
It will be further appreciated that term "and/or" used in description of the invention and the appended claims refers to
Any combination and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
It should be noted that unless otherwise indicated, technical term or scientific term used in this application should be this hair
The ordinary meaning that bright one of ordinary skill in the art are understood.
As shown in Figure 1, a kind of data for showing first embodiment of the invention offer are submitted to third party website automatically
Method the described method comprises the following steps:
S1: the hardware certificate information that third party website issues is obtained.
S2: simulation logs in third party website.
S3: the data for obtaining third party website submit interface.
S4: signing messages is parsed from the hardware certificate information, and third party website is called with the signing messages
Login interface obtains the key message logined successfully.
Specifically, key message includes cookie information and token information etc..
S5: it is obtained from database data to be committed.
S6: call format is submitted to carry out data recombination according to the data of third party website, by the data and key after recombination
Information is by calling the data of third party website that interface is submitted to upload.
Specifically, include: according to the specific method that the submission call format of third party website carries out data recombination
Obtain the parameter of the submission data of third party website;
According to the corresponding meaning of each parameter of the Parameter analysis;
Corresponding assembling is carried out according to the meaning by data to be committed.
S7: the result submitted automatically is returned.
It uses below and mass data is submitted to trade mark board web is described in detail for scene.
The hardware certificate information that trade mark board web issues is obtained, simulation logs in trade mark board web, obtains trade mark board web
Data submit interface, call the signing messages in activeX control parsing hardware certificate information, and call trade mark with signing messages
The login interface of board web obtains the key message logined successfully, including cookie information and token information etc..From database
Middle taking-up is data to be committed, submits call format to recombinate data according to the data of trademark office.To the tool of data recombination
Body method are as follows: obtain the parameter of the submission data of trademark office;According to the corresponding meaning of each parameter of Parameter analysis;It will be to be committed
Data assemble one by one according to the corresponding meaning correspondence of parameter, by the data lattice data to be committed for being assembled into trademark office's submission
Formula.The data such as the data, cookie information and the token information that are assembled these using http request are written in request body, and
It is sent to trademark office with the format of formdata, by the information of return by extracting result after html analysis and returning to submission knot
Fruit.Data to be committed are realized by the above process is submitted to trademark office automatically.
The method that a kind of data of the present embodiment are submitted to third party website automatically, can fast and automatically, in batches by data
Be submitted to third party website, submit that the accuracy of data is high, it is high-efficient to submit, reduces labor workload, greatly save manually at
This.
In above-mentioned first embodiment, a kind of method that data are submitted to third party website automatically is provided, therewith phase
Corresponding, the application also provides a kind of system that data are submitted to third party website automatically.Referring to FIG. 2, it is the present invention the
A kind of data that two embodiments provide are submitted to the structural schematic diagram of the system of third party website automatically.Due to system embodiment base
Originally it is similar to embodiment of the method, so describing fairly simple, the relevent part can refer to the partial explaination of embodiments of method.Under
The system embodiment for stating description is only schematical.
As shown in Fig. 2, showing the embodiment of the present invention also provides a kind of system that data are submitted to third party website automatically
Structural schematic diagram, which includes that first acquisition unit, simulation log in unit, second acquisition unit, resolution unit, third obtain
Take unit, data recombination unit and result feedback unit, wherein
The first acquisition unit is for obtaining the hardware certificate information that third party website issues.
The simulation logs in unit and logs in third party website for simulating.
The second acquisition unit is used to obtain the submission interface of third party website.
The resolution unit is used to parse signing messages from the hardware certificate information, and with the signing messages tune
With third party website login interface, the key message logined successfully is obtained.Key message includes cookie information and token letter
Breath.
The third acquiring unit is data to be committed for obtaining from database;
The data recombination unit is used to carry out data recombination according to the submission call format of third party website, after recombination
Data and key message by call third party website submission interface upload.
Specifically, the specific works method of data recombination unit includes:
Obtain the parameter of the submission data of third party website;
According to the corresponding meaning of each parameter of the Parameter analysis;
Corresponding assembling is carried out according to the meaning by data to be committed.
Result feedback unit, result feedback unit is for feeding back the result submitted automatically.
The system that a kind of data of the present embodiment are submitted to third party website automatically, can fast and automatically, in batches by data
Be submitted to third party website, submit that the accuracy of data is high, it is high-efficient to submit, reduces labor workload, greatly save manually at
This.
The present invention also provides a kind of embodiments of intelligent terminal, as shown in figure 3, showing intelligence provided in this embodiment
The structural block diagram of terminal, the terminal include processor, input equipment, output equipment and memory, and the processor, input are set
Standby, output equipment and memory are connected with each other, and for the memory for storing computer program, the computer program includes journey
Sequence instruction, the processor are configured for the step of calling described program instruction, executing the method for above-described embodiment description.
It should be appreciated that in embodiments of the present invention, alleged processor 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..General processor can be microprocessor or this at
Reason device is also possible to any conventional processor etc..
Input equipment may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information of user and the side of fingerprint
To information), microphone etc., output equipment may include display (LCD etc.), loudspeaker etc..
The memory may include read-only memory and random access memory, and provide instruction and data to processor.
The a part of of memory can also include nonvolatile RAM.For example, memory can be with storage device type
Information.
In the specific implementation, the executable present invention of processor described in the embodiment of the present invention, input equipment, output equipment
System embodiment described in the embodiment of the present invention also can be performed in implementation described in the embodiment of the method that embodiment provides
Implementation, details are not described herein.
The present invention also provides a kind of embodiment of computer readable storage medium, the computer storage medium is stored with
Computer program, the computer program include program instruction, and described program instruction makes the processing when being executed by a processor
Device executes the step of method of above-described embodiment description.
The computer readable storage medium can be the internal storage unit of terminal described in previous embodiment, such as eventually
The hard disk or memory at end.The computer readable storage medium is also possible to the External memory equipment of the terminal, such as described
The plug-in type hard disk being equipped in terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer readable storage medium can also be wrapped both
The internal storage unit for including the terminal also includes External memory equipment.The computer readable storage medium is described for storing
Other programs and data needed for computer program and the terminal.The computer readable storage medium can be also used for temporarily
When store the data that has exported or will export.
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 succinctly, the end of foregoing description
The specific work process at end and unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed terminal and method, it can be by other
Mode realize.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
For a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine
Or it is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, is also possible to electricity, mechanical or other form connections.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme should all cover within the scope of the claims and the description of the invention.
Claims (10)
1. a kind of method that data are submitted to third party website automatically characterized by comprising
Obtain the hardware certificate information that third party website issues;
Simulation logs in third party website;
The data for obtaining third party website submit interface;
Signing messages is parsed from the hardware certificate information, and calls third party website login to connect with the signing messages
Mouthful, obtain the key message logined successfully;
It is obtained from database data to be committed;
According to the data of third party website submit call format carry out data recombination, by after recombination data and key message pass through
Call the data of third party website that interface is submitted to upload.
2. the method that data as described in claim 1 are submitted to third party website automatically, which is characterized in that described according to
The data of tripartite website submit call format to carry out data recombination, by after recombination data and key message by calling third party
The data of website are submitted after interface uploading step further include: return to the result submitted automatically.
3. the method that data as described in claim 1 are submitted to third party website automatically, which is characterized in that the key message
Including cookie information and token information.
4. the method that data as described in claim 1 are submitted to third party website automatically, which is characterized in that described according to third
The specific method that the data of square website submit call format to carry out data recombination includes:
Obtain the parameter of the submission data of third party website;
According to the corresponding meaning of each parameter of the Parameter analysis;
Corresponding assembling is carried out according to the meaning by data to be committed.
5. the system that a kind of data are submitted to third party website automatically, which is characterized in that logged in including first acquisition unit, simulation
Unit, second acquisition unit, resolution unit, third acquiring unit and data recomposition unit, wherein
The first acquisition unit is for obtaining the hardware certificate information that third party website issues;
The simulation logs in unit and logs in third party website for simulating;
The data that the second acquisition unit is used to obtain third party website submit interface;
The resolution unit calls for parsing signing messages from the hardware certificate information, and with the signing messages
Tripartite's website log interface, obtains the key message logined successfully;
The third acquiring unit is data to be committed for obtaining from database;
The data recombination unit is used to submit call format to carry out data recombination according to the data of third party website, after recombination
Data and key message by call third party website submission interface upload.
6. the system that data as claimed in claim 5 are submitted to third party website automatically, which is characterized in that the system is also wrapped
Result feedback unit is included, the result feedback unit is for feeding back the result submitted automatically.
7. the system that data as claimed in claim 5 are submitted to third party website automatically, which is characterized in that the key message
Including cookie information and token information.
8. the system that data as claimed in claim 5 are submitted to third party website automatically, which is characterized in that the data recombination
The specific works method of unit includes:
Obtain the parameter of the submission data of third party website;
According to the corresponding meaning of each parameter of the Parameter analysis;
Corresponding assembling is carried out according to the meaning by data to be committed.
9. a kind of intelligent terminal, including processor, input equipment, output equipment and memory, the processor, input equipment,
Output equipment and memory are connected with each other, and the memory is for storing computer program, which is characterized in that the computer journey
Sequence includes program instruction, and the processor is configured for calling described program instruction, is executed such as any one of claim 1-4 institute
The step of method stated.
10. a kind of computer readable storage medium, the computer storage medium is stored with computer program, which is characterized in that
The computer program includes program instruction, and described program instruction makes the processor execute such as right when being executed by a processor
It is required that the step of 1-4 described in any item methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910289933.XA CN110020390A (en) | 2019-04-11 | 2019-04-11 | Data are submitted to method, system, terminal and the medium of third party website automatically |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910289933.XA CN110020390A (en) | 2019-04-11 | 2019-04-11 | Data are submitted to method, system, terminal and the medium of third party website automatically |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110020390A true CN110020390A (en) | 2019-07-16 |
Family
ID=67191004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910289933.XA Pending CN110020390A (en) | 2019-04-11 | 2019-04-11 | Data are submitted to method, system, terminal and the medium of third party website automatically |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110020390A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106204259A (en) * | 2016-07-25 | 2016-12-07 | 贝才禾兑网络科技南京有限公司 | Automatic tax declaration method based on browser |
CN108416023A (en) * | 2018-03-08 | 2018-08-17 | 云南电网有限责任公司电力科学研究院 | A kind of method of analog subscriber operation write-back system data |
CN109377341A (en) * | 2018-11-26 | 2019-02-22 | 厦门商集网络科技有限责任公司 | A kind of intelligence is declared dutiable goods method and apparatus |
CN109559210A (en) * | 2018-10-26 | 2019-04-02 | 成都光谷云财务咨询有限公司 | Based on big data and the book keeping operation of the artificial intelligence of cloud computing and method of declaring dutiable goods automatically |
-
2019
- 2019-04-11 CN CN201910289933.XA patent/CN110020390A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106204259A (en) * | 2016-07-25 | 2016-12-07 | 贝才禾兑网络科技南京有限公司 | Automatic tax declaration method based on browser |
CN108416023A (en) * | 2018-03-08 | 2018-08-17 | 云南电网有限责任公司电力科学研究院 | A kind of method of analog subscriber operation write-back system data |
CN109559210A (en) * | 2018-10-26 | 2019-04-02 | 成都光谷云财务咨询有限公司 | Based on big data and the book keeping operation of the artificial intelligence of cloud computing and method of declaring dutiable goods automatically |
CN109377341A (en) * | 2018-11-26 | 2019-02-22 | 厦门商集网络科技有限责任公司 | A kind of intelligence is declared dutiable goods method and apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109828903A (en) | Automated testing method, device, computer installation and storage medium | |
CN110365703A (en) | Internet-of-things terminal abnormal state detection method, apparatus and terminal device | |
CN109614313A (en) | Automated testing method, device and computer readable storage medium | |
CN110018962A (en) | Service adjustment method and system based on distributed service framework and registration center | |
CN112286806B (en) | Automatic test method and device, storage medium and electronic equipment | |
CN107861713A (en) | Data calling method, device and computer-readable recording medium | |
CN108737218B (en) | Automatic verification method and device for message push arrival rate | |
CN111104421A (en) | Data query method and device based on data interface standard configuration | |
CN104166568B (en) | A kind of method of the picture file of electrical power system loaded in parallel based on CIM/G | |
CN109634841A (en) | Electronic device, automatic interface testing method and storage medium | |
CN109857524B (en) | Stream computing method, device, equipment and computer readable storage medium | |
CN109284198A (en) | A kind of method and apparatus verifying data | |
CN109783752A (en) | Page loading method and device, electronic equipment and computer readable storage medium | |
CN108965274A (en) | The analysis method and device of DBC file | |
CN112256557B (en) | Program regression testing method, device, system, computer equipment and storage medium | |
CN110020390A (en) | Data are submitted to method, system, terminal and the medium of third party website automatically | |
CN111104122B (en) | Method for mapping xml service logic to java service logic | |
CN117389700A (en) | Method, device, system and storage medium for processing data of integrated stream and batch | |
CN109960866B (en) | Signal processing method, verification method and electronic equipment | |
CN109814916A (en) | A kind of configuration method, device, storage medium and the server of IVR process | |
CN109491896B (en) | WeChat applet form verification method of education system and electronic equipment | |
CN111190797A (en) | Linux-based hardware event processing method and system | |
CN107291455B (en) | Method and system for realizing transfer service based on factory mode | |
CN110781647A (en) | Method for realizing data format verification based on Flink | |
CN116820417B (en) | Software function control method and device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190716 |