Summary of the invention
The method that the purpose of this invention is to provide a kind of fast sharing microblogging realizes the fast sharing of microblogging content to make things convenient for the user, improves the user and experiences.
Another object of the present invention provides a kind of touch screen terminal of fast sharing microblogging, and this touch screen terminal can realize the fast sharing of microblogging content, improves the user and experiences.
For achieving the above object, the invention provides a kind of method of fast sharing microblogging, comprising:
Preset default gesture arbitrary and the microblogging account number binding;
Input arbitrary gesture to arbitrary interface of touch screen terminal;
Judge whether described gesture is described default gesture;
According to judged result fast sharing microblogging.
Compared with prior art, the method of fast sharing microblogging of the present invention is preset first default gesture arbitrary and the microblogging account number binding, input again a gesture and judge whether this gesture is default gesture, at last according to judged result fast sharing microblogging, need not the troublesome operation through " click is shared to microblogging, and---connecting the microblogging login interface---inputs microblogging account number and password " of existing microblogging sharing method, thereby made things convenient for the user to realize the fast sharing of microblogging content, improved user's experience.
Particularly, " according to judged result fast sharing microblogging " specifically comprises:
When described gesture is described default gesture, judge whether described arbitrary interface has sharing contents;
According to judged result described sharing contents being added into microblogging shares frame or opens the microblogging application.
Particularly, described sharing contents comprises picture and/or literal.
Particularly, described arbitrary interface operation interface that is web interface or arbitrary application.
Particularly, judge whether described arbitrary interface has sharing contents " specifically comprise:
Judge whether the content on the described web interface belongs to the content that the microblogging support is shared, or judge whether described arbitrary application supports the open interface of microblogging.
In a preferred embodiment of the present invention, " judging whether described gesture is described default gesture " also comprises afterwards:
Judge described touch screen the terminal whether not application of preload microblogging or unloaded described microblogging application;
Opening page end according to judged result uses with the described microblogging of preload.
Correspondingly, the present invention also provides a kind of touch screen terminal of fast sharing microblogging, comprising:
Presetting module is used for default gesture default arbitrary and the microblogging account number binding;
Load module is used for inputting arbitrary gesture to arbitrary interface of touch screen terminal;
The first judge module is used for judging whether described gesture is described default gesture; And
Sharing module is used for the judged result fast sharing microblogging according to described the first judge module.
Particularly, described sharing module specifically comprises:
The sharing contents judging unit is used for when described gesture is described default gesture, judges whether described arbitrary interface has sharing contents;
Performance element is added into microblogging for the judged result according to described sharing contents judging unit with described sharing contents and shares frame or open the microblogging application.
Particularly, described sharing contents judging unit specifically comprises:
The first subelement is used for being described default gesture and described arbitrary interface when being web interface, judging whether the content on the described web interface belongs to the content that the microblogging support is shared when described gesture;
The second subelement is used for when described gesture is described default gesture and the described arbitrary interface operation interface that is arbitrary application, judges whether described arbitrary application supports the open interface of microblogging.
Preferably, the touch screen terminal of described fast sharing microblogging also comprises:
Whether not the second judge module is used for judging described touch screen the terminal application of preload microblogging or unloaded described microblogging application; And
The preload module is used for opening page end according to the judged result of described the second judge module and uses with the described microblogging of preload.
By following description also by reference to the accompanying drawings, it is more clear that the present invention will become, and these accompanying drawings are used for explaining embodiments of the invention.
Embodiment
With reference now to accompanying drawing, describe embodiments of the invention, similar element numbers represents similar element in the accompanying drawing.
Please refer to Fig. 1, the method for fast sharing microblogging of the present invention may further comprise the steps:
S101 presets default gesture arbitrary and the microblogging account number binding; Should default gesture can be arbitrary shape, such as triangle, pentagram, " Z " font etc., but in view of actual conditions, people see that symbol will expect microblogging, and therefore, in the present embodiment, this default gesture is symbol;
S102 inputs arbitrary gesture to arbitrary interface of touch screen terminal; It should be noted that this arbitrary interface is current web interface when user's browsing webpage, and when the user was using certain application (elegant such as U.S. figure), this arbitrary interface was the elegant current operation interface of beautiful figure;
S103 judges whether arbitrary gesture is default gesture, if, then carry out S104, otherwise, S102 then carried out; Particularly, the identification of gesture is finished by gesture recognition system, after arbitrary interface input gesture, gesture recognition system receives first the stroke track of this gesture, and calculate the minimum rectangle of surrounding this gesture, point is dispersed n bar straight line centered by the center of gravity of this rectangle again, extract the coordinate of the joining of each straight line and gesture stroke track, pass through afterwards the weighted value (such as mean value) of the coordinate of these joinings of calculating, and judge the gesture the most close with inputting gesture according to weighted value, the gesture that this is the most close and default gesture are compared at last, if, then carry out S104, otherwise, S102 then carried out;
Whether not S104 judges touch screen the terminal application of preload microblogging or the application of unloaded microblogging, if, then carry out S108, otherwise, S105 then carried out;
S105 judges whether arbitrary interface has sharing contents, if, then carry out S106, otherwise, S107 then carried out; Wherein, sharing contents comprises picture and/or literal; When arbitrary interface was web interface, when browsing photo or having selected certain section literal, this step judged specifically whether photo or the literal on the web interface belongs to the content that the microblogging support is shared, if, then carry out S106, otherwise, S107 then carried out; When arbitrary interface was the operation interface of a certain application, this step judged specifically whether this application supports the open interface of microblogging, if, then carry out S106, otherwise, S107 then carried out;
S106 is added into microblogging with sharing contents and shares frame; Particularly, when arbitrary interface is web interface, when browsing photo or having selected certain section literal, microblogging api can be added into photo or literal microblogging and shares frame to realize fast sharing in this step, if sharing contents not only comprises picture but also comprise literal, this moment, microblogging api can process, and directly share the url address that this web interface is corresponding; When arbitrary interface was the operation interface of a certain application, this step then can be shared this application;
S107 opens microblogging and uses; When program design, can provide a cushion space, after incoming symbol, whether can judge in the cushion space meaningful need to being shared, if any, then call microblogging api and share, otherwise, then can open microblogging and use; It should be noted that the content in the cushion space is to have or not selected content to add according to judgement current interface (interface of incoming symbol), after interface switching or cancellation were chosen, cushion space will empty;
S108 opens page end and uses with the preload microblogging.
If it should be noted that under the holding state gestures such as incoming symbol, and the touch screen terminal the preload microblogging use or do not unload microblogging and use, then can directly open microblogging and use; If touch screen terminal not preload microblogging is used or the application of unloaded microblogging, then can open page end and use with the preload microblogging.
As can be seen from the above description, the method of fast sharing microblogging of the present invention is preset first default gesture arbitrary and the microblogging account number binding, input again a gesture and judge whether this gesture is default gesture, at last according to judged result fast sharing microblogging, need not the troublesome operation through " click is shared to microblogging, and---connecting the microblogging login interface---inputs microblogging account number and password " of existing microblogging sharing method, thereby made things convenient for the user to realize the fast sharing of microblogging content, improved user's experience.
Correspondingly, as shown in Figure 2, the present invention also provides a kind of touch screen terminal of fast sharing microblogging, comprising:
Presetting module 10 is used for default gesture default arbitrary and the microblogging account number binding;
Load module 11 is used for inputting arbitrary gesture to arbitrary interface of touch screen terminal;
The first judge module 12 is used for judging whether gesture is default gesture;
Whether not the second judge module 13 is used for judging touch screen the terminal application of preload microblogging or the application of unloaded microblogging;
Preload module 14 is used for opening page end according to the judged result of the second judge module and uses with the preload microblogging;
Sharing module 15 is used for the judged result fast sharing microblogging according to the first judge module.
Particularly, sharing module 15 specifically comprises:
Sharing contents judging unit 151 is used for when gesture is default gesture, judges whether arbitrary interface has sharing contents; Wherein, the operation interface of arbitrary interface web pages interface or arbitrary application, sharing contents comprise picture and/or literal;
Performance element 152 is added into microblogging for the judged result according to the sharing contents judging unit with sharing contents and shares frame or open the microblogging application.
Particularly, as shown in Figure 3, sharing contents judging unit 151 specifically comprises:
The first subelement 1511 is used for when gesture is web interface for presetting gesture and arbitrary interface, judges whether the content on the web interface belongs to the content that the microblogging support is shared;
The second subelement 1512 is used for when gesture during for operation interface that to preset gesture and described arbitrary interface be arbitrary application, judges whether arbitrary application supports the open interface of microblogging.
The principle of work of the touch screen terminal of fast sharing microblogging of the present invention is as follows:
Presetting module 10 first default one with the default gesture (such as symbol) of microblogging account number binding, load module 11 receives this gesture afterwards, the first judge module 12 judges whether this gesture is default gesture, if, then indicate the second judge module 13 to judge touch screen the terminal whether not application of preload microblogging or the application of unloaded microblogging, when the second judge module 13 when the determination result is NO, then can indicate sharing module 15 to carry out content shares, otherwise, then indicate preload module 14 to open page end and use with the preload microblogging.Judging this gesture when the first judge module 12 is not when presetting gesture, then can not send any indicator signal, continues to wait for the input of next gesture.
As can be seen from the above description, the touch screen terminal of fast sharing microblogging of the present invention is preset default gesture arbitrary and the microblogging account number binding by presetting module 10 first, judge by load module 11 input one gestures and by the first judge module 12 whether this gesture is default gesture again, pass through at last sharing module 15 according to judged result fast sharing microblogging, need not the troublesome operation through " click is shared to microblogging, and---connecting the microblogging login interface---inputs microblogging account number and password " of existing microblogging sharing method, thereby made things convenient for the user to realize the fast sharing of microblogging content, improved user's experience.
Above invention has been described in conjunction with most preferred embodiment, but the present invention is not limited to the embodiment of above announcement, and should contain various modification, equivalent combinations of carrying out according to essence of the present invention.