CN110007842A - Web page contents choosing method and device - Google Patents
Web page contents choosing method and device Download PDFInfo
- Publication number
- CN110007842A CN110007842A CN201910312561.8A CN201910312561A CN110007842A CN 110007842 A CN110007842 A CN 110007842A CN 201910312561 A CN201910312561 A CN 201910312561A CN 110007842 A CN110007842 A CN 110007842A
- Authority
- CN
- China
- Prior art keywords
- webpage
- page
- terminal
- location information
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides a kind of web page contents choosing method and device, is related to Internet technical field.The web page contents choosing method includes: the click commands for receiving the terminal webpage page, click commands include the location information to terminal webpage page click location, determine the corresponding Webpage element of location information, obtain the corresponding network information of Webpage element, the network information includes following one or more: the type of the fundamental type mark of Webpage element, location information and content is enumerated.This method is when user needs to choose specific Webpage element, it is only necessary to which user directly clicks its particular webpage page elements for wanting to choose in the terminal of browsable webpage, easy to operate, improves versatility.
Description
Technical field
The present invention relates to Internet technical fields, in particular to a kind of web page contents choosing method and device.
Background technique
In Internet application technology, it is sometimes desirable to carry out repeatedly mentioning for not timing to the content of specific position on webpage
It takes, such as: title, picture, time, video or comment etc., so that further the content got is saved or analyzed,
Application especially in internet crawler technology is especially extensive.
However, in the prior art, for the extracting mode of web page contents, being mentioned generally by the mode of programming language
It takes, mode of operation is complicated.
Summary of the invention
It is an object of the present invention in view of the deficiency of the prior art, provide a kind of web page contents choosing method and
Device, it is complicated for operation to solve the problems, such as.
To achieve the above object, technical solution used in the embodiment of the present invention is as follows:
In a first aspect, the embodiment of the invention provides a kind of web page contents choosing methods, which comprises receive terminal
The click commands of Webpage, the click commands include the location information to the terminal webpage page click location, are determined
The corresponding Webpage element of the location information obtains the corresponding network information of the Webpage element, the network letter
Breath includes following one or more: the type of the fundamental type of Webpage element mark, location information and content is enumerated.
In a kind of implementation, before the click commands for receiving the terminal webpage page, further includes: receive user's input
Log-on message, the log-on message includes: user identifier, to server send logging request, the logging request includes institute
Log-on message is stated, receive the server transmission logins successfully response.
In a kind of implementation, after the corresponding Webpage element of the determination location information, further includes: to institute
It states server and sends the inquiry of historical data request, the inquiry of historical data request includes: the user identifier and the net
The corresponding banner of page page elements, receives the historical data that the server is sent according to the banner, described to go through
History data include: the corresponding history web pages page elements of the banner that history is chosen, and it is corresponding to inquire the banner
History web pages page elements in whether include the corresponding Webpage element of the location information.
It is described to obtain the corresponding network information of the Webpage element, comprising: if the webpage in a kind of implementation
It identifies and does not include the corresponding Webpage element of the location information in corresponding history web pages page elements, then obtain the net
The corresponding network information of page page elements.
In a kind of implementation, after the corresponding Webpage element of the determination location information, further includes: generate
The Webpage element is corresponding to choose mark;Mark is chosen described in display on the terminal webpage page, wherein described
Mark is chosen to select the corresponding Webpage element of the location information for frame on the terminal webpage page.
Second aspect, the embodiment of the invention also provides a kind of Web page content selecting device, described device includes: reception mould
Block, determining module and acquisition module, the receiving module, for receiving the click commands of the terminal webpage page, the click refers to
Order includes the location information to the terminal webpage page click location, the determining module, for determining the location information
Module user is obtained described in corresponding Webpage element, the acquisition module is corresponding for obtaining the Webpage element
The network information, the network information includes following one or more: the fundamental type of Webpage element mark, location information
It is enumerated with the type of content.
In a kind of implementation, described device further includes login module, described for receiving the log-on message of user's input
Log-on message includes: user identifier, sends logging request to server, and the logging request includes the log-on message, is received
What the server was sent logins successfully response.
In a kind of implementation, the determining module is also used to send the inquiry of historical data request, institute to the server
Stating the inquiry of historical data request includes: the user identifier and the corresponding banner of the Webpage element, receives institute
The historical data that server is sent according to the banner is stated, the historical data includes: the webpage mark that history is chosen
Know corresponding history web pages page elements, whether inquires in the corresponding history web pages page elements of the banner comprising described
The corresponding Webpage element of location information.
In a kind of implementation, if the acquisition module is specifically used for the corresponding history web pages page member of the banner
Do not include the corresponding Webpage element of the location information in element, then obtains the corresponding network letter of the Webpage element
Breath.
In a kind of implementation, described device further includes display module, corresponding for generating the Webpage element
Mark is chosen, chooses mark described in display on the terminal webpage page, wherein is described to choose mark in the terminal webpage
The corresponding Webpage element of the location information is selected for frame on the page.
The beneficial effects of the present invention are: click commands of the web page contents choosing method by the reception terminal webpage page,
Wherein, click commands include the location information to terminal webpage page click location, determine the corresponding Webpage of location information
Element obtains the corresponding network information of Webpage element, and the network information includes following one or more: Webpage element
The type of fundamental type mark, location information and content is enumerated, and this method needs to choose specific Webpage element in user
When, it is only necessary to user directly clicks i.e. its particular webpage page elements for wanting to choose in the terminal of browsable webpage
Can, it is easy to operate, improve versatility.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of application scenarios schematic diagram for Web content choosing method that the application first embodiment provides;
Fig. 2 is a kind of flow diagram for web page contents choosing method that the application second embodiment provides;
Fig. 3 is a kind of user's login process schematic diagram for web page contents choosing method that the application second embodiment provides;
Fig. 4 is the flow diagram for another web page contents choosing method that the application second embodiment provides;
Fig. 5 is the flow diagram for another web page contents choosing method that the application second embodiment provides;
Fig. 6 is display schematic diagram before a kind of selection web page contents that the application second embodiment provides;
Fig. 7 is display schematic diagram after a kind of selection web page contents that the application second embodiment provides;
Fig. 8 is a kind of schematic diagram for Web page content selecting device that the application 3rd embodiment provides;
Fig. 9 is the structural schematic diagram for a kind of electronic equipment that the application fourth embodiment provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it should be understood that attached drawing in the application
The purpose of illustration and description is only played, is not used to limit the protection scope of the application.In addition, it will be appreciated that schematical attached
Figure does not press scale.Process used herein shows the behaviour realized according to some embodiments of the present application
Make.It should be understood that the operation of flow chart can be realized out of order, the step of context relation of logic can not inverted suitable
Sequence is implemented simultaneously.In addition, those skilled in the art are under the guide of teachings herein, can be added to flow chart one or
Other multiple operations, can also remove one or more operations from flow chart.
In addition, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually exist
The component of the embodiment of the present application described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed the application's to the detailed description of the embodiments herein provided in the accompanying drawings below
Range, but it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not being done
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
In order to enable those skilled in the art are able to use teachings herein, in conjunction with " the web page contents choosing of specific application scene
Take ", provide following implementation.To those skilled in the art, the case where not departing from spirit and scope
Under, the General Principle defined here can be applied to other embodiments and application scenarios.Although the application is mainly around request
Batch processing is described, it should be appreciated that, this is only an exemplary embodiment.
It should be noted that term " includes " will be used in the embodiment of the present application, for pointing out the spy stated thereafter
The presence of sign, but the other features of increase are not precluded.
First embodiment
Fig. 1 is a kind of application scenarios schematic diagram for Web content choosing method that the application first embodiment provides, such as Fig. 1
It is shown, it may include the terminal devices such as arbitrary smart phone 1, computer 2 or tablet computer 3 in the application scenarios, as long as
The terminal is established by network 4 and server 5 and is communicated to connect, to carry out data communication by the terminal that may browse through webpage
Or interaction etc..
Wherein, the command information that choose Webpage content can be used into visual computer applied algorithm in the terminal
The modes such as the interface of (Application, abbreviation APP) form, the interface of card format or website links will be performed in terminal
Order visualization, server 5 is sent for the data information after execution by network 4, the network 4 can be wireless network or
The communication modes such as cable network may include processor and the current place of storage of the data that processing terminal is sent in the server 5
The memory of the data of reason the operation such as is handled and is calculated by the data that server 5 sends the terminal that receives, then will
This processed data are sent to terminal device and check for the user of using terminal.
Second embodiment
Fig. 2 is a kind of flow diagram for web page contents choosing method that the application second embodiment provides, such as Fig. 2 institute
Show, this method comprises:
S101, the click commands for receiving the terminal webpage page, click commands include to terminal webpage page click location
Location information.
Specifically, after user enters the Web page the page at the terminal, if to choose some webpages on Webpage
Page elements, such as: choose the corresponding Type of website of Webpage element, news type, article title, time, source, source mark
Arbitrary element in topic and participation number sets its terminal to choose the mode of web page contents, at this point, user clicks terminal network
The position that choose element on page, so that it may the selection operation for carrying out web page contents, when user chooses the operation of web page contents
It after end, and can be re-set as only browsing the mode of webpage, at this point, the position in webpage clicking can only be browsing net
Page.Wherein it is possible to enter the mode for choosing web page contents after logging in relevant Webpage selection APP.
Therefore, when being set as choosing the mode of web page contents, terminal device detects that the click commands of user are to net
The selection operation of content on page, at this point, user is by clicking the corresponding position of webpage page elements on the webpage to be chosen, terminal
Immediately the touch position information of the terminal webpage page is clicked according to user, the click that the terminal webpage page is clicked to receive user refers to
It enables.
Optionally, if terminal is computer, received click commands be can be through cursor on mouse mobile computer
Position carries out clicking the corresponding position of webpage page elements on the Webpage to be chosen, if terminal is smart phone and plate
Any one in computer, received click commands, which can be, clicks directly on the Webpage to be chosen by finger or screen touch pen etc.
The corresponding position of upper webpage page elements.
S102, the corresponding Webpage element of location information is determined.
Specifically, user wants to click in the corresponding coordinate range of Webpage element chosen in terminal webpage.This
When, click commands can trigger the event responded on Webpage, in event response, the available current click commands touching of terminal
The corresponding Webpage element coordinate range in the position of hair event, passes through the coordinate of click commands and corresponding Webpage element
Range can determine the Webpage element clicked and chosen.
S103, the corresponding network information of Webpage element is obtained, the network information includes following one or more: webpage page
Fundamental type mark, the type of location information and content of surface element are enumerated.
It should be noted that the structure of general webpage making is all based on DOM Document Object Model building, that is, in webpage
All Webpage elements be configured to tree structure, each node other than root node has unique father node, together
When, each node except for the leaf nodes may possess at least one child node, moreover, belonging to all of a father node
Child node is properly termed as the brotgher of node, and each node in tree structure may include a variety of attribute informations, for describing this section
Point.Such as: the attribute in a node may include appointing for the attributes such as the unique identification number, name and Show Styles of this node
It anticipates one kind, is further also just obtained by the hierarchical relationship and attribute information between all nodes to determine unique node
The routing information of the corresponding Webpage element of the node.
It is exemplary: by first determining whether a node includes the attribute informations such as unique reference numbers or title, then
Call number of the node in the brother of node is determined, to uniquely determine the location information of the node, so that it is corresponding to obtain the node
Webpage element routing information.
Again by the routing information, according to attribute information between tree structure interior joint, by recursive mode, by selection
The location information of the father node of the corresponding node of Webpage element, is handled by integration, and selected webpage page can be obtained
The corresponding location expression information of surface element.
Then according to the corresponding location expression information of the Webpage element, the corresponding network information is got.Wherein, net
The type that network information can be the fundamental type mark including at least Webpage element, location information and content is enumerated, wherein
Fundamental type mark, which can be corresponding node type mark, location information in tree structure, can be certain in determining web document
Partial position language, common class describe the location information of specific Webpage element in webpage, and the type of content is enumerated can be with
Refer to the content of the settled preceding Webpage element chosen, such as title, time, author or text.
It optionally, equally can be by clicking directly on when needing to need to delete to the Webpage element currently chosen
Any position in the Webpage element coordinate range, according to the position information confirming of click commands, the element is to have chosen
Out-of-date, then the network information of the Webpage element to be deleted it is deleted.
After obtaining the above-mentioned network information, the network information is stored, Webpage element can be used in when storage
Mark is corresponded as storage index with the content of storage.The mark of Webpage element can be Webpage element
Title, number, domain name, link etc., this is not restricted.
In the present embodiment, the click commands which passes through the reception terminal webpage page, wherein point
Hitting instruction includes the location information to terminal webpage page click location, determines the corresponding Webpage element of location information, obtains
The corresponding network information of Webpage element is taken, the network information includes following one or more: the basic class of Webpage element
The type of type mark, location information and content is enumerated, and this method is only needed when user needs to choose specific Webpage element
It wants user directly to click in the terminal of browsable webpage to its particular webpage page elements for wanting to choose, operates
Simply, versatility is improved.
Fig. 3 is a kind of user's login process schematic diagram for web page contents choosing method that the application second embodiment provides,
In order to realize that the network information of above-mentioned acquisition can be synchronous in multiple terminals, can by way of login user account, as long as
User uses the same account, so that it may realize and share, no matter which terminal login can obtain history by server in
The network information of acquisition.
As shown in figure 3, in a kind of implementation, before the click commands for receiving the terminal webpage page, further includes:
S201, the log-on message for receiving user's input, log-on message includes: user identifier.
Specifically, user login information verifying can be used for the corresponding data of web page contents that protection user chooses
Mode, information security when Lai Tigao user uses, meanwhile, after user is logged in using log-on message, believed by the login
Historical data in breath, the data before can also synchronizing, Lai Tigao user choose the convenience of web page contents, therefore, user
It is that corresponding log-on message is inputted according to the prompt of terminal visualization first.
Optionally, the log-on message of user's input may include user identifier, that is, user account and login password etc..
Further, log-on message can also include identifying code, and the number that the mode of identifying code can be randomly generated is tested
The modes such as card and transmission short message password verifying.
S202, logging request is sent to server, logging request includes log-on message.
Specifically, after terminal receives the log-on message of user's input, further according to the log-in instruction of user to clothes
Business device sends logging request, the request that the log-on message verifying present terminal saved in server based on data library is sent.
What S203, reception server were sent logins successfully response.
Specifically, will be stepped on when the log-on message that the log-on message of server authentication user saves in the database meets
It records successful information and is sent to terminal, at this point, terminal will receive the response logined successfully.
In addition, if the log-on message that the terminal received is sent is not verified by server in the database of preservation
When, then it is sent to the response of terminal login failure, it, can be according to one or more when terminal receives the response of the login failure
Corresponding failure response is sent to terminal by incongruent information, prompts user according to corresponding failure response after terminal reception
It carries out re-entering corresponding incongruent log-on message, be illustrated by taking next wherein several situations as an example, exemplary:
If it is user account input error that first, server, which is sent to the failure response of terminal, terminal shows the " account
Input error ", user re-enter user account, log in again.
If it is that login password input is wrong that second, server, which is sent to the failure response of terminal, terminal shows the " password
Input error ", user re-enter login password, log in again.
If the failure response that third, server are sent to terminal is that identifying code input is wrong, terminal shows the " identifying code
Input error ", user re-enter identifying code, log in again.
If the 4th, user forgets the login password of oneself, being forgotten Password by click, it is new to complete to obtain identifying code
The input of password.
It should be noted that specific prompting mode is not limited only to above-mentioned described mode, its other party can also be
Formula, this is no longer going to repeat them.
Fig. 4 is the flow diagram for another web page contents choosing method that the application second embodiment provides, such as Fig. 4 institute
Show, in a kind of implementation, after determining the corresponding Webpage element of location information, further includes:
S301, to server send the inquiry of historical data request, the inquiry of historical data request include: user identifier and
The corresponding banner of Webpage element.
Specifically, terminal to server sends the inquiry of historical data request, can be when user passes through the mobile webpage of mouse
The position of upper cursor is clicked and is chosen on the good webpage after the network information of webpage page elements, and terminal to server is sent
With current log-on message in server database the matched historical data of corresponding log-on message institute, to be updated server
The historical data of middle preservation is exactly in simple terms that the inquiry of historical data request is sent by terminal to server, to find user
Log-on message corresponding log-on message in the database, and inquire the Webpage element that history is chosen in the log-on message
Corresponding banner.
It should be noted that described " request " in the embodiment of the present application, can be user to terminal visualization interface
The upper corresponding click for submitting instruction, can also be after being defaulted as the Webpage element that user's click is currently chosen, terminal is spontaneous
To server send a kind of request.
S302, the historical data that server is sent according to banner is received, historical data includes: the webpage that history is chosen
Identify corresponding history web pages page elements.
Specifically, server is requested according to the corresponding the inquiry of historical data of log-on message that the terminal received is sent, it will
The historical data corresponding with the log-on message saved in server database is sent to terminal, after terminal receives, user
It can check corresponding historical data, such as: user is in the corresponding Webpage element of banner chosen before.
Whether it includes the corresponding webpage page of location information that S303, query webpage identify in corresponding history web pages page elements
Surface element.
Specifically, terminal, after receiving historical data, user is clicking the Webpage element pair currently chosen
It after the location information answered, is matched by the location information for the Webpage element chosen with history, checks whether to exist
It is selected in historical data.
Further, determine it is to be automatically deleted or repeat to choose the case where terminal is arranged according to user, example
Such as: if having repetition in the corresponding location information of Webpage element currently clicked and historical data, according to user setting
Situation, if then no longer being saved to the corresponding network information of Webpage element currently chosen without repeating to choose,
If needing to repeat chooses, then continue to save the corresponding network information of Webpage element currently chosen.
In the present embodiment, by enquiry of historical data, the synchronous purpose of data both may be implemented, avoid user again into
Row selection operation reduces the number of operations of user, brings certain convenience for the use of user.
It is following will be illustrated by taking a kind of implementation as an example when being set as being automatically deleted in case where be illustrated, show
Example:
In a kind of implementation, the corresponding network information of Webpage element is obtained, comprising: go through if banner is corresponding
Do not include the corresponding Webpage element of location information in history Webpage element, then obtains the corresponding network of Webpage element
Information.
Specifically, if the corresponding Webpage element of banner in historical data does not have the webpage that user currently clicks
The Webpage element that the location information of the page obtains then obtains the corresponding net of webpage page location information of active user's click
The network information of page page elements, and saved.
Further, if in the corresponding history web pages page elements of banner including the corresponding Webpage of location information
Element, then according to the automatic deletable mode of user setting, when user again taps on the corresponding position of Webpage element on webpage
When setting, then directly delete.
It optionally, can be direct when user wants to delete the network information for the Webpage element chosen
A kind of operation for deleting instruction is set on terminal interface, when clicking the corresponding deletion instruction of the Webpage element, i.e.,
It can be achieved to delete the Webpage element chosen.
In the present embodiment, by the operation such as the Webpage element of selection being deleted or being added, and with history number
According to being matched, the network information of the Webpage element of new selection is obtained, and then by the corresponding network of Webpage element
Information is sent to server, realizes the update of database in server.
Fig. 5 is the flow diagram for another web page contents choosing method that the application second embodiment provides, such as Fig. 5 institute
Show, in a kind of implementation, after determining the corresponding Webpage element of location information, further includes:
S401, generate that Webpage element is corresponding chooses mark.
Specifically, after the location information for the Webpage that determining user clicks corresponding Webpage element, terminal
It will choose mark pattern generation is corresponding to choose mark according to user setting.
Optionally, choose mark that there can be following several situations, exemplary:
The first, when cursor in terminal webpage passes through some Webpage element the corresponding Webpage element coordinate
Range chooses mark.
The second, the seat of the corresponding Webpage element after terminal webpage glazing punctuate hits some Webpage element
Mark range chooses mark.
Third carries out interface display by the corresponding network information of the Webpage element that will have been chosen, in terminal webpage
It is upper that the corresponding Webpage member of some network information chosen on network information display interface is moved to by click or cursor
Element coordinate range of corresponding position in terminal webpage chooses mark.
It should be noted that described in this application chooses mark can be by being set as different displays at the terminal
Pattern is identified, to show different situations, such as: choose mark to can be mark pattern and color etc., and the feelings chosen
Condition is not limited only to above-mentioned three kinds of situations, and the case where other choose mark is arranged according to the hobby of user.
S402, mark is chosen in display on the terminal webpage page, wherein chooses mark on the terminal webpage page for frame
Select the corresponding Webpage element of location information.
Specifically, terminal is according to different operation type of the user in terminal webpage respective operations type displayed on the terminals
Webpage element choose mark.
Optionally, mark is chosen to can be the corresponding side of position coordinates range according to the Webpage element on webpage
The Show Styles of frame, frame can be set as the pattern oneself liked according to the hobby of user oneself, such as: select the aobvious of lines
Sample formula, color, thickness and shape etc..
Fig. 6 is display schematic diagram before a kind of selection web page contents for providing of the application second embodiment, and Fig. 7 is the application the
Two embodiments provide a kind of selection web page contents after display schematic diagram, as shown in Figure 6 and Figure 7, it is following will be with a kind of example feelings
The effect of visualization when Webpage element to be chosen in terminal webpage when the user clicks is illustrated for condition, exemplary:
Display interface before user does not choose the content on webpage is as shown in fig. 6, when user drags mouse
Make the cursor (not shown) in terminal in mobile quasi- selection target on webpage, can refer to as shown in " A news " in Fig. 7,
Coordinate range belonging to cursor current location will be marked on the page, which position cursor passes through, then mark current location
The coordinate range of affiliated Webpage element, user can the Webpage element according to belonging to the coordinate range of label confirmation be
Webpage element belonging in the no coordinate range for needing to choose current markers does not select if it is not, then dragging mouse again
The indicia framing for determining the corresponding coordinate range of Webpage element also will be marked no longer, until the seat marked according to cursor position
Webpage element in mark range is intended to choose, such as: when user wants to choose " website A ", drag mouse
When the Webpage element checked in coordinate range belonging to cursor current location is " website A ", user then marks after clicking
The label of " website A " selected by user out equally makes in the same way, when choosing " music ", to mark selected by user
" music " label, make user very clear to the Webpage element selected by oneself.
It should be noted that marking style can be lines as shown in Figure 7, it is also possible to Fill Color, line used
The pattern of item and the color of filling can also be arranged according to the hobby oneself of user, as long as user can be facilitated to check,
This is repeated no more.
The method according to provided by the present embodiment, following visualization interfaces by use card format on computers
(following visualization interfaces in the form of indication plug unit is carried out at interface) come describe realize web page contents choose the step of, it is exemplary:
The first, user is after opening interface, if not no oneself the log-on message of user, is first infused according to the prompt at interface
Oneself log-on message of volume, then input the log-on message of user and log in, if user has the log-on message of oneself, directly
The input of existing log-on message is logged according to the prompt at interface.
If then content shown on interface is all the initial setting up of default in addition, logging in for the first time, it is following will be with
The log-on message of user be not the step of use when logging in for the first time for be illustrated.
The second, after user logins successfully, the data that history setting and history before being checked by interface are chosen,
It selects oneself to use the mode at interface by reseting or continuing to use history setting, can be checked and be gone through by the data that history is chosen
The Webpage element that history is chosen, such as:
User is when opening interface, if being intended to browsing webpage only to select oneself to choose the Webpage on which webpage
When element, then it may be configured as the mode for only browsing webpage, when user confirms that some webpage has user to want the Webpage chosen member
When plain, then it is set as only choosing the mode of web page contents.
Further, the Webpage element oneself chosen intuitively is checked for the convenience of the user, then is set as choosing mark
Marking mode, and the pattern of selected marker then show different marks of choosing when user carries out different operations, such as: point
It hits after the corresponding position of the element, chooses mark to show with what is set the corresponding position coordinates range of the element,
The every click of user, which determines, in this way chooses a Webpage element, then one Webpage element of corresponding label.
Further, when user because it is overdue hit chosen or to have deleted the Webpage element chosen when, can lead to
It crosses and again taps on the corresponding location information of Webpage element and be deleted.
In addition, the network information and setting information of selected Webpage element are checked for the convenience of the user, it can be by its net
Network information and/or setting information are set as show or hide mode, and user wants to check which information is then set to show
Mode can show the information that user wants to check, can be the case where wherein one or two all shows, be also possible to wherein
One or two all hiding situation, such as: when the network information is shown in setting, the boundary that can be shown by the network information
The corresponding network information of Webpage element currently chosen is checked in face, and further clicking on the network information can check that network is believed
Various details in breath.
Further, when user wants to check some network information is which position on webpage on network information interface
When setting, the position checked corresponding with the network information can be moved the cursor to, at this point, being marked with different marking styles
Out.
Further, when user wants to delete the corresponding webpage of some network information currently checked on the information interface of network
When page elements, it can click and delete in the corresponding network information of Webpage element on network information interface, alternatively,
It can be deleted according to above-mentioned described direct clicked within the scope of the corresponding position coordinates of Webpage element.
By aforesaid operations, the content that may be implemented to choose again is sent to server, receives in server new
After data, further the data in historical data base are updated.
The web page contents choosing method according to provided by the present embodiment, user in terminal webpage by choosing certain on the page
Then one content describes the corresponding webpage page of the click location by terminal according to the click location in webpage with page language
The network information of surface element, and the Webpage member of the selected position can be visually directly shown on current web page
Element is sent to server by the information that will acquire in this way, the specific information saved by server, so that it may fixed in real time
Position is logged in newest content corresponding with Webpage element position information selected on the webpage, and by user,
No matter when and where, when being again turned on the webpage or replacement terminal, can directly see on the webpage it is all before choose
The visualization calibration information and the corresponding network information of page elements position, even if the display content of chosen position is
It is varied, all selection contents can also be directly viewable, and very easily convenient for selection is modified and adjusted, further
Information in the database of server is updated.
3rd embodiment
Fig. 8 is a kind of schematic diagram for Web page content selecting device that the application 3rd embodiment provides, as shown in figure 8, should
Device specifically includes: receiving module 20, determining module 30 and acquisition module 40.
Receiving module 20, for receiving the click commands of the terminal webpage page, click commands include to the terminal webpage page
The location information of click location, determining module 30, for determining that the corresponding Webpage element of location information obtains module user,
Module 40 is obtained, for obtaining the corresponding network information of Webpage element, the network information includes following one or more: webpage
Fundamental type mark, the type of location information and content of page elements are enumerated.
In a kind of implementation, device further includes login module 10, for receiving the log-on message of user's input, logs in letter
Breath includes: user identifier, sends logging request to server, and logging request includes log-on message, receives stepping on for server transmission
Record success response.
In a kind of implementation, determining module 30 is also used to send the inquiry of historical data request, historical data to server
Inquiry request includes: user identifier and the corresponding banner of Webpage element, receives server and is sent out according to banner
The historical data sent, historical data include: the corresponding history web pages page elements of banner that history is chosen, query webpage mark
Whether know in corresponding history web pages page elements comprising the corresponding Webpage element of location information.
In a kind of implementation, it is specifically used in the corresponding history web pages page elements of banner not if obtaining module 40
Comprising the corresponding Webpage element of location information, then the corresponding network information of Webpage element is obtained.
In a kind of implementation, device further includes display module 50, and for generating, Webpage element is corresponding to choose mark
Know, mark is chosen in display on the terminal webpage page, wherein mark is chosen to select location information for frame on the terminal webpage page
Corresponding Webpage element.
The method that above-mentioned apparatus is used to execute previous embodiment offer, it is similar that the realization principle and technical effect are similar, herein not
It repeats again.
The above module can be arranged to implement one or more integrated circuits of above method, such as: one
Or multiple specific integrated circuits (Application Specific Integrated Circuit, abbreviation ASIC), or, one
Or multi-microprocessor (digital singnal processor, abbreviation DSP), or, one or more field programmable gate
Array (Field Programmable Gate Array, abbreviation FPGA) etc..For another example, when some above module passes through processing elements
When the form of part scheduler program code is realized, which can be general processor, such as central processing unit (Central
Processing Unit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules can integrate
Together, it is realized in the form of system on chip (system-on-a-chip, abbreviation SOC).
Fourth embodiment
Fig. 9 is the structural schematic diagram for a kind of electronic equipment that fourth embodiment of the invention provides, as shown in figure 9, the equipment
It can integrate the chip in terminal device or terminal device, which, which can be, has the calculating that function is chosen in webpage choosing
Equipment.
The equipment includes: memory 60 and processor 70.
Memory 60 is for storing program, the program that processor 70 calls memory 60 to store, to execute above method reality
Apply example.Specific implementation is similar with technical effect, and which is not described herein again.
Optionally, the present invention also provides a kind of program product, such as computer readable storage medium, including program, the journeys
Sequence is when being executed by processor for executing above method embodiment.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit
Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) or processor (English: processor) execute this hair
The part steps of bright each embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory
(English: Read-Only Memory, abbreviation: ROM), random access memory (English: Random Access Memory, letter
Claim: RAM), the various media that can store program code such as magnetic or disk.
Claims (10)
1. a kind of web page contents choosing method, which is characterized in that the described method includes:
The click commands of the terminal webpage page are received, the click commands include the position to the terminal webpage page click location
Confidence breath;
Determine the corresponding Webpage element of the location information;
The corresponding network information of the Webpage element is obtained, the network information includes following one or more: webpage page
Fundamental type mark, the type of location information and content of surface element are enumerated.
2. the method as described in claim 1, which is characterized in that before the click commands for receiving the terminal webpage page, also
Include:
The log-on message of user's input is received, the log-on message includes: user identifier;
Logging request is sent to server, the logging request includes the log-on message;
Receive the server transmission logins successfully response.
3. method according to claim 2, which is characterized in that the corresponding Webpage element of the determination location information
Later, further includes:
Send the inquiry of historical data request to the server, the inquiry of historical data request include: the user identifier, with
And the corresponding banner of the Webpage element;
The historical data that the server is sent according to the banner is received, the historical data includes: what history was chosen
The corresponding history web pages page elements of the banner;
It whether inquires in the corresponding history web pages page elements of the banner comprising the corresponding webpage page of the location information
Surface element.
4. method as claimed in claim 3, which is characterized in that described to obtain the corresponding network letter of the Webpage element
Breath, comprising:
If not including the corresponding Webpage member of the location information in the corresponding history web pages page elements of the banner
Element then obtains the corresponding network information of the Webpage element.
5. method as claimed in claim 4, which is characterized in that the corresponding Webpage element of the determination location information
Later, further includes:
Generate that the Webpage element is corresponding to choose mark;
Mark is chosen described in display on the terminal webpage page, wherein described to choose mark in the terminal webpage page
It is upper to select the corresponding Webpage element of the location information for frame.
6. a kind of Web page content selecting device, which is characterized in that described device includes: receiving module, determining module and acquisition mould
Block;
The receiving module, for receiving the click commands of the terminal webpage page, the click commands include to the terminal network
The location information of page page click location;
The determining module, for determining the corresponding Webpage element of the location information;
The acquisition module, for obtaining the corresponding network information of the Webpage element, the network information includes following
One or more: the type of the fundamental type of Webpage element mark, location information and content is enumerated.
7. device as claimed in claim 6, which is characterized in that described device further includes login module, defeated for receiving user
The log-on message entered, the log-on message include: user identifier;
Logging request is sent to server, the logging request includes the log-on message;
Receive the server transmission logins successfully response.
8. device as claimed in claim 7, which is characterized in that the determining module is also used to send history to the server
Data inquiry request, the inquiry of historical data request includes: that the user identifier and the Webpage element are corresponding
Banner;
The historical data that the server is sent according to the banner is received, the historical data includes: what history was chosen
The corresponding history web pages page elements of the banner;
It whether inquires in the corresponding history web pages page elements of the banner comprising the corresponding webpage page of the location information
Surface element.
9. device as claimed in claim 8, which is characterized in that if the acquisition module is corresponding specifically for the banner
History web pages page elements in do not include the corresponding Webpage element of the location information, then obtain Webpage member
The corresponding network information of element.
10. device as claimed in claim 9, which is characterized in that described device further includes display module, for generating the net
Page elements are corresponding chooses mark for page;
Mark is chosen described in display on the terminal webpage page, wherein described to choose mark in the terminal webpage page
It is upper to select the corresponding Webpage element of the location information for frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910312561.8A CN110007842A (en) | 2019-04-18 | 2019-04-18 | Web page contents choosing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910312561.8A CN110007842A (en) | 2019-04-18 | 2019-04-18 | Web page contents choosing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110007842A true CN110007842A (en) | 2019-07-12 |
Family
ID=67172761
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910312561.8A Pending CN110007842A (en) | 2019-04-18 | 2019-04-18 | Web page contents choosing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110007842A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111797410A (en) * | 2020-05-18 | 2020-10-20 | 冠群信息技术(南京)有限公司 | Multi-server authorization control method and device |
CN113239274A (en) * | 2021-05-19 | 2021-08-10 | 郑州信息科技职业学院 | Behavior big data automatic acquisition system |
CN115357160A (en) * | 2022-07-13 | 2022-11-18 | 北京庖丁科技有限公司 | Document content clicking method, device, electronic equipment, medium and program product |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279475A (en) * | 2013-04-11 | 2013-09-04 | 广东电网公司信息中心 | Detection method and system for WEB application system content change |
CN108132948A (en) * | 2016-11-30 | 2018-06-08 | 北京国双科技有限公司 | Handle the method and apparatus for crawling webpage |
US20180239693A1 (en) * | 2017-02-21 | 2018-08-23 | International Business Machines Corporation | Testing web applications using clusters |
CN109542553A (en) * | 2018-10-26 | 2019-03-29 | 北京慧流科技有限公司 | The information extraction method and device and storage medium of user interface UI element |
-
2019
- 2019-04-18 CN CN201910312561.8A patent/CN110007842A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279475A (en) * | 2013-04-11 | 2013-09-04 | 广东电网公司信息中心 | Detection method and system for WEB application system content change |
CN108132948A (en) * | 2016-11-30 | 2018-06-08 | 北京国双科技有限公司 | Handle the method and apparatus for crawling webpage |
US20180239693A1 (en) * | 2017-02-21 | 2018-08-23 | International Business Machines Corporation | Testing web applications using clusters |
CN109542553A (en) * | 2018-10-26 | 2019-03-29 | 北京慧流科技有限公司 | The information extraction method and device and storage medium of user interface UI element |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111797410A (en) * | 2020-05-18 | 2020-10-20 | 冠群信息技术(南京)有限公司 | Multi-server authorization control method and device |
CN113239274A (en) * | 2021-05-19 | 2021-08-10 | 郑州信息科技职业学院 | Behavior big data automatic acquisition system |
CN115357160A (en) * | 2022-07-13 | 2022-11-18 | 北京庖丁科技有限公司 | Document content clicking method, device, electronic equipment, medium and program product |
CN115357160B (en) * | 2022-07-13 | 2023-10-27 | 北京庖丁科技有限公司 | Document content selecting method, device, electronic equipment, medium and program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11163851B2 (en) | Method, apparatus, computer device and storage medium of page displaying | |
US10547571B2 (en) | Message service providing method for message service linked to search service and message server and user terminal to perform the method | |
US8176120B2 (en) | Web-page authoring tool for automatic enrollment in advertising program | |
US8510268B1 (en) | Editable geographic data for maps, and applications thereof | |
KR102340228B1 (en) | Message service providing method for message service linking search service and message server and user device for performing the method | |
US20200073903A1 (en) | Method and device of tagging links included in a screenshot of webpage | |
KR20150043344A (en) | Integrating co-browsing with other forms of information sharing | |
CN103827779A (en) | Systems and methods for using entered text to access and process contextual information | |
CN110708235B (en) | Message generation method and device, storage medium and computer equipment | |
CN110007842A (en) | Web page contents choosing method and device | |
CN104685502A (en) | System and method for associating online content to a second indexed content | |
CN104660688B (en) | A kind of method and apparatus obtaining log-on message | |
CN110290218B (en) | File annotation method and system, and computer readable medium | |
WO2016091002A1 (en) | Method and device for providing authentication information on web page | |
US9536445B2 (en) | System and method for visually tracking a learned process | |
US9449111B2 (en) | System and method for generating and accessing trails | |
CN114726947B (en) | Message display method, device, user terminal and readable storage medium | |
CN104268273B (en) | Processing method, device and browser, the browser plug-in of pushed information | |
US20140122404A1 (en) | System and method for displaying a trail | |
CN110109594A (en) | A kind of draw data sharing method, device, storage medium and equipment | |
CN107735785A (en) | Automated information retrieval | |
KR101710824B1 (en) | Method and system for third-party service platform login | |
US9292883B2 (en) | System and method for managing a trail | |
TWI519997B (en) | Server, user apparatus and terminal device | |
TW202103023A (en) | Information processing apparatus, information processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190712 |
|
RJ01 | Rejection of invention patent application after publication |