Specific embodiment
Embodiments herein proposes that a kind of new dynamic divides the implementation method of display area, if display area is divided into
Dry sub-regions, are subregion configuration association operating parameter, and the subregion with identical operation associated parameter combines to form one
Position is cheated, without modifying code, the configuration of operation associated parameter need to be only changed, can be fast implemented according to actual business requirement
The dynamic of display area divides, and reduces the workload of research staff and tester, to solve existing in the prior art ask
Topic.
In embodiments herein, client obtains page data from server-side, to show the page where display area,
Client can be App (application program) or other client softwares, be also possible to browser.The equipment for running client can be with
It is mobile phone, tablet computer, PC (Personal Computer, PC), notebook, is also possible to server;Operation service
The equipment at end is usually server, can be a physically or logically server, is also possible to be shared by two or more
The physically or logically server of different responsibilities, the mutual various functions cooperateed with to realize server-side in the embodiment of the present application.This Shen
Please embodiment to communication network between the type and client device and server device of client device, server device
Type, agreement etc. without limitation.
In the embodiment of the present application, dynamically the implementation method of division display area is in the process of server-side as shown in Fig. 2, in visitor
The process at family end is as shown in Figure 3.Wherein, display area includes two or more subregions, the combination of all subregions
As display area.Identical subregion layout can be preset respectively in server-side and client, default specific layout can
To be determined according to the needs of practical application scene;It can also be used to determine that the subregion of subregion layout is drawn by server-side acquisition
Divide parameter, and sub-zone dividing parameter is being sent to client in the page data of the page where display area.Server-side can
It, can also be from pre- in local or network to obtain sub-zone dividing parameter by the parameter configuration for receiving operation personnel operation
Positioning, which is set, reads sub-zone dividing parameter, can also receive the sub-zone dividing ginseng of other processes or the transmission of other network nodes
Number, embodiments herein is without limitation.
For example, to the display area of rectangle, sub-zone dividing parameter can be N and M, and (N and M are natural number, and N is greater than
1) 1 or M is greater than.Server-side is divided into N*M sub-regions after getting N and M, by display area, specifically, with (N-1)
Display area is divided into the part of N number of equalization by bar longitudinal subdivision line in width direction, with the laterally separated line of (M-1) item by show area
Domain is divided into M impartial part in short transverse, then (N-1) longitudinal subdivision line and the laterally separated line of (M-1) item are by show area
Domain is divided into N*M impartial subregion.When it is 3 that N, which is 4, M, the layout of subregion is as shown in Figure 4.Server-side draws subregion
Point parameter N and M carrying are being sent to client in the page data of the page where display area.
Fig. 2 is referred to, in server-side, step 210, receives the operation associated ginseng of at least two subregions of display area
Number, the operation associated parameter in wherein at least two adjacent subarea domain are identical.
It is laid out based on preset subregion or is laid out according to the subregion that sub-zone dividing parameter generates, server-side receives
Form the operation associated parameter of at least two subregions in each sub-regions of display area.
Operation associated parameter is client after user makes predetermined operation for the subregion of display area in client
Parameter required when responding is operated to it.Predetermined operation, corresponding can be determined according to the needs of practical application scene
Response, so that it is determined that carrying out operation associated parameter required when the response, embodiments herein is without limitation;For example, when using
When certain sub-regions is clicked at family, the webpage of hole position link belonging to the subregion will be opened, then it can be by hole position linked web pages
URL is as operation associated parameter;For another example, when making prearranged gesture on user on the touchscreen certain sub-regions, in current page
Show corresponding picture and text on the bullet layer in face, then it can be using the storage location of picture and content of text as operation associated ginseng
Number.
Operation associated parameter can be configured in configuration system manually by operation personnel, and (configuration system is for manual
The system of server-side various parameters is set), it can also be sent to by other local processes or the operation associated parameter of network node
Server-side.In other words, server-side obtains operation associated parameter by receiving the configuration operation of operation personnel, also can receive and
From the operation associated parameter of other local processes or network node.
In embodiments herein, at least one hole position is composed of adjacent subarea domain in display area, is belonged to same
The subregion operation associated parameter having the same of a hole position;In other words, in all subregions, at least two adjacent subarea domains tool
There is identical operation associated parameter.When user, which is directed to the adjacent subarea domain with identical relevant parameter, makes predetermined operation, visitor
Family end could be made that identical response to the predetermined operation of user.In this way, can be adopted as subregion is arranged operation associated parameter
Display area dynamic is divided into the hole position of different numbers, different shape and area by means.Rectangle display area to be divided into
For the identical subregion of 3*2 size, Fig. 5 is referred to, is each sub-district when being only 1 hole position in the display area
Identical operation associated parameter (being A) is arranged in domain;When to be divided into 2 holes position in the display area, (operation associated parameter is divided
Wei A and B), 3 holes position (operation associated parameter is respectively A, B and C) when, can using the various splitting schemes in Fig. 5, and
And it is not limited to splitting scheme shown in Fig. 5.
The relevant information of the content shown in display area can also be handed down to client by server-side in page data.
The content that display area is shown is usually picture, and hole position can show that is arrived a plurality of pictures, and different hole positions is then shown
Show different pictures.It can hole bitmap corresponding to the position according to the identical subregion of operation associated parameter (i.e. one hole position)
Piece cheats position picture combinations to multiple by one to be shown on all subregions as whole exhibiting pictures, and by server-side in page
The information of whole exhibiting pictures is sent to client in face data.Picture, i.e. one of each hole position can also be arrived multiple
Which operation associated parameter the information of partial exploded view piece and each partial exploded view piece correspond to, by server-side in the page
Client is sent in data, client is by operation associated parameter it can be learnt that should show the partial exploded view piece at which
A or which subregion position.The picture of hole position including two or more subregions can also be split as corresponding to
The subregion exhibiting pictures of subregion, and by the information of all subregion exhibiting pictures and every height in page data
Which subregion region exhibiting pictures correspond to, and are sent to client by server-side, and client is by each sub-regions exhibiting pictures
It is shown in the position of corresponding sub-region.Wherein, the information of whole exhibiting pictures can be whole exhibiting pictures itself, can also
To be information needed for client obtains whole exhibiting pictures (such as the network address of whole exhibiting pictures), partial exploded view piece
Information and the information of subregion exhibiting pictures are also such.
In server-side, step 220, page data is sent to it according to the request of client, including the pass of subregion
Join operating parameter.
In client, step 310, page data is received from server-side, including at least two sub-districts of display area
The operation associated parameter of the operation associated parameter in domain, at least two adjacent subarea domains is identical.
Client can send to server-side and request when opening the page where display area.Client is being received to page
After the request in face, page data is sent to client by server-side, is asked for client according to page data to show to user
The page asked.Server-side is sent in the page data of client, the operation associated parameter including its received subregion.
As previously mentioned, can also include sub-zone dividing parameter in the page data that server-side issues.It is pressed for client
The layout of subregion in display area is determined according to sub-zone dividing parameter.It, can be using N and M as son to rectangle display area
Region division parameter.Client sub-zone dividing parameter based on the received, is divided into N*M sub-regions for display area.According to N
The mode that display area is divided into subregion is referred into foregoing description with M, is not repeated.
In client, step 320, if the predetermined operation that user is directed to certain sub-regions is received, according to the sub-district
The operation associated parameter in domain responds the predetermined operation of user.
Client shows the page including display area after receiving the page data from server-side, according to page data
Show to user.To the picture relevant information for including the case where display area to be shown in page data, for aesthetic purpose,
The ratio being shown between the developed width and height of the picture of the same display area might have variation, and user's is predetermined
Operation is carried out for shown picture, therefore in this case, in client according to the information acquisition figure of picture
After piece, the size for the subregion being shown on client screen can be determined according to the size of picture, so as to accurately to
The predetermined operation at family responds.
Specifically, if including being spliced in page data according to the identical sub-window position of operation associated parameter
The information of whole exhibiting pictures then integrally shows the information of picture based on the received, determines the size of subregion, and in show area
Domain shows received whole exhibiting pictures;If in page data including the partial exploded view piece corresponding to operation associated parameter
Information, then the information of partial exploded view piece, determination have the size of the subregion corresponding to operation associated parameter based on the received,
And the position of multiple subregions is arrived in one with identical operation associated parameter, display corresponds to the portion of the operation associated parameter
Divide exhibiting pictures;If in page data including the information of the subregion exhibiting pictures corresponding to subregion, based on the received
The information of subregion exhibiting pictures determines the size for corresponding to the subregion of the subregion exhibiting pictures, and by each sub-district
Domain views picture is shown in the position of corresponding subregion.
If receive user be directed to certain sub-regions predetermined operation, client according to the subregion operation associated ginseng
Number, responds the predetermined operation of user.For example, if operation associated parameter is URL, when client receives user to some
After the clicking operation of subregion, the corresponding page of URL of the subregion is opened.
As it can be seen that display area is divided into several sub-regions in embodiments herein, by for certain adjacent subarea domains
Hole position is distributed to, to realize show area in position where the subregion by the operation associated parameter for distributing some hole position
The dynamic in domain divides.After the technical solution of the embodiment of the present application, operation personnel is only needed to change subregion in configuration system
Operation associated parameter, it is not necessary to modify code, the dynamic that display area can be realized is divided, and reduces the work of research and development and test
Amount, and can quickly meet the needs of practical business at any time.
In the application example of the application, display area is the advertising display domain of rectangle, in client and service
Hold the subregion of the preset display area to be laid out: the identical subregion of 6 sizes is arranged in the form of 3*2, by the display area
Width it is impartial be divided into 3 parts, by the height of the display area it is impartial be divided into 2 parts (referring to Fig. 5).
Operation personnel and trade company negotiate the subregion and price that determination to be bought, trade company usually will for more subregions or
Better sub-window position pays higher price, and the adjacent subarea domain of a merchant purchasing forms hole position.Operation personnel
After the URL for determining hole position belonging to all subregions, the hole bitmap piece of each hole position and each hole position, position will be cheated belonging to subregion
URL be set as the operation associated parameter of the subregion in configuration system, and by hole position belonging to subregion and each hole position
Hole bitmap piece is supplied to vision personnel.Vision personnel are according to each sub-window position for cheating position, by all hole positions of display area
Hole bitmap piece is spliced into a whole exhibiting pictures, and the network address of the entirety exhibiting pictures is supplied to operation personnel, by
Operation personnel is disposed in configuration system.
After server-side receives the URL of each sub-regions of operation personnel's input and the network address of whole exhibiting pictures, such as
Fruit receives the request that client initiates the page where the display area, then by the URL of each subregion, whole exhibiting pictures
Network address be encapsulated in page data, be sent to client.
After client receives the page data of its request page, the URL of each sub-regions of display area is therefrom extracted, with
And the network address of whole exhibiting pictures, client show whole exhibiting pictures in display area, and according to whole display diagram
The size of piece determines the size of each subregion.Certain sub-regions when the user clicks, the i.e. clicking operation of user fall in certain height
When in the range of region, client responds user's clicking operation, opens the corresponding page of URL of the subregion.
Corresponding with the realization of above-mentioned process, embodiments herein additionally provides a kind of apply and divides exhibition in the dynamic of server-side
The realization device and a kind of apply for showing region divide the realization device of display area in the dynamic of client.Both devices are equal
It can also be realized by way of hardware or software and hardware combining by software realization.Taking software implementation as an example, as patrolling
The device in meaning is collected, is CPU (Central Process Unit, centre by equipment where server-side or client
Manage device) corresponding computer program instructions are read into memory what operation was formed.For hardware view, in addition to shown in Fig. 6
CPU, except memory and nonvolatile memory, the equipment where dynamic divides the realization device of display area is usually also wrapped
Other hardware such as chip for carrying out wireless signal transmitting-receiving are included, or other are hard for realizing board of network communicating function etc.
Part.
Fig. 7 show the realization device that a kind of dynamic provided by the embodiments of the present application divides display area, applies and is servicing
End, the display area include at least two subregions, and described device includes that operation associated parameters unit and page data are sent
Unit, in which: operation associated parameters unit is used to receive the operation associated parameter of at least two subregions of display area, wherein
The operation associated parameter at least two adjacent subarea domains is identical;Page data transmission unit be used for according to the request of client to its
Page data is sent, includes the operation associated parameter of received subregion in the page data.
Optionally, described device further includes sub-zone dividing parameters unit, for obtaining the sub-zone dividing of display area
Display area is divided into N*M sub-regions according to sub-zone dividing parameter by parameter N and M;Wherein N and M is natural number, and N
Greater than 1 or M is greater than 1;In the page data further include: sub-zone dividing parameter N*M.
Optionally, in the page data further include: be spliced according to the identical sub-window position of operation associated parameter
The information of whole exhibiting pictures the information of the partial exploded view piece corresponding to operation associated parameter or correspond to subregion
Subregion exhibiting pictures information.
Optionally, the operation associated parameter includes: uniform resource position mark URL.
Fig. 8 show the realization device that a kind of dynamic provided by the embodiments of the present application divides display area, applies in client
End, the display area include at least two subregions, and described device includes that page data receiving unit and subregion operation are rung
Answer unit, in which: page data receiving unit is used to receive page data from server-side, including at least the two of display area
The operation associated parameter of the operation associated parameter of sub-regions, at least two adjacent subarea domains is identical;Subregion operation response is single
Member according to the operation associated parameter of the subregion for carrying out after receiving predetermined operation of the user for certain sub-regions
Response.
Optionally, in the page data further include: sub-zone dividing parameter N*M, N and M are natural number, and wherein N is greater than 1
Or M is greater than 1;Described device further includes subregion generation unit, for according to sub-zone dividing parameter, display area to be divided into
N*M sub-regions.
Optionally, in the page data further include: be spliced according to the identical sub-window position of operation associated parameter
The information of whole exhibiting pictures the information of the partial exploded view piece corresponding to operation associated parameter or correspond to subregion
Subregion exhibiting pictures information;Described device further includes picture presentation unit, for according to the whole exhibiting pictures
Information determines the size of subregion, and shows received whole exhibiting pictures in display area;Or according to the partial exploded view
The information of piece, determining has the size of the subregion corresponding to the operation associated parameter, and with identical operation associated ginseng
Several subregions shows the partial exploded view piece corresponding to the operation associated parameter;Or according to the subregion exhibiting pictures
Information determines the size for corresponding to the subregion of the subregion exhibiting pictures, and subregion exhibiting pictures is shown in correspondence
Subregion.
Optionally, the operation associated parameter includes: uniform resource position mark URL;The subregion operates response unit
It is specifically used for: after receiving user to the clicking operation of certain sub-regions, opens the corresponding page of URL of the subregion.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.