The content of the invention
In view of this, it is an object of the invention to provide a kind of network address display methods and device, network address is effectively improved visual
Change effect, and then improve web page access efficiency, improve Consumer's Experience sense.
To achieve the above object, the embodiment of the present invention is adopted the following technical scheme that:
The present invention provides a kind of network address display methods, and methods described includes:
Obtain position of the browser icon in viewing area;
The historical viewings network address for obtaining browser obtains conventional network address;
Whether detection mouse operates to the browser icon position;
When detecting the mouse browser icon position being operated, the conventional network address is shown.
Optionally, in above-mentioned network address display methods, the historical viewings network address for obtaining browser obtains conventional network address
The step of include:
Obtain the historical viewings network address of browser in the range of preset duration;
The network address that number of visits in the historical viewings network address exceedes preset value is set to conventional network address.
Optionally, in above-mentioned network address display methods, the conventional network address is multiple, and the network address display methods is also wrapped
Include:
By multiple conventional network address according in preset duration, the number of number of visits is arranged and shown.
Optionally, in above-mentioned network address display methods, when detecting the mouse to the browser icon position
When being operated, the step of showing the conventional network address includes:
When detecting the mouse-over in the browser icon position, the conventional network address display window of generation,
And the conventional network address display window is shown in the bottom of window display layer;
When detecting the mouse click browser icon position, the conventional network address display window of generation, and
The conventional network address display window is shown in the top of window display layer.
Optionally, in above-mentioned network address display methods, obtain browser and obtain browser icon in the position of viewing area
The step of position, includes:
The file destination of each icon in acquisition viewing area and position, and judge whether each file destination is clear
Look at device file;
The icon is judged when the file destination is browser file as browser icon, using the position of the icon as
Browser icon position.
Optionally, in above-mentioned network address display methods, methods described also includes:Added into the network address display window,
Conventional network address is deleted in modification.
Optionally, in above-mentioned network address display methods, the conventional network address includes network address title and network address shows icon.
The present invention also provides a kind of network address display device, including:
Position acquisition module:For obtaining position of the browser icon in viewing area;
Website acquisition module:Conventional network address is obtained for obtaining the historical viewings network address of browser;
Detection module:For detecting whether mouse operates to the browser icon position;
Display module:For when detecting the mouse browser icon position being operated, display
The conventional network address.
Optionally, in above-mentioned network address display device, the website acquisition module includes:
Network address acquisition submodule:Historical viewings network address for obtaining browser in the range of preset duration;
Network address sets submodule:Network address for number of visits in the historical viewings network address to be exceeded to preset value is set to
Conventional network address.
Optionally, in above-mentioned network address display device, the display module includes:
First display sub-module:It is raw for when detecting the mouse-over in the browser icon position
The conventional network address display window is shown into conventional network address display window, and in the bottom of window display layer;
Second display sub-module:For when detecting the mouse click browser icon position, generating
Conventional network address display window, and the conventional network address display window is shown in the top of window display layer.
A kind of network address display methods provided in an embodiment of the present invention and device, by obtaining browser icon position,
The conventional network address of browser is obtained, when detecting mouse browser icon position being operated, network address is commonly used in display.
The effect of visualization of network address is effectively improved by above-mentioned setting, and then improves the efficiency of web page access, Consumer's Experience sense is improved.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist
The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause
This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below
Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing
The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then it further need not be defined and explained in subsequent accompanying drawing.
As shown in figure 1, being the block diagram of electronic equipment 1 provided in an embodiment of the present invention.In the embodiment of the present invention
Electronic equipment 1 can possess the equipment of data-handling capacity for server, computer etc..In the present embodiment, the electronics is set
Standby 1 is computer.The electronic equipment 1 includes:Memory 10 and processor 20.
The memory 10 is directly or indirectly electrically connected with each other with processor 20, with realize data transmission or
Interaction.It is electrically connected with for example, these elements can be realized by one or more communication bus or signal wire each other.Memory
Be stored with the software function module being stored in the form of software or firmware (Firmware) in the memory 10 in 10, described
The network address that processor 20 is stored in by operation in software program and module in memory 10, such as embodiment of the present invention is shown
Device 100, so as to perform various function application and data processing, that is, realizes the network address display methods in the embodiment of the present invention.
Wherein, the memory 10 may be, but not limited to, random access memory (Random Access Memory,
RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electrically Erasable Programmable Read-Only Memory,
EEPROM) etc..Wherein, memory 10 is used for storage program, and the processor 20 performs the journey after execute instruction is received
Sequence.
The processor 20 is probably a kind of IC chip, the disposal ability with signal.Above-mentioned processor 20
Can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit
(Network Processor, NP) etc..It can also be digital signal processor (DSP), application specific integrated circuit (ASIC), scene
Programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware group
Part.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be with
It is microprocessor or the processor can also be any conventional processor etc..
It is appreciated that the structure shown in Fig. 1 is only signal, electronic equipment 1 may also include more more than shown in Fig. 1 or more
Few component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can use hardware, software or its group
Close and realize.
Referring to Fig. 2, being a kind of network address display methods that present pre-ferred embodiments are provided, applied to including mouse and tool
There is the electronic equipment 1 of display function, methods described includes tetra- steps of S110, S120, S130 and S140.
Step S110:Obtain position of the browser icon in viewing area.
Wherein, browser can be but not limited to IE browser, Google's browser, red fox browser, sogou browser and/
Or cheetah browser.Browser icon is opening shortcut of the browser in viewing area.The browser icon can be
One or more corresponding icons in above-mentioned each browser.The viewing area can be the desktop viewing area of computer,
It can be the taskbar area of computer.
Obtaining mode of the browser icon in the position of viewing area can be:Electronic equipment 1 is stored with different browsers
Icon, obtain each icon and the position of viewing area, and by each icon and the icon of different browsers of viewing area
Matched, and then obtain browser icon position in viewing area.Obtain position of the browser icon in viewing area
Mode can also be:The corresponding file destination of each icon in viewing area and its position are obtained, and whether judges the file destination
For browser file destination, and then obtain browser position.
Incorporated by reference to Fig. 3, optionally, in the present embodiment, the step of the position in viewing area that obtains browser icon
Suddenly S112 and the sub-steps of S114 two are included.
Sub-step S112:The file destination of each icon in acquisition viewing area and position, and judge each target
Whether file is browser file.
Sub-step S114:The icon is judged when the file destination is browser file as browser icon, by the figure
Target position is used as browser icon position.
Wherein, the corresponding file destination species of the icon of different species is different, by judging whether file destination is clear
Look at device file, you can whether judge the corresponding icon of the file destination is browser icon.
Step S120:The historical viewings network address for obtaining browser obtains conventional network address.
Wherein obtain browser history and browse network address and obtain the mode of conventional network address and can be:Obtain all historical viewings nets
In location, after being arranged according to the number of number of visits, the network address before default ranking is regard as conventional network address.Can also
It is that, by the historical viewings network address in different periods, the average of the identical network address frequency of occurrences is more than the network address setting of default average
To commonly use network address.
Incorporated by reference to Fig. 4, optionally, in the present embodiment, the acquisition browser history browses network address and obtains conventional network address
The step of include S122 and the sub-steps of S124 two.
Sub-step S122:Obtain the historical viewings network address of browser in the range of preset duration.
The preset duration can be but not limited to one week, one month or some months, and the preset duration can be acquiescence
It is setting or that user is configured according to the actual requirements, it is not specifically limited herein.
Sub-step S124:The network address that number of visits in the historical viewings network address exceedes preset value is set to conventional net
Location.
The preset value can be arbitrary, and the preset value can be default setting, can also be according to the reality of user
Border demand is configured, and is not specifically limited herein.
Step S130:Whether detection mouse operates to the browser icon position.
Step S140:When detecting the mouse browser icon position being operated, display is described
Conventional network address.
The mode that the mouse is operated to the browser icon position can be but not limited to, by the mouse
Mark is moved to the browser icon position, by the mouse-over in the browser icon position, or by mouse
Mark is moved to browser icon position and clicks on the position.
The conventional network address according to preset duration and it is default be worth to, therefore, it is generally the case that the conventional network address is many
It is individual.Multiple conventional network address can be shown by randomly ordered mode, can also according to number of visits how much progress
Arrange and show.In the present embodiment, by multiple conventional network address according in preset duration, the number of number of visits is arranged
Arrange and shown.
Optionally, the number of the conventional network address to avoid passing through aforesaid way acquisition is excessive, is not easy to user and checks use
Situation.In the present embodiment, methods described also includes:By multiple conventional network address according in preset duration, number of visits
Number be ranked up after, obtain sequence and shown less than the browser of default value.
The display methods of the conventional network address can be shown by the form of list, can also enter by the form of window
Row display, is not specifically limited herein.
For make user when checking conventional network address it is more visual and clear, in the present embodiment, the display methods of the conventional network address
To be shown according to window form, each conventional network address can include but is not limited to web address icon corresponding with the conventional network address,
Network address title and/or IP address.It is configured according to the actual demand of user.In the present embodiment, each conventional net
Location includes web address icon corresponding with the network address and network address title.
It is optionally, described the browser icon position to be operated when detecting the mouse incorporated by reference to Fig. 5
When, the step of showing the conventional network address includes S142 and the sub-steps of S144 two.
Sub-step S142:When detecting the mouse-over in the browser icon position, the conventional net of generation
Location display window, and the conventional network address display window is shown in the bottom of window display layer.
User can be prevented effectively from because maloperation makes mouse-over give birth to when the browser icon position by above-mentioned setting
Into conventional network address display window block window display layer in user's use.Optionally, in the present embodiment, when detecting
Mouse-over is stated when the browser icon position, the mode of the conventional network address display window of generation can work as mouse
When sliding into the browser icon position, the conventional network address display window of generation.Can also be browsed in mouse described
Conventional network address display window is generated after one period of hovering of device icon position.It is not specifically limited herein, according to reality
Demand is configured.
Sub-step S144:When detecting the mouse click browser icon position, the conventional network address of generation
Display window, and the conventional network address display window is shown in the top layer of window display layer.
In the present embodiment, each conventional network address in the network address display window according in preset duration number of visits it is many
Arranged less.It can also be once multiple that the number of times that the mouse clicks on the browser icon position, which can be,.
In the present embodiment, when detecting the mouse click once browser icon position, the conventional network address of generation is shown
Window, and the network address display window is located at the top of window display layer with the conventional net needed for facilitating user to check and choose
Location.
Optionally, for user convenience, the network address display methods also includes:Add into the network address display window
Plus, modification or delete conventional network address.By using aforesaid way so that user can enter to the conventional network address according to the actual requirements
Row management, to be user-friendly.
Optionally, to make user's convenient use and managing the conventional network address, in the present embodiment, shown to the network address
Window addition, amended network address are always positioned in the network address display window, and the conventional network address after deletion is not shown in network address
It has been shown that, or do not shown in preset time period in network address display window in window.
Incorporated by reference to Fig. 6, the embodiment of the present invention also provides a kind of network address display device 100, and the network address display device 100 is wrapped
Include position acquisition module 110, website acquisition module 120, detection module 130 and display module 140.
The position acquisition module 110 is used to obtain position of the browser icon in viewing area.Obtained on the position
The detailed description of modulus block 110 specifically refers to description of the embodiment of the present invention to the step S110 shown in Fig. 2.That is, institute
The realization principle that rheme puts acquisition module 110 is similar with the step S110, does not make more explanations herein.
Incorporated by reference to shown in Fig. 7, the position acquisition module 110 can include judging submodule 112 and position acquisition submodule
Block 114.
The judging submodule 112 is used for file destination and the position for obtaining each icon in viewing area, and judges
Whether each file destination is browser file.Detailed description on the judging submodule 112 specifically refers to this hair
Description of the bright embodiment to the step S112 shown in Fig. 3.That is, the realization principle of the judging submodule 112 and the step
Rapid S112 is similar, does not make more explanations herein.
The position acquisition submodule 114 is used to judge the icon when the file destination is browser file to browse
Device icon, regard the position of the icon as browser icon position.On retouching in detail for the position acquisition submodule 114
State the description for specifically referring to the embodiment of the present invention to the step S114 shown in Fig. 3.That is, the position acquisition submodule
114 realization principle is similar with the step S114, does not make more explanations herein.
The historical viewings network address that the website acquisition module 120 is used to obtain browser obtains conventional network address.On described
The detailed description of website acquisition module 120 specifically refers to description of the embodiment of the present invention to the step S120 shown in Fig. 2.
That is, the realization principle of described website acquisition module 120 is similar with the step S120, does not make more explanations herein.
Incorporated by reference to shown in Fig. 8, the website acquisition module 120 can include network address acquisition submodule 122 and network address is set
Submodule 124.
The network address acquisition submodule 122 is used for the historical viewings network address for obtaining browser in the range of preset duration.On
The detailed description of the network address acquisition submodule 122 specifically refers to the embodiment of the present invention to the step S122's shown in Fig. 4
Description.That is, the realization principle of the network address acquisition submodule 122 is similar with the step S122, more explanations are not made herein.
The network address sets submodule 124 to be used for the network address that number of visits in the historical viewings network address is exceeded to preset value
It is set to conventional network address.The detailed description for setting submodule 124 on the network address specifically refers to the embodiment of the present invention to Fig. 4
Shown in step S124 description.That is, the network address sets the realization principle and the step S124 classes of submodule 124
Seemingly, more explanations are not made herein.
The detection module 130 is used to detect whether mouse operates the browser icon position.On
The detailed description of the detection module 130 specifically refers to description of the embodiment of the present invention to the step S130 shown in Fig. 2.
That is, the realization principle of described detection module 130 is similar with the step S130, does not make more explanations herein.
The display module 140 is operated for that ought detect the mouse to the browser icon position
When, show the conventional network address.Detailed description on the display module 140 specifically refers to the embodiment of the present invention to Fig. 2
Shown in step S140 description.That is, the realization principle of the display module 140 is similar with the step S140, herein
More explanations are not made.
Incorporated by reference to Fig. 9, the network address display module 140 can include the first display sub-module 142 and the second display submodule
Block 144.
First display sub-module 142, which is used to work as, detects the mouse-over in the browser icon position
When, the conventional network address display window of generation, and the conventional network address display window is shown in the bottom of window display layer.
Detailed description on first display sub-module 142 specifically refers to the step of embodiment of the present invention is to shown in Fig. 5
S142 description.That is, the realization principle of first display sub-module 142 is similar with the step S142, do not make herein more
Many explanations.
Second display sub-module 144, which is used to work as, detects the mouse click browser icon position
When, the conventional network address display window of generation, and the conventional network address display window is shown in the top of window display layer.
Detailed description on second display sub-module 144 specifically refers to the step of embodiment of the present invention is to shown in Fig. 5
S144 description.That is, the realization principle of second display sub-module 144 is similar with the step S144, do not make herein more
Many explanations.
To sum up, a kind of network address display methods and device in the embodiment of the present invention, it is in place by obtaining browser icon institute
Put, obtain the conventional network address of browser, when detecting mouse browser icon position being operated, net is commonly used in display
Location.The effect of visualization of network address is effectively improved by above-mentioned setting, and then improves the efficiency of web page access, Consumer's Experience is improved
Sense.Secondly, by the way that multiple conventional network address are shown in the form of window, and by the conventional network address in window according to it is default when
In long number of visits number arranged to facilitate user to check.By adding, changing or deleting into network address display window
Conventional network address, so that user can be managed to be user-friendly according to the actual requirements, and then effectively improves Consumer's Experience sense.
In several embodiments that the embodiment of the present invention is provided, it should be understood that disclosed apparatus and method, also may be used
To realize by another way.Apparatus and method embodiment described above is only schematical, for example, in accompanying drawing
Flow chart and block diagram show the device of multiple embodiments according to the present invention, the possibility of method and computer program product is realized
Architectural framework, function and operation.At this point, each square frame in flow chart or block diagram can represent module, a program
A part for section or code a, part for the module, program segment or code is used to realize defined patrol comprising one or more
Collect the executable instruction of function.It should also be noted that in some implementations as replacement, the function of being marked in square frame
Can be with different from the order marked in accompanying drawing generation.For example, two continuous square frames can essentially be held substantially in parallel
OK, they can also be performed in the opposite order sometimes, and this is depending on involved function.It is also noted that block diagram and/or
The combination of each square frame in flow chart and the square frame in block diagram and/or flow chart, can use function as defined in execution or dynamic
The special hardware based system made is realized, or can be realized with the combination of specialized hardware and computer instruction.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion
Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized using in the form of software function module and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment to perform the present invention
The all or part of step of each embodiment methods described.It should be noted that herein, term " comprising ", "comprising" or
Any other variant thereof is intended to cover non-exclusive inclusion by person, so that process, method, article including a series of key elements
Or equipment not only includes those key elements, but also other key elements including being not expressly set out, or also include to be this
Process, method, article or the intrinsic key element of equipment.In the absence of more restrictions, by sentence " including one
It is individual ... " limit key element, it is not excluded that in the process including the key element, method, article or equipment also exist in addition
Identical element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.