CN109582417A - A kind of method for showing interface, client and picture servers - Google Patents
A kind of method for showing interface, client and picture servers Download PDFInfo
- Publication number
- CN109582417A CN109582417A CN201811393140.4A CN201811393140A CN109582417A CN 109582417 A CN109582417 A CN 109582417A CN 201811393140 A CN201811393140 A CN 201811393140A CN 109582417 A CN109582417 A CN 109582417A
- Authority
- CN
- China
- Prior art keywords
- picture
- interface
- global
- local
- loaded
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Abstract
The invention discloses a kind of method for showing interface, client and picture servers, wherein, the described method includes: receiving the interface data for interface to be loaded that client is sent, the pictorial information for each local picture for including in the interface to be loaded is included at least in the interface data, the pictorial information is used to characterize the layout of the load address and local picture of local picture in the interface to be loaded;The corresponding global picture of the interface data is obtained, includes each local picture arranged according to the layout that the pictorial information limits in the global picture;The global picture is fed back into the client, so that the client shows the global picture in current interface.Technical solution provided by the present application guarantees that the picture in interface can be shown simultaneously.
Description
Technical field
The present invention relates to Internet technical field, in particular to a kind of method for showing interface, client and picture servers.
Background technique
With the continuous development of the communication technology, the quantity of the picture occurred in interface is also being increasing.Figure in interface
Piece will be generally stored in Resource Server, and client is when loading interface, it usually needs send for different pictures different
Http request, thus successively download interface in these pictures.
In the prior art multiple http requests come by way of obtaining picture resource, due to the size of different pictures
Inconsistent and different picture is likely stored in different Resource Servers, obtains different pictures so as to cause client
The time of Shi Suoxu may also be different.In this case, different pictures just can not synchronization be showed in the interface of client,
Meeting so that interface content of short duration missing, influence the usage experience of user.
Summary of the invention
The application's is designed to provide a kind of method for showing interface, client and picture servers, guarantees in interface
Picture can be shown simultaneously.
To achieve the above object, on the one hand the application provides a kind of method for showing interface, which comprises receives client
The interface data for interface to be loaded sent is held, including at least including in the interface to be loaded in the interface data
The pictorial information of each part picture, the load address and local picture that the pictorial information is used to characterize local picture are in institute
State the layout in interface to be loaded;The corresponding global picture of the interface data is obtained, includes according to institute in the global picture
State each local picture that the layout of pictorial information restriction is arranged;The global picture is fed back into the client
End, so that the client shows the global picture in current interface.
To achieve the above object, on the other hand the application also provides a kind of picture servers, transports in the picture servers
Row has interface display systems, and the showing interface system includes: interface data receiving unit, the needle sent for receiving client
To the interface data at interface to be loaded, each Local map for including in the interface to be loaded is included at least in the interface data
The pictorial information of piece, the load address and local picture that the pictorial information is used to characterize local picture are on the boundary to be loaded
Layout in face;Global picture acquiring unit, for obtaining the corresponding global picture of the interface data, in the global picture
The each local picture arranged including the layout limited according to the pictorial information;Global picture feedback unit is used
In the global picture is fed back to the client, so that the client shows the global figure in current interface
Piece.
To achieve the above object, on the other hand the application also provides a kind of picture servers, and the picture servers include
Memory and processor, the memory is for storing computer program, when the computer program is executed by the processor,
Realize above-mentioned method.
To achieve the above object, on the other hand the application also provides a kind of method for showing interface, which comprises generates
The interface data at interface to be loaded includes at least each local picture for including in the interface to be loaded in the interface data
Pictorial information, the load address and local picture that the pictorial information is used to characterize local picture are at the interface to be loaded
In layout;The interface data is sent to picture servers, so that the picture servers obtain the interface data
Corresponding global picture, include in the global picture arrange according to the layout that the pictorial information limits it is described each
Local picture;The global picture of the picture servers feedback is received, and shows the global picture in current interface.
To achieve the above object, on the other hand the application also provides a kind of client, and operation has interface in the client
Display systems, the showing interface system includes: interface data generation unit, for generating the interface data at interface to be loaded,
The pictorial information for each local picture for including in the interface to be loaded, the picture letter are included at least in the interface data
Cease the layout of load address and local picture in the interface to be loaded for characterizing local picture;Interface data is sent
Unit, for the interface data to be sent to picture servers, so that the picture servers obtain the interface data
Corresponding global picture, include in the global picture arrange according to the layout that the pictorial information limits it is described each
Local picture;Global picture display unit for receiving the global picture of the picture servers feedback, and is working as prezone
The global picture is shown in face.
To achieve the above object, on the other hand the application also provides a kind of client, the client include memory and
Processor, the memory is for storing computer program, when the computer program is executed by the processor, realizes above-mentioned
Method.
Therefore technical solution provided by the present application, for interface to be loaded, the boundary at the interface is can be generated in client
Face data may include the pictorial information of each part picture in the interface to be loaded, the picture in the interface data
Information can be used for characterizing the layout of the load address and local picture of local picture in the interface to be loaded.For example,
It may include URL (Uniform Resource Locator, the unified resource positioning of each local picture in the interface data
Symbol) and layout information of each local picture in interface to be loaded.Client can be obtained using the interface data as resource
Request is taken to be sent to picture servers.Picture servers can parse above-mentioned interface data, thus according to each pictorial information
The each local picture for including in interface to be loaded is got, can then proceed in each local picture in interface to be loaded
These local pictures are spliced into a global picture by layout.Finally, the global picture that splicing obtains can be returned into client
End can synchronize each in the displaying interface to be loaded then only needing one global picture of load for client
Local picture.Therefore, technical solution provided by the present application can guarantee the picture in interface while show.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the system architecture schematic diagram in embodiment of the present invention;
Fig. 2 is the method for showing interface flow chart of client-side in embodiment of the present invention;
Fig. 3 is the interaction schematic diagram of client and picture servers in embodiment of the present invention;
Fig. 4 is the method for showing interface flow chart of picture servers side in embodiment of the present invention;
Fig. 5 is the structural schematic diagram of picture servers in embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
The application provides a kind of method for showing interface, and the method can be applied in system architecture as shown in Figure 1.Institute
Stating system architecture may include client, picture servers and Resource Server.Wherein, the client can be user and make
Terminal device.For example, the client can be tablet computer, smart phone, desktop computer, laptop, intelligence
The electronic equipments such as TV, intelligent wearable device (virtual reality glasses, smartwatch).The client, which can also be, to be run on
Software in above-mentioned terminal device.For example, the client can be the various App run in smart phone
(Application, application program).The Resource Server can be the source server of storage picture, and picture adds in interface
Set address can be directed toward the source server.The picture servers, which can be, to be connected between client and Resource Server
Having the server of image cache function, the picture servers can receive the picture load request that each client is sent,
And corresponding picture is obtained from each Resource Server according to picture load request.It, can after getting corresponding picture
With image cache is local in picture servers.It is subsequent when receiving picture load request again, it can attempt from local cache
In search whether have the picture cached, to save the acquisition time of picture.
One embodiment of the application provides a kind of method for showing interface, and the method can be applied to above-mentioned client
In.Fig. 2 and Fig. 3 are please referred to, the step of the method may include following S11 to S15.
S11: the interface data at interface to be loaded is generated, includes at least the interface Zhong Bao to be loaded in the interface data
The pictorial information of each local picture contained, the pictorial information are used to characterize the load address and local picture of local picture
Layout in the interface to be loaded.
It in the present embodiment, can be to interface configurations server when client needs to show an interface to be loaded
Send the interface configurations request at the interface to be loaded.Wherein, it can store interface to be loaded in the interface configurations server
Configuration information, the configuration information can describe the load address and layout at the interface to be loaded.Wherein, described to be loaded
The layout at interface may include the dimension information and location information at the interface to be loaded.It is described to match in practical application scene
It may include the load address of background picture and the dimension information of the background picture in the interface to be loaded in confidence breath, may be used also
To include dimension information, the location information of each container (container) and each container that include in the interface to be loaded,
It can also include type, load address, the dimension information of page resource etc. that each container contents are received.What the client was sent
It may include the mark at the interface to be loaded in interface configurations request.The mark at the interface to be loaded for example can be this to
Load the URL at interface.In the interface configurations server, the configuration information at interface can be associated with the mark at interface and be deposited
Storage.In this way, interface configurations server can parse the mark at interface to be loaded from interface configurations request, so as to obtain
To corresponding configuration information, and the configuration information that can be got to client feedback.
In the present embodiment, after client receives the configuration information of the interface configurations server feedback, Ke Yicong
The load address of each part picture and each local picture are extracted in the interface to be loaded in the configuration information in institute
State the layout information in interface to be loaded.Wherein, the local picture can refer to the figure being filled in the container at interface to be loaded
Piece.The load address of the part picture can be the URL of the part picture.It is described part picture layout information may include
Coordinate value of the specified vertex of the dimensional parameters of local picture and local picture in the interface to be loaded.Wherein, part
The dimensional parameters of picture can indicate that the wide and high unit can be pixel by wide (width) and high (height)
The number of point.The specified vertex can be the top left corner apex of local picture, and the coordinate value on the specified vertex can pass through cross
Coordinate and ordinate indicate.Wherein, the unit of abscissa and ordinate can be the serial number of corresponding pixel.In this way, logical
The coordinate value of dimensional parameters and specified vertex is crossed, the cloth of the local picture can be uniquely determined out in interface to be loaded
Office.
In the present embodiment, client can generate institute according to the load address and the layout information of extraction
State the interface data at interface to be loaded.In the interface data, the pictorial information of each local picture can be listed one by one, it should
The load address of local picture, the width for characterizing local picture, height and the seat on specified vertex can be indicated in pictorial information
The location information of scale value.
In one embodiment, in addition to whole interface can also be included comprising each local picture in interface to be loaded
Background picture.Therefore, the client can also extract the load address and layout of background picture from configuration information
Information, and in the interface data ultimately generated, it can also include Background in addition to the pictorial information comprising each local picture
The pictorial information of piece.
It should be noted that in the present embodiment, it may according to the picture that the load address of picture to be loaded is got
It is inconsistent with dimension of picture shown in interface, in such a case, it is possible to the picture to be loaded according to configuration information
Layout information is adjusted the size of the picture got, so that size adjusted can meet shown in interface
Dimension of picture.
S13: being sent to picture servers for the interface data, so that the picture servers obtain the interface number
Include according to corresponding global picture, in the global picture according to the pictorial information limit layout arrange it is described respectively
A part picture.
In the present embodiment, client can make the interface data after the interface data for generating interface to be loaded
The picture servers are sent to for resource acquisition request.In the prior art, it for different local pictures, needs to send not
Same http request carries out resource acquisition.And in the present embodiment, it is only necessary to it is requested by a resource acquisition, it can be same
Shi Yaoqiu obtains multiple local pictures.Therefore, by way of generating interface data, the number of http request can be greatly reduced
Amount.
In this application, picture servers can be handled the interface data according to mode shown in Fig. 4.Tool
Body, Fig. 3 and Fig. 4 are please referred to, the application also provides a kind of method for showing interface applied to picture servers, and the method can
To include the steps that S21 to S25.
S21: the interface data for interface to be loaded that client is sent is received, includes at least institute in the interface data
The pictorial information for each local picture for including in interface to be loaded is stated, the pictorial information is used to characterize the load of local picture
The layout of address and local picture in the interface to be loaded.
S23: obtaining the corresponding global picture of the interface data, includes according to the pictorial information in the global picture
Each local picture that the layout of restriction is arranged.
In the present embodiment, if picture servers are to receive the interface data that client is sent for the first time, that
It is local corresponding not data cached in picture servers.In this case, picture servers can parse the boundary
The each pictorial information for including in face data, to obtain the load of each local picture in the interface to be loaded
Address.Then, for each load address, picture servers may determine that first whether there is and acquisition in local cache
The associated local picture of the load address, and if it exists, then show there has been client request load before the part picture
It crosses, then local picture associated with the load address obtained can be read directly from the caching.If local slow
There is no associated local picture in depositing, then show that the part picture is to load for the first time, picture servers can be according to obtaining at this time
The load address taken downloads local picture from corresponding Resource Server, and can be by the local picture of downloading
In write-in caches after the association of corresponding load address.Wherein, local picture can pass through key-value pair with corresponding load address
(key-value) form is stored in picture servers local.Wherein, load address can be used as key, corresponding part picture
It can be used as value.If picture servers are subsequent when needing to obtain corresponding local picture for the load address again, can
Directly read from local cache.
In the present embodiment, picture servers get the corresponding Local map of each load address in a manner mentioned above
, can be according to layout of each local picture limited in pictorial information in interface to be loaded after piece, each office that will acquire
Portion's picture is spliced into a global picture.
It in one embodiment, can after picture servers generate final global picture for above-mentioned interface data
With by the global picture with corresponding interface data in local associated storage.In this way, if subsequent have client to send the boundary again
Face data can directly read associated global picture from local cache, without again from each Resource Server under
Local picture is carried, the process of picture splicing is also omited.In practical applications, since the data volume of interface data is usually larger,
If directly interface data is stored in picture servers, the memory space of picture servers can be greatly occupied.In consideration of it,
In the present embodiment, hashing algorithm can be used, the hashed value of the interface data is calculated.The hashing algorithm for example can be with
Including MD (Message Digest, eap-message digest) serial algorithm, SHA, (Secure Hash Algorithm, secure Hash are calculated
Method) etc..In this way, the hashed value of regular length can will be scaled comprising more multicharacter interface data, so as to greatly
Reduce the data volume of interface data.It is subsequent, it, will be described after the hashed value and the global picture being associated
In the combination write-in caching of hashed value and the global picture.Similarly, hashed value and global picture can also pass through key-
The form of value is stored.Wherein, hashed value can be used as key, and corresponding global picture can be used as value.
In one embodiment, in order to improve the acquisition efficiency of global picture, picture servers are receiving client
After the interface data sent, the global picture cached corresponding with the presence or absence of the interface data can be directly inquired.Specifically
Ground, picture servers can calculate the hashed value of the interface data in a manner mentioned above, and inquire with the presence or absence of with it is described
The associated global picture cached of hashed value.If it exists, then the global picture cached can be read, and will be described
The global picture cached is as the corresponding global picture of the interface data.If it does not exist, then it represents that the interface data may
It is to receive for the first time, can be in the way of each local picture of above-mentioned acquisition, splicing obtains final global picture.
S25: feeding back to the client for the global picture, so that the client shows institute in current interface
State global picture.
In the present embodiment, picture servers are after obtaining the corresponding global picture of interface data, can should
Global picture feeds back to the client.In practical applications, picture servers can not when obtaining each local picture yet
Guarantee can centainly get all local pictures, sometimes due to the network problem of Resource Server, or local picture
The problem that may be deleted, picture servers can not get corresponding local picture.In this case, in order to avoid client
Hold waiting time too long, for the local picture that can not be obtained, picture servers can locally obtain a dimensional parameters one
The default picture caused, and preset picture using this and replace the local picture that can not be obtained.For example, can be shown in the default picture
Prompt information as " picture can not obtain ".
S15: receiving the global picture of the picture servers feedback, and the global figure is shown in current interface
Piece.
In the present embodiment, after client receives the global picture that picture servers are fed back, can work as
The global picture is shown in front interface.In this way, can show interface to be loaded to user by showing a global picture
In each local picture, ensure that each local picture can be shown simultaneously.
In the present embodiment, the part part picture in original page to be loaded can be interacted with user.Specifically
Ground, certain part pictures can jump to another page of part picture direction after being clicked by user.For example, should
Local picture is the thumbnail of some commodity, then user can jump to after clicking the part picture from current interface
The details interface of the commodity.In another example some local picture can show more high definition after being clicked in current interface
Big figure.That is, the local picture in original page to be loaded, it can be associated with certain implementation strategy.The execution
Strategy can be above-mentioned jump page or show the strategies such as the big figure of high definition.Picture servers are spliced by local picture
After global picture, the associated implementation strategy of each local picture can be retained, and associated implementation strategy can be issued together
To client.In this way, when client receives the operational order that user applies for the global picture, it can be according to described
Operational order corresponding operating position in the global picture determines what the operational order was hit in the global picture
Local picture.After the local picture for determining hit, if the local picture of the hit has associated implementation strategy, then
Client can execute the associated implementation strategy of local picture of the hit, and show the response knot of the implementation strategy
Fruit.The response results for example can be interface after jumping, or the big figure of high definition shown etc..That is, in this implementation
In mode, picture servers only splice local picture, but not abandon the associated implementation strategy of local picture.User
The operational order being applied in global picture, client can judge which has currently hit according to corresponding operating position
Local picture, thereby executing the associated implementation strategy of part picture.
The application also provides a kind of client, and operation has interface display systems, the showing interface system in the client
System includes:
Interface data generation unit includes at least in the interface data for generating the interface data at interface to be loaded
The pictorial information for each local picture for including in the interface to be loaded, the pictorial information are used to characterize adding for local picture
The layout of set address and local picture in the interface to be loaded;
Interface data transmission unit, for the interface data to be sent to picture servers, so that the picture takes
Business device obtains the corresponding global picture of the interface data, includes the cloth limited according to the pictorial information in the global picture
Each local picture that office arranges;
Global picture display unit for receiving the global picture of the picture servers feedback, and is working as prezone
The global picture is shown in face.
The application also provides a kind of client, and the client includes memory and processor, and the memory is for depositing
It stores up computer program, when the computer program is executed by the processor, may be implemented above-mentioned to execute in the client
Method for showing interface.
The application also provides a kind of picture servers, and operation has interface display systems, the boundary in the picture servers
Face display systems include:
Interface data receiving unit, the interface data for interface to be loaded sent for receiving client, the boundary
The pictorial information for each local picture for including in the interface to be loaded is included at least in face data, the pictorial information is used for
Characterize the layout of the load address and local picture of local picture in the interface to be loaded;
Global picture acquiring unit is wrapped in the global picture for obtaining the interface data corresponding global picture
Include each local picture arranged according to the layout that the pictorial information limits;
Global picture feedback unit, for the global picture to be fed back to the client, so that the client
The global picture is shown in current interface.
Referring to Fig. 5, the application also provides a kind of picture servers, the picture servers include memory and processing
Device, the memory when computer program is executed by the processor, may be implemented above-mentioned for storing computer program
The method for showing interface realized in picture servers.Specifically, as shown in figure 5, in hardware view, which can be with
Including processor, internal bus and memory.The memory may include memory and nonvolatile memory.Processor from
Corresponding computer program is read in nonvolatile memory then to run into memory.Those of ordinary skill in the art can manage
Solution, structure shown in fig. 5 are only to illustrate, and do not cause to limit to the structure of above-mentioned identification device.For example, the photo services
Device may also include the more or less component than shown in Fig. 5, such as can also include other processing hardware, such as GPU
(Graphics Processing Unit, image processor), or with the configuration different from shown in Fig. 5.Certainly, in addition to soft
Except part implementation, other implementations, such as logical device or the mode of software and hardware combining etc. is not precluded in the application
Deng.
In present embodiment, the processor may include central processing unit (CPU) or graphics processor (GPU), when
It so also may include other single-chip microcontroller, logic gates, integrated circuits with logic processing capability etc. or its appropriate group
It closes.Memory described in present embodiment can be for protecting stored memory device.In digital display circuit, can save two into
The equipment of data processed can be memory;In integrated circuits, the circuit with store function of a not no physical form
It can be memory, such as RAM, FIFO;In systems, the storage equipment with physical form can also be memory etc..It is real
When existing, which can also realize that specific implementation, this specification pretty good limits by the way of cloud storage.
It should be noted that client and picture servers in this specification, the concrete implementation mode side of being referred to
The description of method embodiment, and corresponding technical effect may be implemented, it does not repeat one by one herein.
Therefore technical solution provided by the present application, for interface to be loaded, the boundary at the interface is can be generated in client
Face data may include the pictorial information of each part picture in the interface to be loaded, the picture in the interface data
Information can be used for characterizing the layout of the load address and local picture of local picture in the interface to be loaded.For example,
It may include URL (Uniform Resource Locator, the unified resource positioning of each local picture in the interface data
Symbol) and layout information of each local picture in interface to be loaded.Client can be obtained using the interface data as resource
Request is taken to be sent to picture servers.Picture servers can parse above-mentioned interface data, thus according to each pictorial information
The each local picture for including in interface to be loaded is got, can then proceed in each local picture in interface to be loaded
These local pictures are spliced into a global picture by layout.Finally, the global picture that splicing obtains can be returned into client
End can synchronize each in the displaying interface to be loaded then only needing one global picture of load for client
Local picture.Therefore, technical solution provided by the present application can guarantee the picture in interface while show.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to be realized by hardware.Based on such
Understand, substantially the part that contributes to existing technology can embody above-mentioned technical proposal in the form of software products in other words
Out, which may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, packet
Some instructions are included to use so that a computer equipment (can be personal computer, server or the network equipment etc.) executes
Method described in certain parts of each embodiment or embodiment.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (15)
1. a kind of method for showing interface, which is characterized in that the described method includes:
The interface data for interface to be loaded that client is sent is received, is included at least in the interface data described to be loaded
The pictorial information for each local picture for including in interface, the pictorial information are used to characterize the load address of the local picture
And layout of the local picture in the interface to be loaded;
The corresponding global picture of the interface data is obtained, includes the cloth limited according to the pictorial information in the global picture
Each local picture that office arranges;
The global picture is fed back into the client, so that the client shows the global figure in current interface
Piece.
2. the method according to claim 1, wherein obtaining the corresponding global picture of the interface data and including:
Inquiry whether there is the corresponding global picture cached of the interface data, and if it exists, cache described in reading complete
Office's picture, and using the global picture cached as the corresponding global picture of the interface data.
3. according to the method described in claim 2, it is characterized in that, inquiry has been cached with the presence or absence of the interface data is corresponding
Global picture include:
The hashed value of the interface data is calculated, and is inquired with the presence or absence of the global figure cached associated with the hashed value
Piece.
4. the method according to claim 1, wherein obtaining the corresponding global picture of the interface data and including:
The each pictorial information for including in the interface data is parsed, to obtain each office in the interface to be loaded
The load address of portion's picture;
Obtain the corresponding local picture of the load address;
The local picture that will acquire is spliced into global picture according to the layout that the pictorial information limits, and splicing is obtained
The global picture as the corresponding global picture of the interface data.
5. according to the method described in claim 4, it is characterized in that, obtaining the corresponding local picture of the load address and including:
Judgement is in the buffer with the presence or absence of local picture associated with the load address of acquisition, and if it exists, delays from described
Deposit middle reading local picture associated with the load address obtained;If it does not exist, according to the load address of acquisition
Corresponding local picture is downloaded, and will be written in caching after the local picture of downloading and the association of corresponding load address.
6. method according to claim 1 or 4, which is characterized in that obtaining the corresponding global picture of the interface data
Later, the method also includes:
Calculate the hashed value of the interface data, and after the hashed value and the global picture are associated, it will be described
In the combination write-in caching of hashed value and the global picture.
7. a kind of picture servers, which is characterized in that operation has interface display systems, the interface exhibition in the picture servers
Show that system includes:
Interface data receiving unit, the interface data for interface to be loaded sent for receiving client, the interface number
The pictorial information for each local picture for including in the interface to be loaded is included at least in, the pictorial information is for characterizing
The layout of the load address of local picture and local picture in the interface to be loaded;
Global picture acquiring unit includes pressing in the global picture for obtaining the interface data corresponding global picture
The each local picture arranged according to the layout that the pictorial information limits;
Global picture feedback unit, for the global picture to be fed back to the client, so that the client is being worked as
The global picture is shown in front interface.
8. a kind of picture servers, which is characterized in that the picture servers include memory and processor, and the memory is used
In storage computer program, when the computer program is executed by the processor, realize such as institute any in claim 1 to 6
The method stated.
9. a kind of method for showing interface, which is characterized in that the described method includes:
It generates the interface data at interface to be loaded, include in the interface to be loaded each is included at least in the interface data
The pictorial information of local picture, the pictorial information be used to characterize local picture load address and local picture it is described to
Load the layout in interface;
The interface data is sent to picture servers, so that the picture servers acquisition interface data is corresponding
Global picture includes each Local map arranged according to the layout that the pictorial information limits in the global picture
Piece;
The global picture of the picture servers feedback is received, and shows the global picture in current interface.
10. according to the method described in claim 9, it is characterized in that, the interface data for generating interface to be loaded includes:
Interface configurations request is sent to interface configurations server, includes the mark at interface to be loaded in the interface configurations request;
The configuration information at the interface to be loaded of the interface configurations server feedback is received, and is mentioned from the configuration information
Take in the interface to be loaded the load address of each part picture and each local picture in the interface to be loaded
Layout information;
According to the load address and the layout information of extraction, the interface data at the interface to be loaded is generated.
11. according to the method described in claim 9, it is characterized in that, after showing the global picture in current interface, institute
State method further include:
It receives user and is directed to the operational order that the global picture applies, and according to the operational order in the global picture
Corresponding operating position determines the local picture that the operational order is hit in the global picture;
The associated implementation strategy of local picture of the hit is executed, and shows the response results of the implementation strategy.
12. according to the method described in claim 9, it is characterized in that, further including the interface to be loaded in the interface data
The dimension information of the load address of middle background picture and the background picture.
13. according to the method described in claim 9, it is characterized in that, the pictorial information characterizes local picture described to be added
Carry interface in layout include:
It include the specified of dimensional parameters and local picture of the local picture in the interface to be loaded in the pictorial information
Coordinate value of the vertex in the interface to be loaded.
14. a kind of client, which is characterized in that operation has interface display systems, the showing interface system in the client
Include:
Interface data generation unit includes at least described for generating the interface data at interface to be loaded in the interface data
The pictorial information for each local picture for including in interface to be loaded, the pictorial information is with being used to characterize the load of local picture
The layout of location and local picture in the interface to be loaded;
Interface data transmission unit, for the interface data to be sent to picture servers, so that the picture servers
Obtain the corresponding global picture of the interface data, include in the global picture according to the pictorial information limit layout into
Each local picture of row arrangement;
Global picture display unit, for receiving the global picture of the picture servers feedback, and in current interface
Show the global picture.
15. a kind of client, which is characterized in that the client includes memory and processor, and the memory is for storing
Computer program when the computer program is executed by the processor, realizes the side as described in any in claim 9 to 13
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811393140.4A CN109582417A (en) | 2018-11-21 | 2018-11-21 | A kind of method for showing interface, client and picture servers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811393140.4A CN109582417A (en) | 2018-11-21 | 2018-11-21 | A kind of method for showing interface, client and picture servers |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109582417A true CN109582417A (en) | 2019-04-05 |
Family
ID=65923645
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811393140.4A Pending CN109582417A (en) | 2018-11-21 | 2018-11-21 | A kind of method for showing interface, client and picture servers |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109582417A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110311968A (en) * | 2019-06-26 | 2019-10-08 | 北京小米移动软件有限公司 | The method, apparatus and smart machine of streaming load document |
CN113391742A (en) * | 2021-04-12 | 2021-09-14 | 口碑(上海)信息技术有限公司 | Data information output method and device, computer storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103390034A (en) * | 2013-07-12 | 2013-11-13 | 北京小米科技有限责任公司 | Image display method, device, terminal and server |
CN104580297A (en) * | 2013-10-17 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Picture sending and receiving methods and devices |
CN106484693A (en) * | 2015-08-25 | 2017-03-08 | 普天信息技术有限公司 | Map-indication method, picture block storage method and picture display terminal |
CN108182662A (en) * | 2017-12-29 | 2018-06-19 | 政采云有限公司 | Image processing method and device, computer readable storage medium |
-
2018
- 2018-11-21 CN CN201811393140.4A patent/CN109582417A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103390034A (en) * | 2013-07-12 | 2013-11-13 | 北京小米科技有限责任公司 | Image display method, device, terminal and server |
CN104580297A (en) * | 2013-10-17 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Picture sending and receiving methods and devices |
CN106484693A (en) * | 2015-08-25 | 2017-03-08 | 普天信息技术有限公司 | Map-indication method, picture block storage method and picture display terminal |
CN108182662A (en) * | 2017-12-29 | 2018-06-19 | 政采云有限公司 | Image processing method and device, computer readable storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110311968A (en) * | 2019-06-26 | 2019-10-08 | 北京小米移动软件有限公司 | The method, apparatus and smart machine of streaming load document |
CN113391742A (en) * | 2021-04-12 | 2021-09-14 | 口碑(上海)信息技术有限公司 | Data information output method and device, computer storage medium and electronic equipment |
CN113391742B (en) * | 2021-04-12 | 2023-11-17 | 口碑(上海)信息技术有限公司 | Data information output method and device, computer storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10289659B2 (en) | Delivery and display of page previews using shadow DOM | |
KR101647071B1 (en) | Architectural pattern for persistent web application design | |
US9563929B1 (en) | Caching of content page layers | |
CN110096660B (en) | Method and device for loading page pictures and electronic equipment | |
KR101678245B1 (en) | System and method for reducing startup cost of a software application | |
WO2016026384A1 (en) | Client page display method, device and system | |
US9563928B1 (en) | Bandwidth reduction through delivery of hardware-independent graphics commands for portions of content pages | |
CN110020278A (en) | Displaying, providing method, client and the server of page data | |
CN107040584B (en) | Method and device for downloading picture by client | |
US10645192B2 (en) | Identifying content files in a cache using a response-based cache index | |
CN109640113B (en) | Processing method for dragging video data and proxy server | |
US8516041B1 (en) | Pre-fetching asynchronously requested content | |
CN104516885B (en) | The implementation method and device of browser dual core component | |
CN109992406B (en) | Picture request method, picture request response method and client | |
US10623517B2 (en) | Content prefetching and cache management | |
US20130046935A1 (en) | Shared copy cache across networked devices | |
US20170359434A1 (en) | Web caching with image and local storage | |
US20140122629A1 (en) | Information Acquisition Method and Device | |
KR20150122239A (en) | Caching pagelets of structured documents | |
CN109582417A (en) | A kind of method for showing interface, client and picture servers | |
WO2020215833A1 (en) | Offline cache method and apparatus, and terminal and readable storage medium | |
EP4080507A1 (en) | Method and apparatus for editing object, electronic device and storage medium | |
CN103678295B (en) | Method and device for providing files for user | |
CN109284428B (en) | Data processing method, device and storage medium | |
CN109474563A (en) | Processing, providing method, client and the server of file stream |
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: 20190405 |