[go: up one dir, main page]

CN109299440A - Typesetting processing method and device, computer equipment and readable medium - Google Patents

Typesetting processing method and device, computer equipment and readable medium Download PDF

Info

Publication number
CN109299440A
CN109299440A CN201810969487.2A CN201810969487A CN109299440A CN 109299440 A CN109299440 A CN 109299440A CN 201810969487 A CN201810969487 A CN 201810969487A CN 109299440 A CN109299440 A CN 109299440A
Authority
CN
China
Prior art keywords
reader
typesetting
display page
text
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810969487.2A
Other languages
Chinese (zh)
Other versions
CN109299440B (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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Alibaba Literature Information Technology 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 Guangzhou Alibaba Literature Information Technology Co Ltd filed Critical Guangzhou Alibaba Literature Information Technology Co Ltd
Priority to CN201810969487.2A priority Critical patent/CN109299440B/en
Publication of CN109299440A publication Critical patent/CN109299440A/en
Application granted granted Critical
Publication of CN109299440B publication Critical patent/CN109299440B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/117Tagging; Marking up; Designating a block; Setting of attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/189Automatic justification

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)
  • Document Processing Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of typesetting processing method and device, computer equipment and readable medium.Its method includes: whether detection message interruption-free mode is opened;If being opened, typesetting again is carried out to the display page of reader, so that the prompting interface of message push will not block the text of body part.Technical solution of the present invention, typesetting again can be carried out to the display page of reader when message interruption-free mode is opened, so that the prompting interface of message push will not block the text of body part, the reading that user is interfered when message being avoided to push, can effectively enhance the reading experience of user.

Description

Typesetting processing method and device, computer equipment and readable medium
Technical field
The present invention relates to computer application technologies more particularly to a kind of typesetting processing method and device, computer to set Standby and readable medium.
Background technique
With emerging in large numbers for various function application, it is more convenient for the use of mobile terminal user, so that mobile terminal makes With more universal.It is exchanged whenever and wherever possible with good friend for example, mobile terminal can be used in user, mobile terminal can also be used Listen to music, see news and see e-book etc. activity.
In the prior art, all applications on mobile terminal are both provided with message push service, have newly disappear in this application It, all can be to user's PUSH message, to inform user in time when breath.For example, user is in the mistake using electronic reader read books Cheng Zhong can pop up a prompting interface at the top for the current interface that user browses at this time if background application has new information, To show the notice of the new information to user in prompting interface, to attract user's note that realizing message push service.And The height of the prompting interface probably accounts for the 10%~15% of the screen height of mobile terminal, so the prompting interface can be covered when occurring The text read at the top of lid mobile terminal, thus the excuse me reading of user.
And in practical reading experience, redundancy, invalid message are very more, if user is using reader read books mistake Cheng Zhong, each message are pushed to user according to above-mentioned message push mode, will lead to the text read at the top of mobile terminal Word is blocked, to interfere the reading of user.
Summary of the invention
The present invention provides a kind of typesetting processing method and devices, computer equipment and readable medium, for avoiding user When reading, the reading of the push interference user of new information.
The present invention provides a kind of typesetting processing method, which comprises
Whether detection message interruption-free mode is opened;
If being opened, typesetting again is carried out to the display page of reader, so that the prompting interface of message push will not hide Keep off the text of body part.
Still optionally further, in method as described above, typesetting again is carried out to the display page of reader, so that message pushes away The prompting interface sent will not block the text of body part, comprising:
The height of the header in the display page of the reader is turned up, so that the prompting interface will not block the page The text of the body part under eyebrow.
Still optionally further, in method as described above, be turned up the reader display the page in header height it Afterwards, the method also includes:
Obtain the title and/or section name of the books currently read;
The title and/or section name of the books currently read are inserted into the header after the adjustment.
Still optionally further, in method as described above, be turned up the reader display the page in header height it Afterwards, the method also includes:
Obtain target famous person epigram relevant to the books currently read;
The target famous person epigram is inserted into the header after the adjustment.
Still optionally further, in method as described above, target famous person epigram relevant to the books currently read, packet are obtained It includes:
Obtain the synopsis information of the books currently read;
According to the synopsis information, obtains from famous person's epigram corpus gathered in advance and believe with the synopsis Cease the matched target famous person epigram.
Still optionally further, in method as described above, further includes:
If the message interruption-free mode is unopened, do not consider whether the prompting interface can block the display page Described in body part text the problem of, the display page of the reader is arranged according to the type-setting mode of default Version.
Still optionally further, in method as described above, typesetting again is carried out to the display page of reader, so that message pushes away After the prompting interface sent will not block the text of body part, the method also includes:
Detect whether the message interruption-free mode is closed;
If being closed, do not consider whether the prompting interface can block the text of body part described in the display page The problem of, typesetting is carried out to the display page of the reader according to the type-setting mode of default.
The present invention also provides a kind of typesetting processing unit, described device includes:
Detection module, for detecting whether message interruption-free mode is opened;
Typesetting processing module, if for detecting that the message interruption-free mode is opened, to the display page of reader Typesetting again is carried out, so that the prompting interface of message push will not block the text of body part.
Still optionally further, in device as described above, the typesetting processing module is used for:
The height of the header in the display page of the reader is turned up, so that the prompting interface will not block the page The text of the body part under eyebrow.
Still optionally further, in device as described above, further includes:
Module is obtained, for obtaining the title and/or section name of the books currently read;
It is inserted into module, for being inserted into the title and/or chapters and sections name of the books currently read in the header after the adjustment Claim.
Still optionally further, in device as described above:
The acquisition module is also used to obtain target famous person epigram relevant to the books currently read;
The insertion module is also used to be inserted into the target famous person epigram in the header after the adjustment.
Still optionally further, in device as described above, the acquisition module is used for:
Obtain the synopsis information of the books currently read;
According to the synopsis information, obtains from famous person's epigram corpus gathered in advance and believe with the synopsis Cease the matched target famous person epigram.
Still optionally further, in device as described above, the typesetting processing module, if being also used to detect the message Interruption-free mode is unopened, and does not consider whether the prompting interface can block the text of body part described in the display page The problem of word, carries out typesetting to the display page of the reader according to the type-setting mode of default.
Still optionally further, in device as described above:
The detection module, is also used to detect whether the message interruption-free mode is closed;
The typesetting processing module, if being also used to detect, the message interruption-free mode is closed, and does not consider described mention The problem of whether interface can block the text of body part described in the display page shown, according to the type-setting mode of default to institute The display page for stating reader carries out typesetting.
The present invention also provides a kind of calculating equipment, comprising:
Processor;And
Memory is stored thereon with executable code, when the executable code is executed by the processor, makes described Processor executes method described in any one as above.
The present invention also provides a kind of non-transitory machinable mediums, are stored thereon with executable code, when described When executable code is executed by the processor of electronic equipment, the processor is made to execute as above described in any item methods.
Typesetting processing method and device of the invention, computer equipment and readable medium pass through detection message interruption-free mould Whether formula is opened;If being opened, typesetting again is carried out to the display page of reader, so that the prompting interface of message push is not The text of body part can be blocked.Technical solution of the present invention, can be when message interruption-free mode be opened, to reader It shows that the page carries out typesetting again, so that the prompting interface of message push will not block the text of body part, message is avoided to push away The reading that user is interfered when sending, can effectively enhance the reading experience of user.
And in the present invention, it can also be carried out again after typesetting in the display page to reader according to the demand of user, It is inserted into the title and/or section name of the books currently read, or insertion famous person's epigram, in the page of adjustment to fill up page The blank of eyebrow beautifies header, so that entirely the display page seems more plentiful, visual fatigue when to avoid user's reading is mentioned Visual experience when high user reads.
Further, in the present invention, message interruption-free mode can also be closed according to the demand of user, ignores prompt circle Whether face can block the problem of text of body part in the display page, according to the type-setting mode of default to the display page of reader Face carries out typesetting, can get the attention of user in time when new information pushes, avoids the omission of message, guarantees to use Family can get the message newly pushed in time.
Detailed description of the invention
Disclosure illustrative embodiments are described in more detail in conjunction with the accompanying drawings, the disclosure above-mentioned and its Its purpose, feature and advantage will be apparent, wherein in disclosure illustrative embodiments, identical reference label Typically represent same parts.
Fig. 1 is the flow chart of typesetting processing method embodiment provided by the invention.
Fig. 2 is the typesetting processing schematic of the reader of the prior art.
Fig. 3 is the typesetting processing schematic of the reader of the embodiment of the present invention.
Fig. 4 is the structure chart of typesetting processing device embodiment one of the invention.
Fig. 5 is the structure chart of typesetting processing device embodiment two of the invention.
Fig. 6 shows the structure that an embodiment according to the present invention can be used for realizing the calculating equipment of above-mentioned typesetting processing method Schematic diagram.
Specific embodiment
The preferred embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Preferred embodiment, however, it is to be appreciated that may be realized in various forms the disclosure without the embodiment party that should be illustrated here Formula is limited.On the contrary, these embodiments are provided so that this disclosure will be more thorough and complete, and can be by the disclosure Range is completely communicated to those skilled in the art.
Fig. 1 is the flow chart of typesetting processing method embodiment provided by the invention.
As shown in Figure 1, whether detection message interruption-free mode is opened in step 100.If being opened, step is executed 101.Otherwise, if being unopened, step 102 is executed.
In step 101, typesetting again is carried out to the display page of reader, so that the prompting interface of message push will not hide The text of body part is kept off, is terminated.
In step 102, do not consider whether the prompting interface of message push can block the text of body part in the display page The problem of, typesetting is carried out to the display page of reader according to the type-setting mode of default, is terminated.
The executing subject of the typesetting processing method of the present embodiment can be typesetting processing unit, which can be with It applies in the reader of electronic type, is used for according to the demand of user, after user opens message interruption-free mode, to reader In the display page carry out typesetting again, the prompting interface to avoid message push blocks the text of body part, to user's Reading interferes, so as to effectively improve the reading experience of user.
There is only a kind of type-setting mode of default, which only exists the display page in reader in the prior art Typesetting is carried out in such a way that optimal proportion, user read the most comfortable in reader, it is any except reader without considering Demand or interference.It is excessively high to show that the header of the page will not stay in the type-setting mode of such default, otherwise user reads To feel that overall page drops, influences the reading experience of user.So if being shown in reader using the type-setting mode of default When showing current display page, after having come of new information, the prompt page of the display page top pop-up of mobile terminal can be blocked The word content of the part body of page top is shown, and if user will interrupt user's when reading this partial content It reads, causes user experience excessively poor.
The typesetting processing method of the present embodiment can increase a message interruption-free button when implementing in reader, If user clicks the button, just initiation message interruption-free mode, if the typesetting processing unit at this time in reader detects message Interruption-free mode is opened, and carries out typesetting again to the display page of reader, so that the prompting interface of message push will not hide The text of body part is kept off, in this way, user is during using reader read books, the message no matter newly pushed is effective The invalid information of information or redundancy, the prompting interface of pop-up will not all block any text of body part in the display page, To be interfered to the reading of user.
For example, optionally, in the present embodiment in step 101 " typesetting again is carried out to the display page of reader so that The prompting interface of message push will not block the text of body part ", it can specifically include: being turned up in the display page of reader Header height so that prompting interface will not block the text of the body part under header.This kind of mode is aobvious by increasing The header height of showing the page and the constant mode of the height of prompting interface are realized, in this way, can have enough spaces in header Come display reminding interface, so that the text of the body part of the display page will not be blocked.When specific implementation, default can be set The height of the page of adjustment, or display page adjusted can also be manually entered by user according to the customized mode of user The height of the header in face, the typesetting processing unit in reader receive the height of the header of the display page of user's input, and adjust It is whole.If after user adjusts for the first time, when having new information push, discovery prompting interface still can block the body part under header Text, user can also further manually adjust display the page header height, until prompting interface will not block header it Under body part text.
Optionally, of course, the display height of prompting interface can also be turned down, new message notification message in prompting interface is reduced Font, to guarantee that the notification message of new information can be normally displayed, and guarantee that prompting interface will not block the display page The text of body part.This kind of mode by turn down prompting interface display height, and guarantee the constant mode of the height of header It realizes, in this way, can also there are enough spaces to come display reminding interface in header, so that the text of the display page will not be blocked Partial text.
Or in the present embodiment, typesetting again can also be carried out using the display page of the other modes to reader, such as will The text of body part that the prompting interface of message push is blocked is to suspend or other modes are shown, to guarantee that message pushes away The prompting interface sent will not really block the text of body part, and make user can not normal reading, no longer go to live in the household of one's in-laws on getting married one by one herein It states.
Still optionally further, on the basis of the technical solution of above-described embodiment, " the display page of reader is turned up in step After the height of header in face ", the height of header is sufficiently high, can accommodate the prompting interface of message push, but is not having When message pushes, the position space of header, the visual experience that will cause when user reads is bad, at this point it is possible to from Current electronic It obtains the title and/or section name of the books currently read in books, and is inserted into header after the adjustment and currently reads The title and/or section name of books beautify header to fill up the blank of header, so that entirely the display page seems richer It is full, to improve visual experience when user reads.
Or alternatively it is also possible to may be used also after step " height for the header in the display page that reader is turned up " To include: to obtain target famous person epigram relevant to the books currently read;Then destination name is inserted into header after the adjustment People's epigram, to fill up the blank of header, so that entirely the display page seems more to coordinate, vision when to avoid user's reading Fatigue improves visual experience when user reads.
Still optionally further, " target famous person epigram relevant to the books currently read is obtained ", it specifically can be using such as Under type is realized:
(a) the synopsis information for the books currently read is obtained;
(b) it according to synopsis information, is obtained and synopsis information from famous person's epigram corpus gathered in advance The target famous person's epigram matched.
In practical applications, each e-book shown in reader, it will usually which there are corresponding synopsis letters Breath.If not having ready-made synopsis information in certain this e-book, the typesetting processing unit in the reader of the present embodiment can To generate the synopsis information of e-book according to the catalogue of e-book using neural network model trained in advance.But If being when generating synopsis information by the typesetting processing unit in reader, may result in the function of typesetting processing unit compared with It is more, the processing capacity and treatment effeciency of typesetting processing unit are influenced, can also be led at this time by the typesetting processing unit in reader The catalogue for the electronic digit currently read out extracts application to the synopsis installed on mobile terminal, is extracted by the synopsis Using the synopsis information for generating e-book according to the catalogue of e-book.Wherein synopsis extracts application using preparatory Trained neural network model generates the synopsis information of e-book according to the catalogue of e-book.E-book The catalogue of catalogue e-book
It is then possible to using the synopsis information of books, obtained from famous person's epigram corpus gathered in advance with it is interior Hold the matched target famous person epigram of summary info.
In the present embodiment, in the typesetting processing unit in reader, famous person's epigram language can also have been acquired in advance Library is expected, wherein may include famous person's epigram of countless sentences.Next the language of each famous person's epigram and synopsis information is calculated Adopted similarity, in detail can be with reference to the calculation of related semantic similarity.Then it is plucked using each famous person's epigram with content The semantic similarity for wanting information obtains the famous person police that semantic similarity is greater than default similarity threshold from famous person's epigram corpus Sentence is used as target famous person epigram.In order to control the quantity of target famous person's epigram, in the present embodiment, multiple practical choice can be passed through Appropriate default similarity threshold.In the present embodiment, if the quantity of the target famous person's epigram obtained is greater than 1, in each aobvious of books When showing insertion target famous person epigram in the header of the page, it can be followed successively by according to the vertical sequence of the display page of books The header of each display page is inserted into target famous person epigram;It, can be according to repeating query when being simultaneously every page selection target famous person's epigram Mode, successively from more target famous person's epigrams select one.
Or optionally, if the quantity of the target famous person's epigram obtained is more, all mesh can be popped up in display interface Entitling people's epigram selects oneself like one, the two or more target famous person being inserted into header alert by user Sentence.Its inserted mode is same as above embodiment, and details are not described herein.
Still optionally further, on the basis of the technical solution of above-described embodiment, can also include the following steps:
(A) whether detection message interruption-free mode is closed;If being closed, execute step (C);Otherwise, if not being closed, Then continue using type-setting mode typesetting adjusted, so that the prompting interface of message push will not block the text of body part, Terminate.
(B) the problem of whether prompting interface can block the text of body part in the display page ignored, according to the row of default Version mode carries out typesetting to the display page of reader.
For example, the message push received is all some important message, such use for the user of heavy traffic Family can close message interruption-free mode, with when user reads, the new information of push can in time be interfered user, inhale The attention at family is quoted, guarantees that user can get the new information of push in time, avoids the omission of message.
In the present embodiment, user can choose whether to be turned on or off message interruption-free mode in the different stages, with Meets the needs of different, very easy to use, user experience is also very good.
The typesetting processing method of the present embodiment flexibly can be turned on or off message interruption-free according to the demand of user Mode, and typesetting processing, Jin Eryou are carried out to the e-book that user in reader currently reads according to corresponding type-setting mode Treated that the page is shown to typesetting for reader, very easy to use.
The typesetting processing method of the present embodiment can be beaten by using above-mentioned technical proposal in message interruption-free mode When opening, typesetting again is carried out to the display page of reader, so that the prompting interface of message push will not block body part Text interferes the reading of user, can effectively enhance the reading experience of user when message being avoided to push.
And in the present embodiment, typesetting again can also be carried out in the display page to reader according to the demand of user Afterwards, it is inserted into the title and/or section name of the books currently read, or insertion famous person's epigram, in the page of adjustment to fill out The blank of header is mended, header is beautified, so that entirely the display page seems more plentiful, vision when to avoid user's reading is tired Labor improves visual experience when user reads.
Further, in this embodiment can also close message interruption-free mode according to the demand of user, ignore prompt Whether interface can block the problem of text of body part in the display page, the display according to the type-setting mode of default to reader The page carries out typesetting and avoids the omission of message can get the attention of user in time when new information pushes, and guarantees User can get the message newly pushed in time.
The typesetting processing method of the reader of the present embodiment and existing relevant programme are compared and analyzed below.
For example, Fig. 2 is the typesetting processing schematic of the reader of the prior art.Specifically, the figure in left side is existing in Fig. 2 A common mobile terminal display interface.The figure on the right side in Fig. 2 is the figure in the left side in Fig. 2 in the prior art On the basis of, after mobile terminal is charged by USB, the notification message of pop-up.Shown in figure on the right side of Fig. 2, the notification message Prompting interface has blocked the word content of the top line of the body part in current display interface.If user just reads This line can generate interference to the reading of user, cause user experience excessively poor.
For example, Fig. 3 is the typesetting processing schematic of the reader of the embodiment of the present invention.Specifically, the figure in left side is in Fig. 3 User opens message interruption-free mode and showing for the header of the display interface of mobile terminal is turned up using technical solution of the present invention It is intended to.On the basis of the figure on the right side in Fig. 3 is the figure in the left side in Fig. 3, after mobile terminal is charged by USB, pop-up Notification message.Shown in figure on the right side of Fig. 3, the height of the header since the display page in the figure in the left side in Fig. 3, has been turned up Degree, the prompting interface of the notification message will not block in the text of the top line of the body part in current display interface Hold, so after user opens interruption-free mode, new information will not be to user's when pushing using the technical solution of the present embodiment It reads and generates interference, so as to effectively enhance the using experience degree of user.
Above-mentioned Fig. 2 and Fig. 3 are compared and analyzed, can more clearly be learnt, technical solution of the present invention, Ke Yi When message interruption-free mode is opened, typesetting again is carried out to the display page of reader, so that the prompting interface of message push The text that body part will not be blocked interferes the reading of user, can effectively enhance the reading of user when message being avoided to push Experience.
Fig. 4 is the structure chart of typesetting processing device embodiment one of the invention.As shown in figure 4, at the typesetting of the present embodiment Device is managed, can specifically include:
Detection module 10 is for detecting whether message interruption-free mode is opened;
If typesetting processing module 11 detects that message interruption-free mode is opened for detection module 10, reader is shown Show that the page carries out typesetting again, so that the prompting interface of message push will not block the text of body part.
The typesetting processing unit of the present embodiment realizes the realization to the typesetting processing in reader by using above-mentioned module Principle, it is identical as the realization of above-mentioned related method embodiment, the record of above-mentioned related method embodiment can be referred in detail, herein It repeats no more.
Fig. 5 is the structure chart of typesetting processing device embodiment two of the invention.As shown in figure 5, at the typesetting of the present embodiment Reason device further introduces technology of the invention on the basis of the technical solution of above-mentioned embodiment illustrated in fig. 4 in further detail Scheme.
The typesetting processing unit of the present embodiment, if typesetting processing module 11 specifically can be used for detection module 10 and detect to disappear Breath interruption-free mode is opened, and the height of the header in the display page of reader is turned up, so that prompting interface will not block page The text of body part under eyebrow.
Still optionally further, as shown in figure 5, in the typesetting processing unit of the present embodiment, further includes:
Obtain title and/or section name that module 12 is used to obtain the books currently read;
Insertion module 13 is used to be inserted into the title for the books currently read in the header adjusted of typesetting processing module 11 And/or section name.
Or optionally, in the typesetting processing unit of the present embodiment, obtain what module 12 was also used to obtain and currently read The relevant target famous person epigram of books;
Insertion module 13 is also used to be inserted into target famous person epigram in the header adjusted of typesetting processing module 11.
Still optionally further, it in the typesetting processing unit of the present embodiment, obtains module 12 and is specifically used for:
Obtain the synopsis information for the books currently read;
According to synopsis information, obtained from famous person's epigram corpus gathered in advance and synopsis information matches Target famous person's epigram.
Still optionally further, in the typesetting processing unit of the present embodiment, if typesetting processing module 11 is also used to detection module 10 detect that message interruption-free mode is unopened, and do not consider whether prompting interface can block the text of body part in the display page The problem of word, carries out typesetting to the display page of reader according to the type-setting mode of default.
Still optionally further, in the typesetting processing unit of the present embodiment, detection module 10 is also used to detect message interruption-free Whether mode is closed;
If typesetting processing module 11 is also used to detection module 10 and detects that message interruption-free mode is closed, do not consider to prompt Whether interface can block the problem of text of body part in the display page, the display according to the type-setting mode of default to reader The page carries out typesetting.
The typesetting processing unit of the present embodiment realizes the realization to the typesetting processing in reader by using above-mentioned module Principle, it is identical as the realization of above-mentioned related method embodiment, the record of above-mentioned related method embodiment can be referred in detail, herein It repeats no more.
Fig. 6 shows the structure that an embodiment according to the present invention can be used for realizing the calculating equipment of above-mentioned typesetting processing method Schematic diagram.
Referring to Fig. 6, calculating equipment 1000 includes memory 1010 and processor 1020.
Processor 1020 can be the processor of a multicore, also may include multiple processors.In some embodiments, Processor 1020 may include a general primary processor and one or more special coprocessors, such as graphics process Device (GPU), digital signal processor (DSP) etc..In some embodiments, the circuit reality of customization can be used in processor 1020 It is existing, such as application-specific IC (ASIC, Application Specific Integrated Circuit) or scene Programmable gate array (FPGA, Field Programmable Gate Arrays).
Memory 1010 may include various types of storage units, such as Installed System Memory, read-only memory (ROM), and Permanent storage.Wherein, static data that other modules that ROM can store processor 1020 or computer need or Instruction.Permanent storage can be read-write storage device.Permanent storage can be after computer circuit breaking The non-volatile memory device of the instruction and data of storage will not be lost.In some embodiments, permanent storage device is adopted Use mass storage device (such as magnetically or optically disk, flash memory) as permanent storage.In other embodiment, permanently Storage device can be removable storage equipment (such as floppy disk, CD-ROM drive).Installed System Memory can be read-write storage equipment or The read-write storage equipment of person's volatibility, such as dynamic random access memory.Installed System Memory can store some or all processing The instruction and data that device needs at runtime.In addition, memory 1010 may include the group of any computer readable storage medium It closes, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read only memory), disk And/or CD can also use.In some embodiments, memory 1010 may include readable and/or write removable Store equipment, such as laser disc (CD), read-only digital versatile disc (such as DVD-ROM, DVD-dual layer-ROM), read-only indigo plant Light CD, super disc density, flash card (such as SD card, min SD card, Micro-SD card etc.), magnetic floppy disc etc..It calculates Machine readable storage medium does not include carrier wave and the momentary electron signal by wirelessly or non-wirelessly transmitting.
It is stored with executable code on memory 1010, when executable code is handled by processor 1020, can make to locate Reason device 1020 executes the typesetting processing method addressed above.
Typesetting according to the present invention above is described in detail by reference to attached drawing to handle.
In addition, being also implemented as a kind of computer program or computer program product, the meter according to the method for the present invention Calculation machine program or computer program product include the calculating for executing the above steps limited in the above method of the invention Machine program code instruction.
Alternatively, the present invention can also be embodied as a kind of (or the computer-readable storage of non-transitory machinable medium Medium or machine readable storage medium), it is stored thereon with executable code (or computer program or computer instruction code), When the executable code (or computer program or computer instruction code) by electronic equipment (or calculate equipment, server Deng) processor execute when, so that the processor is executed each step according to the above method of the present invention.
Those skilled in the art will also understand is that, various illustrative logical blocks, mould in conjunction with described in disclosure herein Block, circuit and algorithm steps may be implemented as the combination of electronic hardware, computer software or both.
The flow chart and block diagram in the drawings show the possibility of the system and method for multiple embodiments according to the present invention realities Existing architecture, function and operation.In this regard, each box in flowchart or block diagram can represent module, a journey A part of sequence section or code, a part of the module, section or code include one or more for realizing defined The executable instruction of logic function.It should also be noted that in some implementations as replacements, the function of being marked in box can also To be occurred with being different from the sequence marked in attached drawing.For example, two continuous boxes can actually be basically executed in parallel, They can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or stream The combination of each box in journey figure and the box in block diagram and or flow chart, can the functions or operations as defined in executing Dedicated hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport In the principle, practical application or improvement to the technology in market for best explaining each embodiment, or make the art Other those of ordinary skill can understand each embodiment disclosed herein.

Claims (16)

1. a kind of typesetting processing method, which is characterized in that the described method includes:
Whether detection message interruption-free mode is opened;
If being opened, typesetting again is carried out to the display page of reader, so that the prompting interface of message push will not block just The text of literary part.
2. the method according to claim 1, wherein carry out typesetting again to the display page of reader, so that The prompting interface of message push will not block the text of body part, comprising:
Be turned up the reader display the page in header height so that the prompting interface will not block the header it Under the body part text.
3. according to the method described in claim 2, it is characterized in that, the height for the header being turned up in the display page of the reader After degree, the method also includes:
Obtain the title and/or section name of the books currently read;
The title and/or section name of the books currently read are inserted into the header after the adjustment.
4. according to the method described in claim 2, it is characterized in that, the height for the header being turned up in the display page of the reader After degree, the method also includes:
Obtain target famous person epigram relevant to the books currently read;
The target famous person epigram is inserted into the header after the adjustment.
5. according to the method described in claim 4, it is characterized in that, obtaining target famous person police relevant to the books currently read Sentence, comprising:
Obtain the synopsis information of the books currently read;
According to the synopsis information, obtained and the synopsis information from famous person's epigram corpus gathered in advance The target famous person epigram matched.
6. -5 any method according to claim 1, which is characterized in that the method also includes:
If the message interruption-free mode is unopened, do not consider whether the prompting interface can block institute in the display page The problem of stating the text of body part carries out typesetting to the display page of the reader according to the type-setting mode of default.
7. -5 any method according to claim 1, which is characterized in that arranged again the display page of reader Version, so that after the prompting interface of message push will not block the text of body part, the method also includes:
Detect whether the message interruption-free mode is closed;
If being closed, do not consider whether the prompting interface can block asking for the text of body part described in the display page Topic carries out typesetting to the display page of the reader according to the type-setting mode of default.
8. a kind of typesetting processing unit, which is characterized in that described device includes:
Detection module, for detecting whether message interruption-free mode is opened;
Typesetting processing module, if being carried out for detecting that the message interruption-free mode is opened to the display page of reader Again typesetting, so that the prompting interface of message push will not block the text of body part.
9. device according to claim 8, which is characterized in that the typesetting processing module is used for:
Be turned up the reader display the page in header height so that the prompting interface will not block the header it Under the body part text.
10. device according to claim 9, which is characterized in that described device further include:
Module is obtained, for obtaining the title and/or section name of the books currently read;
It is inserted into module, for being inserted into the title and/or section name of the books currently read in the header after the adjustment.
11. device according to claim 10, it is characterised in that:
The acquisition module is also used to obtain target famous person epigram relevant to the books currently read;
The insertion module is also used to be inserted into the target famous person epigram in the header after the adjustment.
12. device according to claim 11, which is characterized in that the acquisition module is used for:
Obtain the synopsis information of the books currently read;
According to the synopsis information, obtained and the synopsis information from famous person's epigram corpus gathered in advance The target famous person epigram matched.
13. according to any device of claim 8-12, which is characterized in that the typesetting processing module, if being also used to examine It measures the message interruption-free mode to be unopened, does not consider whether the prompting interface can block described in the display page The problem of text of body part, carries out typesetting to the display page of the reader according to the type-setting mode of default.
14. according to any device of claim 8-12, it is characterised in that:
The detection module, is also used to detect whether the message interruption-free mode is closed;
The typesetting processing module, if being also used to detect, the message interruption-free mode is closed, and does not consider prompt circle Whether face can block the problem of text of body part described in the display page, read according to the type-setting mode of default to described The display page for reading device carries out typesetting.
15. a kind of calculating equipment, comprising:
Processor;And
Memory is stored thereon with executable code, when the executable code is executed by the processor, makes the processing Device executes the method as described in any one of claim 1-7.
16. a kind of non-transitory machinable medium, is stored thereon with executable code, when the executable code is electric When the processor of sub- equipment executes, the processor is made to execute the method as described in any one of claims 1 to 7.
CN201810969487.2A 2018-08-23 2018-08-23 Typesetting processing method and device, computer equipment and readable medium Active CN109299440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810969487.2A CN109299440B (en) 2018-08-23 2018-08-23 Typesetting processing method and device, computer equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810969487.2A CN109299440B (en) 2018-08-23 2018-08-23 Typesetting processing method and device, computer equipment and readable medium

Publications (2)

Publication Number Publication Date
CN109299440A true CN109299440A (en) 2019-02-01
CN109299440B CN109299440B (en) 2024-02-02

Family

ID=65165296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810969487.2A Active CN109299440B (en) 2018-08-23 2018-08-23 Typesetting processing method and device, computer equipment and readable medium

Country Status (1)

Country Link
CN (1) CN109299440B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114330277A (en) * 2021-12-31 2022-04-12 北京字节跳动网络技术有限公司 Reading typesetting method, device, equipment and storage medium
CN115019330A (en) * 2022-06-16 2022-09-06 特赞(上海)信息科技有限公司 Cartoon translation matching method and system, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451063A (en) * 2015-09-15 2016-03-30 北京合盒互动科技有限公司 Method and apparatus for displaying push information
CN105740222A (en) * 2016-03-01 2016-07-06 广州阿里巴巴文学信息技术有限公司 Method and device used for reader typesetting, reader and electronic device
CN106055203A (en) * 2016-05-27 2016-10-26 努比亚技术有限公司 Notification message floating display method and device, and mobile terminal
CN107729298A (en) * 2017-10-31 2018-02-23 努比亚技术有限公司 Screen occlusion area processing method, mobile terminal and computer-readable recording medium
CN108376094A (en) * 2018-02-26 2018-08-07 平安普惠企业管理有限公司 Notification message display methods, device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451063A (en) * 2015-09-15 2016-03-30 北京合盒互动科技有限公司 Method and apparatus for displaying push information
CN105740222A (en) * 2016-03-01 2016-07-06 广州阿里巴巴文学信息技术有限公司 Method and device used for reader typesetting, reader and electronic device
CN106055203A (en) * 2016-05-27 2016-10-26 努比亚技术有限公司 Notification message floating display method and device, and mobile terminal
CN107729298A (en) * 2017-10-31 2018-02-23 努比亚技术有限公司 Screen occlusion area processing method, mobile terminal and computer-readable recording medium
CN108376094A (en) * 2018-02-26 2018-08-07 平安普惠企业管理有限公司 Notification message display methods, device, computer equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114330277A (en) * 2021-12-31 2022-04-12 北京字节跳动网络技术有限公司 Reading typesetting method, device, equipment and storage medium
WO2023124936A1 (en) * 2021-12-31 2023-07-06 北京字节跳动网络技术有限公司 Reading typesetting method and apparatus, device, and storage medium
CN114330277B (en) * 2021-12-31 2023-08-22 抖音视界有限公司 Reading typesetting method, device, equipment and storage medium
CN115019330A (en) * 2022-06-16 2022-09-06 特赞(上海)信息科技有限公司 Cartoon translation matching method and system, electronic device and storage medium

Also Published As

Publication number Publication date
CN109299440B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
Jemielniak et al. An analysis of AstraZeneca COVID-19 vaccine misinformation and fear mongering on Twitter
Zellers et al. Merlot reserve: Neural script knowledge through vision and language and sound
US10579736B2 (en) Method and device for determining comment, server and storage medium
Cheng et al. Uprise: Universal prompt retrieval for improving zero-shot evaluation
US9002960B2 (en) Location estimation of social network users
CN113301360B (en) Information prompting method, computing device and storage medium
CN107948730B (en) Method, device and equipment for generating video based on picture and storage medium
CN110489649B (en) Method and device for associating content with tag
US9588966B2 (en) Data sorting for language processing such as POS tagging
CN110196972A (en) Official documents and correspondence generation method, device and computer readable storage medium
US9906588B2 (en) Server and method for extracting content for commodity
CN110334268B (en) Block chain project hot word generation method and device
CN109800418A (en) Text handling method, device and storage medium
CN109299440A (en) Typesetting processing method and device, computer equipment and readable medium
Selvi et al. Chatbot and bullyfree chat
Gretz et al. Zero-shot topical text classification with llms-an experimental study
CN109597987A (en) A kind of text restoring method, device and electronic equipment
Broscoteanu et al. A novel contrastive learning method for clickbait detection on RoCliCo: A Romanian clickbait corpus of news articles
US9330085B2 (en) Assisting users to generate desired meme in document
Hurtado et al. Who wrote this paper? Learning for authorship de-identification using stylometric featuress
CN115374259A (en) Question and answer data mining method and device and electronic equipment
CN116933777A (en) Comment content auditing method, comment content auditing device, comment content auditing equipment and storage medium
CN112333554B (en) Multimedia data processing method and device, electronic equipment and storage medium
CN107590163B (en) The methods, devices and systems of text feature selection
Nwankwo et al. Text Classification of Digital Forensic Data

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
TA01 Transfer of patent application right

Effective date of registration: 20200710

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping radio square B tower 13 floor 03 unit self

Applicant before: GUANGZHOU ALIBABA LITERATURE INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant