CN103678411A - Picture information processing method, operation processing method and electronic equipment - Google Patents
Picture information processing method, operation processing method and electronic equipment Download PDFInfo
- Publication number
- CN103678411A CN103678411A CN201210359630.9A CN201210359630A CN103678411A CN 103678411 A CN103678411 A CN 103678411A CN 201210359630 A CN201210359630 A CN 201210359630A CN 103678411 A CN103678411 A CN 103678411A
- Authority
- CN
- China
- Prior art keywords
- information
- pictorial information
- webpage
- pictorial
- pictures
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a picture information processing method used for improving the accomplishing efficiency of network requests. The picture information processing method comprises the steps that the information of at least two pictures related to a first web page corresponding to a network source message is obtained, and the information of the obtained pictures is processed and is combined into the information of a first picture; the information of the first picture is locally stored so that the information of the first picture can be displayed when the first web page is opened. The invention further discloses an operation processing method and electronic equipment corresponding to the picture information processing method.
Description
Technical field
The present invention relates to image processes and built-in field, particularly pictorial information disposal route, operation processing method and electronic equipment.
Background technology
Better for display effect in a webpage, conventionally need to use a large amount of pictures, these pictures are the maximum files that takes up room in webpage loading procedure always.
In prior art, the solution that large-scale website adopts is by the mode of css sprite (a kind of Web page picture application processing mode), the all fragmentary picture that it allows you that a page is related to all covers in a large figure and goes, so, when this page of access, the picture being written into just can slowly not show as before a width.
Present inventor, in realizing the process of the embodiment of the present application technical scheme, at least finds to exist in prior art following technical matters:
Closing figure is usually a very hard work, in prior art, picture is to be stored in network side after merging, if user also needs to use next time, also need again to network side request, can increase the burden of network side, and such network request to complete efficiency lower, can make user's stand-by period longer.
Summary of the invention
The embodiment of the present invention provides pictorial information disposal route, operation processing method and electronic equipment, for solving prior art network request, completes the technical matters that efficiency is lower, has realized and has improved the technique effect that network request completes efficiency.
A pictorial information disposal route, is applied to client electronic device, in the loading procedure of the webpage that described method is applied to comprise picture, comprises the following steps:
Obtain at least two pictures information that first webpage corresponding to a network originating information is relevant;
At least two pictures information of obtaining are processed, merged into first pictorial information;
Described the first pictorial information is stored in to this locality, shows described the first pictorial information when opening described the first webpage.
Preferably, the step of obtaining at least two pictures information that first webpage corresponding to a network originating information is relevant comprises: to network side, send respectively at least two the picture request messages corresponding with described at least two pictures information; Obtain the described at least two pictures information that described network side sends.
Preferably, the at least two pictures information of obtaining are processed, the step of being merged into first pictorial information comprises: by a kind of webpage programming language JavaScript, according to a kind of internet drawing element canvas, at least two pictures information of obtaining are processed, merged into first pictorial information.
Preferably, also comprise step: detect in the first webpage corresponding to described network originating information and whether have pictorial information to upgrade; While having pictorial information to upgrade, upgrade described first pictorial information of local storage in the first webpage corresponding to described network originating information being detected.
Preferably, while having pictorial information to upgrade in the first webpage corresponding to described network originating information being detected, the step of upgrading described first pictorial information of local storage comprises: while having pictorial information to increase in the first webpage corresponding to described network originating information being detected, detect the increase that whether has corresponding function; When the increase of corresponding function being detected, load corresponding function, automatically to upgrade described first pictorial information of local storage.
Preferably, while having pictorial information to upgrade in the first webpage corresponding to described network originating information being detected, the step of upgrading described first pictorial information of local storage comprises: while having pictorial information to reduce in the first webpage corresponding to described network originating information being detected, detect the minimizing that whether has corresponding function; When the minimizing of corresponding function being detected, unloading corresponding function, automatically to upgrade described first pictorial information of local storage.
Preferably, while having pictorial information to upgrade in the first webpage corresponding to described network originating information being detected, the step of upgrading described first pictorial information of local storage comprises: while having the content generation change of pictorial information in the first webpage corresponding to described network originating information being detected, according to corresponding described the first pictorial information of revising this locality storage of the pictorial information after change.
An operation processing method, is applied to client electronic device, in the loading procedure of the webpage that described method is applied to comprise picture, said method comprising the steps of:
Obtain the first operation that user carries out described electronic equipment;
According to corresponding the first operation information of described the first operation, described the first operation is responded, generate the first operational order;
Carry out described the first operational order, open and corresponding the first webpage of described the first operation, wherein, in the process of opening with corresponding the first webpage of described the first operation, from this locality, load first pictorial information relevant to described the first webpage; Described the first pictorial information is for merging according at least two pictures information relevant to described the first webpage the pictorial information forming.
Preferably, the step that merges described the first pictorial information according at least two pictures information relevant to described the first webpage comprises: by JavaScript, according to canvas, described at least two pictures information are processed, merged into first pictorial information.
Preferably, after synthetic described the first pictorial information, also comprise step: described the first pictorial information is stored in to this locality.
An electronic equipment, described electronic equipment comprises:
The first acquisition module, for obtaining at least two pictures information that first webpage corresponding to a network originating information is relevant;
Processing module, at least two pictures information of obtaining are processed, is merged into first pictorial information;
Memory module, for described the first pictorial information is stored in to this locality, shows described the first pictorial information when opening described the first webpage.
Preferably, described the first acquisition module specifically comprises that picture request submodule and picture obtain submodule:
Described picture request submodule is for sending respectively at least two the picture request messages corresponding with described at least two pictures information to network side;
Described picture obtains the described at least two pictures information that submodule sends for obtaining described network side.
Preferably, described processing module specifically for: by JavaScript, according to canvas, at least two pictures information of obtaining are processed, are merged into first pictorial information.
Preferably, described electronic equipment also comprises detection module and update module;
Whether described detection module is for detection of there being pictorial information to upgrade in the first webpage corresponding to described network originating information;
Described update module, for when the first webpage corresponding to described network originating information being detected and have pictorial information to upgrade, is upgraded local described the first pictorial information of storing.
Preferably, described detection module also comprises the first detection sub-module, for when the first webpage corresponding to described network originating information being detected and have pictorial information to increase, detects the increase that whether has corresponding function;
Described update module also comprises the first renewal submodule, for when the increase of corresponding function being detected, loads corresponding function, automatically to upgrade described first pictorial information of local storage.
Preferably, described detection module also comprises the first detection sub-module, for when the first webpage corresponding to described network originating information being detected and have pictorial information to reduce, detects the minimizing that whether has corresponding function;
Described update module also comprises the first renewal submodule, and for when the minimizing of corresponding function being detected, unloading corresponding function, automatically to upgrade described first pictorial information of local storage.
Preferably, described update module also comprises that the 3rd upgrades submodule, for when the first webpage corresponding to described network originating information being detected and have the content of pictorial information change occurs, according to the pictorial information after change is corresponding, revise local described the first pictorial information of storing.
An electronic equipment, described electronic equipment comprises:
The second acquisition module, the first operation of described electronic equipment being carried out for obtaining user;
Instruction generation module, for according to corresponding the first operation information of described the first operation, described the first operation being responded, generates the first operational order;
Instruction execution module, be used for carrying out described the first operational order, open and corresponding the first webpage of described the first operation, wherein, in the process of opening with corresponding the first webpage of described the first operation, from this locality, load first pictorial information relevant to described the first webpage; Described the first pictorial information is for merging according at least two pictures information relevant to described the first webpage the pictorial information forming.
Preferably, described electronic equipment also comprises processing module, for described at least two pictures information being processed according to canvas by JavaScript, is merged into first pictorial information.
Preferably, described electronic equipment also comprises memory module, for described the first pictorial information is stored in to this locality.
Pictorial information disposal route in the embodiment of the present invention comprises: obtain at least two pictures information that first webpage corresponding to a network originating information is relevant; At least two pictures information of obtaining are processed, merged into first pictorial information; Described the first pictorial information is stored in to this locality, shows described the first pictorial information when opening described the first webpage.In the embodiment of the present invention, can directly obtain at least two pictures information that described first webpage corresponding to a network originating information is relevant by client, for example can obtain all pictorial informations relevant to described the first webpage by client, by client, all pictorial informations that obtain are processed, merged into first pictorial information, without carry out picture merging by network side as in prior art, alleviated the burden of network side.And in the embodiment of the present invention, described the first pictorial information is stored in to this locality, when opening described the first webpage, needs can load from this locality described the first pictorial information, without obtaining from network side again, obviously improved the speed that webpage loads, also improved the efficiency of acquisition of information, in the time need to opening described the first webpage, can load quickly described first pictorial information relevant to described the first webpage, improve network request and completed efficiency.
Accompanying drawing explanation
Fig. 1 is the main process flow diagram of pictorial information disposal route in the embodiment of the present invention;
Fig. 2 is the main process flow diagram of operation processing method in the embodiment of the present invention;
Fig. 3 is a kind of primary structure figure of electronic equipment in the embodiment of the present invention;
Fig. 4 is the another kind of primary structure figure of electronic equipment in the embodiment of the present invention.
Embodiment
Pictorial information disposal route in the embodiment of the present invention comprises: obtain at least two pictures information that first webpage corresponding to a network originating information is relevant; At least two pictures information of obtaining are processed, merged into first pictorial information; Described the first pictorial information is stored in to this locality, shows described the first pictorial information when opening described the first webpage.In the embodiment of the present invention, can directly obtain at least two pictures information that described first webpage corresponding to a network originating information is relevant by client, for example can obtain all pictorial informations relevant to described the first webpage by client, by client, all pictorial informations that obtain are processed, merged into first pictorial information, without carry out picture merging by network side as in prior art, alleviated the burden of network side.And in the embodiment of the present invention, described the first pictorial information is stored in to this locality, when opening described the first webpage, needs can load from this locality described the first pictorial information, without obtaining from network side again, obviously improved the speed that webpage loads, also improved the efficiency of acquisition of information, in the time need to opening described the first webpage, can load quickly described first pictorial information relevant to described the first webpage, improve network request and completed efficiency.
Referring to Fig. 1, main flow process for pictorial information disposal route in the embodiment of the present invention, described method can be applied to a client electronic device (hereinafter to be referred as client or electronic equipment), in the loading procedure of the webpage that described method can be applied to comprise picture.Described method can comprise the following steps:
Step 101: obtain at least two pictures information that first webpage corresponding to a network originating information is relevant.
When described client need to be opened described the first webpage for the first time, need to obtain at least two pictures information relevant to described the first webpage from network side.Generally, the corresponding plurality of pictures information of webpage meeting, in the embodiment of the present invention, when described client is opened described the first webpage for the first time at needs, can obtain all pictorial informations relevant to described the first webpage from network side.
In the embodiment of the present invention, every request one pictures of described client, may need to send a picture request message to network side, and therefore, described client-requested at least two pictures, may need to send at least two picture request messages to network side.Described client can obtain at least two pictures information that network side sends.
Can be specifically, user operates described client, for example, in the browser page that user installs in described client, clicked for the first time described the first webpage, when user clicks described the first webpage for the first time, described client can be to the network side acquisition request at least two pictures information relevant to described the first webpage, preferably, described client can be to the network side acquisition request all pictorial informations relevant to described the first webpage.
From request for the second time, because the picture after merging in prior art is to be stored in network side, when client is opened this first webpage again, need again to the network side request pictorial information relevant to this first webpage, and the present invention has been stored in this locality by the pictorial information after merging, when client is opened this first webpage again, the direct pictorial information from this locality obtains merging, without asking again network side, obviously shorten the time of network request, improved the efficiency of network request.Embodiment shown in Fig. 1 is the step of client while asking for the first time to network side.
Step 102: at least two pictures information of obtaining are processed, merged into first pictorial information.
Described client is after obtaining at least two pictures information relevant to described the first webpage, can process at least two pictures information of obtaining, for example a kind of processing mode can be to merge, the at least two pictures information of obtaining can be merged into a pictures information, the pictures information obtaining after merging can be called described the first pictorial information.
In the embodiment of the present invention, can according to canvas (a kind of WEB (internet) drawing element), at least two pictures information of obtaining, process by JavaScript (a kind of webpage programming language), be merged into first pictorial information.
Can according to canvas, at least two pictures information of obtaining, splice by JavaScript, be spliced into described the first pictorial information, the every pictures information comprising in described the first pictorial information can be unique corresponding to the primary importance in described the first webpage, to can make every pictures information all be presented at the tram in described the first webpage when loading described the first pictorial information.
In prior art, at network side, be to adopt CSS Sprite (a kind of Web page picture application processing mode) to carry out picture merging, by which, merge, need more to operate manually, need Web page developer to pay more work.And if adopt the method in the embodiment of the present invention, by JavaScript, according to canvas, at least two pictures information of obtaining are merged, after programming completes, system can automatically perform, can automatically to picture, merge, make whole system more intelligent, reduce manual operation, also obviously improved operating efficiency.
Canvas is a html element element, and this element can be used for graphing by JavaScript.Such as can draw with it, composograph or make animation etc.
Step 103: described the first pictorial information is stored in to this locality, shows described the first pictorial information when opening described the first webpage.
By JavaScript, according to canvas, synthesizing after described the first pictorial information, described the first pictorial information can be stored in to described client terminal local, for later all, can load from this locality need to open described the first webpage time, thereby can in described the first webpage, show quickly described the first pictorial information.
Meanwhile, because this is that described client need to be opened described the first webpage, because after synthetic described the first pictorial information, described the first pictorial information being presented in described the first webpage according to canvas by JavaScript.
Wherein, can first described the first pictorial information be presented in described the first webpage, again described the first pictorial information is stored in to this locality afterwards, or can first described the first pictorial information be stored in to this locality, again described the first pictorial information is presented in described the first webpage afterwards, or can described the first pictorial information is presented in described the first webpage and by described the first pictorial information and is stored in this locality simultaneously.
In the embodiment of the present invention, described the first pictorial information is stored in to this locality, when opening described the first webpage the N time, described client can directly from this locality, load described first pictorial information relevant to described the first webpage, the display speed of described the first webpage is obviously than faster in prior art, and the implementation rate of network request is also obviously higher than prior art.
In the embodiment of the present invention, after step 103, can also comprise step:
Whether detect in the first webpage corresponding to described network originating information has pictorial information to upgrade;
While having pictorial information to upgrade, upgrade described first pictorial information of local storage in the first webpage corresponding to described network originating information being detected.
User, do not close described the first webpage, at described the first webpage in the situation that opening, whether described client can detect in described the first webpage corresponding to described network originating information at any time has pictorial information to upgrade, because network side may can upgrade one or more pictorial information relevant to described the first webpage at any time, for example may increase the pictorial information relevant to described the first webpage, or may reduce one or more pictorial information relevant to described the first webpage, or may change one or more pictorial information relevant to described the first webpage.
Wherein, described client can regularly detect, detect in real time or can when being triggered, detect.
When described client detects while having pictorial information upgrade in the first webpage corresponding to described network originating information, what renewal herein referred to can be to have picture to increase, have picture reduce or have image content that change has occurred, and described client can be upgraded according to the update status of network side described first pictorial information of local storage.
Concrete, if detect in described the first webpage, there is pictorial information to increase, described client can continue to detect the increase that whether has the corresponding function module, because having increased picture in common webpage, is because increased extra functional module.When if described client detects the increase of the corresponding function module, can load the functional module of increase, can be specifically to network side request and load the corresponding function module, after loading the functional module increasing, described first pictorial information of local storage can access automatic renewal; If described client detects the increase that there is no the corresponding function module, can be without upgrading described the first pictorial information.
Concrete, if detect while having pictorial information to reduce in described the first webpage, described client can continue to detect the minimizing that whether has the corresponding function module, because having reduced picture in webpage conventionally, is because of having reduced corresponding functional module.When if described client detects the minimizing of the corresponding function module, can unload the functional module of minimizing, after the corresponding functional module of unloading, described first pictorial information of local storage can access automatic renewal; If described client detects the minimizing that there is no the corresponding function module, can be without upgrading described the first pictorial information.
No matter be that pictorial information increases or reduces, can by load or unload the corresponding function module, realize the automatic renewal of described the first pictorial information, can upgrade in the lump functional module and pictorial information, operating efficiency is higher.
Concrete, if detect while having the content of pictorial information that change occurs in described the first webpage, the corresponding corresponding pictorial information upgrading in described the first pictorial information of pictorial information after can upgrading according to network side, without re-starting again picture, merge, only need to revise the corresponding site in described the first pictorial information, very convenient, workload is less.
In the embodiment of the present invention, as long as described the first webpage is not closed, described client just can Sampling network side whether relevant for the renewal of the pictorial information of described the first webpage, if had, can automatically upgrade according to the update content of network side described first pictorial information of local storage, thereby can make described first pictorial information of described client stores synchronize and upgrade with network side, to meet consumers' demand, and realize the real-time update of information.
By several specific embodiments, introduce the pictorial information disposal route in the present invention below, following embodiment article several possible application scenarios of pictorial information disposal route in the present invention.It should be noted that; embodiment in the present invention is only for explaining the present invention; and can not be for limiting the present invention, all embodiment that meet inventive concept are all within protection scope of the present invention, and those skilled in the art know how thought according to the present invention is out of shape naturally.
Embodiment mono-:
Described client is a computer.One user is using this computer.
In the browser that user installs in this computer, clicked link corresponding to the first webpage, described client starts to the network side request information relevant to described the first webpage.
Pictorial information relevant to described the first webpage in the present embodiment has 10, and described client can send 10 picture request messages to network side, and these 10 picture request messages are relevant to this 10 pictures information respectively.Network side sends to respectively described client by the pictorial information corresponding with each picture request message after receiving picture request message.
Described client can be spliced at least two pictures information of obtaining according to canvas by JavaScript, be spliced into described the first pictorial information, the every pictures information comprising in described the first pictorial information can be unique corresponding to the primary importance in described the first webpage, to can make every pictures information all be presented at the tram in described the first webpage when loading described the first pictorial information.
Described client is presented at described the first pictorial information in described the first webpage, also described the first pictorial information is stored in to this locality simultaneously.
User does not close described the first webpage, and whether described client regularly Sampling network side has pictorial information to upgrade about described the first webpage.
For example, in second moment, described client detects network side has pictorial information to increase about described the first webpage.Described client can continue to detect the increase that whether has the corresponding function module, because having increased picture in common webpage, is because increased extra functional module.When if described client detects the increase of the corresponding function module, can load the functional module of increase, can be specifically to network side request and load the corresponding function module, after loading the functional module increasing, described first pictorial information of local storage can access automatic renewal; If described client detects the increase that there is no the corresponding function module, can be without upgrading described the first pictorial information.
Client described in the present embodiment detects the increase of the corresponding function module, described client loads the functional module increasing, can be specifically to network side request and load the corresponding function module, after loading the functional module increasing, described first pictorial information of local storage has also obtained automatic renewal.
Embodiment bis-:
Described client is a computer.One user is using this computer.
In the browser that user installs in this computer, clicked link corresponding to the first webpage, described client starts to the network side request information relevant to described the first webpage.
Pictorial information relevant to described the first webpage in the present embodiment has 10, and described client can send 10 picture request messages to network side, and these 10 picture request messages are relevant to this 10 pictures information respectively.Network side sends to respectively described client by the pictorial information corresponding with each picture request message after receiving picture request message.
Described client can be spliced at least two pictures information of obtaining according to canvas by JavaScript, be spliced into described the first pictorial information, the every pictures information comprising in described the first pictorial information can be unique corresponding to the primary importance in described the first webpage, to can make every pictures information all be presented at the tram in described the first webpage when loading described the first pictorial information.
Described client is presented at described the first pictorial information in described the first webpage, also described the first pictorial information is stored in to this locality afterwards.
User does not close described the first webpage, and whether described client in real time Sampling network side has pictorial information to upgrade about described the first webpage.
For example, in second moment, described client detects network side has pictorial information to reduce about described the first webpage.Described client can continue to detect the minimizing that whether has the corresponding function module, because having reduced picture in common webpage, is because reduced corresponding functional module.When if described client detects the minimizing of the corresponding function module, can unload the functional module of minimizing, after the functional module reducing in unloading, described first pictorial information of local storage can access automatic renewal; If described client detects the minimizing that there is no the corresponding function module, can be without upgrading described the first pictorial information.
Client described in the present embodiment detects the minimizing of the corresponding function module, the functional module that described client unloading reduces, and after the functional module reducing in unloading, described first pictorial information of local storage has also obtained automatic renewal.
Embodiment tri-:
Described client is a computer.One user is using this computer.
In the browser that user installs in this computer, clicked link corresponding to the first webpage, described client starts to the network side request information relevant to described the first webpage.
Pictorial information relevant to described the first webpage in the present embodiment has 10, and described client can send 10 picture request messages to network side, and these 10 picture request messages are relevant to this 10 pictures information respectively.Network side sends to respectively described client by the pictorial information corresponding with each picture request message after receiving picture request message.
Described client can be spliced at least two pictures information of obtaining according to canvas by JavaScript, be spliced into described the first pictorial information, the every pictures information comprising in described the first pictorial information can be unique corresponding to the primary importance in described the first webpage, to can make every pictures information all be presented at the tram in described the first webpage when loading described the first pictorial information.
Described client is stored in this locality by described the first pictorial information, also described the first pictorial information is presented in described the first webpage afterwards.
User does not close described the first webpage, and whether described client in real time Sampling network side has pictorial information to upgrade about described the first webpage.
For example, in second moment, described client detects network side has the content of pictorial information that change has occurred about described the first webpage.The corresponding corresponding pictorial information upgrading in described the first pictorial information of pictorial information after described client can be upgraded according to network side, without re-starting again picture, merge, only need to revise the corresponding site in described the first pictorial information, very convenient, workload is less.
Referring to Fig. 2, the present invention also provides a kind of operation processing method, and described method can be applied in the loading procedure of the webpage that the described method of described client electronic device (be called for short client or electronic equipment) can be applied to comprise picture.The main flow process of described method is as follows:
Step 201: obtain the first operation that user carries out described electronic equipment.
The implementation of the present embodiment can be after the implementation of the described image processing method shown in Fig. 1, and the described operation process shown in Fig. 2 is the process that described client is opened described the first webpage for the N time, and wherein N is greater than 1 integer.Be that described client has been stored described first pictorial information relevant to described the first webpage, described the first pictorial information is to merge and obtain according at least two pictures relevant to described the first webpage.
Described the first operation that user carries out described electronic equipment, what refer to can be to have carried out clicking the operation that link relevant to described the first webpage in the browser installed in described electronic equipment of user.
Step 202: according to corresponding the first operation information of described the first operation, described the first operation is responded, generate the first operational order.
Described electronic equipment, when obtaining described the first operation, can respond described the first operation according to corresponding described the first operation information of described the first operation, to generate described the first operational order.
Step 203: carry out described the first operational order, open and corresponding the first webpage of described the first operation, wherein, in the process of opening with corresponding the first webpage of described the first operation, load first pictorial information relevant to described the first webpage from this locality; Described the first pictorial information is for merging according at least two pictures information relevant to described the first webpage the pictorial information forming.
Described electronic equipment is after generating described the first operational order, can carry out described the first operational order, to open described the first webpage, and in opening the process of described the first webpage, can load from this locality described first pictorial information relevant to described the first webpage.
Described the first pictorial information can be basis mode as shown in Figure 1, according at least two pictorial informations merging relevant to described the first webpage, obtains.
Referring to Fig. 3, the present invention also provides a kind of electronic equipment, and described electronic equipment can be used in client.Described electronic equipment can comprise the first acquisition module 301, processing module 302 and memory module 303.Described electronic equipment can also comprise detection module 304 and update module 305.
The first acquisition module 301 can be for obtaining at least two pictures information that first webpage corresponding to a network originating information is relevant.
The first acquisition module 301 can comprise that picture request submodule 3011 and picture obtain submodule 3012.
Picture obtains the described at least two pictures information that submodule 3012 can send for obtaining described network side.
Whether detection module 304 can be for detection of there being pictorial information to upgrade in the first webpage corresponding to described network originating information.
In the embodiment of the present invention, detection module 304 can also comprise the first detection sub-module 3041 and the second detection sub-module 3042.
The first detection sub-module 3041 can when having pictorial information to increase in the first webpage corresponding to described network originating information being detected, detect the increase that whether has corresponding function.
The second detection sub-module 3042 can when having pictorial information to reduce in the first webpage corresponding to described network originating information being detected, detect the minimizing that whether has corresponding function.
In the embodiment of the present invention, update module 305 can also comprise that the first renewal submodule 3051, second upgrades submodule 3052 and the 3rd and upgrades submodule 3053.
First upgrades submodule 3051 can load corresponding function for when the increase of corresponding function being detected, automatically to upgrade described first pictorial information of local storage.
Second upgrades submodule 3052 can be for when detecting the minimizing of corresponding function, and unloading corresponding function, automatically to upgrade described first pictorial information of local storage.
The 3rd upgrades submodule 3053 can be when having the content of pictorial information that change occurs when the first webpage corresponding to described network originating information being detected in, according to the pictorial information after change is corresponding, revises local described the first pictorial information of storing.
Referring to Fig. 4, the present invention also provides a kind of electronic equipment, and described electronic equipment can be applied in client.Described electronic equipment can comprise the second acquisition module 401, instruction generation module 402 and instruction execution module 403.In the embodiment of the present invention, the electronic equipment shown in the electronic equipment shown in Fig. 4 and Fig. 3 can be same electronic equipment.Described electronic equipment can also comprise processing module 302 and memory module 303.
The first operation that the second acquisition module 401 can carry out described electronic equipment for obtaining user.
The first pictorial information described in the embodiment of the present invention can be to merge according at least two pictures information relevant to described the first webpage the pictorial information forming.
Pictorial information disposal route in the embodiment of the present invention comprises: obtain at least two pictures information that first webpage corresponding to a network originating information is relevant; At least two pictures information of obtaining are processed, merged into first pictorial information; Described the first pictorial information is stored in to this locality, shows described the first pictorial information when opening described the first webpage.In the embodiment of the present invention, can directly obtain at least two pictures information that described first webpage corresponding to a network originating information is relevant by client, for example can obtain all pictorial informations relevant to described the first webpage by client, by client, all pictorial informations that obtain are processed, merged into first pictorial information, without carry out picture merging by network side as in prior art, alleviated the burden of network side.And in the embodiment of the present invention, described the first pictorial information is stored in to this locality, when opening described the first webpage, needs can load from this locality described the first pictorial information, without obtaining from network side again, obviously improved the speed that webpage loads, also improved the efficiency of acquisition of information, in the time need to opening described the first webpage, can load quickly described first pictorial information relevant to described the first webpage, improve network request and completed efficiency.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) of computer usable program code one or more.
The present invention is with reference to describing according to process flow diagram and/or the block scheme of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block scheme each flow process and/or the flow process in square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computing machine or other programmable data processing device is produced for realizing the device in the function of flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame on computing machine or other programmable devices.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.
Claims (20)
1. a pictorial information disposal route, is characterized in that, is applied to client electronic device, in the loading procedure of the webpage that described method is applied to comprise picture, comprises the following steps:
Obtain at least two pictures information that first webpage corresponding to a network originating information is relevant;
At least two pictures information of obtaining are processed, merged into first pictorial information;
Described the first pictorial information is stored in to this locality, shows described the first pictorial information when opening described the first webpage.
2. the method for claim 1, it is characterized in that, the step of obtaining at least two pictures information that first webpage corresponding to a network originating information is relevant comprises: to network side, send respectively at least two the picture request messages corresponding with described at least two pictures information; Obtain the described at least two pictures information that described network side sends.
3. the method for claim 1, it is characterized in that, the at least two pictures information of obtaining are processed, the step of being merged into first pictorial information comprises: by a kind of webpage programming language JavaScript, according to a kind of internet drawing element canvas, at least two pictures information of obtaining are processed, merged into first pictorial information.
4. whether the method for claim 1, is characterized in that, also comprises step: detect in the first webpage corresponding to described network originating information and have pictorial information to upgrade; While having pictorial information to upgrade, upgrade described first pictorial information of local storage in the first webpage corresponding to described network originating information being detected.
5. method as claimed in claim 4, it is characterized in that, while having pictorial information to upgrade in the first webpage corresponding to described network originating information being detected, the step of upgrading described first pictorial information of local storage comprises: while having pictorial information to increase in the first webpage corresponding to described network originating information being detected, detect the increase that whether has corresponding function; When the increase of corresponding function being detected, load corresponding function, automatically to upgrade described first pictorial information of local storage.
6. method as claimed in claim 5, it is characterized in that, while having pictorial information to upgrade in the first webpage corresponding to described network originating information being detected, the step of upgrading described first pictorial information of local storage comprises: while having pictorial information to reduce in the first webpage corresponding to described network originating information being detected, detect the minimizing that whether has corresponding function; When the minimizing of corresponding function being detected, unloading corresponding function, automatically to upgrade described first pictorial information of local storage.
7. method as claimed in claim 4, it is characterized in that, while having pictorial information to upgrade in the first webpage corresponding to described network originating information being detected, the step of upgrading described first pictorial information of local storage comprises: while having the content generation change of pictorial information in the first webpage corresponding to described network originating information being detected, according to corresponding described the first pictorial information of revising this locality storage of the pictorial information after change.
8. an operation processing method, is characterized in that, is applied to client electronic device, in the loading procedure of the webpage that described method is applied to comprise picture, said method comprising the steps of:
Obtain the first operation that user carries out described electronic equipment;
According to corresponding the first operation information of described the first operation, described the first operation is responded, generate the first operational order;
Carry out described the first operational order, open and corresponding the first webpage of described the first operation, wherein, in the process of opening with corresponding the first webpage of described the first operation, from this locality, load first pictorial information relevant to described the first webpage; Described the first pictorial information is for merging according at least two pictures information relevant to described the first webpage the pictorial information forming.
9. method as claimed in claim 8, it is characterized in that, the step that merges described the first pictorial information according at least two pictures information relevant to described the first webpage comprises: by JavaScript, according to canvas, described at least two pictures information are processed, merged into first pictorial information.
10. method as claimed in claim 8, is characterized in that, also comprises step: described the first pictorial information is stored in to this locality after synthetic described the first pictorial information.
11. 1 kinds of electronic equipments, is characterized in that, described electronic equipment comprises:
The first acquisition module, for obtaining at least two pictures information that first webpage corresponding to a network originating information is relevant;
Processing module, at least two pictures information of obtaining are processed, is merged into first pictorial information;
Memory module, for described the first pictorial information is stored in to this locality, shows described the first pictorial information when opening described the first webpage.
12. electronic equipments as claimed in claim 11, is characterized in that, described the first acquisition module specifically comprises that picture request submodule and picture obtain submodule:
Described picture request submodule is for sending respectively at least two the picture request messages corresponding with described at least two pictures information to network side;
Described picture obtains the described at least two pictures information that submodule sends for obtaining described network side.
13. electronic equipments as claimed in claim 11, is characterized in that, described processing module specifically for: by JavaScript, according to canvas, at least two pictures information of obtaining are processed, are merged into first pictorial information.
14. electronic equipments as claimed in claim 11, is characterized in that, described electronic equipment also comprises detection module and update module;
Whether described detection module is for detection of there being pictorial information to upgrade in the first webpage corresponding to described network originating information;
Described update module, for when the first webpage corresponding to described network originating information being detected and have pictorial information to upgrade, is upgraded local described the first pictorial information of storing.
15. electronic equipments as claimed in claim 14, it is characterized in that, described detection module also comprises the first detection sub-module, for when the first webpage corresponding to described network originating information being detected and have pictorial information to increase, detects the increase that whether has corresponding function;
Described update module also comprises the first renewal submodule, for when the increase of corresponding function being detected, loads corresponding function, automatically to upgrade described first pictorial information of local storage.
16. electronic equipments as claimed in claim 14, it is characterized in that, described detection module also comprises the first detection sub-module, for when the first webpage corresponding to described network originating information being detected and have pictorial information to reduce, detects the minimizing that whether has corresponding function;
Described update module also comprises the first renewal submodule, and for when the minimizing of corresponding function being detected, unloading corresponding function, automatically to upgrade described first pictorial information of local storage.
17. electronic equipments as claimed in claim 14, it is characterized in that, described update module also comprises that the 3rd upgrades submodule, for when the first webpage corresponding to described network originating information being detected and have the content of pictorial information change occurs, according to the pictorial information after change is corresponding, revise local described the first pictorial information of storing.
18. 1 kinds of electronic equipments, is characterized in that, described electronic equipment comprises:
The second acquisition module, the first operation of described electronic equipment being carried out for obtaining user;
Instruction generation module, for according to corresponding the first operation information of described the first operation, described the first operation being responded, generates the first operational order;
Instruction execution module, be used for carrying out described the first operational order, open and corresponding the first webpage of described the first operation, wherein, in the process of opening with corresponding the first webpage of described the first operation, from this locality, load first pictorial information relevant to described the first webpage; Described the first pictorial information is for merging according at least two pictures information relevant to described the first webpage the pictorial information forming.
19. electronic equipments as claimed in claim 18, is characterized in that, described electronic equipment also comprises processing module, for described at least two pictures information being processed according to canvas by JavaScript, are merged into first pictorial information.
20. electronic equipments as claimed in claim 18, is characterized in that, described electronic equipment also comprises memory module, for described the first pictorial information is stored in to this locality.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210359630.9A CN103678411A (en) | 2012-09-24 | 2012-09-24 | Picture information processing method, operation processing method and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210359630.9A CN103678411A (en) | 2012-09-24 | 2012-09-24 | Picture information processing method, operation processing method and electronic equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN103678411A true CN103678411A (en) | 2014-03-26 |
Family
ID=50315992
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210359630.9A Pending CN103678411A (en) | 2012-09-24 | 2012-09-24 | Picture information processing method, operation processing method and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103678411A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104572843A (en) * | 2014-12-12 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Page loading method and device |
| CN105512133A (en) * | 2014-09-25 | 2016-04-20 | 腾讯科技(深圳)有限公司 | Synthetic method and synthetic device for webpage picture, and picture synthesis webpage |
| CN107085575A (en) * | 2016-02-15 | 2017-08-22 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus for storing picture |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101201832A (en) * | 2006-12-15 | 2008-06-18 | 国际商业机器公司 | Method and system for optimizing web page image |
| CN102253941A (en) * | 2010-05-21 | 2011-11-23 | 卓望数码技术(深圳)有限公司 | Cache updating method and cache updating device |
| CN102314434A (en) * | 2010-06-30 | 2012-01-11 | 中兴通讯股份有限公司 | Method for combined display of page background pictures and device |
| CN102375882A (en) * | 2011-09-19 | 2012-03-14 | 奇智软件(北京)有限公司 | Method, device and browser for quickly accessing web pages |
| US20120079057A1 (en) * | 2009-08-03 | 2012-03-29 | Limelight Networks, inc | Acceleration and optimization of web pages access by changing the order of resource loading |
| CN102591963A (en) * | 2011-12-30 | 2012-07-18 | 奇智软件(北京)有限公司 | Method and device for controlling webpage content loading |
| CN102622391A (en) * | 2011-10-18 | 2012-08-01 | 北京小米科技有限责任公司 | Method for processing small pictures |
-
2012
- 2012-09-24 CN CN201210359630.9A patent/CN103678411A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101201832A (en) * | 2006-12-15 | 2008-06-18 | 国际商业机器公司 | Method and system for optimizing web page image |
| US20120079057A1 (en) * | 2009-08-03 | 2012-03-29 | Limelight Networks, inc | Acceleration and optimization of web pages access by changing the order of resource loading |
| CN102253941A (en) * | 2010-05-21 | 2011-11-23 | 卓望数码技术(深圳)有限公司 | Cache updating method and cache updating device |
| CN102314434A (en) * | 2010-06-30 | 2012-01-11 | 中兴通讯股份有限公司 | Method for combined display of page background pictures and device |
| CN102375882A (en) * | 2011-09-19 | 2012-03-14 | 奇智软件(北京)有限公司 | Method, device and browser for quickly accessing web pages |
| CN102622391A (en) * | 2011-10-18 | 2012-08-01 | 北京小米科技有限责任公司 | Method for processing small pictures |
| CN102591963A (en) * | 2011-12-30 | 2012-07-18 | 奇智软件(北京)有限公司 | Method and device for controlling webpage content loading |
Non-Patent Citations (1)
| Title |
|---|
| 邹进波: "基于CEBX的跨终端在线阅读系统的设计与实现", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105512133A (en) * | 2014-09-25 | 2016-04-20 | 腾讯科技(深圳)有限公司 | Synthetic method and synthetic device for webpage picture, and picture synthesis webpage |
| CN105512133B (en) * | 2014-09-25 | 2019-03-15 | 腾讯科技(深圳)有限公司 | A kind of Web page picture synthetic method, device and picture synthesize webpage |
| CN104572843A (en) * | 2014-12-12 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Page loading method and device |
| CN107085575A (en) * | 2016-02-15 | 2017-08-22 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus for storing picture |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8775923B1 (en) | Web page restoration | |
| CN110020323B (en) | Page switching method and system for hybrid application, computer equipment and storage medium | |
| CN109446570B (en) | Business process display method, device, computer equipment and storage medium | |
| CN112416415A (en) | Front-end micro-service implementation method and related components | |
| CN102306174B (en) | Method and equipment for interacting with user based on web page elements | |
| CN103914205B (en) | A kind of file thumbnail methods of exhibiting of intelligent terminal and device | |
| CN101442515B (en) | Remote control method based on browser | |
| CN105022630A (en) | Component management system and component management method | |
| CN103678536A (en) | Method and device for implementing page returning | |
| US20130151937A1 (en) | Selective image loading in mobile browsers | |
| CN114996619A (en) | Page display method and device, computer equipment and storage medium | |
| CN115562662A (en) | Application page creating method and device, computer equipment and storage medium | |
| US9430808B2 (en) | Synchronization points for state information | |
| CN103377079B (en) | Terminal and application running gear and method, the method running application program | |
| CN111880789A (en) | Page rendering method, device, server and computer-readable storage medium | |
| CN105786455A (en) | Method, device and terminal for data processing | |
| CN109413140B (en) | Remote automatic upgrading method for PACS server | |
| CN102833272A (en) | Downloading method and device based on user subscription | |
| CN103677519A (en) | Method for collecting multimedia resource, terminal and server | |
| CN106919620B (en) | Single-page processing method and device | |
| CN103678411A (en) | Picture information processing method, operation processing method and electronic equipment | |
| CN109582580B (en) | System, method and apparatus for debugging pages | |
| CN103488508A (en) | Browser working method, browser and terminal equipment | |
| CN112632436B (en) | Web page display method, device, electronic device and storage medium | |
| CN104142824A (en) | Code generator based on class library and realization method of code generator |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into 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: 20140326 |