CN107741981A - A kind of e-book management method and device - Google Patents

A kind of e-book management method and device Download PDF

Info

Publication number
CN107741981A
CN107741981A CN201710970175.9A CN201710970175A CN107741981A CN 107741981 A CN107741981 A CN 107741981A CN 201710970175 A CN201710970175 A CN 201710970175A CN 107741981 A CN107741981 A CN 107741981A
Authority
CN
China
Prior art keywords
book
user
mark
friend
information
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.)
Pending
Application number
CN201710970175.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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201710970175.9A priority Critical patent/CN107741981A/en
Publication of CN107741981A publication Critical patent/CN107741981A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing

Abstract

The present invention, which provides a kind of e-book management method and device, this method, to be included:The e-book storage request that user terminal is sent is received, e-book storage request carries user's mark and e-book information;Determine whether to have stored e-book corresponding to e-book information, if it is not, then obtaining and storing e-book;It is determined that after storage e-book, two-way binding is carried out to e-book corresponding to user's mark and e-book information.The present invention creates personal stack room for user, in realizing that e-book that the user that user terminal is locally stored has by oneself is uploaded onto the server, has addition, deletion, reading progress and notes of e-book etc. by oneself to user by personal stack room and is managed.And by after own e-book upload server, although user uses different user terminals, as long as user logs in personal stack room can and manages these e-book, the shared of these e-book is realized between different user terminals, is easy to management and reading of the user to own e-book.

Description

A kind of e-book management method and device
Technical field
The present invention relates to Internet technical field, in particular to a kind of e-book management method and device.
Background technology
With the development of Internet technology, by the way that terminal is online or offline reading electronic book has become the master that people read Want one of mode.At present, there are many e-book operators in the market, and these e-book operators are carried by internet for user For network bookstore.User selects e-book to be read, realizes e-book by terminal logging in network bookstore in network bookstore Online reading.Or e-book is selected from network bookstore and downloads to terminal local, realize the offline reading of e-book.
Although can be managed by network bookstore to e-book that is online or reading offline, these e-book are all It is the e-book that network bookstore provides, and active user might have stored the e-book that many users have by oneself in terminal local, it is right E-book is had by oneself in these, can not be managed by network bookstore.
The content of the invention
In view of this, it is an object of the invention to provide a kind of e-book management method and device, to solve prior art Existing problems with:Although pipe can be carried out to e-book that is online or reading offline by network bookstore in the prior art Reason, but these e-book are all the e-book that network bookstore provides, and active user might have stored much in terminal local The e-book that user has by oneself, e-book is had by oneself for these, can not be managed by network bookstore.
In a first aspect, the embodiments of the invention provide a kind of e-book management method, methods described includes:
The e-book storage request that user terminal is sent is received, the e-book storage request carries user's mark and electronics Letter ceases;
Determine whether to have stored e-book corresponding to the e-book information, if it is not, then obtaining and storing the electronics Book;
It is determined that after storing the e-book, e-book corresponding to user mark and the e-book information is carried out double To binding.
With reference in a first aspect, the embodiments of the invention provide the possible implementation of the first of above-mentioned first aspect, its In, it is described that two-way binding is carried out to e-book corresponding to user mark and the e-book information, including:
The e-book information is added in e-book list corresponding to user mark;
Whether the electronics book label included according to the e-book information, inquiry have been created corresponding to the electronics book label User list;
If it is, user mark is added in the user list;
If it is not, then creating user list corresponding to the electronics book label, user mark is added to establishment In the user list.
With reference in a first aspect, the embodiments of the invention provide the possible implementation of second of above-mentioned first aspect, its In, the acquisition e-book, including:
Send e-book and upload instruction message to the user terminal, the e-book uploads instruction message and carries the electricity Philosophical works information;Receive the e-book that the user terminal uploads instruction message upload according to the e-book.
With reference in a first aspect, the embodiments of the invention provide the possible implementation of the third of above-mentioned first aspect, its In, before the e-book storage request for receiving user terminal and sending, in addition to:
Receive the stack room that user terminal is sent and establish request, the stack room establish request and carry user's mark;
Stack room amount of storage corresponding to distribution is identified for the user.
With reference to the third possible implementation of first aspect, the embodiments of the invention provide the of above-mentioned first aspect Four kinds of possible implementations, wherein,
After two-way binding being carried out to e-book corresponding to user mark and the e-book information, in addition to:If The stack room amount of storage is the maximum number that personal stack room store e-book, then the remaining space of the stack room amount of storage is carried out The operation that subtracts one;Or if the stack room amount of storage is the total amount of data that personal stack room store e-book, stored from the stack room The data volume of the e-book is subtracted in the remaining space of amount;
It is described determine whether to have stored e-book corresponding to the e-book information before, in addition to:Obtain the stack room The remaining space of amount of storage, if the remaining space is less than the data volume of the e-book, send for prompting memory space The prompt message of deficiency gives the user terminal.
With reference to the first possible implementation of first aspect, the embodiments of the invention provide the of above-mentioned first aspect Five kinds of possible implementations, wherein, methods described also includes:
The other users mark in addition to the user identifies is obtained from user list corresponding to the electronics book label, will Other users mark composition book friend's recommendation list;
The book friend recommendation list is sent to the user terminal.
With reference to the 5th kind of possible implementation of first aspect, the embodiments of the invention provide the of above-mentioned first aspect Six kinds of possible implementations, wherein, methods described also includes:
Receive addition book friend's request that the user terminal is sent, addition book friend's request carry user's mark and Book friend's mark that user selects from the book friend recommendation list;
Book friend's mark is added in book friend's list corresponding to user's mark.
With reference to the 6th kind of possible implementation of first aspect, the embodiments of the invention provide the of above-mentioned first aspect Seven kinds of possible implementations, wherein, methods described also includes:
Receive the e-book that the user terminal is sent and share request, the e-book shares request and carries electronics book label And the book friend mark;
Send e-book and share notice to book friend's terminal corresponding to book friend's mark, the e-book, which is shared, to be notified to carry The electronics book label and user mark;
If receiving the agreement that the book friend terminal is sent shares notice, to book friend mark and the electronics book label E-book corresponding to label carries out two-way binding.
With reference to the 6th kind of possible implementation of first aspect, the embodiments of the invention provide the of above-mentioned first aspect Eight kinds of possible implementations, wherein, methods described also includes:
The instant messaging request that the user terminal is sent is received, the instant messaging request carries current online book friend Mark;
Call information is sent to book friend's terminal corresponding to current online book friend's mark;
Receive the response message that the book friend terminal returns, establish between the user terminal and the book friend terminal i.e. When communicate to connect.
Second aspect, the embodiments of the invention provide a kind of e-book managing device, described device includes:
Receiving module, the e-book for receiving user terminal transmission store request, and the e-book storage request carries User identifies and e-book information;
Determining module, it is used to determine whether to have stored e-book corresponding to the e-book information, if it is not, then obtaining simultaneously Store the e-book;
Binding module, determined for the determining module after storing the e-book, to user mark and the electricity E-book corresponding to philosophical works information carries out two-way binding.
In method and device provided in an embodiment of the present invention, the e-book storage request that user terminal is sent, electricity are received Philosophical works storage request carries user's mark and e-book information;Determine whether to have stored e-book corresponding to e-book information, such as Fruit is no, then obtains and store e-book;It is determined that after storage e-book, e-book corresponding to user's mark and e-book information is entered The two-way binding of row.The present invention creates personal stack room for user, can realize the electronics that the user that user terminal is locally stored has by oneself During book is uploaded onto the server, the progress such as addition, deletion, reading progress and notes of e-book is had by oneself to user by personal stack room Management.And after the e-book upload server that will be had by oneself, although user uses different user terminals, as long as user's login People stack room can manages these e-book, and the shared of these e-book is realized between different user terminals, is easy to user Management and reading to having e-book by oneself.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
A kind of schematic flow sheet for e-book management method that Fig. 1 is provided by the embodiment of the present invention 1;
The schematic flow sheet for another e-book management method that Fig. 2 is provided by the embodiment of the present invention 1;
A kind of structural representation for e-book managing device that Fig. 3 is provided by the embodiment of the present invention 2;
The structural representation for another e-book managing device that Fig. 4 is provided by the embodiment of the present invention 2.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention Middle accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only It is part of the embodiment of the present invention, rather than whole embodiments.The present invention being generally described and illustrated herein in the accompanying drawings is real Applying the component of example can be configured to arrange and design with a variety of.Therefore, it is of the invention to what is provided in the accompanying drawings below The detailed description of embodiment is not intended to limit the scope of claimed invention, but is merely representative of the selected reality of the present invention Apply example.Based on embodiments of the invention, institute that those skilled in the art are obtained on the premise of creative work is not made There is other embodiment, belong to the scope of protection of the invention.
In view of in the prior art, although can be carried out by network bookstore user to e-book that is online or reading offline Management, but these e-book are all the e-book that network bookstore provides, and active user might have stored very in terminal local The e-book that multi-user has by oneself, e-book is had by oneself for these, can not be managed by network bookstore.The embodiment of the present invention carries A kind of e-book management method and device have been supplied, the present invention is discussed in detail below by embodiment.
Embodiment 1
The embodiments of the invention provide a kind of e-book management method.Can be by method provided in an embodiment of the present invention Server is that user creates personal stack room, and the e-book that user terminal is locally stored is uploaded onto the server, and passes through personal stack room Realize the management for the e-book being had by oneself to user.And after the e-book upload server that will be had by oneself, although user is not using Same user terminal, it is real between different user terminals as long as user logs in personal stack room can and reads these e-book These existing e-book are shared, and are easy to management and reading of the user to own e-book.
In embodiments of the present invention, user terminal can be mobile phone, PC (Personal Computer, personal computer), PAD (Portable Android Device, tablet personal computer) or e-book reading client etc..Passing through the embodiment of the present invention Before the method for offer carries out e-book management, user is registered by user terminal in server first, after succeeding in registration The accounts information of server stores user, user mark of the account information including the user, login password, personal Back ground Information And status information etc..Wherein, user's mark can be name, telephone number, mailbox or user-defined pet name of user etc.. Personal Back ground Information includes the information such as age, sex or the geographical position of user.Whether status information is online for label user, When user terminal login service device, the status information is arranged to online by server, when user terminal disconnect with server it Between communication connection when, the status information is rewritten as offline by server.
User by user terminal after server registration account, by user terminal login service device, then by using Family terminal sends stack room and establishes request to server, and the stack room establish request and carry user's mark.Server receives user terminal Request is established in the stack room sent, and stack room amount of storage corresponding to distribution is identified for the user, and should by the stack room amount of storage write-in In accounts information corresponding to user's mark, so far server is that the user establishes personal stack room.Subsequent user can be by looking into The stack room amount of storage seen in accounts information determines the remaining space in personal stack room.
As shown in figure 1, server is registered to by aforesaid operations, and server is after user establishes personal stack room, to pass through Following manner uploads onto the server the local own e-book of user terminal.
Step 101:The e-book storage request that user terminal is sent is received, e-book storage request carries user's mark And e-book information.
Above-mentioned e-book information includes electronics book label, books type, the reading progress of user and notes information etc..At this In inventive embodiments, electronics book label is that MD5 (Message corresponding to the e-book that Hash operation obtains are carried out to e-book Digest Algorithm5, Message Digest Algorithm 5) value.For example, for electronics letter corresponding to e-book " Journey to the West " Breath, electronics book label be MD5 values corresponding to e-book " Journey to the West ", and books type is " novel ", and reading progress is " to read the Page 100 ", notes information is " 8 days 10 May in 2017:30 write notes at book the 10th row of page 100 herein, and ' this method is very It is good ' ".
When user needs to upload to own e-book in personal stack room, e-book is sent by user terminal and stored Ask to server, e-book storage request carries user's mark and e-book information.User terminal sends e-book storage The store path of e-book corresponding to the e-book information is also recorded after request.
After server receives the e-book storage request that user terminal is sent, include always according to e-book storage request User's mark, it is empty from the residue for obtaining stack room amount of storage corresponding to user mark corresponding to user mark in accounts information Between, if the remaining space is less than the data volume of e-book corresponding to the e-book information, send for prompting stack room storage empty Between insufficient prompt message give the user terminal.
When user terminal receives above-mentioned prompt message, show the prompt message to user.User can arrange individual Stack room, delete the e-book no longer needed in personal stack room.Specifically, e-book list is sent by user terminal and obtains request To server, the e-book list obtains request and carries user's mark.When server receives e-book acquisition request, according to The user identifies, the e-book list corresponding to acquisition from user's mark, status information and the corresponding relation of e-book list, will The e-book list of acquisition returns to user terminal.User terminal receives and shows the e-book list, and user checks the electronics Book list, the e-book that no longer needs is selected from the e-book list corresponding to e-book information, then pass through user terminal E-book removal request is sent to server, the e-book removal request carries user's mark and the above-mentioned e-book of user's selection Information.After server receives the e-book removal request, user's choosing is deleted from e-book list corresponding to user mark The e-book information selected, and the electronics book label included according to the e-book information, user list corresponding to acquisition, from acquisition User mark is deleted in user list.If now user list corresponding to the electronics book label is sky, also from database Delete e-book corresponding to the electronics book label.
Releasing user needs the two-way binding between the e-book deleted and the user through the above way, obtains again afterwards The remaining space of stack room amount of storage is taken, judges whether the remaining space is more than or equal to the data for the e-book that user's needs store Amount.The e-book no longer needed of user's selection is deleted through the above way, until stack room amount of storage needs more than or equal to user During the data volume for the e-book to be stored, 102 and 103 operation is by electronics corresponding to the e-book information as follows Book and the personal stack room of the user carry out two-way binding.
Step 102:Determine whether to have stored e-book corresponding to the e-book information, if it is not, then obtaining and storing electricity The philosophical works.
Server stores in the e-book information of request carrying from e-book and parses electronics book label, according to the e-book Label, inquiry database determine whether there is e-book corresponding to the electronics book label.If in the presence of, it is determined that existing other users On be transmitted through e-book corresponding to the electronics book label, without repeating to store the e-book, perform the operation of subsequent step 103, if It is not present, then shows to be transmitted through e-book corresponding to the electronics book label on also no user, being obtained according to the electronics book label should E-book.
When server determines not yet to store e-book corresponding to the electronics book label, server, which sends e-book and uploaded, to be referred to Show message to user terminal, the e-book uploads instruction message and carries e-book information.User terminal is received in the e-book When passing instruction message, e-book is obtained under store path corresponding to above-mentioned e-book information of the user terminal from record, sending should E-book and corresponding e-book information are to server.Server receives the e-book of user terminal uploads and corresponding electronics Letter ceases, and electronics book label corresponding to the e-book is parsed from the e-book information, then the newly-built file of server Folder, the title that the electronics book label press from both sides as this document, the e-book of acquisition is stored into this document folder, and by the electronics The store path of book is stored in e-book information corresponding to the e-book.
When it is determined that stored e-book corresponding to the e-book information, or, although determining not storing the e-book, lead to Cross after aforesaid way obtains and store the e-book, 103 operation is by the e-book and of the user as follows People is bound in stack room.
Step 103:It is determined that after storing the e-book, e-book corresponding to user mark and e-book information is carried out double To binding.
In embodiments of the present invention, server safeguards user's mark, status information and e-book list as shown in table 1 below Corresponding relation, and safeguard the corresponding relation of electronics book label as shown in table 2 below and user list.
Table 1
Table 2
Electronics book label User list
Book1 User1、User2
Book2 User1、User2
Book3 User1、User3
After server determines e-book corresponding to stored above-mentioned e-book information, request is stored according to e-book and taken User's mark of band, from user's mark, the status information electricity corresponding with acquisition in the corresponding relation of e-book list shown in table 1 Philosophical works list, the e-book information that e-book is stored to request carrying are added in the e-book list of acquisition.In the user After the e-book information is added in e-book list corresponding to mark, complete the first of the e-book and the user again binding grasp Make.
The electronics book label that server includes according to e-book information, the electronics book label shown in inquiry table 2 arrange with user Whether the electronics book label corresponding to user list has been created in the corresponding relation of table.If it is, determine other existing use The e-book is transmitted through on family, directly user mark is added in user list corresponding to the electronics book label.If it is not, then It is determined that being transmitted through the e-book on no user before, user corresponding to the electronics book label is not yet created in current server and is arranged Table, therefore user list corresponding to the electronics book label is created, user mark is added in the user list of establishment.Pass through After user's mark is added in user list corresponding to the electronics book label by aforesaid way, the e-book and the use are just completed The second heavy bindings at family.
By above-mentioned two-way bindings, realize that user can be managed by personal stack room to the e-book, simultaneously Ensure only to store a data for every e-book, server, avoid data redundancy caused by repeating to store.
After carrying out two-way binding to e-book corresponding to user's mark and e-book information through the above way, it is also necessary to Real-time update is carried out to the remaining space of stack room amount of storage corresponding to the personal stack room of the user.In embodiments of the present invention, book Stock's reserves can be the maximum number that personal stack room store e-book.After above-mentioned two-way bindings are carried out, to the user Accounts information in the remaining space of stack room amount of storage carry out subtracting one operation.For example, it is assumed that the residue of current stack room amount of storage Space is 100, then after carrying out above-mentioned two-way bindings, by the remaining space of the stack room amount of storage in the accounts information of the user It is updated to 99.
In embodiments of the present invention, stack room amount of storage can also be the total amount of data that personal stack room store e-book.Then enter After the above-mentioned two-way bindings of row, the e-book is subtracted from the remaining space of the stack room amount of storage in the accounts information of the user Data volume.For example, it is assumed that the remaining space of current stack room amount of storage is 100M, the data volume of the e-book is 10M, then carries out After above-mentioned two-way bindings, the remaining space of the stack room amount of storage in the accounts information of the user is updated to 90M.
After carrying out reduction operation to stack room amount of storage through the above way, judge the stack room amount of storage remaining space whether Equal to zero, if judging, the remaining space of the stack room amount of storage is equal to zero, it is determined that the personal stack room of user have been filled with, and user is next Will be unable to again to personal stack room store e-book, therefore server send for prompt the prompt message that personal stack room have been filled with to User terminal.
After user terminal receives and shows above-mentioned prompt message, user can arrange personal stack room, delete in personal stack room The e-book no longer needed.Specifically, e-book list is sent by user terminal and obtains request to server, e-book row Table obtains request and carries user's mark.When server receives e-book acquisition request, identified according to the user, from the institute of table 1 E-book list corresponding to being obtained in the corresponding relation of user's mark, status information and the e-book list shown, by the electricity of acquisition Philosophical works list returns to user terminal.User terminal receives and shows the e-book list, and user checks the e-book list, from E-book information corresponding to the e-book that no longer needs is selected in the e-book list, then sends e-book by user terminal For removal request to server, the e-book removal request carries user's mark and the above-mentioned e-book information of user's selection.Service After device receives the e-book removal request, the e-book of user's selection is deleted from e-book list corresponding to user mark Information, and the electronics book label included according to the e-book information, user list corresponding to acquisition, from the user list of acquisition Delete user mark.If now user list corresponding to the electronics book label is sky, the electronics is also deleted from database E-book corresponding to book label.
Realize through the above way and delete e-book from personal stack room, if stack room amount of storage is to pass through e-book afterwards Number is come what is weighed, then server is carried out to the remaining space of the stack room amount of storage in the accounts information of user plus one operates.If Stack room amount of storage is weighed by the data volume of e-book, then server calculate the remaining space of current stack room amount of storage with The data volume sum of deleted e-book, the remaining space of the current stack room amount of storage in the accounts information of the user is updated For be calculated and value.
Although by way of the e-book in above-mentioned deletion individual stack room the remaining space of stack room amount of storage can increase Greatly, the remaining space of the stack room amount of storage but after increasing might not disclosure satisfy that the need of the e-book of user's storage next time Ask.For example, it is assumed that stack room amount of storage is weighed with e-book number, when the remaining space of stack room amount of storage is reduced to 0 after, User deletes an e-book in personal stack room so that the remaining space of stack room amount of storage is updated to 1, but next user Ask to store 3 e-book simultaneously, then the remaining space of current stack room amount of storage can not still meet that user stores e-book Demand.Based on the above situation be present, after the e-book storage request of user terminal transmission is received, passing through step 102 Before determining whether to have stored e-book corresponding to the e-book information that e-book storage request carries, deposited always according to e-book User's mark that storage request carries, the remaining space of stack room amount of storage is obtained from the accounts information of the user, according to e-book Stack room are first stored by the number of e-book or the data volume of corresponding e-book corresponding to the e-book information that storage request carries The remaining space of amount carries out reduction operation, judges whether the remaining space of the stack room amount of storage after reduction operation is less than zero.When sentencing When the remaining space of disconnected stack room amount of storage is less than zero, it is determined that current stack room amount of storage can not meet that this e-book stores need Ask, therefore send prompt message for prompting memory space inadequate to user terminal.
If user deletes the e-book in personal stack room through the above way so that the remaining space increase of stack room amount of storage To the demand that disclosure satisfy that the storage request of this e-book, then this e-book is stored by step 102 and 103 operation again E-book corresponding to request carries out two-way binding with personal stack room.
After if user terminal receives and shows the prompt message for prompting memory space inadequate, user does not delete individual The e-book no longer needed in stack room, then the remaining space of current stack room amount of storage be insufficient for this e-book storage request Demand, server abandon the e-book storage request, do not respond thereto.
In embodiments of the present invention, the e-book that user uploads, which is stored in, is used for the file for storing e-book in server In system, be it is centrally stored, but user perceive as its upload e-book be stored in its proprietary personal stack room, use Family experience is fine.And the APP (Application, application program) for accessing personal stack room can be installed on user terminal, or Person opens the webpage for accessing personal stack room by the browser of user terminal.It is personal being logged in by above-mentioned APP or webpage Behind stack room, terminal shows e-book administration interface, shows e-book catalogue in the e-book administration interface, the e-book catalogue E-book information corresponding to all e-book uploaded comprising user, user can check individual in the e-book administration interface All e-book in stack room.In addition, interface also is uploaded comprising e-book in the e-book administration interface, by the e-book Local electronic book documentary can be selected by passing Interface User, then by mode provided in an embodiment of the present invention by the electronics of selection During written matter is uploaded onto the server.
In embodiments of the present invention, when user is by user's terminal reading e-book, user terminal sends to read and asked Ask to server, the read request carries user's mark, electronics book label and reads progress.Server receives the read request Afterwards, according to the electronics book label and reading progress, the part e-book of the user of unread is loaded into cache.The user The follow-up read request of terminal directly will obtain reading content from cache, accelerate the speed that user obtains content.With E-book is being closed or when not accessing server more than certain time threshold value, server will remove the electronics in cache in family Book, Free up Memory is to cache other e-book.
In embodiments of the present invention, same e-book likely corresponds to multiple users, this multiple user all read or Person is reading this e-book, the situation of same e-book is possessed based on different user, the embodiments of the invention provide electricity Philosophical works shared mechanism.Specifically, when user opens certain e-book by user terminal, user corresponding to server from the e-book Other users mark with open air except this is obtained in list, the other users mark of acquisition is pushed to user terminal, so that should User can see the other users for possessing this e-book after opening e-book.Then other books that the user can be possessed Nationality is shared with the user seen.Agree to just share a success it should be noted that users to share e-book need to pass through other side.
Therefore for there may be many topics commons between this e-book this multiple user.The embodiment of the present invention is based on Reading to identical electronic book is user's recommendation friend, realizes the instant messaging based on e-book reading.Specifically, server from The other users mark in addition to the user identifies is obtained in user list corresponding to electronics book label, other users are identified and formed Book friend's recommendation list, book friend's recommendation list is sent to user terminal.
After user terminal receives and shows book friend's recommendation list, user can select book friendly from book friend's recommendation list Mark, and user corresponding to book friend's mark of selection is added to book friend.Specifically, user terminal send addition book friend ask to Server, book friend's mark that addition book friend's request carries user's mark and user selects from book friend's recommendation list.Server Addition book friend's request that user terminal is sent is received, book friend's mark that addition book friend's request carries is added to user mark In book friend list corresponding to knowledge.
Before book friend's mark is added in book friend's list corresponding to user's mark, it is logical that server can also send addition book friend Know to book friend's terminal corresponding to book friend's mark, when instruction is added in the agreement for receiving the return of book friend terminal again by book friend Mark is added in book friend's list corresponding to user mark.If receiving the refusal addition instruction of book friend terminal return, The configured information for instruction friend's addition failure is returned to user terminal.
After turning into book friend with the user of reading identical electronic book through the above way, user can carry out electronics with book friend Book is shared.Specifically, user shares request to server by terminal transmission e-book, and the e-book shares request and carries user Electronics book label corresponding to the e-book for wanting to share and book friend identify.Server receives e-book point that user terminal is sent Request is enjoyed, e-book is sent and shares notice to book friend's terminal corresponding to book friend's mark, the e-book, which is shared, to be notified to carry the electricity Philosophical works label and user's mark.After book friend's terminal receives and shows that the e-book shares notice, book friend i.e. would know that the user to It has shared e-book corresponding to the electronics book label, if book friend is interested in the e-book shared, can pass through book friend Terminal sends agreement and shares notice to server.When notice is shared in the agreement that server receives the transmission of book friend terminal, to this E-book corresponding to book friend mark and the electronics book label carries out two-way binding.That is server receives the agreement and shares notice Afterwards, e-book information corresponding to the e-book is obtained from e-book list corresponding to user mark, by the e-book information It is added in e-book list corresponding to book friend.And book friend's mark is added in user's mark corresponding to the e-book.
Share process for above-mentioned e-book, can be through the above way to the book no matter whether book friend is current online Friend recommends e-book.In addition, in embodiments of the present invention, user can also send instant messaging by user terminal and ask to clothes Business device, the book friend that instant messaging request carries online book friend identify.Server receives instant messaging request, sends calling letter Cease to book friend's terminal corresponding to book friend's mark.If the book friend terminal-pair call information is responded, server is connecing When receiving the response message of book friend terminal return, it is established that the instant messaging connection between the user terminal and book friend's terminal, The user can be connected by the instant messaging with book friend and be chatted.
For the ease of understanding method provided in an embodiment of the present invention, the embodiment of the present invention is briefly explained below in conjunction with the accompanying drawings Entire flow.As shown in Fig. 2 S1:Receive the stack room that user terminal is sent and establish request, for stack room storage corresponding to user's distribution Amount.S2:The e-book storage request that user terminal is sent is received, e-book storage request carries user's mark and electronics letter Breath.S3:Determine whether the remaining space of stack room amount of storage is less than the data volume of e-book corresponding to the e-book information, if It is to perform step S4, if it is not, then performing step S5.S4:The prompt message for prompting memory space inadequate is sent to user Terminal.S5:Determine whether to have stored e-book corresponding to the e-book information, if it is, step S6 is performed, if it is not, then Perform step S7.S6:The e-book information is added in e-book list corresponding to the user, and is used corresponding to the e-book User mark, subsequent execution step S8 are added in the list of family.S7:Obtain and store the e-book, electric corresponding to the user The e-book information is added in philosophical works list, creates user list corresponding to the e-book, is added in the user list of establishment The user is added to identify.S8:Difference between the remaining space of calculated description stock's reserves and the data volume of the e-book, will be current The remaining space of stack room amount of storage is updated to the difference calculated.
In embodiments of the present invention, the e-book storage request that user terminal is sent is received, e-book storage request carries User identifies and e-book information;Determine whether to have stored e-book corresponding to e-book information, if it is not, then obtaining and storing E-book;It is determined that after storage e-book, two-way binding is carried out to e-book corresponding to user's mark and e-book information.The present invention Personal stack room are created for user, in realizing that e-book that the user that user terminal is locally stored has by oneself is uploaded onto the server, Addition, deletion, reading progress and notes of e-book etc. are had by oneself to user by personal stack room to be managed.And the electricity that will be had by oneself After philosophical works upload server, although user uses different user terminals, as long as user logs in personal stack room can management These e-book, the shared of these e-book is realized between different user terminals, be easy to pipe of the user to own e-book Reason and reading.
Embodiment 2
Referring to Fig. 3, the embodiments of the invention provide a kind of e-book managing device, the device is used to perform above-described embodiment The 1 e-book management method provided, the device include:
Receiving module 20, the e-book for receiving user terminal transmission store request, and e-book storage request carries User identifies and e-book information;
Determining module 21, it is used to determine whether to have stored e-book corresponding to e-book information, if it is not, then obtaining and depositing The storing up electricity philosophical works;
Binding module 22, after determining storage e-book for determining module, to corresponding to user's mark and e-book information E-book carries out two-way binding.
As shown in figure 4, above-mentioned binding module 22 includes:
Adding device 220, for adding e-book information in e-book list corresponding to being identified in user;
Query unit 221, for the electronics book label included according to e-book information, whether inquiry has created electronics book label User list corresponding to label;If it is, user's mark is added in user list;If it is not, then create electronics book label Corresponding user list, user's mark is added in the user list of establishment.
Above-mentioned determining module 21, instruction message is uploaded to user terminal for sending e-book, e-book uploads instruction and disappeared Breath carries e-book information;Receive the e-book that user terminal uploads instruction message upload according to e-book.
As shown in figure 4, the device also includes:
Module 23 is established in stack room, and request is established in the stack room for receiving user terminal transmission, and stack room are established to ask to carry and used Family identifies;Stack room amount of storage corresponding to distribution is identified for user.
If above-mentioned stack room amount of storage is the maximum number that personal stack room store e-book, stack room amount of storage update module 24 For carrying out subtracting one operation to the remaining space of stack room amount of storage.Or if above-mentioned stack room amount of storage is personal stack room storage electricity The total amount of data of the philosophical works, then stack room amount of storage update module 24 from the remaining space of stack room amount of storage for subtracting e-book Data volume.
Before determining module 21 determines whether to have stored e-book corresponding to e-book information, in addition to:Reminding module, For sending the prompt message for being used for prompting memory space inadequate to user terminal.
As shown in figure 4, the device also includes:
Book friend add module 25, for from user list corresponding to electronics book label obtain except user identify in addition to other User is identified, and other users are identified into composition book friend's recommendation list;Book friend's recommendation list is sent to user terminal;It is whole to receive user Hold the addition book friend's request sent, the book friend that addition book friend's request carries user's mark and user selects from book friend's recommendation list Mark;Book friend's mark is added in book friend's list corresponding to user's mark.
E-book sharing module 26, the e-book for receiving user terminal transmission share request, and e-book shares request Carry electronics book label and book friend's mark;Send e-book and share notice to book friend's terminal, e-book point corresponding to book friend's mark Enjoy notice and carry electronics book label and user's mark;If notice is shared in the agreement for receiving the transmission of book friend terminal, to the book E-book corresponding to friend's mark and electronics book label carries out two-way binding.
Instant messaging module 27, for receiving the instant messaging request of user terminal transmission, instant messaging request, which carries, works as Preceding online book friend's mark;Call information is sent to book friend's terminal corresponding to current online book friend's mark;Receive book friend's terminal The response message of return, the instant messaging connection established between user terminal and book friend's terminal.
In embodiments of the present invention, the e-book storage request that user terminal is sent is received, e-book storage request carries User identifies and e-book information;Determine whether to have stored e-book corresponding to e-book information, if it is not, then obtaining and storing E-book;It is determined that after storage e-book, two-way binding is carried out to e-book corresponding to user's mark and e-book information.The present invention Personal stack room are created for user, in realizing that e-book that the user that user terminal is locally stored has by oneself is uploaded onto the server, Addition, deletion, reading progress and notes of e-book etc. are had by oneself to user by personal stack room to be managed.And the electricity that will be had by oneself After philosophical works upload server, although user uses different user terminals, as long as user logs in personal stack room can management These e-book, the shared of these e-book is realized between different user terminals, be easy to pipe of the user to own e-book Reason and reading.
The e-book managing device that the embodiment of the present invention is provided can be that the specific hardware or be installed in equipment is set Standby upper software or firmware etc..The device that the embodiment of the present invention is provided, its realization principle and caused technique effect and foregoing Embodiment of the method is identical, and to briefly describe, device embodiment part does not refer to part, refers to corresponding in preceding method embodiment Content.It is apparent to those skilled in the art that for convenience and simplicity of description, system described above, dress The specific work process with unit is put, the corresponding process in above method embodiment is may be referred to, will not be repeated here.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, can be by others side Formula is realized.Device embodiment described above is only schematical, for example, the division of the unit, only one kind are patrolled Function division is collected, there can be other dividing mode when actually realizing, in another example, multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some communication interfaces, device or unit Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in embodiment provided by the invention can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to correlation technique or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing, in addition, term " the One ", " second ", " the 3rd " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
Finally it should be noted that:Embodiment described above, it is only the embodiment of the present invention, to illustrate the present invention Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light Change is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not make The essence of appropriate technical solution departs from the spirit and scope of technical scheme of the embodiment of the present invention.The protection in the present invention should all be covered Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

1. a kind of e-book management method, it is characterised in that methods described includes:
The e-book storage request that user terminal is sent is received, the e-book storage request carries user's mark and electronics letter Breath;
Determine whether to have stored e-book corresponding to the e-book information, if it is not, then obtaining and storing the e-book;
It is determined that after storing the e-book, two-way tie up is carried out to e-book corresponding to user mark and the e-book information It is fixed.
2. according to the method for claim 1, it is characterised in that described to user mark and the e-book information pair The e-book answered carries out two-way binding, including:
The e-book information is added in e-book list corresponding to user mark;
Whether the electronics book label included according to the e-book information, inquiry have created user corresponding to the electronics book label List;
If it is, user mark is added in the user list;
If it is not, then creating user list corresponding to the electronics book label, user mark is added to described in establishment In user list.
3. according to the method for claim 1, it is characterised in that the e-book is obtained, including:
Send e-book and upload instruction message to the user terminal, the e-book uploads instruction message and carries the e-book Information, receive the e-book that the user terminal uploads instruction message upload according to the e-book.
4. according to the method for claim 1, it is characterised in that the e-book storage request for receiving user terminal and sending Before, in addition to:
Receive the stack room that user terminal is sent and establish request, the stack room establish request and carry user's mark;
Stack room amount of storage corresponding to distribution is identified for the user.
5. according to the method for claim 4, it is characterised in that
After two-way binding being carried out to e-book corresponding to user mark and the e-book information, in addition to:It is if described Stack room amount of storage is the maximum number that personal stack room store e-book, then subtracts one to the remaining space of the stack room amount of storage Operation;Or if the stack room amount of storage is the total amount of data that personal stack room store e-book, from the stack room amount of storage The data volume of the e-book is subtracted in remaining space;
It is described determine whether to have stored e-book corresponding to the e-book information before, in addition to:Obtain the stack room storage The remaining space of amount, if the remaining space is less than the data volume of the e-book, send for prompting stack room memory space The prompt message of deficiency gives the user terminal.
6. according to the method for claim 2, it is characterised in that methods described also includes:
The other users mark in addition to the user identifies is obtained from user list corresponding to the electronics book label, by described in Other users mark composition book friend's recommendation list;
The book friend recommendation list is sent to the user terminal.
7. according to the method for claim 6, it is characterised in that methods described also includes:
Addition book friend's request that the user terminal is sent is received, addition book friend's request carries user's mark and user The book friend's mark selected from the book friend recommendation list;
Book friend's mark is added in book friend's list corresponding to user's mark.
8. according to the method for claim 7, it is characterised in that methods described also includes:
Receive the e-book that the user terminal is sent and share request, the e-book shares request and carries electronics book label and institute State book friend's mark;
Transmission e-book is shared notice and shared to book friend's terminal, the e-book corresponding to book friend's mark described in notice carrying Electronics book label and user mark;
If receiving the agreement that the book friend terminal is sent shares notice, to book friend mark and the electronics book label pair The e-book answered carries out two-way binding.
9. according to the method for claim 7, it is characterised in that methods described also includes:
The instant messaging request that the user terminal is sent is received, the instant messaging request carries current online book friend's mark Know;
Call information is sent to book friend's terminal corresponding to current online book friend's mark;
Receive the response message that the book friend terminal returns, the IMU established between the user terminal and the book friend terminal Letter connection.
10. a kind of e-book managing device, it is characterised in that described device includes:
Receiving module, the e-book for receiving user terminal transmission store request, and the e-book storage request carries user Mark and e-book information;
Determining module, it is used to determine whether to have stored e-book corresponding to the e-book information, if it is not, then obtaining and storing The e-book;
Binding module, determined for the determining module after storing the e-book, to user mark and the e-book E-book corresponding to information carries out two-way binding.
CN201710970175.9A 2017-10-16 2017-10-16 A kind of e-book management method and device Pending CN107741981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710970175.9A CN107741981A (en) 2017-10-16 2017-10-16 A kind of e-book management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710970175.9A CN107741981A (en) 2017-10-16 2017-10-16 A kind of e-book management method and device

Publications (1)

Publication Number Publication Date
CN107741981A true CN107741981A (en) 2018-02-27

Family

ID=61237387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710970175.9A Pending CN107741981A (en) 2017-10-16 2017-10-16 A kind of e-book management method and device

Country Status (1)

Country Link
CN (1) CN107741981A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108462757A (en) * 2018-03-30 2018-08-28 上海掌门科技有限公司 A kind of method and apparatus for sharing e-book
CN109460545A (en) * 2018-10-26 2019-03-12 上海连尚网络科技有限公司 A kind of user matching method and its terminal, server based on content of text
CN110865980A (en) * 2019-09-30 2020-03-06 咪咕数字传媒有限公司 Display method of electronic book, electronic device and computer-readable storage medium
CN111914195A (en) * 2020-08-07 2020-11-10 合肥讯飞读写科技有限公司 Book card generation method, book issuing method and book issuing device
CN113554830A (en) * 2021-07-30 2021-10-26 重庆五洲世纪智能科技有限公司 Electronic book self-service terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110120574A (en) * 2010-04-29 2011-11-04 석동익 E-book memo overlap and sharing system through communication between e-book users and method
TW201239639A (en) * 2011-03-16 2012-10-01 Insyde Software Corp Content interaction and exchange method of electronic book
CN102932443A (en) * 2012-10-29 2013-02-13 苏州两江科技有限公司 HDFS (hadoop distributed file system) cluster based distributed cloud storage system
CN102932681A (en) * 2012-11-15 2013-02-13 青岛海信宽带多媒体技术有限公司 Method and system for realizing recommendation of television program
CN103209163A (en) * 2012-01-17 2013-07-17 三星电子(中国)研发中心 E-book sharing method, server and client
CN103841170A (en) * 2012-11-27 2014-06-04 联想(北京)有限公司 Cloud storage method and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110120574A (en) * 2010-04-29 2011-11-04 석동익 E-book memo overlap and sharing system through communication between e-book users and method
TW201239639A (en) * 2011-03-16 2012-10-01 Insyde Software Corp Content interaction and exchange method of electronic book
CN103209163A (en) * 2012-01-17 2013-07-17 三星电子(中国)研发中心 E-book sharing method, server and client
CN102932443A (en) * 2012-10-29 2013-02-13 苏州两江科技有限公司 HDFS (hadoop distributed file system) cluster based distributed cloud storage system
CN102932681A (en) * 2012-11-15 2013-02-13 青岛海信宽带多媒体技术有限公司 Method and system for realizing recommendation of television program
CN103841170A (en) * 2012-11-27 2014-06-04 联想(北京)有限公司 Cloud storage method and server

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108462757A (en) * 2018-03-30 2018-08-28 上海掌门科技有限公司 A kind of method and apparatus for sharing e-book
CN109460545A (en) * 2018-10-26 2019-03-12 上海连尚网络科技有限公司 A kind of user matching method and its terminal, server based on content of text
CN110865980A (en) * 2019-09-30 2020-03-06 咪咕数字传媒有限公司 Display method of electronic book, electronic device and computer-readable storage medium
CN111914195A (en) * 2020-08-07 2020-11-10 合肥讯飞读写科技有限公司 Book card generation method, book issuing method and book issuing device
CN113554830A (en) * 2021-07-30 2021-10-26 重庆五洲世纪智能科技有限公司 Electronic book self-service terminal

Similar Documents

Publication Publication Date Title
CN107741981A (en) A kind of e-book management method and device
CN104079548B (en) Electronic name card management method, device, server and communication system
CN100461702C (en) Friendly-synchronizing management method for network community
CN106878309B (en) Safety early warning method and device applied to network payment
CN103380634B (en) For the method and apparatus sending data
CN103067257B (en) Method and server and system for achieving data mutual communication in social networking service
US20120317213A1 (en) Transmitting instant messages
US20110246512A1 (en) System and method for a remotely accessible web-based personal address book
CN101163117B (en) Packet management method, packet resource sharing method and instant communication equipment
CN103209247B (en) Method and system that a kind of information shows and terminal and server
CN102148843A (en) Asynchronous downloading system and method
CN102150443A (en) System and methods for communication between instant message users and short message service users
CN103166828A (en) Interoperate method and system of social networking services
CN106097019A (en) Virtual objects packet transmission method, device and system
CN102958008A (en) Method, system and mobile terminals for realizing instant messaging
CN102724139A (en) Method and device for friend recommending through instant messaging
CN105338066A (en) Information sharing method and client
JP2015522879A (en) Service device, method and storage medium for providing offline message
CN104980290A (en) Method for establishing groups and server
CN102685101A (en) Proxy communications on a social network
CN102364966B (en) A kind of wireless communication terminal and its SMS processing method, system
CN104065618A (en) Method, terminal and server for controlling user permission
CN103051792B (en) Contact information changing method and communication terminal thereof
CN105337848B (en) The remark names preparation method and device of network good friend
CN102244695A (en) Contact person grouping system and method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180227

RJ01 Rejection of invention patent application after publication