CN104007991A - Method and device for adjusting application program interface layout - Google Patents

Method and device for adjusting application program interface layout Download PDF

Info

Publication number
CN104007991A
CN104007991A CN201410250833.3A CN201410250833A CN104007991A CN 104007991 A CN104007991 A CN 104007991A CN 201410250833 A CN201410250833 A CN 201410250833A CN 104007991 A CN104007991 A CN 104007991A
Authority
CN
China
Prior art keywords
layout
application program
client
information
server
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.)
Granted
Application number
CN201410250833.3A
Other languages
Chinese (zh)
Other versions
CN104007991B (en
Inventor
林华
关公伯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410250833.3A priority Critical patent/CN104007991B/en
Publication of CN104007991A publication Critical patent/CN104007991A/en
Application granted granted Critical
Publication of CN104007991B publication Critical patent/CN104007991B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a method and a device for adjusting an application program interface layout. The method comprises the step of sending application program layout adjustment information to a client by a server, so as to indicate the client to carry out an interface layout adjustment on an application program. According to the method disclosed by the invention, the technical problem that the interface layout of the application program installed on terminal equipment cannot be re-adjusted in the prior art is solved by the technical means of sending application program layout adjustment information to the client by the server, so as to indicate the client to carry out the interface layout adjustment on the application program, thus the server is capable of adjusting the interface layout of the application program in a custom manner according to actual push contents or the attribute information of the terminal wherein the application program is located, the existing application program interface layout method is optimized, and an application program interface layout service which is more personalized and customized is provided for an application program user.

Description

Application Program Interface layout adjustment method and device
Technical field
The embodiment of the present invention relates to computer technology, relates in particular to a kind of Application Program Interface layout adjustment method and device.
Background technology
Along with the release of the Highgrade integration of Mobile Communication Chip and the operating system of mobile terminal special use (such as Android system, IOS system or Windows Phone system etc.), mobile terminal has marched toward the intelligentized epoch.In general, the developer that operating system based on mobile terminal is application program provides unified API (Application Programming Interface, application programming interfaces), developer can be the application program of the various Various Functions of User Exploitation by calling API.
In general, different application programs has the interface layout of different-style.Wherein, the interface layout that application programs is carried out mainly comprises two classes, and a class is the layout of each control in application programs, and another kind of is the layout that pushes content in application programs.This two classes layout all arranges by the layout configurations file being preset in application program installation kit.Figure 1 illustrates the interface schematic diagram of application program control layout.As shown in Figure 1, the control that Baidu's map application comprises is search control 11, map demonstration control 12 and functionality controls 13.When user opens Baidu's map application, search control 11 is fixedly in the layout of upper end, interface, map shows that control 12 is fixedly in the layout of the right, interface, functionality controls 13 is fixedly in the layout of bottom, interface; Figure 2 illustrates the interface schematic diagram that application program pushes contents and distribution.As shown in Figure 2, when user selects " searching periphery " around in the predetermined area, the map server of Baidu can push to peripheral information Baidu's map client, and Bing Baidu map client is carried out content demonstration according to predetermined interface layout's rule.
But, development along with terminal technology and application programming technology, make people become higher for the requirement of Application Program Interface layout, traditional interface layout cannot meet people in using application program process, the personalization day by day strengthening, the demand of facilitation.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of Application Program Interface layout adjustment method and device, to optimize existing Application Program Interface layout method, for application program user provides more personalized Application Program Interface layout service.
In first aspect, the embodiment of the present invention provides a kind of Application Program Interface layout adjustment method, comprising:
Server sends application program layout adjustment information to client, to indicate client application programs to carry out interface layout's adjustment.
In second aspect, the embodiment of the present invention provides a kind of Application Program Interface layout adjustment method, comprising:
The application program layout adjustment information that client server sends;
Described client is carried out interface layout's adjustment according to described application program layout adjustment information application programs.
In the third aspect, the embodiment of the present invention provides a kind of Application Program Interface layout adjusting gear, is disposed in server, and described device comprises:
Layout adjustment information transmitting element, for send application program layout adjustment information to client, to indicate client application programs to carry out interface layout's adjustment.
In fourth aspect, the embodiment of the present invention provides a kind of Application Program Interface layout adjusting gear, is disposed in client, and described device comprises:
Layout adjustment information receiving element, the application program layout adjustment information sending for reception server;
Layout adjustment unit, for carrying out interface layout's adjustment according to described application program layout adjustment information application programs.
The embodiment of the present invention sends application program layout adjustment information by server to client, the technological means of carrying out interface layout's adjustment with indication client application programs, solved and in prior art, be installed on the technical matters that the interface layout of the application program on terminal device cannot be readjusted, make server can push according to reality the attribute information of content or application program place terminal, the interface layout of self-defined adjustment application program, optimized existing Application Program Interface layout method, strengthened the adaptability to changes of server end, for application program user provides more personalized, the Application Program Interface layout service customizing.
Accompanying drawing explanation
Fig. 1 is the interface schematic diagram of application program control layout in prior art;
Fig. 2 is the interface schematic diagram that in prior art, application program pushes contents and distribution;
Fig. 3 is that the screen grid of the screen resolution for 1280*720 of first embodiment of the invention is divided schematic diagram;
Fig. 4 is the process flow diagram of a kind of Application Program Interface layout adjustment method of second embodiment of the invention;
Fig. 5 is the interface schematic diagram of the application program control layout after a kind of adjust of second embodiment of the invention;
Fig. 6 is the process flow diagram of a kind of Application Program Interface layout adjustment method of third embodiment of the invention;
Fig. 7 is that a kind of server of third embodiment of the invention is added into application program layout adjustment information in described content to be displayed, generates the process flow diagram of pushed information;
Fig. 8 is the protocol format exemplary plot of a kind of pushed information of third embodiment of the invention;
The demonstration schematic diagram of a kind of pushed information of Fig. 9 third embodiment of the invention in application program;
Figure 10 is the structural drawing of a kind of client and server interactive information of third embodiment of the invention;
Figure 11 is the process flow diagram of a kind of Application Program Interface layout adjustment method of fourth embodiment of the invention;
Figure 12 is the structural drawing of a kind of Application Program Interface layout adjusting gear of sixth embodiment of the invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the specific embodiment of the invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, in accompanying drawing, only show part related to the present invention but not full content.
The first embodiment
The present embodiment provides a kind of Application Program Interface layout adjustment method, the method of the present embodiment can be carried out by Application Program Interface layout adjusting gear, this device can be realized by the mode of hardware and/or software, generally can be integrated in apps server, be used in conjunction with the client of application program.Wherein, the method for the present embodiment specifically comprises following operation:
Server sends application program layout adjustment information to client, to indicate client application programs to carry out interface layout's adjustment.
As previously mentioned, the interface layout that application programs is carried out mainly comprises two classes, and a class is the layout of each control in application programs, another kind of to being the layout that pushes content in application program.This two classes layout all arranges by the local layout configuration file being preset in application program installation kit.
Wherein, the control position of each control in application program, control color, control size and the isoparametric settings of control icons in local layout configuration file, have been stipulated, to realize the layout of each control in application programs.
In general, can use standard layout's control that the operating system platform at application program place provides to become local layout configurations file next life, for example, in Android system, can use LinerLayout control to carry out weight layout.Application developer can use XML (Extensible Markup Language, extend markup language) each control in form configuring application program, and generate Layout configuration file, after opening application program, application program is used Android framework to resolve this Layout configuration file, dynamically to generate interface control.
In addition, in local layout configuration file, also stipulated screen grid division number, to realize the layout that pushes content in application programs.Wherein, described screen grid division number specifically comprises: the row grid of terminal device screen divides number and row grid is divided number.
Typically, the local layout configuration file of application program has comprised the screen grid division number for different screen resolutions.
For example, the screen resolution of terminal device is 1280*720, that is to say, screen in the vertical direction comprises 1280 pixels, comprises in the horizontal direction 720 pixels.Suppose to stipulate in local layout configuration file, for the screen resolution of 1280*720, it is 16*9 that screen grid is divided number, that is to say, in the vertical direction is divided into 16 grids, is divided in the horizontal direction 9 grids.Figure 3 illustrates the screen grid division schematic diagram for the screen resolution of 1280*720, as shown in Figure 3, the minimum grid generating after ranks intersect occupies the pixel of 80*80.
Determine that minimum grid pixel (for example: 80*80), application program can show the server push carry information receiving according to this minimum grid pixel dividing number by screen grid.
For example, in the information of server push, generally comprise at least one text block to be shown.In application program, can stipulate, if text block to be shown is (typical, use UTF-8 (8-bit Unicode Transformation Format, ten thousand country codes) coding) be less than or equal to 4 characters, text block to be shown occupies a minimum grid pixel; If text block to be shown is greater than 4 characters and is less than 8 characters, text block to be shown occupies two minimum grid pixels, by that analogy.In addition, if the lazy weight of remaining minimum grid pixel is when holding current text block to be shown in current line, newline carries out layout to current text block to be shown.
In the present embodiment, the application program layout adjustment information that server can be constructed long-range layout adjustment configuration file form is sent to client, indication client is used described long-range layout to adjust configuration file and is replaced the local layout configuration file in application program, to realize the interface layout of application programs, adjusts;
Server also can be added into application program layout adjustment information and in content to be displayed, generate pushed information, above-mentioned pushed information is sent to client, indication client is according to the application program layout adjustment information in pushed information, content to be displayed is carried out to layout adjustment, to realize the interface layout of application programs, adjust.
The embodiment of the present invention sends application program layout adjustment information by server to client, the technological means of carrying out interface layout's adjustment with indication client application programs, solved and in prior art, be installed on the technical matters that the interface layout of the application program on terminal device cannot be readjusted, make server can push according to reality the attribute information of content or application program place terminal, the interface layout of self-defined adjustment application program, optimized existing Application Program Interface layout method, strengthened the adaptability to changes of server end, for application program user provides more personalized, the Application Program Interface layout service customizing.
The second embodiment
Fig. 4 is the process flow diagram of a kind of Application Program Interface layout adjustment method of second embodiment of the invention.The present embodiment be take above-described embodiment and is optimized as basis, in the present embodiment, preferably operations server is sent to application program layout adjustment information to client, to indicate client application programs to carry out interface layout's adjustment, be optimized for: the long-range layout of server constructs is adjusted configuration file; Server is adjusted configuration file using described long-range layout and is sent to client as application program layout adjustment information, indication client is used described long-range layout to adjust configuration file and is replaced the local layout configuration file in application program, to realize the interface layout of application programs, adjusts.
Accordingly, the method for the present embodiment comprises following operation:
410, the long-range layout of server constructs is adjusted configuration file.
In the present embodiment, the long-range layout adjustment configuration file of server constructs comprises the configuration to following at least one:
Screen grid is divided number;
Corresponding control position, control color, control size and the control icons of at least one control comprising with application program;
Wherein, described screen grid division number comprises: the row grid of terminal device screen divides number and row grid is divided number.
Certainly, be understandable that, the long-range layout of server constructs is adjusted in configuration file and can also be comprised other configuration, and for example, control property etc., do not limit this.
In the present embodiment, server can come configuration screen grid to divide number according to current application program version, also can come configuration screen grid to divide number according to the screen resolution of the terminal device at application program place, also can come configuration screen grid to divide number according to the model information of the terminal device at application program place, can also according to above-mentioned three characteristic informations, come configuration screen grid to divide number simultaneously, this is not limited.
420, server is adjusted configuration file using described long-range layout and is sent to client as application program layout adjustment information, indication client is used described long-range layout to adjust configuration file and is replaced the local layout configuration file in application program, to realize the interface layout of application programs, adjusts.
In the present embodiment, server is adjusted configuration file using long-range layout and is sent to after client as application program layout adjustment information, and indication client is used described long-range layout to adjust configuration file and replaced the local layout configuration file in application program.After file has been replaced, after restarting application program or page furbishing, application program can be carried out interface layout with new local layout configuration file, until there is new long-range layout to adjust configuration file, replaces this local layout configuration file again.
Figure 5 illustrates the interface schematic diagram of the application program control layout after a kind of adjustment.By finding out with Fig. 1 contrast, there is variation in the control position in application program.In other words, server end is without send the application program of redaction to client, only by the long-range layout of neotectonics is adjusted to configuration file, be sent to client, the parameter (position, color, size or icon etc.) that can realize any control that application programs comprises reconfigures.
The embodiment of the present invention is adjusted configuration file by the long-range layout of server constructs; Server is sent to the technological means of client using described long-range layout adjustment configuration file as application program layout adjustment information, solved and in prior art, be installed on the technical matters that the interface layout of the application program on terminal device cannot be readjusted, make the interface layout that server can self-defined adjustment application program, optimized existing Application Program Interface layout method, strengthened the adaptability to changes of server end, for application program user provides Application Program Interface layout service more personalized, that customize.
The 3rd embodiment
Fig. 6 is the process flow diagram of a kind of Application Program Interface layout adjustment method of third embodiment of the invention.The present embodiment be take above-described embodiment and is optimized as basis, in the present embodiment, preferably will operate described server and send application program layout adjustment information to client, with indication client application programs, carrying out interface layout's adjustment is optimized for: server, according to the application content solicited message of client, generates content to be displayed; Server is added into application program layout adjustment information in described content to be displayed, generates pushed information; Server is sent to client by described pushed information, indicates described client according to the application program layout adjustment information in described pushed information, and described content to be displayed is carried out to layout adjustment, to realize the interface layout of application programs, adjusts.
Accordingly, the method for the present embodiment comprises following operation:
610, server, according to the application content solicited message of client, generates content to be displayed.
At present, a lot of service class application programs (for example, Baidu's map, Baidu's tourism or Baidu purchase by group etc.) can provide information on services to user, and its corresponding reciprocal process is as follows:
User end to server sends application content solicited message (for example, the navigation request of destination address, travel information request or purchase by group information request etc.);
Server is according to the application content solicited message of client, generates corresponding content to be displayed (for example, navigation information, near sight spot information or purchased by group the same day such as information etc.);
Server pushes to content to be displayed the client that sends application content solicited message.
620, server is added into application program layout adjustment information in described content to be displayed, generates pushed information.
In a second embodiment, the Application Program Interface layout that server is adjusted by sending the mode of long-range layout adjustment configuration file, this adjustment mode realizes by replacing local layout adjustment configuration file, and therefore, this adjustment mode can continue to come into force in application program use procedure.
In order further to improve the dirigibility of interface layout, in the present embodiment, server is added into application program layout adjustment information in described content to be displayed, to realize the layout adjustment to content to be displayed.This adjustment mode only can come into force in this content procedure for displaying.Follow-up reception content, when showing, is still adjusted configuration file according to the local layout in application program, or is carried out interface layout according to the application program layout adjustment information in follow-up reception content.
In the present embodiment, in described application program layout adjustment information, can be configured word size or the color of content to be displayed, also can be configured the display position of content to be displayed, also can be configured the display format of content to be displayed (highlighted or underline etc.), this is not limited.
One of the present embodiment preferred embodiment in, server and a form control protocol of client agreement, when server sends information according to the protocol format of agreement, client, according to application program layout adjustment information and content to be displayed in the analytic method obtaining information of agreement, and is used described application program layout adjustment information to carry out layout adjustment to described content to be displayed.
Figure 7 illustrates a kind of server application program layout adjustment information is added in described content to be displayed, generate the preferred implementation process flow diagram of pushed information.As shown in Figure 7, this preferred implementation comprises following operation:
6201, the integral layout strategy of server constructs content to be displayed.
In this preferred implementation, described integral layout strategy comprises following at least one:
Content blocks distribution form, screen grid division numbers, content blocks alignment thereof and edge stay white pixel value, and wherein, described screen grid division numbers comprises: the row grid of terminal device screen divides number and row grid is divided number.
Wherein, content blocks distribution form can specifically comprise: the layout of floating and fixedly layout, and unsteady layout refers to according to the DISPLAY ORDER of each content blocks of predetermining, each content blocks is carried out to corresponding layout; Fixedly layout refers to according to demonstration starting point coordinate corresponding to each content blocks of predetermining, and each content blocks is carried out to layout.Content blocks alignment thereof can specifically refer to the alignment thereof (for example, left-justify, align center and Right Aligns etc.) of every row content blocks.Edge stays white pixel value to refer to when layout, and every a line reserves next blank pixel value.
6202, server is decomposed at least one content blocks by described content to be displayed, determines the display style information of described at least one content blocks.
For example, if content to be displayed is a plurality of independent Chinese words, server can be using each independent Chinese word as a content blocks, and determines the display style information of each Chinese word.
Certainly, server can also adopt other modes that content to be displayed is decomposed into at least one content blocks, for example, by the content to be displayed of same type (for example, picture or word) as a content blocks, or using a sentence as a content blocks etc., this is not limited.
In this preferred implementation, described display style information comprises following at least one: content blocks DISPLAY ORDER label, shared ranks grid number, the content blocks of content blocks show starting point coordinate and the affiliated cohort of content blocks etc.Certainly, in described display style information, can also comprise the information of other types, this is not limited.
6203, server is added into described display style information in corresponding content blocks, together with described integral layout strategy, generates described pushed information.
Figure 8 illustrates a kind of protocol format exemplary plot of pushed information, as shown in Figure 8, in protocol format, stipulated the rule that arranges of integral layout strategy in pushed information and each content blocks Show Styles, when server and client have been arranged after above-mentioned protocol format, can realize the layout adjustment to content to be displayed in client.
Certainly, it will be appreciated by persons skilled in the art that client and server can also arrange other forms of protocol format, this is not limited.
As follows is according to the pushed information of the protocol format structure shown in Fig. 8, and this pushed information at the demonstration schematic diagram of client as shown in Figure 9.
630, server is sent to client by described pushed information, indicates described client according to the application program layout adjustment information in described pushed information, and described content to be displayed is carried out to layout adjustment, to realize the interface layout of application programs, adjusts.
The embodiment of the present invention according to the application content solicited message of client, generates content to be displayed by server; Server is added into application program layout adjustment information in described content to be displayed, generates pushed information; Server is sent to described pushed information the technological means of client, solved and in prior art, be installed on the technical matters that the interface layout of the application program on terminal device cannot be readjusted, make pushed information that server can self-defined adjustment server sends to the client interface layout in application program, optimized existing Application Program Interface layout method, strengthened the adaptability to changes of server end, for application program user provides Application Program Interface layout service more personalized, that customize.
On the basis of the various embodiments described above, can also comprise: server, according to the attribute information of the terminal device at client place, is determined described screen grid partition strategy; Wherein, the attribute information of described terminal device comprises following at least one: the type of terminal device, the screen resolution of terminal device and application software version information.The benefit arranging is like this that making server can be the terminal device of different attribute information, and different screen grid partition strategies is provided, and can be implemented as application program user Application Program Interface layout service more personalized, that customize is provided.
On the basis of the various embodiments described above, can also comprise: server, according to the application program open command receiving, is indicated the attribute information of the client upload terminal device at described application program place; And/or the attribute information of the terminal device in the application content solicited message of server extraction client.The benefit of setting is like this, the in the situation that of application program user unaware, completes the acquisition process of terminal device attribute information, has improved user's experience.
Figure 10 illustrates in an object lesson structural drawing of client and server interactive information.As shown in figure 10, after application program is opened, client is obtained the model information of terminal device, screen resolution and application software version information, and above-mentioned information is sent to server, server is according to above-mentioned information, determine screen grid division number (weighing apparatus, vertical=18, 32: in the vertical direction is divided into 32 grids, be divided in the horizontal direction 13 grids), above-mentioned screen grid is divided to number and as long-range layout adjustment configuration file, be sent to client, indication client is used this long-range layout to adjust configuration file replacement local layout and is adjusted configuration file, to realize the interface layout of application programs, adjust.
The 4th embodiment
Figure 11 illustrates the process flow diagram of a kind of Application Program Interface layout adjustment method of fourth embodiment of the invention.The method of the present embodiment can be carried out by Application Program Interface layout adjusting gear, this device can be realized by the mode of hardware and/or software, and be integrated in the terminal device at application program place, or as the subroutine of application program, be used in conjunction with apps server.As shown in figure 11, the method for the present embodiment specifically comprises following operation:
1110, the application program layout adjustment information that client server sends.
In the present embodiment, the application program layout adjustment information that client server sends is specifically as follows: the long-range layout that client server sends is adjusted configuration file;
Also can be: the pushed information that client server sends, wherein, described pushed information comprises application program layout adjustment information and content to be displayed corresponding to the application content solicited message sending with described client, and this is not limited.
1120, described client is carried out interface layout's adjustment according to described application program layout adjustment information application programs.
In the present embodiment, client is carried out interface layout's adjustment according to described application program layout adjustment information application programs and is specifically as follows: client is used described long-range layout to adjust configuration file and replaced the local layout configuration file in application program, to realize application programs, carries out interface layout's adjustment.
Also can be: described client, according to described application program layout adjustment information, is carried out layout adjustment to described content to be displayed, to realize application programs, carry out interface layout's adjustment, this is not limited.
The application program layout adjustment information that the embodiment of the present invention sends by client server; The technological means that client is carried out interface layout's adjustment according to described application program layout adjustment information application programs, solved and in prior art, be installed on the technical matters that the interface layout of the application program on terminal device cannot be readjusted, make pushed information that server can self-defined adjustment server sends to the client interface layout in application program, optimized existing Application Program Interface layout method, for application program user provides Application Program Interface layout service more personalized, that customize.
The 5th embodiment
The present embodiment provides a kind of Application Program Interface layout adjusting gear, and configurable in server, this device comprises:
Layout adjustment information transmitting element, for send application program layout adjustment information to client, to indicate client application programs to carry out interface layout's adjustment.
The embodiment of the present invention sends application program layout adjustment information by server to client, the technological means of carrying out interface layout's adjustment with indication client application programs, solved and in prior art, be installed on the technical matters that the interface layout of the application program on terminal device cannot be readjusted, make server can push according to reality the attribute information of content or application program place terminal, the interface layout of self-defined adjustment application program, optimized existing Application Program Interface layout method, strengthened the adaptability to changes of server end, for application program user provides more personalized, the Application Program Interface layout service customizing.
On the basis of the various embodiments described above, described layout adjustment information transmitting element specifically can be for:
Construct long-range layout and adjust configuration file;
Described long-range layout is adjusted to configuration file and as application program layout adjustment information, be sent to client, indication client is used described long-range layout to adjust configuration file and is replaced the local layout configuration file in application program, to realize the interface layout of application programs, adjusts.
On the basis of the various embodiments described above, described layout adjustment information transmitting element specifically can be for:
According to the application content solicited message of client, generate content to be displayed;
Application program layout adjustment information is added in described content to be displayed, generates pushed information;
Described pushed information is sent to client, indicates described client according to the application program layout adjustment information in described pushed information, described content to be displayed is carried out to layout adjustment, to realize the interface layout of application programs, adjust.
The Application Program Interface layout adjusting gear that the embodiment of the present invention provides can be used for carrying out the Application Program Interface layout adjustment method that any embodiment of the present invention provides, and possesses corresponding functional module, realizes identical beneficial effect.
The 6th embodiment
The structural drawing that figure 12 illustrates a kind of Application Program Interface layout adjusting gear of sixth embodiment of the invention, this device is disposed in client.As shown in figure 12, described device comprises:
Layout adjustment information receiving element 121, the application program layout adjustment information sending for reception server.
Layout adjustment unit 122, for carrying out interface layout's adjustment according to described application program layout adjustment information application programs.
The application program layout adjustment information that the embodiment of the present invention sends by client server; The technological means that client is carried out interface layout's adjustment according to described application program layout adjustment information application programs, solved and in prior art, be installed on the technical matters that the interface layout of the application program on terminal device cannot be readjusted, make pushed information that server can self-defined adjustment server sends to the client interface layout in application program, optimized existing Application Program Interface layout method, for application program user provides Application Program Interface layout service more personalized, that customize.
The Application Program Interface layout adjusting gear that the embodiment of the present invention provides can be used for carrying out the Application Program Interface layout adjustment method that any embodiment of the present invention provides, and possesses corresponding functional module, realizes identical beneficial effect.
Obviously, it will be understood by those skilled in the art that above-mentioned each module of the present invention or each step can be by server implementations as above.Alternatively, the embodiment of the present invention can realize by the executable program of computer installation, thereby they can be stored in memory storage and be carried out by processor, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.; Or they are made into respectively to each integrated circuit modules, or a plurality of modules in them or step are made into single integrated circuit module realize.Like this, the present invention is not restricted to the combination of any specific hardware and software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, to those skilled in the art, the present invention can have various changes and variation.All any modifications of doing, be equal to replacement, improvement etc., within protection scope of the present invention all should be included within spirit of the present invention and principle.

Claims (15)

1. an Application Program Interface layout adjustment method, is characterized in that, comprising:
Server sends application program layout adjustment information to client, to indicate client application programs to carry out interface layout's adjustment.
2. method according to claim 1, is characterized in that, described server sends application program layout adjustment information to client, to indicate client application programs to carry out interface layout's adjustment, comprises:
The long-range layout of server constructs is adjusted configuration file;
Server is adjusted configuration file using described long-range layout and is sent to client as application program layout adjustment information, indication client is used described long-range layout to adjust configuration file and is replaced the local layout configuration file in application program, to realize the interface layout of application programs, adjusts.
3. method according to claim 2, is characterized in that:
Described long-range layout is adjusted configuration file and is comprised the configuration to following at least one:
Screen grid is divided number;
Corresponding control position, control color, control size and the control icons of at least one control comprising with application program;
Wherein, described screen grid division number comprises: the row grid of terminal device screen divides number and row grid is divided number.
4. method according to claim 1, is characterized in that, described server sends application program layout adjustment information to client, to indicate client application programs to carry out interface layout's adjustment, comprises:
Server, according to the application content solicited message of client, generates content to be displayed;
Server is added into application program layout adjustment information in described content to be displayed, generates pushed information;
Server is sent to client by described pushed information, indicates described client according to the application program layout adjustment information in described pushed information, and described content to be displayed is carried out to layout adjustment, to realize the interface layout of application programs, adjusts.
5. method according to claim 4, is characterized in that, described server is added into application program layout adjustment information in described content to be displayed, generates pushed information and comprises:
The integral layout strategy of server constructs content to be displayed;
Server is added into described display style information in corresponding content blocks, together with described integral layout strategy, generates described pushed information.
6. method according to claim 5, is characterized in that:
Described integral layout strategy comprises following at least one:
Content blocks distribution form, screen grid division numbers, content blocks alignment thereof and edge stay white pixel value, and wherein said screen grid division numbers comprises: the row grid of terminal device screen divides number and row grid is divided number;
Described display style information comprises following at least one: content blocks DISPLAY ORDER label, shared ranks grid number, the content blocks of content blocks show starting point coordinate and the affiliated cohort of content blocks.
7. according to the method described in claim 3 or 6, it is characterized in that, also comprise:
Server, according to the attribute information of the terminal device at client place, is determined described screen grid partition strategy; Wherein, the attribute information of described terminal device comprises following at least one: the type of terminal device, the screen resolution of terminal device and application software version information.
8. method according to claim 7, is characterized in that, also comprises:
Server, according to the application program open command receiving, is indicated the attribute information of the client upload terminal device at described application program place; And/or
The attribute information of the terminal device in the application content solicited message of server extraction client.
9. an Application Program Interface layout adjustment method, is characterized in that, comprising:
The application program layout adjustment information that client server sends;
Described client is carried out interface layout's adjustment according to described application program layout adjustment information application programs.
10. method according to claim 9, is characterized in that, the application program layout adjustment information that described client server sends comprises:
The long-range layout that described client server sends is adjusted configuration file;
Described client is carried out interface layout's adjustment according to described application program layout adjustment information application programs and is comprised:
Described client is used described long-range layout to adjust configuration file and is replaced the local layout configuration file in application program, to realize application programs, carries out interface layout's adjustment.
11. methods according to claim 9, is characterized in that, the application program layout adjustment information that described client server sends comprises:
The pushed information that described client server sends, wherein, described pushed information comprises application program layout adjustment information and content to be displayed corresponding to the application content solicited message sending with described client;
Described client is carried out interface layout's adjustment according to described application program layout adjustment information application programs and is comprised:
Described client, according to described application program layout adjustment information, is carried out layout adjustment to described content to be displayed, to realize application programs, carries out interface layout's adjustment.
12. 1 kinds of Application Program Interface layout adjusting gears, are disposed in server, it is characterized in that, described device comprises:
Layout adjustment information transmitting element, for send application program layout adjustment information to client, to indicate client application programs to carry out interface layout's adjustment.
13. devices according to claim 12, is characterized in that, described layout adjustment information transmitting element specifically for:
Construct long-range layout and adjust configuration file;
Described long-range layout is adjusted to configuration file and as application program layout adjustment information, be sent to client, indication client is used described long-range layout to adjust configuration file and is replaced the local layout configuration file in application program, to realize the interface layout of application programs, adjusts.
14. devices according to claim 12, is characterized in that, described layout adjustment information transmitting element specifically for:
According to the application content solicited message of client, generate content to be displayed;
Application program layout adjustment information is added in described content to be displayed, generates pushed information;
Described pushed information is sent to client, indicates described client according to the application program layout adjustment information in described pushed information, described content to be displayed is carried out to layout adjustment, to realize the interface layout of application programs, adjust.
15. 1 kinds of Application Program Interface layout adjusting gears, are disposed in client, it is characterized in that, described device comprises:
Layout adjustment information receiving element, the application program layout adjustment information sending for reception server;
Layout adjustment unit, for carrying out interface layout's adjustment according to described application program layout adjustment information application programs.
CN201410250833.3A 2014-06-06 2014-06-06 Application Program Interface layout adjustment method and device Active CN104007991B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410250833.3A CN104007991B (en) 2014-06-06 2014-06-06 Application Program Interface layout adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410250833.3A CN104007991B (en) 2014-06-06 2014-06-06 Application Program Interface layout adjustment method and device

Publications (2)

Publication Number Publication Date
CN104007991A true CN104007991A (en) 2014-08-27
CN104007991B CN104007991B (en) 2019-06-14

Family

ID=51368658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410250833.3A Active CN104007991B (en) 2014-06-06 2014-06-06 Application Program Interface layout adjustment method and device

Country Status (1)

Country Link
CN (1) CN104007991B (en)

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407779A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Arrangement display method and device for graphical interface
CN104461547A (en) * 2014-12-15 2015-03-25 北京国双科技有限公司 Method and device for arraying and displaying graphical interface
CN104461249A (en) * 2014-12-15 2015-03-25 北京国双科技有限公司 Method and device for arraying and displaying graphical interface
CN104461549A (en) * 2014-12-15 2015-03-25 北京国双科技有限公司 Method and device for arraying and displaying graphical interface
CN104657174A (en) * 2015-02-03 2015-05-27 百度在线网络技术(北京)有限公司 Method and device for dynamically realizing application function
CN105159673A (en) * 2015-08-31 2015-12-16 百度在线网络技术(北京)有限公司 Method and device for setting control style
CN105335295A (en) * 2015-12-01 2016-02-17 上海斐讯数据通信技术有限公司 Response type layout interface testing method and system and browser
CN105704400A (en) * 2016-04-26 2016-06-22 山东大学 Learning system based on multi-platform terminal and cloud service and operation method thereof
CN105808724A (en) * 2016-03-08 2016-07-27 深圳市茁壮网络股份有限公司 Method and system for updating browser home page, server and electronic equipment
CN105892964A (en) * 2015-12-10 2016-08-24 乐视网信息技术(北京)股份有限公司 Block configuration method, block display method, server, terminal equipment and communication system
CN105892961A (en) * 2015-11-16 2016-08-24 乐视网信息技术(北京)股份有限公司 Dynamic layout equipment and method of grid
CN105893007A (en) * 2015-10-09 2016-08-24 乐视网信息技术(北京)股份有限公司 Half-screen play page configuration device, system and method
CN105912318A (en) * 2016-04-01 2016-08-31 北京京东尚科信息技术有限公司 Self-adaptive display method of terminal screen, terminal, server and system
CN105930020A (en) * 2015-12-29 2016-09-07 中国银联股份有限公司 Method and apparatus for function icons of management terminal application program
CN106412015A (en) * 2016-08-31 2017-02-15 广州品唯软件有限公司 Data publishing method, equipment and system
CN106484388A (en) * 2015-09-02 2017-03-08 腾讯科技(深圳)有限公司 The implementation method of user interface and device
CN106507214A (en) * 2016-11-25 2017-03-15 山东浪潮商用系统有限公司 A kind of method for safeguarding TV homepage, device and Set Top Box
WO2017097140A1 (en) * 2015-12-09 2017-06-15 阿里巴巴集团控股有限公司 Method for setting attribute value of interface element, and apparatus and smart device therefor
CN107027056A (en) * 2017-03-28 2017-08-08 华为技术有限公司 A kind of desktop collocation method, server and client
CN107133241A (en) * 2016-02-29 2017-09-05 阿里巴巴集团控股有限公司 A kind of data display method and device
CN107203389A (en) * 2016-03-18 2017-09-26 百度在线网络技术(北京)有限公司 Control shows method and device
CN107203372A (en) * 2016-03-18 2017-09-26 百度在线网络技术(北京)有限公司 Control shows method and device
CN107368307A (en) * 2017-07-03 2017-11-21 上海点融信息科技有限责任公司 For the method, apparatus and system at the interface for configuring application in real time
CN107704536A (en) * 2017-09-22 2018-02-16 广州视源电子科技股份有限公司 Software content methods of exhibiting and system
CN107729012A (en) * 2017-10-27 2018-02-23 深圳前海桔子信息技术有限公司 A kind of application interface combined arrangement method and device
CN108121584A (en) * 2017-12-20 2018-06-05 北京酷我科技有限公司 A kind of method shown from right to left
CN108334386A (en) * 2017-01-20 2018-07-27 阿里巴巴集团控股有限公司 A kind of layout method and system of view component
CN108829388A (en) * 2017-05-03 2018-11-16 武汉斗鱼网络科技有限公司 A kind of processing method and system of showing interface
CN108897541A (en) * 2018-07-03 2018-11-27 腾讯科技(深圳)有限公司 Vision restoring method, device, storage medium and the terminal of application program
CN109388426A (en) * 2018-09-28 2019-02-26 北京三快在线科技有限公司 Window parameter configuration method and system, computer-readable medium
CN110109729A (en) * 2019-05-13 2019-08-09 百度在线网络技术(北京)有限公司 A kind of layout adjustment method at interface, device, electronic equipment and storage medium
CN110704087A (en) * 2019-09-30 2020-01-17 浙江大搜车软件技术有限公司 Page generation method and device, computer equipment and storage medium
WO2020062613A1 (en) * 2018-09-25 2020-04-02 珠海格力电器股份有限公司 Page generation method and apparatus, and computer-readable storage medium
CN110968312A (en) * 2018-09-30 2020-04-07 北京奇虎科技有限公司 Method and device for changing interface layout of application program
CN113296768A (en) * 2020-08-28 2021-08-24 阿里巴巴集团控股有限公司 User interface generation method and device and merchant shop interface generation method
CN114489689A (en) * 2021-08-26 2022-05-13 荣耀终端有限公司 Application program installation method and system, electronic equipment and server
WO2023193720A1 (en) * 2022-04-07 2023-10-12 华为技术有限公司 Control method and central control equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597510B (en) * 2019-08-09 2021-08-20 华为技术有限公司 Dynamic layout method and device for interface

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067816A (en) * 2006-05-04 2007-11-07 三星电子株式会社 Embedded display system and method used by the system
US20080215966A1 (en) * 2007-03-01 2008-09-04 Microsoft Corporation Adaptive server-based layout of web documents
CN101512483A (en) * 2006-06-29 2009-08-19 谷歌公司 Dynamically generating customized user interfaces
CN101908076A (en) * 2010-08-24 2010-12-08 北京世纪高通科技有限公司 Page layout self-adaptive method and device
CN102467331A (en) * 2010-11-18 2012-05-23 中国移动通信有限公司 Adaptation method, device and system for application software interface on terminal equipment
CN103336691A (en) * 2013-06-29 2013-10-02 安科智慧城市技术(中国)有限公司 Dynamic layout method and system based on Android

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067816A (en) * 2006-05-04 2007-11-07 三星电子株式会社 Embedded display system and method used by the system
CN101512483A (en) * 2006-06-29 2009-08-19 谷歌公司 Dynamically generating customized user interfaces
US20080215966A1 (en) * 2007-03-01 2008-09-04 Microsoft Corporation Adaptive server-based layout of web documents
CN101908076A (en) * 2010-08-24 2010-12-08 北京世纪高通科技有限公司 Page layout self-adaptive method and device
CN102467331A (en) * 2010-11-18 2012-05-23 中国移动通信有限公司 Adaptation method, device and system for application software interface on terminal equipment
CN103336691A (en) * 2013-06-29 2013-10-02 安科智慧城市技术(中国)有限公司 Dynamic layout method and system based on Android

Cited By (53)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407779B (en) * 2014-12-15 2019-01-08 北京国双科技有限公司 The arrangement display methods and device of graphical interfaces
CN104461547A (en) * 2014-12-15 2015-03-25 北京国双科技有限公司 Method and device for arraying and displaying graphical interface
CN104461249A (en) * 2014-12-15 2015-03-25 北京国双科技有限公司 Method and device for arraying and displaying graphical interface
CN104461549A (en) * 2014-12-15 2015-03-25 北京国双科技有限公司 Method and device for arraying and displaying graphical interface
CN104461549B (en) * 2014-12-15 2018-09-18 北京国双科技有限公司 The arrangement display methods and device of graphical interfaces
CN104407779A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Arrangement display method and device for graphical interface
CN104657174A (en) * 2015-02-03 2015-05-27 百度在线网络技术(北京)有限公司 Method and device for dynamically realizing application function
US10127057B2 (en) 2015-02-03 2018-11-13 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus for dynamically implementing application function
WO2016124013A1 (en) * 2015-02-03 2016-08-11 百度在线网络技术(北京)有限公司 Method and apparatus for dynamically implementing application function
CN105159673A (en) * 2015-08-31 2015-12-16 百度在线网络技术(北京)有限公司 Method and device for setting control style
CN106484388A (en) * 2015-09-02 2017-03-08 腾讯科技(深圳)有限公司 The implementation method of user interface and device
CN106484388B (en) * 2015-09-02 2021-06-04 腾讯科技(深圳)有限公司 Method and device for realizing user interface
CN105893007A (en) * 2015-10-09 2016-08-24 乐视网信息技术(北京)股份有限公司 Half-screen play page configuration device, system and method
CN105892961A (en) * 2015-11-16 2016-08-24 乐视网信息技术(北京)股份有限公司 Dynamic layout equipment and method of grid
CN105335295A (en) * 2015-12-01 2016-02-17 上海斐讯数据通信技术有限公司 Response type layout interface testing method and system and browser
WO2017097140A1 (en) * 2015-12-09 2017-06-15 阿里巴巴集团控股有限公司 Method for setting attribute value of interface element, and apparatus and smart device therefor
CN106855798A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 A kind of method to set up of interface element property value, device and smart machine
CN105892964A (en) * 2015-12-10 2016-08-24 乐视网信息技术(北京)股份有限公司 Block configuration method, block display method, server, terminal equipment and communication system
CN105930020B (en) * 2015-12-29 2019-09-17 中国银联股份有限公司 A kind of method and device of the icon of management terminal application program
WO2017114116A1 (en) * 2015-12-29 2017-07-06 中国银联股份有限公司 Method, apparatus and device for managing functional icon of application program of terminal
CN105930020A (en) * 2015-12-29 2016-09-07 中国银联股份有限公司 Method and apparatus for function icons of management terminal application program
CN107133241B (en) * 2016-02-29 2021-10-29 创新先进技术有限公司 Data display method and device
CN107133241A (en) * 2016-02-29 2017-09-05 阿里巴巴集团控股有限公司 A kind of data display method and device
CN105808724A (en) * 2016-03-08 2016-07-27 深圳市茁壮网络股份有限公司 Method and system for updating browser home page, server and electronic equipment
CN107203389A (en) * 2016-03-18 2017-09-26 百度在线网络技术(北京)有限公司 Control shows method and device
CN107203372A (en) * 2016-03-18 2017-09-26 百度在线网络技术(北京)有限公司 Control shows method and device
CN105912318A (en) * 2016-04-01 2016-08-31 北京京东尚科信息技术有限公司 Self-adaptive display method of terminal screen, terminal, server and system
CN105704400A (en) * 2016-04-26 2016-06-22 山东大学 Learning system based on multi-platform terminal and cloud service and operation method thereof
CN105704400B (en) * 2016-04-26 2018-10-26 山东大学 A kind of learning system and its operation method based on multi-platform terminal and cloud service
CN106412015B (en) * 2016-08-31 2019-09-03 广州品唯软件有限公司 A kind of data publication method, equipment and system
CN106412015A (en) * 2016-08-31 2017-02-15 广州品唯软件有限公司 Data publishing method, equipment and system
CN106507214A (en) * 2016-11-25 2017-03-15 山东浪潮商用系统有限公司 A kind of method for safeguarding TV homepage, device and Set Top Box
CN108334386A (en) * 2017-01-20 2018-07-27 阿里巴巴集团控股有限公司 A kind of layout method and system of view component
CN107027056B (en) * 2017-03-28 2021-08-31 华为技术有限公司 Desktop configuration method, server and client
CN107027056A (en) * 2017-03-28 2017-08-08 华为技术有限公司 A kind of desktop collocation method, server and client
CN108829388A (en) * 2017-05-03 2018-11-16 武汉斗鱼网络科技有限公司 A kind of processing method and system of showing interface
CN107368307A (en) * 2017-07-03 2017-11-21 上海点融信息科技有限责任公司 For the method, apparatus and system at the interface for configuring application in real time
CN107704536A (en) * 2017-09-22 2018-02-16 广州视源电子科技股份有限公司 Software content methods of exhibiting and system
CN107704536B (en) * 2017-09-22 2021-06-25 广州视源电子科技股份有限公司 Software content display method and system
CN107729012A (en) * 2017-10-27 2018-02-23 深圳前海桔子信息技术有限公司 A kind of application interface combined arrangement method and device
CN108121584A (en) * 2017-12-20 2018-06-05 北京酷我科技有限公司 A kind of method shown from right to left
CN108897541A (en) * 2018-07-03 2018-11-27 腾讯科技(深圳)有限公司 Vision restoring method, device, storage medium and the terminal of application program
CN108897541B (en) * 2018-07-03 2022-02-11 腾讯科技(深圳)有限公司 Visual restoration method and device of application program, storage medium and terminal
WO2020062613A1 (en) * 2018-09-25 2020-04-02 珠海格力电器股份有限公司 Page generation method and apparatus, and computer-readable storage medium
CN109388426A (en) * 2018-09-28 2019-02-26 北京三快在线科技有限公司 Window parameter configuration method and system, computer-readable medium
CN110968312A (en) * 2018-09-30 2020-04-07 北京奇虎科技有限公司 Method and device for changing interface layout of application program
CN110109729A (en) * 2019-05-13 2019-08-09 百度在线网络技术(北京)有限公司 A kind of layout adjustment method at interface, device, electronic equipment and storage medium
CN110109729B (en) * 2019-05-13 2022-09-06 百度在线网络技术(北京)有限公司 Interface layout adjustment method and device, electronic equipment and storage medium
CN110704087A (en) * 2019-09-30 2020-01-17 浙江大搜车软件技术有限公司 Page generation method and device, computer equipment and storage medium
CN113296768A (en) * 2020-08-28 2021-08-24 阿里巴巴集团控股有限公司 User interface generation method and device and merchant shop interface generation method
CN114489689A (en) * 2021-08-26 2022-05-13 荣耀终端有限公司 Application program installation method and system, electronic equipment and server
CN114489689B (en) * 2021-08-26 2023-01-13 荣耀终端有限公司 Application program installation method and system, electronic equipment and server
WO2023193720A1 (en) * 2022-04-07 2023-10-12 华为技术有限公司 Control method and central control equipment

Also Published As

Publication number Publication date
CN104007991B (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN104007991A (en) Method and device for adjusting application program interface layout
US10181305B2 (en) Method of controlling display and electronic device for providing the same
WO2018133679A1 (en) Method for displaying service object and processing map data, client and server
CN107807764B (en) Page display method and client
JP6233859B2 (en) Multilingual support system for web comics
CN109725901A (en) Development approach, device, equipment and the computer storage medium of front-end code
KR20160026142A (en) Scrapped Information Providing Method and Apparatus
JPS58500779A (en) Terminal generation of dynamically definable character sets
KR101914478B1 (en) Image providing system, service apparatus and image providing method thereof
CN104951364A (en) Android platform based language switching method and system
US10504258B2 (en) Information processing device editing map acquired from server
CN109032722A (en) Update method, device and equipment, the medium of the display effect of UI component
CN103399847A (en) Application language library for managing computing environment language
US20060079281A1 (en) System and a method for a SIM card based multi-lingual messaging application
US20210042013A1 (en) Method, device, terminal and storage medium for displaying icons
CN105094540A (en) Method and device for software icon display
CN104639854B (en) A kind of string processing display methods based on davinci platform
CN103049260A (en) Method and system for displaying user interface of software at client
US9483569B2 (en) Electronic-manual browsing apparatus and system
CN112214202B (en) Mobile phone program development system without writing codes
CN101599263B (en) Mobile terminal and display method of screen display (OSD) interface thereof
EP2990925A1 (en) Apparatus and method for displaying a virtual keyboard
CN107085567B (en) Control method and system for intelligent terminal data layout display
US10210139B2 (en) Information processing device and information processing method
CN109800368A (en) H5 navigation bar push button configuration method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant