Summary of the invention
The embodiment of the present invention provides a kind of method of showing application content, can be neatly the attribute of content in adjusting application, and according to the attribute of adjustment, show while allowing this application show corresponding content.The embodiment of the present invention also provides corresponding terminal.
The embodiment of the present invention provides a kind of method of showing application content, and described method comprises:
Be received in the instruction of calling the content in the second application in the first application;
According to described instruction, the attribute tags of the content in described the second application is adjusted;
In described the second application, by the attribute tags after adjusting, show described content.
Alternatively, described in be received in the step of calling the instruction of the content in the second application in the first application, comprising: be received in the instruction of calling the content in the second application in the first application by application programming interfaces or communication protocol.
Alternatively, described content comprises that attribute tags is the first content of not showing;
The step described according to described instruction, the attribute tags of the content in described the second application is adjusted, comprising: according to described instruction, the attribute tags of first content is shown by not showing to be adjusted into.
Alternatively, described content also comprises that attribute tags is untreated second content;
The step described according to described instruction, the attribute tags of content in described the second application is adjusted, comprising: according to described instruction, by the attribute tags of second content by the untreated delay disposal that is adjusted into.
Alternatively, described content also comprises that attribute tags is the 3rd processed content;
The step described according to described instruction, the attribute tags of the content in described the second application is adjusted, comprising: according to described instruction, the attribute tags of the 3rd content is filed by processed being adjusted into.
The embodiment of the present invention also provides corresponding terminal, and described terminal comprises:
Receiver module, the instruction of calling the content in the second application for being received in the first application;
Label adjusting module, for the instruction receiving according to described receiver module, adjusts the attribute tags of the content in described the second application;
Display module, for showing described content in described the second application by the attribute tags after adjusting.
Alternatively, described receiver module, specifically for being received in the instruction of calling the content in the second application in the first application by application programming interfaces or communication protocol.
Alternatively, described content comprises that attribute tags is the first content of not showing;
Described label adjusting module, for according to described instruction, shows the attribute tags of first content by not showing to be adjusted into.
Alternatively, described content also comprises that attribute tags is untreated second content;
Described label adjusting module, for according to described instruction, by the attribute tags of second content by the untreated delay disposal that is adjusted into.
Alternatively, described content also comprises that attribute tags is the 3rd processed content;
Described label adjusting module, for according to described instruction, is filed the attribute tags of the 3rd content by processed being adjusted into.
The present invention, by being received in the instruction of calling the content in the second application in the first application, then adjusts the attribute tags of the content in the second application according to instruction; In the second application, by the attribute tags after adjusting, show content.The present invention can be neatly the attribute of content in adjusting application, and according to the attribute of adjustment, show while allowing this application show corresponding content, for user provides convenience, improved user experience.
Embodiment
The embodiment of the present invention provides a kind of method of showing application content, can be neatly the attribute of content in adjusting application, and according to the attribute of adjustment, show while allowing this application show corresponding content.The embodiment of the present invention also provides corresponding terminal.Below be elaborated respectively.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those skilled in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Consult Fig. 1, Fig. 1 is an a kind of embodiment who shows the method for application content of the present invention, and the method comprises:
110, be received in the instruction of calling the content in the second application in the first application.
When user uses the first application in terminal, trigger the calling of the content in the second application, this triggering meeting is corresponding is created in the instruction of calling the content in the second application in the first application, then by terminal, receives this instruction.The first application and the second application are all the descriptions to application, there is no any difference, use herein first and second description to represent differentiation.
The implementation of calling is varied, and the present embodiment does not limit this.
Alternatively, a kind of implementation of step 110 is: be received in the instruction of calling the content in the second application in the first application by application programming interfaces or communication protocol.By application programming interfaces API(Application Programming Interface) or application between the communication protocol used while carrying out data communication call.
120,, according to instruction, the attribute tags of the content in the second application is adjusted.
Terminal, according to the instruction receiving in step 110, is adjusted the attribute tags of the content in the second application according to predefined rule.The attribute tags of content refers to a kind of visual sign of the attribute of content, and the content in application is data, and this content possesses various attributes, and attribute tags is by visual means, these attributes to be identified.For example, in terminal, can adopt UI(User Interface, user interface) various units usually realize attribute tags, the variation of going up element by UI represents the adjustment of attribute tags.
In terminal, can comprise various predefined rules, attribute tags is adjusted.
130, in the second application, by the attribute tags after adjusting, show content.
After step 120 li completes the attribute tags of some content in the second application has been carried out adjusting, the second application can be processed according to the attribute tags after adjusting for the displaying of these contents.
Alternatively, in step 120, content in the second application comprises that attribute tags is that first content, the attribute tags of not showing are that untreated second content and/or attribute tags are processed the 3rd content etc., the content in the second application can comprise the content of different attribute label, describes respectively below.First content, second content and the 3rd content are all content a kind of in application, the differentiation of using first, second, and third description to be only used to name.
The content of take in the second application comprise attribute tags as the first content of not showing be example, step 120 comprises: according to instruction, the attribute tags of first content is shown by not showing to be adjusted into.Step 130 comprises: in the second application, by the attribute tags after adjusting, show first content; The attribute tags of the first content of showing is not showing and becoming the displaying after adjustment from adjusting.Particularly, the new message receiving in end message application can be considered as a kind of implementation that attribute tags is the first content do not shown, in step 120, new message A is adjusted into read states from unread state, the attribute tags that is new message A is shown by not showing to be adjusted into,, in step 130, by the attribute tags after adjusting, new message A is shown, because the attribute tags after adjusting is for showing, accordingly, the new message A of displaying can be read states.
The content of take in the second application comprise attribute tags as untreated second content be example, step 120 comprises: according to instruction, by the attribute tags of second content by the untreated delay disposal that is adjusted into.Step 130 comprises: in the second application, by the attribute tags after adjusting, show second content; It is the attribute tags untreated delay disposal becoming after adjustment from adjusting of second content.Particularly, in the application of terminal backlog, backlog B can be considered as a kind of implementation that attribute tags is untreated second content, in step 120 backlog B never treatment state become delay process state, be that the attribute tags of backlog B is by the untreated delay disposal that is adjusted into, in step 130, by the attribute tags after adjusting, backlog B is shown, because the attribute tags after adjusting is delay disposal, accordingly, the backlog B of displaying can be delay process state.
The content of take in the second application comprise attribute tags as the 3rd processed content be example, step 120 comprises: according to described instruction, the attribute tags of the 3rd content is filed by processed being adjusted into.Step 130 comprises: in the second application, by the attribute tags after adjusting, show the 3rd content; The attribute tags of the 3rd content of showing is the processed filing becoming after adjustment from adjusting.Particularly, in terminal email application, processed mail C can be considered as a kind of implementation that attribute tags is processed the 3rd content, in step 120, mail C becomes and files state from processed state, the attribute tags that is mail C is filed by processed being adjusted into,, in step 130, by the attribute tags after adjusting, mail C is shown, because the attribute tags after adjusting is for filing, accordingly, the mail C of displaying has filed state.
The present embodiment, by being received in the instruction of calling the content in the second application in the first application, is then adjusted the attribute tags of the content in the second application according to instruction; In the second application, by the attribute tags after adjusting, show content.The present invention can be neatly the attribute of content in adjusting application, and according to the attribute of adjustment, show while allowing this application show corresponding content, for user provides convenience, improved user experience.
Consult Fig. 2, Fig. 2 is a kind of terminal of the present invention, and this terminal is for implementing the method for the displaying application content of above-described embodiment proposition, and this terminal 20 comprises:
Receiver module 210, the instruction of calling the content in the second application for being received in the first application; When user uses the first application in terminal, triggering is called the content in the second application, and this triggering result can correspondingly be created in the instruction of calling the content in the second application in the first application, then by receiver module 210, receives these instructions.The first application and the second application are all the descriptions to application, there is no any difference, use herein first and second description to represent differentiation.
The implementation of calling is varied, and the present embodiment does not limit this.
Alternatively, receiver module 210, calls the instruction of the content in the second application for being received in the first application by application programming interfaces or communication protocol.By application programming interfaces API(Application Programming Interface) or application between the communication protocol used while carrying out data communication call.
Label adjusting module 220, for the instruction receiving according to receiver module 210, adjusts the attribute tags of the content in the second application; Label adjusting module 220, according to the instruction receiving in receiver module 210, is adjusted the attribute tags of the content in the second application according to predefined rule.The attribute tags of content refers to a kind of visual sign of the attribute of content, and the content in application is data, and this content possesses various attributes, and attribute tags is by visual means, these attributes to be identified.For example, in terminal, can adopt UI(User Interface, user interface) various units usually realize attribute tags, label adjusting module 220 represents the adjustment of attribute tags by the variation of the upper element of UI is set.Label adjusting module 220 can comprise various predefined rules, and attribute tags is adjusted.
Display module 230, shows content for the attribute tags of pressing in the second application after label adjusting module 220 is adjusted.After label adjusting module 220 completes the attribute tags of some content in the second application has been carried out adjusting, during terminal operating the second application, display module 230 displaying for these contents in the second application can be processed according to the attribute tags after adjusting.
Particularly, receiver module 210 is received in the instruction of calling the content in the second application in the first application; The instruction that label adjusting module 220 receives according to receiver module 210, adjusts the attribute tags of the content in the second application; The attribute tags that display module 230 is pressed after label adjusting module 220 is adjusted in the second application is shown content.
Alternatively, content in the second application comprises that attribute tags is that first content, the attribute tags of not showing are that untreated second content and/or attribute tags are processed the 3rd content etc., the content in the second application can comprise the content of different attribute label, describes respectively below.First content, second content and the 3rd content are all content a kind of in application, the differentiation of using first, second, and third description to be only used to name.
The content of take in the second application comprise attribute tags as the first content of not showing be example, label adjusting module 220 for according to instruction, is shown the attribute tags of first content by not showing to be adjusted into.Display module 230 is for showing first content in the second application by the attribute tags after adjusting; The displaying from adjusting of attribute tags that is the first content of display module 230 displayings becomes the displaying after adjustment.Particularly, the new message receiving in end message application can be considered as a kind of implementation that attribute tags is the first content do not shown, label adjusting module 220 is adjusted into read states by new message A from unread state, be that label adjusting module 220 is shown the attribute tags of new message A by not showing to be adjusted into, display module 230 is shown new message A by the attribute tags after adjusting, because the attribute tags after adjusting is for showing, accordingly, the new message A that display module 230 is shown can be read states.
The content of take in the second application comprise attribute tags as untreated second content be example, label adjusting module 220 is for according to instruction, by the attribute tags of second content by the untreated delay disposal that is adjusted into.Display module 230 is for showing second content in the second application by the attribute tags after adjusting; It is the attribute tags untreated delay disposal becoming after adjustment from adjusting of second content.Particularly, in the application of terminal backlog, backlog B can be considered as a kind of implementation that attribute tags is untreated second content, the rear backlog B of label adjusting module 220 adjustment never treatment state becomes delay process state, be label adjusting module 220 by the attribute tags of backlog B by the untreated delay disposal that is adjusted into, display module 230 is shown backlog B by the attribute tags after adjusting, because the attribute tags after adjusting is delay disposal, accordingly, the backlog B that display module 230 is shown can be delay process state.
The content of take in the second application comprise attribute tags as the 3rd processed content be example, label adjusting module 220, for according to described instruction, is filed the attribute tags of the 3rd content by processed being adjusted into.Display module 230 is for showing the 3rd content in the second application by the attribute tags after adjusting; It is the processed filing becoming after adjustment from adjusting of attribute tags of the 3rd content of display module 230 displayings.Particularly, in terminal email application, processed mail C can be considered as a kind of implementation that attribute tags is processed the 3rd content, label adjusting module 220 is adjusted rear mail C and is become and file state from processed state, be that label adjusting module 220 is filed the attribute tags of mail C by processed being adjusted into, display module 230 is shown mail C by the attribute tags after adjusting, because the attribute tags after adjusting is for filing, accordingly, the mail C that display module 230 is shown has filed state.
The present embodiment is received in the instruction of calling the content in the second application in the first application by receiver module 210, then label adjusting module 220 is adjusted the attribute tags of the content in the second application according to instruction; Display module 230 is shown content by the attribute tags after adjusting in the second application.The present invention can be neatly the attribute of content in adjusting application, and according to the attribute of adjustment, show while allowing this application show corresponding content, for user provides convenience, improved user experience.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to come the hardware that instruction is relevant to complete by program, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
Control method and the terminal of the application call above embodiment of the present invention being provided are described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.