The content of the invention
The invention provides a kind of user interface creating method, fixed with solving interface layout in the prior art, pattern compared withIt is few, the problem of user preferences can not being met.
The embodiments of the invention provide a kind of user interface creating method, including:
First terminal sends data acquisition request to server, and the data acquisition request includes first terminal ID;
Receive the foundation forms data that the server is sent according to the first terminal ID;
The first terminal generates user interface foundation forms, the user interface basis according to the foundation forms dataTemplate includes multiple classifications and the corresponding multiple projects of each classification;
The custom instruction of user's input is received, processing is customized to the classification and the project, customized user is generatedInterface;
Customised notification message is sent to second terminal;
When receiving the received message that the second terminal is sent, the first terminal sends out the customized user interfaceGive the server;
When the second terminal receives the open command of user's input, the server is by the customized user interfaceThe second terminal is sent to be shown.
Further, methods described also includes:
When the first terminal receives the refuse information that the second terminal is sent, customized user circle is dischargedFace.
Further, it is described processing is customized to the classification and the project to specifically include:
The classification and the project are added, deleted.
Further, it is described processing is customized to the classification and the project to specifically include:
Display picture and display word to the classification and the project are customized processing.
Further, methods described also includes:
The first terminal stores the user interface foundation forms.
Further, methods described also includes:
When receiving the received message that the second terminal is sent, the first terminal is by the basic mould of the user interfacePlate is sent to the server.
Further, methods described also includes:
When the second terminal receives the open command of user's input, the server is basic by the user interfaceTemplate is sent to the second terminal and shown.
Further, it is described user's input is received when the second terminal open command when, the server is by instituteState customized user interface and be sent to the second terminal and carry out display and specifically include:
When the second terminal receives the open command of user's input, the server is by the customized user interfaceIt is sent to the second terminal;
The second terminal receives the selection instruction of user's input, according to the selection instruction from multiple customized user interfacesMiddle selection one is shown.
User interface creating method provided in an embodiment of the present invention, first terminal sends data acquisition request to server,Data acquisition request includes first terminal ID;The foundation forms data that the reception server is sent according to first terminal ID;First eventuallyEnd generates user interface foundation forms according to foundation forms data, and user interface foundation forms includes multiple classifications and each classificationCorresponding multiple projects;The custom instruction of user's input is received, processing is customized to classification and project, customized user circle is generatedFace;Customised notification message is sent to second terminal;When receiving the received message of second terminal transmission, first terminal will be customizedUser interface is sent to server;When second terminal receives the open command of user's input, server is by customized user circleFace is sent to second terminal and shown.Method provided in an embodiment of the present invention, is allowed users to according to personal like by movingThe desktop layouts of dynamic terminal customization fixed terminal, can also upload the program oneself liked and be applied to layout, and every fixed wholeEnd can customize multiple desktop layouts, and the selection instruction inputted according to user switches different layouts.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made intoOne step it is described in detail, it is clear that described embodiment is only embodiment of the invention a part of, rather than whole implementationExample.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not madeAll other embodiment, belongs to the scope of protection of the invention.
First terminal in technical solution of the present invention includes the mobile terminal device with processing and display capabilities, for example,Notebook computer, tablet personal computer, smart mobile phone etc.;Second terminal includes the fixed terminal equipment with processing and display capabilities,For example, intelligent television.
With reference to the user interface creating method flow chart shown in Fig. 1, to user interface provided in an embodiment of the present inventionGeneration method is described in detail.
As shown in figure 1, the user interface creating method that the present invention is provided mainly comprises the following steps:
Step 101, first terminal sends data acquisition request to server, and data acquisition request includes first terminal ID.
Specifically, first terminal downloads the application APP for installing control second terminal in advance, first terminal logs in APP,The request message for obtaining second terminal foundation forms data is sent to server by the desktop layouts customized module in APP, pleaseAsk and first terminal ID is included in message.
First terminal ID specifically includes the network address of first terminal, IP address, user login name etc..
Step 102, the foundation forms data that the reception server is sent according to first terminal ID.
Foundation forms packet contains background picture, text style, recommends bitmap piece, text style and word and pictureLayout etc..
Step 103, first terminal generates user interface foundation forms, user interface foundation forms according to foundation forms dataInclude multiple classifications and the corresponding multiple projects of each classification.
First terminal generates the user for including multiple classifications multiple projects corresponding with each classification according to foundation forms dataInterface basis template, and stored.One classification logotype of each classification correspondence;Each " project " correspondence one recommends position.
For example, classification can specifically include " recommendation ", " personage ", " member ", " individual center ", " setting " etc.." recommendation "Corresponding project can include " the inner peach blossom of three lives three generations ten ", " weddings of my best friends " " Pirates of the Caribbean 5 " etc..
Step 104, the custom instruction of user's input is received, processing is customized to classification and project, customized user is generatedInterface.
First terminal receives the custom instruction of user's input, and classification and project are added, deleted;To classification and projectDisplay picture and display word size, color be customized processing;Display styles that can also be to interface background and displayPattern is customized, generation customized user interface.
It is increase project " suspect X dedication ", " trouble family " in classification " recommendation ", then such as the example in step 103The project included in classification " recommendation " includes " the inner peach blossom of three lives three generations ten ", " weddings of my best friends ", " Pirates of the Caribbean5 ", " suspect X dedication " and " trouble family ".
And for example, can in the classification " setting " selection background picture, word carry out the customization of interface background, can also onThe local picture of first terminal is passed as background picture, recommends bitmap piece etc..Can be with uploading pictures, video file, audio textPart etc. is as the classification newly increased, or the corresponding project of classification etc..
Step 105, customised notification message is sent to second terminal.
Behind first terminal customized user interface, the user interface of customization is pushed to second terminal, to second terminalSend a notification message
Before this, first terminal and second terminal set up data link or wireless connection, it is therefore an objective to realize first eventuallyEnd and the data communication of second terminal.
Step 106, when receiving the received message of second terminal transmission, customized user interface is sent to by first terminalServer.
When receiving the received message of second terminal transmission, first terminal is by customized user interface and user interface basePlinth template is sent to server;When first terminal receives the refuse information of second terminal transmission, customized user interface is discharged.
When having customized multiple user interfaces, when receiving the received message of second terminal transmission, first terminal is by user circleFace foundation forms, customized user interface 1, customized user interface 2 ... are sent to server;Receive the refusal of second terminal transmissionDuring message, first terminal discharges all customized user interfaces.
Step 107, when second terminal receives the open command of user's input, server sends customized user interfaceShown to second terminal.
Specifically, when opening second terminal, second terminal sends request message to server, server is triggered to secondTerminal sends user interface foundation forms and customized user interface, and second terminal receives the selection instruction of user's input, according to choosingInstruction selection one from multiple customized user interfaces is selected to be shown.
In technical solution of the present invention, the user interface layout of fixed terminal is customized by mobile terminal, makes customization operationsMore facilitate easy-to-use, it is to avoid the operational order customized user interface that the terminal device such as intelligent television passes through remote control userWhen operation not enough easily situation, user can arbitrarily customize user circle of oneself hobby by mobile terminal devices such as mobile phonesFace, it is achieved thereby that the personalized customization of user interface, improves user experience.
User interface creating method provided in an embodiment of the present invention, first terminal sends data acquisition request to server,Data acquisition request includes first terminal ID;The foundation forms data that the reception server is sent according to first terminal ID;First eventuallyEnd generates user interface foundation forms according to foundation forms data, and user interface foundation forms includes multiple classifications and each classificationCorresponding multiple projects;The custom instruction of user's input is received, processing is customized to classification and project, customized user circle is generatedFace;Customised notification message is sent to second terminal;When receiving the received message of second terminal transmission, first terminal will be customizedUser interface is sent to server;When second terminal receives the open command of user's input, server is by customized user circleFace is sent to second terminal and shown.Method provided in an embodiment of the present invention, is allowed users to according to personal like by movingThe desktop layouts of dynamic terminal customization fixed terminal, can also upload the program oneself liked and be applied to layout, and every fixed wholeEnd can customize multiple desktop layouts, and the selection instruction inputted according to user switches different layouts.
Professional should further appreciate that, each example described with reference to the embodiments described hereinUnit and algorithm steps, can be realized with electronic hardware, be generally described respectively according to function in the above descriptionThe composition and step of example.Function described by being realized to each specific application using distinct methods, but this realityNow it is not considered that beyond the scope of the embodiment of the present invention.Specifically, the computing and control section can dredging collateral logic hardwaresRealize, it can be the logical integrated circuit manufactured using integrated circuit technology, and the present embodiment is not construed as limiting to this.
The method that is described with reference to the embodiments described herein can use hardware, computing device the step of algorithmSoftware module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only storage(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical fieldIn any other form of storage medium well known to interior.
Above-described embodiment, purpose, technical scheme and beneficial effect to the embodiment of the present invention are carried outIt is further described, should be understood that the embodiment that the foregoing is only the embodiment of the present invention, and withoutIt is all within the spirit and principle of the embodiment of the present invention in the protection domain for limiting the embodiment of the present invention, any modification for being made,Equivalent substitution, improvement etc., should be included within the protection domain of the embodiment of the present invention.