CN103020082B - A kind of reading processing system and method, server, terminal unit - Google Patents

A kind of reading processing system and method, server, terminal unit Download PDF

Info

Publication number
CN103020082B
CN103020082B CN201110286892.2A CN201110286892A CN103020082B CN 103020082 B CN103020082 B CN 103020082B CN 201110286892 A CN201110286892 A CN 201110286892A CN 103020082 B CN103020082 B CN 103020082B
Authority
CN
China
Prior art keywords
sight
file
configuration information
textual resources
resource
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.)
Expired - Fee Related
Application number
CN201110286892.2A
Other languages
Chinese (zh)
Other versions
CN103020082A (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 Founder Electronics Co Ltd
Original Assignee
Beijing Founder Electronics 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 Founder Electronics Co Ltd filed Critical Beijing Founder Electronics Co Ltd
Priority to CN201110286892.2A priority Critical patent/CN103020082B/en
Publication of CN103020082A publication Critical patent/CN103020082A/en
Application granted granted Critical
Publication of CN103020082B publication Critical patent/CN103020082B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of reading processing system and method, server, terminal unit, including: server, for the one or more parts in textual resources file being arranged sight, and sight configuration information is added textual resources file generated digital content file;Sight configuration information and the one or more sight resource files corresponding with sight configuration information are packaged into sight theme bag;Terminal unit, for from described server download digital content file, textual resources file is parsed from the digital content file adding sight configuration information downloaded, the sight resource included in corresponding sight theme bag, and the sight resource file coordinating to show in the sight theme bag of textual resources and download included in the textual resources file parsed is downloaded from described server according to the sight configuration information in the textual resources file parsed.Additionally, it is provided that corresponding reading processing method.The present invention shows various sight while showing digital content so that read more abundant and interesting.

Description

A kind of reading processing system and method, server, terminal unit
Technical field
The present invention relates to electronic reading technical field, particularly relate to a kind of reading processing system and method, server, terminal Equipment.
Background technology
With the quickening pace of modern life, people increasingly do not have the book that the time of monoblock holds in both hands a papery be sitting in one solid Fixed place is read leisurely, therefore occurs in that panoramic reader on market: electricity paper book, MP4, mobile phone, panel computer Deng.People utilize these electronic products, utilize the scrappy time to read, but, due to the reading on these electronic products The most all there is following disadvantage in software, therefore causes reading experience unsatisfactory:
1, same font is set in full;
2, same font size is set in full;
3, same font color is set in full;
4, one background picture can only be set or use solid background;
5, background music is not supported;
6, picture and text mixing is not supported;
7, TTS (text voice) is not supported
With ViewSonic of the U.S. (ViewSonic) release recently to can customize the contextual model specialty that market scape reads of going forward side by side color For as a example by screen e-book P702, in this e-book, user can be in advance by the background picture selected according to oneself hobby, the back of the body Scape music and font size become a file with line-spacing entire set.When reading electronic book, in conjunction with the content of article, join Upper corresponding background and music, more having artistic conception so that reading, more feeling.But, this e-book is except supporting background sound Find pleasure in, can support outside picture and text mixing, however it remains other disadvantage above-mentioned, such as, unified font still can only be set in full, the back of the body Scape picture is single, do not support that TTS is arranged.Additionally, due to lack the semantic context information of digital content, the setting of sight does not has Targetedly, the semantic context of eBook content actually can not really be represented.
Limitation based on the most common electronic-book reading system, the ways of presentation of digital content does not has new meaning, substantially On be all a face, similar, user in use for some time, will be tired, is weary of reading, even abandons this readding Read mode.
Summary of the invention
In order to solve the problems referred to above, the present invention provides a kind of reading processing system and method, server, terminal unit, with Realize more abundant sight reading experience.
In order to realize object above, the reading processing system that the present invention provides, this reading processing system includes:
Server, for arranging sight to the one or more parts in textual resources file, and by sight configuration information Add textual resources file generated digital content file;By sight configuration information and corresponding with sight configuration information one or many Individual sight resource file is packaged into sight theme bag;
Terminal unit, for from described server download digital content file, from the addition sight configuration information downloaded Digital content file parses textual resources file, according to the sight configuration information in the textual resources file parsed from institute State server and download corresponding sight theme bag, and coordinate to show the textual resources included in the textual resources file parsed With the sight resource included in the sight resource file in the sight theme bag downloaded.
Wherein, described server specifically for the semanteme according to described textual resources file and/or linguistic context to described text One or more parts in resource file arrange sight.
Preferably, described sight configuration information includes at least one of: background music, background static images, animation figure Sheet, font, font size, font color, text voice configuration information.
Preferably, described text voice configuration information includes at least one of: role, intonation, word speed are arranged.
Wherein, described digital content file is XML file, and the sight configuration information in described sight theme bag is recorded as XML file.
The embodiment of the present invention also provides for a kind of server, and this server includes:
Module is set, for the one or more parts in textual resources file are arranged sight;
First processing module, for adding textual resources file generated digital content file by sight configuration information;
Second processing module, for providing sight configuration information and one or more sights corresponding with sight configuration information Source file is packaged into sight theme bag.
The embodiment of the present invention also provides for a kind of terminal unit, and this terminal unit includes:
Download module, for from server download digital content file;
Parsing module, for parsing textual resources literary composition from the digital content file adding sight configuration information downloaded Part, downloads corresponding sight theme bag according to the sight configuration information in the textual resources file parsed from described server, And coordinate the sight money showing in the sight theme bag of textual resources and download included in the textual resources file parsed Sight resource included in source file.
Wherein, described terminal unit also includes light monitoring modular, and described light monitoring modular monitors for basis Light change automatic switching situation is arranged.
Wherein, the process that described automatic switching situation is arranged includes at least one of: be automatically adjusted according to light change The backlight of described terminal unit, it is automatically adjusted the font color of described terminal unit according to light change.
Preferably, when described terminal unit is connected with described server every time, check whether described server updates sight The sight resource file of theme or sight theme, if it is, the sight theme of down loading updating or the sight of sight theme Resource file.
The embodiment of the present invention also provides for a kind of reading processing method, and the method includes:
Server arranges sight to the one or more parts in textual resources file, and sight configuration information is added literary composition This resource file generates digital content file;By sight configuration information and the one or more sights corresponding with sight configuration information Resource file is packaged into sight theme bag;
Terminal unit is from described server download digital content file, in the numeral adding sight configuration information downloaded Hold in file and parse textual resources file, according to the sight configuration information in the textual resources file parsed from described service Corresponding sight theme bag downloaded by device, and coordinates to show the textual resources included in the textual resources file parsed and download Sight theme bag in sight resource file included in sight resource.
The embodiment of the present invention also provides for a kind of reading processing system, and this system includes:
Server, for arranging sight to the one or more parts in textual resources file, and by textual resources file With the sight corresponding with the one or more parts in textual resources file arranges corresponding one or more sight resource files Generate digital content file;
Terminal unit, for downloading described digital content file from described server, is arranged from the addition sight downloaded The digital content file of information parses textual resources file and sight resource file, and coordinates to show the text money parsed Textual resources included in source file and with the sight configuration information corresponding sight resource file in text resource file Included in sight resource.
The embodiment of the present invention also provides for a kind of server, and this server includes:
Module is set, for the one or more parts in textual resources file are arranged sight;
Processing module, for by textual resources file and the feelings corresponding with the one or more parts in textual resources file Scape arranges one or more sight resource files of correspondence and generates digital content file.
The embodiment of the present invention also provides for a kind of terminal unit, and this terminal unit includes:
Download module, for from server download digital content file;
Parsing module, for parsing textual resources literary composition from the digital content file adding sight configuration information downloaded Part, downloads corresponding sight theme bag according to the sight configuration information in the textual resources file parsed from described server, And coordinate the sight money showing in the sight theme bag of textual resources and download included in the textual resources file parsed Sight resource included in source file.
The embodiment of the present invention also provides for a kind of reading processing method, and the method includes:
Server arranges sight to the one or more parts in textual resources file, and by textual resources file and with literary composition Sight corresponding to one or more parts in this resource file arranges one or more sight resource files of correspondence and generates number Word content file;
Terminal unit downloads described digital content file from described server, from the addition sight configuration information downloaded Digital content file parses textual resources file and sight resource file, and coordinates to show the textual resources file parsed Included in textual resources and wrapped in the sight configuration information corresponding sight resource file in text resource file The sight resource contained.
The present invention can arrange abundant sight to textual resources file, and the ways of presentation of digital content is varied, thus Realize more have artistic conception, more feel, more interesting sight reading experience.
Accompanying drawing explanation
Fig. 1 is the structure chart of the reading processing system illustrating the present invention;
Fig. 2 is that the terminal unit illustrating the first embodiment of the present invention resolves digital content file and carries out sight displaying The flow chart of method;
Fig. 3 to Fig. 5 is the bandwagon effect figure of the second embodiment of the present invention.
Detailed description of the invention
Hereinafter, present invention is described with embodiment with reference to the accompanying drawings.
(first embodiment)
In the present embodiment, the textual resources file of digital content only adds a small amount of sight configuration information, sight resource File is deposited in the server, separates with textual resources file.This scheme is also referred to as thin digital content scheme, is particularly suited for Network speed and memory space constrained environment.
Fig. 1 is the structure chart of the sight reading system illustrating the present invention.As it is shown in figure 1, the reading of the present embodiment processes system System includes server 1 and terminal unit 2.Wherein, server 1 is for arranging the one or more parts in textual resources file Sight, and sight configuration information is added textual resources file generated digital content file;By sight configuration information and and sight One or more sight resource files corresponding to configuration information are packaged into sight theme bag.Terminal unit 2 is for from server 1 Carry digital content file, from the digital content file adding sight configuration information downloaded, parse textual resources file, root Download corresponding sight theme bag according to the sight configuration information in the textual resources file parsed from server 1, and coordinate exhibition Show in the sight resource file in the sight theme bag of the textual resources included in the textual resources file parsed and download The sight resource comprised.
As it is shown in figure 1, server 1 farther includes to arrange module the 11, first processing module 12 and the second processing module 13. Wherein, module 11 is set for the one or more parts in textual resources file are arranged sight.First processing module 12 is used In sight configuration information is added textual resources file generated digital content file.Second processing module 13 is for arranging sight Information and the one or more sight resource files corresponding with sight configuration information are packaged into sight theme bag.
Specifically, described sight configuration information can include at least one of: background music, background static images, dynamic Picture sheet, font, font size, font color and TTS configuration information.TTS configuration information can include at least one of: angle Color, intonation, word speed are arranged, and read aloud so that many identity, different intonation and word speed simulation true man can be carried out.Sight resource can include Audio resource as background music, the picture resource as background static images or motion picture.Additionally, at terminal unit originally Be fitted without required font file and sound bank file in the case of, sight resource may also include required font file and Sound bank file.But, owing to font file and sound bank file are the biggest, preferably by font file and language Sound library file chained address on the server is put in sight configuration information, downloads for user.And, at terminal unit 2 When server 1 download digital content file, provide a user with Downloadable font file and the essential information of sound bank file, Think that user setup font and TTS provide reference.
Additionally, when arranging sight, server 1 can be according to the semanteme of textual resources file and/or linguistic context to textual resources One or more parts in file arrange sight.The sight so arranged can the implication of auxiliary expression digital content, showing Show while digital content and meet the semanteme of digital content and/or the sight of linguistic context, help reader to understand digital content, make Must read more abundant and interesting, can preferably advance the Reading promotion action plan of country.Hereinafter, to this implementation Under the operation of server be specifically described.
Server 1 is when editing adds the digital content file that sight is arranged, and first, provides the text of digital content All chapters and sections or paragraph included in source file arrange sight, it is possible to each chapters and sections or paragraph are independently arranged sight, each Sight is arranged according to the semanteme of digital content and/linguistic context, accomplishes to press close to the expression implication of author as far as possible, any in need Side can arrange sight.For example, it is possible to add the overall sight being applicable to all chapters and sections or paragraph in textual resources file Configuration information, is then separately added respective local sight configuration information in each chapters and sections or paragraph.For not adding The locally chapters and sections of sight configuration information or paragraph, can use overall situation sight configuration information to be shown.If at digital content literary composition Part does not add sight configuration information, is then shown according to common document.
Then, (include adding the textual resources file of sight configuration information, audio resource literary composition by all resource files Part, picture resource file (in case of need, also including font file and sound bank file) generate a single numeral Content file.This digital content file is a container file, wherein comprise add sight configuration information textual resources file, Audio resource file, picture resource file (in case of need, also including font file and sound bank file).Finally only have One file, includes abundant sight configuration information, numerous and jumbled without having to worry about file of terminal use, just can carry out document well Management.
Here, digital content file is generated as an XML file by available XML (extensible markup language) technology.With Time, utilize XML technology to describe the sight configuration information in sight theme bag, by sight configuration information record an XML file In.For the sight configuration information in these XML file, its extensibility can be utilized, easily increase or revise or delete feelings Scape configuration information.It addition, after also can further XML file be compressed (being such as compressed into binary digit content file) again It is put on server 1, facilitates download online, shorten download time, save memory space.
After digital content file completes, it is put on server 1.Server 1 defines a set of standard agreement, such as, The procotol such as ICP/IP protocol or http protocol, accesses for different terminals, it is provided that various keywords are (such as title, work Person or classification) inquiry service and online reading, download etc. service.
Terminal unit 2 is being downloaded after digital content file on server 1, resolves digital content file and goes forward side by side market scape exhibition Show.
Terminal unit 2 includes: download module, for from server download digital content file;Parsing module, under The digital content file adding sight configuration information carried parses textual resources file, according to the textual resources literary composition parsed Sight configuration information in part downloads corresponding sight theme bag from described server, and coordinates to show the textual resources parsed Textual resources included in file and the sight resource included in the sight resource file in the sight theme bag of download;Light Line monitoring modular, light monitoring modular is for arranging according to the light change automatic switching situation monitored.
Wherein, the process that automatic switching situation is arranged includes at least one of: be automatically adjusted terminal according to light change The backlight of equipment, it is automatically adjusted the font color of terminal unit according to light change.
During it addition, terminal unit is connected with server every time, check whether server updates sight theme or sight master The sight resource file of topic, if it is, the sight theme of down loading updating or the sight resource file of sight theme.
The embodiment of the present invention also provides for a kind of reading processing method, and the method includes: server is in textual resources file One or more parts sight is set, and sight configuration information is added textual resources file generated digital content file;Will Sight configuration information and the one or more sight resource files corresponding with sight configuration information are packaged into sight theme bag;Terminal Equipment, from server download digital content file, parses literary composition from the digital content file adding sight configuration information downloaded This resource file, downloads corresponding sight theme according to the sight configuration information in the textual resources file parsed from server Bag, and coordinate the sight showing in the sight theme bag of textual resources and download included in the textual resources file parsed Sight resource included in resource file.
Fig. 2 is to illustrate that the terminal unit of first embodiment resolves digital content file and the stream of the method carrying out sight displaying Cheng Tu.
As in figure 2 it is shown, first, in step s 201, digital content file is read.Then, in step S202, it is judged that read Whether the digital content file taken is the container file adding sight configuration information, if it is, perform step S204 and behind Step.If it is not, then perform step S203, in step S203, it is shown according to common document.
In step S204, container file is unpacked, by the textual resources file wherein comprised, audio resource literary composition The resource files such as part, picture resource file are disassembled, and are preserved respectively by the various resource files disassembled in step S205 In terminal unit under corresponding catalogue.For the present embodiment, only obtain adding sight after container file unpacks and letter is set The textual resources file of breath.
Then, in step S206, resolving textual resources file, one is to obtain overall situation sight configuration information, and Being saved in overall situation sight configuration information variable, two is chapters and sections information or the paragraph information obtaining digital content.To be shown Chapters and sections or paragraph, proceed to resolve, and obtains the sight configuration information of chapters and sections text or paragraph text, and is saved in local sight In configuration information variable.
Then, in step S207, according in overall situation sight configuration information variable and local sight configuration information variable Sight configuration information downloads corresponding sight theme bag from server 1.
Finally, in step S208, exhibition is coordinated according to overall situation sight configuration information variable and local sight configuration information variable Show the feelings in the sight theme bag of the textual resources included in the textual resources file parsed in step S206 and download Sight resource included in scape resource file.
Here, for the sake of security, digital content file can be limited only could resolve on the terminal unit authorized.
Additionally, terminal unit 2 also can irregularly update sight resource.Specifically, each terminal unit is with server 1 even When connecing, check whether server 1 updates the sight resource file of sight theme or sight theme, if it is, down loading updating Sight theme or the sight resource file of sight theme.When reading every time, show the sight resource updated.
Additionally, terminal unit 2 may also include the light for arranging according to the light change automatic switching situation monitored Monitoring modular.In this case, the process that terminal unit 2 automatic switching situation is arranged can include at least one of: according to Light change is automatically adjusted the backlight of terminal unit 2, is automatically adjusted the font color of terminal unit 2 according to light change.Work as light When line is the most weak, the backlight of terminal unit can be adjusted, adjust font color value according to preset value simultaneously, make light as far as possible Soft.
Terminal unit 2 may also include user situation and arranges interface, arranges for user's configuration or amendment sight.Such as, may be used Arranging sight automatic switchover option in this interface, switching type can include the photosensitive and time period.When user selects switching type For time photosensitive, the light change automatic switching situation as above monitored according to light monitoring device is arranged.When user selects switching When type is the time period, user can set a time period, and within the time period set, optional special sight is arranged, example As, background music can not be used.
Hereinafter, an example of the present embodiment will be provided.When this example, it is defined below the data knot of sight configuration information Structure:
In data structure SceneInfo, nTTSRole variable-definition various rolls, span is according to role's quantity Fixed;NTTSTone variable-definition intonation, span can be set to-32768~32768, and wherein, 0 is normal intonation; NTTSSpeed variable-definition word speed, span can be set to-32768~32768, and wherein, 0 is normal word speed;pszBkImage Variable-definition picture resource, pszBkMusic variable-definition audio resource, pszFaceName variable-definition font, nFontSize Variable-definition font size.Additionally, g_isAutoSceneSwitch variable indicates whether to select sight automatic switching function, g_ NSceneSwitchTyp variable represents sight switching type.
Server 1 is arranged its sight configuration information and corresponding one or more sight resources literary composition according to different sights Part is packaged into different sight theme bags, downloads for terminal unit 2.In the present example it is assumed that by the sight theme bag of download be Normal.zip, wherein comprises following file: normal.xml, normal.gif, normal.mp3, wherein, and normal.xml For sight configuration information file, normal.gif is picture resource file, and normal.mp3 is audio resource file.
The content of normal.xml is as follows:
Terminal unit 2 downloads container file from server 1, unpacks this container file, obtains following textual resources File Ming_Dynasty.xml:
Can be seen that from above textual resources file, text resource file only add overall situation sight configuration information, i.e. Scene node, all chapters and sections all use same sight to arrange.Scene node has Version attribute and Feeling attribute, Wherein, Version attribute represents that the version of XML file, Feeling attribute represent sight subject name.In this example, example As, when Version property value is 1, read Feeling attribute, then coupling sight theme.Owing to Version property value is 1, Feeling property value is normal, and therefore, the sight theme bag of coupling is the theme bag of entitled normal.
It, after server 1 downloads sight theme bag normal.zip, is decompressed by terminal unit 2, available Ziwen Part normal.xml, normal.gif, normal.mp3, deposited each subfile by subject, and by normal.xml Sight configuration information is saved in the global variable g_stSceneInfo of SceneInfo structure.
When reading above-mentioned digital content file, first terminal unit 2 can read g_stSceneInfo.pszBkImage The value of variable, Load Image normal.gif, shows as background picture, then reads g_ The value of stSceneInfo.pszFaceName and g_stSceneInfo.nFontSize variable, generates font information, in background Upper display text.Then, read the value of g_stSceneInfo.pszBkMusic variable, be loaded into audio frequency normal.mp3, as Background music is play.Finally, g_stSceneInfo.nTTSRole, g_stSceneInfo.nTTSTone, g_ are read The value of stSceneInfo.nTTSSpeed variable, carries out TTS setting, utilizes sound bank to carry out true man and reads aloud.So, so that it may will Text, background animation, background music and true man read aloud coordination collocation, display with open arms, vision and acoustically with author The emotion expressed is consistent, on the spot in person to people's one, intoxicated selfless boundary.
(the second embodiment)
In the present embodiment, sight resource is placed in digital content file, issues with digital content.This scheme is also It is referred to as the rich sight plan of establishment.
The reading processing system of the present embodiment includes server and terminal unit.Wherein, described server is for text One or more parts in resource file arrange sight, and by textual resources file and with in textual resources file or Sight corresponding to some arranges one or more sight resource files of correspondence and generates digital content file.Described terminal sets It is ready for use on from described server, downloads described digital content file, from the digital content literary composition adding sight configuration information downloaded Part parses textual resources file and sight resource file, and coordinates to show included in the textual resources file parsed Textual resources and with included in the sight configuration information corresponding sight resource file in text resource file sight provide Source.
Wherein, server specifically for the semanteme according to textual resources file and/or linguistic context in textual resources file One or more parts arrange sight.
Preferably, sight configuration information includes at least one of: background music, background static images, motion picture, word Body, font size, font color, text voice configuration information.
Preferably, text voice configuration information includes at least one of: role, intonation, word speed are arranged.
Wherein, digital content file is XML file, and the sight configuration information in sight theme bag is recorded as XML file.
Wherein, described server farther includes to arrange module and processing module.Wherein, module is set for providing text One or more parts in source file arrange sight.Processing module for by textual resources file and with in textual resources file Sight corresponding to one or more parts one or more sight resource files of correspondence be set generate digital content file.
Wherein, terminal unit includes download module, for from server download digital content file;Parsing module, is used for Textual resources file is parsed, according to the text money parsed from the digital content file adding sight configuration information downloaded Sight configuration information in source file downloads corresponding sight theme bag from server, and coordinates to show the textual resources parsed Textual resources included in file and the sight resource included in the sight resource file in the sight theme bag of download.
Wherein, the process that automatic switching situation is arranged includes at least one of: be automatically adjusted terminal according to light change The backlight of equipment, it is automatically adjusted the font color of terminal unit according to light change.
During it addition, terminal unit is connected with server every time, check whether server updates sight theme or sight master The sight resource file of topic, if it is, the sight theme of down loading updating or the sight resource file of sight theme.
The embodiment of the present invention also provides for a kind of reading processing method, and the method includes: server is in textual resources file One or more parts sight is set, and by textual resources file and right with the one or more parts in textual resources file The sight answered arranges one or more sight resource files of correspondence and generates digital content file;Terminal unit is upper and lower from server Carry digital content file, from the digital content file adding sight configuration information downloaded, parse textual resources file and feelings Scape resource file, and coordinate to show the textual resources included in the textual resources file parsed and with text resource file In sight configuration information corresponding sight resource file included in sight resource.
Here, equal about the setting of sight, the editor of digital content file and making, issue, sight automatic switchover step Identical with first embodiment, therefore, the descriptions thereof are omitted.
Resolve at terminal unit and show in step, being with the difference of the flow process of the first embodiment shown in Fig. 2, Need not step S207 (downloading the step of sight theme bag), and in step S208, become according to overall situation sight configuration information Amount and local sight configuration information variable coordinate to show the textual resources included in the textual resources file that parses and with this The sight resource included in sight configuration information corresponding sight resource file in textual resources file, the literary composition in this step This resource file and sight resource file are included in the digital content file that server is issued.
Briefly summarized, the present embodiment is with the difference of first embodiment, in the digital content file in first embodiment Only including a textual resources file adding sight configuration information, concrete sight resource file is to be packaged in sight theme In bag, terminal unit, in addition to download digital content file, also needs to download sight theme bag, and the numeral in the present embodiment In content file in addition to a textual resources file adding sight configuration information, also include that one or more sight provides Source file, such digital content file will be bigger, terminal unit only download digital content file.
Hereinafter, an example of the present embodiment will be provided.In this example, the data structure of sight configuration information and first The example of embodiment is identical, and, each chapters and sections included in the textual resources file of digital content are all independently arranged sight.
When reading digital content file, first, digital content file is unpacked, decompose textual resources therein literary composition Part and sight resource file: example.xml, nomal.gif, nomal.mp3, snow.gif, snow.mp3, sand- Storm.gif, sand-storm.mp3, MilkyWay.gif, MilkyWay.mp3 etc., wherein, example.xml is text money Source file, remaining is sight resource file.
The content of textual resources file example.xml is as follows:
When resolving textual resources file example.xml, first obtain overall situation sight configuration information (that is, first The information that scene node is recorded), and be saved in the global variable g_stSceneInfo of SceneInfo structure.For that A little chapters and sections not being separately provided local sight configuration information, can be according to the overall sight in global variable g_stSceneInfo Configuration information is shown.
Then, when reading the first chapters and sections of digital content, obtain the local sight configuration information of the first chapters and sections, and preserve In the local variable lcSceneInfo of SceneInfo structure.When showing, according to lcSceneInfo.pszBkimage's Value loads background animation picture snow.gif, and picture is the snowflake danced in the air all over the sky, is the beautiful scenery being in silver and white clothing everywhere;According to The value of lcSceneInfo.pszBkmusic loads soft background music snow.mp3;Then basis The value of lcSceneInfo.FaceName and lcSceneInfo.nFontSize generates logical font, shows text;Work as needs During TTS, set according to the value of lcSceneInfo.nTTSRole and read aloud role, according to the value 5 of lcSceneInfo.nTTSTone, Set slightly higher intonation;According to value-10 of lcSceneInfo.nTTSSpeed, set the word speed slower than normal word speed, according to These TTS information, call sound bank and read aloud text.Bandwagon effect is as shown in Figure 3.
When reading the second chapter of digital content, obtain the sight configuration information of second chapter, be saved in local equally In variable lcSceneInfo.The use of lcSceneInfo variable is the same with the first chapters and sections, loads dynamic picture sand- Storm.gif, background frame is that blast sweeps along sandstone, floating dust to fill the air everywhere, covers and hides the scene of sky doomsday seemingly day, simultaneously Load music sand-storm.mp3, this be a head can allow listen can feel the earth cry music, allow reader understand While natural disaster, it is contemplated that the earth of our existence will be cherished, protect environment.The setting of TTS is also that word speed is normal, intonation slightly Low.Bandwagon effect is as shown in Figure 4.
When reading the chapter 3 joint of digital content, obtain the sight configuration information of chapter 3 joint, be saved in local equally In variable lcSceneInfo.The use of lcSceneInfo variable is the same with the first chapters and sections, loads dynamic picture MilkyWay.gif, background frame is the whirlpool galaxy slowly rotated, and a spiral arm extends symmetrically from glactic centre Out, vast expanse of whiteness a piece of, just as legendary " Magpie Bridge ", load audio frequency MilkyWay.mp3 simultaneously, allow listen and remember in one's ear Remote and the fantasy music of deep tunnel.The setting of TTS is that word speed is slightly slow, and intonation is overcast.Bandwagon effect is as shown in Figure 5.
Can be seen that from Fig. 3 to Fig. 5, word content and background animation, background music organically blend, one integrated mass.Background Sheet and background music are used for supplementing the expression of word, make feelings that word described and scape be elevated, bring out the best in each other.
In this example, when showing digital content file, only used a local variable lcSceneInfo, text The displaying of the parsing of resource file and textual resources and sight resource is carried out simultaneously.It is of course also possible in advance to text All chapters and sections of resource file resolve, and obtain the sight configuration information of all chapters and sections, and are saved in different local variables (such as, lcSceneInfo1, lcSceneInfo2 ... in), then, according to global variable g_stSceneInfo and these offices Portion's variable coordinates text exhibition resource and sight resource.
Above with reference to drawings and Examples to the present invention have been described in detail, however, it is to be understood that the present invention is not Being limited to particular embodiments disclosed above, any modification based on technical scheme disclosed in this specification is intended to be included in this In the protection domain of invention.

Claims (12)

1. a reading processing system, it is characterised in that including:
Server, for the one or more parts in textual resources file arrange sight, and adds sight configuration information Textual resources file generated digital content file;By sight configuration information and the one or more feelings corresponding with sight configuration information Scape resource file is packaged into sight theme bag;
Terminal unit, for from described server download digital content file, from the numeral adding sight configuration information downloaded Content file parses textual resources file, according to the sight configuration information in the textual resources file parsed from described clothes Corresponding sight theme bag downloaded by business device, and coordinate to show the textual resources included in the textual resources file parsed and under The sight resource included in sight resource file in the sight theme bag carried,
Described terminal unit specifically for, resolve textual resources file, obtain the overall situation sight configuration information, by the overall situation sight setting Information is saved in overall situation sight configuration information variable, and obtains chapters and sections information or the paragraph information of digital content;Parsing to show The chapters and sections shown or paragraph, obtain the sight configuration information of chapters and sections text to be shown or paragraph text, and be saved in local sight In configuration information variable;According to the sight configuration information in overall situation sight configuration information variable and local sight configuration information variable Corresponding sight theme bag is downloaded from server.
Reading processing system the most according to claim 1, it is characterised in that described server is specifically for according to described literary composition Semanteme and/or the linguistic context of this resource file arrange sight to the one or more parts in described textual resources file.
Reading processing system the most according to claim 1, it is characterised in that described sight configuration information include following at least One of: background music, background static images, motion picture, font, font size, font color, text voice arrange letter Breath.
Reading processing system the most according to claim 3, it is characterised in that described text voice configuration information include with At least one lower: role, intonation, word speed are arranged.
Reading processing system the most according to claim 1, it is characterised in that described digital content file is XML file, institute The sight configuration information stated in sight theme bag is recorded as XML file.
6. a terminal unit, it is characterised in that including:
Download module, for from server download digital content file;
Parsing module, for parsing textual resources file from the digital content file adding sight configuration information downloaded, Download corresponding sight theme bag according to the sight configuration information in the textual resources file parsed from described server, and assist Adjust the sight resource literary composition shown in the sight theme bag of the textual resources and download included in the textual resources file parsed Sight resource included in part;
Described parsing module specifically for, resolve textual resources file, obtain the overall situation sight configuration information, by the overall situation sight setting Information is saved in overall situation sight configuration information variable, and obtains chapters and sections information or the paragraph information of digital content;Parsing to show The chapters and sections shown or paragraph, obtain the sight configuration information of chapters and sections text to be shown or paragraph text, and be saved in local sight In configuration information variable;According to the sight configuration information in overall situation sight configuration information variable and local sight configuration information variable Corresponding sight theme bag is downloaded from server.
Terminal unit the most according to claim 6, it is characterised in that described terminal unit also includes light monitoring modular, Described light monitoring modular is for arranging according to the light change automatic switching situation monitored.
Terminal unit the most according to claim 7, it is characterised in that described automatic switching situation arrange process include with At least one lower: it is automatically adjusted the backlight of described terminal unit according to light change, is automatically adjusted described end according to light change The font color of end equipment.
Terminal unit the most according to claim 6, it is characterised in that described terminal unit is connected with described server every time Time, check whether described server updates the sight resource file of sight theme or sight theme, if it is, down loading updating Sight theme or the sight resource file of sight theme.
10. a reading processing method, it is characterised in that including:
Server arranges sight to the one or more parts in textual resources file, and sight configuration information adds text money Source file generates digital content file;By sight configuration information and the one or more sight resources corresponding with sight configuration information File is packaged into sight theme bag;
Terminal unit is from described server download digital content file, from the digital content literary composition adding sight configuration information downloaded Part parses textual resources file, according to the sight configuration information in the textual resources file parsed from described server Carry corresponding sight theme bag, and coordinate to show the textual resources included in the textual resources file parsed and the feelings of download The sight resource included in sight resource file in scape theme bag,
Wherein, terminal unit resolves textual resources file, obtains overall situation sight configuration information, overall situation sight configuration information is preserved In overall situation sight configuration information variable, and obtain chapters and sections information or the paragraph information of digital content;The chapters and sections that parsing is to be shown Or paragraph, obtain the sight configuration information of chapters and sections text to be shown or paragraph text, and be saved in local sight configuration information In variable;According to the sight configuration information in overall situation sight configuration information variable and local sight configuration information variable from server Download corresponding sight theme bag.
11. 1 kinds of reading processing systems, it is characterised in that including:
Server, for the one or more parts in textual resources file being arranged sight, and by textual resources file and with Sight corresponding to one or more parts in textual resources file arranges one or more sight resource files of correspondence and generates Digital content file;
Terminal unit, for downloading described digital content file, from the addition sight configuration information downloaded from described server Digital content file in parse textual resources file and sight resource file, and coordinate to show the textual resources literary composition parsed Textual resources included in part and with institute in the sight configuration information corresponding sight resource file in text resource file The sight resource comprised;
Described parsing module specifically for, resolve textual resources file, obtain the overall situation sight configuration information, by the overall situation sight setting Information is saved in overall situation sight configuration information variable, and obtains chapters and sections information or the paragraph information of digital content;Parsing to show The chapters and sections shown or paragraph, obtain the sight configuration information of chapters and sections text to be shown or paragraph text, and be saved in local sight In configuration information variable;According to the sight in overall situation sight configuration information variable and local sight configuration information variable, letter is set Breath, determines the sight resource included in corresponding sight resource file.
12. 1 kinds of reading processing methods, it is characterised in that including:
Server arranges sight to the one or more parts in textual resources file, and provides by textual resources file with text Sight corresponding to one or more parts in source file arranges one or more sight resource files of correspondence and generates in numeral Hold file;
Terminal unit downloads described digital content file from described server, from the numeral adding sight configuration information downloaded Content file parses textual resources file and sight resource file, and coordinates to show institute in the textual resources file parsed The textual resources that comprises and with included in the sight configuration information corresponding sight resource file in text resource file Sight resource;
Wherein, terminal unit resolves textual resources file, obtains overall situation sight configuration information, overall situation sight configuration information is preserved In overall situation sight configuration information variable, and obtain chapters and sections information or the paragraph information of digital content;The chapters and sections that parsing is to be shown Or paragraph, obtain the sight configuration information of chapters and sections text to be shown or paragraph text, and be saved in local sight configuration information In variable;According to the sight configuration information in overall situation sight configuration information variable and local sight configuration information variable, determine phase The sight resource included in sight resource file answered.
CN201110286892.2A 2011-09-23 2011-09-23 A kind of reading processing system and method, server, terminal unit Expired - Fee Related CN103020082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110286892.2A CN103020082B (en) 2011-09-23 2011-09-23 A kind of reading processing system and method, server, terminal unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110286892.2A CN103020082B (en) 2011-09-23 2011-09-23 A kind of reading processing system and method, server, terminal unit

Publications (2)

Publication Number Publication Date
CN103020082A CN103020082A (en) 2013-04-03
CN103020082B true CN103020082B (en) 2016-10-05

Family

ID=47968696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110286892.2A Expired - Fee Related CN103020082B (en) 2011-09-23 2011-09-23 A kind of reading processing system and method, server, terminal unit

Country Status (1)

Country Link
CN (1) CN103020082B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744665A (en) * 2013-12-26 2014-04-23 方正国际软件有限公司 Caricature playing system and caricature playing method
CN103761277A (en) * 2014-01-09 2014-04-30 北京掌阔技术有限公司 ePub electronic book loading method and system
CN104991708B (en) * 2015-07-22 2018-04-10 北京奇虎科技有限公司 Electronic reading device and its reading scene adaptive collocation method
CN105335455A (en) * 2015-08-28 2016-02-17 广东小天才科技有限公司 Method and device for reading characters
CN106874239A (en) * 2015-12-14 2017-06-20 中兴通讯股份有限公司 It is a kind of to show the method and device for reading text
CN107169430B (en) * 2017-05-02 2020-12-01 哈尔滨工业大学深圳研究生院 Reading environment sound effect enhancement system and method based on image processing semantic analysis
CN108228544B (en) * 2017-12-28 2019-03-29 掌阅科技股份有限公司 E-book reading parameter regulation means, electronic equipment and computer storage medium
CN111045984B (en) * 2019-11-27 2023-09-15 云南电网有限责任公司电力科学研究院 Power grid laboratory file management system and method
CN112035022B (en) * 2020-07-28 2022-03-04 上海连尚网络科技有限公司 Reading page style generation method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1653517A (en) * 2002-05-09 2005-08-10 汤姆森特许公司 Text-to-speech converting for hand-held devices
CN101136089A (en) * 2007-09-24 2008-03-05 腾讯科技(深圳)有限公司 Method, system and device for updating e-mail web page background
CN101213851A (en) * 2005-09-07 2008-07-02 Sk电信有限公司 Method and system for providing integration theme pack service
CN101237585A (en) * 2007-01-30 2008-08-06 展讯通信(上海)有限公司 A text interactive display method
CN101986369A (en) * 2010-11-02 2011-03-16 中兴通讯股份有限公司 Electronic book and document processing method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7546522B2 (en) * 2004-12-20 2009-06-09 Microsoft Corporation Method, system, and computer-readable medium for applying a global formatting scheme to a chart in an electronic document
CN101799800B (en) * 2010-02-10 2012-02-15 深圳市易万卷文化产业有限公司 Method for coding electronic book, electronic newspaper and electronic magazine with hyperlink

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1653517A (en) * 2002-05-09 2005-08-10 汤姆森特许公司 Text-to-speech converting for hand-held devices
CN101213851A (en) * 2005-09-07 2008-07-02 Sk电信有限公司 Method and system for providing integration theme pack service
CN101237585A (en) * 2007-01-30 2008-08-06 展讯通信(上海)有限公司 A text interactive display method
CN101136089A (en) * 2007-09-24 2008-03-05 腾讯科技(深圳)有限公司 Method, system and device for updating e-mail web page background
CN101986369A (en) * 2010-11-02 2011-03-16 中兴通讯股份有限公司 Electronic book and document processing method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
打造专属阅读优派P702情景模式制作教程;3MT网友;《http://bbs_thethirdmedia_com-group-show262066t0p1_html》;20101217;第2页第4段,第5页第1段,第6页第3段,第9页第1段 *

Also Published As

Publication number Publication date
CN103020082A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103020082B (en) A kind of reading processing system and method, server, terminal unit
CN110286976B (en) Interface display method, device, terminal and storage medium
CN112911379B (en) Video generation method, device, electronic equipment and storage medium
KR101298370B1 (en) Acceleration of rendering of web-based content
CN103702232B (en) Intelligent television theme custom-built system and its method for customizing
CN111031386B (en) Video dubbing method and device based on voice synthesis, computer equipment and medium
CN109445784A (en) Processing method, device, storage medium and the electronic equipment of structured data
CN103399690A (en) Photographing guiding method and device and mobile terminal
CN113082721B (en) Resource management method and device for application program of integrated game module, electronic equipment and storage medium
CN113411664B (en) Video processing method and device based on sub-application and computer equipment
US20130117670A1 (en) System and method for creating recordings associated with electronic publication
WO2006054869A1 (en) Mobile communication terminal capable of playing and updating multimedia content and method of playing the same
Zhou RETRACTED: Innovative Research on New Media Interactive Art and Visual Communication Design Based on Computer Virtual Reality
CN109614189A (en) A kind of system, method and device for realizing APP icon dynamically load animation
JP2004310352A (en) Information processor, information processing method, storage medium, and program
Murray Cybernated aesthetics: Lee Bul and the body transfigured
CN101219029A (en) Video terminal, display method and storage medium for providing buddhism bodhimandala scene
CN113450762A (en) Character reading method, device, terminal and storage medium
CN103116632A (en) Generation method of theme pack, device and equipment
CN106020894A (en) Method for controlling electronic device and electronic device
Tecchia et al. Multimodal interaction for the web
CN104506751A (en) Method and device for generating electronic postcard with voice
KR20130092692A (en) Method and computer readable recording medium for making electronic book which can be realized by user voice
US10108307B1 (en) Generation and distribution of device experience
CN106598685A (en) Method for editing note and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: FOUNDER MOBILE MEDIA TECHNOLOGY (BEIJING) CO., LTD

Free format text: FORMER OWNER: BEIDA FANGZHENG GROUP CO. LTD.

Effective date: 20130802

Free format text: FORMER OWNER: FOUNDER MOBILE MEDIA TECHNOLOGY (BEIJING) CO., LTD.

Effective date: 20130802

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100871 HAIDIAN, BEIJING TO: 100080 HAIDIAN, BEIJING

TA01 Transfer of patent application right

Effective date of registration: 20130802

Address after: 100080, room 901, 9 floor, No. 52 West Fourth Ring Road, Haidian District, Beijing

Applicant after: FOUNDER MOBILE MEDIA TECHNOLOGY (BEIJING) Co.,Ltd.

Address before: 100871 Beijing, Haidian District Road, building No. 298, founder of the building, Zhongguancun, layer 5

Applicant before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Applicant before: FOUNDER MOBILE MEDIA TECHNOLOGY (BEIJING) Co.,Ltd.

ASS Succession or assignment of patent right

Owner name: BEIDA FANGZHENG ELECTRONICS CO., LTD., BEIJING

Free format text: FORMER OWNER: FOUNDER MOBILE MEDIA TECHNOLOGY (BEIJING) CO., LTD.

Effective date: 20150122

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100080 HAIDIAN, BEIJING TO: 100085 HAIDIAN, BEIJING

TA01 Transfer of patent application right

Effective date of registration: 20150122

Address after: 100085, fangzheng building, No. nine, five street, Beijing, Haidian District

Applicant after: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Address before: 100080, room 901, 9 floor, No. 52 West Fourth Ring Road, Haidian District, Beijing

Applicant before: FOUNDER MOBILE MEDIA TECHNOLOGY (BEIJING) Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161005

CF01 Termination of patent right due to non-payment of annual fee