CN108170688B - Method and device for automatically inputting data - Google Patents

Method and device for automatically inputting data Download PDF

Info

Publication number
CN108170688B
CN108170688B CN201611113846.1A CN201611113846A CN108170688B CN 108170688 B CN108170688 B CN 108170688B CN 201611113846 A CN201611113846 A CN 201611113846A CN 108170688 B CN108170688 B CN 108170688B
Authority
CN
China
Prior art keywords
data
browser
chrome plug
utilizing
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611113846.1A
Other languages
Chinese (zh)
Other versions
CN108170688A (en
Inventor
孟飞阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qizhi Business Consulting Co ltd
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201611113846.1A priority Critical patent/CN108170688B/en
Publication of CN108170688A publication Critical patent/CN108170688A/en
Application granted granted Critical
Publication of CN108170688B publication Critical patent/CN108170688B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Abstract

The invention provides a method and a device for automatically inputting data. The method comprises the following steps: the method comprises the steps of calling a chrome plug-in installed in the browser, and displaying a window corresponding to the chrome plug-in on a current page of the browser, wherein an execution button for indicating the chrome plug-in to acquire data is displayed on the window; when the triggering operation of the execution button is received, acquiring first data input by a user through a designated client by utilizing the chrome plug-in, wherein the terminal where the designated client is located is different from the terminal where the browser is located; initiating a data query request taking the first data as a keyword to a preset database by utilizing the chrome plug-in; and receiving second data corresponding to the first data returned by the preset database, and inputting the second data to the current page of the browser. The technical scheme realizes the effect of automatically inputting the data to the browser and the cross-domain access of the browser page.

Description

Method and device for automatically inputting data
Technical Field
The invention relates to the technical field of Internet and communication, in particular to a method and a device for automatically inputting data.
Background
At present, real data synchronization cannot be achieved among a plurality of terminals, which is specifically expressed as follows: when a user inputs information on one terminal, if the user wants to perform operations such as inquiring, searching, inputting and the like on the information through other terminals, the user needs to re-input the information on the other terminals again. For example, in a scenario such as a bank business hall, a communication business hall, etc. where a user and a worker are required to transact business interactively, the user needs to provide personal information, such as a card number, an identification card number, a login account number, etc. to the worker in the business hall through manual input, and then the worker manually inputs the personal information provided by the user to a terminal page for transacting business, so as to query information related to the user from a business system and transact related business. Therefore, the personal information manually input by the user cannot be synchronized to the terminal page of the business handling of the staff, so that the staff has to manually input the personal information of the user again, which not only easily causes the error of information input, but also consumes time.
Disclosure of Invention
The present invention has been made in view of the above problems, and it is an object of the present invention to provide a method and apparatus for automated data entry that overcomes or at least partially solves the above problems.
According to one aspect of the present invention, there is provided a method of automating entry of data for a browser having a chrome plug-in installed, the method comprising:
the method comprises the steps of calling a chrome plug-in installed in the browser, and displaying a window corresponding to the chrome plug-in on a current page of the browser, wherein an execution button for indicating the chrome plug-in to acquire data is displayed on the window;
when the triggering operation of the execution button is received, acquiring first data input by a user through a designated client by utilizing the chrome plug-in, wherein the terminal where the designated client is located is different from the terminal where the browser is located;
initiating a data query request taking the first data as a keyword to a preset database by utilizing the chrome plug-in;
and receiving second data corresponding to the first data returned by the preset database, and inputting the second data to the current page of the browser.
Optionally, invoking the chrome plug-in installed in the browser includes:
monitoring the starting operation of the browser;
and calling a chrome plug-in installed in the browser according to the starting operation.
Optionally, the acquiring, by using the chrome plug-in, the first data input by the user via the designated client includes:
Acquiring first data input by a user through a designated client from a temporary database for storing the first data by utilizing the chrome plug-in; or alternatively, the process may be performed,
and acquiring first data input by a user through a designated client from the preset database by utilizing the chrome plug-in.
Optionally, after the chrome plug-in obtains the first data input by the user through the designated client, the method further includes:
and deleting the first data in the temporary database or the preset database.
Optionally, the acquiring, by using the chrome plug-in, the first data input by the user via the designated client includes:
calling a data interaction function of a control for data interaction by utilizing the chrome plug-in;
acquiring first data input by a user through a designated client by utilizing a data interaction function of the control;
and returning the first data to the chrome plug-in by utilizing the data interaction function of the control.
Optionally, initiating a data query request with the first data as a keyword to a predetermined database by using the chrome plug-in, including:
initiating a data query request taking the first data as a keyword to a preset database by utilizing the data interaction function of the control;
Receiving second data corresponding to the first data returned by the preset database, wherein the second data comprises:
and receiving second data corresponding to the first data returned by the preset database by utilizing the data interaction function of the control, and returning the second data to the chrome plug-in by utilizing the data interaction function of the control.
Optionally, the control is an Ajax control.
Optionally, invoking the chrome plug-in installed in the browser includes:
judging whether the current page of the browser is a page conforming to a preset rule;
if yes, calling a chrome plug-in installed in the browser.
Optionally, determining whether the current page of the browser is a page meeting a predetermined rule includes:
when the website corresponding to the current page of the browser belongs to the designated website, determining that the current page of the browser is a page conforming to a preset rule.
Optionally, entering the second data onto the current page of the browser includes:
determining the corresponding input position of the second data on the current page according to the corresponding relation between the preset second data and the input position of the second data on the current page of the browser;
And recording the second data in a recording position corresponding to the second data.
Optionally, the second data is input to an input position corresponding to the second data, including:
when original data exists at an input position corresponding to the second data, replacing the original data with the second data so that the second data is input to the input position.
Optionally, the first data includes at least one of account information and picture identification information.
According to another aspect of the present invention, there is provided an apparatus for automatically entering data for use in a browser having a chrome plug-in installed, the apparatus comprising:
the call-up module is suitable for calling up the chrome plug-in installed in the browser, displaying a window corresponding to the chrome plug-in on the current page of the browser, and displaying an execution button for indicating the chrome plug-in to acquire data on the window;
the acquisition module is suitable for acquiring first data input by a user through a designated client by utilizing the chrome plug-in when receiving triggering operation of the execution button, wherein a terminal where the designated client is located is different from a terminal where the browser is located;
The initiating module is suitable for initiating a data query request taking the first data as a keyword to a preset database by utilizing the chrome plug-in;
and the input module is suitable for acquiring second data corresponding to the first data from a preset database by utilizing the chrome plug-in, and inputting the second data to the current page of the browser.
Optionally, the tune-up module is further adapted to:
monitoring the starting operation of the browser;
and calling a chrome plug-in installed in the browser according to the starting operation.
Optionally, the acquisition module is further adapted to:
acquiring first data input by a user through a designated client from a temporary database for storing the first data by utilizing the chrome plug-in; or alternatively, the process may be performed,
and acquiring first data input by a user through a designated client from the preset database by utilizing the chrome plug-in.
Optionally, the apparatus further comprises:
and the deleting module is suitable for deleting the first data in the temporary database or the preset database after acquiring the first data input by the user through the designated client by utilizing the chrome plug-in.
Optionally, the acquisition module is further adapted to:
Calling a data interaction function of a control for data interaction by utilizing the chrome plug-in;
acquiring first data input by a user through a designated client by utilizing a data interaction function of the control;
and returning the first data to the chrome plug-in by utilizing the data interaction function of the control.
Optionally, the initiating module is further adapted to:
initiating a data query request taking the first data as a keyword to a preset database by utilizing the data interaction function of the control;
the logging module is further adapted to:
and receiving second data corresponding to the first data returned by the preset database by utilizing the data interaction function of the control, and returning the second data to the chrome plug-in by utilizing the data interaction function of the control.
Optionally, the control is an Ajax control.
Optionally, the tune-up module is further adapted to:
judging whether the current page of the browser is a page conforming to a preset rule;
if yes, calling a chrome plug-in installed in the browser.
Optionally, the tune-up module is further adapted to:
when the website corresponding to the current page of the browser belongs to the designated website, determining that the current page of the browser is a page conforming to a preset rule.
Optionally, the logging module is further adapted to:
determining the corresponding input position of the second data on the current page according to the corresponding relation between the preset second data and the input position of the second data on the current page of the browser;
and recording the second data in a recording position corresponding to the second data.
Optionally, the logging module is further adapted to:
when original data exists at an input position corresponding to the second data, replacing the original data with the second data so that the second data is input to the input position.
Optionally, the first data includes at least one of account information and picture identification information.
By adopting the technical scheme provided by the embodiment of the invention, firstly, the chrome plug-in installed in the browser can be called up, and the window corresponding to the chrome plug-in is displayed on the current page of the browser, when the trigger operation of the execution button is received, the chrome plug-in can be utilized to acquire the first data input by a user through the designated client, and the chrome plug-in is utilized to initiate a data query request taking the first data as a keyword to the predetermined data, so that the browser provided with the chrome plug-in can automatically initiate the query request of related data to the predetermined database, and the combination of the page of the browser and the database is realized. Secondly, the browser provided with the chrome plug-in can also automatically input the queried second data corresponding to the first data to the current page of the browser, so that the second data can be automatically input to the browser without manually inputting the second data to the browser by a user, and the effect of automatically inputting the data to the browser is realized. Moreover, because the terminal where the appointed client is different from the terminal where the browser is, the data input on one terminal or the corresponding data can be automatically input on other terminals, and therefore the technical scheme also realizes the cross-domain access of the browser page. In addition, according to the technical scheme, the chrome plug-in is installed on the browser to realize automatic input of data and cross-domain access of the browser page, and the chrome plug-in is equivalent to a part of the browser, so that the browser can be driven to be customized at will, and the compatibility is high.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
The above, as well as additional objectives, advantages, and features of the present invention will become apparent to those skilled in the art from the following detailed description of a specific embodiment of the present invention when read in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a schematic flow chart of a method of automating entry of data in accordance with one embodiment of the invention;
FIG. 2 is a schematic flow chart of a method of automating entry of data in accordance with one particular embodiment of the invention;
FIG. 3 is a schematic diagram of a browser page in a method for automating data entry in accordance with one embodiment of the present invention;
FIG. 4 is a schematic block diagram of an apparatus for automated data entry in accordance with one embodiment of the invention;
fig. 5 is a schematic block diagram of an apparatus for automated data entry in accordance with another embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
FIG. 1 is a schematic flow chart of a method of automating entry of data in accordance with one embodiment of the invention. As shown in fig. 1, the method is applied to a browser with a chrome plug-in installed, and generally may include the following steps S101-S104:
step S101, calling a chrome plug-in installed in the browser, and displaying a window corresponding to the chrome plug-in on the current page of the browser, wherein an execution button for indicating the chrome plug-in to acquire data is displayed on the window.
Step S102, when a trigger operation of an execution button is received, acquiring first data input by a user through a designated client by utilizing a chrome plug-in.
The terminal where the appointed client is located is different from the terminal where the browser is located.
Step S103, a chrome plug-in is utilized to initiate a data query request taking first data as a keyword to a preset database.
Step S104, receiving second data corresponding to the first data returned by the predetermined database, and inputting the second data to the current page of the browser.
By adopting the technical scheme provided by the embodiment of the invention, firstly, the chrome plug-in installed in the browser can be called up, and the window corresponding to the chrome plug-in is displayed on the current page of the browser, when the trigger operation of the execution button is received, the chrome plug-in can be utilized to acquire the first data input by a user through the designated client, and the chrome plug-in is utilized to initiate a data query request taking the first data as a keyword to the predetermined data, so that the browser provided with the chrome plug-in can automatically initiate the query request of related data to the predetermined database, and the combination of the page of the browser and the database is realized. Secondly, the browser provided with the chrome plug-in can also automatically input the queried second data corresponding to the first data to the current page of the browser, so that the second data can be automatically input to the browser without manually inputting the second data to the browser by a user, and the effect of automatically inputting the data to the browser is realized. Moreover, because the terminal where the appointed client is different from the terminal where the browser is, the data input on one terminal or the corresponding data can be automatically input on other terminals, and therefore the technical scheme also realizes the cross-domain access of the browser page. In addition, according to the technical scheme, the chrome plug-in is installed on the browser to realize automatic input of data and cross-domain access of the browser page, and the chrome plug-in is equivalent to a part of the browser, so that the browser can be driven to be customized at will, and the compatibility is high.
Steps S101 to S104 in the above embodiment are described in detail below.
Step S101 is executed first, namely, a chrome plug-in installed in the browser is called up, a window corresponding to the chrome plug-in is displayed on a current page of the browser, and an execution button for indicating the chrome plug-in to acquire data is displayed on the window. In one embodiment, the chrome plug-in installed in the browser may be invoked upon monitoring a launch operation of the browser, based on the launch operation. The window corresponding to the chrome plug-in can be a smaller window on the current page of the browser, namely, the window is displayed as a child window of the browser window, and the window corresponding to the chrome plug-in can be displayed at any position on the current page of the browser. The execution button displayed on the window corresponding to the chrome plug-in is used for triggering the operation of acquiring the first data input by the user through the designated client.
In one embodiment, before the chrome plug-in installed in the browser is called, whether the current page of the browser is a page conforming to a preset rule is further determined, if so, the chrome plug-in installed in the browser is called, otherwise, the call-up operation is not executed. In one embodiment, when judging whether the current page of the browser is a page conforming to the preset rule, the judgment can be made by judging whether the website corresponding to the current page of the browser belongs to the designated website, and if the website corresponding to the current page of the browser belongs to the designated website, the current page of the browser can be determined to be the page conforming to the preset rule. That is, in this embodiment, the chrome plug-in is only turned up for the page corresponding to the specified website in the browser, so that the automatic data input operation is performed, while pages corresponding to other websites except the specified website cannot be turned up for the chrome plug-in, and the specified website can be specified by the user according to the needs, so that the scheme of automatic data input is in some cases customizable.
Next, step S102 is performed, that is, when a trigger operation of the execution button is received, the first data input by the user through the designated client is acquired by using the chrome plug-in. The terminal where the appointed client is located is different from the terminal where the browser is located. The first data may include at least one of account information, picture identification information. When the first data is account information, the user can manually input the account information on the appointed client, such as logging in an account and a password of the appointed client; when the first data is the picture identification information, the user can input the picture identification information on the designated client through an image recognition mode, for example, a shooting function of the designated client is utilized to shoot a designated object (such as a bank card, a membership card and the like) related to the picture identification information, and the picture identification information is recognized from a shot image to be input.
In addition, when executing step S102, the chrome plug-in may obtain the first data input by the user via the client in a plurality of ways. Specifically, in the first mode, the terminal where the designated client is located is connected with the terminal where the browser is located, and at this time, the chrome plug-in can directly acquire first data input by a user from the designated client; after the appointed client receives the first data input by the user, the first data is stored in a pre-established temporary database which is specially used for storing the first data input by the user through the appointed client, and at the moment, the chrome plug-in can acquire the first data input by the user through the appointed client from the temporary database; in the third mode, after the designated client receives the first data input by the user, the first data is stored in a predetermined database, the equipment where the predetermined database is located is connected with the terminal where the browser is located, and at this time, the chrome plug-in can acquire the first data input by the user through the designated client from the predetermined database.
In one embodiment, the chrome plug-in obtains first data entered by a user via a client by: firstly, calling a data interaction function of a control for data interaction by utilizing a chrome plug-in; secondly, acquiring first data input by a user through a designated client by utilizing a data interaction function of the control; again, the data interaction function of the control is utilized to return the first data to the chrome plug-in. The control used for data interaction can be an Ajax control, and the Ajax control has a good data interaction function among devices, so that the mode of acquiring data by using the Ajax control provides convenience for realizing cross-domain access of the browser page.
Based on the above manner of acquiring the first data, in one embodiment, after acquiring the first data by using the chrome plug-in, the first data in the temporary database or the predetermined database may be deleted, so that the first data that has been acquired by the chrome plug-in does not occupy the space of the temporary database or the predetermined database any more, thereby saving the space of the temporary database or the predetermined database for storing new data.
After the first data input by the user through the designated client is obtained, step S103 is continuously performed, that is, a data query request using the first data as a keyword is initiated to a predetermined database by using the chrome plug-in. In one embodiment, the chrome plug-in may be utilized to invoke the data interaction function of the control for data interaction (if the data interaction function of the control has been invoked in step S102, no further invocation operations are required), and then the data interaction function of the control is utilized to initiate a data query request with the first data as a keyword to a predetermined database, where the control for data interaction is an Ajax control.
After the data query request is initiated to the predetermined database, step S104 is continuously performed, that is, second data corresponding to the first data returned by the predetermined database is received, and the second data is input to the current page of the browser. The predetermined database stores a correspondence relationship between the first data and the second data, and the first data and the second data may be the same data or different data. In one embodiment, the chrome plug-in may be utilized to call up the data interaction function of the control for data interaction (if the data interaction function of the control has been called up in step S102, no further call-up operations are required), and then the data interaction function of the control is utilized to receive second data corresponding to the first data returned by the predetermined database. The control used for data interaction is an Ajax control.
When the browser inputs second data to the current page, the chrome plug-in installed in the browser is used for inputting, so that the data interaction function of the control is used for receiving second data corresponding to the first data returned by the preset database, the data interaction function of the control is used for returning the second data to the chrome plug-in, and the chrome plug-in is used for inputting the second data to the current page of the browser.
In one embodiment, the second data may be entered on the current page of the browser as follows: firstly, determining the corresponding input position of second data on the current page according to the corresponding relation between the preset second data and the input position of the second data on the current page of the browser; secondly, the second data is input into the corresponding input position. For example, a table for inputting second data is displayed on the current page of the browser, and the table includes a plurality of cells, and the second data input in each cell is different, so that a corresponding relationship between each second data and each cell can be preset, and then each second data is respectively input into the corresponding cell according to the corresponding relationship. For example, a table for recording consumption records of a communication number of a user is displayed on a current page of the browser, wherein a cell 1 is used for recording a current month use telephone fee of the communication number, a cell 2 is used for recording a current month use flow of the communication number, after acquiring each related information (namely, second data) comprising the communication number, the current month use telephone fee is screened out from each related information and recorded into the cell 1, and the current month use flow is screened out from each related information and recorded into the cell 2.
It can be seen that the embodiment ensures the accuracy of automatically inputting the data by the browser by automatically inputting the second data to the corresponding input position. Moreover, the corresponding relation between the second data and the input position can be preset by a user according to the requirement, so that the technical scheme of the embodiment has high customization.
In one embodiment, when the second data is input to the current page of the browser, after determining the corresponding input position of the second data on the current page, if the input position has the original data, the original data in the input position is replaced by the second data, so that the second data is input to the input position. For example, the browser automatically inputs the relevant data of the user a in each input position on the current page, and if the relevant data of the user B is required to be input, the relevant data of the user a is required to be replaced by the relevant data of the user B at this time because the original data (i.e., the relevant data of the user a) exists in each input position.
The method of automated data entry provided in the above embodiments is applicable to a plurality of scenarios.
When a user in a communication business hall handles communication business, personal information (such as a communication number) is input through a designated client, a worker handling the business can trigger a browser to acquire the personal information input by the user at the front end through a window corresponding to a chrome plug-in which is called up in the browser, then a data query request is initiated to a communication server according to the acquired personal information so as to query related communication information (such as a current month consumption record, a current month use flow and the like corresponding to the communication number) corresponding to the personal information, and then the queried related communication information is automatically input to a browser page of a terminal used by the worker.
For example, when a user handles a communication service in a communication business hall, after a communication number "13811110000" is input in a front-end ipad (personal platform computer), a staff handling the service clicks an "execute" button on a small window (i.e. a window corresponding to a chrome plug-in) on a browser page, and the browser can obtain the communication number "13811110000" input by the user at the front end by using the chrome plug-in, and inquire related communication information corresponding to the communication number "13811110000" from a database of a communication server, including a current consumption record corresponding to the communication number "13811110000", current usage flow, historical consumption information, bound personal information and the like, so that the information is displayed on the browser, and the staff can handle the service directly according to the information without manually inputting any information. In the prior art, the current browser of the staff member does not display the window corresponding to the chrome plug-in, so that the staff member has to manually initiate a request for inquiring the related communication information corresponding to the communication number 13811110000 to the communication server, and after inquiring the related communication information corresponding to the communication number 13811110000, the staff member also needs to manually input or import the communication information into the corresponding position of the browser. Therefore, the automatic data input method provided by the invention can ensure that staff does not need to manually input personal information of a user on a browser page or manually input related communication information inquired from a communication server, thereby not only avoiding the condition that manual input is easy to make mistakes, but also bringing great convenience to the staff and improving the working efficiency of the staff.
When a user handles a debit card service in a bank, personal information (such as a debit card number, a name or an identity card number) is input through a designated client, a counter person handling the service can trigger a browser to acquire the personal information input by the user at the front end through a window corresponding to a chrome plug-in called up in the browser, then a data inquiry request is initiated to a bank server according to the acquired personal information so as to inquire debit card related information (such as debit card balance, current month transfer records and the like) corresponding to the personal information, and then the inquired debit card related information is automatically input to a browser page of a terminal used by the counter person. Therefore, by using the automatic data input method provided by the invention under the scene, counter personnel can not need to manually input personal information of a user on a browser page or manually input debit card related information queried from a bank server, so that the situation that manual input is easy to make mistakes is avoided, great convenience is brought to the counter personnel, and the working efficiency is improved.
Of course, the method for automatically inputting data provided by the embodiment of the invention can be used in other scenes besides the two scenes listed above, and the invention is not limited to this.
The following describes how to execute the method for automatically inputting data provided by the embodiment of the invention.
Fig. 2 is a schematic flow chart of a method of automating entry of data in accordance with one particular embodiment of the invention. As shown in fig. 2, the method is applied to the scenario two described above, namely, the scenario in which the user handles debit card business in the bank, and is applied to the browser in which the chrome plug-in is installed on the terminal used by the counter staff in the bank, and specifically includes the following steps S201-S207:
step S201, starting the browser, calling a chrome plug-in installed in the browser, and displaying a window corresponding to the chrome plug-in on a current page of the browser, wherein an execution button for indicating the chrome plug-in to acquire data is displayed on the window.
Fig. 3 shows a schematic diagram of a window corresponding to a chrome plug-in displayed on a browser in this embodiment, and in fig. 3, after the browser is started, a child window 310 pops up in the lower right corner of the browser window 300, which is the window corresponding to the chrome plug-in. In the window 310 corresponding to the chrome plug-in, an execution button 320 for instructing the chrome plug-in to acquire data is also displayed.
Step S202, when the browser receives the triggering operation of the execution button, the chrome plug-in is utilized to call up the data interaction function of the Ajax control.
In this embodiment, when the counter person triggers (e.g., clicks on) the button "execute" as shown in fig. 3, the browser receives a trigger operation for the execute button.
Step S203, the personal information input by the user through the appointed client is obtained by utilizing the data interaction function of the Ajax control.
Wherein the personal information is such as debit card number, name or identification card number.
And step S204, the acquired personal information is returned to the chrome plug-in by utilizing the data interaction function of the Ajax control.
Step S205, a chrome plug-in is utilized to initiate a data query request taking personal information as a keyword to a bank server.
The database of the bank server stores the correspondence between the personal information of each user and the debit card related information. After receiving the data query request, the bank server queries the corresponding debit card related information according to the personal information carried in the data query request, and returns to the chrome plug-in. Debit card related information such as debit card balance, current month transfer records, etc.
Step S206, receiving debit card related information corresponding to the personal information by utilizing the chrome plug-in, and determining an input position corresponding to the debit card related information according to the corresponding relation between the preset debit card related information and the input position of the debit card related information on the current page of the browser.
Step S207, debit card related information is entered into a corresponding entry location using a chrome plug-in.
For example, the debit card related information comprises a debit card balance and a current month transfer record, and the current page of the browser comprises an input position 1 and an input position 2, wherein the input position 1 is used for inputting the debit card balance, and the input position 2 is used for inputting the current month transfer record, so that the chrome plug-in automatically inputs the debit card balance into the input position 1, and simultaneously automatically inputs the current month transfer record into the input position 2.
Therefore, in the specific embodiment, when a user transacts related business in a bank, after personal information is input, counter personnel only need to trigger an execution button on the browser, so that the browser can automatically input related information of the user, the situation that manual input is easy to make mistakes is avoided, great convenience is brought to the counter personnel, and the working efficiency of the counter personnel is improved.
Fig. 4 is a schematic block diagram of an apparatus for automated data entry in accordance with an embodiment of the invention. As shown in fig. 4, the device is applied to a browser with a chrome plug-in installed, and comprises:
the call-up module 410 is adapted to call up the chrome plug-in installed in the browser, and display a window corresponding to the chrome plug-in on the current page of the browser, and an execution button for indicating the chrome plug-in to acquire data is displayed on the window;
The acquisition module 420 is coupled to the tuning module 410, and is adapted to acquire, when a trigger operation on the execution button is received, first data input by a user through a designated client by using a chrome plug-in, where a terminal where the designated client is located is different from a terminal where the browser is located;
an initiating module 430, coupled to the obtaining module 420, adapted to initiate a data query request with the first data as a keyword to a predetermined database using a chrome plug-in;
the input module 440, coupled to the initiating module 430, is adapted to obtain second data corresponding to the first data from the predetermined database by using the chrome plug-in, and input the second data to the current page of the browser.
In one embodiment, the tune-up module 410 is further adapted to:
monitoring the starting operation of the browser;
and calling the chrome plug-in installed in the browser according to the starting operation.
In one embodiment, the acquisition module 420 is further adapted to:
acquiring first data input by a user through a designated client from a temporary database for storing the first data by utilizing a chrome plug-in; or alternatively, the process may be performed,
and acquiring first data input by a user through a specified client from a preset database by utilizing the chrome plug-in.
In one embodiment, as shown in fig. 5, the apparatus further includes:
And the deleting module 450 is coupled to the acquiring module 420 and is adapted to delete the first data in the temporary database or the predetermined database after acquiring the first data input by the user via the designated client by using the chrome plug-in.
In one embodiment, the acquisition module 420 is further adapted to:
calling a data interaction function of a control for data interaction by utilizing a chrome plug-in;
acquiring first data input by a user through a designated client by utilizing a data interaction function of a control;
and returning the first data to the chrome plug-in by utilizing the data interaction function of the control.
In one embodiment, initiating module 430 is further adapted to:
initiating a data query request taking first data as a keyword to a preset database by utilizing the data interaction function of the control;
the logging module 440 is further adapted to:
and receiving second data corresponding to the first data returned by the preset database by utilizing the data interaction function of the control, and returning the second data to the chrome plug-in by utilizing the data interaction function of the control.
In one embodiment, the control is an Ajax control.
In one embodiment, the tune-up module 410 is further adapted to:
judging whether the current page of the browser is a page conforming to a preset rule;
if yes, calling a chrome plug-in installed in the browser.
In one embodiment, the tune-up module 410 is further adapted to:
when the website corresponding to the current page of the browser belongs to the designated website, determining that the current page of the browser is a page conforming to a preset rule.
In one embodiment, the logging module 440 is further adapted to:
determining the corresponding input position of the second data on the current page according to the corresponding relation between the preset second data and the input position of the second data on the current page of the browser;
and recording the second data in the corresponding recording position.
In one embodiment, the logging module 440 is further adapted to:
when the original data exists at the input position corresponding to the second data, the original data is replaced by the second data, so that the second data is input to the input position.
In one embodiment, the first data includes at least one of account information, picture identification information.
By adopting the device provided by the embodiment of the invention, firstly, the chrome plug-in installed in the browser can be called up, and the window corresponding to the chrome plug-in is displayed on the current page of the browser, when the trigger operation of the execution button is received, the chrome plug-in can be utilized to acquire the first data input by a user through the designated client, and the chrome plug-in is utilized to initiate a data query request taking the first data as a keyword to the preset data, so that the browser provided with the chrome plug-in can automatically initiate the query request of related data to the preset database, and the combination of the page of the browser and the database is realized. Secondly, the browser provided with the chrome plug-in can also automatically input the queried second data corresponding to the first data to the current page of the browser, so that the second data can be automatically input to the browser without manually inputting the second data to the browser by a user, and the effect of automatically inputting the data to the browser is realized. Moreover, because the terminal where the appointed client is different from the terminal where the browser is, the data input on one terminal or the corresponding data can be automatically input on other terminals, and therefore the technical scheme also realizes the cross-domain access of the browser page. In addition, according to the technical scheme, the chrome plug-in is installed on the browser to realize automatic input of data and cross-domain access of the browser page, and the chrome plug-in is equivalent to a part of the browser, so that the browser can be driven to be customized at will, and the compatibility is high.
It should be understood by those skilled in the art that the apparatus for automatically inputting data in fig. 4 and 5 can be used to implement the foregoing scheme for automatically inputting data, and the detailed description thereof should be similar to that of the foregoing method section, so as to avoid complexity and avoid redundancy.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in an apparatus for automated data entry according to an embodiment of the present invention. The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
By now it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been shown and described herein in detail, many other variations or modifications of the invention consistent with the principles of the invention may be directly ascertained or inferred from the present disclosure without departing from the spirit and scope of the invention. Accordingly, the scope of the present invention should be understood and deemed to cover all such other variations or modifications.

Claims (24)

1. A method of automating the entry of data for a browser installed with a chrome plug-in, the method comprising:
the method comprises the steps of calling a chrome plug-in installed in the browser, and displaying a window corresponding to the chrome plug-in on a current page of the browser, wherein an execution button for indicating the chrome plug-in to acquire data is displayed on the window;
when the triggering operation of the execution button is received, acquiring first data input by a user through a designated client by utilizing the chrome plug-in, wherein the terminal where the designated client is located is different from the terminal where the browser is located;
initiating a data query request taking the first data as a keyword to a preset database by utilizing the chrome plug-in;
And receiving second data corresponding to the first data returned by the preset database, and inputting the second data to the current page of the browser.
2. The method of claim 1, wherein invoking the chrome plug-in installed within the browser comprises:
monitoring the starting operation of the browser;
and calling a chrome plug-in installed in the browser according to the starting operation.
3. The method of claim 1, wherein obtaining, with the chrome plug-in, first data entered by a user via a specified client, comprises:
acquiring first data input by a user through a designated client from a temporary database for storing the first data by utilizing the chrome plug-in; or alternatively, the process may be performed,
and acquiring first data input by a user through a designated client from the preset database by utilizing the chrome plug-in.
4. The method of claim 3, wherein after obtaining, with the chrome plug-in, the first data entered by the user via the specified client, the method further comprises:
and deleting the first data in the temporary database or the preset database.
5. The method of any of claims 1-4, wherein obtaining, with the chrome plug-in, first data entered by a user via a specified client, comprises:
Calling a data interaction function of a control for data interaction by utilizing the chrome plug-in;
acquiring first data input by a user through a designated client by utilizing a data interaction function of the control;
and returning the first data to the chrome plug-in by utilizing the data interaction function of the control.
6. The method of claim 5, wherein initiating, with the chrome plug-in, a data query request to a predetermined database that is keyed by the first data, comprises:
initiating a data query request taking the first data as a keyword to a preset database by utilizing the data interaction function of the control;
receiving second data corresponding to the first data returned by the preset database, wherein the second data comprises:
and receiving second data corresponding to the first data returned by the preset database by utilizing the data interaction function of the control, and returning the second data to the chrome plug-in by utilizing the data interaction function of the control.
7. The method of claim 5, wherein the control is an Ajax control.
8. The method of any of claims 1-4, wherein invoking the chrome plug-in installed within the browser comprises:
Judging whether the current page of the browser is a page conforming to a preset rule;
if yes, calling a chrome plug-in installed in the browser.
9. The method of claim 8, wherein determining whether the current page of the browser is a page that meets a predetermined rule comprises:
when the website corresponding to the current page of the browser belongs to the designated website, determining that the current page of the browser is a page conforming to a preset rule.
10. The method of any of claims 1-4, wherein entering the second data onto a current page of the browser comprises:
determining the corresponding input position of the second data on the current page according to the corresponding relation between the preset second data and the input position of the second data on the current page of the browser;
and recording the second data in a recording position corresponding to the second data.
11. The method of claim 10, wherein entering the second data into an entry location corresponding thereto comprises:
when original data exists at an input position corresponding to the second data, replacing the original data with the second data so that the second data is input to the input position.
12. The method of any of claims 1-4, wherein the first data includes at least one of account information, picture identification information.
13. An apparatus for automated entry of data for a browser having a chrome plug-in installed, the apparatus comprising:
the call-up module is suitable for calling up the chrome plug-in installed in the browser, displaying a window corresponding to the chrome plug-in on the current page of the browser, and displaying an execution button for indicating the chrome plug-in to acquire data on the window;
the acquisition module is suitable for acquiring first data input by a user through a designated client by utilizing the chrome plug-in when receiving triggering operation of the execution button, wherein a terminal where the designated client is located is different from a terminal where the browser is located;
the initiating module is suitable for initiating a data query request taking the first data as a keyword to a preset database by utilizing the chrome plug-in;
and the input module is suitable for acquiring second data corresponding to the first data from a preset database by utilizing the chrome plug-in, and inputting the second data to the current page of the browser.
14. The apparatus of claim 13, wherein the tune-up module is further adapted to:
monitoring the starting operation of the browser;
and calling a chrome plug-in installed in the browser according to the starting operation.
15. The apparatus of claim 13, wherein the acquisition module is further adapted to:
acquiring first data input by a user through a designated client from a temporary database for storing the first data by utilizing the chrome plug-in; or alternatively, the process may be performed,
and acquiring first data input by a user through a designated client from the preset database by utilizing the chrome plug-in.
16. The apparatus of claim 15, wherein the apparatus further comprises:
and the deleting module is suitable for deleting the first data in the temporary database or the preset database after acquiring the first data input by the user through the designated client by utilizing the chrome plug-in.
17. The apparatus of any of claims 13-16, wherein the acquisition module is further adapted to:
calling a data interaction function of a control for data interaction by utilizing the chrome plug-in;
acquiring first data input by a user through a designated client by utilizing a data interaction function of the control;
And returning the first data to the chrome plug-in by utilizing the data interaction function of the control.
18. The apparatus of claim 17, wherein the initiating module is further adapted to:
initiating a data query request taking the first data as a keyword to a preset database by utilizing the data interaction function of the control;
the logging module is further adapted to:
and receiving second data corresponding to the first data returned by the preset database by utilizing the data interaction function of the control, and returning the second data to the chrome plug-in by utilizing the data interaction function of the control.
19. The apparatus of claim 17, wherein the control is an Ajax control.
20. The apparatus of any of claims 13-16, wherein the tune-up module is further adapted to:
judging whether the current page of the browser is a page conforming to a preset rule;
if yes, calling a chrome plug-in installed in the browser.
21. The apparatus of claim 20, wherein the tune-up module is further adapted to:
when the website corresponding to the current page of the browser belongs to the designated website, determining that the current page of the browser is a page conforming to a preset rule.
22. The apparatus of any of claims 13-16, wherein the logging module is further adapted to:
determining the corresponding input position of the second data on the current page according to the corresponding relation between the preset second data and the input position of the second data on the current page of the browser;
and recording the second data in a recording position corresponding to the second data.
23. The apparatus of claim 22, wherein the logging module is further adapted to:
when original data exists at an input position corresponding to the second data, replacing the original data with the second data so that the second data is input to the input position.
24. The apparatus of any of claims 13-16, wherein the first data comprises at least one of account information, picture identification information.
CN201611113846.1A 2016-12-06 2016-12-06 Method and device for automatically inputting data Active CN108170688B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611113846.1A CN108170688B (en) 2016-12-06 2016-12-06 Method and device for automatically inputting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611113846.1A CN108170688B (en) 2016-12-06 2016-12-06 Method and device for automatically inputting data

Publications (2)

Publication Number Publication Date
CN108170688A CN108170688A (en) 2018-06-15
CN108170688B true CN108170688B (en) 2023-10-31

Family

ID=62526388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611113846.1A Active CN108170688B (en) 2016-12-06 2016-12-06 Method and device for automatically inputting data

Country Status (1)

Country Link
CN (1) CN108170688B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109063175A (en) * 2018-08-22 2018-12-21 山东浪潮通软信息科技有限公司 A kind of data entry method and device
CN113034154A (en) * 2019-09-17 2021-06-25 创新先进技术有限公司 Identity authentication method, method for realizing login-free authorization component and respective devices
CN113420201B (en) * 2021-06-09 2023-02-03 湖南大学 Cross-domain element positioning and tree generating method for browser RPA system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011238091A (en) * 2010-05-12 2011-11-24 Ricoh Co Ltd Information processing device, image forming device, information processing method, program and recording medium
CN103853790A (en) * 2012-12-06 2014-06-11 腾讯科技(深圳)有限公司 Method and device for processing upload information of mobile terminal browser
CN104348893A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Data synchronization method and device
CN104572968A (en) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 Page updating method and device
CN105808518A (en) * 2016-04-07 2016-07-27 广东睿盟计算机科技有限公司 Data form filling system based on browser plug-in and integrating method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011238091A (en) * 2010-05-12 2011-11-24 Ricoh Co Ltd Information processing device, image forming device, information processing method, program and recording medium
CN103853790A (en) * 2012-12-06 2014-06-11 腾讯科技(深圳)有限公司 Method and device for processing upload information of mobile terminal browser
CN104348893A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Data synchronization method and device
CN104572968A (en) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 Page updating method and device
CN105808518A (en) * 2016-04-07 2016-07-27 广东睿盟计算机科技有限公司 Data form filling system based on browser plug-in and integrating method thereof

Also Published As

Publication number Publication date
CN108170688A (en) 2018-06-15

Similar Documents

Publication Publication Date Title
US8971582B2 (en) Method and system for recording and transferring motor vehicle information
US20130066757A1 (en) System and method for identifying, locating and recovering collateralized assets
EP3200417A1 (en) Method and device for information interaction and association between human biological feature data and account
US9081533B1 (en) System and method for searching and remotely printing social networking digital images for pickup at a retail store
CN108170688B (en) Method and device for automatically inputting data
CN104572847B (en) A kind of method and device of photo name
CN106682006B (en) Information prompting method and device about communication content
US20130315042A1 (en) Geo-normalization of Calendar Items
CN105335515A (en) Information recommendation method and information recommendation device
CN108364171B (en) Graphic code generation method, resource sending and receiving method, device and electronic equipment
CN109636582A (en) Credit information management method, device, equipment and storage medium
KR20190089994A (en) Method and device for implementing service operations based on images
JP6249579B1 (en) Warehouse management method and warehouse management system
CN106682146B (en) Method and system for retrieving scenic spot evaluation according to keywords
US9569552B2 (en) Code based configuration of mobile devices
US8960532B2 (en) Coded business card on badge
CN108512822A (en) A kind of Risk Identification Method and device of data processing event
CA2850883A1 (en) Image processing
CN110992044B (en) Data processing method and device, electronic equipment and readable storage medium
CN109766052B (en) Dish picture uploading method and device, computer equipment and readable storage medium
CN112632391A (en) Data processing method, device and storage medium
CN109451018B (en) Information object pushing method, computing device and computer storage medium
US20150127746A1 (en) Methods, nodes, computer programs and comuter program products for activating remote access
CN110749597A (en) Method, system and device for automatically processing detection result
CN106506317B (en) System and method for seeking assistance in social network

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee after: Beijing Qizhi Business Consulting Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240109

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Beijing Qizhi Business Consulting Co.,Ltd.