CN109801141A - Shared books borrow method and apparatus, electronic equipment and storage medium - Google Patents
Shared books borrow method and apparatus, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109801141A CN109801141A CN201910064216.7A CN201910064216A CN109801141A CN 109801141 A CN109801141 A CN 109801141A CN 201910064216 A CN201910064216 A CN 201910064216A CN 109801141 A CN109801141 A CN 109801141A
- Authority
- CN
- China
- Prior art keywords
- book
- borrowing
- information
- user
- amount
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 230000004044 response Effects 0.000 claims abstract description 7
- 230000003993 interaction Effects 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 13
- 238000004364 calculation method Methods 0.000 claims description 7
- 230000002452 interceptive effect Effects 0.000 claims 1
- 230000000875 corresponding effect Effects 0.000 description 40
- 238000010586 diagram Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Method and apparatus, electronic equipment and storage medium are borrowed the invention discloses a kind of shared books, wherein method includes: the prompt information borrowed request, export for prompting user's input to borrow book information for receiving user and sending;That reads user's input borrows book information, and exports the prompt information for prompting user's branch deposit;In response to the success of user's branch deposit, generation is borrowed order information and is stored, and the output successful prompt information of book borrowing and reading;Wherein, the order information of borrowing includes: described to borrow book information, borrow the time and the amount of money of the cash pledge of user's payment.The present invention can save user because reading the expense generated, improve the utilization rate of library resource.
Description
Technical Field
The invention relates to the internet technology, in particular to a method and a device for borrowing shared books, electronic equipment and a storage medium.
Background
The sharing economy is the most attention-focused economy mode at present, which is beneficial to meeting the free and flexible use requirements of people, can realize the maximum use value of shared articles, and attracts more and more attention in various fields. For example, shared objects such as shared cars, shared bicycles, shared umbrellas, shared chargers, and the like are currently appearing.
With the improvement of the living standard of people's materials, in the times of explosive growth of knowledge at present, the spiritual culture needs are increasing day by day, and continuous reading is urgently needed to promote self knowledge storage. In 2017, the Xinhua network, Amazon China and the national reading official websites initiate reading questionnaires together, and the survey shows that the total reading amount of the nation tends to increase steadily. 56% of the interviewees read more than 10 books each year, and 82% of the interviewees read more than half an hour each day. Reports show that 37% of the interviewees schedule a fixed reading time, that the planning of reading is positively correlated with the interviewee's income, and that the higher the income, the more common the reading behavior. The books are various in types and are fast to grow, the user usually uses each book for one-time reading, if the user purchases the books for reading at each time, the user needs to invest higher cost, and the books can be idle and wasted. Therefore, sharing of books is urgently required.
Disclosure of Invention
The invention provides a technical scheme for sharing books, which is used for saving the cost of a user for reading and improving the utilization rate of book resources.
The invention provides a method for borrowing shared books, which comprises the following steps:
receiving a borrowing request sent by a user, and outputting prompt information for prompting the user to input borrowing book information;
reading book borrowing information input by a user, and outputting prompt information for prompting the user to pay a deposit;
responding to the successful deposit payment of the user, generating and storing borrowing order information, and outputting prompt information of book borrowing success; wherein the borrowing order information comprises: the book borrowing information, the borrowing time and the amount of deposit paid by the user.
Optionally, in the method for borrowing a shared book, the reading of book borrowing information input by a user includes:
reading the book borrowing information by scanning the two-dimensional code on the book to be borrowed; or,
and reading the book borrowing information by receiving a book identification set on the book borrowing input by a user.
Optionally, in the method for borrowing a shared book, the method further includes: reading user information;
the borrowing order information further includes: the user information.
Optionally, in the method for borrowing shared books, the amount of the deposit is an amount which is uniformly set for all the books in advance; or,
the amount of the deposit is greater than or equal to the sales price of the borrowed book; the output is used for prompting the user to pay the prompt message of the deposit, including:
inquiring the selling price of the book to be borrowed from a book information base based on the book information to be borrowed;
and determining the amount of the deposit according to the sales price of the borrowed book, and outputting prompt information for prompting a user to pay the deposit, wherein the prompt information comprises the amount of the deposit.
Optionally, in the method for borrowing a shared book, the generating and storing borrowing order information includes:
generating borrowing order information, storing the borrowing order information in a client, and sending the borrowing order information and identification information of the client to a server; and the identification information of the client is used for uniquely identifying the client.
Optionally, in the method for borrowing a shared book, the method further includes:
receiving a book returning request sent by a user, and outputting prompt information for prompting the user to input book returning information;
reading returned book information input by a user, and inquiring whether borrowing order information corresponding to the returned book information exists or not;
if the borrowing order information corresponding to the returned book information exists, calculating the rent amount of the borrowed book according to the borrowing time in the borrowing order information and a preset charging rule;
and settling the fee according to the rent amount and the deposit amount of the borrowed book.
Optionally, in the method for borrowing a shared book, the querying whether borrowing order information corresponding to the returned book information exists includes:
inquiring whether the client locally has borrowing order information corresponding to the returned book information;
if the borrowing order information corresponding to the returned book information does not exist in the local client, inquiring whether the server has the borrowing order information corresponding to the returned book information;
the presence of the borrowing order information corresponding to the returned book information includes: the client and/or the server have/has borrowing order information corresponding to the returned book information.
Optionally, in the method for borrowing a shared book, the settlement of the fee according to the amount of the rent and the amount of the deposit of the borrowed book includes:
comparing whether the rent amount of the borrowed book is smaller than the deposit amount;
if the rent amount of the book borrowed this time is less than the deposit amount, calculating the difference between the rent amount of the book borrowed this time and the deposit amount, and replacing the difference with the user;
otherwise, if the rent amount of the book borrowing is larger than or equal to the deposit amount, carrying out fee settlement according to the deposit amount, and generating and storing the borrowing service information.
Optionally, in the method for borrowing a shared book, the method further includes:
and if the rent amount of the book borrowing is larger than or equal to the deposit amount, transferring the ownership of the book borrowing to the user.
Optionally, in the method for borrowing a shared book, the method further includes:
responding to a purchase request sent by a user, and outputting prompt information for prompting the user to input book borrowing information;
reading book borrowing information input by a user, and inquiring book borrowing order information corresponding to the returned book information;
calculating the rent amount of the book to be borrowed according to the borrowing time in the borrowing order information and a preset charging rule;
and carrying out expense settlement according to the sale price, the rent amount and the deposit amount of the book to be borrowed, and transferring the ownership of the book to the user after the settlement is finished.
The invention provides a borrowing device of a shared book, which comprises:
the interaction module is used for receiving a borrowing request sent by a user and outputting prompt information for prompting the user to input book borrowing information; reading book borrowing information input by a user, and outputting prompt information for prompting the user to pay a deposit; responding to the successful deposit payment of the user, and outputting prompt information of book borrowing success;
the generating module is used for responding to the successful payment of the deposit of the user, generating and storing the borrowing order information; wherein the borrowing order information comprises: the book borrowing information, the book borrowing time and the amount of deposit paid by the user;
and the storage module is used for storing the borrowing order information.
Optionally, in the borrowing device for sharing books, when the interaction module reads the book borrowing information input by the user, the interaction module is used for reading the book borrowing information by scanning the two-dimensional code on the book to be borrowed; or, reading the book borrowing information by receiving a book identification set on the book borrowing input by the user.
Optionally, in the borrowing device for shared books, the interaction module is further configured to read user information;
the borrowing order information further includes: the user information.
Optionally, in the borrowing device for shared books, the generating module is further configured to send the borrowing order information and the identification information of the client to a server; and the identification information of the client is used for uniquely identifying the client.
Optionally, in the borrowing device for shared books, the interaction module is further configured to receive a book returning request sent by a user, and output prompt information for prompting the user to input book returning information; reading book returning information input by a user;
the device further comprises:
the query module is used for querying whether the borrowing order information corresponding to the returned book information exists or not;
the calculation module is used for calculating the rent amount of the book to be borrowed according to the borrowing time and the preset charging rule in the borrowing order information if the borrowing order information corresponding to the returned book information exists;
and the settlement module is used for settling the fee according to the rent amount of the book borrowed at this time and the deposit amount.
Optionally, in the borrowing device for shared books, the query module is configured to query whether borrowing order information corresponding to the returned book information exists locally at the client; if the borrowing order information corresponding to the returned book information does not exist in the local client, inquiring whether the server has the borrowing order information corresponding to the returned book information;
the presence of the borrowing order information corresponding to the returned book information includes: the client and/or the server have/has borrowing order information corresponding to the returned book information.
Optionally, in the borrowing device for shared books, the settlement module is configured to compare whether the amount of rent of the borrowed book is less than the amount of deposit; if the rent amount of the book borrowed this time is less than the deposit amount, calculating the difference between the rent amount of the book borrowed this time and the deposit amount, and replacing the difference with the user; otherwise, if the rent amount of the book borrowing is larger than or equal to the deposit amount, carrying out fee settlement according to the deposit amount, and generating and storing the borrowing service information.
Optionally, in the borrowing device for shared books, the borrowing device further comprises:
and the book processing module is used for transferring the ownership of the borrowed book to the user if the rent amount of the borrowed book is larger than or equal to the deposit amount.
Optionally, in the borrowing device for sharing books, the interaction module is further configured to output prompt information for prompting the user to input information of borrowing books in response to receiving a purchase request sent by the user; reading book borrowing information input by a user, and inquiring book borrowing order information corresponding to the returned book information;
the calculation module is further used for calculating the rent amount of the book borrowed this time according to the borrowing time in the borrowing order information and a preset charging rule;
the settlement module is also used for settling the expenses according to the sale price, the rent amount and the deposit amount of the book borrowed at this time;
the device further comprises:
and the book processing module is used for transferring the ownership of the borrowed book to the user after the settlement is finished.
The invention provides an electronic device, comprising:
a memory for storing a computer program;
and the processor is used for executing the computer program stored in the memory, and when the computer program is executed, the borrowing method of the shared book is realized.
The invention provides a computer readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements any one of the above-mentioned methods for borrowing shared books.
Based on the method and the device for borrowing shared books, the electronic equipment and the storage medium provided by the embodiment of the invention, the borrowing request sent by the user is received, and prompt information for prompting the user to input the information of the borrowed books is output; reading book borrowing information input by a user, and outputting prompt information for prompting the user to pay a deposit; and in response to the successful deposit payment of the user, generating and storing borrowing order information and outputting prompt information of book borrowing success, so that book sharing is realized, the cost of the user caused by reading is saved, and the utilization rate and circulation rate of book resources are improved.
In addition, based on the method and the device for borrowing shared books, the electronic device and the storage medium provided by the embodiment of the invention, when a book returning request sent by a user is received, whether borrowing order information corresponding to the book returning information exists in the local part of the client can be inquired; if the borrowing order information corresponding to the returned book information does not exist in the client locally, inquiring whether the server has the borrowing order information corresponding to the returned book information, and if the borrowing order information corresponding to the returned book information exists, calculating the rent amount of the book to be borrowed according to the borrowing time and the preset charging rule in the borrowing order information; the expense settlement is carried out according to the rent amount and the deposit amount of the borrowed book, so that the returning of the shared book across regions and stores is realized, the book does not need to be returned to the original book borrowing point, and the convenience of the borrowing of the shared book is improved.
In addition, if the rent amount of the book borrowed at this time is larger than or equal to the deposit amount, the ownership of the book borrowed is transferred to the user, so that the automatic purchase of the book by the user is realized.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the embodiments or the prior art descriptions will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without inventive labor.
FIG. 1 is a flow chart of a method for borrowing shared books according to the present invention.
FIG. 2 is another flow chart of the method for borrowing shared books according to the present invention.
Fig. 3 is a schematic structural diagram of the borrowing device for sharing books according to the invention.
Fig. 4 is another schematic structural diagram of the borrowing device for sharing books according to the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
FIG. 1 is a flow chart of a method for borrowing shared books according to the present invention. As shown in fig. 1, the borrowing method of the shared book comprises the following steps:
step 101, receiving a borrowing request sent by a user, and outputting prompt information for prompting the user to input book borrowing information.
And 102, reading book borrowing information input by a user, and outputting prompt information for prompting the user to pay a deposit.
The book borrowing information includes information related to the book to be borrowed, such as book Identification (ID) of the book to be borrowed, book name, publishing company, author, and the like. The book ID is used for uniquely identifying a book.
And 103, responding to the successful deposit payment of the user, generating and storing borrowing order information, and outputting prompt information of book borrowing success.
Wherein, the borrowing order information comprises: borrow book information, borrow time and the amount of deposit paid by the user. In addition, the borrowing order information may further include account information of the deposit paid by the user, and related information of the transaction, such as Identification (ID) information of the client, where the identification of the client is used to uniquely identify one client.
It should be noted that part or all of the execution subjects of the above steps 101 to 103 may be an application located in a local terminal, that is, a terminal device of a service provider, or may also be a functional unit such as a plug-in or Software Development Kit (SDK) set in the application located in the local terminal, or may also be a processing engine located in a server on a network side, or may also be a distributed system located on the network side, which is not particularly limited in this embodiment. The execution subject of the steps 101-103 can be called a borrowing device or a client of a shared book.
It is to be understood that the application may be a native app (native app) installed on the terminal, or may also be a web page program (webApp) of a browser on the terminal, and this embodiment is not particularly limited thereto.
Based on the borrowing method of the shared book provided by the embodiment of the invention, the borrowing request sent by the user is received, and prompt information for prompting the user to input the information of the borrowed book is output; reading book borrowing information input by a user, and outputting prompt information for prompting the user to pay a deposit; and in response to the successful deposit payment of the user, generating and storing borrowing order information and outputting prompt information of book borrowing success, so that book sharing is realized, the cost of the user caused by reading is saved, and the utilization rate and circulation rate of book resources are improved.
In a possible implementation manner of the present invention, the book borrowing information may be pre-manufactured into a two-dimensional code and set on the book to be borrowed, for example, a barcode for carrying the book borrowing information on the book may be pre-scanned, and the two-dimensional code is generated and pasted on the back of the book to be borrowed, at this time, in step 102, the book borrowing information may be read by scanning the two-dimensional code on the book to be borrowed.
Or, in another possible implementation manner of the present invention, the book borrowing information may also be a book ID of the book to be borrowed, and in this case, in step 102, the book borrowing information may be read by receiving a book identifier set on the book to be borrowed, which is input by the user.
In addition, in another embodiment of the present invention, the method may further include: and reading user information, wherein the user information can be information such as a user name, a user ID, a mobile phone number, gender, age and the like. The user information can be embodied as a member code, the user can register in the server for realizing the borrowing method of the shared book in advance, and the member code is generated based on the provided registration information, so that when the user information is read, the member code can be directly scanned to realize the reading of the user information.
Based on the embodiment, after the book borrowing information and the user information are read, the generated book borrowing order information can further comprise the user information, so that the correspondence between the books and the information of readers is realized, and the user can learn which user borrows each book.
In one possible implementation manner of the present invention, the amount of the deposit is an amount that is set uniformly for all books in advance, that is, the amount of the deposit is the same for all books, so as to facilitate uniform management.
Alternatively, in another possible implementation manner of the present invention, the amount of the deposit may be greater than or equal to the selling price of the borrowed book, so that the size of the deposit for different books may be different, and is related to the selling price of each book, and is reasonable. At this time, in step 102, when the prompt information for prompting the user to pay the deposit is output, the selling price of the book to be borrowed may be queried from the book information base based on the book information to be borrowed; determining the amount of the deposit according to the sales price of the book to be borrowed, for example, taking the sales price of the book to be borrowed as the amount of the deposit, or adding a preset amount to the sales price of the book to be borrowed as the amount of the deposit, or calculating an amount of money larger than the sales price from the sales price of the book to be borrowed in other calculation modes as the amount of the deposit, and the like, and outputting prompt information for prompting a user to pay the deposit, wherein the prompt information comprises the amount of the deposit.
In one possible implementation manner of the present invention, in step 103, generating and storing the borrow order information may include: the method comprises the steps of generating and storing borrowing order information at a client, and sending the borrowing order information and Identification (ID) information of the client to a server. The identification information of the client is used for uniquely identifying one client, and the information such as the location of the client can be determined based on the ID of the client.
In addition, after the borrowing method of the shared books, a process of returning the books can be further included.
FIG. 2 is another flow chart of the method for borrowing shared books according to the present invention. As shown in fig. 2, after the step 103, the following procedure of returning the book is further included:
step 201, receiving a book returning request sent by a user, and outputting prompt information for prompting the user to input book returning information.
Step 202, reading the returned book information input by the user, and inquiring whether the borrowing order information corresponding to the returned book information exists.
If the borrowing order information corresponding to the returned book information exists, step 203 is executed. Otherwise, if the borrowing order information corresponding to the returned book information does not exist, the subsequent steps are not executed.
And 203, calculating the rent amount of the book borrowing according to the borrowing time in the borrowing order information and a preset charging rule.
204, settling the fee according to the rent amount and the deposit amount of the book borrowed at this time.
Based on the embodiment, the return of the shared book and the payment settlement are realized.
In one possible implementation manner of the present invention, in step 202, the querying whether the borrowing order information corresponding to the returned book information exists may include:
inquiring whether the client locally has borrowing order information corresponding to the returned book information;
if the borrowing order information corresponding to the returned book information does not exist in the local client, inquiring whether the server has the borrowing order information corresponding to the returned book information;
and when the borrowing order information corresponding to the returned book information exists in the client and/or the server, confirming that the borrowing order information corresponding to the returned book information exists.
Based on the embodiment, the books can be returned to the original book borrowing point, the shared books can be returned across regions and stores, the books do not need to be returned to the original book borrowing point, and the convenience of book borrowing of the shared books is improved.
In a possible implementation manner of the present invention, in step 204, it may be compared whether the rent amount of the book borrowed this time is less than the deposit amount; if the rent amount of the book borrowed this time is less than the deposit amount, calculating the difference between the rent amount of the book borrowed this time and the deposit amount, and replacing the difference with the user; otherwise, if the rent amount of the book to be borrowed is larger than or equal to the deposit amount, the payment is settled according to the deposit amount, and the user supplements the insufficient payment part to generate and store the service information to be borrowed.
Further, if the rent amount of the book borrowed at this time is larger than or equal to the deposit amount, the ownership of the book borrowed can be transferred to the user, so that the automatic (passive) purchase of the book by the user is realized.
In addition, the borrowing method of the shared book of the invention can also comprise the following steps:
responding to a purchase request sent by a user, and outputting prompt information for prompting the user to input book borrowing information;
reading book borrowing information input by a user, and inquiring book borrowing order information corresponding to the returned book information;
calculating the rent amount of the book to be borrowed according to the borrowing time in the borrowing order information and a preset charging rule;
and carrying out expense settlement according to the sales price, the rent amount and the deposit amount of the book to be borrowed, for example, deducting the rent amount from the sales price of the book to be borrowed as a compensation price difference, calculating according to the compensation price difference and the deposit amount, reducing the compensation, and transferring the ownership of the book to the user after the settlement is finished.
Based on the embodiment, the active purchase of the book for borrowing by the user is realized.
Fig. 3 is a schematic structural diagram of the borrowing device for sharing books according to the invention. The borrowing device of the shared book is used for realizing the borrowing method of the shared books, and related contents can be mutually referred. As shown in fig. 3, the borrowing device for shared books comprises:
the interaction module is used for receiving a borrowing request sent by a user and outputting prompt information for prompting the user to input book borrowing information; reading book borrowing information input by a user, and outputting prompt information for prompting the user to pay a deposit; responding to the successful deposit payment of the user, and outputting prompt information of book borrowing success;
the generating module is used for responding to the successful payment of the deposit of the user, generating and storing the borrowing order information; wherein the borrowing order information comprises: the book borrowing information, the book borrowing time and the amount of deposit paid by the user;
and the storage module is used for storing the borrowing order information.
The borrowing device for the shared book provided by the embodiment of the invention receives the borrowing request sent by the user and outputs the prompt information for prompting the user to input the information of the borrowed book; reading book borrowing information input by a user, and outputting prompt information for prompting the user to pay a deposit; and in response to the successful deposit payment of the user, generating and storing borrowing order information and outputting prompt information of book borrowing success, so that book sharing is realized, the cost of the user caused by reading is saved, and the utilization rate and circulation rate of book resources are improved.
In a possible implementation manner of the invention, when the interaction module reads the book borrowing information input by the user, the interaction module is used for reading the book borrowing information by scanning the two-dimensional code on the book to be borrowed; or, reading the book borrowing information by receiving a book identification set on the book borrowing input by the user.
In addition, in another embodiment of the present invention, the interaction module may further enable the user to read user information, where the user information may be, for example, information such as a user name, a user ID, a mobile phone number, a gender, and an age. The user information can be embodied as a member code, the user can register in the server for realizing the borrowing method of the shared book in advance, and the member code is generated based on the provided registration information, so that when the interaction module reads the user information, the interaction module can directly scan the member code to realize the reading of the user information.
Based on the embodiment, after the book borrowing information and the user information are read, the generated book borrowing order information can further comprise the user information, so that the correspondence between the books and the information of readers is realized, and the user can learn which user borrows each book.
In a possible implementation manner of the present invention, the generating module is further configured to send the borrowing order information and the identification information of the client to a server; and the identification information of the client is used for uniquely identifying the client.
In a possible implementation manner of the present invention, the interaction module is further configured to receive a book returning request sent by a user, and output a prompt message for prompting the user to input book returning information; and reading the returned book information input by the user. Fig. 4 is another schematic structural diagram of the borrowing device for sharing books according to the invention. As shown in fig. 4, the borrowing device for shared books further comprises: the query module is used for querying whether the borrowing order information corresponding to the returned book information exists or not; the calculation module is used for calculating the rent amount of the book to be borrowed according to the borrowing time and the preset charging rule in the borrowing order information if the borrowing order information corresponding to the returned book information exists; and the settlement module is used for settling the fee according to the rent amount of the book borrowed at this time and the deposit amount.
In a possible implementation manner of the present invention, the query module is configured to query whether the client has book borrowing order information corresponding to the returned book information locally; and if the borrowing order information corresponding to the returned book information does not exist in the client locally, inquiring whether the server has the borrowing order information corresponding to the returned book information. Accordingly, the presence of the borrowing order information corresponding to the returned book information includes: the client and/or the server have/has borrowing order information corresponding to the returned book information.
In a possible implementation manner of the invention, the settlement module is used for comparing whether the rent amount of the book borrowed this time is less than the deposit amount; if the rent amount of the book borrowed this time is less than the deposit amount, calculating the difference between the rent amount of the book borrowed this time and the deposit amount, and replacing the difference with the user; otherwise, if the rent amount of the book borrowing is larger than or equal to the deposit amount, carrying out fee settlement according to the deposit amount, and generating and storing the borrowing service information.
Referring to fig. 4 again, the borrowing device for the shared book may further include: and the book processing module is used for transferring the ownership of the borrowed book to the user if the rent amount of the borrowed book is larger than or equal to the deposit amount.
In a possible implementation manner of the present invention, the interaction module is further configured to output a prompt message for prompting the user to input book borrowing information in response to receiving a purchase request sent by the user; reading book borrowing information input by a user, and inquiring book borrowing order information corresponding to the returned book information; the calculation module is further used for calculating the rent amount of the book borrowed this time according to the borrowing time in the borrowing order information and a preset charging rule; the settlement module is also used for settling the expenses according to the sale price, the rent amount and the deposit amount of the book borrowed at this time; and the book processing module is used for transferring the ownership of the borrowed book to the user after the settlement is finished.
It should be noted that, in the above embodiments of the present invention, a plurality of borrowing devices sharing books may be deployed at different locations, for example, may be deployed at: various public places, offices, schools, interior mini-libraries for large enterprises, various bookstores, and so on. The book can be borrowed on the borrowing device of each shared book and the order information of borrowing that will generate can be in step with the server, and the device of borrowing of every shared book all can carry out books on the basis of the order information of borrowing on the server and return to make the user can borrow books through the device of borrowing of arbitrary shared book, and return books through the device of borrowing of arbitrary shared book, need not return books to the original place of borrowing books, realized the sharing of books.
In addition, the present invention also provides an electronic device including:
a memory for storing a computer program;
a processor for executing the computer program stored in the memory, and when the computer program is executed, the borrowing method of the shared book.
In addition, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs a method of borrowing a shared book.
In particular, any combination of one or more computer-readable storage media may be employed. The computer readable storage medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or page components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Claims (21)
1. A method for borrowing shared books is characterized by comprising the following steps:
receiving a borrowing request sent by a user, and outputting prompt information for prompting the user to input borrowing book information;
reading book borrowing information input by a user, and outputting prompt information for prompting the user to pay a deposit;
responding to the successful deposit payment of the user, generating and storing borrowing order information, and outputting prompt information of book borrowing success; wherein the borrowing order information comprises: the book borrowing information, the borrowing time and the amount of deposit paid by the user.
2. The method of claim 1, wherein reading the user-entered book borrowing information comprises:
reading the book borrowing information by scanning the two-dimensional code on the book to be borrowed; or,
and reading the book borrowing information by receiving a book identification set on the book borrowing input by a user.
3. The method of claim 1, further comprising: reading user information;
the borrowing order information further includes: the user information.
4. The method according to claim 1, wherein the deposit is set in advance for all books in a unified manner; or,
the amount of the deposit is greater than or equal to the sales price of the borrowed book; the output is used for prompting the user to pay the prompt message of the deposit, including:
inquiring the selling price of the book to be borrowed from a book information base based on the book information to be borrowed;
and determining the amount of the deposit according to the sales price of the borrowed book, and outputting prompt information for prompting a user to pay the deposit, wherein the prompt information comprises the amount of the deposit.
5. The method of claim 1, wherein generating and storing borrow order information comprises:
generating borrowing order information, storing the borrowing order information in a client, and sending the borrowing order information and identification information of the client to a server; and the identification information of the client is used for uniquely identifying the client.
6. The method of any of claims 1-5, further comprising:
receiving a book returning request sent by a user, and outputting prompt information for prompting the user to input book returning information;
reading returned book information input by a user, and inquiring whether borrowing order information corresponding to the returned book information exists or not;
if the borrowing order information corresponding to the returned book information exists, calculating the rent amount of the borrowed book according to the borrowing time in the borrowing order information and a preset charging rule;
and settling the fee according to the rent amount and the deposit amount of the borrowed book.
7. The method of claim 6, wherein said querying whether borrowing order information corresponding to said returned book information exists comprises:
inquiring whether the client locally has borrowing order information corresponding to the returned book information;
if the borrowing order information corresponding to the returned book information does not exist in the local client, inquiring whether the server has the borrowing order information corresponding to the returned book information;
the presence of the borrowing order information corresponding to the returned book information includes: the client and/or the server have/has borrowing order information corresponding to the returned book information.
8. The method as claimed in claim 6, wherein said settling the fee based on the amount of the rental money and the amount of the deposit for the book borrowed this time comprises:
comparing whether the rent amount of the borrowed book is smaller than the deposit amount;
if the rent amount of the book borrowed this time is less than the deposit amount, calculating the difference between the rent amount of the book borrowed this time and the deposit amount, and replacing the difference with the user;
otherwise, if the rent amount of the book borrowing is larger than or equal to the deposit amount, carrying out fee settlement according to the deposit amount, and generating and storing the borrowing service information.
9. The method of claim 8, further comprising:
and if the rent amount of the book borrowing is larger than or equal to the deposit amount, transferring the ownership of the book borrowing to the user.
10. The method of any of claims 1-5, further comprising:
responding to a purchase request sent by a user, and outputting prompt information for prompting the user to input book borrowing information;
reading book borrowing information input by a user, and inquiring book borrowing order information corresponding to the returned book information;
calculating the rent amount of the book to be borrowed according to the borrowing time in the borrowing order information and a preset charging rule;
and carrying out expense settlement according to the sale price, the rent amount and the deposit amount of the book to be borrowed, and transferring the ownership of the book to the user after the settlement is finished.
11. A borrowing device for a shared book, comprising:
the interaction module is used for receiving a borrowing request sent by a user and outputting prompt information for prompting the user to input book borrowing information; reading book borrowing information input by a user, and outputting prompt information for prompting the user to pay a deposit; responding to the successful deposit payment of the user, and outputting prompt information of book borrowing success;
the generating module is used for responding to the successful payment of the deposit of the user, generating and storing the borrowing order information; wherein the borrowing order information comprises: the book borrowing information, the book borrowing time and the amount of deposit paid by the user;
and the storage module is used for storing the borrowing order information.
12. The device of claim 11, wherein the interaction module, when reading the book borrowing information input by the user, is configured to read the book borrowing information by scanning a two-dimensional code on the book to be borrowed; or, reading the book borrowing information by receiving a book identification set on the book borrowing input by the user.
13. The apparatus of claim 11, wherein the interaction module is further configured to read user information;
the borrowing order information further includes: the user information.
14. The apparatus of claim 11, wherein the generating module is further configured to send the borrowing order information and the identification information of the client to a server; and the identification information of the client is used for uniquely identifying the client.
15. The apparatus according to any one of claims 11-14, wherein the interactive module is further configured to receive a book return request sent by the user, and output a prompt message for prompting the user to input information about returning the book; reading book returning information input by a user;
the device further comprises:
the query module is used for querying whether the borrowing order information corresponding to the returned book information exists or not;
the calculation module is used for calculating the rent amount of the book to be borrowed according to the borrowing time and the preset charging rule in the borrowing order information if the borrowing order information corresponding to the returned book information exists;
and the settlement module is used for settling the fee according to the rent amount of the book borrowed at this time and the deposit amount.
16. The apparatus of claim 15, wherein the query module is configured to query whether borrowing order information corresponding to the returned book information exists locally at the client; if the borrowing order information corresponding to the returned book information does not exist in the local client, inquiring whether the server has the borrowing order information corresponding to the returned book information;
the presence of the borrowing order information corresponding to the returned book information includes: the client and/or the server have/has borrowing order information corresponding to the returned book information.
17. The apparatus of claim 15, wherein the settlement module is configured to compare whether the amount of the rent of the book borrowed this time is less than the amount of the deposit; if the rent amount of the book borrowed this time is less than the deposit amount, calculating the difference between the rent amount of the book borrowed this time and the deposit amount, and replacing the difference with the user; otherwise, if the rent amount of the book borrowing is larger than or equal to the deposit amount, carrying out fee settlement according to the deposit amount, and generating and storing the borrowing service information.
18. The apparatus of claim 17, further comprising:
and the book processing module is used for transferring the ownership of the borrowed book to the user if the rent amount of the borrowed book is larger than or equal to the deposit amount.
19. The apparatus according to any one of claims 11-14, wherein the interaction module is further configured to output a prompt for prompting the user to input book borrowing information in response to receiving a purchase request sent by the user; reading book borrowing information input by a user, and inquiring book borrowing order information corresponding to the returned book information;
the calculation module is further used for calculating the rent amount of the book borrowed this time according to the borrowing time in the borrowing order information and a preset charging rule;
the settlement module is also used for settling the expenses according to the sale price, the rent amount and the deposit amount of the book borrowed at this time;
the device further comprises:
and the book processing module is used for transferring the ownership of the borrowed book to the user after the settlement is finished.
20. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing a computer program stored in the memory, and when executed, implementing the method of any of the preceding claims 1-10.
21. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of the preceding claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910064216.7A CN109801141A (en) | 2019-01-23 | 2019-01-23 | Shared books borrow method and apparatus, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910064216.7A CN109801141A (en) | 2019-01-23 | 2019-01-23 | Shared books borrow method and apparatus, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109801141A true CN109801141A (en) | 2019-05-24 |
Family
ID=66560021
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910064216.7A Pending CN109801141A (en) | 2019-01-23 | 2019-01-23 | Shared books borrow method and apparatus, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109801141A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114139662A (en) * | 2021-11-12 | 2022-03-04 | 江苏嘉世诺智能科技有限公司 | Distributed self-service library management system and method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110313938A1 (en) * | 2010-06-16 | 2011-12-22 | Dicke Ronald | Time-slicing method and system for digital books |
CN108133032A (en) * | 2018-01-05 | 2018-06-08 | 北京思享家网络科技有限公司 | A kind of shared books method, system and medium based on geographical location |
CN108346245A (en) * | 2018-02-05 | 2018-07-31 | 爱布客(武汉)科技有限公司 | A kind of shared books method and system |
-
2019
- 2019-01-23 CN CN201910064216.7A patent/CN109801141A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110313938A1 (en) * | 2010-06-16 | 2011-12-22 | Dicke Ronald | Time-slicing method and system for digital books |
CN108133032A (en) * | 2018-01-05 | 2018-06-08 | 北京思享家网络科技有限公司 | A kind of shared books method, system and medium based on geographical location |
CN108346245A (en) * | 2018-02-05 | 2018-07-31 | 爱布客(武汉)科技有限公司 | A kind of shared books method and system |
Non-Patent Citations (1)
Title |
---|
秦珂: "《数字图书馆建设中的版权和隐私权保护研究》", 31 July 2004 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114139662A (en) * | 2021-11-12 | 2022-03-04 | 江苏嘉世诺智能科技有限公司 | Distributed self-service library management system and method |
CN114139662B (en) * | 2021-11-12 | 2024-08-20 | 江苏嘉世诺智能科技有限公司 | Distributed self-service library management system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110119977A (en) | Financial accounting voucher automatic generation method, system, medium and electronic equipment | |
US20150100439A1 (en) | Workflow System | |
CN110619555A (en) | Unified management method and device for order information, terminal equipment and medium | |
CN111612594A (en) | Localized merchant retail system | |
CN109859415B (en) | Library system and method thereof | |
CN108985784A (en) | Method and apparatus for storing information | |
KR20130037051A (en) | Method and server for providing expert matching service | |
CN109785073A (en) | Shared books borrow method and system, electronic equipment and storage medium | |
CN110852779A (en) | Method, device, equipment and system for experiential sale of commodities based on lattice spread | |
CN108399538A (en) | Operate the method and system of multiple accounts | |
CN111145031B (en) | Insurance business customization method, device and system | |
CN113487370A (en) | Advertisement putting method and device, computer equipment and storage medium | |
CN109801141A (en) | Shared books borrow method and apparatus, electronic equipment and storage medium | |
CN110895763A (en) | Commodity supply chain tracing method and device | |
US11875374B2 (en) | Automated auditing and recommendation systems and methods | |
JP4121818B2 (en) | Individual information distribution system and method | |
CN111639905B (en) | Enterprise business process management and control system, method, electronic equipment and storage medium | |
WO2014172251A1 (en) | System and method for division and management of expenses | |
CN114742547A (en) | Internet online collection control method, device, medium and electronic equipment | |
CN104899715B (en) | Information processing method, client side and information processing platform | |
CN109801140A (en) | Shared books borrow method and system, electronic equipment and storage medium | |
US10755243B2 (en) | Information processing apparatus, information processing method, information management apparatus, information management method, recording medium, and information processing system | |
CN114091795A (en) | Collaborative cloud platform and terminal equipment | |
CN111127102A (en) | Platform point transaction method and device, electronic equipment and storage medium | |
CN107180037B (en) | Man-machine interaction method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190524 |