CN103092941A - Method and device showing content on electronic equipment - Google Patents

Method and device showing content on electronic equipment Download PDF

Info

Publication number
CN103092941A
CN103092941A CN2013100093317A CN201310009331A CN103092941A CN 103092941 A CN103092941 A CN 103092941A CN 2013100093317 A CN2013100093317 A CN 2013100093317A CN 201310009331 A CN201310009331 A CN 201310009331A CN 103092941 A CN103092941 A CN 103092941A
Authority
CN
China
Prior art keywords
content
control
father
character string
converted
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.)
Granted
Application number
CN2013100093317A
Other languages
Chinese (zh)
Other versions
CN103092941B (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310009331.7A priority Critical patent/CN103092941B/en
Publication of CN103092941A publication Critical patent/CN103092941A/en
Priority to PCT/CN2013/091242 priority patent/WO2014108040A1/en
Application granted granted Critical
Publication of CN103092941B publication Critical patent/CN103092941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440236Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by media transcoding, e.g. video is transformed into a slideshow of still pictures, audio is converted into text

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of the network data communication and discloses a method and a device showing contents on electronic equipment, wherein, the method includes the following steps of obtaining character strings of the contents, analyzing the character strings of the contents, transforming the contents into one control or multiple branching controls, creating parent controls based on the one control or multiple branching controls, transforming the parent controls into an image file for showing. The method and the device showing contents on the electronic equipment are capable of transforming the contents including large quantity of words and pictures into image files which can be directly shared, so that the problem of sharing indirectly is radically solved, the intuitive feature of sharing is achieved and the user experience is improved to a large extent. The limits of each sharing platform over the number of words and pictures are broken. The users are capable of directly reading the whole contents by checking the image files. In the way, depending on the external links to check the contents is unnecessary and the security is improved.

Description

The method and apparatus of rendering content on electronic equipment
Technical field
The present invention relates to the network data communication technical field, relate in particular to a kind of on electronic equipment the method and apparatus of rendering content.
Background technology
In the process of using electronic equipment (as computing machine, panel computer, mobile phone etc.) view Internet website, the user often can run into some interested contents, the people around wish is shared with it.So network sharing becomes a kind of uniqueness circulation way rapidly again, be characterized in: the content of sharing is shorter, intuitive is strong.Yet exist some restrictions this sharing, and as comparatively popular " microblogging " platform, it requires word can not surpass 140 words, and only allows to comprise a pictures.
At present, the most frequently used mode of sharing is that the content of sharing is reduced into passage, then by calling specific network sharing interface, it is shared away.The advantage of this mode be implement comparatively simple, yet its shortcoming also apparent-because some content is only shared, the user can't see detailed content intuitively, and the quality of the content of sharing depends on that generally article starts the quality of (perhaps specific character).
Another is shared mode and has utilized " picture is shared " function comparatively common in the network sharing interface, it selects a certain pictures (being generally the first pictures) as " front cover " of the word that is about to share from the interested content of user, then by calling specific network sharing interface, it is shared away.Due to this mode can attach one can the general description content picture, share mode therefore intuitive is better than the first.Yet this intuitive of sharing mode only is confined to " passage " and " a front cover picture ", and is if the user wants to check intuitively detailed content, still comparatively difficult.
" intuitively " mentioned above refers to and can switch in the situations such as webpage not needing, and only just can check detailed content in current browsing environment.As in " microblogging " client, if the user can only click mouse one time, just can check detailed content under the prerequisite of not leaving " microblogging " client, met the characteristic of " intuitively ".That is to say, even be accompanied with the link that can turn to the detailed content page, still do not meet the requirement of " intuitively ", because the user needs the redirect page-out, leave current browsing environment, and the security of link is also unknown, this is for the huge network sharing platform of quantity of information, be undoubtedly a kind of not good experience, need improvement badly.
Summary of the invention
In view of the above problems, the present invention has been proposed, in order to a kind of method and apparatus of rendering content on electronic equipment that overcomes the problems referred to above or address the above problem at least in part is provided.
According to one aspect of the present invention, provide a kind of on electronic equipment the method for rendering content, comprise step: the character string of obtaining content; Resolve the character string of described content, so that described content is converted to one or more child controls; Based on described one or more child controls, create father's control; And described father's control is converted to image file presents being used for.
Alternatively, according to an embodiment of the invention on electronic equipment in the method for rendering content, the character string of described content comprises special marking, described special marking comprises form mark, media marking, the character string of the described content of described parsing, comprise with the step that described content is converted to one or more child controls: according to described special marking, the character string of described content is divided into one or more substrings; And with described one or more substrings, according to its feature separately, be converted to one or more child controls.
Alternatively, according to an embodiment of the invention on electronic equipment in the method for rendering content, comprise according to described special marking, step that the character string of described content is divided into one or more substrings: take described special marking as the boundary, the unformatted text in the character string of described content is divided into a plurality of parts; And with the unformatted text of each part and described special marking respectively as a substring.
Alternatively, according to an embodiment of the invention on electronic equipment in the method for rendering content, step based on described one or more child controls, establishment father control comprises: header, described one or more child controls, footer as head, middle part, the afterbody of father's control, are created father's control respectively.
Alternatively, according to an embodiment of the invention on electronic equipment in the method for rendering content, described form mark is used to specify the form of unformatted text, and described media marking is used to specify media information, and described media comprise image, audio frequency, video.
Alternatively, according to an embodiment of the invention on electronic equipment in the method for rendering content, with described one or more substrings, comprise according to its separately feature, the step that is converted to one or more child controls: the form mark is converted to for the child control in the unformatted text representation formats; And media marking is converted to child control for the presentation medium content.
Alternatively, according to an embodiment of the invention on electronic equipment in the method for rendering content, described header comprises the information about described content sources, creation side, and described footer comprises the information about the page number, copyright.
Alternatively, according to an embodiment of the invention on electronic equipment in the method for rendering content, described father's control is being converted to image file is comprising with the step that is used for presenting: described father's control is being converted to file size presents being used for less than the image file of predefined threshold value.
Alternatively, according to an embodiment of the invention on electronic equipment the method for rendering content also comprise: described image file is uploaded to Website server; And utilize the network address that described server returns to share described content on described website.
According to another aspect of the present invention, also provide a kind of on electronic equipment the device of rendering content, comprising: the content obtaining device is suitable for obtaining the character string of content; The character string parsing device is suitable for resolving the character string of described content, so that described content is converted to one or more child controls; Father's control creator is suitable for based on described one or more child controls, creates father's control; And father's control converter, be suitable for that described father's control is converted to image file and present being used for.
Alternatively, according to an embodiment of the invention on electronic equipment in the device of rendering content, the character string of described content comprises special marking, described special marking comprises form mark, media marking, described character string parsing device is according to described special marking, and the character string of described content is divided into one or more substrings, and with described one or more substrings, according to its feature separately, be converted to one or more child controls.
Alternatively, according to an embodiment of the invention on electronic equipment in the device of rendering content, described character string parsing device is take described special marking as the boundary, unformatted text in the character string of described content is divided into a plurality of parts, and with the unformatted text of each part and described special marking respectively as a substring.
Alternatively, according to an embodiment of the invention on electronic equipment in the device of rendering content, described father's control creator as head, middle part, the afterbody of father's control, creates father's control respectively with header, described one or more child controls, footer.
Alternatively, according to an embodiment of the invention on electronic equipment in the device of rendering content, described form mark is used to specify the form of unformatted text, and described media marking is used to specify media information, and described media comprise image, audio frequency, video.
Alternatively, according to an embodiment of the invention on electronic equipment in the device of rendering content, described character string parsing device is converted to the form mark for the child control in the unformatted text representation formats, and media marking is converted to child control for the presentation medium content.
Alternatively, according to an embodiment of the invention on electronic equipment in the device of rendering content, described header comprises the information about described content sources, creation side, and described footer comprises the information about the page number, copyright.
Alternatively, according to an embodiment of the invention on electronic equipment in the device of rendering content, described father's control converter is converted to file size with described father's control and presents being used for less than the image file of predefined threshold value.
Alternatively, the device of rendering content also comprises network interface on electronic equipment according to an embodiment of the invention, is suitable for described image file is uploaded to Website server, and utilizes the network address that described server returns to share described content on described website.
The invention provides above-mentioned on electronic equipment the method and apparatus of rendering content.According to embodiments of the invention, can obtain and resolve the character string of content, being converted to one or more child controls, and create father's control based on this, father's control is converted to image file presents being used for.Thus, the content that comprises a large amount of words and picture can be converted to the image file that can directly share, share not problem intuitively thereby fundamentally solved, realized the intuitive shared, improved largely user's experience, and broken through the restriction of each sharing platform for number of words and picture number, the user can be by checking this image file, the full content of directly reading.Like this, can be no longer dependent on outer chains and fetch viewing content, improve security.In addition, can also add watermark, advertising slogan texts in the image file of sharing, make and share more intuitively, strengthen user's experience.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 is the process flow diagram of the method for rendering content on electronic equipment according to an embodiment of the invention;
Fig. 2 is the schematic diagram of the content that presents according to an embodiment of the invention; And
Fig. 3 is the block diagram of the device of rendering content on electronic equipment according to an embodiment of the invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
Principle of the present invention is applicable to any electronic equipment that comprises display unit, including, but not limited to: based on the computing machine of the desktop operating systems such as Windows, Linux, Mac OS, Unix; Based on the mobile phone of the Mobile operating systems such as iOS, Android, Windows Phone, Symbian, panel computer, video player, electronic reader, digital album (digital photo frame) etc.Hereinafter, will take based on the electronic equipment of Android system as example, principle of the present invention is exemplarily described.Yet just in order to describe the present invention with concrete example, to help reader understanding's principle of the present invention, scope of the present invention is not limited to this for this, but go for anyly comprising display unit, based on the electronic equipment of any operating system.
Fig. 1 schematically illustrates the process flow diagram of the method 100 of rendering content on electronic equipment according to an embodiment of the invention.As shown in Figure 1, method 100 is suitable for step S101, wherein, obtains the character string of content.For example, after the user wishes sharing contents and triggers " sharing " event, just can obtain the character string of this content.According to embodiments of the invention, the form of expression of the character of this content of string representation of described content, it not necessarily is equal to this content.For example, if certain content comprises a plurality of pictures, need the position of insert pictures in the everywhere, all can include special marking in the character string of content, such as "<img src=xxx.jpg〉" etc.Like this, when the character string of content is resolved, such special marking can be converted to the control that is different from word, such as picture control etc., itself can not be displayed on the character string of special marking in the content that presents.
After step S101, execution in step S103 wherein, resolves the character string of described content, so that described content is converted to one or more child controls.According to embodiments of the invention, the character string of described content comprises special marking, described special marking comprises form mark, media marking, and wherein said form mark is used to specify the form of unformatted text, for example text font overstriking, tilts, underlines, enters a new line etc.; Described media marking is used to specify media information, and described media can comprise image, audio frequency, video etc.
According to embodiments of the invention, step S103 can comprise substep S103a and substep S103b.Wherein, in substep S103a, can be according to described special marking, the character string of described content is divided into one or more substrings.Alternatively, can the unformatted text in the character string of described content be divided into a plurality of parts take described special marking as the boundary, and with the unformatted text of each part and described special marking respectively as a substring.
For example, certain content may for: " something has occured in someone, and the online friend has recorded this curtain<img src=xxx.jpg〉n it is reported, this people ... ".In foregoing, comprise two special markings: "<img src=xxx.jpg〉" and " n ", they are respectively media marking and form mark, represent respectively insert pictures " xxx.jpg " and line feed.Like this, take these two special markings as the boundary, just the unformatted text in character string can be divided into two parts, add two special markings, have four parts altogether, respectively as a substring, totally four substrings, i.e.: (1) " something has occured for someone, and the online friend has recorded this curtain ", (2) "<img src=xxx.jpg〉", (3) " n ", (4) " it is reported, this people ... ".
According to embodiments of the invention, after substep S103a, carry out substep S103b, wherein, with described one or more substrings, according to its feature separately, be converted to one or more child controls.Alternatively, the form mark can be converted to for the child control in the unformatted text representation formats, and media marking is converted to child control for the presentation medium content.Still take top content as example, for above-mentioned four substrings, substring (1) and (4) are unformatted text, substring (2) is media marking, substring (3) is the form mark, take the Android system as example, according to top four substrings feature separately, they can be converted to respectively following child control: TextView, ImageView, TextView(null), TextView.
After step S103, execution in step S105 wherein, based on described one or more child controls, creates father's control.Take the Android system as example, can adopt LinearLayout, namely with from top to bottom each child control arranged sequentially, form by one " container ", then, can call the addView method, each child control is delivered in father's control as parameter respectively.Afterwards, the father's control that creates can be put into for the XML file of describing the interface.
In step S105, alternatively, header, described one or more child controls, footer as head, middle part, the afterbody of father's control, can be created father's control respectively.Above-mentioned header and footer is optional part, but not indispensable part.Described header can comprise the information about described content sources, creation side, and described footer can comprise the information about the page number, copyright, and the header and footer implication in they and general document is similar.
According to embodiments of the invention, control mentioned above can be any visualization element that can be presented in the content that presents, its including, but not limited to: the existing control of the operating system of electronic equipment itself, carry out according to of the present invention on electronic equipment the control of the client self of the method 100 of rendering content and the parts in above-mentioned father's control.
After step S105, execution in step S107 wherein, is converted to image file with described father's control and presents being used for.Still take the Android system as example, can be converted into by the dispatchDraw of father's control a Canvas who can be used to be converted to picture, convert thereof into again Bitmap, and Bitmap can be directly generates an image file by the compress method, present being used for.Optional, due to the restriction of electronic equipment and the network bandwidth, speed, can stipulate that the file size of this image file is less than predefined threshold value, for example 100KB.At this moment, can select quality than 16 jpeg files of inferior quality lower (as compressibility 30% left and right).
Alternatively, after step S107, according to of the present invention on electronic equipment the method 100 of rendering content can also comprise step S109 and step S111.In step S109, described image file can be uploaded to one or more Website servers.For example, this " uploading pictures " Interface realization that is used for sharing contents that can provide by Website page.Subsequently, Website server can return for the network address of preserving the image file upload, URL(Uniform Resource Locator for example, URL(uniform resource locator)).Then, in step S111, just can utilize the network address that described server returns to share described content on described website.For example, this network address URL is put into " picture URL " part of " network sharing " interface of website, then can enclose some introductory words, namely can realize sharing for long content.In addition, also this image file can be saved in the picture library or collection of this locality or server end, to browse when needed.
Fig. 2 schematically illustrates the schematic diagram of the content that presents according to an embodiment of the invention.As shown in Figure 2, in the content that presents (that is, image file), comprise multistage word and several pictures and header (footer does not show).This image file can directly upload to the network sharing platform, such as " microblogging " etc.
The invention discloses a kind of on electronic equipment the method for rendering content.According to embodiments of the invention, can obtain and resolve the character string of content, being converted to one or more child controls, and create father's control based on this, father's control is converted to image file presents being used for.Thus, the content that comprises a large amount of words and picture can be converted to the image file that can directly share, share not problem intuitively thereby fundamentally solved, realized the intuitive shared, improved largely user's experience, and broken through the restriction of each sharing platform for number of words and picture number, the user can be by checking this image file, the full content of directly reading.Like this, can be no longer dependent on outer chains and fetch viewing content, improve security.In addition, can also add watermark, advertising slogan texts in the image file of sharing, make and share more intuitively, strengthen user's experience.
Corresponding with said method 100, the present invention also provide a kind of on electronic equipment the device 200 of rendering content.Fig. 3 schematically illustrates the block diagram of the device 200 of rendering content on electronic equipment according to an embodiment of the invention.
As shown in Figure 3, device 200 mainly comprises content obtaining device 201, character string parsing device 203, father's control creator 205, father's control converter 207.
According to the present invention, content obtaining device 201 is suitable for obtaining the character string of content, character string parsing device 203 is suitable for resolving the character string of described content, so that described content is converted to one or more child controls, father's control creator 205 is suitable for based on described one or more child controls, create father's control, father's control converter 207 is suitable for that described father's control is converted to image file and presents being used for.Foregoing getter 201, character string parsing device 203, father's control creator 205, father's control converter 207 can be respectively used to carry out step S101, S103, S105 and the S107 in the method 100 of above-mentioned scanning computer virus.
According to embodiments of the invention, at first, content obtaining device 201 obtains the character string of content.For example, after the user wished sharing contents and triggers " sharing " event, content obtaining device 201 just can obtain the character string of this content.Subsequently, character string parsing device 203 can be resolved the character string of described content, so that described content is converted to one or more child controls.According to embodiments of the invention, the character string of described content comprises special marking, described special marking comprises form mark, media marking, and wherein said form mark is used to specify the form of unformatted text, for example text font overstriking, tilts, underlines, enters a new line etc.; Described media marking is used to specify media information, and described media can comprise image, audio frequency, video etc.
According to embodiments of the invention, character string parsing device 203 can be according to described special marking, and the character string of described content is divided into one or more substrings.Alternatively, character string parsing device 203 can be divided into a plurality of parts with the unformatted text in the character string of described content take described special marking as the boundary, and with the unformatted text of each part and described special marking respectively as a substring.
For example, certain content may for: " something has occured in someone, and the online friend has recorded this curtain<img src=xxx.jpg〉n it is reported, this people ... ".In foregoing, comprise two special markings: "<img src=xxx.jpg〉" and " n ", they are respectively media marking and form mark, represent respectively insert pictures " xxx.jpg " and line feed.Like this, take these two special markings as the boundary, just the unformatted text in character string can be divided into two parts, add two special markings, have four parts altogether, respectively as a substring, totally four substrings, i.e.: (1) " something has occured for someone, and the online friend has recorded this curtain ", (2) "<img src=xxx.jpg〉", (3) " n ", (4) " it is reported, this people ... ".
Subsequently, character string parsing device 203 can with described one or more substrings, according to its feature separately, be converted to one or more child controls.Alternatively, character string parsing device 203 can be converted to the form mark for the child control in the unformatted text representation formats, and media marking is converted to child control for the presentation medium content.Still take top content as example, for above-mentioned four substrings, substring (1) and (4) are unformatted text, substring (2) is media marking, substring (3) is the form mark, take the Android system as example, according to top four substrings feature separately, character string parsing device 203 can be converted to them respectively following child control: TextView, ImageView, TextView(null), TextView.
Afterwards, father's control creator 205 can based on described one or more child controls, create father's control.Take the Android system as example, father's control creator 205 can adopt LinearLayout, namely with from top to bottom each child control arranged sequentially, form by one " container ", then, father's control creator 205 can call the addView method, and each child control is delivered in father's control as parameter respectively.Afterwards, father's control creator 205 can be put into the father's control that creates for the XML file of describing the interface.
Alternatively, father's control creator 205 can as head, middle part, the afterbody of father's control, create father's control respectively with header, described one or more child controls, footer.Above-mentioned header and footer is optional part, but not indispensable part.Described header can comprise the information about described content sources, creation side, and described footer can comprise the information about the page number, copyright, and the header and footer implication in they and general document is similar.
Subsequently, father's control converter 207 can be converted to described father's control image file and presents being used for.Still take the Android system as example, father's control converter 207 can be converted into by the dispatchDraw of father's control a Canvas who can be used to be converted to picture, convert thereof into again Bitmap, and Bitmap can be directly generates an image file by the compress method, presents being used for.Optional, due to the restriction of electronic equipment and the network bandwidth, speed, can stipulate that the file size of this image file is less than predefined threshold value, for example 100KB.At this moment, can select quality than 16 jpeg files of inferior quality lower (as compressibility 30% left and right).
Alternatively, as shown in Figure 3, according to of the present invention on electronic equipment the device 200 of rendering content can also comprise network interface 209, its described image file can be uploaded to one or more Website server 300-1 ..., 300-n.For example, this " uploading pictures " Interface realization that is used for sharing contents that can provide by Website page.Subsequently, one or more Website server 300-1 ..., 300-n can return for the network address of preserving the image file upload, for example URL.Then, network interface 209 just can utilize the network address that server returns to share described content on described website.For example, network interface 209 is put into this network address URL " picture URL " part of " network sharing " interface of website, then can enclose some introductory words, namely can realize sharing for long content.In addition, network interface 209 also can be saved in this image file in the picture library or collection of this locality or server end, to browse when needed.
Because above-mentioned each apparatus embodiments is corresponding with aforementioned approaches method embodiment, therefore no longer each apparatus embodiments is described in detail.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can with based on using together with this teaching.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the instructions that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be in the situation that do not have these details to put into practice.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more devices different from this embodiment the module in the device in embodiment.Can become the some module combinations in embodiment a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or module are mutually repelling, and can adopt any combination to disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed), disclosed each feature can be by providing identical, being equal to or similar purpose alternative features replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment mean be in scope of the present invention within and form different embodiment.For example, in claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
Each device embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving on one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of modules in the device of the embodiment of the present invention.The present invention can also be embodied as be used to part or all the device program (for example, computer program and computer program) of carrying out method as described herein.The program of the present invention that realizes like this can be stored on computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides on carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not break away from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in claim.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.

Claims (18)

1. the method for a rendering content on electronic equipment (100) comprises step:
Obtain the character string (S101) of content;
Resolve the character string of described content, described content is converted to one or more child controls (S103);
Based on described one or more child controls, create father's control (S105); And
Described father's control is converted to image file to be used for presenting (S107).
2. the method for claim 1, the character string of wherein said content comprises special marking, described special marking comprises form mark, media marking,
The character string of the described content of described parsing, comprising with the step (S103) that described content is converted to one or more child controls:
According to described special marking, the character string of described content is divided into one or more substrings (S103a); And
With described one or more substrings, according to its feature separately, be converted to one or more child controls (S103b).
3. method as claimed in claim 2 wherein comprising according to described special marking, step (S103a) that the character string of described content is divided into one or more substrings:
Take described special marking as the boundary, the unformatted text in the character string of described content is divided into a plurality of parts; And
With the unformatted text of each part and described special marking respectively as a substring.
4. method as described in any one in claims 1 to 3, wherein the step (S105) based on described one or more child controls, establishment father control comprising:
Header, described one or more child controls, footer as head, middle part, the afterbody of father's control, are created father's control respectively.
5. method as claimed in claim 2, wherein said form mark is used to specify the form of unformatted text, and described media marking is used to specify media information, and described media comprise image, audio frequency, video.
6. method as claimed in claim 5, wherein with described one or more substrings, comprising according to its separately feature, the step (S103b) that is converted to one or more child controls:
The form mark is converted to for the child control in the unformatted text representation formats; And
Media marking is converted to child control for the presentation medium content.
7. method as claimed in claim 4, wherein said header comprises the information about described content sources, creation side, described footer comprises the information about the page number, copyright.
8. method as described in any one in claims 1 to 3 wherein is converted to described father's control image file and comprises with the step (S107) that is used for presenting: described father's control is converted to file size presents being used for less than the image file of predefined threshold value.
9. method as described in any one in claims 1 to 3 also comprises:
Described image file is uploaded to Website server (S109); And
Utilize the network address that described server returns to share described content (S111) on described website.
10. the device of a rendering content on electronic equipment (200) comprising:
Content obtaining device (201) is suitable for obtaining the character string of content;
Character string parsing device (203) is suitable for resolving the character string of described content, so that described content is converted to one or more child controls;
Father's control creator (205) is suitable for based on described one or more child controls, creates father's control; And
Father's control converter (207) is suitable for that described father's control is converted to image file and presents being used for.
11. device as claimed in claim 10, the character string of wherein said content comprises special marking, and described special marking comprises form mark, media marking,
Described character string parsing device (203) is according to described special marking, the character string of described content is divided into one or more substrings, and with described one or more substrings, according to its feature separately, is converted to one or more child controls.
12. device as claimed in claim 11, wherein said character string parsing device (203) is take described special marking as the boundary, unformatted text in the character string of described content is divided into a plurality of parts, and with the unformatted text of each part and described special marking respectively as a substring.
13. device as described in any one in claim 10 to 12, wherein said father's control creator (205) as head, middle part, the afterbody of father's control, creates father's control respectively with header, described one or more child controls, footer.
14. device as claimed in claim 11, wherein said form mark is used to specify the form of unformatted text, and described media marking is used to specify media information, and described media comprise image, audio frequency, video.
15. device as claimed in claim 14, wherein said character string parsing device (203) is converted to the form mark for the child control in the unformatted text representation formats, and media marking is converted to child control for the presentation medium content.
16. device as claimed in claim 13, wherein said header comprises the information about described content sources, creation side, and described footer comprises the information about the page number, copyright.
17. device as described in any one in claim 10 to 12, wherein said father's control converter (207) are converted to file size with described father's control and present being used for less than the image file of predefined threshold value.
18. device as described in any one in claim 10 to 12 also comprises network interface (209), is suitable for described image file is uploaded to Website server, and utilizes the network address that described server returns to share described content on described website.
CN201310009331.7A 2013-01-10 2013-01-10 The method and apparatus presenting content on an electronic device Active CN103092941B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310009331.7A CN103092941B (en) 2013-01-10 2013-01-10 The method and apparatus presenting content on an electronic device
PCT/CN2013/091242 WO2014108040A1 (en) 2013-01-10 2013-12-31 Method and apparatus for presenting content on electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310009331.7A CN103092941B (en) 2013-01-10 2013-01-10 The method and apparatus presenting content on an electronic device

Publications (2)

Publication Number Publication Date
CN103092941A true CN103092941A (en) 2013-05-08
CN103092941B CN103092941B (en) 2016-06-29

Family

ID=48205506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310009331.7A Active CN103092941B (en) 2013-01-10 2013-01-10 The method and apparatus presenting content on an electronic device

Country Status (2)

Country Link
CN (1) CN103092941B (en)
WO (1) WO2014108040A1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559288A (en) * 2013-11-08 2014-02-05 惠州Tcl移动通信有限公司 Method and mobile terminal for intelligent collecting and sharing
CN103714291A (en) * 2013-12-30 2014-04-09 联想(北京)有限公司 Information processing method and electronic equipment
WO2014108040A1 (en) * 2013-01-10 2014-07-17 北京奇虎科技有限公司 Method and apparatus for presenting content on electronic device
CN104881146A (en) * 2015-04-28 2015-09-02 北京美秒科技有限公司 Picture input method
CN104991911A (en) * 2015-06-19 2015-10-21 广州视睿电子科技有限公司 File sharing method and system
CN105120109A (en) * 2015-09-11 2015-12-02 广州视睿电子科技有限公司 File displaying method and system
WO2015192617A1 (en) * 2014-06-17 2015-12-23 中兴通讯股份有限公司 Conference sharing method and device for document
CN105988665A (en) * 2016-03-17 2016-10-05 广州阿里巴巴文学信息技术有限公司 Information copying system, information copying method and electronic device
CN107018443A (en) * 2017-02-16 2017-08-04 乐蜜科技有限公司 Video recording method, device and electronic equipment
CN107517323A (en) * 2017-09-08 2017-12-26 咪咕数字传媒有限公司 A kind of information sharing method, device and storage medium
CN109151543A (en) * 2018-07-27 2019-01-04 北京优酷科技有限公司 Playing frame, display methods, device and the storage medium of media content
CN110007915A (en) * 2018-01-04 2019-07-12 武汉斗鱼网络科技有限公司 A kind of linear placement's method and device of adaptive child control

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030110449A1 (en) * 2001-12-11 2003-06-12 Wolfe Donald P. Method and system of editing web site
CN102750148A (en) * 2012-06-08 2012-10-24 Tcl集团股份有限公司 Media information display method and device
CN102789481A (en) * 2012-06-27 2012-11-21 北京神州泰岳软件股份有限公司 Method for analyzing specific type of contents of mobile phone IM (Instant Messaging) client

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023998B (en) * 2009-09-21 2015-05-20 创新科技有限公司 Method and device for processing webpage so as to display on handheld equipment
CN103092941B (en) * 2013-01-10 2016-06-29 北京奇虎科技有限公司 The method and apparatus presenting content on an electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030110449A1 (en) * 2001-12-11 2003-06-12 Wolfe Donald P. Method and system of editing web site
CN102750148A (en) * 2012-06-08 2012-10-24 Tcl集团股份有限公司 Media information display method and device
CN102789481A (en) * 2012-06-27 2012-11-21 北京神州泰岳软件股份有限公司 Method for analyzing specific type of contents of mobile phone IM (Instant Messaging) client

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014108040A1 (en) * 2013-01-10 2014-07-17 北京奇虎科技有限公司 Method and apparatus for presenting content on electronic device
US10169459B2 (en) 2013-11-08 2019-01-01 Huizhou Tcl Mobile Communication Co., Ltd. Intelligent collecting and sharing method and mobile terminal
WO2015066995A1 (en) * 2013-11-08 2015-05-14 惠州Tcl移动通信有限公司 Intelligent collection and sharing method and mobile terminal
CN103559288A (en) * 2013-11-08 2014-02-05 惠州Tcl移动通信有限公司 Method and mobile terminal for intelligent collecting and sharing
CN103714291A (en) * 2013-12-30 2014-04-09 联想(北京)有限公司 Information processing method and electronic equipment
WO2015192617A1 (en) * 2014-06-17 2015-12-23 中兴通讯股份有限公司 Conference sharing method and device for document
CN104881146A (en) * 2015-04-28 2015-09-02 北京美秒科技有限公司 Picture input method
CN104991911A (en) * 2015-06-19 2015-10-21 广州视睿电子科技有限公司 File sharing method and system
WO2016202236A1 (en) * 2015-06-19 2016-12-22 广州视睿电子科技有限公司 File sharing method and system
CN105120109A (en) * 2015-09-11 2015-12-02 广州视睿电子科技有限公司 File displaying method and system
CN105988665A (en) * 2016-03-17 2016-10-05 广州阿里巴巴文学信息技术有限公司 Information copying system, information copying method and electronic device
CN105988665B (en) * 2016-03-17 2017-06-16 广州阿里巴巴文学信息技术有限公司 Information dubbing system, information duplicating method and electronic equipment
CN107018443A (en) * 2017-02-16 2017-08-04 乐蜜科技有限公司 Video recording method, device and electronic equipment
CN107517323A (en) * 2017-09-08 2017-12-26 咪咕数字传媒有限公司 A kind of information sharing method, device and storage medium
CN107517323B (en) * 2017-09-08 2019-12-24 咪咕数字传媒有限公司 Information sharing method and device and storage medium
CN110007915A (en) * 2018-01-04 2019-07-12 武汉斗鱼网络科技有限公司 A kind of linear placement's method and device of adaptive child control
CN109151543A (en) * 2018-07-27 2019-01-04 北京优酷科技有限公司 Playing frame, display methods, device and the storage medium of media content

Also Published As

Publication number Publication date
CN103092941B (en) 2016-06-29
WO2014108040A1 (en) 2014-07-17

Similar Documents

Publication Publication Date Title
CN103092941A (en) Method and device showing content on electronic equipment
US10542123B2 (en) System and method for generating and monitoring feedback of a published webpage as implemented on a remote client
CN106371844B (en) A kind of method and system with primary user interface components displayed web page
US9977768B2 (en) System for clipping webpages by traversing a dom, and highlighting a minimum number of words
JP6748071B2 (en) Web content generation method and system
US8595635B2 (en) System, method and apparatus for selecting content from web sources and posting content to web logs
US10909304B2 (en) Methods and systems for WYSIWYG web content generation
US20210149842A1 (en) System and method for display of document comparisons on a remote device
US20130132422A1 (en) System and method for creating and controlling an application operating on a plurality of computer platform types
US9053199B2 (en) Uniquely identifying script files by appending a unique identifier to a URL
CN104765809A (en) Preview method and device of search pictures of mobile terminal
CN103034517A (en) Method and device for loading browser control tool
CN102436455A (en) Method and system for browsing characters as well as client browser
CN103761241A (en) Method for uploading picture data and browser
CN113382083A (en) Webpage screenshot method and device
US11074646B1 (en) Dynamically selecting an image for display
US10671801B2 (en) Markup code generator
CN110968314A (en) Page generation method and device
KR20130099700A (en) Method and apparatus for comprising webpage
CN117093386B (en) Page screenshot method, device, computer equipment and storage medium
CN113656737A (en) Webpage content display method and device, electronic equipment and storage medium
CN105488218A (en) Method and device for loading waterfall flows based on search
CN110647327B (en) Method and device for dynamic control of user interface based on card
CN105630319A (en) Two-dimensional code generation method and apparatus as well as secure decoding method and apparatus for two-dimensional code
WO2016061257A1 (en) Identifying, marking up and reconstituting elements for content sharing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220727

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.