CN109614180A - Webpage deployment method, electronic equipment, system and storage medium - Google Patents

Webpage deployment method, electronic equipment, system and storage medium Download PDF

Info

Publication number
CN109614180A
CN109614180A CN201811348156.3A CN201811348156A CN109614180A CN 109614180 A CN109614180 A CN 109614180A CN 201811348156 A CN201811348156 A CN 201811348156A CN 109614180 A CN109614180 A CN 109614180A
Authority
CN
China
Prior art keywords
webpage
electronic equipment
destination address
level windows
opened
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
Application number
CN201811348156.3A
Other languages
Chinese (zh)
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.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething Technology 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 Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201811348156.3A priority Critical patent/CN109614180A/en
Publication of CN109614180A publication Critical patent/CN109614180A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of webpage deployment method, electronic equipment, system and storage mediums, which comprises when receiving webpage open instructions, obtains the destination address of webpage to be opened;Obtain top-level windows;Determine the page elements of the top-level windows;Retain the page elements as target pages element;Based on the target pages element, the corresponding webpage of the destination address is opened in the top-level windows.The present invention is able to solve the problem of consuming excess resource when low performance electronic equipment opens webpage, webpage is caused not open normally, while meeting user demand, resource consumption is preferably minimized, to improve the performance of electronic equipment.

Description

Webpage deployment method, electronic equipment, system and storage medium
Technical field
The present invention relates to intelligent terminal field more particularly to webpage deployment method, electronic equipment, system and storage mediums.
Background technique
In prior art, user is when browsing webpage using the browser in the electronic equipments such as mobile phone, computer, if A newly-built window opens webpage, is controlled by browser, that is to say, that can be pre-configured in browser and wherein open net Page.
In the electronic equipments such as the computer of generic configuration or mobile phone, any problem is not present in above-mentioned configuration mode, described The hardware of electronic equipment has enough abilities to go to complete the drafting of multiple pages.
But in the lower electronic equipment of performance, since hardware is limited, GPU (Graphics ProcessingUnit, Graphics processor) Web page rendering of multiple pages can not be completed at the same time.And under normal conditions, when page-tag is more than 6, The problem of drawing failure it is easy to appear GPU, therefore can not intercepting page Current Content picture.
Summary of the invention
The main purpose of the present invention is to provide webpage deployment method, electronic equipment, system and storage mediums, it is intended to solve The problem of low performance electronic equipment consumes excess resource, webpage is caused not open normally when opening webpage.
To achieve the above object, the present invention provides a kind of webpage deployment method, which comprises
When receiving webpage open instructions, the destination address of webpage to be opened is obtained;
Obtain top-level windows;
Determine the page elements of the top-level windows;
Retain the page elements as target pages element;
Based on the target pages element, the corresponding webpage of the destination address is opened in the top-level windows.
Preferably, when receiving webpage open instructions, the method also includes:
Detect the performance of the electronic equipment;
Determine whether the performance meets configuration condition;
When the performance meets the configuration condition, based on the target pages element, in the top-level windows It is upper to open the corresponding webpage of the destination address.
Preferably, the configuration condition includes:
The video memory of the electronic equipment is less than or equal to default video memory, and computing capability is less than or equal to default calculate Ability.
Preferably, the destination address for obtaining webpage to be opened includes:
When detecting that the link on any webpage is triggered, using the link that is triggered as the destination address;Or
When detecting that configuration-direct is performed, it regard the corresponding link of the configuration-direct as the destination address;Or Person
When detecting the signal of new webpage, it regard the newly-built corresponding link of webpage as the destination address.
Preferably, described based on the target pages element, the destination address is opened in the top-level windows Corresponding webpage includes:
The current web page of the top-level windows is covered with the corresponding webpage of the destination address.
Preferably, the method also includes:
Obtain the historical viewings record of configuration;
The current web page is saved to the historical viewings and is recorded;
It when receiving the instruction for returning to higher level's page, is recorded according to the historical viewings, opens higher level's page.
To achieve the above object, the present invention further provides a kind of electronic equipment, the electronic equipment includes:
Memory stores at least one instruction;And
Processor executes the instruction stored in the memory to realize the webpage deployment method.
Preferably, the electronic equipment is the node of component content distribution network or block chain network.
To achieve the above object, the present invention further provides a kind of webpages to open system, the system comprises:
Acquiring unit, for obtaining the destination address of webpage to be opened when receiving webpage open instructions;
The acquiring unit is also used to obtain top-level windows;
Determination unit, for determining the page elements of the top-level windows;
Stick unit, for retaining the page elements as target pages element;
Opening unit is used for based on the target pages element, the target is opened in the top-level windows The corresponding webpage in location.
Preferably, the system also includes:
Detection unit, for detecting the performance of the electronic equipment when receiving webpage open instructions;
The determination unit, is also used to determine whether the performance meets configuration condition;
The opening unit, is also used to when the performance meets the configuration condition, is with the target pages element The corresponding webpage of the destination address is opened on basis in the top-level windows.
Preferably, the configuration condition includes:
The video memory of the electronic equipment is less than or equal to default video memory, and computing capability is less than or equal to default calculate Ability.
Preferably, the acquiring unit obtains the destination address of webpage to be opened and includes:
When detecting that the link on any webpage is triggered, using the link that is triggered as the destination address;Or
When detecting that configuration-direct is performed, it regard the corresponding link of the configuration-direct as the destination address;Or Person
When detecting the signal of new webpage, it regard the newly-built corresponding link of webpage as the destination address.
Preferably, the opening unit is based on the target pages element, in the top-level windows described in opening The corresponding webpage of destination address includes:
The current web page of the top-level windows is covered with the corresponding webpage of the destination address.
Preferably, the acquiring unit is also used to obtain the historical viewings record of configuration;
The system also includes:
Storage unit is recorded for saving the current web page to the historical viewings;
The opening unit is also used to be recorded when receiving the instruction for returning to higher level's page according to the historical viewings, Open higher level's page.
To achieve the above object, the present invention further provides a kind of computer readable storage mediums, described computer-readable It is stored with webpage on storage medium and opens program, the webpage is opened program and can be executed by one or more processor, with reality The existing webpage deployment method.
To achieve the above object, the present invention further provides a kind of computer program products, including computer instruction, when it When running on computers, computer is allowed to execute the webpage deployment method.
In conclusion the present invention when receiving webpage open instructions, obtains the destination address of webpage to be opened, further Top-level windows are obtained, and determine the page elements of the top-level windows, so as to the page elements of top-level windows described in later use Webpage is opened, so that the resource of electronic equipment is saved, further based on the target pages element, in the top-level windows It is upper to open the corresponding webpage of the destination address, to solve to consume excess resource when low performance electronic equipment opens webpage, make Resource consumption is preferably minimized by the problem of can not normally opening at webpage while meeting user demand, is set with improving electronics Standby performance.
Detailed description of the invention
Fig. 1 is the flow diagram of one embodiment of the invention;
Fig. 2 is the schematic diagram of internal structure for the electronic equipment that one embodiment of the invention discloses;
Fig. 3 is the functional block diagram that webpage of the present invention opens system;
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Main element symbol description
Electronic equipment 1
Memory 12
Processor 13
Webpage opens system 11
Acquiring unit 110
Determination unit 111
Stick unit 112
Opening unit 113
Detection unit 114
Storage unit 115
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other step or units of product or equipment inherently.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is used for description purposes only, and cannot It is interpreted as its relative importance of indication or suggestion or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the One ", the feature of " second " can explicitly or implicitly include at least one of the features.In addition, the skill between each embodiment Art scheme can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when technical solution Will be understood that the combination of this technical solution is not present in conjunction with there is conflicting or cannot achieve when, also not the present invention claims Protection scope within.
The present invention provides a kind of webpage deployment method.
Referring to Fig.1, Fig. 1 is the flow diagram of one embodiment of the invention.According to different requirements, in the flow diagram The sequence of step can change, and certain steps can be omitted.
The webpage deployment method is applied in one or more electronic equipment, and the electronic equipment is that one kind can be by According to the instruction for being previously set or storing, the equipment of progress numerical value calculating and/or information processing, hardware include but is not limited to automatically Microprocessor, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate Array (Field-Programmable Gate Array, FPGA), digital processing unit (Digital Signal Processor, DSP), embedded device etc..
The electronic equipment can be any electronic product that human-computer interaction can be carried out with user, for example, personal meter Calculation machine, tablet computer, smart phone, personal digital assistant (Personal Digital Assistant, PDA), game machine, friendship Mutual formula Web TV (Internet Protocol Television, IPTV), intellectual wearable device etc..
The electronic equipment can also include the network equipment and/or user equipment.Wherein, the network equipment includes, but It is not limited to single network server, the server group of multiple network servers composition or based on cloud computing (Cloud Computing the cloud being made of a large amount of hosts or network server).
Network locating for the electronic equipment include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, it is virtual specially With network (Virtual Private Network, VPN) etc..
In one embodiment, this method comprises:
S10 obtains the destination address of webpage to be opened when receiving webpage open instructions.
In at least one embodiment of the present invention, when the electronic equipment receives webpage open instructions, the electricity Sub- equipment further obtains the destination address of the webpage to be opened.
Specifically, the electronic equipment receives webpage open instructions and includes:
The electronic equipment receives user to the touch control operation of configuration key, refers to receive the webpage opening It enables.
Wherein, the configuration key may include physical button, also may include the virtual icon etc. custom-configured, this Invention does not limit.
Further, the destination address that the electronic equipment obtains webpage to be opened includes, but are not limited to following any one Kind mode:
(1) when the electronic equipment detects that the link on any webpage is triggered, the electronic equipment is to be triggered Link as the destination address.
It is understood that can all have the hyperlink of configuration on many webpages, to facilitate user to click directly on the hyperlink It connects, and enters the webpage wanted access to.And under normal conditions, the hyperlink is clicked when the electronic equipment receives the user When the signal connect, the electronic equipment opens the hyperlink for corresponding browser is controlled on the new page, for described User corresponds to the content on webpage to the hyperlink and accesses.
Therefore, in the present embodiment, when the electronic equipment detects that the link on any webpage is triggered, the electricity Sub- equipment is using the link that is triggered as the destination address, so as to the corresponding webpage of destination address described in subsequent access.
(2) when detecting that configuration-direct is performed, it regard the corresponding link of the configuration-direct as the destination address.
It is understood that the electronic equipment can open webpage when running certain configuration-directs.Such as: it is described Electronic equipment can execute the instruction of the window.open () in Javascript code, and the window.open () instruction can For creating a webpage.
Therefore, in the present embodiment, when the electronic equipment detects that configuration-direct is performed, the electronic equipment will The configuration-direct corresponding link conduct destination address, so as to the corresponding webpage of destination address described in subsequent access.
(3) when detecting the signal of new webpage, it regard the newly-built corresponding link of webpage as the destination address.
Such as: when the electronic equipment detect user click the target=_blank in any page link, Whens the link of target=_top, the link of target=_self or link of target=_parent etc., the electronics Equipment will create a webpage.
Therefore, in the present embodiment, when the electronic equipment detects the signal of new webpage, the electronic equipment will The corresponding link of newly-built webpage is used as the destination address, so as to the corresponding webpage of destination address described in subsequent access.
S11 obtains top-level windows.
In at least one embodiment of the present invention, the electronic equipment obtains the top-level windows.
Specifically, the top-level windows refer to the window that the electronic equipment is currently displaying, such as: the top layer window The front end for the browser that content in mouthful can be being currently used in the electronic equipment is shown, for user progress Browsing.
S12 determines the page elements of the top-level windows.
In at least one embodiment of the present invention, the electronic equipment determines the page elements of the top-level windows.
Specifically, the page elements refer to required base page attribute etc. when one page of opening, such as: painting canvas Canvas, basic views view etc..
S13 retains the page elements as target pages element.
In at least one embodiment of the present invention, the electronic equipment retains the page elements as the page object Surface element is opened any new webpage according to the target pages element so as to subsequent, is in addition divided without the electronic equipment It is drawn with video memory.
S14 opens the corresponding net of the destination address based on the target pages element in the top-level windows Page.
In at least one embodiment of the present invention, the electronic equipment is based on the target pages element, in institute It states and opens the corresponding webpage of the destination address in top-level windows.
Specifically, the electronic equipment is based on the target pages element, in the top-level windows described in opening The corresponding webpage of destination address includes:
The electronic equipment covers the current web page of the top-level windows with the corresponding webpage of the destination address.
By above embodiment, the current web page of the top-level windows is directly covered by the corresponding webpage of the destination address Lid, that is to say, that although having reopened a webpage, do not reopen a window.
By above embodiment, the electronic equipment can be using described in the page elements opening on original Webpage The corresponding webpage of destination address, the task that the electronic equipment opens webpage without in addition distributes video memory, so as to improve The performance of graphics processor in the electronic equipment avoids the lower electronic equipment of performance when opening webpage, due to consuming Excessive resource, the problem of causing webpage not open normally.
In at least one embodiment of the present invention, the method also includes:
The electronic equipment obtains the historical viewings record of configuration, and the current web page is saved to the historical viewings Record is recorded when receiving the instruction for returning to higher level's page according to the historical viewings, opens higher level's page.
By above embodiment, the electronic equipment can save the record browsed, and be browsed according to described Record, open higher level's page, in order to the electronic equipment according to the historical viewings record carry out the superior and the subordinate's page conversion, Facilitate the user to check browsing record, promotes the experience that the user browses webpage.
In at least one embodiment of the present invention, when the electronic equipment receives webpage open instructions, the side Method further include:
The performance of the electronic equipment is detected, and determines whether the performance meets configuration condition, when the performance meets When the configuration condition, the electronic equipment is based on the target pages element, in the top-level windows described in opening The corresponding webpage of destination address.
By above embodiment, only when the performance meets the configuration condition, the electronic equipment is just with institute Based on stating target pages element, the corresponding webpage of the destination address is opened in the top-level windows.
And when the performance is unsatisfactory for the configuration condition, the electronic equipment can open webpage in the normal fashion, To preferably embody the intention of Web page maker.
Further, the configuration condition includes:
The video memory of the electronic equipment is less than or equal to default video memory, and computing capability is less than or equal to default calculate Ability.
Specifically, the video memory decides the number of the interim storing data of the electronic equipment, further, the appearance of video memory Amount include, but are not limited to it is following any one: 128MB, 256MB, 512MB, 1024MB etc..
The computing capability of the electronic equipment can influence the reaction speed of the electronic equipment, execution efficiency etc..
Further, the electronic equipment can make the default video memory and the default computing capability by oneself Justice configuration, to meet the needs of user is using the speed of service when electronic equipment and operational effect.
Such as: when electronic equipment intelligent hardware devices lower for performance, although the intelligent hardware devices The tasks such as the whole network search vast resources, free very fast downloading are able to carry out, but due to the limitation of hardware performance itself, the use When opening new webpage, the intelligent hardware devices can not distribute enough video memorys for the new webpage, and due to meter at family The limitation of calculation ability, it is more likely that the new webpage can not be normally opened, the experience that user browses webpage is not only affected, Certain burden is brought to the intelligent hardware devices.
Therefore, it by present embodiment, can effectively solve the problem that the above problem, detecting described in the electronic equipment satisfaction When configuration condition (that is: the performance of the described electronic equipment is lower), original page is covered with new page, user can be made normally clear It lookes at, and has saved the resource of the electronic equipment, user experience is more preferably.
In conclusion the present invention when receiving webpage open instructions, obtains the destination address of webpage to be opened, further Top-level windows are obtained, and determine the page elements of the top-level windows, so as to the page elements of top-level windows described in later use Webpage is opened, so that the resource of electronic equipment is saved, further based on the target pages element, in the top-level windows It is upper to open the corresponding webpage of the destination address, to solve to consume excess resource when low performance electronic equipment opens webpage, make Resource consumption is preferably minimized by the problem of can not normally opening at webpage while meeting user demand, is set with improving electronics Standby performance.
Referring to fig. 2, in the present embodiment, the electronic equipment 1 be it is a kind of can according to the instruction for being previously set or storing, The automatic equipment for carrying out numerical value calculating and/or information processing, hardware includes but is not limited to microprocessor, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field- Programmable Gate Array, FPGA), it is digital processing unit (Digital Signal Processor, DSP), embedded Equipment etc..
The electronic equipment 1, which can also be but not limited to any one, to pass through keyboard, mouse, remote controler, touching with user The modes such as template or voice-operated device carry out the electronic product of human-computer interaction, for example, personal computer (Personal Computer, PC), tablet computer, smart phone, personal digital assistant (Personal Digital Assistant, PDA), game machine, friendship Mutual formula Web TV (Internet Protocol Television, IPTV), intellectual wearable device, palm PC, just The calculating such as computer, intelligent router, mine machine, network storage equipment terminal device, desktop PC, cloud server are taken to set It is standby etc..
Network locating for the electronic equipment 1 include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, it is virtual specially With network (Virtual Private Network, VPN) etc..
The electronic equipment 1 can be the node of component content distribution network or block chain network.
The electronic equipment 1 may include memory 12, processor 13 and bus, can also include being stored in the storage In device 12 and the computer program that can run on the processor 13, such as webpage open program.
It will be understood by those skilled in the art that the schematic diagram is only the example of electronic equipment 1, not structure paired electrons The restriction of equipment 1 may include perhaps combining certain components or different components, example than illustrating more or fewer components Such as described electronic equipment 1 can also include input-output equipment, network access equipment.
Wherein, memory 12 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory, Mobile hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Storage Device 12 can be the internal storage unit of electronic equipment 1, such as the mobile hard disk of the electronic equipment 1 in some embodiments.It deposits What reservoir 12 was also possible to be equipped on the External memory equipment of electronic equipment 1, such as electronic equipment 1 in further embodiments inserts Formula mobile hard disk, intelligent memory card (Smart Media Card, SMC) are connect, secure digital (Secure Digital, SD) blocks, Flash card (Flash Card) etc..Further, memory 12 can also both include the internal storage unit of electronic equipment 1 or wrap Include External memory equipment.Memory 12 can be not only used for the application software and Various types of data that storage is installed on electronic equipment 1, example The code that such as webpage opens program, can be also used for temporarily storing the data that has exported or will export.
Processor 13 can be in some embodiments a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 12 Code or processing data, such as execute webpage and open program etc..
The processor 13 executes the operating system of the electronic equipment 1 and the types of applications program of installation.The place Reason device 13 executes the application program to realize the step in above-mentioned each webpage deployment method embodiment, such as shown in FIG. 1 Step S10, S11, S12, S13, S14.
Alternatively, the processor 13 realizes each module in above-mentioned each Installation practice/mono- when executing the computer program The function of member, such as: when receiving webpage open instructions, obtain the destination address of webpage to be opened;Obtain top-level windows;Really The page elements of the fixed top-level windows;Retain the page elements as target pages element;With the target pages element Based on, the corresponding webpage of the destination address is opened in the top-level windows.
The bus can be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation PCI) bus or expanding the industrial standard structure (extended industry standard architecture, abbreviation EISA) Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, only with an arrow in Fig. 2 Head indicates, it is not intended that an only bus or a type of bus.
Illustratively, the computer program can be divided into one or more module/units, one or more A module/unit is stored in the memory 12, and is executed by the processor 13, to complete the present invention.It is one Or multiple module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for retouching State implementation procedure of the computer program in the electronic equipment 1.It is obtained for example, the computer program can be divided into Take unit 110, determination unit 111, stick unit 112, opening unit 113, detection unit 114 and storage unit 115.
Further, electronic equipment can also include network interface, network interface optionally may include wireline interface and/ Or wireless interface (such as WI-FI interface, blue tooth interface), commonly used in being built between the electronic equipment 1 and other electronic equipments Vertical communication connection.
Optionally, the electronic equipment 1 can also include user interface, user interface may include display (Display), Input unit such as keyboard (Keyboard), optional user interface can also include standard wireline interface and wireless interface.It can Selection of land, in some embodiments, display can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display and OLED (Organic Light-EmittingDiode, Organic Light Emitting Diode) touches device etc..Wherein, display can also be appropriate Referred to as display screen or display unit, for showing the information handled in the electronic device 1 and for showing visual user Interface.
If the integrated module/unit of the electronic equipment 1 is realized in the form of SFU software functional unit and as independent Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention is real All or part of the process in existing above-described embodiment method, can also instruct relevant hardware come complete by computer program At the computer program can be stored in a computer readable storage medium, which is being executed by processor When, it can be achieved that the step of above-mentioned each embodiment of the method.
Wherein, the computer program includes computer program code, and the computer program code can be source code Form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium may include: can Carry any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer of the computer program code Memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer-readable medium The content for including can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as in certain departments Method administrative area does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium.
Fig. 2 illustrates only the electronic equipment 1 that program is opened with component 12-13 and webpage, and those skilled in the art can With understanding, Fig. 2 shows structure do not constitute the restriction to the electronic equipment 1, may include than illustrate it is less or More components perhaps combine certain components or different component layouts.
In conjunction with Fig. 1, the memory 12 in the electronic equipment 1 stores multiple instruction to realize a kind of webpage opening side The multiple instruction can be performed to realize in method, the processor 13: when receiving webpage open instructions, obtaining net to be opened The destination address of page;Obtain top-level windows;Determine the page elements of the top-level windows;Retain the page elements as target Page elements;Based on the target pages element, the corresponding webpage of the destination address is opened in the top-level windows.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Detect the performance of the electronic equipment;
Determine whether the performance meets configuration condition;
When the performance meets the configuration condition, based on the target pages element, in the top-level windows It is upper to open the corresponding webpage of the destination address.
Preferred embodiment according to the present invention, the configuration condition include:
The video memory of the electronic equipment is less than or equal to default video memory, and computing capability is less than or equal to default calculate Ability.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
When detecting that the link on any webpage is triggered, using the link that is triggered as the destination address;Or
When detecting that configuration-direct is performed, it regard the corresponding link of the configuration-direct as the destination address;Or Person
When detecting the signal of new webpage, it regard the newly-built corresponding link of webpage as the destination address.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
The current web page of the top-level windows is covered with the corresponding webpage of the destination address.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Obtain the historical viewings record of configuration;
The current web page is saved to the historical viewings and is recorded;
It when receiving the instruction for returning to higher level's page, is recorded according to the historical viewings, opens higher level's page.
Referring to Fig. 3, the functional block diagram of system is opened for webpage of the present invention.It includes obtaining that the webpage, which opens system 11, Take unit 110, determination unit 111, stick unit 112, opening unit 113, detection unit 114 and storage unit 115.The present invention So-called module/unit refers to that one kind can be performed by processor 13, and can complete the series of computation of fixed function Machine program segment, storage is in memory 12.It in the present embodiment, will be in subsequent implementation about the function of each module/unit It is described in detail in example.
When receiving webpage open instructions, acquiring unit 110 obtains the destination address of webpage to be opened.
In at least one embodiment of the present invention, described to obtain when the electronic equipment receives webpage open instructions Unit 110 is taken further to obtain the destination address of the webpage to be opened.
Specifically, the electronic equipment receives webpage open instructions and includes:
The electronic equipment receives user to the touch control operation of configuration key, refers to receive the webpage opening It enables.
Wherein, the configuration key may include physical button, also may include the virtual icon etc. custom-configured, this Invention does not limit.
Further, the destination address that the acquiring unit 110 obtains webpage to be opened includes, but are not limited to following any A kind of mode:
(1) when the acquiring unit 110 detects that the link on any webpage is triggered, the acquiring unit 110 with The link being triggered is as the destination address.
It is understood that can all have the hyperlink of configuration on many webpages, to facilitate user to click directly on the hyperlink It connects, and enters the webpage wanted access to.And under normal conditions, when the acquiring unit 110 receives described in user's click When the signal of hyperlink, the acquiring unit 110 opens the hyperlink for corresponding browser is controlled on the new page, with The content on webpage is corresponded to the hyperlink for the user to access.
Therefore, in the present embodiment, when the acquiring unit 110 detects that the link on any webpage is triggered, institute Acquiring unit 110 is stated using the link that is triggered as the destination address, so as to the corresponding net of destination address described in subsequent access Page.
(2) when the acquiring unit 110 detects that configuration-direct is performed, the acquiring unit 110 is by the configuration Corresponding link is instructed to be used as the destination address.
It is understood that the electronic equipment can open webpage when running certain configuration-directs.Such as: it is described Acquiring unit 110 can execute the instruction of the window.open () in Javascript code, the window.open () instruction It can be used for creating a webpage.
Therefore, in the present embodiment, when the acquiring unit 110 detects that configuration-direct is performed, the acquisition is single Member 110 regard the corresponding link of the configuration-direct as the destination address, so that destination address described in subsequent access is corresponding Webpage.
(3) when the acquiring unit 110 detects the signal of new webpage, net that the acquiring unit 110 will be newly-built The corresponding link of page is used as the destination address.
Such as: when the acquiring unit 110 detect user click the target=_blank in any page link, Whens the link of target=_top, the link of target=_self or link of target=_parent etc., the electronics Equipment will create a webpage.
Therefore, in the present embodiment, when the acquiring unit 110 detects the signal of new webpage, the acquisition is single Member 110 regard the newly-built corresponding link of webpage as the destination address, so as to the corresponding net of destination address described in subsequent access Page.
The acquiring unit 110 obtains top-level windows.
In at least one embodiment of the present invention, the acquiring unit 110 obtains the top-level windows.
Specifically, the top-level windows refer to the window that the electronic equipment is currently displaying, such as: the top layer window The front end for the browser that content in mouthful can be being currently used in the electronic equipment is shown, for user progress Browsing.
Determination unit 111 determines the page elements of the top-level windows.
In at least one embodiment of the present invention, the determination unit 111 determines the page elements of the top-level windows.
Specifically, the page elements refer to required base page attribute etc. when one page of opening, such as: painting canvas Canvas, basic views view etc..
Stick unit 112 retains the page elements as target pages element.
In at least one embodiment of the present invention, the stick unit 112 retains the page elements as the mesh Page elements are marked, any new webpage is opened according to the target pages element so as to subsequent, it is another without the electronic equipment Outer distribution video memory is drawn.
Opening unit 113 opens the destination address based on the target pages element in the top-level windows Corresponding webpage.
In at least one embodiment of the present invention, the opening unit 113 is based on the target pages element, The corresponding webpage of the destination address is opened in the top-level windows.
Specifically, the opening unit 113 opens institute based on the target pages element in the top-level windows Stating the corresponding webpage of destination address includes:
The opening unit 113 covers the current web page of the top-level windows with the corresponding webpage of the destination address.
By above embodiment, the current web page of the top-level windows is directly covered by the corresponding webpage of the destination address Lid, that is to say, that although having reopened a webpage, do not reopen a window.
By above embodiment, the electronic equipment can be using described in the page elements opening on original Webpage The corresponding webpage of destination address, the task that the electronic equipment opens webpage without in addition distributes video memory, so as to improve The performance of graphics processor in the electronic equipment avoids the lower electronic equipment of performance when opening webpage, due to consuming Excessive resource, the problem of causing webpage not open normally.
In at least one embodiment of the present invention, the method also includes:
The acquiring unit 110 obtains the historical viewings record of configuration, storage unit 115 by the current web page save to The historical viewings record, when receiving the instruction for returning to higher level's page, the opening unit 113 is according to the historical viewings Record opens higher level's page.
By above embodiment, the electronic equipment can save the record browsed, and be browsed according to described Record, open higher level's page, in order to the electronic equipment according to the historical viewings record carry out the superior and the subordinate's page conversion, Facilitate the user to check browsing record, promotes the experience that the user browses webpage.
In at least one embodiment of the present invention, when the electronic equipment receives webpage open instructions, the side Method further include:
Detection unit 114 detects the performance of the electronic equipment, and the determination unit 111 determines whether the performance meets Configuration condition, also, when the performance meets the configuration condition, the opening unit 113 is with the target pages element Based on, the corresponding webpage of the destination address is opened in the top-level windows.
By above embodiment, only when the performance meets the configuration condition, the electronic equipment is just with institute Based on stating target pages element, the corresponding webpage of the destination address is opened in the top-level windows.
And when the performance is unsatisfactory for the configuration condition, the electronic equipment can open webpage in the normal fashion, To preferably embody the intention of Web page maker.
Further, the configuration condition includes:
The video memory of the electronic equipment is less than or equal to default video memory, and computing capability is less than or equal to default calculate Ability.
Specifically, the video memory decides the number of the interim storing data of the electronic equipment, further, the appearance of video memory Amount include, but are not limited to it is following any one: 128MB, 256MB, 512MB, 1024MB etc..
The computing capability of the electronic equipment can influence the reaction speed of the electronic equipment, execution efficiency etc..
Further, the electronic equipment can make the default video memory and the default computing capability by oneself Justice configuration, to meet the needs of user is using the speed of service when electronic equipment and operational effect.
Such as: when electronic equipment intelligent hardware devices lower for performance, although the intelligent hardware devices The tasks such as the whole network search vast resources, free very fast downloading are able to carry out, but due to the limitation of hardware performance itself, the use When opening new webpage, the intelligent hardware devices can not distribute enough video memorys for the new webpage, and due to meter at family The limitation of calculation ability, it is more likely that the new webpage can not be normally opened, the experience that user browses webpage is not only affected, Certain burden is brought to the intelligent hardware devices.
Therefore, it by present embodiment, can effectively solve the problem that the above problem, detecting described in the electronic equipment satisfaction When configuration condition (that is: the performance of the described electronic equipment is lower), original page is covered with new page, user can be made normally clear It lookes at, and has saved the resource of the electronic equipment, user experience is more preferably.
In conclusion the present invention when receiving webpage open instructions, obtains the destination address of webpage to be opened, further Top-level windows are obtained, and determine the page elements of the top-level windows, so as to the page elements of top-level windows described in later use Webpage is opened, so that the resource of electronic equipment is saved, further based on the target pages element, in the top-level windows It is upper to open the corresponding webpage of the destination address, to solve to consume excess resource when low performance electronic equipment opens webpage, make Resource consumption is preferably minimized by the problem of can not normally opening at webpage while meeting user demand, is set with improving electronics Standby performance.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meter When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present invention.The computer can To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center Such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another website Website, computer, server or data center are transmitted.The computer readable storage medium can be computer and can deposit Any usable medium of storage either includes that the data storages such as one or more usable mediums integrated server, data center are set It is standby.The usable medium can be magnetic medium, (for example, floppy disk, mobile hard disk, tape), optical medium (for example, DVD) or Semiconductor medium (such as solid-state mobile hard disk Solid State Disk (SSD)) etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in 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 software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which 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.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
It should be noted that the serial number of the above embodiments of the invention is only for description, do not represent the advantages or disadvantages of the embodiments.And The terms "include", "comprise" herein or any other variant thereof is intended to cover non-exclusive inclusion, so that packet Process, device, article or the method for including a series of elements not only include those elements, but also including being not explicitly listed Other element, or further include for this process, device, article or the intrinsic element of method.Do not limiting more In the case where, the element that is limited by sentence "including a ...", it is not excluded that including process, device, the article of the element Or there is also other identical elements in method.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of webpage deployment method is applied in electronic equipment, which is characterized in that the described method includes:
When receiving webpage open instructions, the destination address of webpage to be opened is obtained;
Obtain top-level windows;
Determine the page elements of the top-level windows;
Retain the page elements as target pages element;
Based on the target pages element, the corresponding webpage of the destination address is opened in the top-level windows.
2. webpage deployment method as described in claim 1, which is characterized in that when receiving webpage open instructions, the side Method further include:
Detect the performance of the electronic equipment;
Determine whether the performance meets configuration condition;
When the performance meets the configuration condition, based on the target pages element, beaten in the top-level windows Open the corresponding webpage of the destination address.
3. webpage deployment method as claimed in claim 2, which is characterized in that the configuration condition includes:
The video memory of the electronic equipment is less than or equal to default video memory, and computing capability is less than or equal to default calculating energy Power.
4. webpage deployment method as described in claim 1, which is characterized in that the destination address packet for obtaining webpage to be opened It includes:
When detecting that the link on any webpage is triggered, using the link that is triggered as the destination address;Or
When detecting that configuration-direct is performed, it regard the corresponding link of the configuration-direct as the destination address;Or
When detecting the signal of new webpage, it regard the newly-built corresponding link of webpage as the destination address.
5. webpage deployment method as described in claim 1, which is characterized in that it is described based on the target pages element, The corresponding webpage of the destination address is opened in the top-level windows includes:
The current web page of the top-level windows is covered with the corresponding webpage of the destination address.
6. webpage deployment method as claimed in claim 5, which is characterized in that the method also includes:
Obtain the historical viewings record of configuration;
The current web page is saved to the historical viewings and is recorded;
It when receiving the instruction for returning to higher level's page, is recorded according to the historical viewings, opens higher level's page.
7. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Memory stores at least one instruction;And
Processor executes the instruction stored in the memory to realize the webpage as described in any one of claim 1 to 6 Deployment method.
8. electronic equipment according to claim 7, which is characterized in that the electronic equipment be component content distribution network or The node of person's block chain network.
9. a kind of webpage opens system, run in electronic equipment, which is characterized in that the system comprises:
Acquiring unit, for obtaining the destination address of webpage to be opened when receiving webpage open instructions;
The acquiring unit is also used to obtain top-level windows;
Determination unit, for determining the page elements of the top-level windows;
Stick unit, for retaining the page elements as target pages element;
Opening unit, for opening the destination address pair in the top-level windows based on the target pages element The webpage answered.
10. a kind of computer readable storage medium, which is characterized in that be stored with webpage on the computer readable storage medium and beat Program is opened, the webpage is opened program and can be executed by one or more processor, to realize as any in claim 1 to 6 Webpage deployment method described in.
CN201811348156.3A 2018-11-13 2018-11-13 Webpage deployment method, electronic equipment, system and storage medium Pending CN109614180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811348156.3A CN109614180A (en) 2018-11-13 2018-11-13 Webpage deployment method, electronic equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811348156.3A CN109614180A (en) 2018-11-13 2018-11-13 Webpage deployment method, electronic equipment, system and storage medium

Publications (1)

Publication Number Publication Date
CN109614180A true CN109614180A (en) 2019-04-12

Family

ID=66004242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811348156.3A Pending CN109614180A (en) 2018-11-13 2018-11-13 Webpage deployment method, electronic equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN109614180A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110780960A (en) * 2019-09-29 2020-02-11 中至数据集团股份有限公司 Webpage making method and system, readable storage medium and server
CN111339470A (en) * 2020-03-03 2020-06-26 政采云有限公司 Page return alarm method, system, device and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246739A (en) * 2013-05-16 2013-08-14 百度在线网络技术(北京)有限公司 Web browsing control method of multiple Web Views and browser
CN105630478A (en) * 2014-12-01 2016-06-01 阿里巴巴集团控股有限公司 Method and device for realizing page switching
CN105893095A (en) * 2016-04-13 2016-08-24 海尔优家智能科技(北京)有限公司 Webpage loading method and device
CN106250434A (en) * 2016-07-26 2016-12-21 东软集团股份有限公司 Load the method and device of webpage
US20180109434A1 (en) * 2016-10-17 2018-04-19 Salesforce.Com, Inc. Facilitating simulation of network conditions in a hybrid application environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246739A (en) * 2013-05-16 2013-08-14 百度在线网络技术(北京)有限公司 Web browsing control method of multiple Web Views and browser
CN105630478A (en) * 2014-12-01 2016-06-01 阿里巴巴集团控股有限公司 Method and device for realizing page switching
CN105893095A (en) * 2016-04-13 2016-08-24 海尔优家智能科技(北京)有限公司 Webpage loading method and device
CN106250434A (en) * 2016-07-26 2016-12-21 东软集团股份有限公司 Load the method and device of webpage
US20180109434A1 (en) * 2016-10-17 2018-04-19 Salesforce.Com, Inc. Facilitating simulation of network conditions in a hybrid application environment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110780960A (en) * 2019-09-29 2020-02-11 中至数据集团股份有限公司 Webpage making method and system, readable storage medium and server
CN110780960B (en) * 2019-09-29 2024-01-26 中至数据集团股份有限公司 Webpage making method, webpage making system, readable storage medium and server
CN111339470A (en) * 2020-03-03 2020-06-26 政采云有限公司 Page return alarm method, system, device and readable storage medium

Similar Documents

Publication Publication Date Title
CN108228305A (en) Display methods, device, storage medium and the electronic equipment of five application page
CN109634915A (en) File dispositions method, Cloud Server, system and storage medium
CN104239139A (en) Method, device and terminal for processing boot-strap self-starting project
CN107220077B (en) Using the management-control method and management and control devices of starting
CN104216698B (en) A kind of registration web page method and relevant apparatus
CN108932057A (en) Method of controlling operation thereof, device, storage medium and electronic equipment
CN104937530A (en) Method and apparatus for two-dimensional document navigation
CN109688033A (en) A kind of network bandwidth evaluating method, device, system and storage medium
CN109902255A (en) Page mixing browsing record generation method, device, equipment and storage medium
CN109617959A (en) A kind of data load method, device, system and storage medium
CN106202578A (en) A kind of browser local information synchronization processing method and device
CN109981415A (en) Condition judgement method, electronic equipment, system and medium
CN110109765A (en) Storage device recognition methods, electronic equipment, system and medium
CN109614180A (en) Webpage deployment method, electronic equipment, system and storage medium
CN110290399A (en) A kind of data distributing method, system, device and computer readable storage medium
CN110309444A (en) A kind of page display method, device, medium and server
CN110223044A (en) A kind of mail push method, system and electronic equipment and storage medium
CN107391540A (en) A kind of small routine methods of exhibiting, device and grader
CN109951562A (en) NAT penetrating method and system, electronic equipment and storage medium
CN111338745A (en) Deployment method and device of virtual machine and intelligent equipment
CN109753243A (en) Copy dispositions method, Cloud Server and storage medium
CN110417789A (en) Server connection method, electronic equipment, system and medium
CN109639801A (en) Back end distribution and data capture method and system
CN107317860A (en) Preloading method and device for theme detail page and electronic equipment
CN109783321A (en) Monitoring data management method, device, terminal device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190412