CN111914195A - Book card generation method, book issuing method and book issuing device - Google Patents
Book card generation method, book issuing method and book issuing device Download PDFInfo
- Publication number
- CN111914195A CN111914195A CN202010790019.6A CN202010790019A CN111914195A CN 111914195 A CN111914195 A CN 111914195A CN 202010790019 A CN202010790019 A CN 202010790019A CN 111914195 A CN111914195 A CN 111914195A
- Authority
- CN
- China
- Prior art keywords
- book
- processed
- card
- identification code
- list
- 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 132
- 238000012795 verification Methods 0.000 claims description 52
- 230000008569 process Effects 0.000 description 26
- 230000004913 activation Effects 0.000 description 8
- 238000013507 mapping Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000011248 coating agent Substances 0.000 description 2
- 238000000576 coating method Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010191 image analysis Methods 0.000 description 1
- 238000003709 image segmentation Methods 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 210000001747 pupil Anatomy 0.000 description 1
- 238000007790 scraping Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9562—Bookmark management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/117—Tagging; Marking up; Designating a block; Setting of attributes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Bioethics (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application discloses a book card generation method, a book distribution method and a book distribution device, wherein the book card generation method comprises the following steps: after receiving a book card generation request, generating a book list to be processed according to at least one book identification input by a first user on a first page; and then generating a book sheet identification code of the book sheet to be processed, and generating a book card of the book sheet to be processed according to the book sheet identification code of the book sheet to be processed, so that a user of the subsequent book card can quickly acquire the book recorded in the book sheet to be processed by using the book sheet identification code carried by the book card, and the user does not need to spend a large amount of time on acquiring the book, thereby effectively reducing the time consumption of the user for acquiring the book.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a book card generation method, a book issuing method, and a book card issuing device.
Background
At present, reading books (e.g., electronic books or physical books) has become a common way of learning or entertainment. When the user wants to read the target book, the user may go to a bookstore to purchase a physical book of the target book, or may go to a web page to search for an electronic book of the target book.
However, since both of the above-mentioned two ways of acquiring books consume a lot of time of the user, it is easy for the user to give up reading because he/she does not want to pay for the book acquisition time.
Disclosure of Invention
The embodiment of the application mainly aims to provide a book card generation method, a book issuing method and a book issuing device, which can reduce the time consumption of a user for acquiring books.
The embodiment of the application provides a book card generation method, which comprises the following steps:
after receiving a book card generation request, generating a book list to be processed according to at least one book identification input on a first page by a first user;
generating a book form identification code of the book form to be processed;
and generating a book card of the book to be processed according to the book sheet identification code of the book to be processed.
Optionally, the generating the book card of the to-be-processed book sheet according to the book sheet identification code of the to-be-processed book sheet includes:
encrypting the book list identification code of the book list to be processed by using encryption information input by a second user on a second page to obtain an identification code ciphertext of the book list to be processed;
and generating a book card of the book to be processed according to the identification code ciphertext of the book to be processed.
Optionally, the generating the book card of the to-be-processed book sheet according to the book sheet identification code of the to-be-processed book sheet includes:
and generating the book card of the book to be processed according to the book form identification code of the book to be processed and the book card generation parameter input by the first user on the first page.
Optionally, the generating the book card of the to-be-processed book sheet according to the book sheet identification code of the to-be-processed book sheet includes:
when the book card of the book list to be processed is determined to be the entity card, generating an electronic card of the book list to be processed according to the book list identification code of the book list to be processed; and sending the electronic card of the book sheet to be processed to preset output equipment to obtain the book card of the book sheet to be processed output by the preset output equipment.
Optionally, the generating the book form identification code of the book form to be processed includes:
and generating the book list identification code of the book list to be processed according to at least one of the book identification in the book list to be processed, the book to be processed corresponding to the book identification in the book list to be processed and a preset character set.
Optionally, the generating the book form identification code of the book form to be processed includes:
when the number of the book cards corresponding to the book sheets to be processed is determined to be N, generating N book sheet identification codes of the book sheets to be processed;
the generating the book card of the book sheet to be processed according to the book sheet identification code of the book sheet to be processed includes:
and respectively generating each book card of the book to be processed according to each book sheet identification code of the book to be processed.
Optionally, the generating the book form identification code of the book form to be processed includes:
generating a current identification code;
when determining that the stored identification code which is the same as the current identification code exists in a preset database, continuing to execute the step of generating the current identification code;
and when determining that the stored identification code which is the same as the current identification code does not exist in a preset database, determining the current identification code as the book form identification code of the book form to be processed.
Optionally, the method further includes:
if the book card of the book list to be processed is an electronic card, sending the book card of the book list to be processed to a first network address input by a second user on a third page, and/or adding the book card of the book list to be processed to a book card recording page of a first application program;
and if the book card of the book sheet to be processed is the entity card, generating first sending information according to a first administrative address input by a second user on a third page, so that the book card of the book sheet to be processed is sent to the second user according to the first sending information.
Optionally, the generating the book card of the to-be-processed book sheet according to the book sheet identification code of the to-be-processed book sheet includes:
when at least one entity book and at least one electronic book exist in the books to be processed corresponding to the book list to be processed, generating an electronic book identification code corresponding to the book list to be processed and an entity book identification code corresponding to the book list to be processed according to the book list identification code of the book list to be processed;
and generating a book card of the book to be processed according to the electronic book identification code corresponding to the book to be processed and the entity book identification code corresponding to the book to be processed.
Optionally, when the number of the sheets to be processed is R, the generating the book card of the sheet to be processed according to the sheet identification code of the sheet to be processed includes:
generating a book card of the book to be processed according to the book list identification code of the 1 st book list to be processed to the book list identification code of the R < th > book list to be processed; wherein R is a positive integer.
The embodiment of the application also provides a book issuing method, which comprises the following steps:
acquiring a code to be identified displayed on a book card to be identified, wherein the book card to be identified is generated by utilizing any one implementation mode of the book card generation method provided by the embodiment of the application;
presetting verification is carried out on the code to be identified;
and when the code to be identified passes the preset verification, determining a target book list according to the code to be identified, and issuing the book to be issued corresponding to the book identification in the target book list to a third user.
Optionally, the acquiring the to-be-identified code displayed on the to-be-identified book card includes:
acquiring a code to be identified input by the third user on a fourth page;
or,
acquiring a code to be identified which is pre-stored in a preset storage space;
or,
and extracting the code to be identified from the book card to be identified input by the third user on a fourth page.
Optionally, the performing preset verification on the to-be-identified code includes:
decrypting the to-be-identified code by using decryption information input by the third user on a fifth page to obtain an identification code plaintext of the to-be-identified code;
when the existing identification code identical to the identification code plaintext is determined to exist in a preset database, determining that the code to be identified passes preset verification;
when it is determined that the stored identification code identical to the identification code plaintext does not exist in a preset database, determining that the code to be identified does not pass preset verification;
the determining the target book form according to the code to be identified comprises:
and determining a target book form according to the identification code plaintext.
Optionally, the issuing of the book to be released corresponding to the book identifier in the target book list to the third user includes:
if the book to be released is the electronic book, sending the book to be released to a second network address input by the third user on a sixth page, and/or displaying the book to be released on a bookshelf in a second application program selected by the third user on the sixth page;
and if the book to be sent is an entity book, generating second sending information according to a second administrative address input by the third user on a sixth page, so that the book to be sent is sent to the third user according to the second sending information.
Optionally, the performing preset verification on the to-be-identified code includes:
when it is determined that at least one entity book and at least one electronic book exist in the books to be released corresponding to the book card to be identified and the code to be identified corresponds to the at least one entity book or the at least one electronic book, generating a book form identification code corresponding to the book card to be identified according to the code to be identified;
when the existing identification code which is the same as the book form identification code corresponding to the book card to be identified exists in a preset database, determining that the code to be identified passes preset verification;
when it is determined that the stored identification code which is the same as the book form identification code corresponding to the book card to be identified does not exist in the preset database, determining that the code to be identified does not pass the preset verification;
the determining a target book list according to the code to be identified and issuing the book to be issued corresponding to the book identifier in the target book list to a third user includes:
determining a target book form according to the book form identification code corresponding to the book card to be identified;
if the code to be identified corresponds to the at least one entity book, the entity book in the book to be released corresponding to the book identification in the target book list is released to a third user;
and if the to-be-identified code corresponds to the at least one electronic book, the electronic book in the to-be-released book corresponding to the book identification in the target book list is released to a third user.
An embodiment of the present application further provides a book card generating device, where the book card generating device includes:
the book form generation unit is used for generating a book form to be processed according to at least one book identification input on a first page by a first user after receiving a book card generation request;
the identification code generating unit is used for generating the book form identification code of the book form to be processed;
and the book card generating unit is used for generating the book card of the book to be processed according to the book list identification code of the book to be processed.
An embodiment of the present application further provides a book issuing device, the device includes:
the identification code acquiring unit is used for acquiring a to-be-identified code displayed on a to-be-identified book card, wherein the to-be-identified book card is generated by utilizing any one implementation mode of the book card generating method provided by the embodiment of the application;
the identification code verification unit is used for performing preset verification on the code to be identified;
and the book issuing unit is used for determining a target book list according to the code to be identified and issuing the book to be issued corresponding to the book identification in the target book list to a third user when the code to be identified passes the preset verification.
An embodiment of the present application further provides a book card generating device, including: a processor, a memory, a system bus;
the processor and the memory are connected through the system bus;
the memory is used for storing one or more programs, and the one or more programs comprise instructions which, when executed by the processor, cause the processor to execute any one of the implementation methods of the book card generation method.
An embodiment of the present application further provides a book issuing apparatus, including: a processor, a memory, a system bus;
the processor and the memory are connected through the system bus;
the memory is used for storing one or more programs, and the one or more programs comprise instructions which when executed by the processor cause the processor to execute any implementation method of the book issuing method.
The embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a terminal device, the terminal device is enabled to execute any implementation method of the book card generation method provided in the embodiment of the present application, or execute any implementation method of the book issuing method provided in the embodiment of the present application.
The embodiment of the present application further provides a computer program product, and when the computer program product runs on a terminal device, the terminal device executes any implementation method of the book card generation method provided in the embodiment of the present application, or executes any implementation method of the book issuing method provided in the embodiment of the present application.
Based on the technical scheme, the method has the following beneficial effects:
according to the book card generation method, after a book card generation request is received, a book list to be processed is generated according to at least one book identification input by a first user on a first page; and then generating a book sheet identification code of the book sheet to be processed, and generating a book card of the book sheet to be processed according to the book sheet identification code of the book sheet to be processed, so that a user of the subsequent book card can quickly acquire the book to be processed corresponding to the book sheet to be processed by using the book sheet identification code carried by the book card, and the user does not need to spend a large amount of time on acquiring the book, thereby effectively reducing the time consumption of the user for acquiring the book.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a book card generation method applied to a server according to an embodiment of the present application;
fig. 2 is a schematic view of an application scenario of the book card generation method applied to the terminal device according to the embodiment of the present application;
fig. 3 is a flowchart of a book card generation method according to an embodiment of the present application;
FIG. 4 is a schematic view of a book card according to an embodiment of the present application;
FIG. 5 is a schematic view of another book card provided by an embodiment of the present application;
FIG. 6 is a schematic view of another book card provided by an embodiment of the present application;
FIG. 7 is a schematic view of a double-code book card according to an embodiment of the present application;
FIG. 8 is a schematic view of another double-code book card according to an embodiment of the present application;
fig. 9 is a schematic view of a three-code book card according to an embodiment of the present application;
FIG. 10 is a schematic view of a multi-code book card according to an embodiment of the present application;
FIG. 11 is a flowchart of a book issuing method according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a book card generating apparatus according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a book dispensing apparatus according to an embodiment of the present application.
Detailed Description
In order to solve the technical problem in the background art, an embodiment of the present application provides a method for generating a book card, which specifically includes: after receiving a book card generation request, generating a book list to be processed according to at least one book identification input by a first user on a first page; and then generating a book sheet identification code of the book sheet to be processed, and generating a book card of the book sheet to be processed according to the book sheet identification code of the book sheet to be processed, so that a user of the subsequent book card can quickly acquire the book recorded in the book sheet to be processed by using the book sheet identification code carried by the book card, and the user does not need to spend a large amount of time on acquiring the book, thereby effectively reducing the time consumption of the user for acquiring the book.
In addition, the embodiment of the present application is not limited to the execution subject of the book card generation method, and for example, the book card generation method provided in the embodiment of the present application may be applied to a data processing device such as a terminal device or a server. The terminal device may be a smart phone, a computer, a Personal Digital Assistant (PDA), a tablet computer, or the like. The server may be a stand-alone server, a cluster server, or a cloud server.
In order to facilitate understanding of the technical solutions provided in the embodiments of the present application, an application scenario of the book card generation method provided in the embodiments of the present application is exemplarily described below with reference to fig. 1 and fig. 2, respectively. Fig. 1 is a schematic view of an application scenario of the book card generation method applied to the server according to the embodiment of the present application. Fig. 2 is an application scenario diagram of the book card generation method applied to the terminal device according to the embodiment of the present application.
In the application scenario shown in fig. 1, when a first user 101 wants to generate N book cards corresponding to M books to be processed, the first user 101 may open a first page on a terminal device 102, and then input a book identifier of the M books to be processed on the first page and trigger a book card generation request, so that the terminal device 102 sends the book card generation request and the book identifier of the M books to be processed to a server 103, so that after the server 103 receives the book card generation request, a book list to be processed is generated according to the book identifier of the M books to be processed, and a book list identification code of the book list to be processed is generated; and generating a book card of the to-be-processed book list according to the book list identification code, and sending the book card to an applicant of the book card (such as the first user or other book card application users except the first user), so that the subsequent applicant of the book card can quickly acquire the book recorded in the to-be-processed book list by using the book list identification code carried by the book card.
In the application scenario shown in fig. 2, when a first user 201 wants to generate N book cards corresponding to M books to be processed, the first user 201 may open a first page on a terminal device 202, and input a book identifier of the M books to be processed and a book card generation trigger on the first page; generating a book list to be processed according to the book identification of the M books to be processed, and generating a book list identification code of the book list to be processed; and generating a book card of the book to be processed according to the book form identification code, and sending the book card to an applicant of the book card, so that the subsequent applicant of the book card can quickly acquire the book recorded in the book to be processed by using the book form identification code carried by the book card.
It should be noted that the book card generation method provided in the embodiment of the present application can be applied to not only the application scenarios shown in fig. 1 or fig. 2, but also other application scenarios that need to generate a book card, and this is not specifically limited in the embodiment of the present application.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Method embodiment one
Referring to fig. 3, the figure is a flowchart of a book card generation method provided in an embodiment of the present application.
The book card generation method provided by the embodiment of the application comprises the following steps of S301-S303:
s301: and after receiving a book card generation request, generating a book list to be processed according to at least one book identification input on a first page by a first user.
The book card generation request is used for requesting generation of a book card capable of being exchanged for a book. In addition, the embodiment of the present application does not limit the expression form of the book card, for example, the book card may be an electronic card (an electronic version card, that is, a card in a virtual state), or may be a physical card (a card with a physical structure, such as a paper card, a plastic card, or a metal card). In addition, in the embodiment of the application, one book card corresponds to one book sheet, and one book sheet comprises at least one book. That is, at least one book corresponds to one book card.
The first user is the user that triggered the book card generation request. In addition, the first user is not limited in the embodiment of the present application. For example, the first user may be a staff member managing the books to be processed, or may be an applicant requesting to obtain (e.g., purchase or be given away) a book card corresponding to the books to be processed.
The first page is a display page of the first user triggering the book card generation request. In addition, the first page is not limited in the embodiments of the present application. For example, the first page may be a web page or a display interface in a preset application.
In addition, a plurality of controls can be included on the first page, so that the first user can correspondingly restrict the generation process of the book card through the operation of the plurality of controls. The plurality of controls are not limited in the embodiments of the present application, for example, the plurality of controls may include a control for inputting a book identification of a book to be processed, a control for inputting a validity period of a book card, a control for inputting the number of book cards, a control for designing book card styles, and the like.
The book identification is used to uniquely identify the book. In addition, the book identification is not limited in the embodiment of the application, and the book identification can be any identification (such as book codes) capable of distinguishing books. It should be noted that the present embodiment does not limit the expression form of the book, and for example, the book may be an entity book (an electronic version of the book, that is, a book in a virtual state), or an electronic book (a book with an entity structure, such as a paper version of the book).
The to-be-processed book list comprises at least one book identification, and the to-be-processed book list is a set of book identifications input by the first user on the first page. In addition, in some scenarios, in order to enable more people to acquire a book to be processed corresponding to one book to be processed, the book to be processed may be preset to correspond to N book cards, so that a user (such as an applicant or a card-giver) of each book card can exchange the book to be processed corresponding to the book to be processed using the book card. It can be seen that, in the embodiment of the present application, one to-be-processed book sheet may correspond to one book card, and may also correspond to multiple book cards.
Based on the above, after receiving a book card generation request triggered by the first user on the first page, the to-be-processed book list may be generated according to the M book identifiers input by the first user on the first page, so that the to-be-processed book list may record the book identifiers input by the first user on the first page. Wherein M is a positive integer. For example, if the first user is a staff managing books to be processed, when the first user wants to make a book card corresponding to M books to be processed, the first user may input a book identifier of the M books to be processed on the first page and trigger a book card generation request, so as to generate a book list to be processed including the book identifier of the M books to be processed, so that a book card for acquiring the M books to be processed simultaneously can be generated based on the book list to be processed subsequently. For another example, if the first user is an applicant who requests to acquire a book card corresponding to M books to be processed, when the first user wants to apply for the book card corresponding to M books to be processed, the first user may input a book identifier of the M books to be processed on the first page and trigger a book card generation request, so as to generate a book list to be processed including the book identifier of the M books to be processed, so that the book card used for acquiring the M books to be processed simultaneously can be generated based on the book list to be processed subsequently.
It should be noted that the embodiment of the present application does not limit the input manner of the book identifier, for example, the first user may select the book identifier for constructing the to-be-processed book list from the book identifier list displayed on the first page. For another example, the first user may input book identifications for building the to-be-processed book list one by one on the first page.
S302: and generating a book form identification code of the book form to be processed.
The book order identification code is used for identifying the book order to be processed, and the book order identification code and the book order to be processed have corresponding relation. The book form identification code and the book form to be processed can be in one-to-one correspondence; or a many-to-one relationship, that is, a plurality of the book order identification codes correspond to one book order to be processed. It can be seen that one to-be-processed book order corresponds to at least one book order identification code.
In addition, the present embodiment does not limit the expression form of the book entry identification code, and for example, the book entry identification code may be a character sequence (for example, a sequence formed by characters such as numbers and letters) or a two-dimensional code.
The book order identification code can be generated in different ways in different application scenes, so that the generation process of the book order identification code is not limited in the embodiment of the application. In addition, the embodiment of the present application further provides four possible implementation manners of generating the book entry identification code (i.e., S302), which are described below.
In a first possible implementation manner, S302 may specifically be: and generating a book sheet identification code of the book sheet to be processed according to the preset character set.
The preset character set is a preset character set. In addition, the preset character set is not limited in the embodiments of the present application, and in a possible implementation, the preset character set may include at least one of a first number of digits, a second number of lower-case letters, a third number of upper-case letters, and a fourth number of preset symbols (e.g., operators, etc.); the first number, the second number, the third number and the fourth number are all preset. For example, the predetermined character set may include numbers 0-9 and 26 lowercase english letters.
Based on the related content of the first possible implementation manner of the S302, after the to-be-processed book list is obtained, X characters may be randomly extracted from the preset character set, and then the X characters are combined according to a preset character arrangement order (such as a character extraction order), so as to obtain the book list identification code (such as hgfrty54) of the to-be-processed book list, so that the book list identification code of the to-be-processed book list includes X characters arranged according to the preset character arrangement order. Wherein X is a positive integer. Therefore, the step of generating the book order identification code based on the preset character set is simple, so that the generation time consumption of the book order identification code is less, and the generation efficiency of the book card can be effectively improved.
In a second possible implementation, S302 may specifically be: and generating the book list identification code of the book list to be processed according to the book identification in the book list to be processed.
In the embodiment of the application, after the to-be-processed book list including the M book identifiers is obtained, the book list identification code of the to-be-processed book list may be generated according to the M book identifiers, so that the book list identification code carries the M book identifiers, and thus the book list identification code is dedicated to representing the to-be-processed book list. The book list identification code of the book list to be processed is generated based on the book identification in the book list to be processed, so that the book list identification code of the book list to be processed can accurately represent the book identification in the book list to be processed, the book list identification code of the book list to be processed can more accurately represent the book list to be processed, and the uniqueness of the book list identification code of the book list to be processed is improved.
It should be noted that, in this embodiment of the present application, an implementation manner of generating a book form identification code of a to-be-processed book form based on M book identifications is not limited, and in a possible implementation manner, the M book identifications may be processed according to a preset processing rule (e.g., a digital operation rule and/or a conversion rule between numbers and characters, etc.), so as to obtain the book form identification code of the to-be-processed book form. For example, the M book identifications are added according to the position to obtain the book list identification code of the book list to be processed.
In a third possible implementation, S302 may specifically be: and generating the book form identification code of the book form to be processed according to the book to be processed corresponding to the book identification in the book form to be processed.
The book to be processed refers to a book with the book identification in the book list to be processed as the identification. For example, if the book identification of a book is recorded in the to-be-processed book list, the book is the to-be-processed book.
In the embodiment of the application, after the to-be-processed book list including the M book identifiers is obtained, the book list identification code of the to-be-processed book list may be generated according to the to-be-processed books corresponding to the M book identifiers, especially book information related to the to-be-processed books (such as book names, book contents, book catalogues, book bibliographic information, book texture information, and other book information), so that the book list identification code carries the book information related to the M to-be-processed books, and thus the book list identification code is dedicated to representing the to-be-processed book list. The book list identification code of the book list to be processed is generated based on the book to be processed corresponding to the book identification in the book list to be processed, so that the book list identification code of the book list to be processed can accurately represent the book to be processed corresponding to the book list to be processed, the book list identification code of the book list to be processed can accurately represent the book list to be processed, and the uniqueness of the book list identification code of the book list to be processed is improved.
In a fourth possible implementation manner, S302 may specifically be: and generating the book list identification code of the book list to be processed according to the book identification in the book list to be processed, the book to be processed corresponding to the book identification in the book list to be processed and at least two of the preset character sets.
In the embodiment of the application, after the to-be-processed book list including the M book identifiers is obtained, the book list identification code of the to-be-processed book list can be generated according to the M book identifiers, the to-be-processed books corresponding to the M book identifiers, and at least two pieces of information in the preset character set, so that the to-be-processed book list can be represented more accurately by the book list identification code, and the uniqueness of the book list identification code of the to-be-processed book list is improved.
In practical applications, the identification code carried by each graphic card should uniquely identify the graphic card, so that different graphic cards can carry different identification codes to meet the requirement. Based on this, the present application provides a possible implementation manner of S302, which specifically includes the following two steps:
the first step is as follows: and generating the current identification code.
The current identification code refers to the identification code generated by the current round. In addition, the generation mode of the current identification code is not limited in the embodiment of the present application, for example, the current identification code may be generated according to at least one of the book identifier in the to-be-processed book list, the to-be-processed book corresponding to the book identifier in the to-be-processed book list, and the preset character set.
The second step is that: judging whether an existing identification code identical to the current identification code exists in a preset database or not; if yes, returning to execute the first step; if not, determining the current identification code as the book form identification code of the book form to be processed.
The preset database is a database in which the book form identification codes corresponding to the book forms are stored. In addition, the preset database is not limited in the embodiment of the application, for example, the preset database may be only used for storing the generated book form identification codes corresponding to the book forms. For another example, the preset database may also be used to store the correspondence between each order and each order identification code (e.g., each order corresponds to at least one order identification code).
The stored identification code refers to a book identification code recorded in the database. In addition, in the embodiment of the application, in order to find each valid order identification code in the preset database, after the order identification code corresponding to the to-be-processed order is newly acquired, the order identification code corresponding to the newly acquired to-be-processed order may be directly added to the preset database, so that the order identification code may be subsequently queried in the preset database.
Based on the contents of the two steps, after the book list to be processed is obtained, the current identification code can be generated firstly, and then whether the current identification code is the same as each stored identification code in the preset database or not is compared; if an existing identification code in the preset database is the same as the current identification code, the current identification code is determined to be occupied by other book sheets, so that the current identification code can be regenerated to avoid the occurrence that one identification code corresponds to a plurality of book sheets; if all the stored identification codes in the preset database are different from the current identification code, the current identification code is determined not to be occupied by other book sheets, and therefore the current identification code can be directly determined as the book sheet identification code of the book sheet to be processed.
It should be noted that, because the books to be processed corresponding to different book sheets are different, in order to meet the requirement that the different cards carry different identification codes, the book sheet identification code of the book sheet to be processed may be generated according to some information (such as book identification, book name, and the like) related to the book to be processed corresponding to each book sheet (that is, the second implementation manner to the fourth implementation manner of S302 are adopted for implementation).
In some cases (for example, when a set of books can be exchanged by multiple cards), multiple different cards may be manufactured for a set of books (including an M book), so that the multiple cards all correspond to the set of books, and thus different users can exchange the set of books respectively by using the different cards, so as to achieve the above requirements, the embodiment of the present application further provides a possible implementation manner of S302, which specifically is: and when the number of the book cards corresponding to the book sheets to be processed is determined to be N, generating N book sheet identification codes of the book sheets to be processed.
The number of the book cards corresponding to the to-be-processed book list is used for representing the number of the book cards which are appointed by the first user and can be used for exchanging books recorded in the to-be-processed book list. In addition, the embodiment of the present application does not limit the manner of acquiring the number of the cards corresponding to the to-be-processed book list, for example, the number of the cards corresponding to the to-be-processed book list may be set in the first page by the first user, or may be set in advance (for example, a default value).
As can be seen, in the embodiment of the present application, after the to-be-processed book sheet is obtained, the book cards of the to-be-processed book sheet may be generated according to the number of the book cards corresponding to the to-be-processed book sheet, which specifically is: if the number of the book cards corresponding to the to-be-processed book list is N, generating N book list identification codes of the to-be-processed book list, so that any book list identification code is different from other N-1 book list identification codes except the book list identification code, and generating the N book cards corresponding to the to-be-processed book list based on the N book list identification codes.
Based on the related content of S302, after the to-be-processed book order is obtained, the book order identification code of the to-be-processed book order may be generated, so that the book order identification code can represent the to-be-processed book order, and the to-be-processed book order can be queried based on the book order identification code subsequently. It should be noted that, in order to subsequently and quickly query the to-be-processed document based on the document identification code, a corresponding relationship between the document identification code of the to-be-processed document and the to-be-processed document may be established, and the corresponding relationship between the document identification code of the to-be-processed document and the to-be-processed document is added to the first mapping relationship, so that the first mapping relationship may be used to record the corresponding relationship between each document and each document identification code, and thus, the document identification code corresponding to each document may be subsequently queried based on the first mapping relationship.
S303: and generating a book card of the book to be processed according to the book sheet identification code of the book to be processed.
The book card is used for exchanging books corresponding to the book card. For example, the book card of the to-be-processed book list is used for exchanging the to-be-processed book corresponding to the book identifier in the to-be-processed book list.
The book card of the book sheet to be processed carries the book sheet identification code of the book sheet to be processed. In addition, the carrying mode is not limited in the embodiment of the application, for example, the book card of the to-be-processed book list may display the book list identification code of the to-be-processed book list in a plaintext form, and may also display the book list identification code of the to-be-processed book list in a ciphertext form. It should be noted that, in some cases, when the book card is a solid card, in order to avoid leakage of the book form identification code of the book form to be processed, a coating may be coated on the book form identification code carried by the book card, so that the user can see the book form identification code (plaintext or ciphertext) only by scraping the coating.
In some cases, in order to ensure that the book card can only be used by a book card applicant (i.e., a book card owner), the encryption information provided by the book card applicant may be used to process the book order identification code of the book order, so that the book card of the book order to be processed carries the encrypted book order identification code. Based on this, the present application provides a possible implementation manner of S303, which specifically includes: encrypting the book form identification code of the book form to be processed by utilizing the encryption information input by the second user on the second page to obtain an identification code ciphertext of the book form to be processed; and generating a book card of the book to be processed according to the identification code ciphertext of the book to be processed.
The second user is the applicant of the book card of the book sheet to be processed. In addition, if the first user is a staff member who manages books to be processed, the second user may not be the same user as the first user (i.e., the second user is different from the first user); if the first user is an applicant who requests to obtain the book card corresponding to the book to be processed, the second user and the first user can be the same user.
The second page is a display page for inputting the encrypted information of the book form identification code of the book form to be processed.
The encryption information is information used for encrypting the book form identification code of the book form to be processed. In addition, the encryption information is not limited in the embodiment of the present application, for example, the encryption information may include at least one of physical characteristic information of the second user (e.g., information of a human face, a fingerprint, a voiceprint, a pupil, and the like), character information input by the second user (e.g., numbers, letters, symbols, and the like), gesture information input by the second user, and image information input by the user.
The identification code ciphertext of the to-be-processed book order is the encrypted book order identification code of the to-be-processed book order.
The embodiment of the present application is not limited to the implementation manner of encrypting the book entry identification code, and any encryption method capable of encrypting the book entry identification code according to the encryption information may be used. For example, an encrypted character may be generated according to the encryption information, and then the encrypted character may be superimposed (or spliced) with the book form identification code to obtain the identification code ciphertext.
Based on the related content of encrypting the book form identification code, in the embodiment of the application, after the book form identification code of the book form to be processed is obtained, the book form identification code can be encrypted by using the encryption information provided by the applicant of the book card to obtain the identification code ciphertext of the book form to be processed; and generating the book card of the book list to be processed by using the identification code ciphertext of the book list to be processed, so that the identification code ciphertext of the book list to be processed is displayed on the book card of the book list to be processed, and an applicant of a subsequent book card can exchange the book to be processed recorded in the book list to be processed by using the encrypted information and the identification code ciphertext of the book list to be processed. The identification code ciphertext of the book to be processed is encrypted based on the encryption information provided by the book card applicant, so that only the book card applicant can decrypt the identification code ciphertext of the book to be processed displayed on the book card of the book to be processed, the book card of the book to be processed can only be used by the book card applicant, the problem that the book to be processed is falsely received by other people except the book card applicant due to the loss of the book card can be effectively avoided, and the book safety can be effectively improved.
In some cases, the book card is required to meet some special requirements (for example, the book card is not permanently usable, but is sometimes limited), so in order to achieve the above requirements, the book card can be generated according to book card generation parameters preset by the first user. Based on this, the embodiment of the present application further provides a possible implementation manner of S303, which specifically includes: and generating the book card of the book to be processed according to the book list identification code of the book to be processed and the book card generation parameter input by the first user on the first page.
The book card generation parameters are used to describe the relevant constraint information of the book card (e.g., expiration date, card layout, etc.). The term of validity refers to a term in which the book card can be used, and may be, for example, 1/2001 to 12/31/2018. The card layout refers to an appearance display layout of the book card, and for example, the card layout includes a card color, a card shape, a display position of each card display content, and the like.
As can be seen, in the embodiment of the present application, after the book sheet identification code of the book sheet to be processed and the book card generation parameter input by the first user on the first page are obtained, the book card of the book sheet to be processed may be configured by using the book sheet identification code of the book sheet to be processed and the book card generation parameter, so that the book card of the book sheet to be processed not only carries the book sheet identification code of the book sheet to be processed, but also enables the book card generating the book sheet to be processed to meet the constraint requirement represented by the book card generation parameter.
The embodiment of the present application does not limit the expression form of the book card of the to-be-processed book list, for example, the book card of the to-be-processed book list may be an electronic card (i.e., an electronic version of the card) or a physical card (i.e., a physical version of the card). In addition, the expression form of the book card of the to-be-processed book list can be set on the first page by the first user, can be set on the second page by the second user, and can be preset by the system (such as default setting).
The embodiment of the present application further provides an implementation manner of generating a solid version of a book card (i.e., S303), which specifically includes: when the book card of the book sheet to be processed is determined to be the entity card, generating an electronic card of the book sheet to be processed according to the book sheet identification code of the book sheet to be processed; and sending the electronic card of the book sheet to be processed to preset output equipment to obtain the book card of the book sheet to be processed output by the preset output equipment.
The preset output device refers to a preset device for outputting the physical card, and the preset output device is not limited in the embodiment of the application. For example, the preset output device may be a printer, and the book card of the to-be-processed book list is a paper card.
In this embodiment, after the book form identification code of the book form to be processed is obtained, the electronic card of the book form to be processed is generated according to the book form identification code of the book form to be processed, and then the electronic card of the book form to be processed is sent to a preset output device (such as a printer), so that the preset output device generates and outputs the book card of the book form to be processed (such as a paper-version book card of the book form to be processed) according to the electronic card.
In some cases, the to-be-processed book sheet may correspond to multiple book cards, so to meet the requirement, an embodiment of S303 is further provided in this application, which specifically includes: after N book sheet identification codes of the book sheets to be processed are obtained, generating each book card of the book sheets to be processed respectively according to each book sheet identification code of the book sheets to be processed.
As can be seen, in the embodiment of the application, after the N book form identification codes of the book forms to be processed are obtained, the ith book card of the book form to be processed can be generated according to the ith book form identification code of the book form to be processed, i is a positive integer, and i is not greater than N, so that the requirement of obtaining the N book cards corresponding to one book form to be processed can be met.
In addition, the display content on the book card is not limited in the embodiments of the present application, and in a possible implementation manner, the display content on the book card of the to-be-processed book list may include at least one of the following: the book form identification code (plaintext or ciphertext) of the book form to be processed, the validity period, book information (such as book name) related to the book to be processed corresponding to the book form to be processed, and the converted webpage link (i.e., the open link of the fourth page below) of the book to be processed. For example, as shown in fig. 4, if M books to be processed corresponding to the book list to be processed are all electronic books, the book card of the book list to be processed displays the typeface of "electronic book activation code" and the activation code (identification code plaintext or identification code ciphertext) thereof; as shown in fig. 5, if the M books to be processed corresponding to the book list to be processed are all entity books, the book card of the book list to be processed displays the typeface of the "entity book activation code" and the activation code thereof; as shown in fig. 6, if the books to be processed corresponding to the book list to be processed include M electronic books and M-M physical books, the book card of the book list to be processed displays the font of the "activation code" and the activation code thereof. Wherein M is a positive integer, M is less than M, and M is a positive integer.
In some cases, when the book to be processed corresponding to the book list to be processed includes M electronic books and M-M physical books, the user may only exchange the M electronic books by using the book cards of the book list to be processed, or may also only exchange the M-M physical books by using the book cards of the book list to be processed, so to meet the requirement, an embodiment of S303 is further provided in this application, which specifically includes S3031 to S3032:
s3031: and when determining that at least one entity book and at least one electronic book exist in the books to be processed corresponding to the book sheets to be processed, generating the electronic book identification codes corresponding to the book sheets to be processed and the entity book identification codes corresponding to the book sheets to be processed according to the book sheet identification codes of the book sheets to be processed.
And the electronic book identification code corresponding to the book to be processed is used for identifying the electronic book corresponding to the book to be processed. For example, when the books to be processed corresponding to the book list to be processed include M electronic books and M-M physical books, the electronic book identification codes corresponding to the book list to be processed are used for identifying the M electronic books.
And the entity book identification code corresponding to the book list to be processed is used for identifying the entity book corresponding to the book list to be processed. For example, when the books to be processed corresponding to the book list to be processed include M electronic books and M-M physical books, the electronic book identification codes corresponding to the book list to be processed are used for identifying the M-M physical books.
In addition, the present example does not limit the specific embodiment of S3031, and for the convenience of understanding, the following description is made in conjunction with two possible embodiments.
In a first possible implementation manner of S3031, S3031 may specifically be: and generating two identification codes according to the book form identification code of the book form to be processed, taking one identification code of the two identification codes as the electronic book identification code corresponding to the book form to be processed, and taking the other identification code of the two identification codes as the entity book identification code corresponding to the book form to be processed.
It should be noted that the embodiment of the present application does not limit the generation process of the two identification codes, for example, a first character is added at a first preset position of the list identification code of the to-be-processed book list as one of the two identification codes, and a second character is added at a second preset position of the list identification code of the to-be-processed book list as the other of the two identification codes.
The first preset position and the second preset position may be the same or different. For example, the first preset position and the second preset position may both be the end of the book form identification code of the book form to be processed.
Whether the first character and the second character are the same is determined according to whether the first preset position and the second preset position are the same, which specifically comprises the following steps: if the first preset position is the same as the second preset position, the first character and the second character are different; if the first preset position is different from the second preset position, the first character and the second character may be the same or different.
Based on the related content of the first possible implementation manner of S3031, after the book form identification code of the to-be-processed book form is obtained, two different identification codes may be generated according to the book form identification code of the to-be-processed book form, and then the two identification codes are respectively determined as the electronic book identification code corresponding to the to-be-processed book form and the entity book identification code corresponding to the to-be-processed book form. For example, when the book form identifier of the book form to be processed is the character string "fhyoo 88", two identifiers "fhyoo 88 +" and "fhyoo 88-" may be generated according to the character string "fhyoo 88", and the character string "fhyoo 88-" is determined as the electronic book identifier (i.e., the electronic book activation code in fig. 7) corresponding to the book form to be processed, and the character string "fhyoo 88 +" is determined as the entity book identifier (i.e., the entity book activation code in fig. 7) corresponding to the book form to be processed.
In a second possible implementation manner of S3031, S3031 may specifically be: generating an electronic book identification code corresponding to the book to be processed according to the book identification code of the book to be processed and the electronic book marking information; and generating an entity book identification code corresponding to the book to be processed according to the book identification code of the book to be processed and the entity book annotation information.
The electronic book annotation information is used for characterizing the electronic book. In addition, the electronic book labeling information may be preset, or may be determined according to at least one electronic book existing in the book to be processed corresponding to the book form to be processed.
The entity book label information is used for characterizing the characteristics of the entity book. In addition, the entity book annotation information can be preset, and can also be determined according to at least one entity book existing in the book to be processed corresponding to the book list to be processed. In addition, the e-book annotation information is completely different from the physical book annotation information.
It should be noted that the generation process of the electronic book identification code corresponding to the to-be-processed document is not limited in the embodiment of the present application, for example, the electronic book identification code corresponding to the to-be-processed document may be obtained by fusing the document identification code of the to-be-processed document and the electronic book label information, or may be obtained by performing preset adjustment (e.g., character adjustment, inter-character sequence adjustment, etc.) on the document identification code of the to-be-processed document according to the electronic book label information, or may be obtained by adding the electronic book label information to the document identification code of the to-be-processed document. Similarly, the generation process of the entity book identification code corresponding to the to-be-processed book list is not limited in the embodiment of the application, and the generation process of the entity book identification code corresponding to the to-be-processed book list is similar to the generation process of the electronic book identification code corresponding to the to-be-processed book list.
Based on the related content of S3031, after the book form identification code of the to-be-processed book form is obtained, the electronic book identification code corresponding to the to-be-processed book form and the entity book identification code corresponding to the to-be-processed book form may be respectively generated according to the book form identification code of the to-be-processed book form, so that the electronic book identification code corresponding to the to-be-processed book form is used to identify the electronic book corresponding to the to-be-processed book form, and the entity book identification code corresponding to the to-be-processed book form is used to identify the entity book corresponding to the to-be-processed book form.
S3032: and generating a book card of the book to be processed according to the electronic book identification code corresponding to the book to be processed and the entity book identification code corresponding to the book to be processed.
In the embodiment of the application, after the electronic book identification code corresponding to the to-be-processed book form and the entity book identification code corresponding to the to-be-processed book form are obtained, the electronic book identification code corresponding to the to-be-processed book form and the entity book identification code corresponding to the to-be-processed book form can be directly utilized to generate the book card of the to-be-processed book form, so that the book card of the to-be-processed book form carries the electronic book identification code corresponding to the to-be-processed book form and the entity book identification code corresponding to the to-be-processed book form. For example, when the electronic book identifier corresponding to the to-be-processed book slip is the character string "hgfrty 54" and the entity book identifier corresponding to the to-be-processed book slip is the character string "jiytff 59", as shown in fig. 8, the character string "hgfrty 54" and the character string "jiytff 59" may be directly displayed on the card of the to-be-processed book slip.
In fact, some users want to exchange only the electronic book with the book card, some users want to exchange only the physical book with the book card, and some users want to exchange all books in the whole book list (i.e. all electronic books and all physical books) with the book card, so in order to meet different needs of different users, the embodiment of the present application further provides an implementation manner of S3032, which is specifically: generating a book card (as shown in fig. 9) of the to-be-processed book list according to the book list identification code of the to-be-processed book list, the electronic book identification code corresponding to the to-be-processed book list and the entity book identification code corresponding to the to-be-processed book list, so that the book card simultaneously carries the book list identification code, the electronic book identification code and the entity book identification code corresponding to the to-be-processed book list.
Based on the related contents of S3031 to S3032, if the books to be processed corresponding to the to-be-processed book list include M electronic books and M-M physical books, after the book list identification code of the to-be-processed book list is obtained, the electronic book identification code corresponding to the to-be-processed book list and the physical book identification code corresponding to the to-be-processed book list may be generated according to the book list identification code of the to-be-processed book list, so that the electronic book identification code corresponding to the to-be-processed book list is used for identifying the M electronic books, and the physical book identification code corresponding to the to-be-processed book list is used for identifying the M physical books; and generating a book card of the book to be processed according to the electronic book identification code and the entity book identification code, so that the book card of the book to be processed carries the electronic book identification code corresponding to the book to be processed and the entity book identification code corresponding to the book to be processed, and a user of the book card can exchange the M electronic books by using the electronic book identification code and can exchange the M-M entity books by using the entity book identification code, thereby meeting the exchange requirement that the user only exchanges the electronic books or the entity books.
In some cases, in order to save cost and facilitate carrying and storing of a book card, a book card may be used to record book form identification code information of a plurality of book forms, so to meet the requirement, an embodiment of the present application provides S303, which specifically includes: if the number of the sheets to be processed is R, generating book cards of the sheets to be processed according to the sheet identification code of the 1 st sheet to be processed to the sheet identification code of the R < th > sheet to be processed; wherein R is a positive integer.
As can be seen, in the embodiment of the present application, after the book sheet identification codes of R to-be-processed book sheets are obtained, the book card of the to-be-processed book sheet may be generated according to the book sheet identification codes of the R to-be-processed book sheets (as shown in fig. 10), so that the book card carries the book sheet identification codes of the R to-be-processed book sheets, and a user of the book card can exchange books corresponding to the to-be-processed book sheets by using the book card. The book card is provided with a plurality of book sheets, and the book card is provided with a plurality of identification codes corresponding to the book sheets.
Based on the related contents of S301 to S303, after receiving the book card generation request, generating a to-be-processed book list according to at least one book identifier input by the first user on the first page; and then generating a book sheet identification code of the book sheet to be processed, and generating a book card of the book sheet to be processed according to the book sheet identification code of the book sheet to be processed, so that a user (such as a book card applicant or a book card donor) who follows the book card can quickly acquire the book recorded in the book sheet to be processed by using the book sheet identification code carried by the book card, and the user does not need to spend a large amount of time on acquiring the book, thereby effectively reducing the time consumption of the user for acquiring the book.
Method embodiment two
In some cases, the book card of the pending book order may be sent to the book card applicant. In order to meet the above requirement, an embodiment of the present application further provides an implementation manner of a book card generation method, in which the book card generation method further includes, in addition to the above S301 to S303, S304: and sending the book card of the book sheet to be processed to a second user.
In fact, the electronic card and the physical card are sent in different manners, so the embodiment of the present application provides three manners of sending the electronic card and also provides one manner of sending the physical card, which are described in sequence below.
In a first possible implementation manner, when the book card of the book sheet to be processed is an electronic card, S304 may specifically be: and sending the book card of the book sheet to be processed to the first network address input by the second user on the third page.
The third page is a display page of the second user inputting the book card sending address (such as the first network address and/or the first administrative address). In addition, the pop-up time of the third page is not limited in the embodiment of the application, for example, the third page may pop up before the generation of the book card of the to-be-processed book list, or may pop up after the generation of the book card of the to-be-processed book list.
The first network address refers to a network address designated by the second user for receiving an electronic card (i.e., a book card of an electronic version of the pending book). In addition, the first network address is not limited in the embodiments of the present application, and for example, the first network address may be a mailbox address.
Based on the above content, in the embodiment of the application, after the book card of the electronic version to-be-processed book form and the first network address input by the second user on the third page are obtained, the book card of the to-be-processed book form may be directly sent according to the first network address, so that the second user can obtain the book card of the to-be-processed book form according to the first network address, and the subsequent second user can store or use the book card of the to-be-processed book form received by the first network address.
In a second possible implementation manner, when the book card of the book sheet to be processed is an electronic card, S304 may specifically be: and adding the book card of the book sheet to be processed into the book card recording page of the first application program.
The first application program refers to a device capable of storing and displaying a book card installed on the terminal device of the second user, and for example, the first application program may be a reader.
In addition, the embodiment of the present application does not limit the obtaining manner of the first application, for example, the first application may be an application selected by the second user on the seventh page; the seventh page is a display page of an application program set for recording the book card. As another example, the first application may be a predetermined application.
The book card recording page refers to a page used for recording a book card in the first application program.
Based on the above content, in the embodiment of the application, after the book card of the electronic version to-be-processed book list is obtained, the book card of the to-be-processed book list may be directly sent to the book card recording page of the first application program for recording, so that a subsequent second user can query and use the book card of the to-be-processed book list in the book card recording page of the first application program.
In a third possible implementation manner, when the book card of the book sheet to be processed is an electronic card, S304 may specifically be: and sending the book card of the book list to be processed to the first network address input by the second user on the third page, and adding the book card of the book list to be processed to the book card recording page of the first application program.
Therefore, in the embodiment of the application, after the book card of the to-be-processed book list of the electronic version is obtained, the book card of the to-be-processed book list can be respectively sent to the first network address provided by the second user and the book card recording page of the first application program, so that the second user can not only find the book card of the to-be-processed book list according to the first network address, but also find the book card of the to-be-processed book list in the book card recording page of the first application program, and thus, book card backup can be automatically realized, the possibility that the second user cannot find the book card of the to-be-processed book list can be effectively reduced, and the second user can be favorably ensured to find the book card of the to-be-processed book list smoothly.
In a possible implementation manner, when the book card of the book sheet to be processed is an entity card, S304 may specifically be: and generating first sending information according to the first administrative address input by the second user on the third page, so that the book card of the book sheet to be processed is sent to the second user according to the first sending information.
The first administrative address refers to an administrative division address (e.g., a home address, a company address, a package pickup address, etc.) designated by the second user.
The first sending information is information required when the book card of the book sheet to be processed is sent to the second user. In addition, the first sending information is not limited in the embodiments of the present application, for example, the first sending information may include a receiving address (i.e., a first administrative address) of the second user, identity information (e.g., name, telephone, etc.) of the second user, and the like.
Based on the above, in the embodiment of the application, after the book card of the to-be-processed book form in the entity version and the first administrative address input by the second user on the third page are obtained, the first sending information may be generated according to the first administrative address, and then the book card of the to-be-processed book form is sent to the second user as a package according to the first sending information, so that the second user can receive the book card of the to-be-processed book form.
Based on the related content of S304, after the book card of the to-be-processed book list is obtained, the actual sending method of the book card may be determined according to the book card expression form (e.g., electronic card or physical card) selected by the second user, so that the second user can smoothly receive the book card of the to-be-processed book list, and the subsequent second user can use the book card to perform book exchange.
Method embodiment three
In some cases, after the book card applicant obtains the book card, the book card applicant can use the book card to exchange books by himself or herself, and can also give the book card to others, so that the book card giver can use the book library to exchange books. It can be seen that the user of the book card can be either a book card applicant or a book card donor.
In addition, in order to meet the requirement that a book card user exchanges books by using a book card, an embodiment of the present application further provides a book issuing method, which will be described below with reference to fig. 11. Fig. 11 is a flowchart of a book issuing method according to an embodiment of the present application.
The book issuing method provided by the embodiment of the application comprises the following steps of S1101-S1104:
s1101: and acquiring the code to be identified displayed on the book card to be identified.
The book card to be identified is a book card for exchanging books, and the book card to be identified may be generated by using any one of the embodiments of the book card generation methods provided in the embodiments of the present application.
The to-be-identified code is the identification code displayed on the to-be-identified book card. If the book card to be identified displays the ciphertext of the book form identification code, the code to be identified is the ciphertext of the book form identification code; and if the plaintext of the book form identification code is displayed on the book card to be identified, the code to be identified is the plaintext of the book form identification code.
Different methods can be used to obtain the to-be-identified code in different application scenarios, so the following respectively describes the obtaining methods of the to-be-identified code in different application scenarios.
In a first application scenario, if a third user manually inputs a to-be-identified code displayed on a to-be-identified book card into a fourth page, an obtaining process of the to-be-identified code may specifically be: and acquiring a code to be identified input by a third user on the fourth page.
The third user is the user who exchanges the book with the code to be identified. That is, the third user may be a book card user. It should be noted that, in some cases, when a legal user of the book card (such as a book card applicant and a book card donor) loses the book card and a pickup of the book card performs book exchange using the book card, the pickup of the book card is an illegal user. Therefore, the book card user can be not only a legal user but also an illegal user, so that the third user can be not only a book card applicant or a book card donor, but also a book card pickup.
The fourth page refers to a display page for book redemption. In addition, the embodiment of the present application does not limit the pop-up manner of the fourth page. For example, when the link information of the fourth page is displayed on the card in a preset manner (e.g., a web page connection or a two-dimensional code manner), the third user may open the fourth page by using the link information displayed on the card (e.g., by scanning the two-dimensional code displayed on the physical card, manually inputting the web page connection displayed on the physical card on a website, clicking the web page connection displayed on the electronic card, recognizing the two-dimensional code displayed on the electronic card, etc.).
Based on the related content of the first application scenario, after the third user acquires the book card to be identified, the third user may manually input the code to be identified displayed on the book card to be identified on the fourth page, so that book exchange can be performed subsequently based on the code to be identified.
In a second application scenario, if the to-be-identified code is stored in a preset storage space (such as a clipboard) by a third user before the fourth page is opened, an obtaining process of the to-be-identified code may specifically be: and when the fourth page is in an open state, acquiring the to-be-identified code pre-stored in the preset storage space.
The preset storage space refers to a preset space capable of storing the code to be identified. In addition, the preset storage space is not limited in the embodiment of the application, for example, the preset storage space may be a clipboard.
Based on the related content of the second application scenario, in the embodiment of the application, if the third user stores the to-be-identified code in the preset storage space in advance, the to-be-identified code may be automatically read from the preset storage space when the fourth page is opened, so that book exchange can be performed subsequently based on the to-be-identified code.
In a third application scenario, if the third user inputs the card to be identified to the fourth page, the process of acquiring the code to be identified may specifically be: and extracting the code to be identified from the book card to be identified input on the fourth page by the third user.
As can be seen, in the embodiment of the present application, when the third user inputs the book card to be recognized onto the fourth page, image analysis (such as region-of-interest extraction, image recognition, image segmentation, and the like) may be performed on the book card to be recognized to obtain the code to be recognized displayed on the book card to be recognized, so that book exchange can be performed subsequently based on the code to be recognized. It should be noted that the embodiment of the present application does not limit the input method of the to-be-identified book card, for example, the entity version of the to-be-identified book card may be input to the fourth page through scanning, shooting, and the like, and the electronic version of the to-be-identified book card may be input to the fourth page through importing an image, screenshot, and uploading a file.
Based on the related content of the S1101, after the third user acquires the book card to be identified, the third user can directly exchange books by using the code to be identified displayed on the book card to be identified, and the operation is simple and the consumed time is short.
S1102: and carrying out preset verification on the identification code to be identified.
The preset verification refers to a preset process for verifying whether the code to be identified displayed on the book card to be identified is valid.
In addition, the embodiment of the present application does not limit the check items of the preset verification, for example, the check items of the preset verification may include at least one of checking whether the to-be-identified code is a stored identification code existing in the preset database, checking whether the to-be-identified code is in a valid period, checking whether a third user is a legitimate owner of the to-be-identified book card, and the like.
It should be noted that, in order to simplify the preset verification process, once the validity period of a certain stored identification code is found to be over, the stored identification code is determined to be in an invalid state, so that the stored identification code and its related content (for example, the corresponding relationship between the stored identification code and the book entry) can be directly deleted from the preset database, so that it is possible to determine whether the to-be-identified code is in the validity period by checking whether the to-be-identified code exists in the preset database in the preset verification, and it is not necessary to additionally check whether the to-be-identified code is in the validity period, which is beneficial to improving the preset verification efficiency.
For ease of understanding, S1102 is described below in conjunction with two examples.
For example, when the to-be-identified code displayed on the to-be-identified book card is a ciphertext of the book form identification code, S1102 may specifically include S11021 to S11024:
s11021: and decrypting the identification code to be identified by using the decryption information input by the third user on the fifth page to obtain the identification code plaintext of the identification code to be identified.
The fifth page is a page where the third user inputs decryption information of the book form identification code.
The decryption information is information input by a third user and used for decrypting the code to be identified displayed on the book card to be identified.
In the embodiment of the application, after the to-be-identified code displayed on the to-be-identified book card and the decryption information input by the third user on the fifth page are obtained, the to-be-identified code can be decrypted by using the decryption information; if the decryption is successful, obtaining an identification code plaintext corresponding to the to-be-identified code, so that a book to be exchanged by a third user can be determined based on the identification code plaintext corresponding to the to-be-identified code; if the decryption fails, displaying the prompt content of the decryption information error in a preset display mode (for example, in a mode of popping up a dialog box) so that a third user can know that the decryption information input by the third user is wrong and can input the decryption information again.
S11022: judging whether a stored identification code identical to the identification code plaintext of the to-be-identified code exists in a preset database or not; if yes, go to S11023; if not, then S11024 is executed.
In the embodiment of the application, after the identification code plaintext of the to-be-identified code is obtained, the identification code plaintext can be compared with each stored identification code in a preset database one by one; if the stored identification code identical to the identification code plaintext exists in the preset database, the identification code plaintext is determined to be an effective book form identification code, so that the book to be exchanged by the third user can be determined based on the identification code plaintext; if the stored identification code identical to the identification code plaintext does not exist in the preset database, the identification code plaintext is determined to be an invalid book form identification code, so that a third user cannot exchange books by means of the to-be-identified code corresponding to the identification code plaintext.
S11023: and determining that the code to be identified passes the preset verification, and continuing to execute S1103.
S11024: it is determined that the to-be-identified code fails the preset authentication, and execution continues with S1104.
Based on the related content of the first example, if the to-be-identified code displayed on the to-be-identified card is the ciphertext of the book form identification code, the to-be-identified code may be decrypted first, and then it is determined whether the decrypted to-be-identified code is a valid book form identification code, so as to determine whether the to-be-identified code passes the preset verification based on the determination result.
In a second example, when at least one entity book and at least one electronic book exist in the books to be released corresponding to the book card to be recognized, and the code to be recognized corresponds to the at least one entity book or the at least one electronic book, S1102 may specifically include steps 1 to 4:
step 1: and generating a book form identification code corresponding to the book card to be identified according to the code to be identified.
It should be noted that, if the to-be-identified code corresponds to at least one physical book, the generation process of the book form identification code corresponding to the to-be-identified book card in step 1 is the reverse process of the generation process of the electronic book identification code in the above S3031; if the to-be-identified code corresponds to at least one electronic book, the generation process of the book form identification code corresponding to the to-be-identified book card in step 1 is the reverse process of the generation process of the entity book identification code in the above S3031. For the sake of brevity, no further description is provided herein.
It should be further noted that the to-be-identified code corresponds to at least one entity book or one electronic book, and may be specified by a third user, or may be automatically determined according to the to-be-identified code, which is not specifically limited in this embodiment of the application.
Step 2: judging whether stored identification codes identical to the book sheet identification codes corresponding to the book cards to be identified exist in a preset database or not; if yes, executing step 3; if not, executing the step 4.
And step 3: and determining that the code to be identified passes the preset verification, and continuing to execute S1103.
And 4, step 4: it is determined that the to-be-identified code fails the preset authentication, and execution continues with S1104.
Based on the related content of the second example, when the third user only exchanges the electronic book and the physical book corresponding to the book card to be recognized, the book form identification code corresponding to the book card to be recognized may be analyzed according to the code to be recognized selected by the third user, and then validity judgment may be performed on the book form identification code, so as to determine whether the code to be recognized passes the preset verification based on the judgment result.
Based on the related content of S1102, in the embodiment of the present application, after the to-be-identified code displayed on the to-be-identified book card is obtained, the to-be-identified code may be directly subjected to preset verification, so as to obtain a verification result corresponding to the to-be-identified code. If the verification result corresponding to the code to be identified shows that the code to be identified passes the preset verification, determining that the code to be identified is an effective book form identification code, and accordingly determining that the book corresponding to the code to be identified can be accurately determined subsequently based on the code to be identified, so that a third user can exchange the code to be identified to obtain a corresponding book; if the verification result corresponding to the to-be-identified code indicates that the to-be-identified code fails the preset verification, the to-be-identified code is determined to be an invalid book form identification code, so that it can be determined that the book corresponding to the to-be-identified code cannot be determined subsequently based on the to-be-identified code, and therefore a third user can be prompted by means of prompt information, and the third user can know that the to-be-identified code fails to verify from the prompt information.
S1103: and when the code to be identified passes the preset verification, determining a target book list according to the code to be identified, and issuing the book to be issued corresponding to the book identification in the target book list to a third user.
The target book is a book which has a corresponding relation with the to-be-identified code passing the preset verification. That is, the target book and the code to be identified have a corresponding relationship.
Therefore, the target book list can be determined according to the identification code to be identified or the identification code plaintext of the identification code to be identified; moreover, when the first mapping relationship is used to record the corresponding relationship between each book and each book identification code, the target book may be determined according to the code to be identified and the first mapping relationship, which specifically includes: if the code to be identified is in a plaintext form, inquiring the book form corresponding to the code to be identified from the first mapping relation, and determining the book form as a target book form; and if the code to be identified is in a ciphertext form, after the identification code plaintext of the code to be identified is determined, inquiring the book form corresponding to the identification code plaintext from the first mapping relation, and determining the book form as the target book form.
The book to be released refers to the book that the third user wants to exchange, and also refers to the book identified by the book identifier in the target book list.
In a possible implementation manner, when the book to be released corresponding to the target book entry includes at least one electronic book and at least one entity book, and the code to be identified is only used for identifying the electronic book corresponding to the book card to be identified or the entity book corresponding to the book card to be identified, S1103 may specifically be: determining a target book sheet according to the book sheet identification code corresponding to the book card to be identified; if the code to be identified corresponds to at least one entity book, the entity book in the book to be released corresponding to the book identification in the target book list is released to a third user; and if the to-be-identified code corresponds to at least one electronic book, the electronic book in the to-be-released book corresponding to the book identification in the target book list is released to a third user.
Based on the above contents, in the embodiment of the application, when the books to be released corresponding to the target book list include a plurality of electronic books and a plurality of entity books, if the code to be identified selected by the third user is only used for identifying the electronic book corresponding to the book card to be identified, the target book list is determined according to the book list identification code corresponding to the book card to be identified, and then the electronic book corresponding to the target book list is sent to the third user, at this time, the entity book corresponding to the target book list is not sent to the third user; if the code to be identified selected by the third user is only used for identifying the entity book corresponding to the book card to be identified, the target book sheet is determined according to the book sheet identification code corresponding to the book card to be identified, then the entity book corresponding to the target book sheet is sent to the third user, and the electronic book corresponding to the target book sheet cannot be sent to the third user.
Actually, the transmission modes of the electronic book and the physical book are different, so the embodiment of the present application provides three transmission modes of the electronic book and also provides one transmission mode of the physical book, which are sequentially described below.
In a first possible implementation manner, when the book to be released is an electronic book, the process of releasing the book to be released may specifically be: and sending the book to be released to a second network address input by a third user on a sixth page.
The sixth page is a display page where the third user inputs a book sending address (e.g., the second network address and/or the second administrative address). In addition, the pop-up time of the sixth page is not limited in the embodiment of the application, for example, the sixth page may pop up before the book to be released is determined, or may pop up after the book to be released is determined.
The second network address refers to a network address designated by a third user for receiving an electronic book (i.e., an electronic version of a book to be released). In addition, the second network address is not limited in the embodiments of the present application, for example, the second network address may be a mailbox address.
Based on the above content, in the embodiment of the application, after the book to be released in the electronic version and the second network address input by the third user on the sixth page are obtained, the book to be released can be directly sent according to the second network address, so that the third user can obtain the book to be released according to the second network address, and the subsequent third user can store or use the book to be released received by the second network address.
In a second possible implementation manner, when the book to be released is an electronic book, the process of releasing the book to be released may specifically be: and displaying the book to be released on the bookshelf in the second application program selected by the third user on the sixth page.
The second application refers to a device capable of storing and displaying an electronic book installed on the terminal device of the third user, and may be, for example, a reader.
In addition, the embodiment of the present application does not limit the obtaining manner of the second application, for example, the second application may be an application selected by the third user on the eighth page; the eighth page is a display page of an application program set to display the electronic book. As another example, the second application may be a predetermined application.
The bookshelf refers to a page in the second application program for displaying a third user readable book.
Based on the above content, in the embodiment of the application, after the electronic version book to be released is obtained, the book to be released may be directly sent to the bookshelf in the second application program to be displayed, so that a subsequent third user can query and use the book to be released on the bookshelf in the second application program.
In a third possible implementation manner, when the book to be released is an electronic book, the process of releasing the book to be released may specifically be: and sending the book to be released to a second network address input by the third user on the sixth page, and displaying the book to be released on the bookshelf in the second application program selected by the third user on the sixth page.
Therefore, in the embodiment of the application, after the book to be released of the electronic edition is obtained, the book to be released can be respectively sent to the second network address input by the third user on the sixth page and the bookshelf in the second application program, so that the third user can not only find the book to be released according to the second network address, but also can check the book to be released on the bookshelf in the second application program, and thus, the book backup can be automatically realized, the possibility that the third user cannot find the book to be released can be effectively reduced, and the third user can be favorably ensured to successfully find the book to be released.
In a possible implementation manner, when the book to be released is an entity book, the process of releasing the book to be released may specifically be: and generating second sending information according to a second administrative address input by the third user on the sixth page, so that the book to be sent is sent to the third user according to the second sending information.
The second administrative address refers to an administrative division address (e.g., a home address, a company address, a package pickup address, etc.) designated by a third user.
The second sending information is information required when the book to be sent is sent to the third user. In addition, the second sending information is not limited in the embodiments of the present application, for example, the second sending information may include a receiving address (i.e., a second administrative address) of the third user, identity information (e.g., name, telephone, etc.) of the third user, and the like.
Based on the above content, in the embodiment of the application, after the book to be sent of the entity version is obtained, the second sending information may be generated according to the second administrative address, and then the book to be sent is sent to the third user as a package according to the second sending information, so that the third user can receive the sent book to be sent.
S1104: and when the code to be identified is determined not to pass the preset verification, generating prompt information so that a third user can know that the code to be identified fails to verify from the prompt information.
The prompt information is information for informing a third user that the verification of the to-be-identified code fails, and in addition, the embodiment of the application does not limit the expression mode of the prompt information, for example, the prompt information may be displayed in a prompt box mode.
Based on the related contents of the above S1101 to S1104, after the third user acquires the book card to be identified, the third user may exchange books by using the code to be identified displayed on the book card to be identified, so that the third user can quickly acquire the book corresponding to the code to be identified. The third user only needs to provide the code to be identified (or the book card to be identified) displayed on the book card to be identified, and other operations are not needed, so that the operation steps of the third user for obtaining the book are simplified, and the user experience is improved; due to the fact that the correspondence relationship exists between the book order identification codes and the book orders, after the effective to-be-identified codes are obtained, the books needing to be exchanged by the third user can be obtained only by searching the book orders corresponding to the to-be-identified codes, other inquiring steps are not needed, book inquiring time is reduced, and book obtaining efficiency of the users is improved.
It should be noted that the embodiments of the present application also do not limit the execution subject of the book issuing method, and for example, the book issuing method provided by the embodiments of the present application may be applied to a data processing device such as a terminal device or a server. The terminal device may be a smart phone, a computer, a Personal Digital Assistant (PDA), a tablet computer, or the like. The server may be a stand-alone server, a cluster server, or a cloud server. In addition, in a possible implementation manner, the book card generating method may be executed by the server, and the book issuing method may be executed by the terminal device.
Based on the book card generation method provided by the above method embodiment, the embodiment of the present application further provides a book card generation device, which is explained and explained below with reference to the accompanying drawings.
Apparatus embodiment one
The embodiment of the device introduces a book card generating device, and please refer to the above method embodiment for related contents.
Referring to fig. 12, the figure is a schematic structural diagram of a book card generating device provided in the embodiment of the present application.
The book card generation apparatus 1200 provided in the embodiment of the present application includes:
the book form generation unit 1201 is used for generating a book form to be processed according to at least one book identifier input by a first user on a first page after receiving a book card generation request;
an identification code generating unit 1202, configured to generate a book form identification code of the book form to be processed;
a book card generating unit 1203, configured to generate a book card of the to-be-processed book list according to the book list identification code of the to-be-processed book list.
In a possible implementation manner, the book card generating unit 1203 is specifically configured to:
encrypting the book list identification code of the book list to be processed by using encryption information input by a second user on a second page to obtain an identification code ciphertext of the book list to be processed;
and generating a book card of the book to be processed according to the identification code ciphertext of the book to be processed.
In a possible implementation manner, the book card generating unit 1203 is specifically configured to:
and generating the book card of the book to be processed according to the book form identification code of the book to be processed and the book card generation parameter input by the first user on the first page.
In a possible implementation manner, the book card generating unit 1203 is specifically configured to:
when the book card of the book list to be processed is determined to be the entity card, generating an electronic card of the book list to be processed according to the book list identification code of the book list to be processed; and sending the electronic card of the book sheet to be processed to preset output equipment to obtain the book card of the book sheet to be processed output by the preset output equipment.
In a possible implementation manner, the identification code generating unit 1202 is specifically configured to:
and generating the book list identification code of the book list to be processed according to at least one of the book identification in the book list to be processed, the book to be processed corresponding to the book identification in the book list to be processed and a preset character set.
In a possible implementation manner, the identification code generating unit 1202 is specifically configured to:
when the number of the book cards corresponding to the book sheets to be processed is determined to be N, generating N book sheet identification codes of the book sheets to be processed;
the book card generating unit 1203 is specifically configured to:
and respectively generating each book card of the book to be processed according to each book sheet identification code of the book to be processed.
In a possible implementation manner, the identification code generating unit 1202 is specifically configured to:
generating a current identification code;
when determining that the stored identification code which is the same as the current identification code exists in a preset database, continuing to execute the step of generating the current identification code;
and when determining that the stored identification code which is the same as the current identification code does not exist in a preset database, determining the current identification code as the book form identification code of the book form to be processed.
In a possible implementation manner, the book card generating apparatus 1200 further includes:
the electronic sending unit is used for sending the book card of the book list to be processed to a first network address input by a second user on a third page if the book card of the book list to be processed is an electronic card, and/or adding the book card of the book list to be processed to a book card recording page of a first application program;
and the entity sending unit is used for generating first sending information according to a first administrative address input by a second user on a third page if the book card of the book sheet to be processed is the entity card, so that the book card of the book sheet to be processed is sent to the second user according to the first sending information.
In a possible implementation manner, the book card generating unit 1203 is specifically configured to:
when at least one entity book and at least one electronic book exist in the books to be processed corresponding to the book list to be processed, generating an electronic book identification code corresponding to the book list to be processed and an entity book identification code corresponding to the book list to be processed according to the book list identification code of the book list to be processed;
and generating a book card of the book to be processed according to the electronic book identification code corresponding to the book to be processed and the entity book identification code corresponding to the book to be processed.
In a possible implementation manner, the book card generating unit 1203 is specifically configured to:
when the number of the sheets to be processed is R, generating book cards of the sheets to be processed according to the sheet identification code of the 1 st sheet to be processed to the sheet identification code of the R < th > sheet to be processed; wherein R is a positive integer.
Based on the book issuing method provided by the above method embodiment, the embodiment of the present application further provides a book issuing device, which is explained and explained below with reference to the accompanying drawings.
Device embodiment II
The embodiment of the device introduces the book issuing device, and please refer to the embodiment of the method for the relevant contents.
Referring to fig. 13, it is a schematic structural diagram of a book dispensing apparatus according to an embodiment of the present application.
The book issuing device 1300 provided by the embodiment of the present application includes:
an identification code obtaining unit 1301, configured to obtain a to-be-identified code displayed on a to-be-identified book card, where the to-be-identified book card is generated by using any implementation manner of the book card generation method provided in the embodiment of the present application;
an identification code verification unit 1302, configured to perform preset verification on the code to be identified;
and the book issuing unit 1303 is configured to, when it is determined that the to-be-identified code passes the preset verification, determine a target book form according to the to-be-identified code, and issue a book to be issued corresponding to the book identifier in the target book form to a third user.
In a possible implementation manner, the identification code obtaining unit 1301 is specifically configured to: and acquiring a code to be identified input by the third user on a fourth page.
In a possible implementation manner, the identification code obtaining unit 1301 is specifically configured to: acquiring a code to be identified which is pre-stored in a preset storage space;
in a possible implementation manner, the identification code obtaining unit 1301 is specifically configured to: and extracting the code to be identified from the book card to be identified input by the third user on a fourth page.
In a possible implementation manner, the identification code verification unit 1302 is specifically configured to:
decrypting the to-be-identified code by using decryption information input by the third user on a fifth page to obtain an identification code plaintext of the to-be-identified code;
when the existing identification code identical to the identification code plaintext is determined to exist in a preset database, determining that the code to be identified passes preset verification;
when it is determined that the stored identification code identical to the identification code plaintext does not exist in a preset database, determining that the code to be identified does not pass preset verification;
the book issuing unit 1303 includes:
and the book sheet determining subunit is used for determining the target book sheet according to the identification code plaintext.
In one possible embodiment, the book issuing unit 1303 includes:
the electronic issuing subunit is configured to send the book to be issued to a second network address input by the third user on a sixth page if the book to be issued is an electronic book, and/or display the book to be issued on a bookshelf in a second application program selected by the third user on the sixth page;
and the entity issuing subunit is configured to generate second sending information according to a second administrative address input by the third user on a sixth page if the book to be issued is an entity book, so that the book to be issued is sent to the third user according to the second sending information.
In a possible implementation manner, the identification code verification unit 1302 is specifically configured to:
when it is determined that at least one entity book and at least one electronic book exist in the books to be released corresponding to the book card to be identified and the code to be identified corresponds to the at least one entity book or the at least one electronic book, generating a book form identification code corresponding to the book card to be identified according to the code to be identified;
when the existing identification code which is the same as the book form identification code corresponding to the book card to be identified exists in a preset database, determining that the code to be identified passes preset verification;
when it is determined that the stored identification code which is the same as the book form identification code corresponding to the book card to be identified does not exist in the preset database, determining that the code to be identified does not pass the preset verification;
the book issuing unit 1303 includes:
the book sheet extracting subunit is used for determining a target book sheet according to the book sheet identification code corresponding to the book card to be identified;
the first issuing subunit is configured to, if the to-be-identified code corresponds to the at least one entity book, issue the entity book in the to-be-issued book corresponding to the book identifier in the target book list to a third user;
and the second issuing subunit is configured to, if the to-be-identified code corresponds to the at least one electronic book, issue the electronic book in the to-be-issued book corresponding to the book identifier in the target book form to a third user.
Further, an embodiment of the present application further provides a book card generating device, including: a processor, a memory, a system bus;
the processor and the memory are connected through the system bus;
the memory is used for storing one or more programs, and the one or more programs comprise instructions which, when executed by the processor, cause the processor to execute any one of the implementation methods of the book card generation method.
Further, an embodiment of the present application further provides a book issuing device, including: a processor, a memory, a system bus;
the processor and the memory are connected through the system bus;
the memory is used for storing one or more programs, and the one or more programs comprise instructions which when executed by the processor cause the processor to execute any implementation method of the book issuing method.
Further, an embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a terminal device, the terminal device is enabled to execute any implementation method of the book card generating method, or execute any implementation method of the book issuing method.
Further, an embodiment of the present application further provides a computer program product, which when running on a terminal device, causes the terminal device to execute any implementation method of the book card generating method, or execute any implementation method of the book issuing method.
As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
It should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (17)
1. A method for generating a book card, the method comprising:
after receiving a book card generation request, generating a book list to be processed according to at least one book identification input on a first page by a first user;
generating a book form identification code of the book form to be processed;
and generating a book card of the book to be processed according to the book sheet identification code of the book to be processed.
2. The method according to claim 1, wherein the generating the book card of the to-be-processed book list according to the book list identification code of the to-be-processed book list comprises:
encrypting the book list identification code of the book list to be processed by using encryption information input by a second user on a second page to obtain an identification code ciphertext of the book list to be processed;
and generating a book card of the book to be processed according to the identification code ciphertext of the book to be processed.
3. The method according to claim 1, wherein the generating the book card of the to-be-processed book list according to the book list identification code of the to-be-processed book list comprises:
and generating the book card of the book to be processed according to the book form identification code of the book to be processed and the book card generation parameter input by the first user on the first page.
4. The method according to claim 1, wherein the generating the book card of the to-be-processed book list according to the book list identification code of the to-be-processed book list comprises:
when the book card of the book list to be processed is determined to be the entity card, generating an electronic card of the book list to be processed according to the book list identification code of the book list to be processed; and sending the electronic card of the book sheet to be processed to preset output equipment to obtain the book card of the book sheet to be processed output by the preset output equipment.
5. The method of claim 1, wherein the generating the order identification code of the to-be-processed order comprises:
and generating the book list identification code of the book list to be processed according to at least one of the book identification in the book list to be processed, the book to be processed corresponding to the book identification in the book list to be processed and a preset character set.
6. The method of claim 1, wherein the generating the order identification code of the to-be-processed order comprises:
when the number of the book cards corresponding to the book sheets to be processed is determined to be N, generating N book sheet identification codes of the book sheets to be processed;
the generating the book card of the book sheet to be processed according to the book sheet identification code of the book sheet to be processed includes:
and respectively generating each book card of the book to be processed according to each book sheet identification code of the book to be processed.
7. The method of claim 1, wherein the generating the order identification code of the to-be-processed order comprises:
generating a current identification code;
when determining that the stored identification code which is the same as the current identification code exists in a preset database, continuing to execute the step of generating the current identification code;
and when determining that the stored identification code which is the same as the current identification code does not exist in a preset database, determining the current identification code as the book form identification code of the book form to be processed.
8. The method of claim 1, further comprising:
if the book card of the book list to be processed is an electronic card, sending the book card of the book list to be processed to a first network address input by a second user on a third page, and/or adding the book card of the book list to be processed to a book card recording page of a first application program;
and if the book card of the book sheet to be processed is the entity card, generating first sending information according to a first administrative address input by a second user on a third page, so that the book card of the book sheet to be processed is sent to the second user according to the first sending information.
9. The method according to claim 1, wherein the generating the book card of the to-be-processed book list according to the book list identification code of the to-be-processed book list comprises:
when at least one entity book and at least one electronic book exist in the books to be processed corresponding to the book list to be processed, generating an electronic book identification code corresponding to the book list to be processed and an entity book identification code corresponding to the book list to be processed according to the book list identification code of the book list to be processed;
and generating a book card of the book to be processed according to the electronic book identification code corresponding to the book to be processed and the entity book identification code corresponding to the book to be processed.
10. The method according to claim 1, wherein when the number of the sheets to be processed is R, the generating the book card of the sheet to be processed according to the sheet identification code of the sheet to be processed comprises:
generating a book card of the book to be processed according to the book list identification code of the 1 st book list to be processed to the book list identification code of the R < th > book list to be processed; wherein R is a positive integer.
11. A book issuing method, characterized in that the method comprises:
acquiring a code to be identified displayed on a book card to be identified, wherein the book card to be identified is generated by using the book card generation method of any one of claims 1 to 10;
presetting verification is carried out on the code to be identified;
and when the code to be identified passes the preset verification, determining a target book list according to the code to be identified, and issuing the book to be issued corresponding to the book identification in the target book list to a third user.
12. The method according to claim 11, wherein the acquiring the code to be identified displayed on the book card to be identified comprises:
acquiring a code to be identified input by the third user on a fourth page;
or,
acquiring a code to be identified which is pre-stored in a preset storage space;
or,
and extracting the code to be identified from the book card to be identified input by the third user on a fourth page.
13. The method according to claim 11, wherein the performing the preset verification on the code to be identified comprises:
decrypting the to-be-identified code by using decryption information input by the third user on a fifth page to obtain an identification code plaintext of the to-be-identified code;
when the existing identification code identical to the identification code plaintext is determined to exist in a preset database, determining that the code to be identified passes preset verification;
when it is determined that the stored identification code identical to the identification code plaintext does not exist in a preset database, determining that the code to be identified does not pass preset verification;
the determining the target book form according to the code to be identified comprises:
and determining a target book form according to the identification code plaintext.
14. The method according to claim 11, wherein the issuing the book to be released corresponding to the book identifier in the target book list to a third user comprises:
if the book to be released is the electronic book, sending the book to be released to a second network address input by the third user on a sixth page, and/or displaying the book to be released on a bookshelf in a second application program selected by the third user on the sixth page;
and if the book to be sent is an entity book, generating second sending information according to a second administrative address input by the third user on a sixth page, so that the book to be sent is sent to the third user according to the second sending information.
15. The method according to claim 11, wherein the performing the preset verification on the code to be identified comprises:
when it is determined that at least one entity book and at least one electronic book exist in the books to be released corresponding to the book card to be identified and the code to be identified corresponds to the at least one entity book or the at least one electronic book, generating a book form identification code corresponding to the book card to be identified according to the code to be identified;
when the existing identification code which is the same as the book form identification code corresponding to the book card to be identified exists in a preset database, determining that the code to be identified passes preset verification;
when it is determined that the stored identification code which is the same as the book form identification code corresponding to the book card to be identified does not exist in the preset database, determining that the code to be identified does not pass the preset verification;
the determining a target book list according to the code to be identified and issuing the book to be issued corresponding to the book identifier in the target book list to a third user includes:
determining a target book form according to the book form identification code corresponding to the book card to be identified;
if the code to be identified corresponds to the at least one entity book, the entity book in the book to be released corresponding to the book identification in the target book list is released to a third user;
and if the to-be-identified code corresponds to the at least one electronic book, the electronic book in the to-be-released book corresponding to the book identification in the target book list is released to a third user.
16. A book card generation apparatus, characterized in that the apparatus comprises:
the book form generation unit is used for generating a book form to be processed according to at least one book identification input on a first page by a first user after receiving a book card generation request;
the identification code generating unit is used for generating the book form identification code of the book form to be processed;
and the book card generating unit is used for generating the book card of the book to be processed according to the book list identification code of the book to be processed.
17. A book dispensing apparatus, characterized in that the apparatus comprises:
an identification code acquisition unit, configured to acquire a to-be-identified code displayed on a to-be-identified book card, where the to-be-identified book card is generated by using the book card generation method according to any one of claims 1 to 10;
the identification code verification unit is used for performing preset verification on the code to be identified;
and the book issuing unit is used for determining a target book list according to the code to be identified and issuing the book to be issued corresponding to the book identification in the target book list to a third user when the code to be identified passes the preset verification.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010790019.6A CN111914195A (en) | 2020-08-07 | 2020-08-07 | Book card generation method, book issuing method and book issuing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010790019.6A CN111914195A (en) | 2020-08-07 | 2020-08-07 | Book card generation method, book issuing method and book issuing device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111914195A true CN111914195A (en) | 2020-11-10 |
Family
ID=73283350
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010790019.6A Pending CN111914195A (en) | 2020-08-07 | 2020-08-07 | Book card generation method, book issuing method and book issuing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111914195A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1483174A (en) * | 2000-10-25 | 2004-03-17 | �Դ���� | Method for applying for electronic book |
CN102074128A (en) * | 2009-11-19 | 2011-05-25 | 盛大计算机(上海)有限公司 | Electronic book reader and method thereof for sharing information |
FR3011113A1 (en) * | 2013-09-25 | 2015-03-27 | Numerilib | DISTRIBUTION OF DIGITAL BOOKS |
CN107093009A (en) * | 2017-04-06 | 2017-08-25 | 王似玉 | A kind of books share system |
CN107204913A (en) * | 2017-05-08 | 2017-09-26 | 贵阳朗玛信息技术股份有限公司 | Music shares processing method, apparatus and system |
WO2017198184A1 (en) * | 2016-05-19 | 2017-11-23 | 北京安讯奔科技有限责任公司 | Method and apparatus for issuing electronic books |
CN107741981A (en) * | 2017-10-16 | 2018-02-27 | 桂进林 | A kind of e-book management method and device |
CN110263882A (en) * | 2019-03-11 | 2019-09-20 | 北京奇艺世纪科技有限公司 | Image generating method, information acquisition method, device and electronic equipment |
CN110909155A (en) * | 2019-11-25 | 2020-03-24 | 掌阅科技股份有限公司 | Book order generation method, calculation device and computer storage medium |
-
2020
- 2020-08-07 CN CN202010790019.6A patent/CN111914195A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1483174A (en) * | 2000-10-25 | 2004-03-17 | �Դ���� | Method for applying for electronic book |
CN102074128A (en) * | 2009-11-19 | 2011-05-25 | 盛大计算机(上海)有限公司 | Electronic book reader and method thereof for sharing information |
FR3011113A1 (en) * | 2013-09-25 | 2015-03-27 | Numerilib | DISTRIBUTION OF DIGITAL BOOKS |
WO2017198184A1 (en) * | 2016-05-19 | 2017-11-23 | 北京安讯奔科技有限责任公司 | Method and apparatus for issuing electronic books |
CN107093009A (en) * | 2017-04-06 | 2017-08-25 | 王似玉 | A kind of books share system |
CN107204913A (en) * | 2017-05-08 | 2017-09-26 | 贵阳朗玛信息技术股份有限公司 | Music shares processing method, apparatus and system |
CN107741981A (en) * | 2017-10-16 | 2018-02-27 | 桂进林 | A kind of e-book management method and device |
CN110263882A (en) * | 2019-03-11 | 2019-09-20 | 北京奇艺世纪科技有限公司 | Image generating method, information acquisition method, device and electronic equipment |
CN110909155A (en) * | 2019-11-25 | 2020-03-24 | 掌阅科技股份有限公司 | Book order generation method, calculation device and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110851879B (en) | Method, device and equipment for infringement and evidence preservation based on evidence preservation block chain | |
US9594739B2 (en) | Document signing systems and methods | |
US8392975B1 (en) | Method and system for image-based user authentication | |
CN110490721B (en) | Financial voucher generating method and related product | |
CN109740317A (en) | A kind of digital finger-print based on block chain deposits card method and device | |
CN112651841B (en) | Online business handling method, online business handling device, server and computer readable storage medium | |
CN106856475A (en) | Authorization server and certification cooperative system | |
JP2017504866A (en) | System and method for verifying clock synchronous dynamic password forgery prevention label legality in real time | |
CN104796257A (en) | Flexible data authentication | |
US9858406B2 (en) | Image-based user authentication | |
CN110569662A (en) | method for improving information security and related product | |
CN110324314A (en) | User registering method and device, storage medium, electronic equipment | |
CN108512660B (en) | Virtual card verification method | |
CN114297685A (en) | Product key burning method, system, device, terminal equipment and storage medium | |
KR101027228B1 (en) | User-authentication apparatus for internet security, user-authentication method for internet security, and recorded medium recording the same | |
US20160225004A1 (en) | Token verification | |
TWM590271U (en) | Business process system | |
EP2765541A1 (en) | Physical and electronic book reconciliation | |
CN111193729A (en) | Cross-terminal user identity recognition method and device and computer readable storage medium | |
TW201029424A (en) | System and method of network authentication | |
CN111914195A (en) | Book card generation method, book issuing method and book issuing device | |
KR20150045543A (en) | Genuine product certification and sns posting system, and method using nfc tag and smart phone | |
KR20160037092A (en) | An electronic tag and authentication method, device and system thereof | |
JP6816365B2 (en) | Information processing equipment, payment system, payment method | |
US20200372469A1 (en) | Business card information management system and business card information management program |
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 |