CN104063673B - A kind of method carrying out information input in a browser and browser device - Google Patents

A kind of method carrying out information input in a browser and browser device Download PDF

Info

Publication number
CN104063673B
CN104063673B CN201410281273.8A CN201410281273A CN104063673B CN 104063673 B CN104063673 B CN 104063673B CN 201410281273 A CN201410281273 A CN 201410281273A CN 104063673 B CN104063673 B CN 104063673B
Authority
CN
China
Prior art keywords
input
page
dummy keyboard
browser
module
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
CN201410281273.8A
Other languages
Chinese (zh)
Other versions
CN104063673A (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 Hongxiang Technical Service 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 CN201410281273.8A priority Critical patent/CN104063673B/en
Publication of CN104063673A publication Critical patent/CN104063673A/en
Application granted granted Critical
Publication of CN104063673B publication Critical patent/CN104063673B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/83Protecting input, output or interconnection devices input devices, e.g. keyboards, mice or controllers thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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/451Execution arrangements for user interfaces

Abstract

The invention discloses a kind of method carrying out information input in a browser and browser device, wherein, method includes: when the page process of browser loads the page, recognize the webpage input element of pending input in the page, load the web page joint of a dummy keyboard icon in the position that webpage input element is corresponding;Trigger event, to the trigger event of dummy keyboard icon, is notified to browser host process, browser host process to start a window display dummy keyboard by page process detection;Browser host process receives the input information utilizing dummy keyboard to input, and notifies input information to page process;Input information is written in webpage input element by page process.According to the program, what dummy keyboard received be input to writes the information during input element and the most all carries out inside browser, it is impossible to is intercepted and captured by external program, has higher safety, it is to avoid user is stolen and suffer a loss due to personal information.

Description

A kind of method carrying out information input in a browser and browser device
Technical field
The present invention relates to Internet technical field, be specifically related to a kind of method carrying out information input in a browser and clear Look at device device.
Background technology
User accesses website of bank, social network sites, E-mail address, games page, it is often necessary to utilize input through keyboard account, Password, enters private page, operates.
The information inputted by physical keyboard is vulnerable to steal, and after user cipher is stolen by others, for bad purpose, leads Cause the leakage of personal information such as user cipher, user is caused damage.
Existing keypad information steals mode to be had multiple, such as, some trojan horse programs by capturing operation system with key The function acquisition keyboard input information that dish operation is relevant;Or, use the Key Loggers such as USB, be connected to keyboard and computer Between, it is possible to the input through keyboard in record is long-time, this mode is more hidden, comes across in Internet bar, or common computer more.
Currently, there is the input mode of some simulating keyboards, such as, the soft keyboard that system carries, but input information is from soft During keyboard is delivered to browser, it is possible to intercepted and captured.Some website of bank also provide the input mode of soft keyboard, But just in own website, being realized by plug-in unit, this can be intercepted and captured equally.
Summary of the invention
In view of the above problems, it is proposed that the present invention in case provide one overcome the problems referred to above or at least in part solve on State a kind of method carrying out information input in a browser and the browser device of problem.
According to an aspect of the invention, it is provided a kind of method carrying out information input in a browser, including: clear Look at device page process load the page time, recognize the webpage input element of pending input in the page, at webpage input element Corresponding position loads the web page joint of a dummy keyboard icon;Page process detection to the trigger event of dummy keyboard icon, Notify trigger event to browser host process, browser host process to start a window display dummy keyboard;Browser master enter Journey receives the input information utilizing dummy keyboard to input, and notifies input information to page process;Page process will input information It is written in webpage input element.
According to a further aspect in the invention, it is provided that a kind of browser device, including page scheduler module and browser master Scheduler module;Wherein, page scheduler module includes:
Load-on module, is suitable to, when the page process of browser loads the page, recognize the net of pending input in the page Page input element, loads the web page joint of a dummy keyboard icon in the position that webpage input element is corresponding;
Detection module, is adapted to detect for the trigger event of dummy keyboard icon, notifies trigger event to enter to browser master Journey module;
Writing module, is suitable to be written in webpage input element the input information utilizing dummy keyboard to input;
Browser host process module includes:
Display module, is suitable to after receiving trigger event, starts a window display dummy keyboard;
Input module, is suitable to receive the input information utilizing dummy keyboard to input;
Notification module, is suitable to notify input information to page scheduler module.
According to the method and the browser device that carry out information input in a browser of the present invention, page process is defeated at webpage Enter position corresponding to element and load the web page joint of a dummy keyboard icon, the trigger event to dummy keyboard icon detected Time, notify trigger event to browser host process, browser host process to start a window display dummy keyboard, receive and utilize The input information of dummy keyboard input, notifies input information to page process;Input information is written to webpage by page process In input element.According to the program, browser is that whole page provides general dummy keyboard, and information input is not required to through thing Reason keyboard, it is to avoid stolen by Key Logger, also cannot steal input through keyboard by interception system function;Dummy keyboard connects It is mutual, all occurring at browser inside, it is impossible to pass through external program that being input to of receiving writes the information during input element Intercept and capture, there is higher safety, it is to avoid user is stolen and suffer a loss due to personal information.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of description, and in order to allow above and other objects of the present invention, the feature and advantage can Become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 shows the flow chart of the method carrying out information input the most in a browser;
Fig. 2 shows the flow process of the method carrying out information input the most in a browser Figure;
Fig. 3 shows the flow process of the method carrying out information input the most in a browser Figure;
Fig. 4 shows the structured flowchart of browser device according to an embodiment of the invention;
Fig. 5 shows the structured flowchart of browser device in accordance with another embodiment of the present invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows the disclosure Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should be by embodiments set forth here Limited.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Fig. 1 shows the flow chart of the method carrying out information input the most in a browser, As it is shown in figure 1, method comprises the steps:
Step S110, when the page process of browser loads the page, recognizes the webpage of pending input in the page defeated Enter element, load the web page joint of a dummy keyboard icon in the position that webpage input element is corresponding.
Webpage input element includes the Text Entry of different attribute, is shown as password box in the page, search box etc., on Stating input element in html file corresponding to different types of web page joint, such as, password box corresponding to attribute is <input>label of password, search box corresponds to<input>label etc. that attribute is text.
Specifically, after page process html file in the complete page of browser downloads, the page is loaded, renders, In the html file of the page, inquire the node that above-mentioned webpage input element is corresponding, load a void at corresponding node location Intend the web page joint of keyboard icon so that dummy keyboard icon shows the right side in the input frame region that webpage input element is corresponding Lateral edges position.
Web page joint is loaded by page process, and with the html document of the page, and the script file such as javascript without Close.
Step S120, trigger event, to the trigger event of dummy keyboard icon, is notified to browser by page process detection Host process, is started a window display dummy keyboard by browser host process.
Trigger event includes the click event to dummy keyboard icon respective nodes, and other self-defined trigger events Deng.
Browser host process display dummy keyboard, dummy keyboard is as a functional module of browser, by browser certainly The program code of body realizes, and the loading with web page joint is similar, dummy keyboard also with the javascript in the page, and page control Parts etc. are unrelated, therefore, present invention can be suitably applied to any page with input element.
Step S130, browser host process receives and utilizes the input information that dummy keyboard inputs, input information is notified to Page process.
Specifically, browser host process receives the input letter inputting the click behavior of specific character on dummy keyboard Breath, input information can be added process message, notify to host process in the way of process message by browser host process.
Step S140, input information is written in webpage input element by page process.
Page process receives the process message comprising input information that browser host process sends, and input information is written to In the webpage input elements such as corresponding text box.
In the embodiment of the present invention, with the input of dummy keyboard analog physical keyboard, it is to avoid stolen by Key Logger, Also input information cannot be obtained by api function relevant with keyboard in interception system.
The method provided according to the above embodiment of the present invention, page process loads one in the position that webpage input element is corresponding The web page joint of dummy keyboard icon, when the trigger event to dummy keyboard icon being detected, notifies trigger event to browsing Device host process, is started a window display dummy keyboard by browser host process, receives the input information utilizing dummy keyboard to input, Input information is notified to page process;Input information is written in webpage input element by page process.According to the program, clear Device of looking at can be that any page with input element provides dummy keyboard, and information input is not required to through physical keyboard, it is to avoid be subject to Stealing of Key Logger;It is mutual that what dummy keyboard received is input to write the information during input element, all occurring at Inside browser, it is not easily susceptible to external program and intercepts and captures, there is higher safety, it is to avoid user is stolen and meet with due to personal information Suffer a loss.
Fig. 2 shows the flow process of the method carrying out information input the most in a browser Figure, as a example by the present embodiment is with the common cryptographic node in website log, enrollment page, and Net silver, the payment page, illustrates this The implementation process of invention.As in figure 2 it is shown, method comprises the steps:
Step S210, browser page process load the page time, recognize attribute in the page be password < Input > label.
It is<input>label of password that cryptographic node corresponds to attribute in the page, as<input type=" Password " id=" password " name=" password " > etc., page process, by identifying above-mentioned label, finds password Node.
Step S220, corresponding to the right side in the input frame region that<input>label that attribute is password is corresponding Position load the web page joint of a dummy keyboard icon.
Referring to the description in embodiment step S110, here is omitted.
Step S230, page process detection is to the trigger event of dummy keyboard icon.
The trigger event of dummy keyboard icon includes the mouse click event to dummy keyboard icon corresponding node, it is also possible to It is other self-defining trigger events, the most self-defining quick triggering key.Specifically, page process can be by the page Javascript function monitors above-mentioned trigger event, and when trigger event occurs, notified.
Step S240, notifies trigger event to browser host process.
By the communication mechanism between browser host process and page process, notify trigger event to enter to browser master Journey.
Step S250, browser host process starts a window display dummy keyboard.
Browser host process display dummy keyboard, dummy keyboard, as a separate functional blocks of browser, is browsing The programming of device realizes, and unrelated with the html document in the page etc., and therefore, the input method in the present invention is applicable to Any page.
Specifically, a graphic interface can be realized by browser, the interface letter that this graphic interface provides according to system Number determines mouse position and click event, in conjunction with predefined keyboard layout and button assignment, obtains the input of user.
Further, dummy keyboard can arrange some shortcuts relevant with browser, such as, browser is arranged fast Key, after click, browser host process creates new Shipping Options Page, opens and arranges the page.
Step S260, browser host process receives the input letter inputting the click behavior of specific character on dummy keyboard Breath.
Dummy keyboard can have multiple keyboard layout, when the node that dummy keyboard icon is corresponding is triggered, and different keys Dish layout shows in turn, reduces the probability that input information is trapped further.
Step S270, input information is encoded by browser host process by predefined form.
Between process, the data of transmission typically require encoded.The present invention uses predefined coded format, browser Input information after coding is added in process message by host process, when process message is intercepted and captured by other programs, owing to not obtaining Know that coded format, input information will not be revealed, further ensure user cipher safety.
Step S280, browser host process will coding by the self-defined process message consulted in advance between page process After input information notify to page process.
Operating system allows self-defined process message, such as, by RegisterWindowsMessage () function registration New message.
Input information after coding is joined in self-defined process message by browser host process, alternatively, is adding certainly Before definition process message, the input information after coding can also be encrypted by browser host process, such as, by MD5, The modes such as DSA are encrypted, and then, are added in self-defined process message by the check value that encryption is formed.
The safety of input information transmission is further increased by self-defined process message and encryption.
Step S290, input information is written in<input>label by page process.
Page process, according to the self-defined process message consulted in advance and coded system, parses coding from process message After input information, be decoded, be delivered to currently obtain on the node of focus, input information is written to<input>label In.If input information have passed through encryption, then this step also includes deciphering check value.
Fig. 3 shows the flow process of the method carrying out information input the most in a browser Figure, as it is shown on figure 3, method comprises the steps:
Step S310, browser page process load the page time, recognize attribute in the page be password < Input > label.
Step S320, it is hiding for loading a default property in the position that<input>label that attribute is password is corresponding The web page joint of dummy keyboard icon.
In the present invention, load concealed nodes refer to load in the page page javascript access less than shadow Node, when the page loads, can not show this node.
Step S330, page process detection attribute is the focus event of<input>label of password.
Focus event refers to that password box is clicked on or obtains focus due to operations such as TAB key switchings.Page process is led to Cross the monitoring click event to webpage input element, or by monitoring, the TAB key handover event of webpage input element is examined Survey focus event.
When focus event does not occurs, the web page joint of dummy keyboard icon does not shows, so, does not affect adding of parent page Carrying, only when user clicks on or is switched to password box, just show dummy keyboard icon, this can be avoided causing user as far as possible Interference.
Step S340, is revised as showing by hiding by the attribute of the web page joint that default property is hiding dummy keyboard icon Show.
The nodal community of dummy keyboard icon hidden by amendment makes dummy keyboard icon show to add with web page joint Carry corresponding position, position, such as, the right side edge position in input frame region.
Step S350, trigger event, to the trigger event of dummy keyboard icon, is notified to browser by page process detection Host process.
Step S360, browser host process starts a window display dummy keyboard.
Step S370, browser host process receives the input letter inputting the click behavior of specific character on dummy keyboard Breath.
Step S380, input information is encoded by browser host process by predefined form.
Step S390, the input information after coding is encrypted by browser host process, and school encryption formed Test value to add in self-defined process message.
Step S3100, browser host process will be compiled by the self-defined process message consulted in advance between page process Input information after Ma notifies to page process.
Step S3110, input information is written in<input>label by page process.
The specific implementation process of step S350-S3110 can be found in step S230-S290 of an embodiment, the most no longer Repeat.
The method provided according to the above embodiment of the present invention, page process loads one in the position that webpage input element is corresponding Attribute is the web page joint of hiding dummy keyboard icon, when this web page joint becomes focus event, then is shown by this node In the page.Then, notified by browser internal process, the mode such as self-defined process message, utilize dummy keyboard to obtain and use Family input information.This mode is without physical keyboard, therefore, it is impossible to pass through in capturing operation system relevant with keyboard operation Function obtains keyboard input information.The dummy keyboard node hidden does not shows when the page loads, and decreases the normal page The interference of function, and, self-defining coded system and process message further enhancing safety.
Fig. 4 shows the structured flowchart of browser device according to an embodiment of the invention, as shown in Figure 4, device bag Include:
Page scheduler module 410 and browser host process module 420.
Wherein, page scheduler module 410 includes:
Load-on module 4101, is suitable to, when the page process of browser loads the page, recognize pending input in the page Webpage input element, load the web page joint of a dummy keyboard icon in the position that webpage input element is corresponding.
Webpage input element includes the Text Entry of different attribute, is shown as password box in the page, search box etc., on Stating input element in html file corresponding to different types of web page joint, such as, password box corresponding to attribute is <input>label of password, search box corresponds to<input>label etc. that attribute is text.Specifically, load-on module 4101 by identifying that in the page, attribute is<input>label of password, identifies cryptographic node.
Alternatively, the position corresponding to the load-on module 4101 right side in the input frame region that webpage input element is corresponding Load the web page joint of a dummy keyboard icon.
Detection module 4102, is adapted to detect for the trigger event of dummy keyboard icon, notifies trigger event to browser Host process module.
The trigger event of dummy keyboard icon includes the mouse click event to dummy keyboard icon corresponding node, it is also possible to It is other self-defining trigger events, the most self-defining quick triggering key.
Writing module 4103, is suitable to be written in webpage input element the input information utilizing dummy keyboard to input.
Browser host process module 420 includes:
Display module 4201, is suitable to after receiving trigger event, starts a window display dummy keyboard.
Input module 4202, is suitable to receive the input information utilizing dummy keyboard to input.
Input module 4202 is particularly adapted to: receive the input letter inputting the click behavior of specific character on dummy keyboard Breath.
Notification module 4203, is suitable to notify input information to page scheduler module.
Notification module 4203 is particularly adapted to: encode input information by predefined form, by with page process Between the self-defined process message consulted in advance the input information after coding is notified to page process.
The browser device provided according to the above embodiment of the present invention, load-on module is in position corresponding to webpage input element Load the web page joint of a dummy keyboard icon, when detection module detects the trigger event to dummy keyboard icon, will trigger Event notifies to browser host process module, browser host process module to start a window display dummy keyboard, receive and utilize The input information of dummy keyboard input, notifies input information to page process;Input information is written to by page scheduler module In webpage input element.According to the program, browser is that whole page provides general dummy keyboard, information input be not required to through Cross physical keyboard, it is to avoid stolen by Key Logger;During what dummy keyboard received is input to write input element Information is mutual, all occurring at browser inside, it is impossible to intercepted and captured by external program, has higher safety, it is to avoid user Owing to personal information is stolen and suffer a loss.
Fig. 5 shows the structured flowchart of browser device according to an embodiment of the invention, as it is shown in figure 5, device bag Include:
Page scheduler module 510 and browser host process module 520.
Wherein, page scheduler module 510 includes:
Load-on module 5101, is suitable to, when the page process of browser loads the page, recognize pending input in the page Webpage input element, load the web page joint of a dummy keyboard icon in the position that webpage input element is corresponding.
The webpage input element of pending input in the page includes: the cryptographic node in the page, and load-on module 5101 passes through Identify that in the page, attribute is<input>label of password, identifies cryptographic node.
In the present embodiment, load-on module 5101 loads an acquiescence genus in the position that the webpage input elements such as password box are corresponding Property is the web page joint of hiding dummy keyboard icon, and specifically, load-on module 5101 is in input corresponding to webpage input element The position corresponding to right side in frame region loads the web page joint that this default property is hiding dummy keyboard icon.
Load concealed nodes refer to load in the page javascript access less than shadow node, the page loads Time, can not show this node.
Focus module 5104, the default property being suitable to be loaded by load-on module 5101 is the net of hiding dummy keyboard icon The attribute of page node is revised as display by hiding so that the right side in the input frame region that webpage input element is corresponding on the page Demonstrate dummy keyboard icon.
Specifically, focus module 5104 is by detecting the click event to described webpage input element, or detection is to described The focus event of the TAB key handover event detection webpage input element of webpage input element.
When focus module 5104 is not detected by focus event, the web page joint of dummy keyboard icon does not shows, does not affect former The loading of the beginning page, this can be avoided interfering user as far as possible.
Detection module 5102, is adapted to detect for the trigger event of dummy keyboard icon, notifies trigger event to browser Host process module.
Writing module 5103, is suitable to be written in webpage input element the input information utilizing dummy keyboard to input.
Browser host process module 520 includes:
Display module 5201, is suitable to after receiving trigger event, starts a window display dummy keyboard.
Input module 5202, is suitable to receive the input information utilizing dummy keyboard to input.
Input module 5202 is particularly adapted to: receive the input letter inputting the click behavior of specific character on dummy keyboard Breath.
Notification module 5203, is suitable to notify input information to page scheduler module.
Notification module 5203 is particularly adapted to: encode input information by predefined form, by with page process Between the self-defined process message consulted in advance the input information after coding is notified to page process.
Encrypting module 5204, is suitable to be encrypted the input information after coding, and check value encryption formed Add in described self-defined process message.Such as, being encrypted by modes such as MD5, DSA, then, notification module 5203 will encryption The check value formed adds in self-defined process message.
The browser device provided according to the above embodiment of the present invention, page scheduler module is corresponding at webpage input element Position loads the web page joint that an attribute is hiding dummy keyboard icon, according to focus module, when this web page joint becomes burnt During point event, this node is being shown in the page.Then, notified by browser internal process, self-defined process message etc. Mode, utilizes dummy keyboard to obtain user's input information.The dummy keyboard node hidden does not shows when the page loads, and decreases Interference to user, and, self-defining coded system and process message, and encrypting module further enhancing safety.
Algorithm and display are not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant provided herein. Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system Structure be apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use various Programming language realizes the content of invention described herein, and the description done language-specific above is to disclose this Bright preferred forms.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case of not having these details.In some instances, it is not shown specifically known method, structure And technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that one or more in order to simplify that the disclosure helping understands in each inventive aspect, exist Above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.But, the method for the disclosure should not be construed to reflect an intention that i.e. required guarantor The application claims feature more more than the feature being expressly recited in each claim protected.More precisely, as following Claims reflected as, inventive aspect is all features less than single embodiment disclosed above.Therefore, The claims following detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each claim itself All as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment adaptively Change and they are arranged in one or more equipment different from this embodiment.Can be the module in embodiment or list Unit or assembly are combined into a module or unit or assembly, and can put them in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit excludes each other, can use any Combine all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint Where method or all processes of equipment or unit are combined.Unless expressly stated otherwise, this specification (includes adjoint power Profit requires, summary and accompanying drawing) disclosed in each feature can be carried out generation by providing identical, equivalent or the alternative features of similar purpose Replace.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include other embodiments Some feature included by rather than further feature, but the combination of the feature of different embodiment means to be in the present invention's Within the scope of and form different embodiments.Such as, in the following claims, embodiment required for protection appoint One of meaning can mode use in any combination.
The all parts embodiment of the present invention can realize with hardware, or to run on one or more processor Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that and can use in practice Microprocessor or digital signal processor (DSP) realize some in browser device according to embodiments of the present invention or All some or all functions of parts.The present invention is also implemented as the part for performing method as described herein Or whole equipment or device program (such as, computer program and computer program).Such realize the present invention Program can store on a computer-readable medium, or can be to have the form of one or more signal.Such letter Number can download from internet website and to obtain, or provide on carrier signal, or provide with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of not Arrange element in the claims or step.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such Element.The present invention and can come real by means of including the hardware of some different elements by means of properly programmed computer Existing.If in the unit claim listing equipment for drying, several in these devices can be by same hardware branch Specifically embody.Word first, second and third use do not indicate that any order.These word explanations can be run after fame Claim.
The invention discloses:
A1, a kind of method carrying out information input in a browser, including:
When the page process of browser loads the page, recognize the webpage input element of pending input in the page, The position that described webpage input element is corresponding loads the web page joint of a dummy keyboard icon;
Page process detection to the trigger event of described dummy keyboard icon, described trigger event is notified to described in browse Device host process, is started a window display dummy keyboard by described browser host process;
Described browser host process receives the input information utilizing described dummy keyboard to input, and described input information is notified To described page process;
Described input information is written in webpage input element by described page process.
A2, according to the method described in A1, wherein, the described position corresponding at described webpage input element loads a virtual key The web page joint of tray icon is particularly as follows: loading a default property in the position that described webpage input element is corresponding is hiding virtual The web page joint of keyboard icon;
Before described page process detection to the web page joint trigger event of described dummy keyboard icon, described method is entered One step includes:
Described page process detection is to the focus event of described webpage input element, according to described focus event, by described Default property is that the attribute of the web page joint of hiding dummy keyboard icon is revised as display by hiding so that on the page Demonstrate dummy keyboard icon.
A3, according to the method described in A1, wherein, when the described page process at browser loads the page, recognize the page In pending input webpage input element particularly as follows: browser page process load the page time, recognize in the page belong to Property is<input>label of password.
A4, according to the method described in A1, wherein, the described position corresponding at webpage input element loads a dummy keyboard figure Target web page joint is particularly as follows: the position corresponding to right side in the input frame region that described webpage input element is corresponding loads The web page joint of one dummy keyboard icon.
A5, according to the method described in A2, wherein, the described position corresponding at webpage input element loads a dummy keyboard figure Target web page joint is particularly as follows: the position corresponding to right side in the input frame region that described webpage input element is corresponding loads One default property is the web page joint of hiding dummy keyboard icon;
Described page process by the attribute of web page joint that described default property is hiding dummy keyboard icon by hiding It is revised as display so that demonstrate dummy keyboard icon on the page particularly as follows: described acquiescence is belonged to by described page process Property be hiding dummy keyboard icon web page joint attribute by hide be revised as display so that the most described net Right side in the input frame region that page input element is corresponding demonstrates dummy keyboard icon.
A6, according to the method described in A2, wherein, described page process detection is to the focus event of described webpage input element Farther include:
Described page process detection is to the click event to described webpage input element;
Or, described page process detection is to the TAB key handover event to described webpage input element.
A7, according to the method described in any one of A1-A6, wherein, described browser host process receive utilize described virtual key The input information of dish input, notifies described input information to farther include to described page process:
Described browser host process receives the input information inputting the click behavior of specific character on dummy keyboard;
Described input information is encoded by described browser host process by predefined form;
After described browser host process will be encoded by the self-defined process message consulted in advance between page process Input information notifies to page process.
A8, according to the method described in A7, wherein, described browser host process by predefined form to described input letter After breath encodes, described method also includes: the input information after coding is encrypted by described browser host process, And the check value that encryption is formed is added in described self-defined process message.
B9, a kind of browser device, comprising: page scheduler module and browser host process module;
Described page scheduler module includes:
Load-on module, is suitable to, when the page process of browser loads the page, recognize the net of pending input in the page Page input element, loads the web page joint of a dummy keyboard icon in the position that described webpage input element is corresponding;
Detection module, is adapted to detect for the trigger event of described dummy keyboard icon, notifies described trigger event to institute State browser host process module;
Writing module, is suitable to be written in described webpage input element the input information utilizing dummy keyboard to input;
Described browser host process module includes:
Display module, is suitable to after receiving described trigger event, starts a window display dummy keyboard;
Input module, is suitable to receive the input information utilizing described dummy keyboard to input;
Notification module, is suitable to notify described input information to described page scheduler module.
B10, according to the browser device described in B9, wherein, described load-on module is particularly adapted to: described webpage input unit The position that element is corresponding loads the web page joint that a default property is hiding dummy keyboard icon;
Described page scheduler module also includes: focus module, is adapted to detect for the focus event of described webpage input element, root According to described focus event, the attribute of the web page joint that described default property is hiding dummy keyboard icon is revised as by hiding Display so that demonstrate dummy keyboard icon on the page.
B11, according to the browser device described in B9, wherein, described load-on module is particularly adapted to: recognize attribute in the page <input>label for password.
B12, according to the browser device described in B9, wherein, described load-on module is particularly adapted to: described webpage input unit The position corresponding to right side in the input frame region that element is corresponding loads the web page joint of a dummy keyboard icon.
B13, according to the browser device described in B10, wherein, described load-on module is particularly adapted to: input at described webpage It is hiding dummy keyboard icon that the position corresponding to right side in the input frame region that element is corresponding loads a default property Web page joint;
Described focus module is particularly adapted to: by the genus of web page joint that described default property is hiding dummy keyboard icon Property by hide be revised as display so that the right side in the input frame region that the most described webpage input element is corresponding show Dummy keyboard icon is shown.
B14, according to the browser device described in B10, wherein, described focus module is particularly adapted to:
The click event to described webpage input element detected;
Or, the TAB key handover event to described webpage input element detected.
B15, according to the browser device described in any one of B9-B14, wherein, described input module is particularly adapted to: it is right to receive The click behavior of specific character on dummy keyboard and the input information that inputs;
Described notification module is particularly adapted to: encode described input information by predefined form, by with the page Input information after coding is notified to page process by the self-defined process message consulted in advance between process.
B16, according to the browser device described in B15, wherein, described browser host process module also includes: encrypting module, Be suitable to the input information after coding is encrypted, and the check value that encryption is formed is added to described self-defined process disappears In breath.

Claims (16)

1. the method carrying out information input in a browser, including:
When the page process of browser loads the page, recognize the webpage input element of pending input in the page, described The position that webpage input element is corresponding loads the web page joint of a dummy keyboard icon;
Described trigger event, to the trigger event of described dummy keyboard icon, is notified to described browser master by page process detection Process, is started a window display dummy keyboard by described browser host process;
Described browser host process receives the input information utilizing described dummy keyboard to input, and notifies described input information to institute State page process;
Described input information is written in webpage input element by described page process.
Method the most according to claim 1, wherein, it is virtual that the described position corresponding at described webpage input element loads one The web page joint of keyboard icon is particularly as follows: loading a default property in the position that described webpage input element is corresponding is hiding void Intend the web page joint of keyboard icon;
Before described page process detection to the web page joint trigger event of described dummy keyboard icon, described method is further Including:
Described page process detection is to the focus event of described webpage input element, according to described focus event, by described acquiescence Attribute is that the attribute of the web page joint of hiding dummy keyboard icon is revised as display by hiding so that show on the page Go out dummy keyboard icon.
Method the most according to claim 1, wherein, when the described page process at browser loads the page, recognizes page The webpage input element of pending input in face is particularly as follows: when the page process of browser loads the page, recognize in the page Attribute is<input>label of password.
Method the most according to claim 1, wherein, the described position corresponding at webpage input element loads a dummy keyboard The web page joint of icon is particularly as follows: the position corresponding to right side in the input frame region that described webpage input element is corresponding adds Carry the web page joint of a dummy keyboard icon.
Method the most according to claim 2, wherein, the described position corresponding at webpage input element loads a dummy keyboard The web page joint of icon is particularly as follows: the position corresponding to right side in the input frame region that described webpage input element is corresponding adds Carry the web page joint that a default property is hiding dummy keyboard icon;
Described page process by the attribute of web page joint that described default property is hiding dummy keyboard icon by hiding amendment For display so that demonstrate dummy keyboard icon on the page particularly as follows: described default property is by described page process The attribute of the web page joint of the dummy keyboard icon hidden is revised as display by hiding so that the most described webpage is defeated The right side entered in the input frame region that element is corresponding demonstrates dummy keyboard icon.
Method the most according to claim 2, wherein, described page process detection is to the focus thing of described webpage input element Part farther includes:
Described page process detection is to the click event to described webpage input element;
Or, described page process detection is to the TAB key handover event to described webpage input element.
7. according to the method described in any one of claim 1-6, wherein, described browser host process receives and utilizes described virtual key The input information of dish input, notifies described input information to farther include to described page process:
Described browser host process receives the input information inputting the click behavior of specific character on dummy keyboard;
Described input information is encoded by described browser host process by predefined form;
Described browser host process by the self-defined process message consulted in advance between page process by the input after coding Information notifies to page process.
Method the most according to claim 7, wherein, in described browser host process by predefined form to described input After information encodes, described method also includes: described browser host process is encrypted place to the input information after coding Reason, and the check value that encryption is formed is added in described self-defined process message.
9. a browser device, comprising: page scheduler module and browser host process module;
Described page scheduler module includes:
Load-on module, is suitable to, when the page process of browser loads the page, recognize the webpage of pending input in the page defeated Enter element, load the web page joint of a dummy keyboard icon in the position that described webpage input element is corresponding;
Detection module, is adapted to detect for the trigger event of described dummy keyboard icon, notifies described trigger event to described clear Look at device host process module;
Writing module, is suitable to be written in described webpage input element the input information utilizing dummy keyboard to input;
Described browser host process module includes:
Display module, is suitable to after receiving described trigger event, starts a window display dummy keyboard;
Input module, is suitable to receive the input information utilizing described dummy keyboard to input;
Notification module, is suitable to notify described input information to described page scheduler module.
Browser device the most according to claim 9, wherein, described load-on module is particularly adapted to: input at described webpage The position that element is corresponding loads the web page joint that a default property is hiding dummy keyboard icon;
Described page scheduler module also includes: focus module, is adapted to detect for the focus event of described webpage input element, according to institute State focus event, be revised as showing by hiding by the attribute of the web page joint that described default property is hiding dummy keyboard icon Show so that demonstrate dummy keyboard icon on the page.
11. browser devices according to claim 9, wherein, described load-on module is particularly adapted to: recognizes in the page and belongs to Property is<input>label of password.
12. browser devices according to claim 9, wherein, described load-on module is particularly adapted to: input at described webpage The position corresponding to right side in the input frame region that element is corresponding loads the web page joint of a dummy keyboard icon.
13. browser devices according to claim 10, wherein, described load-on module is particularly adapted to: defeated at described webpage Enter the position corresponding to right side in the input frame region that element is corresponding loading a default property is hiding dummy keyboard icon Web page joint;
Described focus module is particularly adapted to: by the attribute of web page joint that described default property is hiding dummy keyboard icon by Hide and be revised as display so that the right side in the input frame region that the most described webpage input element is corresponding demonstrates Dummy keyboard icon.
14. browser devices according to claim 10, wherein, described focus module is particularly adapted to:
The click event to described webpage input element detected;
Or, the TAB key handover event to described webpage input element detected.
15. according to the browser device described in any one of claim 9-14, and wherein, described input module is particularly adapted to: receive The input information that the click behavior of specific character on dummy keyboard is inputted;
Described notification module is particularly adapted to: encode described input information by predefined form, by with page process Between the self-defined process message consulted in advance the input information after coding is notified to page process.
16. browser devices according to claim 15, wherein, described browser host process module also includes: encryption mould Block, be suitable to coding after input information be encrypted, and by encryption formed check value add to described self-defined enter In journey message.
CN201410281273.8A 2014-06-20 2014-06-20 A kind of method carrying out information input in a browser and browser device Active CN104063673B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410281273.8A CN104063673B (en) 2014-06-20 2014-06-20 A kind of method carrying out information input in a browser and browser device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410281273.8A CN104063673B (en) 2014-06-20 2014-06-20 A kind of method carrying out information input in a browser and browser device

Publications (2)

Publication Number Publication Date
CN104063673A CN104063673A (en) 2014-09-24
CN104063673B true CN104063673B (en) 2016-12-07

Family

ID=51551380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410281273.8A Active CN104063673B (en) 2014-06-20 2014-06-20 A kind of method carrying out information input in a browser and browser device

Country Status (1)

Country Link
CN (1) CN104063673B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361082A (en) * 2014-11-07 2015-02-18 北京奇虎科技有限公司 Method and device for displaying specified element in web page in browser
CN107203708A (en) * 2016-03-18 2017-09-26 北京金山安全软件有限公司 Safety input protection method and device and electronic equipment
CN105912348A (en) * 2016-06-02 2016-08-31 浪潮软件集团有限公司 Method for self-adapting position of mobile phone APP software text box along with soft keyboard
CN108845924B (en) * 2017-05-10 2021-04-23 平安科技(深圳)有限公司 Control response area display control method, electronic device, and storage medium
CN108132755A (en) * 2018-01-18 2018-06-08 北京网信云服信息科技有限公司 A kind of digital input method, device and mobile equipment
CN109587116A (en) * 2018-11-06 2019-04-05 交通银行股份有限公司 Guard method, client and the browser of browser input information
CN111143867B (en) * 2019-12-28 2023-01-17 飞天诚信科技股份有限公司 Safety input method and system applied to Mac platform
CN112988154A (en) * 2021-03-19 2021-06-18 武汉虹信技术服务有限责任公司 JavaScript-based reusable virtual keyboard implementation method and application thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472655A (en) * 2002-07-31 2004-02-04 网元国际金流股份有限公司 System and method for inputting and delivering user personal data to servo with safe style
CN101075188A (en) * 2006-05-17 2007-11-21 联想(北京)有限公司 Safety inputting method based on virtual machine
CN102043786A (en) * 2009-10-14 2011-05-04 英业达股份有限公司 Browsing system for configuring shortcut key for page converting element and method thereof
CN102981846A (en) * 2012-11-13 2013-03-20 北京奇虎科技有限公司 Method for treating password input box element and browser for treating the password input box element
CN102999613A (en) * 2012-11-28 2013-03-27 北京奇虎科技有限公司 Method and device for loading tool window in browser
CN103164650A (en) * 2013-03-26 2013-06-19 北京奇虎科技有限公司 Implementation method of browser side security control and browser

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7634738B2 (en) * 2004-11-19 2009-12-15 Microsoft Corporation Systems and methods for processing input data before, during, and/or after an input focus change event

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472655A (en) * 2002-07-31 2004-02-04 网元国际金流股份有限公司 System and method for inputting and delivering user personal data to servo with safe style
CN101075188A (en) * 2006-05-17 2007-11-21 联想(北京)有限公司 Safety inputting method based on virtual machine
CN102043786A (en) * 2009-10-14 2011-05-04 英业达股份有限公司 Browsing system for configuring shortcut key for page converting element and method thereof
CN102981846A (en) * 2012-11-13 2013-03-20 北京奇虎科技有限公司 Method for treating password input box element and browser for treating the password input box element
CN102999613A (en) * 2012-11-28 2013-03-27 北京奇虎科技有限公司 Method and device for loading tool window in browser
CN103164650A (en) * 2013-03-26 2013-06-19 北京奇虎科技有限公司 Implementation method of browser side security control and browser

Also Published As

Publication number Publication date
CN104063673A (en) 2014-09-24

Similar Documents

Publication Publication Date Title
CN104063673B (en) A kind of method carrying out information input in a browser and browser device
US10834102B2 (en) Client-side attack detection in web applications
Gupta et al. Cross-site scripting (XSS) abuse and defense: exploitation on several testing bed environments and its defense
US10432662B2 (en) Method and system for blocking malicious third party site tagging
CN104685510B (en) Recognition application whether be rogue program method, system and storage medium
US11586881B2 (en) Machine learning-based generation of similar domain names
CN104065633B (en) A kind of proof diagram that utilizes carries out method, the Apparatus and system verified
Senanayake et al. Android source code vulnerability detection: a systematic literature review
CN104115117A (en) Automatic synthesis of unit tests for security testing
Shahriar et al. Effective detection of vulnerable and malicious browser extensions
Zhang et al. Attacks on android clipboard
Kalysch et al. How android's UI security is undermined by accessibility
CN105164691A (en) Optimizing test data payload selection for testing computer software applications using computer networks
Amrutkar et al. VulnerableMe: Measuring systemic weaknesses in mobile browser security
Akram et al. How to build a vulnerability benchmark to overcome cyber security attacks
CN106250761B (en) Equipment, device and method for identifying web automation tool
WO2023053101A1 (en) Systems and methods for malicious code neutralization in execution environments
Lin et al. Phish in sheep's clothing: Exploring the authentication pitfalls of browser fingerprinting
Shah et al. Evaluating effectiveness of mobile browser security warnings
Dudheria Evaluating features and effectiveness of secure QR code scanners
JP5441043B2 (en) Program, information processing apparatus, and information processing method
Heartfield et al. Protection against semantic social engineering attacks
Fowdur et al. A real-time machine learning application for browser extension security monitoring
CN103514403B (en) Method and device for conducting safety protection actively in JS
Yadav et al. A Review on malware analysis for IoT and android system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220729

Address after: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee after: 3600 Technology Group 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: 20230713

Address after: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: Beijing Hongxiang Technical Service Co.,Ltd.

Address before: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee before: 3600 Technology Group Co.,Ltd.

TR01 Transfer of patent right