CN104007991B - Application Program Interface layout adjustment method and device - Google Patents

Application Program Interface layout adjustment method and device Download PDF

Info

Publication number
CN104007991B
CN104007991B CN201410250833.3A CN201410250833A CN104007991B CN 104007991 B CN104007991 B CN 104007991B CN 201410250833 A CN201410250833 A CN 201410250833A CN 104007991 B CN104007991 B CN 104007991B
Authority
CN
China
Prior art keywords
application program
information
content
client
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.)
Active
Application number
CN201410250833.3A
Other languages
Chinese (zh)
Other versions
CN104007991A (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

Abstract

The embodiment of the invention discloses a kind of Application Program Interface layout adjustment method and devices.The described method includes: server is to client sending application program distributing adjustment information, to indicate that client carries out interface layout adjustment to application program.The present invention passes through server to client sending application program distributing adjustment information, the technological means of interface layout adjustment is carried out to indicate client to application program, the technical issues of solving the interface layout for the application program being installed on terminal device in the prior art can not be readjusted, allow server according to the attribute information of terminal where practical push content or application program, the interface layout of customized adjustment application program, optimize existing Application Program Interface layout method, it is provided for application program user more personalized, the Application Program Interface placement Service of customization.

Description

Application Program Interface layout adjustment method and device
Technical field
The present embodiments relate to computer technology more particularly to a kind of Application Program Interface layout adjustment methods and dress It sets.
Background technique
With Mobile Communication Chip the dedicated operating system of Highgrade integration and mobile terminal (such as: Android system System, IOS system or Windows Phone system etc.) release, mobile terminal marched toward the intelligentized epoch.In general, Unified API (Application is provided for the developer of application program based on the operating system of mobile terminal Programming Interface, application programming interfaces), developer can be the various functions of User Exploitation by calling API Different application program.
In general, different application programs has the interface layout of different-style.Wherein, boundary application program carried out Face layout includes mainly two classes, and one kind is the layout to control each in application program, and another kind of pushed in application program The layout of content.These two types layout is arranged by the layout configuration file being preset in application program installation kit.Show in Fig. 1 The interface schematic diagram of application program control layout is gone out.As shown in Figure 1, the control for including in Baidu map application is search control 11, map denotation control 12 and functionality controls 13.When user opens Baidu map in application, the search fixation of control 11 is in the layout of boundary Face upper end, map denotation control 12 are fixed and are in the layout of interface the right, the fixation of functionality controls 13 is in the layout of interface bottom end;In Fig. 2 Show the interface schematic diagram of application program push contents and distribution.As shown in Fig. 2, when user in the predetermined area " search by surrounding selection When periphery ", peripheral information can be pushed to Baidu map client by the map server of Baidu, and be pressed in Baidu map client Content is carried out according to scheduled interface layout rule to show.
But with the continuous development of terminal technology and application programming technology, so that people are for application program The requirement of interface layout becomes higher, and traditional interface layout can no longer meet people during using application program, day The demand of personalization, facilitation that benefit enhances.
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, it is existing to optimize Some Application Program Interface layout methods provide more personalized Application Program Interface layout clothes for application program user Business.
In a first aspect, the embodiment of the invention provides a kind of Application Program Interface layout adjustment methods, comprising:
Server is to client sending application program distributing adjustment information, to indicate that client carries out interface to application program Distributing adjustment.
In second aspect, the embodiment of the invention provides a kind of Application Program Interface layout adjustment methods, comprising:
Client receives the application program distributing adjustment information that server is sent;
The client carries out interface layout adjustment to application program according to the application program distributing adjustment information.
In the third aspect, the embodiment of the invention provides a kind of Application Program Interface distributing adjustment devices, are configured at service In device, described device includes:
Distributing adjustment information transmitting unit is used for client sending application program distributing adjustment information, to indicate client End carries out interface layout adjustment to application program.
In fourth aspect, the embodiment of the invention provides a kind of Application Program Interface distributing adjustment devices, are configured at client In end, described device includes:
Distributing adjustment information receiving unit, for receiving the application program distributing adjustment information of server transmission;
Layout adjusting unit, for carrying out interface layout tune to application program according to the application program distributing adjustment information It is whole.
The embodiment of the present invention passes through server to client sending application program distributing adjustment information, to indicate client pair Application program carries out the technological means of interface layout adjustment, solves the application being installed on terminal device in the prior art The technical issues of interface layout of program can not be readjusted allows server according to practical push content or application The attribute information of terminal where program, the interface layout of customized adjustment application program, optimizes existing Application Program Interface Layout method enhances the adaptability to changes of server end, provides application that is more personalized, customizing for application program user Program interface placement Service.
Detailed description of the invention
Fig. 1 is the interface schematic diagram of application program control layout in the prior art;
Fig. 2 is the interface schematic diagram of application program push contents and distribution in the prior art;
Fig. 3 is that the screen grid of the screen resolution for 1280*720 of first embodiment of the invention divides schematic diagram;
Fig. 4 is a kind of flow chart of Application Program Interface layout adjustment method of second embodiment of the invention;
Fig. 5 is a kind of interface schematic diagram of application program control layout adjusted of second embodiment of the invention;
Fig. 6 is a kind of flow chart of Application Program Interface layout adjustment method of third embodiment of the invention;
It is described to aobvious that Fig. 7 is that application program distributing adjustment information is added to by a kind of server of third embodiment of the invention Show in content, generates the flow chart of pushed information;
Fig. 8 is a kind of protocol format exemplary diagram of pushed information of third embodiment of the invention;
A kind of display schematic diagram of pushed information of Fig. 9 third embodiment of the invention in the application;
Figure 10 is a kind of structure chart of client and server interactive information of third embodiment of the invention;
Figure 11 is a kind of flow chart of Application Program Interface layout adjustment method of fourth embodiment of the invention;
Figure 12 is a kind of structure chart of Application Program Interface distributing adjustment device of sixth embodiment of the invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawing to of the invention specific real Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention, Rather than limitation of the invention.It also should be noted that illustrating only for ease of description, in attached drawing related to the present invention Part rather than full content.
First embodiment
A kind of Application Program Interface layout adjustment method is present embodiments provided, the method for the present embodiment can be by applying journey Sequence interface layout adjusts device to execute, which can be realized by way of hardware and/or software, can generally be integrated in application In program servers, it is used cooperatively with the client of application program.Wherein, the method for the present embodiment specifically includes following operation:
Server is to client sending application program distributing adjustment information, to indicate that client carries out interface to application program Distributing adjustment.
As previously mentioned, the interface layout carried out to application program mainly includes two classes, one kind is to each in application program The layout of control, it is another kind of to the layout for being push content in application program.These two types layout is by being preset in application program Local layout configuration file in installation kit is arranged.
Wherein, the control location of each control in application program, control color, control are defined in local layout configuration file The setting value of the parameters such as part size and control icons, to realize the layout to control each in application program.
In general, standard layout's control next life cost that the operating system platform where application program can be used provides Ground is laid out configuration file, for example, LinerLayout control can be used in android system carries out weight layout.Using journey The form configuration that XML (Extensible Markup Language, extensible markup language) can be used in sequence developer is answered With each control in program, and Layout configuration file is generated, after opening application program, application program uses Android Frame parses this Layout configuration file, with dynamic generation interface control.
In addition, alsoing specify screen grid in local layout configuration file divides number, to realize to pushing away in application program Send the layout of content.Wherein, the screen grid divides number and specifically includes: the row grid dividing number of terminal device screen and Column grid dividing number.
It typically, include the screen grid for being directed to different screen resolutions in the local layout configuration file of application program Divide number.
For example, the screen resolution of terminal device is 1280*720, that is to say, that screen includes in the vertical direction 1280 pixels include 720 pixels in the horizontal direction.Assuming that provided in local layout configuration file, for The screen resolution of 1280*720, it is 16*9 that screen grid, which divides number, that is to say, that is divided into 16 nets in the vertical direction Lattice are divided into 9 grids in the horizontal direction.The screen grid of the screen resolution for 1280*720 is shown in FIG. 3 Schematic diagram is divided, as shown in figure 3, the minimum grid that ranks generate after intersecting occupies the pixel of 80*80.
By screen grid divide number determine minimum grid pixel (such as: after 80*80), application program can root Received server push information is shown according to the minimum grid pixel.
For example, at least one text block to be shown is generally comprised in the information of server push.In the application It can be stated that if text block to be shown (typically, uses UTF-8 (8-bit Unicode Transformation Format, Unicode) coding) be less than or equal to 4 characters, then text block to be shown occupies a minimum grid pixel;If Text block to be shown is greater than 4 characters and less than 8 characters, then text block to be shown occupies two minimum grid pixels, And so on.In addition, if the lazy weight of remaining minimum grid pixel is in current line to accommodate current text to be shown When block, then newline is laid out current text block to be shown.
In the present embodiment, server can construct the application program distributing adjustment of long-range distributing adjustment configuration file form Information is sent to client, and instruction client uses the local cloth in the long-range distributing adjustment configuration file replacement application program Office's configuration file, is adjusted the interface layout of application program with realizing;
Application program distributing adjustment information can also be added in content to be displayed and generate pushed information by server, will be upper It states pushed information and is sent to client, indicate that client according to the application program distributing adjustment information in pushed information, is treated aobvious Show that content is laid out adjustment, the interface layout of application program is adjusted with realizing.
The embodiment of the present invention passes through server to client sending application program distributing adjustment information, to indicate client pair Application program carries out the technological means of interface layout adjustment, solves the application being installed on terminal device in the prior art The technical issues of interface layout of program can not be readjusted allows server according to practical push content or application The attribute information of terminal where program, the interface layout of customized adjustment application program, optimizes existing Application Program Interface Layout method enhances the adaptability to changes of server end, provides application that is more personalized, customizing for application program user Program interface placement Service.
Second embodiment
Fig. 4 is a kind of flow chart of Application Program Interface layout adjustment method of second embodiment of the invention.The present embodiment It is optimized based on above-described embodiment, in the present embodiment, will preferably operate server to client sending application journey Sequence distributing adjustment information, to indicate that client carries out interface layout adjusting and optimizing to application program are as follows: the long-range cloth of server constructs Office's adjustment configuration file;Server is sent to using the long-range distributing adjustment configuration file as application program distributing adjustment information Client, instruction client configure text using the local layout in the long-range distributing adjustment configuration file replacement application program Part is adjusted the interface layout of application program with realizing.
Correspondingly, the method for the present embodiment includes following operation:
410, the long-range distributing adjustment configuration file of server constructs.
It in the present embodiment, include that at least one of following are matched in the long-range distributing adjustment configuration file of server constructs It sets:
Screen grid divides number;
Control location corresponding at least one control that application program includes, control color, control size and control figure Mark;
Wherein, the screen grid divides the row grid dividing number and column grid stroke that number includes: terminal device screen Score mesh.
It is, of course, understood that can also include other in the long-range distributing adjustment configuration file of server constructs Configuration, for example, control property etc., does not limit this.
In the present embodiment, server can configure screen grid dividing number according to current application program version, Screen grid dividing number can be configured according to the screen resolution of the terminal device where application program, it can also be according to answering Screen grid dividing number is configured with the model information of the terminal device where program, it can also be simultaneously according to above three spy Reference ceases to configure screen grid dividing number, does not limit this.
420, server is sent to visitor using the long-range distributing adjustment configuration file as application program distributing adjustment information Family end, instruction client replace the local layout configuration file in application program using the long-range distributing adjustment configuration file, The interface layout of application program is adjusted with realizing.
In the present embodiment, server is sent long-range distributing adjustment configuration file as application program distributing adjustment information To client, instruction client is configured using the local layout in the long-range distributing adjustment configuration file replacement application program File.After the completion of file replacement, after restarting application program or page furbishing, application program will use new local cloth Office's configuration file carries out interface layout, until there is new long-range distributing adjustment configuration file to replace local layout configuration text again Part.
A kind of interface schematic diagram of application program control layout adjusted is shown in FIG. 5.It can by being compared with Fig. 1 To find out, the control location in application program is changed.In other words, server end is not necessarily to send new version to client Application program can be realized only by the way that the long-range distributing adjustment configuration file of neotectonics is sent to client to using journey The parameter (position, color, size or icon etc.) for any control for including in sequence is reconfigured.
The embodiment of the present invention passes through the long-range distributing adjustment configuration file of server constructs;Server is by the long-range layout tune Whole configuration file is sent to the technological means of client as application program distributing adjustment information, solves in the prior art The technical issues of interface layout for the application program being installed on terminal device can not be readjusted, allow server from The interface layout of definition adjustment application program, optimizes existing Application Program Interface layout method, enhances server end Adaptability to changes provides Application Program Interface placement Service that is more personalized, customizing for application program user.
3rd embodiment
Fig. 6 is a kind of flow chart of Application Program Interface layout adjustment method of third embodiment of the invention.The present embodiment It is optimized based on above-described embodiment, in the present embodiment, will preferably operate the server and be answered to client transmission With program distributing adjustment information, to indicate that client carries out interface layout adjusting and optimizing to application program are as follows: server is according to visitor The application content solicited message at family end generates content to be displayed;Application program distributing adjustment information is added to by server In the content to be displayed, pushed information is generated;The pushed information is sent to client by server, indicates the client According to the application program distributing adjustment information in the pushed information, adjustment is laid out to the content to be displayed, to realize The interface layout of application program is adjusted.
Correspondingly, the method for the present embodiment includes following operation:
610, server generates content to be displayed according to the application content solicited message of client.
Currently, much service class application programs (for example, Baidu map, Baidu tourism or Baidu purchase by group) can to Family provides information on services, and corresponding interactive process is as follows:
User end to server sending application contents of program solicited message is (for example, the navigation requests of destination address, tourism letter Breath request or group purchase information request etc.);
Server generates corresponding content to be displayed (for example, leading according to the application content solicited message of client Boat information, neighbouring sight spot information or same day group purchase information etc.);
Content to be displayed is pushed to the client of sending application contents of program solicited message by server.
620, application program distributing adjustment information is added in the content to be displayed by server, generates pushed information.
In a second embodiment, the application program that server is adjusted by way of sending long-range distributing adjustment configuration file Interface layout, the adjustment mode are to adjust configuration file by replacement local layout to realize, therefore, this adjustment mode meeting It persistently comes into force in application program use process.
In order to further increase the flexibility of interface layout, in the present embodiment, server is by application program distributing adjustment Information is added in the content to be displayed, to realize the distributing adjustment to content to be displayed.This adjustment mode only can be at this Secondary content comes into force during showing.Receipt of subsequent content is matched in display according further to the local layout adjustment in application program File is set, or interface layout is carried out according to the application program distributing adjustment information in receipt of subsequent content.
In the present embodiment, in the application program distributing adjustment information can text size to content to be displayed or Color is configured, and can also be configured to the display position of content to be displayed, can also display shape to content to be displayed Formula (highlight or underline) is configured, and is not limited this.
In a preferred embodiment of the present embodiment, server and client arrange a format control protocol, When server sends information according to the protocol format of agreement, client obtains the application in information according to the analytic method of agreement Program distributing adjustment information and content to be displayed, and using the application program distributing adjustment information to the content to be displayed into Row distributing adjustment.
A kind of server is shown in FIG. 7 application program distributing adjustment information is added in the content to be displayed, Generate the preferred embodiment flow chart of pushed information.As shown in fig. 7, this preferred embodiment includes following operation:
6201, the integral layout strategy of server constructs content to be displayed.
In the preferred embodiment, the integral layout strategy includes at least one of following:
Content blocks distribution form, screen grid division numbers, content blocks alignment thereof and edge are left white pixel value, wherein The screen grid division numbers include: the row grid dividing number and column grid dividing number of terminal device screen.
Wherein, content blocks distribution form can specifically include: layout of floating and fixed layout, layout of floating refer to according to pre- The display order of each content blocks as defined in elder generation, is laid out each content blocks accordingly;Fixed layout refers to according to rule in advance The corresponding display starting point coordinate of fixed each content blocks, is laid out each content blocks.Content blocks alignment thereof can refer specifically to The alignment thereof (for example, left-justify, align center and Right Aligns etc.) of every row content blocks.Edge, which is left white pixel value and refers to, to be laid out When, every a line reserves the blank pixel value come.
6202, the content to be displayed is decomposed at least one content blocks by server, determines at least one described content The display style information of block.
For example, if content to be displayed is multiple independent Chinese words, server can be by each independent Chinese word As a content blocks, and determine the display style information of each Chinese word.
Certainly, content to be displayed can also be decomposed at least one content blocks using other modes by server, for example, will Same type of content to be displayed (for example, picture perhaps text) is as a content blocks or using a sentence as one Content blocks etc. do not limit this.
In the preferred embodiment, the display style information includes at least one of following: content blocks display order mark Number, ranks lattice number, content blocks shared by content blocks show starting point coordinate and the affiliated group of content blocks etc..Certainly, described aobvious Show in style information to include other kinds of information, this is not limited.
6203, the display style information is added in corresponding content blocks by server, with the integral layout strategy Together, the pushed information is generated.
A kind of protocol format exemplary diagram of pushed information is shown in FIG. 8, as shown in figure 8, defining in protocol format The setting rule of integral layout strategy and each content blocks Show Styles in pushed information, when server and client are arranged After above-mentioned protocol format, the distributing adjustment to content to be displayed can be realized in client.
Certainly, it will be appreciated by persons skilled in the art that client and server can also arrange the association of other forms Format is discussed, this is not limited.
As follows is the pushed information constructed according to protocol format shown in Fig. 8, and the pushed information is in client Display schematic diagram is as shown in Figure 9.
630, the pushed information is sent to client by server, indicates the client according in the pushed information Application program distributing adjustment information, adjustment is laid out to the content to be displayed, to realize to the interface cloth of application program Office is adjusted.
The embodiment of the present invention, according to the application content solicited message of client, is generated in be shown by server Hold;Application program distributing adjustment information is added in the content to be displayed by server, generates pushed information;Server is by institute The technological means that pushed information is sent to client is stated, solves the application journey being installed on terminal device in the prior art The technical issues of interface layout of sequence can not be readjusted sends out the customized adjustment server of server to client The interface layout of the pushed information sent in the application optimizes existing Application Program Interface layout method, enhances clothes The adaptability to changes at business device end provides Application Program Interface placement Service that is more personalized, customizing for application program user.
It can also include: category of the server according to the terminal device where client on the basis of the various embodiments described above Property information, determines the screen grid partition strategy;Wherein, the attribute information of the terminal device includes at least one of following: The type of terminal device, the screen resolution of terminal device and application software version information.The benefit being arranged in this way is to make The terminal device that server can be different attribute information is obtained, different screen grid partition strategies is provided, can be implemented as answering Application Program Interface placement Service that is more personalized, customizing is provided with program user.
It can also include: server according to the application program open command received on the basis of the various embodiments described above, Client where indicating the application program uploads the attribute information of terminal device;And/or server extracts answering for client With the attribute information of the terminal device in contents of program solicited message.The benefit being arranged in this way is, application program user without In the case where perception, the acquisition process of terminal device attribute information is completed, user experience is improved.
It is shown in FIG. 10 in a specific example, the structure chart of client and server interactive information.Such as Figure 10 institute Show, after application program is opened, client obtains model information, screen resolution and the application software version of terminal device Information, and above- mentioned information are sent to server, server according to above- mentioned information, determine screen grid divide number (weighing apparatus, indulge= 18,32: being divided into 32 grids in the vertical direction, be divided into 13 grids in the horizontal direction), above-mentioned screen grid is drawn Score mesh is sent to client as long-range distributing adjustment configuration file, and instruction client configures text using the long-range distributing adjustment Part replaces local layout to adjust configuration file, is adjusted with realizing to the interface layout of application program.
Fourth embodiment
A kind of flow chart of Application Program Interface layout adjustment method of fourth embodiment of the invention is shown in FIG. 11. The method of the present embodiment can be executed by Application Program Interface distributing adjustment device, which can pass through hardware and/or software Mode realize, and be integrated in the terminal device where application program, or as the subprogram of application program, with application program Server is used cooperatively.As shown in figure 11, the method for the present embodiment specifically includes following operation:
1110, client receives the application program distributing adjustment information that server is sent.
In the present embodiment, the application program distributing adjustment information that client receives that server is sent is specifically as follows: visitor Family end receives the long-range distributing adjustment configuration file that server is sent;
Or: client receives the pushed information that server is sent, wherein includes applying journey in the pushed information Sequence distributing adjustment information and content to be displayed corresponding with the application content solicited message that the client is sent, simultaneously to this It does not limit.
1120, the client carries out interface layout tune to application program according to the application program distributing adjustment information It is whole.
In the present embodiment, client carries out interface layout to application program according to the application program distributing adjustment information Adjustment is specifically as follows: client is configured using the local layout in the long-range distributing adjustment configuration file replacement application program File carries out interface layout adjustment to application program to realize.
Or: the client carries out the content to be displayed according to the application program distributing adjustment information Distributing adjustment carries out interface layout adjustment to application program to realize, does not limit this.
The embodiment of the present invention receives the application program distributing adjustment information that server is sent by client;Client according to The application program distributing adjustment information carries out the technological means of interface layout adjustment to application program, solves in the prior art The technical issues of interface layout for the application program being installed on terminal device can not be readjusted, so that server can With the interface layout of the customized pushed information that sends to client of adjustment server in the application, existing answer is optimized With program interface layout method, Application Program Interface layout clothes that are more personalized, customizing are provided for application program user Business.
5th embodiment
A kind of Application Program Interface distributing adjustment device is present embodiments provided, can configure in the server, the device packet It includes:
Distributing adjustment information transmitting unit is used for client sending application program distributing adjustment information, to indicate client End carries out interface layout adjustment to application program.
The embodiment of the present invention passes through server to client sending application program distributing adjustment information, to indicate client pair Application program carries out the technological means of interface layout adjustment, solves the application being installed on terminal device in the prior art The technical issues of interface layout of program can not be readjusted allows server according to practical push content or application The attribute information of terminal where program, the interface layout of customized adjustment application program, optimizes existing Application Program Interface Layout method enhances the adaptability to changes of server end, provides application that is more personalized, customizing for application program user Program interface placement Service.
On the basis of the various embodiments described above, the distributing adjustment information transmitting unit specifically can be used for:
Construct long-range distributing adjustment configuration file;
Client, instruction visitor are sent to using the long-range distributing adjustment configuration file as application program distributing adjustment information Family end is using the local layout configuration file in the long-range distributing adjustment configuration file replacement application program, to realize to application The interface layout of program is adjusted.
On the basis of the various embodiments described above, the distributing adjustment information transmitting unit specifically can be used for:
According to the application content solicited message of client, content to be displayed is generated;
Application program distributing adjustment information is added in the content to be displayed, pushed information is generated;
The pushed information is sent to client, indicates the client according to the application program in the pushed information Distributing adjustment information is laid out adjustment to the content to be displayed, is adjusted with realizing to the interface layout of application program.
Application Program Interface distributing adjustment device provided by the embodiment of the present invention can be used for executing any implementation of the invention The Application Program Interface layout adjustment method that example provides, has corresponding functional module, realizes identical beneficial effect.
Sixth embodiment
A kind of structure chart of Application Program Interface distributing adjustment device of sixth embodiment of the invention is shown in FIG. 12, The device is configured in client.As shown in figure 12, described device includes:
Distributing adjustment information receiving unit 121, for receiving the application program distributing adjustment information of server transmission.
Layout adjusting unit 122, for carrying out interface cloth to application program according to the application program distributing adjustment information Office's adjustment.
The embodiment of the present invention receives the application program distributing adjustment information that server is sent by client;Client according to The application program distributing adjustment information carries out the technological means of interface layout adjustment to application program, solves in the prior art The technical issues of interface layout for the application program being installed on terminal device can not be readjusted, so that server can With the interface layout of the customized pushed information that sends to client of adjustment server in the application, existing answer is optimized With program interface layout method, Application Program Interface layout clothes that are more personalized, customizing are provided for application program user Business.
Application Program Interface distributing adjustment device provided by the embodiment of the present invention can be used for executing any implementation of the invention The Application Program Interface layout adjustment method that example provides, has corresponding functional module, realizes identical beneficial effect.
Obviously, it will be understood by those skilled in the art that each module of the above invention or each step can be by as above The server implementation.Optionally, the embodiment of the present invention can be realized with the program that computer installation can be performed, so as to It is executed by a processor with being stored in storage device, the program can store in a kind of computer-readable storage In medium, storage medium mentioned above can be read-only memory, disk or CD etc.;Or they are fabricated to each A integrated circuit modules, or single integrated circuit module is maked multiple modules or steps in them to realize.In this way, The present invention is not limited to the combinations of any specific hardware and software.
The above description is only a preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art For, the invention can have various changes and changes.All any modifications made within the spirit and principles of the present invention are equal Replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (7)

1. a kind of Application Program Interface layout adjustment method characterized by comprising
Server is to client sending application program distributing adjustment information, to indicate that client carries out interface layout to application program Adjustment;
Wherein, the server is to client sending application program distributing adjustment information, with indicate client to application program into Row interface layout adjusts
Server generates content to be displayed according to the application content solicited message of client;
Application program distributing adjustment information is added in the content to be displayed by server, generates pushed information;
The pushed information is sent to client by server, indicates the client according to the application journey in the pushed information Sequence distributing adjustment information is laid out adjustment to the content to be displayed, is adjusted with realizing to the interface layout of application program It is whole;
Wherein, application program distributing adjustment information is added in the content to be displayed by the server, generates pushed information Include:
The integral layout strategy of server constructs content to be displayed;
The content to be displayed is decomposed at least one content blocks by server, determines the display sample of at least one content blocks Formula information;
The display style information is added in corresponding content blocks by server, together with the integral layout strategy, is generated The pushed information;
Wherein, the application program distributing adjustment information only comes into force during the display of the content to be displayed, receipt of subsequent Content adjusts configuration file in display, according further to the local layout in the application program, or according in receipt of subsequent Application program distributing adjustment information in appearance carries out interface layout.
2. according to the method described in claim 1, it is characterized by:
The integral layout strategy includes at least one of following:
Content blocks distribution form, screen grid division numbers, content blocks alignment thereof and edge are left white pixel value, wherein the screen Curtain grid dividing quantity includes: the row grid dividing number and column grid dividing number of terminal device screen;
The display style information includes at least one of following: ranks grid shared by content blocks display order label, content blocks Number, content blocks show starting point coordinate and the affiliated group of content blocks.
3. according to the method described in claim 2, it is characterized by further comprising:
Server determines the screen grid partition strategy according to the attribute information of the terminal device where client;Wherein, institute It includes at least one of following for stating the attribute information of terminal device: the type of terminal device, the screen resolution of terminal device and being answered With program software version information.
4. according to the method described in claim 3, it is characterized by further comprising:
Server indicates that transmission terminal is set in the client where the application program according to the application program open command received Standby attribute information;And/or
Server extracts the attribute information of the terminal device in the application content solicited message of client.
5. a kind of Application Program Interface layout adjustment method characterized by comprising
Client receives the application program distributing adjustment information that server is sent;
The client carries out interface layout adjustment to application program according to the application program distributing adjustment information;
Wherein, the application program distributing adjustment information of the client reception server transmission includes:
The client receives the pushed information that server is sent, wherein includes that application program layout is adjusted in the pushed information Whole information and content to be displayed corresponding with the application content solicited message that the client is sent;
The client carries out interface layout adjustment to application program according to the application program distributing adjustment information
The client is laid out adjustment according to the application program distributing adjustment information, to the content to be displayed, with reality Interface layout adjustment now is carried out to application program;
Wherein, the application program distributing adjustment information only comes into force during the display of the content to be displayed, receipt of subsequent Content adjusts configuration file in display, according further to the local layout in the application program, or according in receipt of subsequent Application program distributing adjustment information in appearance carries out interface layout.
6. a kind of Application Program Interface distributing adjustment device, is configured in server, which is characterized in that described device includes:
Distributing adjustment information transmitting unit is used for client sending application program distributing adjustment information, to indicate client pair Application program carries out interface layout adjustment;
Wherein, the distributing adjustment information transmitting unit specifically includes:
Content shows subelement, for the application content solicited message according to client, generates content to be displayed;
Information generates subelement, for application program distributing adjustment information to be added in the content to be displayed, generates push Information;
Information transmission sub-unit indicates the client according to the push for the pushed information to be sent to client Application program distributing adjustment information in information, is laid out adjustment to the content to be displayed, to realize to application program Interface layout is adjusted;
Wherein, the information generates subelement and is specifically used for:
Construct the integral layout strategy of content to be displayed;
The content to be displayed is decomposed at least one content blocks, determines the Show Styles letter of at least one content blocks Breath;
The display style information is added in corresponding content blocks, together with the integral layout strategy, is pushed away described in generation It delivers letters breath;
Wherein, the application program distributing adjustment information only comes into force during the display of the content to be displayed, receipt of subsequent Content adjusts configuration file in display, according further to the local layout in the application program, or according in receipt of subsequent Application program distributing adjustment information in appearance carries out interface layout.
7. a kind of Application Program Interface distributing adjustment device, is configured in client, which is characterized in that described device includes:
Distributing adjustment information receiving unit, for receiving the application program distributing adjustment information of server transmission;
Layout adjusting unit, for carrying out interface layout adjustment to application program according to the application program distributing adjustment information;
Wherein, the distributing adjustment information receiving unit is specifically used for:
Receive server send pushed information, wherein in the pushed information include application program distributing adjustment information and with The corresponding content to be displayed of application content solicited message that the client is sent;
The layout adjusting unit is specifically used for:
According to the application program distributing adjustment information, adjustment is laid out to the content to be displayed, to realize to using journey Sequence carries out interface layout adjustment;
Wherein, the application program distributing adjustment information only comes into force during the display of the content to be displayed, receipt of subsequent Content adjusts configuration file in display, according further to the local layout in the application program, or according in receipt of subsequent Application program distributing adjustment information in appearance carries out interface layout.
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 CN104007991A (en) 2014-08-27
CN104007991B true 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 (1)

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

Families Citing this family (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461249B (en) * 2014-12-15 2018-09-18 北京国双科技有限公司 The arrangement display methods and device of graphical interfaces
CN104461547B (en) * 2014-12-15 2018-08-07 北京国双科技有限公司 The arrangement display methods and device of graphical interfaces
CN104461549B (en) * 2014-12-15 2018-09-18 北京国双科技有限公司 The arrangement display methods and device of graphical interfaces
CN104407779B (en) * 2014-12-15 2019-01-08 北京国双科技有限公司 The arrangement display methods and device of graphical interfaces
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
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
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
CN107133241B (en) * 2016-02-29 2021-10-29 创新先进技术有限公司 Data display method and device
CN105808724B (en) * 2016-03-08 2019-10-08 深圳市茁壮网络股份有限公司 A kind of update method and system, server and electronic equipment of browser homepage
CN107203372B (en) * 2016-03-18 2021-03-19 百度在线网络技术(北京)有限公司 Control display method and device
CN107203389B (en) * 2016-03-18 2021-01-22 百度在线网络技术(北京)有限公司 Control display method and device
CN105912318A (en) * 2016-04-01 2016-08-31 北京京东尚科信息技术有限公司 Self-adaptive display method of terminal screen, terminal, server and system
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
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
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
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
CN108897541B (en) * 2018-07-03 2022-02-11 腾讯科技(深圳)有限公司 Visual restoration method and device of application program, storage medium and terminal
CN109343850A (en) * 2018-09-25 2019-02-15 珠海格力电器股份有限公司 Page generation method, device and computer readable storage medium
CN109388426B (en) * 2018-09-28 2020-05-05 北京三快在线科技有限公司 Window parameter configuration method and system and computer readable medium
CN110968312A (en) * 2018-09-30 2020-04-07 北京奇虎科技有限公司 Method and device for changing interface layout of application program
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
CN114489689B (en) * 2021-08-26 2023-01-13 荣耀终端有限公司 Application program installation method and system, electronic equipment and server
CN116931802A (en) * 2022-04-07 2023-10-24 华为技术有限公司 Control method and central control equipment

Citations (4)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7908551B2 (en) * 2006-06-29 2011-03-15 Google Inc. Dynamically generating customized user interfaces
US20080215966A1 (en) * 2007-03-01 2008-09-04 Microsoft Corporation Adaptive server-based layout of web documents

Patent Citations (4)

* 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
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 (1)

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

Also Published As

Publication number Publication date
CN104007991A (en) 2014-08-27

Similar Documents

Publication Publication Date Title
CN104007991B (en) Application Program Interface layout adjustment method and device
US10181305B2 (en) Method of controlling display and electronic device for providing the same
US11500513B2 (en) Method for icon display, terminal, and storage medium
CN110737840B (en) Voice control method and display device
CN105069118B (en) A kind of application scenarios management method and system based on GIS configurations
CN106873991B (en) Page generation method and device
CN106775836B (en) Interface display method and interface display device
EP2687965A1 (en) Icon generation method
US20180213077A1 (en) Method and apparatus for controlling smart device, and computer storage medium
US20150091917A1 (en) Information processing methods and electronic devices
US10681111B2 (en) Method and system for providing internet application services
US9959652B2 (en) Display method and terminal
US11363118B2 (en) User interface and content translation system
CN109710328A (en) Page configuration method, apparatus, equipment and readable storage medium storing program for executing
CN109784011A (en) Watermark generation method and device
CN111352600A (en) Large screen control system, method and device and electronic equipment
WO2016111975A1 (en) Implementing desktops on a mobile terminal
CN111597489B (en) Realization method and device for draggable custom form component based on mobile terminal
CN103473259A (en) Display interface change system and display interface change method
CN106569984B (en) Method, device and system for automatically generating and transmitting color word stock
EP2990925A1 (en) Apparatus and method for displaying a virtual keyboard
CN110347361A (en) Vehicular information output device and Vehicular information output system
CN107027056B (en) Desktop configuration method, server and client
CN109800368A (en) H5 navigation bar push button configuration method, device, computer equipment and storage medium
CN103634321B (en) Voice recognition result display method and device

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