CN103092941B - The method and apparatus presenting content on an electronic device - Google Patents

The method and apparatus presenting content on an electronic device Download PDF

Info

Publication number
CN103092941B
CN103092941B CN201310009331.7A CN201310009331A CN103092941B CN 103092941 B CN103092941 B CN 103092941B CN 201310009331 A CN201310009331 A CN 201310009331A CN 103092941 B CN103092941 B CN 103092941B
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.)
Active
Application number
CN201310009331.7A
Other languages
Chinese (zh)
Other versions
CN103092941A (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

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 present invention relates to network data communication technical field, it discloses a kind of method and apparatus presenting content on an electronic device.Wherein, described method includes step: obtain the character string of content;Resolve the character string of described content, with by described Content Transformation for one or more child controls;Based on the one or more child control, create father's control;And described father's control is converted to image file for presenting.According to embodiments of the invention, can be the image file that can directly share by comprising a large amount of word with the Content Transformation of picture, non-intuitive problem is shared thus fundamentally solving, achieve the intuitive shared, improve Consumer's Experience largely, and breaching the restriction for number of words and picture number of each sharing platform, user can pass through to check this image file, full content of directly reading.Fetch check content as such, it is possible to be no longer dependent on outer chains, improve safety.

Description

The method and apparatus presenting content on an electronic device
Technical field
The present invention relates to network data communication technical field, particularly relate to a kind of method and apparatus presenting content on an electronic device.
Background technology
Using electronic equipment (such as computer, panel computer, mobile phone etc.) to browse in the process of internet site, user is frequently encountered the content that some are interested, is intended to be shared with the people of surrounding.Then, network sharing becomes a kind of uniqueness rapid circulation way again, is characterized in: the content shared is shorter, intuitive is strong.But, there are some restrictions in this sharing, such as comparatively popular " microblogging " platform, it requires that word not can exceed that 140 words, and only allows to include a pictures.
At present, the most frequently used mode of sharing is that the content shared is reduced into passage, then passes through and calls specific network sharing interface and shared away.The advantage of this mode is significantly simpler to implement, but its shortcoming is also evident from owing to only some content is shared, user cannot intuitively arrive detailed content, the quality of the content shared, and is generally dependent on the quality of article beginning (or specific character).
Another is shared mode and make use of " picture is shared " function relatively conventional in network sharing interface, it selects a certain pictures (being generally the first pictures) as being about to " front cover " of word shared from user's content interested, then passes through and calls specific network sharing interface and shared away.Due to this mode can attach one can the picture of general description content, therefore intuitive is better than the first shares mode.But, this intuitive sharing mode is limited only to " passage " and " a front cover picture ", and user is if it is intended to check detailed content intuitively, then still comparatively difficult.
" intuitively " mentioned above, refer to can switching when webpage, only in current browsing environment just can be checked detailed content.As in " microblogging " client, if user can merely click on a mouse, it becomes possible to check detailed content under the premise without departing from " microblogging " client, then met the characteristic of " intuitively ".That is, even if being accompanied with the link that can turn to the detailed content page, still do not meet the requirement of " intuitively ", because user needs to redirect page-out, leaving current browsing environment, and the safety linked is also unknown, this is for the huge network sharing platform of quantity of information, a kind of not good experience beyond doubt, needs improvement badly.
Summary of the invention
In view of the above problems, it is proposed that the present invention, in order to a kind of method and apparatus presenting content on an electronic device overcoming the problems referred to above or solving the problems referred to above at least in part is provided.
According to one aspect of the present invention, it is provided that a kind of method presenting content on an electronic device, including step: obtain the character string of content;Resolve the character string of described content, with by described Content Transformation for one or more child controls;Based on the one or more child control, create father's control;And described father's control is converted to image file for presenting.
Alternatively, in the method presenting content according to an embodiment of the invention on an electronic device, the character string of described content includes special marking, described special marking includes format flags, media marking, the character string of the described content of described parsing, so that described Content Transformation is included for the step of one or more child controls: according to described special marking, the character string of described content is divided into one or more substring;And by the one or more substring, according to its respective feature, be converted to one or more child control.
Alternatively, in the method presenting content according to an embodiment of the invention on an electronic device, character string according to described special marking, by described content is divided into the step of one or more substring to include: with described special marking for boundary, and the unformatted text in the character string of described content is divided into multiple part;And using the unformatted text of each part and described special marking as a substring.
Alternatively, in the method presenting content according to an embodiment of the invention on an electronic device, step based on the one or more child control, establishment father's control includes: using header, the one or more child control, footer as the head of father's control, middle part, afterbody, create father's control.
Alternatively, in the method presenting content according to an embodiment of the invention on an electronic device, described format flags is for specifying the form of unformatted text, and described media marking is used for specifying media information, and described media include image, audio frequency, video.
Alternatively, in the method presenting content according to an embodiment of the invention on an electronic device, by the one or more substring, include according to its respective feature, the step that is converted to one or more child control: format flags is converted to the child control for representation formats in unformatted text;And media marking is converted to the child control for showing media content.
Alternatively, in the method presenting content according to an embodiment of the invention on an electronic device, described header includes the information about described content sources, creation side, and described footer includes the information about the page number, copyright.
Alternatively, in the method presenting content according to an embodiment of the invention on an electronic device, described father's control is converted to image file and includes for the step presented: described father's control is converted to the file size image file less than predefined threshold value for presenting.
Alternatively, the method presenting content according to an embodiment of the invention on an electronic device also includes: described image file is uploaded to Website server;And utilize the network address that described server returns to share described content on the web.
According to another aspect of the present invention, additionally provide a kind of device presenting content on an electronic device, including: content obtaining device, be suitable to obtain the character string of content;Character string parsing device, is suitable to resolve the character string of described content, with by described Content Transformation for one or more child controls;Father's control creator, is suitable to, based on the one or more child control, create father's control;And father's control transducer, be suitable to described father's control is converted to image file for presenting.
Alternatively, in the device presenting content according to an embodiment of the invention on an electronic device, the character string of described content includes special marking, described special marking includes format flags, media marking, the character string of described content, according to described special marking, is divided into one or more substring by described character string parsing device, and by the one or more substring, according to its respective feature, be converted to one or more child control.
Alternatively, in the device presenting content according to an embodiment of the invention on an electronic device, described character string parsing device is with described special marking for boundary, unformatted text in the character string of described content is divided into multiple part, and using the unformatted text of each part and described special marking as a substring.
Alternatively, in the device presenting content according to an embodiment of the invention on an electronic device, described father's control creator, using header, the one or more child control, footer as the head of father's control, middle part, afterbody, creates father's control.
Alternatively, in the device presenting content according to an embodiment of the invention on an electronic device, described format flags is for specifying the form of unformatted text, and described media marking is used for specifying media information, and described media include image, audio frequency, video.
Alternatively, in the device presenting content according to an embodiment of the invention on an electronic device, format flags is converted to the child control for representation formats in unformatted text by described character string parsing device, and media marking is converted to the child control for showing media content.
Alternatively, in the device presenting content according to an embodiment of the invention on an electronic device, described header includes the information about described content sources, creation side, and described footer includes the information about the page number, copyright.
Alternatively, in the device presenting content according to an embodiment of the invention on an electronic device, described father's control is converted to the file size image file less than predefined threshold value for presenting by described father's control transducer.
Alternatively, the device presenting content according to an embodiment of the invention on an electronic device also includes network interface, is suitable to upload to described image file Website server, and utilizes the network address that described server returns to share described content on the web.
The invention provides the above-mentioned method and apparatus presenting content on an electronic device.According to embodiments of the invention, it is possible to obtain and resolve the character string of content, to be converted to one or more child control, and create father's control based on this, father's control is converted to image file for presenting.Thus, can be the image file that can directly share by comprising a large amount of word with the Content Transformation of picture, non-intuitive problem is shared thus fundamentally solving, achieve the intuitive shared, improve Consumer's Experience largely, and breaching the restriction for number of words and picture number of each sharing platform, user can pass through to check this image file, full content of directly reading.Fetch check content as such, it is possible to be no longer dependent on outer chains, improve safety.Furthermore it is also possible to add the effect such as watermark, advertising slogan in the image file shared so that share more directly perceived, enhance Consumer's Experience.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, and can be practiced according to the content of description, and in order to 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.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit those of ordinary skill in the art be will be clear from understanding.Accompanying drawing is only for illustrating the purpose of preferred implementation, and is not considered as limitation of the present invention.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 is the flow chart of the method presenting content according to an embodiment of the invention on an electronic device;
Fig. 2 is the schematic diagram of according to an embodiment of the invention presented content;And
Fig. 3 is the block diagram of the device presenting content according to an embodiment of the invention on an electronic device.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing showing the exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and should do not limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Principles of the invention is applicable to any electronic equipment comprising display unit, including, but not limited to: based on the computer of the desktop operating systems such as Windows, Linux, MacOS, Unix;Based on the mobile phone of the Mobile operating systems such as iOS, Android, WindowsPhone, Symbian, panel computer, video player, electronic reader, DPF etc..Hereinafter, by for the electronic equipment based on android system, principles of the invention is illustratively described.But, this is intended merely to and describes the present invention with concrete example, and to help reader understanding's principles of the invention, the scope of the present invention is not limited to this, but goes for any comprising display unit, electronic equipment based on any operating system.
Fig. 1 schematically illustrates the flow chart of the method 100 presenting content according to an embodiment of the invention on an electronic device.As it is shown in figure 1, method 100 is suitable to step S101, wherein, the character string of content is obtained.Such as, after user wishes sharing contents and triggers " sharing " event, it is possible to 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 is not necessarily equal to this content.Such as, if certain content comprises multiple picture, then need the position of insert pictures in everywhere, the character string of content all can include special marking, for instance "<imgsrc=xxx.jpg>" etc..So, when the character string of content is resolved, such special marking being converted to the control being different from word, for instance picture control etc., the character string of special marking itself then will not be displayed in the content presented.
After step slol, perform step S103, wherein, resolve the character string of described content, with by described Content Transformation for one or more child controls.According to embodiments of the invention, the character string of described content includes special marking, described special marking includes format flags, media marking, and wherein said format flags is for specifying the form of unformatted text, for instance text font overstriking, tilt, underline, line feed etc.;Described media marking is used for specifying media information, and described media can include image, audio frequency, video etc..
According to embodiments of the invention, step S103 can include sub-step S103a and sub-step S103b.Wherein, in sub-step S103a, it is possible to according to described special marking, the character string of described content is divided into one or more substring.It is alternatively possible to described special marking for boundary, the unformatted text in the character string of described content is divided into multiple part, and using the unformatted text of each part and described special marking as a substring.
Such as, certain content is likely: " someone there occurs that something, online friend have recorded this curtain<imgsrc=xxx.jpg>n it is reported, this people ... ".In foregoing, comprise two special markings: "<imgsrc=xxx.jpg>" and " n ", they are media marking and format flags respectively, represents insert pictures " xxx.jpg " and line feed respectively.So, with the two special marking for boundary, unformatted text in character string just can be divided into two parts, plus two special markings, four parts altogether, respectively as a substring, totally four substrings, that is: (1) " someone there occurs that something, online friend have recorded this curtain ", (2) "<imgsrc=xxx.jpg>", (3) " n ", (4) " it is reported, this people ... ".
According to embodiments of the invention, after sub-step S103a, perform sub-step S103b, wherein, by the one or more substring, according to its respective feature, be converted to one or more child control.It is alternatively possible to format flags to be converted to the child control for representation formats in unformatted text, and media marking is converted to the child control for showing media content.Still for foregoing, for aforementioned four substring, substring (1) and (4) are unformatted text, substring (2) is media marking, substring (3) is format flags, for android system, according to above four respective features of substring, it is possible to they are respectively converted into following child control: TextView, ImageView, TextView(null), TextView.
After step s 103, perform step S105, wherein, based on the one or more child control, create father's control.For android system, it is possible to adopt LinearLayout, namely arrange each child control with order from top to bottom, formed one " container ", it is then possible to call addView method, each child control is delivered in father's control as parameter.Afterwards, it is possible to the father's control created is put in the XML file for describing interface.
In step S105, it is alternatively possible to using header, the one or more child control, footer as the head of father's control, middle part, afterbody, create father's control.Above-mentioned header and footer is optional part, but not the part of indispensability.Described header can include the information about described content sources, creation side, and described footer can include the information about the page number, copyright, and they are similar with the header and footer implication in general document.
According to embodiments of the invention, control mentioned above can be the visualization element in any content that can be shown in and present, and it is including, but not limited to the parts in: the existing control of the operating system of electronic equipment itself, the control of the client self performing the method 100 presenting content on an electronic device according to the present invention and above-mentioned father's control.
After step S105, perform step S107, wherein, described father's control is converted to image file for presenting.Still for android system, a Canvas that can be used to be converted to picture can be converted into by the dispatchDraw of father's control, convert thereof into Bitmap again, and Bitmap can generate an image file either directly through compress method, for presenting.Optional, due to the restriction of electronic equipment and the network bandwidth, speed, it is possible to specify that the file size of this image file is less than predefined threshold value, for instance 100KB.At this point it is possible to select 16 jpeg files of quality lower quality relatively low (such as compression ratio about 30%).
Alternatively, after step S107, step S109 and step S111 can also be included according to the method 100 presenting content on an electronic device of the present invention.In step S109, it is possible to described image file is uploaded to one or more Website server.Such as, this can be realized by " uploading pictures " interface for sharing contents that Website page provides.Subsequently, Website server can return the network address for preserving the image file uploaded, for instance URL(UniformResourceLocator, URL).Then, in step S111, it is possible to utilize the network address that described server returns to share described content on the web.Such as, this network address URL is put in " picture URL " part in " network sharing " interface of website, then can enclose some introductory words, namely can realize sharing for long content.Alternatively, it is also possible to this image file is saved in picture library or the collection of this locality or server end, to browse when needed.
Fig. 2 schematically illustrates the schematic diagram of according to an embodiment of the invention presented content.As in figure 2 it is shown, in the content (that is, image file) presented, comprise multistage word and several pictures and header (footer does not show).This image file can be uploaded directly into network sharing platform, for instance " microblogging " etc..
The invention discloses a kind of method presenting content on an electronic device.According to embodiments of the invention, it is possible to obtain and resolve the character string of content, to be converted to one or more child control, and create father's control based on this, father's control is converted to image file for presenting.Thus, can be the image file that can directly share by comprising a large amount of word with the Content Transformation of picture, non-intuitive problem is shared thus fundamentally solving, achieve the intuitive shared, improve Consumer's Experience largely, and breaching the restriction for number of words and picture number of each sharing platform, user can pass through to check this image file, full content of directly reading.Fetch check content as such, it is possible to be no longer dependent on outer chains, improve safety.Furthermore it is also possible to add the effect such as watermark, advertising slogan in the image file shared so that share more directly perceived, enhance Consumer's Experience.
Corresponding with said method 100, present invention also offers a kind of device 200 presenting content on an electronic device.Fig. 3 schematically illustrates the block diagram of the device 200 presenting content according to an embodiment of the invention on an electronic device.
As it is shown on figure 3, device 200 mainly includes content obtaining device 201, character string parsing device 203, father's control creator 205, father's control transducer 207.
According to the present invention, content obtaining device 201 is suitable to obtain the character string of content, character string parsing device 203 is suitable to resolve the character string of described content, with by described Content Transformation for one or more child controls, father's control creator 205 is suitable to based on the one or more child control, create father's control, father's control transducer 207, be suitable to described father's control is converted to image file for presenting.Foregoing getter 201, character string parsing device 203, father's control creator 205, father's control transducer 207 may be respectively used for step S101, S103, S105 and S107 of performing in the method 100 of above-mentioned scanning computer virus.
According to embodiments of the invention, first, content obtaining device 201 obtains the character string of content.Such as, after user wishes 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 resolve the character string of described content, with by described Content Transformation for one or more child controls.According to embodiments of the invention, the character string of described content includes special marking, described special marking includes format flags, media marking, and wherein said format flags is for specifying the form of unformatted text, for instance text font overstriking, tilt, underline, line feed etc.;Described media marking is used for specifying media information, and described media can include image, audio frequency, video etc..
According to embodiments of the invention, the character string of described content according to described special marking, can be divided into one or more substring by character string parsing device 203.Alternatively, the unformatted text in the character string of described content with described special marking for boundary, can be divided into multiple part by character string parsing device 203, and using the unformatted text of each part and described special marking as a substring.
Such as, certain content is likely: " someone there occurs that something, online friend have recorded this curtain<imgsrc=xxx.jpg>n it is reported, this people ... ".In foregoing, comprise two special markings: "<imgsrc=xxx.jpg>" and " n ", they are media marking and format flags respectively, represents insert pictures " xxx.jpg " and line feed respectively.So, with the two special marking for boundary, unformatted text in character string just can be divided into two parts, plus two special markings, four parts altogether, respectively as a substring, totally four substrings, that is: (1) " someone there occurs that something, online friend have recorded this curtain ", (2) "<imgsrc=xxx.jpg>", (3) " n ", (4) " it is reported, this people ... ".
Subsequently, character string parsing device 203 by the one or more substring, according to its respective feature, can be converted to one or more child control.Alternatively, format flags can be converted to the child control for representation formats in unformatted text by character string parsing device 203, and media marking is converted to the child control for showing media content.Still for foregoing, for aforementioned four substring, substring (1) and (4) are unformatted text, substring (2) is media marking, substring (3) is format flags, for android system, according to above four respective features of substring, they can be respectively converted into following child control by character string parsing device 203: TextView, ImageView, TextView(null), TextView.
Afterwards, father's control creator 205 based on the one or more child control, can create father's control.For android system, father's control creator 205 can adopt LinearLayout, namely each child control is arranged with order from top to bottom, formed one " container ", then, father's control creator 205 can call addView method, is delivered in father's control as parameter by each child control.Afterwards, the father's control created can be put in the XML file for describing interface by father's control creator 205.
Alternatively, father's control creator 205 using header, the one or more child control, footer as the head of father's control, middle part, afterbody, can create father's control.Above-mentioned header and footer is optional part, but not the part of indispensability.Described header can include the information about described content sources, creation side, and described footer can include the information about the page number, copyright, and they are similar with the header and footer implication in general document.
Subsequently, described father's control can be converted to image file for presenting by father's control transducer 207.Still for android system, father's control transducer 207 can be converted into a Canvas that can be used to be converted to picture by the dispatchDraw of father's control, convert thereof into Bitmap again, and Bitmap can generate an image file either directly through compress method, for presenting.Optional, due to the restriction of electronic equipment and the network bandwidth, speed, it is possible to specify that the file size of this image file is less than predefined threshold value, for instance 100KB.At this point it is possible to select 16 jpeg files of quality lower quality relatively low (such as compression ratio about 30%).
Alternatively, as it is shown on figure 3, the device 200 presenting content on an electronic device according to the present invention can also include network interface 209, described image file can be uploaded to one or more Website server 300-1 ..., 300-n by it.Such as, this can be realized by " uploading pictures " interface for sharing contents that Website page provides.Subsequently, one or more Website server 300-1 ..., 300-n can return the network address for preserving the image file uploaded, for instance URL.Then, network interface 209 just can utilize the network address that server returns to share described content on the web.Such as, this network address URL is put in " picture URL " part in " network sharing " interface of website by network interface 209, then can enclose some introductory words, namely can realize sharing for long content.It addition, this image file can also be saved in picture library or the collection of this locality or server end by network interface 209, to browse when needed.
Owing to above-mentioned each apparatus embodiments is corresponding with aforementioned approaches method embodiment, therefore no longer each apparatus embodiments is described in detail.
Not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant in algorithm and the display of this offer.Various general-purpose systems can also with use based on together with this teaching.As described above, the structure constructed required by this kind of system is apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to utilize various programming language to realize the content of invention described herein, and the description above language-specific done is the preferred forms in order to disclose the present invention.
In description mentioned herein, describe a large amount of detail.It is to be appreciated, however, that embodiments of the invention can be put into practice when not having these details.In some instances, known method, structure and technology it are not shown specifically, in order to do not obscure the understanding of this description.
Similarly, it is to be understood that, one or more in order to what simplify that the disclosure helping understands in each inventive aspect, herein above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or descriptions thereof sometimes.But, the method for the disclosure should be construed to and reflect an intention that namely the present invention for required protection requires feature more more than the feature being expressly recited in each claim.More precisely, as the following claims reflect, inventive aspect is in that all features less than single embodiment disclosed above.Therefore, it then follows claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, wherein each claim itself as the independent embodiment of the present invention.
Those skilled in the art are appreciated that, it is possible to carry out the module in the device in embodiment adaptively changing and they being arranged in one or more devices different from this embodiment.Some block combiner in embodiment can be become a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or module excludes each other, it is possible to adopt any combination that all processes or the unit of all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment are combined.Unless expressly stated otherwise, each feature disclosed in this specification (including adjoint claim, summary and accompanying drawing) can by providing purpose alternative features identical, equivalent or similar to replace.
In addition, those skilled in the art it will be appreciated that, although embodiments more described herein include some feature included in other embodiments rather than further feature, but the combination of the feature of different embodiment means to be within the scope of the present invention and form different embodiments.Such as, in detail in the claims, the one of any of embodiment required for protection can mode use in any combination.
Each device embodiment of the present invention can realize with hardware, or realizes with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all modules in device according to embodiments of the present invention.The present invention is also implemented as part or all the device program (such as, computer program and computer program) for performing method as described herein.The program of such present invention of realization can store on a computer-readable medium, or can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment without departing from the scope of the appended claims.In the claims, any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not exclude the presence of the element or step not arranged in the claims.Word "a" or "an" before being positioned at element does not exclude the presence of multiple such element.The present invention by means of including the hardware of some different elements and can realize by means of properly programmed computer.In the unit claim listing some devices, several in these devices can be through same hardware branch and specifically embody.Word first, second and third use do not indicate that any order.Can be title by these word explanations.

Claims (16)

1. the method (100) presenting content on an electronic device, including step:
Obtain the character string (S101) of content;
Resolve the character string of described content, with by described Content Transformation for one or more child controls (S103);
Based on the one or more child control, create father's control (S105);And
Described father's control is converted to image file for presenting (S107),
The character string of wherein said content includes special marking, and described special marking includes format flags, media marking,
The character string of the described content of described parsing, be one or more child controls by described Content Transformation step (S103) including:
According to described special marking, the character string of described content is divided into one or more substring (S103a);And
By the one or more substring, according to its respective feature, be converted to one or more child control (S103b).
2. the method for claim 1, wherein the character string according to described special marking, by described content is divided into the step (S103a) of one or more substring to include:
With described special marking for boundary, the unformatted text in the character string of described content is divided into multiple part;And
Using the unformatted text of each part and described special marking as a substring.
3. the method as described in any one in claim 1 to 2, wherein the step (S105) based on the one or more child control, establishment father's control including:
Using header, the one or more child control, footer as the head of father's control, middle part, afterbody, create father's control.
4. the method for claim 1, wherein said format flags is for specifying the form of unformatted text, and described media marking is used for specifying media information, and described media include image, audio frequency, video.
5. method as claimed in claim 4, wherein by the one or more substring, including according to its respective feature, the step (S103b) that is converted to one or more child control:
Format flags is converted to the child control for representation formats in unformatted text;And
Media marking is converted to the child control for showing media content.
6. method as claimed in claim 3, wherein said header includes the information about described content sources, creation side, and described footer includes the information about the page number, copyright.
7. the method as described in any one in claim 1 to 2, is wherein converted to described father's control image file and including for the step (S107) presented: described father's control is converted to the file size image file less than predefined threshold value for presenting.
8. the method as described in any one in claim 1 to 2, also includes:
Described image file is uploaded to Website server (S109);And
The network address that described server returns is utilized to share described content (S111) on the web.
9. the device (200) presenting content on an electronic device, including:
Content obtaining device (201), is suitable to obtain the character string of content;
Character string parsing device (203), is suitable to resolve the character string of described content, with by described Content Transformation for one or more child controls;
Father's control creator (205), is suitable to, based on the one or more child control, create father's control;And
Father's control transducer (207), is suitable to described father's control is converted to image file for presenting,
The character string of wherein said content includes special marking, and described special marking includes format flags, media marking,
The character string of described content, according to described special marking, is divided into one or more substring by described character string parsing device (203), and by the one or more substring, according to its respective feature, is converted to one or more child control.
10. device as claimed in claim 9, wherein said character string parsing device (203) is with described special marking for boundary, unformatted text in the character string of described content is divided into multiple part, and using the unformatted text of each part and described special marking as a substring.
11. the device as described in any one in claim 9 to 10, wherein said father's control creator (205), using header, the one or more child control, footer as the head of father's control, middle part, afterbody, creates father's control.
12. device as claimed in claim 9, wherein said format flags is for specifying the form of unformatted text, and described media marking is used for specifying media information, and described media include image, audio frequency, video.
13. device as claimed in claim 12, format flags is converted to the child control for representation formats in unformatted text by wherein said character string parsing device (203), and media marking is converted to the child control for showing media content.
14. device as claimed in claim 11, wherein said header includes the information about described content sources, creation side, and described footer includes the information about the page number, copyright.
15. the device as described in any one in claim 9 to 10, described father's control is converted to the file size image file less than predefined threshold value for presenting by wherein said father's control transducer (207).
16. the device as described in any one in claim 9 to 10, also include network interface (209), be suitable to upload to described image file Website server, and utilize the network address that described server returns to share described content on the web.
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 CN103092941A (en) 2013-05-08
CN103092941B true 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)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092941B (en) * 2013-01-10 2016-06-29 北京奇虎科技有限公司 The method and apparatus presenting content on an electronic device
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
CN105187360A (en) * 2014-06-17 2015-12-23 中兴通讯股份有限公司 Document conference sharing method and 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 display method and system
CN105988665B (en) * 2016-03-17 2017-06-16 广州阿里巴巴文学信息技术有限公司 Information dubbing system, information duplicating method and electronic equipment
CN107018443B (en) * 2017-02-16 2021-02-05 香港乐蜜有限公司 Video recording method and device and electronic equipment
CN107517323B (en) * 2017-09-08 2019-12-24 咪咕数字传媒有限公司 Information sharing method and device and storage medium
CN110007915B (en) * 2018-01-04 2022-11-11 武汉斗鱼网络科技有限公司 Linear layout method and device of self-adaptive sub-control
CN109151543A (en) * 2018-07-27 2019-01-04 北京优酷科技有限公司 Playing frame, display methods, device and the storage medium of media content

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 (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
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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
WO2014108040A1 (en) 2014-07-17
CN103092941A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN103092941B (en) The method and apparatus presenting content on an electronic device
US20230244725A1 (en) Transcoding and serving resources
US10542123B2 (en) System and method for generating and monitoring feedback of a published webpage as implemented on a remote client
US8595635B2 (en) System, method and apparatus for selecting content from web sources and posting content to web logs
US20210149842A1 (en) System and method for display of document comparisons on a remote device
US20070162842A1 (en) Selective content imaging for web pages
US20130019189A1 (en) Augmented editing of an online document
US20130132422A1 (en) System and method for creating and controlling an application operating on a plurality of computer platform types
US10623354B2 (en) Preview of compressed file email attachments
JP2014029701A (en) Document processing for mobile devices
CN102831154B (en) The method and apparatus of data in the Text Entry of preservation and display web page
US20170351713A1 (en) Image processing systems and/or methods
CN104050238A (en) Map labeling method and map labeling device
KR102350540B1 (en) digital component background rendering
US10298986B2 (en) Method and apparatus for incorporating web based selection into graphics system
CN104899212B (en) Web page display method, server and system
CN113382083A (en) Webpage screenshot method and device
US20180246857A1 (en) Markup code generator
CN105630310A (en) Method and device for displaying titles during graph group switching
CN117093386B (en) Page screenshot method, device, computer equipment and storage medium
CN115587075B (en) Layout file processing method and device, terminal equipment and storage medium
US20160110472A1 (en) Identifying, marking up, and reconstituting elements for content sharing
US10929208B1 (en) Methods and apparatus for copying a selected browser region to a clipboard as an image
CN103970763A (en) Three-dimensional image displaying system and method
WO2014055890A2 (en) Transcoding and serving resources

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.