CN111159585A - Method, device, equipment and medium for automatically submitting data - Google Patents
Method, device, equipment and medium for automatically submitting data Download PDFInfo
- Publication number
- CN111159585A CN111159585A CN201811317763.3A CN201811317763A CN111159585A CN 111159585 A CN111159585 A CN 111159585A CN 201811317763 A CN201811317763 A CN 201811317763A CN 111159585 A CN111159585 A CN 111159585A
- Authority
- CN
- China
- Prior art keywords
- data
- submission
- submitted
- automatically
- target application
- 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
Images
Classifications
-
- 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/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method, a device, equipment and a medium for automatically submitting data. The method comprises the following steps: acquiring and storing data to be submitted by a user to a first application system and first cookie information after the user logs in the first application system, and assembling the data to be submitted and the first cookie information into a first hypertext transfer protocol http request; acquiring login information pre-configured for a plurality of target application systems, and automatically logging in the plurality of target application systems respectively according to the pre-configured login information; acquiring a plurality of cookie information after the automatic login of the target application systems is successful, and assembling the data to be submitted and the cookie information into a plurality of second http requests; and automatically submitting the first http request and the plurality of second http requests to the first application system and the plurality of target application systems corresponding to the requests respectively and simultaneously. According to the embodiment of the invention, the data can be automatically submitted to each application system simultaneously, and the workload of manual processing is reduced.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a medium for automatically submitting data.
Background
The current application system mainly uses a browser/server (B/S) architecture, and a user refers to and processes related work on a browser by browsing information on the server through the browser. For general business processing, processing is often required among a plurality of application systems, for example, completing a purchase demand, inputting purchase information in a purchase system, and inputting contract information in a contract system. To complete a product sale, it is necessary to complete the shipment in a Customer Relationship Management (CRM) system and it is also necessary to complete the shipment in an Enterprise Resource Planning (ERP) system. Thus, the user needs to log in to multiple systems repeatedly, and similar data is input on the pages of the multiple systems.
For a service, data needs to be recorded in a plurality of systems, the data is generally recorded in the following two ways:
the first mode is as follows: manual processing, that is, logging in a plurality of systems requiring continuous processing by users respectively, and entering relevant data in the systems respectively. The second mode is as follows: and an interface is established among the systems, when a user finishes data entry in the first system, the first system respectively converts the data through a background, and then calls a data transmission interface provided by other systems to transmit the data to the other systems.
There are a number of problems with both of these approaches, which are briefly described below:
for the first approach, the problem is as follows:
(1) a user firstly needs to log in a plurality of systems and then needs to input similar data in the plurality of systems, so that the efficiency is low; (2) the user inputs data in a plurality of systems, and data inconsistency is possibly caused by misoperation, for example, the amount of the order is input to be 1 ten thousand yuan in an order system, and the input amount of the order is input to be 2 ten thousand yuan in a contract system, so that risks are increased for later-stage data verification and use; (3) because a user needs to enter the product in multiple systems, for example, the user forgets the entry of a certain system, for example, the user enters and sells a product in a sales system, and the user does not enter the product in an ERP system, data difference is caused, and a risk is brought to the operation of an enterprise.
For the second approach, the problem is as follows:
(1) after the user finishes inputting in the first system, the data needs to be transmitted to other systems, and other systems need to receive the data through a development interface, development is carried out by depending on a third-party system, and development workload is increased; (2) the interfaces among the systems are too many, so that the systems are tightly coupled together, the coupling among the systems is increased, and the later-stage system upgrading and maintenance are not facilitated; (3) if the user enters data in a system, the submission is finished. At this time, a timing method is adopted between the general systems, and then the data is transmitted to other systems through the interface, if the data has a problem or the interface has a problem and the data is not successfully written in, the other systems do not have the data, and the user finishes the input, so that the data is inconsistent; (4) in some cases, the third-party system is not self-developed or cannot provide related interfaces, and can only be solved by a manual sequential entry method.
Disclosure of Invention
In order to solve at least one technical problem, embodiments of the present invention provide a method, an apparatus, a device, and a medium for automatically submitting data, which can simultaneously submit input data to each application system, reduce workload of manual processing, ensure data consistency of each application system, and reduce workload of third-party system interface development.
In a first aspect, an embodiment of the present invention provides a method for automatically submitting data, where the method includes:
acquiring and storing data to be submitted to a first application system by a user and first cookie information after the user logs in the first application system, and assembling the data to be submitted and the first cookie information into a first hypertext transfer protocol http request;
acquiring login information pre-configured for a plurality of target application systems, and automatically logging in the plurality of target application systems respectively according to the pre-configured login information;
acquiring a plurality of cookie information after the target application systems successfully log in automatically, and assembling the data to be submitted and the cookie information into a plurality of second http requests;
and automatically submitting the first http request and the plurality of second http requests to the first application system and the plurality of target application systems corresponding to the requests respectively and simultaneously.
According to the method for automatically submitting data provided by the embodiment of the invention, the method further comprises the following steps:
and pre-configuring login information for the plurality of target application systems.
According to the method for automatically submitting data provided by the embodiment of the invention, before the data to be submitted to the first application system by the user is acquired and stored, the method further comprises the following steps:
acquiring a submission request which is sent to the first application system and used for submitting the data;
judging whether the data need to be submitted to the target application systems or not according to the submission request;
and if so, intercepting the submission request, wherein the submission request carries the data.
According to the method for automatically submitting data provided by the embodiment of the invention, the method further comprises the following steps:
obtaining a plurality of first submission results of the first application system and the plurality of target application systems;
and determining a second submission result according to the plurality of first submission results, wherein if the plurality of first submission results are all successful submissions, the second submission result is successful submissions, and if any one of the plurality of first submission results is failed submissions, the second submission result is failed submissions.
According to the method for automatically submitting data provided by the embodiment of the invention, the method further comprises the following steps:
acquiring data address IDs automatically generated by the first application system and a plurality of target application systems;
and when the second submission result is submission failure, deleting all the data which are submitted successfully automatically according to the data ID.
According to the method for automatically submitting data provided by the embodiment of the invention, the method further comprises the following steps:
and configuring data backspacing addresses for the first application system and a plurality of target application systems.
According to the method for automatically submitting data provided by the embodiment of the present invention, when the second submission result is a submission failure, deleting all the data that are successfully automatically submitted according to the data ID includes:
and when the second submission result is submission failure, deleting all the data which are successfully submitted automatically by combining the data ID and the data backspacing address.
According to the method for automatically submitting data provided by the embodiment of the invention, the method further comprises the following steps:
and converting the data to be submitted into target data required by the target application systems according to a pre-configured data format. In a second aspect, an embodiment of the present invention provides an apparatus for automatically submitting data, where the apparatus includes:
the system comprises a data acquisition module, a first hypertext transfer protocol http request module and a second hypertext transfer protocol http request module, wherein the data acquisition module is used for acquiring and storing data to be submitted to a first application system by a user and first cookie information after the user logs in the first application system, and assembling the data to be submitted and the first cookie information into the first hypertext transfer protocol http request;
the automatic login module is used for acquiring a plurality of cookie information after the automatic login of the target application systems is successful, and assembling the data to be submitted and the cookie information into a plurality of second http requests;
the data conversion module is used for acquiring cookie information after the automatic login of the target application systems is successful, and assembling the data and the cookie information into a hypertext transfer protocol http request;
and the automatic submission module is used for respectively and simultaneously submitting the first http request and the plurality of second http requests to the first application system and the plurality of target application systems corresponding to the requests.
The embodiment of the invention provides equipment for automatically submitting data, which comprises: at least one processor, at least one memory, and computer program instructions stored in the memory, which when executed by the processor, implement the method of the first aspect of the embodiments described above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which computer program instructions are stored, which, when executed by a processor, implement the method of the first aspect in the foregoing embodiments.
According to the method, the device, the equipment and the medium for automatically submitting data, provided by the invention, the data to be submitted to a first application system by a user and the first cookie information after the user logs in the first application system are obtained and stored, and the data to be submitted and the first cookie information are assembled into a first hypertext transfer protocol http request; acquiring login information pre-configured for a plurality of target application systems, and automatically logging in the plurality of target application systems respectively according to the pre-configured login information; acquiring a plurality of cookie information after the automatic login of the target application systems is successful, and assembling the data to be submitted and the cookie information into a plurality of second http requests; and automatically submitting the first http request and the plurality of second http requests to the first application system and the plurality of target application systems corresponding to the requests respectively and simultaneously. According to the embodiment of the invention, the data can be automatically submitted to each application system at the same time, so that the workload of manual processing is reduced, the consistency of the data among the application systems is ensured, and the workload of the interface development of a third-party system is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 illustrates a flow diagram of a method of automatically submitting data in accordance with an embodiment of the present invention;
FIG. 2 is a schematic diagram of an apparatus for automatically submitting data according to an embodiment of the present invention;
FIG. 3 illustrates a flow diagram of a method of automatically submitting data in accordance with another embodiment of the present invention;
fig. 4 is a hardware configuration diagram of an apparatus for automatically submitting data according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
A method, an apparatus, a device, and a medium for automatically submitting data according to embodiments of the present invention are described in detail below with reference to the accompanying drawings. It should be noted that these examples are not intended to limit the scope of the present disclosure.
FIG. 1 is a flow chart illustrating a method for automatically submitting data according to an embodiment of the present invention. As shown in fig. 1, the method for automatically submitting data according to the embodiment of the present invention includes the following steps:
s110, acquiring and storing data to be submitted to the first application system by a user and first cookie information after the user logs in the first application system, and assembling the data to be submitted and the first cookie information into a first hypertext transfer protocol http request.
And S120, acquiring login information configured in advance for the target application systems, and automatically logging in the target application systems respectively according to the login information configured in advance.
S130, obtaining a plurality of cookie information after the automatic login of the target application systems is successful, and assembling the data to be submitted and the cookie information into a plurality of second http requests.
And S140, automatically submitting the first http request and the plurality of second http requests to the first application system and the plurality of target application systems corresponding to the requests respectively and simultaneously.
Further, the method for automatically submitting data in the embodiment of the present invention further includes acquiring a submission request for submitting data, which is sent to the first application system; judging whether data need to be submitted to a plurality of target application systems or not according to the submission request; if so, intercepting a submission request, wherein the submission request carries data. The method comprises the steps of intercepting a submission request for submitting data to a first application system, ensuring that the data can be submitted to each application system at the same time, and further ensuring the consistency of the data among the application systems.
In addition, the method for automatically submitting data in the embodiment of the invention can also obtain a plurality of first submission results of the first application system and a plurality of target application systems; and determining a second submission result according to the plurality of first submission results, wherein the plurality of first submission results are successful in submission, the second submission result is successful in submission, any one of the plurality of first submission results is failed in submission, and the second submission result is failed in submission.
And when the second submission result is that the submission fails, deleting the data successfully submitted in each application system according to the data address. In addition, when any one of the first application system and the application system fails to submit, the returned results are all submission failures, and when any one of the first application system and the application system succeeds in submitting, the returned results are all submission successes, that is, synchronous data processing can be achieved, and if the data submission of any one of the application systems fails, all automatically submitted data can be automatically deleted.
By utilizing the embodiment of the invention, the data are automatically submitted to each application system simultaneously in a data conversion and simulation submission mode, so that the manual processing workload is reduced, meanwhile, the consistency of the data among the application systems is ensured through a synchronous data processing technology, and the workload of the development of a third-party system interface is reduced.
In an embodiment of the present invention, as shown in fig. 2, an apparatus for automatically submitting data according to an embodiment of the present invention specifically includes:
the data acquisition module 201 is configured to acquire and store data to be submitted to the first application system by a user and first cookie information after the user logs in the first application system, and assemble the data to be submitted and the first cookie information into a first hypertext transfer protocol http request;
the automatic login module 202 is configured to obtain login information preconfigured for the plurality of target application systems, and automatically login the plurality of target application systems according to the preconfigured login information;
the data conversion module 203 is used for acquiring a plurality of cookie information after the automatic login of the target application systems is successful, and assembling the data to be submitted and the cookie information into a plurality of second http requests;
and the automatic submission module 204 is configured to automatically submit the first http request and the multiple second http requests to the first application system and the multiple target application systems corresponding to the respective requests at the same time.
In an embodiment, the apparatus for automatically submitting data according to the embodiment of the present invention further includes a configuration module 200, which is specifically configured to:
the login information is preconfigured for a plurality of target application systems.
In one embodiment, the data obtaining module 201 is specifically configured to:
acquiring a submission request which is sent to a first application system and used for submitting data;
judging whether data need to be submitted to a plurality of target application systems or not according to the submission request;
if so, intercepting a submission request, wherein the submission request carries data.
In one embodiment, the auto-submit module 204 is specifically configured to:
obtaining a plurality of first submission results of a first application system and a plurality of target application systems;
and determining a second submission result according to the plurality of first submission results, wherein the plurality of first submission results are successful in submission, the second submission result is successful in submission, any one of the plurality of first submission results is failed in submission, and the second submission result is failed in submission.
In an embodiment, the apparatus for automatically submitting data according to the embodiment of the present invention further includes a data consistency processing module 205, which is specifically configured to:
acquiring data address IDs automatically generated by a first application system and a plurality of target application systems;
and when the second submission result is that the submission fails, deleting all the data which are successfully submitted automatically according to the data ID.
In one embodiment, the configuration module 200 is specifically configured to:
and configuring data backspacing addresses for the first application system and the plurality of target application systems.
In one embodiment, the consistency processing module 205 is specifically configured to:
and when the second submission result is that the submission fails, deleting all the data which are successfully submitted automatically by combining the data ID and the data backspace address.
In one embodiment, the data conversion module 203 is specifically configured to:
and converting the data to be submitted into target data required by a plurality of target application systems according to a pre-configured data format.
In one embodiment, the configuration module 200 is specifically configured to: other modules that control the means for managing the automatic submission of data.
In an embodiment of the present invention, an apparatus for automatically submitting data includes: the system comprises a configuration module 200, a data acquisition module 201, an automatic login module 202, a data conversion module 203, an automatic submission module 204 and a data consistency processing module 205. The following are detailed below:
(1) the configuration module 200 is a control management module of the whole apparatus of the present invention, and the configuration module 200 is specifically configured to:
the website of the application system where the user enters the data for the first time is configured, and the data acquisition module 201 intercepts the data submitted by the website.
The configuration data needs to be converted to the data format of the other application system; for example, the amount entered by the user is in a field corresponding to the amount of data of the other application system.
Configure the website address, username, password, etc. of the application that needs to automatically submit the data.
Configure commit addresses that need to automatically commit data.
In the configuration data consistency processing module 205, each application system data rolls back an address. For example, the address of an information listing page such as "contract i draft", "order i draft", etc.
In the configuration data consistency processing module 205, in the information list of the fallback address, which key data can be matched with which data in the list is the matching method that was automatically submitted just now, and which field is the key ID that will be used when deletion is needed, and in general, the key ID is automatically generated by the application system.
(2) The data obtaining module 201 is specifically configured to:
monitoring the website of the data submitted by the user at the terminal.
When the user is found to complete data entry, the HTTP request is intercepted and not admitted to the server when submitting data to the specified website.
The requested data is saved, and the user cookie is saved at the same time, so that the data can be submitted to each application system at the same time, and the consistency of the data is kept.
(3) The data conversion module 203 is specifically configured to:
read configuration for data transformation in configuration module 200.
Convert the data intercepted by the data acquisition module 201 into data structures required by other application systems. Including field conversions, such as an order amount to a contract amount; fields are reduced, for example, 20 fields are totally entered in the order system, and only 15 fields are needed in the contract system; fields are increased, e.g., 20 fields are entered in total in the order system, while the contract system requires 22 fields, where the increased 2 fields are calculated by configuration rule increase, etc.
(4) The automatic login module 202 is specifically configured to:
read parameters such as login address, username, password of the application that needs to automatically submit data in the configuration module 200.
Simulating user login, and acquiring the cookie after the user login for the next data submission.
(5) The auto-submit module 204 is specifically configured to:
for an application system requiring automatic data submission, the data requiring submission is acquired from the data conversion module 203, and cookie information for user login authentication is acquired from the automatic login module 202.
And assembling the data to be automatically submitted and the user cookie according to the http request format of the application system to be automatically submitted, and simulating the data request submitted by the user during manual recording.
Wait for receiving the notification from the data consistency processing module 205, and submit the assembled http request to the server to submit the data.
After the data is submitted, the configuration about data consistency in the configuration module 200 is called, the data ID generated by the application system after the data is submitted is obtained, whether the submitted data is deleted is waited for being notified by the data consistency processing module 205, and if the submitted data is deleted, the data is submitted again according to the submission request.
(6) The data consistency processing module 205 is specifically configured to:
and controlling the intercepted data input by the user for the first time and other application system data converted later to inform the automatic submitting module 204 of simulating the data submission of the user to each application system when the intercepted data and other application system data have submission conditions.
And recording result information returned by the application system after each application system is submitted.
And when all the application systems return successful submission, the information is summarized and returned to the user. When the return result of any application system is that the submission fails, the automatic submission module 204 is notified to delete the data requests that have been successfully submitted by all application systems, delete the data of all application systems, maintain the consistency of the submitted data, and return the information to the user.
And returning information of successful submission or failed submission of the user after the summary.
The device for automatically submitting data provided by the embodiment of the invention can be used as a plug-in or a module and installed in a user client.
By utilizing the embodiment of the invention, the work that similar data needs to be input into a plurality of application systems manually can be converted into the work that the system automatically assists in user identity verification, data automatic conversion and automatic submission, and the workload of manual processing is reduced; the data is automatically submitted in a plurality of application systems, and all data submitted in a synchronous backspacing mode when the data of the plurality of application systems and any one application system are abnormal are synchronously processed, so that the consistency of the data can be ensured; in addition, the workload of the development of the third-party system interface is reduced, and meanwhile, data inconsistency caused by the abnormal third-party system interface is avoided. In another embodiment of the present invention, in combination with fig. 2 and 3, a method for automatically submitting data includes the following steps:
1. a user inputs data in a first application system needing to input data and submits the data;
2. the data acquisition module 201 monitors a data request submitted by a user, and if the data request needs to be automatically submitted in other application systems in the configuration, the data request submitted by the user is intercepted, and the request is prevented from being submitted to the application systems; when the submission condition is met in all the application systems, the data is automatically submitted to all the application systems at the same time.
3. Storing the service data and the user cookie in the request, and converting the service data into data automatically submitted by other application systems;
4. according to the configuration information, converting the business data into a data structure of other application systems for automatically submitting data;
5. notifying the preparation of simulated login;
6. obtaining information such as address, user name, password and the like of the simulated login from the configuration module 200;
7. simulating user login and acquiring a user cookie;
8. notifying the preparation of the simulated submission data;
9. assembling the service data and the cookie into http request data;
10. after the preparation is completed, the data consistency processing module 205 is notified;
11. after discovering that the first application system requiring data entry and other data requests configured to be automatically submitted by the user are all prepared, the data consistency processing module 205 notifies the automatic submission module 204 to submit data to each application system at the same time;
12. the data are respectively and automatically submitted to a first application system needing to input data and other application systems needing to automatically submit data by a user, and return results of all the application systems are obtained;
13. acquiring a data ID of the automatically submitted data in the application system, and preparing for deleting the data;
14. recording the generated data ID of the application system to prepare for deleting the data;
15. returning the automatically submitted data and the return result of the application system to the data consistency processing module 205;
16. if the data submission of any application system fails, the data consistency processing module 205 notifies the automatic submission module 204 to delete all the automatically submitted data; if the data of all the application systems are submitted successfully, the whole data is processed successfully;
17. and returning the result of successful or failed final data submission to the user.
By utilizing the embodiment of the invention, the work that similar data needs to be input into a plurality of application systems manually can be converted into the work that the system automatically assists in user identity verification, data automatic conversion and automatic submission, and the workload of manual processing is reduced; the data is automatically submitted in a plurality of application systems, and all data submitted in a synchronous backspacing mode when the data of the plurality of application systems and any one application system are abnormal are synchronously processed, so that the consistency of the data can be ensured; in addition, the workload of the development of the third-party system interface is reduced, and meanwhile, data inconsistency caused by the abnormal third-party system interface is avoided.
In addition, the method for automatically submitting data according to the embodiment of the present invention described in conjunction with fig. 1 or fig. 3 may be implemented by an apparatus for automatically submitting data. Fig. 4 is a hardware configuration diagram of an apparatus for automatically submitting data according to an embodiment of the present invention.
As shown in fig. 4, computing device 1000 includes input device 1001, input interface 1002, processor 1003, memory 1004, output interface 1005, and output device 1006.
The input interface 1002, the processor 1003, the memory 1004, and the output interface 1005 are connected to each other via a bus 1010, and the input device 1001 and the output device 1006 are connected to the bus 1010 via the input interface 1002 and the output interface 1005, respectively, and further connected to other components of the computing device 1000.
Specifically, the input device 1001 receives input information from the outside and transmits the input information to the processor 1003 via the input interface 1002; the processor 1003 processes the input information based on computer-executable instructions stored in the memory 1004 to generate output information, stores the output information temporarily or permanently in the memory 1004, and then transmits the output information to the output device 1006 through the output interface 1005; output device 1006 outputs the output information external to computing device 1000 for use by a user.
Computing device 1000 may perform the steps in the methods of communicating auto-submit data described herein above.
Processor 1003 may be one or more Central Processing Units (CPUs). When the processor 601 or the processor 701 is one CPU, the CPU may be a single-core CPU or a multi-core CPU.
The memory 1004 may be, but is not limited to, one or more of Random Access Memory (RAM), Read Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), compact disc read only memory (CD-ROM), a hard disk, and the like. The memory 1004 is used to store program codes.
It is understood that, in the embodiment of the present application, the functions of any one or all of the processing modules provided in fig. 2 may be implemented by the central processing unit 1003 shown in fig. 4.
Embodiments of the present invention further provide a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the computer program instructions implement steps in the method for automatically submitting data according to the embodiments of the present invention.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When used in whole or in part, can be implemented in a computer program product that includes one or more computer instructions. When loaded or executed on a computer, cause the flow or functions according to embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL), or wireless (e.g., infrared, wireless, microwave, etc.)). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
All parts of the specification are described in a progressive mode, the same and similar parts of all embodiments can be referred to each other, and each embodiment is mainly introduced to be different from other embodiments. In particular, as to the apparatus and system embodiments, since they are substantially similar to the method embodiments, the description is relatively simple and reference may be made to the description of the method embodiments in relevant places.
Claims (11)
1. A method of automatically submitting data, the method comprising:
acquiring and storing data to be submitted to a first application system by a user and first cookie information after the user logs in the first application system, and assembling the data to be submitted and the first cookie information into a first hypertext transfer protocol http request;
acquiring login information pre-configured for a plurality of target application systems, and automatically logging in the plurality of target application systems respectively according to the pre-configured login information;
acquiring a plurality of cookie information after the target application systems successfully log in automatically, and assembling the data to be submitted and the cookie information into a plurality of second http requests;
and automatically submitting the first http request and the plurality of second http requests to the first application system and the plurality of target application systems corresponding to the requests respectively and simultaneously.
2. The method of claim 1, further comprising:
and pre-configuring login information for the plurality of target application systems.
3. The method of claim 1, wherein prior to obtaining and saving the data that the user intends to submit to the first application system, further comprising:
acquiring a submission request which is sent to the first application system and used for submitting the data;
judging whether the data need to be submitted to the target application systems or not according to the submission request;
and if so, intercepting the submission request, wherein the submission request carries the data.
4. The method of claim 1, further comprising:
obtaining a plurality of first submission results of the first application system and the plurality of target application systems;
and determining a second submission result according to the plurality of first submission results, wherein if the plurality of first submission results are all successful submissions, the second submission result is successful submissions, and if any one of the plurality of first submission results is failed submissions, the second submission result is failed submissions.
5. The method of claim 4, further comprising:
acquiring data address IDs automatically generated by the first application system and a plurality of target application systems;
and when the second submission result is submission failure, deleting all the data which are submitted successfully automatically according to the data ID.
6. The method of claim 5, further comprising:
and configuring data backspacing addresses for the first application system and a plurality of target application systems.
7. The method of claim 6, wherein deleting all auto-commit-successful data according to the data ID when the second commit result is a commit failure comprises:
and when the second submission result is submission failure, deleting all the data which are successfully submitted automatically by combining the data ID and the data backspacing address.
8. The method of claim 1, further comprising:
and converting the data to be submitted into target data required by the target application systems according to a pre-configured data format.
9. An apparatus for automatically submitting data, the apparatus comprising:
the system comprises a data acquisition module, a first hypertext transfer protocol http request module and a second hypertext transfer protocol http request module, wherein the data acquisition module is used for acquiring and storing data to be submitted to a first application system by a user and first cookie information after the user logs in the first application system, and assembling the data to be submitted and the first cookie information into the first hypertext transfer protocol http request;
the automatic login module is used for acquiring login information which is pre-configured for a plurality of target application systems and automatically logging in the plurality of target application systems respectively according to the pre-configured login information;
the data conversion module is used for acquiring a plurality of cookie information after the automatic login of the target application systems is successful, and assembling the data to be submitted and the cookie information into a plurality of second http requests;
and the automatic submission module is used for respectively and simultaneously submitting the first http request and the plurality of second http requests to the first application system and the plurality of target application systems corresponding to the requests.
10. An apparatus for automatically submitting data, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory that, when executed by the processor, implement the method of any of claims 1-8.
11. A computer-readable storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811317763.3A CN111159585B (en) | 2018-11-07 | 2018-11-07 | Method, device, equipment and medium for automatically submitting data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811317763.3A CN111159585B (en) | 2018-11-07 | 2018-11-07 | Method, device, equipment and medium for automatically submitting data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111159585A true CN111159585A (en) | 2020-05-15 |
CN111159585B CN111159585B (en) | 2023-09-22 |
Family
ID=70554373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811317763.3A Active CN111159585B (en) | 2018-11-07 | 2018-11-07 | Method, device, equipment and medium for automatically submitting data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111159585B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113141366A (en) * | 2021-04-23 | 2021-07-20 | 中国邮政储蓄银行股份有限公司 | Message reporting method and device, storage medium and electronic equipment |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020133508A1 (en) * | 1999-07-03 | 2002-09-19 | Starfish Software, Inc. | System and methods for synchronizing datasets using cooperation among multiple synchronization engines |
US20030105887A1 (en) * | 2001-12-03 | 2003-06-05 | Cox Burke David | Method and system for integration of software applications |
US20050010824A1 (en) * | 2003-07-11 | 2005-01-13 | Sheue Yuan | System and method for synchronizing login processes |
US20050203892A1 (en) * | 2004-03-02 | 2005-09-15 | Jonathan Wesley | Dynamically integrating disparate systems and providing secure data sharing |
US20100125549A1 (en) * | 2008-11-17 | 2010-05-20 | Microsoft Corporation | Maintaining client data integrity in a distributed environment using asynchronous data submission |
CN102023847A (en) * | 2009-09-10 | 2011-04-20 | 北京盖特佳信息安全技术股份有限公司 | Method for realizing push-mode multisystem synchronous data entry based on IE browser based |
US8150805B1 (en) * | 2006-06-30 | 2012-04-03 | Symantec Operating Corporation | Consistency interval marker assisted in-band commands in distributed systems |
CN103685421A (en) * | 2012-09-21 | 2014-03-26 | 百度在线网络技术(北京)有限公司 | Cross-data-source data submission system, device and method |
CN103929477A (en) * | 2014-03-31 | 2014-07-16 | 国网山东省电力公司 | Intersystem non-coupling integration simulation method and system based on Http |
CN104158848A (en) * | 2014-07-17 | 2014-11-19 | 国网山东省电力公司 | No-coupling backlog integration method and system |
WO2016049626A1 (en) * | 2014-09-26 | 2016-03-31 | Oracle International Corporation | Efficient and intuitive databinding for mobile applications |
CN105827658A (en) * | 2016-05-30 | 2016-08-03 | 无锡天脉聚源传媒科技有限公司 | Method and device for multi-application synchronization login |
CN106131062A (en) * | 2016-08-23 | 2016-11-16 | 努比亚技术有限公司 | Login service device and synchronizing web pages login method |
US20170048319A1 (en) * | 2015-08-11 | 2017-02-16 | Oracle International Corporation | Asynchronous pre-caching of synchronously loaded resources |
US20170048252A1 (en) * | 2015-08-14 | 2017-02-16 | Oracle International Corporation | Discovery of federated logins |
CN106598992A (en) * | 2015-10-15 | 2017-04-26 | 中兴通讯股份有限公司 | Database operating method and device |
CN107306290A (en) * | 2016-04-22 | 2017-10-31 | 中国移动通信集团重庆有限公司 | A kind of session session sharing methods and application server |
CN108667809A (en) * | 2018-04-13 | 2018-10-16 | 三维通信股份有限公司 | A kind of implementation method of multisystem DAS WEB interfaces account information management by synchronization |
-
2018
- 2018-11-07 CN CN201811317763.3A patent/CN111159585B/en active Active
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020133508A1 (en) * | 1999-07-03 | 2002-09-19 | Starfish Software, Inc. | System and methods for synchronizing datasets using cooperation among multiple synchronization engines |
US20030105887A1 (en) * | 2001-12-03 | 2003-06-05 | Cox Burke David | Method and system for integration of software applications |
US20050010824A1 (en) * | 2003-07-11 | 2005-01-13 | Sheue Yuan | System and method for synchronizing login processes |
US20050203892A1 (en) * | 2004-03-02 | 2005-09-15 | Jonathan Wesley | Dynamically integrating disparate systems and providing secure data sharing |
US8150805B1 (en) * | 2006-06-30 | 2012-04-03 | Symantec Operating Corporation | Consistency interval marker assisted in-band commands in distributed systems |
US20100125549A1 (en) * | 2008-11-17 | 2010-05-20 | Microsoft Corporation | Maintaining client data integrity in a distributed environment using asynchronous data submission |
CN102023847A (en) * | 2009-09-10 | 2011-04-20 | 北京盖特佳信息安全技术股份有限公司 | Method for realizing push-mode multisystem synchronous data entry based on IE browser based |
CN103685421A (en) * | 2012-09-21 | 2014-03-26 | 百度在线网络技术(北京)有限公司 | Cross-data-source data submission system, device and method |
CN103929477A (en) * | 2014-03-31 | 2014-07-16 | 国网山东省电力公司 | Intersystem non-coupling integration simulation method and system based on Http |
CN104158848A (en) * | 2014-07-17 | 2014-11-19 | 国网山东省电力公司 | No-coupling backlog integration method and system |
WO2016049626A1 (en) * | 2014-09-26 | 2016-03-31 | Oracle International Corporation | Efficient and intuitive databinding for mobile applications |
US20170048319A1 (en) * | 2015-08-11 | 2017-02-16 | Oracle International Corporation | Asynchronous pre-caching of synchronously loaded resources |
US20170048252A1 (en) * | 2015-08-14 | 2017-02-16 | Oracle International Corporation | Discovery of federated logins |
CN106598992A (en) * | 2015-10-15 | 2017-04-26 | 中兴通讯股份有限公司 | Database operating method and device |
CN107306290A (en) * | 2016-04-22 | 2017-10-31 | 中国移动通信集团重庆有限公司 | A kind of session session sharing methods and application server |
CN105827658A (en) * | 2016-05-30 | 2016-08-03 | 无锡天脉聚源传媒科技有限公司 | Method and device for multi-application synchronization login |
CN106131062A (en) * | 2016-08-23 | 2016-11-16 | 努比亚技术有限公司 | Login service device and synchronizing web pages login method |
CN108667809A (en) * | 2018-04-13 | 2018-10-16 | 三维通信股份有限公司 | A kind of implementation method of multisystem DAS WEB interfaces account information management by synchronization |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113141366A (en) * | 2021-04-23 | 2021-07-20 | 中国邮政储蓄银行股份有限公司 | Message reporting method and device, storage medium and electronic equipment |
CN113141366B (en) * | 2021-04-23 | 2023-03-14 | 中国邮政储蓄银行股份有限公司 | Message submitting method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111159585B (en) | 2023-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11526342B2 (en) | Cancel and rollback update stack requests | |
US11706218B2 (en) | Systems and methods for controlling sign-on to web applications | |
JP6130518B2 (en) | Instance host configuration | |
CN104899274B (en) | A kind of memory database Efficient Remote access method | |
US20080244047A1 (en) | Method for implementing management software, hardware with pre-configured software and implementing method thereof | |
CN103038788A (en) | Provisioning multiple network resources | |
CN109460841B (en) | User account opening method, system and storage medium | |
CN111127181B (en) | Voucher accounting method and device | |
US10491589B2 (en) | Information processing apparatus and device coordination authentication method | |
JP6549681B2 (en) | Reference data segmentation from single table to multiple tables | |
WO2021217928A1 (en) | Blockchain network-based resource request transaction verification method and apparatus, electronic device and computer readable storage medium | |
CN110895603A (en) | Multi-system account information integration method and device | |
CN111400777A (en) | Network storage system, user authentication method, device and equipment | |
CN111818145A (en) | File transmission method, device, system, equipment and storage medium | |
US11487510B2 (en) | Dynamic web-based integrated development environment | |
CN111159585B (en) | Method, device, equipment and medium for automatically submitting data | |
US20210157949A1 (en) | Event data tagged with consent records | |
US11729161B1 (en) | Pre-built, pre-tested, and standardized connectors for end-to-end connection | |
US20210021416A1 (en) | Systems and methods for using automated browsing to recover secured key from a single data entry | |
CN112583890B (en) | Message pushing method and device based on enterprise office system and computer equipment | |
US10728323B2 (en) | Method and apparatus for operating infrastructure layer in cloud computing architecture | |
CN110048902B (en) | Method and system for backing up test configuration document | |
CN113285915A (en) | Registration management method and device and private cloud control server | |
US20240078164A1 (en) | Techniques for managing software agent health | |
CN116170234B (en) | Single sign-on method and system based on virtual account authentication |
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 |