CN103389980A - Operating method and device for web page control - Google Patents

Operating method and device for web page control Download PDF

Info

Publication number
CN103389980A
CN103389980A CN201210140119XA CN201210140119A CN103389980A CN 103389980 A CN103389980 A CN 103389980A CN 201210140119X A CN201210140119X A CN 201210140119XA CN 201210140119 A CN201210140119 A CN 201210140119A CN 103389980 A CN103389980 A CN 103389980A
Authority
CN
China
Prior art keywords
hand
mode
event
browser
written control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210140119XA
Other languages
Chinese (zh)
Other versions
CN103389980B (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210140119.XA priority Critical patent/CN103389980B/en
Publication of CN103389980A publication Critical patent/CN103389980A/en
Application granted granted Critical
Publication of CN103389980B publication Critical patent/CN103389980B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an operating method and device for web page control. According to the method, a computer or mobile terminal is enabled to have a handwriting control function, operating modes for element corresponding events in operating web pages are enabled to correspond to set handwriting control operating modes in the handwriting control function, the handwriting control function is loaded when a browser displays a web page, an operating mode for the element corresponding events in the corresponding displayed web page is determined after the handwriting control operating modes input in a handwriting input manner are received and adopted, and the element corresponding events are operated and are completed. Thus, a user can set operating modes for different web page operating functions of different web pages according to own needs, and then, the user experience is improved.

Description

Method of operating and device that a kind of webpage is controlled
Technical field
The present invention relates to computer technology, particularly a kind of method of operating and device of webpage control.
Background technology
, along with the development of computer technology, various types of input modes have appearred, such as handwriting input mode or keyboard entry method etc.The information that adopts various types of input modes to input in computing machine has two kinds of purposes, and a kind of is as text information storage, and another kind is to use as steering order.Adopt certain mode to input such as page turning, advance, retreat and open the instructions such as computer website, just can control the operation in computing machine.
In polytype input mode, a kind of handwriting input mode that is is arranged, this handwriting input mode can directly be completed on the touch-screen of computing machine or mobile terminal, also can adopt the external writing pad of computing machine or mobile terminal to complete., along with the widespread use of touch-screen, by touch-screen, be entered as for popular trend.
When the webpage that adopts the handwriting input mode to browse computing machine or mobile terminal carries out control operation, such as control operation is: page turning, advance, retreat or while opening webpage etc., just need to be by the handwriting pad that is connected with computing machine or mobile terminal, the perhaps touch screen hand-writing of computing machine or mobile terminal input instruction, after computing machine or mobile terminal receive the input instruction, just according to control operation mode corresponding to instruction, webpage is carried out control operation.
Be provided with browser in computing machine or mobile terminal, it has the operation web page function and adopts the handwriting input mode to operate the mode of operation corresponding relation of this webpage function, according to the mode of operation of input mode input at first, and just can the operation web page function.Such as, the operation web page function is for to carry out " advancing ", " retreating " or " page turning " function to webpage, and the mode of operation that adopts the handwriting input mode to operate this webpage function is respectively and clicks sign " advancing " button, clicks sign " retreating " button or clicks sign " page turning " button.When the user adopted the handwriting input mode to click different buttons, browser just can be completed corresponding web page operation.The operation web page function that browser has is that itself arranges, it doesn't matter with shown webpage, that is to say, not simultaneously, it also has identical operation web page function and adopts the handwriting input mode to operate the mode of operation of this webpage function the shown webpage of browser.
Along with the development of internet, web page contents is tending towards diversification,, for different webpages, also needs different modes of operation, at this moment, just need to different web page operation functions be set for different web pages.For example,, for the microblogging webpage, for the operating function of this webpage, " relay " operating function, " sending out microblogging " operating function and " sending out comment " operating function etc. just need to be arranged.In webpage, the web page operation function is called element, the mode of operation that operates this webpage function is event action mode corresponding to this element of operation.The process that different web page operation functions is set for different web pages is:
At first, element is set and operates event action mode corresponding to this element in page script, such as, the corresponding event action mode of " relay " element in webpage and operation " relay " element is for triggering the button of sign " relay ";
Then, the browser resolves page script that computing machine or mobile terminal arrange, pass through displaying web page through browser, such as, web displaying has " relay " button, and prompting is after the user adopts the handwriting input mode to click, namely according to event action mode corresponding to this element to event action corresponding to this element after, just can complete event corresponding to this element, namely relay;
Finally, the user adopts the event action mode that the handwriting input mode just can be corresponding according to each element of the shown webpage of browser, and the event corresponding to element operates, and completes event corresponding to element.
Can find out from such scheme, for different web pages, the different web pages operating function is set and has following problem, page script self setting because different web pages arranges the different web pages operating function, browser can only be resolved different web pages, the mode of operation of the different web pages operating function of different web pages is prompted to the user to be used and can't change, make the user to arrange according to the mode of operation of self-demand to the different web pages operating function of different web pages, reduced user experience.
Summary of the invention
In view of this, the invention provides the method for operating that a kind of webpage is controlled, the method can arrange the mode of operation of the different web pages operating function of different web pages, improves user experience.
The operating means that the present invention also provides a kind of webpage to control, this device can arrange the mode of operation of the different web pages operating function of different web pages, improves user experience.
For achieving the above object, technical scheme of the present invention is achieved in that
The method of operating that a kind of webpage is controlled, arrange hand-written control function, and in this hand-written control function, event action mode that the element in operation web page is corresponding and set hand-written control operation mode are carried out correspondingly, and the method also comprises:
Browser resolves and display web page, load this hand-written control function, after the hand-written control operation mode that reception employing handwriting input mode is inputted, determine event action mode corresponding to element in corresponding shown webpage, the event corresponding to element operates, and completes event corresponding to element.
The method also arranges white list, has stored the web page address information that will use hand-written control function in this white list,
Before the hand-written control function of described loading, the method also comprises:
Determine that the address information of the shown webpage of browser is in set white list.
If determine that the address information of the shown webpage of browser is not in set white list, receive the event action mode that adopts the handwriting input mode to input according to event action mode corresponding to each element of the shown webpage of browser, the event corresponding to element operates, and completes event corresponding to element.
The described event action mode that element in operation web page is corresponding is carried out three elementary field settings of corresponding employing with set hand-written control operation mode, three elementary fields are<component identification, set hand-written control operation mode, the event action mode that element is corresponding 〉.
The operating means that a kind of webpage is controlled, this device comprises: module and judge module are set, wherein,
Module is set, is used for hand-written control function is set, event action mode in this hand-written control function, that the element in operation web page is corresponding is carried out corresponding with set hand-written control operation mode;
The browser control module, after being used for the browser resolves and display web page that arrange, load this hand-written control function, after receiving the user and adopting the hand-written control operation mode that the handwriting input mode inputs, determine event action mode corresponding to element in corresponding shown webpage, the event corresponding to element operates, and completes event corresponding to element.
This device also comprises: judge module, whether be used for to determine the address information of the shown webpage of browser at set white list, and with result feedback to the browser control module;
Module is set, and also the user arranges white list, has stored the web page address information that will use hand-written control function in this white list;
Described browser control module, also be used for receiving the result of judge module feedback: when result is at white list, load this hand-written control function, after the hand-written control operation mode that reception employing handwriting input mode is inputted, determine event action mode corresponding to element in corresponding shown webpage, the event corresponding to element operates, and completes event corresponding to element.
Described browser control module, also be used for when result for not at white list the time, receive the event action mode that adopts the handwriting input mode to input according to event action mode corresponding to each element of the shown webpage of browser, the event corresponding to element operates, and completes event corresponding to element.
As seen from the above technical solutions, the present invention arranges hand-written control function at computing machine or mobile terminal, event action mode in this hand-written control function, that the element in operation web page is corresponding is carried out corresponding with set hand-written control operation mode, when displaying web page through browser, load this hand-written control function, after the hand-written control operation mode that reception employing handwriting input mode is inputted, determine event action mode corresponding to element in corresponding shown webpage, the event corresponding to element operates, and completes event corresponding to element.Like this, make the user to arrange according to the mode of operation of self-demand to the different web pages operating function of different web pages, improve user experience.
Description of drawings
The flow chart that Fig. 1 controls for the webpage that the embodiment of the present invention provides;
The operating means structural representation that Fig. 2 controls for the webpage that the embodiment of the present invention provides;
Fig. 3 shows schematic diagram for the hand-written control operation mode in the microblogging page that the embodiment of the present invention provides.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
in order to make the user to arrange according to the mode of operation of self-demand to the different web pages operating function of different web pages, improve user experience, the present invention arranges hand-written control function at computing machine or mobile terminal, event action mode in this hand-written control function, that the element in operation web page is corresponding is carried out corresponding with set hand-written control operation mode, when displaying web page through browser, load this hand-written control function, after the hand-written control operation mode that reception employing handwriting input mode is inputted, determine event action mode corresponding to element in corresponding shown webpage, the event corresponding to element operates, complete event corresponding to element.
For the mode of operation of the different web pages operating function for different web pages arranges, can also white list be set at computing machine or mobile terminal, stored the web page address information that will use hand-written control function in this white list, when displaying web page through browser, the address information of at first determining shown webpage whether in set white list, if, load this hand-written control function in browser, otherwise, not loading, browser operates webpage according to existing mode.
The flow chart that Fig. 1 controls for the webpage that the embodiment of the present invention provides, hand-written control function is set, in this hand-written control function, event action mode that the element in operation web page is corresponding and set hand-written control operation mode are carried out correspondingly, and its concrete steps are:
After the browser resolves webpage that step 101, computing machine or mobile terminal arrange, display web page in browser;
The address information that step 102, computing machine or mobile terminal are determined the shown webpage of browser whether in set white list, if so, execution step 103; Otherwise, execution step 105;
In this step, at computing machine or mobile terminal, be provided with white list, stored the web page address information that will use hand-written control function in this white list;
Step 103, computing machine or mobile terminal load this hand-written control function at browser, after receiving the user and adopting the hand-written control operation mode that the handwriting input mode inputs, determine event action mode corresponding to element in corresponding shown webpage, the event corresponding to element operates, and completes event corresponding to element;
Step 104, computing machine or mobile terminal receive the event action mode that the user adopts the handwriting input mode to input according to event action mode corresponding to each element of the shown webpage of browser, the event corresponding to element operates, and completes event corresponding to element.
In the method, also can not carry out computing machine or mobile terminal and determine the whether judgement in set white list of address information of the shown webpage of browser, and directly perform step 103.Directly loading this hand-written control function gets final product.
The operating means structural representation that Fig. 2 controls for the webpage that the embodiment of the present invention provides comprises: module, browser control module and judge module are set, wherein,
Module is set, be used for arranging hand-written control function, in this hand-written control function, event action mode that the element in operation web page is corresponding and set hand-written control operation mode are carried out correspondingly, and white list is set, and have stored the web page address information that will use hand-written control function in this white list;
The browser control module, after being used for the browser resolves webpage that arranges, display web page in browser, receive the result of judge module feedback: when result is in white list, load this hand-written control function, after receiving the user and adopting the hand-written control operation mode that the handwriting input mode inputs, determine event action mode corresponding to element in corresponding shown webpage, the event corresponding to element operates, and completes event corresponding to element; For not in white list the time, receive the event action mode that the user adopts the handwriting input mode to input according to event action mode corresponding to each element of the shown webpage of browser when result, the event corresponding to element operates, and completes event corresponding to element;
Whether judge module, be used for determine the address information of the shown webpage of browser at set white list, and with result feedback to the browser control module.
In this apparatus structure, also can not comprise judge module, can carry out hand-written control function to the webpage of all browser display and directly by the browser control module, load this hand-written control function.
In embodiments of the present invention, the core technology of handwriting input mode is the handwriting recognition technology of computing machine or mobile terminal, and this is existing mature technology, repeats no more here.
Below lift an object lesson explanation
At first, hand-written control function is set on computing machine or mobile terminal, event action mode in this hand-written control function, that the element in operation web page is corresponding is carried out corresponding with set hand-written control operation mode, such as, click " relay " element button mode corresponding to " relay " element is set corresponding with set " circle " hand-written control operation mode, storage microblogging web page address information in white list;
in this step, adopt three elementary field event action modes that the element in operation web page is corresponding to carry out corresponding with set hand-written control operation mode, namely<component identification, set hand-written control operation mode, the event action mode that element is corresponding 〉, in webpage, the element that each component identification is corresponding is unique, such as, in the microblogging webpage, the component identification of " relay " element is ' mybuttonid ', corresponding event action mode is just completed the relay event for the button of clicking sign " relay " element, be onclick=' forwardweibo ', set hand-written control operation mode is circle, be designated ' 3 ', like this, three elementary fields are exactly<' mybuttonid ', ' 3 ', ' forwardweibo ' 〉.
Then, after the browser resolves webpage that computing machine or mobile terminal arrange, display web page in browser, shown webpage are meagre webpage;
Again, whether the address information that computing machine or mobile terminal are determined the shown webpage of browser in set white list, determines that namely meagre web page address information is in set white list;
Finally, computing machine or mobile terminal load this hand-written control function at browser, after receiving the user and adopting the hand-written control operation mode that the handwriting input mode inputs, determine event action mode corresponding to element in corresponding shown webpage, the event corresponding to element operates, and completes event corresponding to element;
in this step, as shown in Figure 3, Fig. 3 shows schematic diagram for the hand-written control operation mode in the microblogging page that the embodiment of the present invention provides, at browser display microblogging webpage, the user adopts the handwriting input mode, such as adopting handwriting pad, touch-screen or mouse draw the circle track, corresponding hand-written control operation mode is " 3 ", namely send hand-written control operation order " relay ", at this moment, after the browser of computing machine or mobile terminal receives the hand-written control operation mode of circle, namely ' 3 ', determine that event action mode corresponding to corresponding element is for clicking the button of sign " relay " element, send this event action mode, microblogging is relayed.
The foregoing is only preferred embodiment of the present invention, not be used for limiting protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (7)

1. the method for operating controlled of a webpage, is characterized in that, hand-written control function is set, and in this hand-written control function, event action mode that the element in operation web page is corresponding and set hand-written control operation mode are carried out correspondingly, and the method also comprises:
Browser resolves and display web page, load this hand-written control function, after the hand-written control operation mode that reception employing handwriting input mode is inputted, determine event action mode corresponding to element in corresponding shown webpage, the event corresponding to element operates, and completes event corresponding to element.
2. the method for claim 1, is characterized in that, the method also arranges white list, stored the web page address information that will use hand-written control function in this white list,
Before the hand-written control function of described loading, the method also comprises:
Determine that the address information of the shown webpage of browser is in set white list.
3. the method for claim 1, it is characterized in that, if determine that the address information of the shown webpage of browser is not in set white list, receive the event action mode that adopts the handwriting input mode to input according to event action mode corresponding to each element of the shown webpage of browser, the event corresponding to element operates, and completes event corresponding to element.
4. the described method of claim as arbitrary in claim 1~3, it is characterized in that, the described event action mode that element in operation web page is corresponding is carried out three elementary field settings of corresponding employing with set hand-written control operation mode, three elementary fields are<component identification, set hand-written control operation mode, the event action mode that element is corresponding 〉.
5. the operating means that webpage is controlled, is characterized in that, this device comprises: module and judge module are set, wherein,
Module is set, is used for hand-written control function is set, event action mode in this hand-written control function, that the element in operation web page is corresponding is carried out corresponding with set hand-written control operation mode;
The browser control module, after being used for the browser resolves and display web page that arrange, load this hand-written control function, after receiving the user and adopting the hand-written control operation mode that the handwriting input mode inputs, determine event action mode corresponding to element in corresponding shown webpage, the event corresponding to element operates, and completes event corresponding to element.
6. operating means as claimed in claim 5, is characterized in that, this device also comprises: judge module, whether be used for to determine the address information of the shown webpage of browser at set white list, and with result feedback to the browser control module;
Module is set, and also the user arranges white list, has stored the web page address information that will use hand-written control function in this white list;
Described browser control module, also be used for receiving the result of judge module feedback: when result is at white list, load this hand-written control function, after the hand-written control operation mode that reception employing handwriting input mode is inputted, determine event action mode corresponding to element in corresponding shown webpage, the event corresponding to element operates, and completes event corresponding to element.
7. operating means as claimed in claim 5, it is characterized in that, described browser control module, also be used for when result for not at white list the time, receive the event action mode that adopts the handwriting input mode to input according to event action mode corresponding to each element of the shown webpage of browser, the event corresponding to element operates, and completes event corresponding to element.
CN201210140119.XA 2012-05-08 2012-05-08 The method of operating that a kind of webpage controls and device Active CN103389980B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210140119.XA CN103389980B (en) 2012-05-08 2012-05-08 The method of operating that a kind of webpage controls and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210140119.XA CN103389980B (en) 2012-05-08 2012-05-08 The method of operating that a kind of webpage controls and device

Publications (2)

Publication Number Publication Date
CN103389980A true CN103389980A (en) 2013-11-13
CN103389980B CN103389980B (en) 2016-03-02

Family

ID=49534256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210140119.XA Active CN103389980B (en) 2012-05-08 2012-05-08 The method of operating that a kind of webpage controls and device

Country Status (1)

Country Link
CN (1) CN103389980B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126250A (en) * 2016-06-29 2016-11-16 乐视控股(北京)有限公司 The control method of a kind of webpage and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071361A (en) * 2007-05-31 2007-11-14 腾讯科技(深圳)有限公司 Method and system for self-defining right-clickmenu
CN101454744A (en) * 2006-06-27 2009-06-10 国际商业机器公司 Method, program, and data processing system for modifying shape of display object
CN101551720A (en) * 2008-04-02 2009-10-07 英华达股份有限公司 Method for inputting control command by handheld device and handheld device for inputting control command
CN101763219A (en) * 2010-02-03 2010-06-30 北京优视动景网络科技有限公司 User interface method and device for operating web browser by using touch liquid crystal display (LCD)
US20100277337A1 (en) * 2009-05-01 2010-11-04 Apple Inc. Directional touch remote

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101454744A (en) * 2006-06-27 2009-06-10 国际商业机器公司 Method, program, and data processing system for modifying shape of display object
CN101071361A (en) * 2007-05-31 2007-11-14 腾讯科技(深圳)有限公司 Method and system for self-defining right-clickmenu
CN101551720A (en) * 2008-04-02 2009-10-07 英华达股份有限公司 Method for inputting control command by handheld device and handheld device for inputting control command
US20100277337A1 (en) * 2009-05-01 2010-11-04 Apple Inc. Directional touch remote
CN101763219A (en) * 2010-02-03 2010-06-30 北京优视动景网络科技有限公司 User interface method and device for operating web browser by using touch liquid crystal display (LCD)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126250A (en) * 2016-06-29 2016-11-16 乐视控股(北京)有限公司 The control method of a kind of webpage and device
WO2018000623A1 (en) * 2016-06-29 2018-01-04 乐视控股(北京)有限公司 Webpage operating method and apparatus

Also Published As

Publication number Publication date
CN103389980B (en) 2016-03-02

Similar Documents

Publication Publication Date Title
EP3667520A1 (en) Webpage content extraction method and terminal device
KR101381484B1 (en) Mobile device having a graphic object floating function and execution method using the same
US20150199125A1 (en) Displaying an application image on two or more displays
CN105630327B (en) The method of the display of portable electronic device and control optional element
CN103838505A (en) Method for displaying images of touch control device on external display device
CN102859483A (en) Information processing terminal and control method thereof
KR20140040379A (en) Apparatus and method for processing an applications of mobile terminal
CN101419624A (en) Mobile information device and method for browsing web page
US9612697B2 (en) Touch control method of capacitive and electromagnetic dual-mode touch screen and handheld electronic device
WO2013085528A1 (en) Methods and apparatus for dynamically adapting a virtual keyboard
CN102184255A (en) Method for performing multi-web page browse switching on portable multifunctional equipment and user graphical interface
CN101834941A (en) Method, system and mobile terminal for generating browser page link
CN101840413A (en) Method and device for address bar navigation of browsers
TWI545450B (en) Browser and method for displaying subsites
US20140040797A1 (en) Widget processing method and apparatus, and mobile terminal
CN104199552A (en) Multi-screen display method, device and system
WO2014040469A1 (en) Text selection method and device based on touchscreen type mobile terminal
CN103106011B (en) The visual presentation method applied in mobile terminal and device
CN105630307A (en) Apparatus and method for displaying a plurality of applications on mobile terminal
CN104008114A (en) WAP (wireless application protocol) browser page jumping method and device
CN101493750A (en) Application program control input method and device based on touch screen input
US20180088966A1 (en) Electronic device and method thereof for managing applications
CN102307265A (en) Corresponding operation on left-and-right drag and drop by finger at different window areas of touch screen mobile phone
CN103324390A (en) Interaction method for page browsing, browser device and mobile terminal
CN103593132A (en) Touch device and gesture recognition method

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
TR01 Transfer of patent right

Effective date of registration: 20190808

Address after: 518057 Nanshan District science and technology zone, Guangdong, Zhejiang Province, science and technology in the Tencent Building on the 1st floor of the 35 layer

Co-patentee after: Tencent cloud computing (Beijing) limited liability company

Patentee after: Tencent Technology (Shenzhen) Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518044 Zhenxing Road, SEG Science Park 2 East Room 403

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.