The content of the invention
To overcome problem present in correlation technique, the present invention to provide the display methods and device of a kind of application interface.
A kind of first aspect according to embodiments of the present invention, there is provided display methods of application interface, including:Sent out to serverUser profile is sent, to cause that the server determines matching somebody with somebody for the corresponding application interface of the user profile according to the user profileConfidence ceases;Receive the configuration information of the corresponding application interface of the user profile that the server sends;It is described with confidenceCarry the display information of at least one control to be shown;The configuration information is parsed, obtain application interface at least one treatsThe display information of control is shown, the display information according to described at least one control to be shown shows institute in the application interfaceState at least one control to be shown.
Alternatively, the display information of the control to be shown includes:The display location of control to be shown, display order;SolutionThe configuration information is analysed, the display information of at least one control to be shown of application interface is obtained, treated according to described at least oneShowing the display information of control carries out showing that described at least one control to be shown includes in the application interface:Parsing is describedConfiguration information, obtains display location, the display order of at least one control to be shown of application interface, according to described at least oneDisplay location, the display order of control to be shown show described at least one control to be shown in application interface.
Alternatively, display location, the display order according to described at least one control to be shown is in application interfaceShow that described at least one control to be shown includes:According to the size of application interface, at least one space to be shown is adjustedDisplay size, and display location according to the control to be shown, display order show described in have adjusted display size extremelyA few control to be shown.
Alternatively, the configuration information is the configuration information of JSON data forms.
A kind of second aspect according to embodiments of the present invention, there is provided display methods of application interface, including:Receive display dressPut the user profile of transmission;Verify whether the user profile is legal user profile;It is legal in the user profileDuring user profile, the configuration information of the corresponding application interface of the user profile is determined;It is described with carrying at least one in confidenceThe display information of individual control to be shown;The configuration information of the corresponding application interface of the user profile is sent to the display dressPut.
A kind of third aspect according to embodiments of the present invention, there is provided display device, including:Transmitting element, for serviceDevice sends user profile, to cause that the server determines the corresponding application interface of the user profile according to the user profileConfiguration information;Receiving unit, the configuration for receiving the corresponding application interface of the user profile that the server sendsInformation;It is described with the display information that at least one control to be shown is carried in confidence;Processing unit, for parsing the configurationInformation, obtains the display information of at least one control to be shown of application interface, according to described at least one control to be shownDisplay information shows described at least one control to be shown in the application interface.
Alternatively, the display information of the control to be shown includes:The display location of control to be shown, display order;InstituteProcessing unit is stated, specifically for parsing the configuration information, the display position of at least one control to be shown of application interface is obtainedPut, display order, described in display location, display order according to described at least one control to be shown show in application interfaceAt least one control to be shown.
Alternatively, the processing unit, specifically for the size according to application interface, adjusts the aobvious of the space to be shownShow size, and display location according to described at least one control to be shown, display order show described in have adjusted display sizeAt least one control to be shown.
Alternatively, the configuration information is the configuration information of JSON data forms.
A kind of fourth aspect according to embodiments of the present invention, there is provided server, including:Receiving unit, shows for receivingThe user profile that device sends;Authentication unit, for verifying whether the user profile is legal user profile;It is determined that singleUnit, for when the user profile is legal user profile, determining the configuration of the corresponding application interface of the user profileInformation;It is described with the display information that at least one control to be shown is carried in confidence;Transmitting element, for the user to be believedThe configuration information for ceasing corresponding application interface is sent to the display device.
The technical scheme that embodiments of the invention are provided can include the following benefits:User is sent to server to believeBreath;The configuration information of the corresponding application interface of user profile that the reception server sends;Parsing configuration information, obtains application interfaceAt least one control to be shown display information, display information according at least one control to be shown shows in application interfaceShow at least one control to be shown.So, display device is being carried out when application interface shows, it is necessary to be obtained from serverThe corresponding configuration information of the user, and then the display information of the control of application interface is got, and according to the display information of control,Each control to application interface shows.When the configuration information of different user is different, the control of its corresponding application interfaceDisplay there are different situations, such that it is able to realize carrying out the display of application interface for different users, improve intelligence eventuallyThe intelligent purpose at end.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, notCan the limitation present invention.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related toDuring accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodimentDescribed in implementation method do not represent and the consistent all implementation methods of the present invention.Conversely, they be only with it is such as appendedThe example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
As shown in figure 1, a kind of display methods of application interface is the embodiment of the invention provides, including:
Step 101, to server send user profile, with cause server according to user profile determine user profile it is corresponding shouldWith the configuration information at interface.
Specifically, user is when opening is applied, user profile can be first input into, for having waited this to apply.Now show dressPut the user profile that can receive user input.Because the related data applied is stored in server, it is necessary to server pairThe request of user is responded, therefore display device can be sent to server user profile.Server is receiving userDuring information, user profile can be detected, detect whether the user profile for receiving is legal user profile.In user's letterCease during for legal user profile, can according to user profile find out the corresponding application interface of this user profile with confidenceBreath, and then this configuration information is sent to display device.
Further, user name and encrypted message can be included in user profile.
The configuration information of the corresponding application interface of user profile that step 102, the reception server send.
Wherein, the display information of at least one control to be shown is carried in.
Specifically, server can configure this when the configuration information of the corresponding application interface of user profile is obtainedInformation is sent to display device, and display device receives the configuration information of application interface.
Further, above-mentioned configuration information is JSON(JavaScript Object Notation)The configuration of data formInformation.
It should be noted that configuration information can be with the configuration information of other data forms, the present invention is without limitation.
Further, server detect user profile when, the corresponding user right of user profile can be detected, toDuring display device send configuration information, the authority information of user can also be sent to display device.So, display deviceThe authority information of user can be got, and then the authority information of user is shown, the authority of its own is obtained so as to user.
It should be noted that the style information of application interface can also be carried in the configuration information of application interface etc., thisInvention is without limitation.
Step 103, parsing configuration information, obtain the display information of at least one control to be shown of application interface, according toThe display information of at least one control to be shown shows at least one control to be shown in application interface.
Specifically, after display device receives the configuration information of application interface, this configuration information can be parsed, will be with confidenceThe display information of at least one control to be shown carried in breath is parsed.According to each control for parsing on application interfaceDisplay information, each control is shown.
Further, the display information of control to be shown includes:The display location of control to be shown, display order.
Now, configuration information is parsed, the display information of at least one control to be shown of application interface is obtained, according at leastOne display information of control to be shown carries out showing that described at least one control to be shown includes in application interface:
Parsing configuration information, obtains display location, the display order of at least one control to be shown of application interface, according at leastOne display location of control to be shown, display order show described at least one control to be shown in application interface.
That is, display device parsing configuration information gets each control to be shown of application interface needs displayDisplay location, display order, and then can be to be shown to each according to the display location of each control to be shown and display orderThe display of control.
Further, display location, the display order according at least one control to be shown shown in application interface toA few control to be shown includes:According to the size of application interface, the display size at least one space to be shown, and root are adjustedAt least one control to be shown that have adjusted display size is shown according to the display location of control to be shown, display order.
As, when the display in space to be shown of application interface is carried out, it is necessary to first according to the size of application interface, adjustmentThe size of each control to be shown, then carry out the display of control to be shown.Display device can first obtain application interfaceSize, according to the size of application interface, determines the display size of each control to be shown.Display device can be with rootAccording to the number and the size of application interface of control to be shown, the display size of each control to be shown is determined.It is determined thatAfter going out the display size of each control to be shown, each control to be shown can be adjusted according to the display size of control to be shownSize, and the display location according to control to be shown and display order, show to each control to be shown in application interface.
Further, when configuration information includes styles information, display device when the display of application interface is carried out,Need to be shown according to the styles information of parsing.
So, display device is being carried out when application interface shows, it is necessary to that the user is obtained from server is correspondingConfiguration information, and then the display information of the control of application interface is got, and according to the display information of control, to application interfaceEach control is shown.When the configuration information of different user is different, the display of the control of its corresponding application interface is present notSame situation, such that it is able to realize being carried out for different users the display of application interface, improves the intelligent of intelligent terminalPurpose.
As shown in Fig. 2 a kind of display methods of application interface is the embodiment of the invention provides, including:
The user profile that step 201, receiving and displaying device send.
Specifically, display device is detected when the user profile of user input is got, it is necessary to send to server,Now server can receive the user profile of display device transmission.
Further, user name and encrypted message can be included in user profile.
Whether step 202, checking user profile are legal user profile.
Specifically, after server receives user profile, can have been searched whether in the user profile for prestoring withMatch one of the user profile of reception.If the user profile for being found in the user profile for prestoring and being receivedOne for matching, then can determine that the user profile for receiving is legal user profile.If in the user's letter for prestoringOne matched with the user profile for receiving is not found in breath, then can determine that the user profile for receiving is illegalUser profile.
Further, if including user name and encrypted message in user profile, server can verify display dressWhether the user name and encrypted message for putting transmission are correct.
Step 203, when user profile is legal user profile, determine the configuration of the corresponding application interface of user profileInformation.
Wherein, with the display information that at least one control to be shown is carried in confidence.
Specifically, server is when it is legal user profile to verify user profile, can be in the configuration for pre-settingIn information, the corresponding configuration information of user profile is found out.As find out the application interface corresponding to the user of display deviceConfiguration information.
It should be noted that in the server according to user's request, the application interface for being previously provided with different user is matched somebody with somebodyConfidence ceases.
It should be noted that the display letter comprising each control shown in application interface in need in configuration informationBreath, can also include other information, the style information at such as interface etc..The letter of the rain application interface correlation included in configuration informationBreath can user pre-set according to the actual requirements, the present invention it is without limitation.
Further, the display information of control to be shown includes:The display location of control to be shown, display order.
Further, when the configuration information of application interface is set, can be configured according to the authority of user.As,The configuration information of the application interface of different user authority is different.Now, server can be according to user profile, while determining thisThe user right of user and the configuration information of application interface.
Step 204, the configuration information of the corresponding application interface of user profile is sent to display device.
Specifically, server is after the configuration information for getting application interface, the application interface that will can be got is matched somebody with somebodyConfidence breath is sent to display device.
Further, above-mentioned configuration information is the configuration information of JSON data forms.Now, server is getting configuration, it is necessary to configuration information to be set to the configuration information of JSON data forms during information.Server is by the configuration of JSON data formsInformation is sent to display device.
Further, server is when the user right of user is determined, can matching somebody with somebody user right and application interfaceConfidence breath sends to display device simultaneously.
So, when application interface display is carried out, server is first obtained and applies boundary display device according to user profileThe cooperation information in face, and the cooperation information of acquisition is sent to display device so that display device obtains configuration information, and then obtainsThe display information of the control of application interface is got, and according to the display information of control, each control to application interface showsShow.When the configuration information of different user is different, there are different situations in the display of the control of its corresponding application interface, so that canTo realize being carried out for different users the display of application interface, the intelligent purpose of intelligent terminal is improved.
As shown in figure 3, a kind of display device is the embodiment of the invention provides, including:
Transmitting element 301, for sending user profile to server, to cause that server determines user according to the user profileThe configuration information of the corresponding application interface of information.
Receiving unit 302, the configuration information of the corresponding application interface of user profile sent for the reception server.
Wherein, with the display information that at least one control to be shown is carried in confidence.
Processing unit 303, for parsing configuration information, obtains the display letter of at least one control to be shown of application interfaceBreath, the display information according at least one control to be shown shows at least one control to be shown in application interface.
Further, the display information of control to be shown includes:The display location of control to be shown, display order.
Processing unit 303, specifically for parsing configuration information, obtain application interface at least one control to be shown it is aobviousShow position, display order, the display location, display order according at least one control to be shown show at least in application interfaceOne control to be shown.
Further, processing unit 303, specifically for the size according to application interface, adjust the display in space to be shownSize, and display location according at least one control to be shown, display order show and have adjusted at least one of display sizeControl to be shown.
Further, configuration information is the configuration information of JSON data forms.
As shown in figure 4, a kind of server is the embodiment of the invention provides, including:
Receiving unit 401, for the user profile that receiving and displaying device sends.
Authentication unit 402, for verifying whether user profile is legal user profile.
Determining unit 403, for when user profile is legal user profile, determining corresponding application circle of user profileThe configuration information in face.
Wherein, with the display information that at least one control to be shown is carried in confidence.
Transmitting element 404, for the configuration information of the corresponding application interface of user profile to be sent to display device.
So, when application interface display is carried out, server is first obtained and applies boundary display device according to user profileThe cooperation information in face, and the cooperation information of acquisition is sent to display device so that display device obtains configuration information, and then obtainsThe display information of the control of application interface is got, and according to the display information of control, each control to application interface showsShow.When the configuration information of different user is different, there are different situations in the display of the control of its corresponding application interface, so that canTo realize being carried out for different users the display of application interface, the intelligent purpose of intelligent terminal is improved.
For convenience of description, it is divided into various units with function during description apparatus above to describe respectively.Certainly, this is being implementedThe function of each unit can be realized in same or multiple softwares and/or hardware during invention.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodimentDivide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for device orFor system embodiment, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to methodThe part explanation of embodiment.Apparatus and system embodiment described above is only schematical, wherein as separationThe unit of part description can be or may not be it is physically separate, the part shown as unit can be orCan not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to realitySome or all of module therein is selected the need for border to realize the purpose of this embodiment scheme.Those of ordinary skill in the artWithout creative efforts, you can to understand and implement.
It should be appreciated that the invention is not limited in the precision architecture being described above and be shown in the drawings, andAnd can without departing from the scope carry out various modifications and changes.The scope of the present invention is only limited by appended claim.