CN109446501A - A kind of processing method of the network novel, device, terminal and computer storage medium - Google Patents

A kind of processing method of the network novel, device, terminal and computer storage medium Download PDF

Info

Publication number
CN109446501A
CN109446501A CN201811206285.9A CN201811206285A CN109446501A CN 109446501 A CN109446501 A CN 109446501A CN 201811206285 A CN201811206285 A CN 201811206285A CN 109446501 A CN109446501 A CN 109446501A
Authority
CN
China
Prior art keywords
background music
scene
chapters
dub
sections content
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.)
Withdrawn
Application number
CN201811206285.9A
Other languages
Chinese (zh)
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.)
Sheng Hansheng
Original Assignee
Sheng Hansheng
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 Sheng Hansheng filed Critical Sheng Hansheng
Priority to CN201811206285.9A priority Critical patent/CN109446501A/en
Publication of CN109446501A publication Critical patent/CN109446501A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

The present invention is suitable for software field, provides processing method, device, terminal and the computer storage medium of a kind of network novel, comprising: obtains chapters and sections content current in the network novel;According to chapters and sections content and the scene type database of pre-configuration, the corresponding scene type of chapters and sections content is identified;It is pre-establishing in music storehouse, acquisition belongs to the multiple of scene type and dubs in background music;Obtain multiple timestamps dubbed in background music;Current time and timestamp are subtracted each other, the time interval dubbed in background music is generated;The number of clicks that the addition function key of model, the time interval dubbed in background music and the right of dubbing in background music is generated using preset rank value, generates the rank value dubbed in background music;Descending arrangement is carried out to multiple rank values dubbed in background music, obtains maximum rank value;It in multiple dub in background music, obtains that maximum recommended degree is corresponding dubs in background music, during the display of chapters and sections content, plays that maximum rank value is corresponding dubs in background music.The present invention is conducive to build reading atmosphere of the chapters and sections content under the scene type, and enhancing is readable.

Description

A kind of processing method of the network novel, device, terminal and computer storage medium
Technical field
The invention belongs to software fields more particularly to a kind of processing method of the network novel, device, terminal and computer to deposit Storage media.
Background technique
The network novel is with network for basic platform, the novel works delivered by storywriter and other people is supplied to read.With The continuous development of network and universal, the network novel has obtained swift and violent development, and more and more users pass through mobile terminal reading The network novel, to enjoy network novel bring enjoyment.
However, the processing method of the existing network novel, will not identify the scene type of word content, will not add corresponding Dub in background music so that the network novel readability it is not satisfactory.The reason is that the existing network novel can only be shown in text Hold, will not identify the scene type of word content, will not add and dub in background music accordingly, and dubs in background music and be able to cooperate the plot hair of the network novel The mood of exhibition and scene, plays the role of setting off atmosphere by contrast, lacks and dub in background music, also just do not have the effect for setting off atmosphere by contrast, therefore, network The readability of novel is not satisfactory, and therefore, the existing technology needs to be improved and developed.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of processing method of network novel, device, terminal and computers to deposit Storage media will not identify the scene type of word content to solve the processing method of the existing network novel, will not add corresponding The problem of dubbing in background music.
The first aspect of the embodiment of the present invention provides a kind of processing method of network novel, comprising:
Obtain chapters and sections content current in the network novel;
According to the chapters and sections content and the scene type database of pre-configuration, the corresponding scene of the chapters and sections content is identified Classification;
It is pre-establishing in music storehouse, acquisition belongs to the multiple of the scene type and dubs in background music;
Multiple timestamps dubbed in background music are obtained, the timestamp is the issuing time dubbed in background music;
The current time and the timestamp are subtracted each other, the time interval dubbed in background music described in generation;
Model, the time interval dubbed in background music and the broadcasting time dubbed in background music are generated using preset rank value, it is raw At the rank value dubbed in background music;
Descending arrangement is carried out to multiple rank values dubbed in background music, obtains maximum rank value;
It is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, during the display of the chapters and sections content, broadcast Put that described maximum rank value is corresponding dubs in background music;
Wherein, the rank value generates model, specifically:
Wherein, CnFor the rank value dubbed in background music described in n-th;N is the serial number dubbed in background music, and n value range is 1 to N, and N is The total number dubbed in background music;PlaynFor the broadcasting time dubbed in background music described in n-th,For the broadcasting dubbed in background music time The sum of number;For the ratio of the broadcasting time and the sum of the broadcasting time dubbed in background music dubbed in background music described in n-th, it is used for Description is based on broadcasting time, n-th of played probability of dubbing in background music;It is proportionality coefficient,It indicates? Ratio shared by rank value;For describing based on time interval, requested probability of dubbing in background music described in n-th,It indicatesRatio shared by rank value.
The second aspect of the embodiment of the present invention provides a kind of processing unit of network novel, comprising:
Chapters and sections content obtains module, for obtaining chapters and sections content current in the network novel;
Scene type identification module, for the scene type database according to the chapters and sections content and pre-configuration, identification The corresponding scene type of the chapters and sections content;
It dubs in background music and obtains module, for pre-establishing in music storehouse, acquisition belongs to the multiple of the scene type and dubs in background music;
Time-stamp Recognition module, for obtaining multiple timestamps dubbed in background music, when the timestamp is the publication dubbed in background music Between;
Time interval generation module, for the current time and the timestamp to be subtracted each other, dub in background music described in generation when Between be spaced;
Rank value generation module, for generating model, the time interval dubbed in background music and institute using preset rank value State the broadcasting time dubbed in background music, the rank value dubbed in background music described in generation;
Maximum rank value obtains module, for carrying out descending arrangement to multiple rank values dubbed in background music, obtains maximum row Name value;
Dub in background music playing module, for it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding dubs in background music, in the chapters and sections During the display of content, play that described maximum rank value is corresponding dubs in background music;
Wherein, the rank value generates model, specifically:
Wherein, CnFor the rank value dubbed in background music described in n-th;N is the serial number dubbed in background music, and n value range is 1 to N, and N is The total number dubbed in background music;PlaynFor the broadcasting time dubbed in background music described in n-th,For the broadcasting dubbed in background music time The sum of number;For the ratio of the broadcasting time and the sum of the broadcasting time dubbed in background music dubbed in background music described in n-th, it is used for Description is based on broadcasting time, n-th of played probability of dubbing in background music;It is proportionality coefficient,It indicates? Ratio shared by rank value;For describing based on time interval, requested probability of dubbing in background music described in n-th,It indicatesRatio shared by rank value.
The third aspect of the embodiment of the present invention provides a kind of terminal, including memory, processor and is stored in described In memory and the computer program that can run on the processor, the processor are realized when executing the computer program The step of above method.
The fourth aspect of the embodiment of the present invention provides a kind of computer storage medium, the computer storage medium storage The step of having computer program, the above method is realized when the computer program is executed by processor.
Existing beneficial effect is the embodiment of the present invention compared with prior art:
On the one hand, it is pre-establishing in music storehouse, acquisition belongs to the multiple of scene type and dubs in background music, and strengthens the scene class Other atmosphere rendering, increases the telepresenc of the scene type, greatly promotes the enjoyment for reading the network novel, is conducive to build chapter Reading atmosphere of the content under the scene type is saved, and then enhances the readability of the network novel;
On the other hand, play it is maximum rank value is corresponding dubs in background music, combine since rank value generates model based on clicking time The dub in background music probability being clicked and the probability selected of dubbing in background music based on time interval are counted, therefore, the rank value reliability of generation is higher, Play it is maximum rank value is corresponding dubs in background music, the actual demand of client can be better meet.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of the processing method of the network novel provided in an embodiment of the present invention;
Fig. 2 is the structural block diagram of the processing unit of the network novel provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step, Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one
It is the implementation flow chart of the processing method of the network novel provided in an embodiment of the present invention, this method with reference to Fig. 1, Fig. 1 Applied to terminal, the processing method of the network novel as shown in Figure 1 be may comprise steps of:
S101 obtains chapters and sections content current in the network novel;
Wherein, the network novel may include offline network novel or the online network novel;The offline network novel is It is pre-stored in the network novel of this terminal, the online network novel is this terminal by network, is carried out on network novel reading platform The novel of reading.
S102 identifies that the chapters and sections content is corresponding according to the chapters and sections content and the scene type database of pre-configuration Scene type;
S103 is being pre-established in music storehouse, and acquisition belongs to the multiple of the scene type and dubs in background music;
By being associated with the scene type dubbed in background music and set, the corresponding pass between the scene type dubbed in background music and set is established System, different dub in background music is presented according to different scene types.
Wherein, it is associated with the scene type dubbed in background music and set, specifically:
It shows list of dubbing in background music, includes dubbing in background music in system in the list of dubbing in background music;
What detection was specified in the list of dubbing in background music dubs in background music;
Obtain specified dub in background music;
Obtain the scene type of setting;
The specified scene type dubbed in background music and set of association.
Wherein, the corresponding relationship between the scene type dubbed in background music and set is contained in the inventory that dubs in background music, and is dubbed in background music according to storage And the corresponding relationship between the scene type of setting, from in music storehouse, by the scene type and the scene type of setting into Row matches, and after successful match, acquisition belongs to the multiple of the scene type and dubs in background music.
S104, obtains multiple timestamps dubbed in background music, and the timestamp is the issuing time dubbed in background music;
S105 subtracts each other the current time and the timestamp, the time interval dubbed in background music described in generation;
S106 generates model, the time interval dubbed in background music and the broadcasting dubbed in background music time using preset rank value It counts, the rank value dubbed in background music described in generation;
S107 carries out descending arrangement to multiple rank values dubbed in background music, obtains maximum rank value;
S108, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, in the display phase of the chapters and sections content Between, play that described maximum rank value is corresponding dubs in background music;
Wherein, the rank value generates model, specifically:
Wherein, CnFor the rank value dubbed in background music described in n-th;N is the serial number dubbed in background music, and n value range is 1 to N, and N is The total number dubbed in background music;PlaynFor the broadcasting time dubbed in background music described in n-th,For the broadcasting dubbed in background music time The sum of number;For the ratio of the broadcasting time and the sum of the broadcasting time dubbed in background music dubbed in background music described in n-th, it is used for Description is based on broadcasting time, n-th of played probability of dubbing in background music;It is proportionality coefficient,It indicates? Ratio shared by rank value;For describing based on time interval, requested probability of dubbing in background music described in n-th,It indicatesRatio shared by rank value.
Wherein, the unit of time interval is point.
Wherein, because of dubbing in background music more than client preference request broadcasting time,It is secondary based on playing for describing Number, n-th of played probability of dubbing in background music,Relationship with rank value is to be positively correlated, and such have the technical effect that is broadcast It puts that number is more, dubs in background music bigger by the probability of client request, the demand of client can be better meet;
Wherein, it dubs in background music because client preference request is nearest,Match described in time interval for describing to be based on The happy probability selected,Relationship with rank value is to be positively correlated, such to have the technical effect that time interval is shorter, It dubs in background music bigger by the probability of client request, the demand of client can be better meet.
The beneficial effect of the embodiment of the present invention is two aspects, and details are as follows:
On the one hand, it is pre-establishing in music storehouse, acquisition belongs to the multiple of scene type and dubs in background music, and strengthens the scene class Other atmosphere rendering, increases the telepresenc of the scene type, greatly promotes the enjoyment for reading the network novel, is conducive to build chapter Reading atmosphere of the content under the scene type is saved, and then enhances the readability of the network novel;
On the other hand, play it is maximum rank value is corresponding dubs in background music, combine since rank value generates model based on clicking time The dub in background music probability being clicked and the probability selected of dubbing in background music based on time interval are counted, therefore, the rank value reliability of generation is higher, Play it is maximum rank value is corresponding dubs in background music, the actual demand of client can be better meet.
Embodiment two
The embodiment of the present invention describes the implementation process of configuration scene type database, and details are as follows:
In the scene type database of chapters and sections content and pre-configuration that the basis is got, identify scene type it Before, the method, further includes:
The Feature Words of description scene and the incidence relation of scene type are established, scene type database is configured;
Wherein, each one scene type of the feature word association.
Wherein, the Feature Words of description scene and the incidence relation of scene type are established, scene type database is configured, it can be with Before or after step S101, herein with no restrictions.
The embodiment of the present invention, the Feature Words of description scene and the incidence relation of scene type are established, can be better meet The actual demand of client.
Embodiment three
The embodiment of the present invention describes the implementation process of the corresponding scene type of identification chapters and sections content, and details are as follows:
It is described according to the chapters and sections content and the scene type database of pre-configuration, identify that the chapters and sections content is corresponding Scene type, specifically:
The word of the chapters and sections content is matched with the Feature Words;
If the word of the chapters and sections content Feature Words nervous with description match, the corresponding field of the chapters and sections content is identified Scape classification is nervous scene;
If the word of the chapters and sections content is matched with quiet Feature Words are described, the corresponding field of the chapters and sections content is identified Scape classification is quiet scene;
If the word of the chapters and sections content Feature Words sentimental with description match, the corresponding field of the chapters and sections content is identified Scape classification is sentimental scene;
If the word of the chapters and sections content Feature Words happy with description match, the corresponding field of the chapters and sections content is identified Scape classification is happy scene;
If the word of the chapters and sections content is matched with the Feature Words that description is fought, the corresponding field of the chapters and sections content is identified Scape classification is battle scene.
The embodiment of the present invention, the Feature Words of description scene and the incidence relation of scene type are established, can be better meet The actual demand of client.
Example IV
The embodiment of the present invention, which describes, plays the corresponding implementation process dubbed in background music of maximum recommended degree, and details are as follows:
It is described it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, in the display phase of the chapters and sections content Between, play that the maximum recommended degree is corresponding to dub in background music, specifically:
It is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, during the display of the chapters and sections content, obtain The corresponding volume of the scene type is taken, with the corresponding volume of the scene type, plays that the maximum recommended degree is corresponding to match It is happy;Wherein, each scene type respectively corresponds a volume.
Wherein, according to the corresponding relationship of the scene type and volume that pre-establish, the corresponding sound of the scene type is obtained Amount plays that the maximum recommended degree is corresponding to dub in background music with the corresponding volume of the scene type;Wherein, each scene class A volume is not respectively corresponded.
Wherein, each scene type respectively corresponds a volume, can be user from setting, can also with system default, Herein with no restrictions.
For purposes of illustration only, the process of setting volume, is exemplified below:
When scene type is nervous scene, volume is set as 75 decibels;
Scene type is quiet scene, and volume is set as 50 decibels;
Scene type is sentimental scene, and volume is set as 60 decibels;
Scene type is happy scene, and volume is set as 70 decibels;
When scene type is battle scene, volume is set as 80 decibels.
The embodiment of the present invention, different volumes is arranged in different scenes classification, and volume is arranged for the scene type, is convenient for Subsequent calls.
Embodiment five
The embodiment of the present invention describes broadcasting, and maximum recommended degree is corresponding dubs in background music, in practical applications, specific implementation process, Details are as follows:
When the scene type is nervous scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, During the display of the chapters and sections content, the corresponding volume of the nervous scene is obtained with 75 decibels and plays the maximum recommended Spend corresponding dub in background music;
When the scene type is quiet scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, During the display of the chapters and sections content, the corresponding volume of the quiet scene is obtained, with 50 decibels, plays the maximum recommended Spend corresponding dub in background music;
When the scene type is sentimental scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, During the display of the chapters and sections content, the corresponding volume of the sentimental scene is obtained with 60 decibels and plays the maximum recommended Spend corresponding dub in background music;
When the scene type is happy scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, During the display of the chapters and sections content, the corresponding volume of the happy scene is obtained with 70 decibels and plays the maximum recommended Spend corresponding dub in background music;
When the scene type is battle scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, During the display of the chapters and sections content, the corresponding volume of the battle scene is obtained, with 80 decibels, plays the maximum recommended Spend corresponding dub in background music.
The embodiment of the present invention, the corresponding volume of the scene type is obtained, with the corresponding volume of the scene type, is broadcast Put that the maximum recommended degree is corresponding to dub in background music, it is such to have the technical effect that the corresponding volume of different scenes classification is different, for this Scene type changes volume, is conducive to further build reading atmosphere of the chapters and sections content under the scene type, and then enhance net The readability of network novel.
Embodiment six
The embodiment of the present invention describes the implementation process dubbed in background music for updating library storage of dubbing in background music, and details are as follows:
It is described it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, in the display of the chapters and sections content Period, play it is described it is maximum rank value is corresponding dub in background music after, the method also includes:
The period that reading system time and user specify connects server when reaching the period, updates the inventory that dubs in background music Storage is dubbed in background music.
In embodiments of the present invention, dubbing in background music for library storage of dubbing in background music is updated, the actual demand of client can be better meet.
Embodiment seven
It is the network novel provided in an embodiment of the present invention with reference to Fig. 2, Fig. 2 corresponding to method described in foregoing embodiments one Processing unit structural block diagram, be applied to terminal, terminal includes but is not limited to mobile phone, computer.For purposes of illustration only, only Show part related to the present embodiment.For ease of description, only the parts related to this embodiment are shown.
Referring to Fig. 2, the processing unit of the network novel includes:
Chapters and sections content obtains module 21, for obtaining chapters and sections content current in the network novel;
Scene type identification module 22 is known for the scene type database according to the chapters and sections content and pre-configuration The corresponding scene type of not described chapters and sections content;
It dubs in background music and obtains module 23, for pre-establishing in music storehouse, acquisition belongs to the multiple of the scene type and matches It is happy;
Time-stamp Recognition module 24, for obtaining multiple timestamps dubbed in background music, the timestamp is the publication dubbed in background music Time;
Time interval generation module 25 is dubbed in background music described in generation for subtracting each other the current time and the timestamp Time interval;
Rank value generation module 26, for using preset rank value generate model, the time interval dubbed in background music and The broadcasting time dubbed in background music, the rank value dubbed in background music described in generation;
Maximum rank value obtains module 27, for carrying out descending arrangement to multiple rank values dubbed in background music, obtains maximum Rank value;
Dub in background music playing module 28, for it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding dubs in background music, in the chapter During the display for saving content, play that described maximum rank value is corresponding dubs in background music;
Wherein, the rank value generates model, specifically:
Wherein, CnFor the rank value dubbed in background music described in n-th;N is the serial number dubbed in background music, and n value range is 1 to N, and N is The total number dubbed in background music;PlaynFor the broadcasting time dubbed in background music described in n-th,For the broadcasting dubbed in background music time The sum of number;For the ratio of the broadcasting time and the sum of the broadcasting time dubbed in background music dubbed in background music described in n-th, it is used for Description is based on broadcasting time, n-th of played probability of dubbing in background music;It is proportionality coefficient,It indicates? Ratio shared by rank value;For describing based on time interval, requested probability of dubbing in background music described in n-th,It indicatesRatio shared by rank value.
As a kind of embodiment of the embodiment of the present invention, described device further include:
Configuration module configures scene type number for establishing the Feature Words of description scene and the incidence relation of scene type According to library;Wherein, each one scene type of the feature word association;
The scene type identification module, specifically for carrying out the word of the chapters and sections content and the Feature Words Match;
If the word of the chapters and sections content Feature Words nervous with description match, the corresponding field of the chapters and sections content is identified Scape classification is nervous scene;
If the word of the chapters and sections content is matched with quiet Feature Words are described, the corresponding field of the chapters and sections content is identified Scape classification is quiet scene;
If the word of the chapters and sections content Feature Words sentimental with description match, the corresponding field of the chapters and sections content is identified Scape classification is sentimental scene;
If the word of the chapters and sections content Feature Words happy with description match, the corresponding field of the chapters and sections content is identified Scape classification is happy scene;
If the word of the chapters and sections content is matched with the Feature Words that description is fought, the corresponding field of the chapters and sections content is identified Scape classification is battle scene.
As a kind of embodiment of the embodiment of the present invention, in said device, the playing module of dubbing in background music is specifically used for It is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, during the display of the chapters and sections content, obtain the field The corresponding volume of scape classification plays that the maximum recommended degree is corresponding to dub in background music with the corresponding volume of the scene type;Wherein, Each scene type respectively corresponds a volume;
The playing module of dubbing in background music, specifically for it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, During the display of the chapters and sections content, the corresponding volume of the scene type is obtained, with the corresponding volume of the scene type, is broadcast Put that the maximum recommended degree is corresponding to dub in background music;
Wherein, each scene type respectively corresponds a volume;
It is described it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, in the display phase of the chapters and sections content Between, the corresponding volume of the scene type is obtained, with the corresponding volume of the scene type, it is corresponding to play the maximum recommended degree Dub in background music, specifically:
When the scene type is nervous scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, During the display of the chapters and sections content, the corresponding volume of the nervous scene is obtained with 75 decibels and plays the maximum recommended Spend corresponding dub in background music;
When the scene type is quiet scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, During the display of the chapters and sections content, the corresponding volume of the quiet scene is obtained, with 50 decibels, plays the maximum recommended Spend corresponding dub in background music;
When the scene type is sentimental scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, During the display of the chapters and sections content, the corresponding volume of the sentimental scene is obtained with 60 decibels and plays the maximum recommended Spend corresponding dub in background music;
When the scene type is happy scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, During the display of the chapters and sections content, the corresponding volume of the happy scene is obtained with 70 decibels and plays the maximum recommended Spend corresponding dub in background music;
When the scene type is battle scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, During the display of the chapters and sections content, the corresponding volume of the battle scene is obtained, with 80 decibels, plays the maximum recommended Spend corresponding dub in background music.
The beneficial effect of the embodiment of the present invention is two aspects, and details are as follows:
On the one hand, it is pre-establishing in music storehouse, acquisition belongs to the multiple of scene type and dubs in background music, and strengthens the scene class Other atmosphere rendering, increases the telepresenc of the scene type, greatly promotes the enjoyment for reading the network novel, is conducive to build chapter Reading atmosphere of the content under the scene type is saved, and then enhances the readability of the network novel;
On the other hand, play it is maximum rank value is corresponding dubs in background music, combine since rank value generates model based on clicking time The dub in background music probability being clicked and the probability selected of dubbing in background music based on time interval are counted, therefore, the rank value reliability of generation is higher, Play it is maximum rank value is corresponding dubs in background music, the actual demand of client can be better meet.
Embodiment eight
Fig. 3 is the schematic diagram of terminal provided in an embodiment of the present invention.As shown in figure 3, the terminal 3 of the embodiment includes: place It manages device 30, memory 31 and is stored in the computer program that can be run in the memory 31 and on the processor 30 32, such as the processing routine of the network novel.The processor 30 realizes above-mentioned each network when executing the computer program 32 Step in the processing method embodiment of novel.
Illustratively, the computer program 32 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 31, and are executed by the processor 30, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 32 in the terminal 3 is described.
The terminal 3 can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.Institute Stating terminal may include, but be not limited only to, processor 30, memory 31.
It will be understood by those skilled in the art that Fig. 3 is only the example of terminal 3, the not restriction of structure paired terminal 3 can To include perhaps combining certain components or different components than illustrating more or fewer components, such as the terminal may be used also To include input-output equipment, network access equipment, bus etc..
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 31 can be the internal storage unit of the terminal 3, such as the hard disk or memory of terminal 3.It is described Memory 31 is also possible to the External memory equipment of the terminal 3, such as the plug-in type hard disk being equipped in the terminal 3, intelligence Storage card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) Deng.Further, the memory 31 can also both include the internal storage unit of the terminal 3 or set including external storage It is standby.
The memory 31 is for other programs and data needed for storing the computer program and the terminal.Institute Stating memory 31 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
In addition, being specifically also only for convenience of distinguishing each other for each functional unit, module, is not intended to limit this application Protection scope.The specific work process of unit in above system, module, can be with reference to corresponding in preceding method embodiment Journey, details are not described herein.
A kind of computer storage medium is provided in another embodiment of the invention, and the computer storage medium is stored with Computer program, the computer program are realized when being executed by processor in the processing method embodiment of above-mentioned each network novel The step of.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
In embodiment provided by the present invention, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module or unit, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or Communication connection can be electrical property, mechanical or other forms.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of processing method of the network novel characterized by comprising
Obtain chapters and sections content current in the network novel;
According to the chapters and sections content and the scene type database of pre-configuration, the corresponding scene class of the chapters and sections content is identified Not;
It is pre-establishing in music storehouse, acquisition belongs to the multiple of the scene type and dubs in background music;
Multiple timestamps dubbed in background music are obtained, the timestamp is the issuing time dubbed in background music;
The current time and the timestamp are subtracted each other, the time interval dubbed in background music described in generation;
Model, the time interval dubbed in background music and the broadcasting time dubbed in background music are generated using preset rank value, generate institute State the rank value dubbed in background music;
Descending arrangement is carried out to multiple rank values dubbed in background music, obtains maximum rank value;
It is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, during the display of the chapters and sections content, play institute State that maximum rank value is corresponding to dub in background music;
Wherein, the rank value generates model, specifically:
Wherein, CnFor the rank value dubbed in background music described in n-th;N is the serial number dubbed in background music, and n value range is 1 to N, and N is described matches Happy total number;PlaynFor the broadcasting time dubbed in background music described in n-th,For the broadcasting time dubbed in background music it With;For the ratio of the broadcasting time and the sum of the broadcasting time dubbed in background music dubbed in background music described in n-th, for describing Based on broadcasting time, n-th of played probability of dubbing in background music;It is proportionality coefficient,It indicatesIn ranking The shared ratio of value;For describing based on time interval, requested probability of dubbing in background music described in n-th, It indicatesRatio shared by rank value.
2. the method as described in claim 1, which is characterized in that the chapters and sections content that gets in the basis and pre-configuration Scene type database, before identifying scene type, the method, further includes:
The Feature Words of description scene and the incidence relation of scene type are established, scene type database is configured;
Wherein, each one scene type of the feature word association.
3. the method as described in claim 1, which is characterized in that described according to the chapters and sections content and the scene class of pre-configuration Other database identifies the corresponding scene type of the chapters and sections content, specifically:
The word of the chapters and sections content is matched with the Feature Words;
If the word of the chapters and sections content Feature Words nervous with description match, the corresponding scene class of the chapters and sections content is identified It Wei not nervous scene;
If the word of the chapters and sections content is matched with quiet Feature Words are described, the corresponding scene class of the chapters and sections content is identified It Wei not quiet scene;
If the word of the chapters and sections content Feature Words sentimental with description match, the corresponding scene class of the chapters and sections content is identified It Wei not sentimental scene;
If the word of the chapters and sections content Feature Words happy with description match, the corresponding scene class of the chapters and sections content is identified It Wei not happy scene;
If the word of the chapters and sections content is matched with the Feature Words that description is fought, the corresponding scene class of the chapters and sections content is identified It Wei not battle scene.
4. the method according to claim 1, wherein it is described it is multiple it is described dub in background music, obtain maximum recommended degree It is corresponding to dub in background music, during the display of the chapters and sections content, play that the maximum recommended degree is corresponding to dub in background music, specifically:
It is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, during the display of the chapters and sections content, obtain institute The corresponding volume of scene type is stated, with the corresponding volume of the scene type, plays that the maximum recommended degree is corresponding to dub in background music;
Wherein, each scene type respectively corresponds a volume.
5. according to the method described in claim 4, it is characterized in that, it is multiple it is described dub in background music, it is corresponding to obtain maximum recommended degree Dub in background music, during the display of the chapters and sections content, obtain the corresponding volume of the scene type, it is corresponding with the scene type Volume, play that the maximum recommended degree is corresponding to dub in background music, specifically:
When the scene type is nervous scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, in institute During the display for stating chapters and sections content, the corresponding volume of the nervous scene is obtained with 75 decibels and plays the maximum recommended degree pair That answers dubs in background music;
When the scene type is quiet scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, in institute During the display for stating chapters and sections content, the corresponding volume of the quiet scene is obtained, with 50 decibels, plays the maximum recommended degree pair That answers dubs in background music;
When the scene type is sentimental scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, in institute During the display for stating chapters and sections content, the corresponding volume of the sentimental scene is obtained with 60 decibels and plays the maximum recommended degree pair That answers dubs in background music;
When the scene type is happy scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, in institute During the display for stating chapters and sections content, the corresponding volume of the happy scene is obtained with 70 decibels and plays the maximum recommended degree pair That answers dubs in background music;
When the scene type is battle scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, in institute During the display for stating chapters and sections content, the corresponding volume of the battle scene is obtained, with 80 decibels, plays the maximum recommended degree pair That answers dubs in background music.
6. a kind of processing unit of the network novel characterized by comprising
Chapters and sections content obtains module, for obtaining chapters and sections content current in the network novel;
Scene type identification module, for the scene type database according to the chapters and sections content and pre-configuration, described in identification The corresponding scene type of chapters and sections content;
It dubs in background music and obtains module, for pre-establishing in music storehouse, acquisition belongs to the multiple of the scene type and dubs in background music;
Time-stamp Recognition module, for obtaining multiple timestamps dubbed in background music, the timestamp is the issuing time dubbed in background music;
Time interval generation module, for subtracting each other the current time and the timestamp, between the time dubbed in background music described in generation Every;
Rank value generation module, for generating model, the time interval dubbed in background music using preset rank value and described matching Happy broadcasting time, the rank value dubbed in background music described in generation;
Maximum rank value obtains module, for carrying out descending arrangement to multiple rank values dubbed in background music, obtains maximum rank value;
Dub in background music playing module, for it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding dubs in background music, in the chapters and sections content Display during, play that described maximum rank value is corresponding dubs in background music;
Wherein, the rank value generates model, specifically:
Wherein, CnFor the rank value dubbed in background music described in n-th;N is the serial number dubbed in background music, and n value range is 1 to N, and N is described matches Happy total number;PlaynFor the broadcasting time dubbed in background music described in n-th,For the broadcasting time dubbed in background music it With;For the ratio of the broadcasting time and the sum of the broadcasting time dubbed in background music dubbed in background music described in n-th, for describing Based on broadcasting time, n-th of played probability of dubbing in background music;It is proportionality coefficient,It indicatesIn ranking The shared ratio of value;For describing based on time interval, requested probability of dubbing in background music described in n-th, It indicatesRatio shared by rank value.
7. device as claimed in claim 6, which is characterized in that described device further include:
Configuration module configures scene type database for establishing the Feature Words of description scene and the incidence relation of scene type; Wherein, each one scene type of the feature word association;
The scene type identification module, specifically for matching the word of the chapters and sections content with the Feature Words;
If the word of the chapters and sections content Feature Words nervous with description match, the corresponding scene class of the chapters and sections content is identified It Wei not nervous scene;
If the word of the chapters and sections content is matched with quiet Feature Words are described, the corresponding scene class of the chapters and sections content is identified It Wei not quiet scene;
If the word of the chapters and sections content Feature Words sentimental with description match, the corresponding scene class of the chapters and sections content is identified It Wei not sentimental scene;
If the word of the chapters and sections content Feature Words happy with description match, the corresponding scene class of the chapters and sections content is identified It Wei not happy scene;
If the word of the chapters and sections content is matched with the Feature Words that description is fought, the corresponding scene class of the chapters and sections content is identified It Wei not battle scene.
8. device as claimed in claim 6, which is characterized in that
The playing module of dubbing in background music, specifically for it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, described During the display of chapters and sections content, the corresponding volume of the scene type is obtained, with the corresponding volume of the scene type, plays institute State that maximum recommended degree is corresponding to dub in background music;
Wherein, each scene type respectively corresponds a volume;
It is described it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, during the display of the chapters and sections content, obtain The corresponding volume of the scene type is taken, with the corresponding volume of the scene type, plays that the maximum recommended degree is corresponding to match It is happy, specifically:
When the scene type is nervous scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, in institute During the display for stating chapters and sections content, the corresponding volume of the nervous scene is obtained with 75 decibels and plays the maximum recommended degree pair That answers dubs in background music;
When the scene type is quiet scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, in institute During the display for stating chapters and sections content, the corresponding volume of the quiet scene is obtained, with 50 decibels, plays the maximum recommended degree pair That answers dubs in background music;
When the scene type is sentimental scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, in institute During the display for stating chapters and sections content, the corresponding volume of the sentimental scene is obtained with 60 decibels and plays the maximum recommended degree pair That answers dubs in background music;
When the scene type is happy scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, in institute During the display for stating chapters and sections content, the corresponding volume of the happy scene is obtained with 70 decibels and plays the maximum recommended degree pair That answers dubs in background music;
When the scene type is battle scene, it is multiple it is described dub in background music, obtain that maximum recommended degree is corresponding to dub in background music, in institute During the display for stating chapters and sections content, the corresponding volume of the battle scene is obtained, with 80 decibels, plays the maximum recommended degree pair That answers dubs in background music.
9. a kind of terminal, including memory, processor and storage can be run in the memory and on the processor Computer program, which is characterized in that the processor is realized when executing the computer program as claim 1 to 5 is any The step of item the method.
10. a kind of computer storage medium, the computer storage medium is stored with computer program, which is characterized in that described It is realized when computer program is executed by processor such as the step of any one of claim 1 to 5 the method.
CN201811206285.9A 2018-10-17 2018-10-17 A kind of processing method of the network novel, device, terminal and computer storage medium Withdrawn CN109446501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811206285.9A CN109446501A (en) 2018-10-17 2018-10-17 A kind of processing method of the network novel, device, terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811206285.9A CN109446501A (en) 2018-10-17 2018-10-17 A kind of processing method of the network novel, device, terminal and computer storage medium

Publications (1)

Publication Number Publication Date
CN109446501A true CN109446501A (en) 2019-03-08

Family

ID=65546730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811206285.9A Withdrawn CN109446501A (en) 2018-10-17 2018-10-17 A kind of processing method of the network novel, device, terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN109446501A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113099295A (en) * 2020-01-09 2021-07-09 袁芬 Music distribution volume self-adaptive adjusting platform

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113099295A (en) * 2020-01-09 2021-07-09 袁芬 Music distribution volume self-adaptive adjusting platform

Similar Documents

Publication Publication Date Title
CN109669924A (en) Sharing method, device, electronic equipment and the storage medium of online document
CN107924679A (en) Delayed binding during inputting understanding processing in response selects
CN104537000B (en) A kind of method and apparatus for pushed information
CN109876450A (en) Implementation method, server, computer equipment and storage medium based on AR game
CN107733984A (en) A kind of method, terminal and computer-readable recording medium for pushing screen locking information
CN108170731A (en) Data processing method, device, computer storage media and server
US11915158B2 (en) Cross-domain action prediction
CN107786432A (en) Information displaying method, device, computer installation and calculating readable storage medium storing program for executing
CN107506494B (en) Document handling method, mobile terminal and computer readable storage medium
CN103902281A (en) Providing a common virtual item repository in a virtual space
CN109462777B (en) Video heat updating method, device, terminal and storage medium
CN111767459A (en) Item recommendation method and device
CN109446501A (en) A kind of processing method of the network novel, device, terminal and computer storage medium
CN106658232B (en) The method and electric terminal of label editing
CN109241329A (en) For the music retrieval method of AR scene, device, equipment and storage medium
CN108847948A (en) The creation method and device of active cluster, medium and calculate equipment
CN112966756A (en) Visual access rule generation method and device, machine readable medium and equipment
CN106487653B (en) Message processing method and server
CN106971296A (en) A kind of method, electronic equipment and the storage medium of processing information object
CN114267440B (en) Medical order information processing method and device and computer readable storage medium
CN109359285A (en) It is a kind of to add dub in background music method, apparatus, terminal and computer readable storage medium
CN111429949B (en) Pitch line generation method, device, equipment and storage medium
CN108052506A (en) Natural language processing method, apparatus, storage medium and electronic equipment
CN113704608A (en) Personalized item recommendation method and device, electronic equipment and storage medium
CN108765162A (en) A kind of finance data output method, device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20190308