CN111880767A - Book reading application program configuration method and device and electronic equipment - Google Patents

Book reading application program configuration method and device and electronic equipment Download PDF

Info

Publication number
CN111880767A
CN111880767A CN202010532006.9A CN202010532006A CN111880767A CN 111880767 A CN111880767 A CN 111880767A CN 202010532006 A CN202010532006 A CN 202010532006A CN 111880767 A CN111880767 A CN 111880767A
Authority
CN
China
Prior art keywords
service
application program
book
book reading
requirement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010532006.9A
Other languages
Chinese (zh)
Inventor
栗金海
叶键晖
曾仰鑫
陈建文
周顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN202010532006.9A priority Critical patent/CN111880767A/en
Publication of CN111880767A publication Critical patent/CN111880767A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/10Requirements analysis; Specification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The application discloses a book reading application program configuration method and device, a server and a storage medium. The method comprises the following steps: the method comprises the steps of obtaining business requirements of a book reading manufacturer user, obtaining modification parameters corresponding to book display characteristics and a display income target, modifying a preset application program configuration file based on the modification parameters to obtain a target application program configuration file, generating an application program comprising the target application program configuration file, and returning the application program to the book reading manufacturer user for processing business requests corresponding to the business requirements based on the application program. The method and the device have the advantages that the application program corresponding to the requirements of users of book reading manufacturers can be generated quickly, the workload is reduced, and the cost of entering the novel market is reduced.

Description

Book reading application program configuration method and device and electronic equipment
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for configuring a book reading application, a server, and a storage medium.
Background
With the development of information technology and the popularization of intelligent terminals, more and more users begin to read novels by using intelligent terminals such as mobile phones. At present, when a manufacturer wants to enter a novel market, the manufacturer needs to acquire novel content and then develop a webpage or an APP. Among them, the popularization of the web page is poor, which easily results in low retention rate, and the novel APP is the first choice of people due to the great convenience. However, the existing novel APP development process is complicated, people need to be sent to develop the novel APP according to documents, or book information is stored in a server of the novel APP development process and then maintained and developed, so that the workload is increased, and the cost of entering the novel market is increased.
Disclosure of Invention
In view of the above problems, the present application provides a method, an apparatus, a server, and a storage medium for configuring a book reading application, so as to improve the above problems.
In a first aspect, an embodiment of the present application provides a book reading application program configuration method, where the method includes: acquiring business requirements of users of book reading manufacturers, wherein the business requirements comprise book display characteristics and display income targets corresponding to the book display characteristics; acquiring modification parameters corresponding to the book display features and the display income targets; modifying the preset application program configuration file based on the modification parameters to obtain a target application program configuration file; generating an application comprising the target application configuration file; and returning the application program to the book reading manufacturer user for processing the service request corresponding to the service requirement based on the application program.
In a second aspect, an embodiment of the present application provides a book reading application configuration device, where the device includes: the service requirement acquisition module is used for acquiring service requirements of users of book reading manufacturers, and the service requirements comprise book display characteristics and display income targets corresponding to the book display characteristics; a modified parameter obtaining module for obtaining modified parameters corresponding to the book display features and the display income targets; the configuration module is used for modifying the preset application program configuration file based on the modification parameters to obtain a target application program configuration file; an application generation module for generating an application including the target application configuration file; and the return module is used for returning the application program to the book reading manufacturer user so as to process the service request corresponding to the service requirement based on the application program.
In a third aspect, an embodiment of the present application provides a server, including a memory and one or more processors; one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of the first aspect described above.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having program code stored therein, where the program code, when executed by a processor, performs the method of the first aspect.
According to the book reading application program configuration method, the book reading application program configuration device, the server and the storage medium, through acquiring the service requirements of a book reading manufacturer user, then acquiring modification parameters corresponding to book display characteristics and a display income target, modifying a preset application program configuration file based on the modification parameters to obtain a target application program configuration file, then generating an application program comprising the target application program configuration file, and then returning the application program to the book reading manufacturer user for processing a service request corresponding to the service requirements based on the application program. Therefore, the application program corresponding to the requirement of the book reading manufacturer user can be rapidly generated directly by modifying the preset application program configuration file based on the modification parameters corresponding to the business requirement of the book reading manufacturer user through the mode, the workload is reduced, and the cost of entering the novel market is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only 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 diagram illustrating an example application environment suitable for a book reading application configuration method provided in an embodiment of the present application.
Fig. 2 is a flowchart illustrating a method for configuring a book reading application according to an embodiment of the present application.
Fig. 3 shows an exemplary diagram of an interface for modifying a preset application configuration file through a content setting module in an embodiment of the present application.
Fig. 4 is a flowchart illustrating a method for configuring a book reading application according to another embodiment of the present application.
Fig. 5 shows a flowchart of the method of step S260 in fig. 4.
Fig. 6 is a flowchart illustrating a method for configuring a book reading application according to another embodiment of the present application.
Fig. 7 shows a block diagram of an application configuration apparatus according to an embodiment of the present application.
Fig. 8 shows a block diagram of a server according to an embodiment of the present application.
Fig. 9 illustrates a storage unit according to an embodiment of the present application, configured to store or carry program codes for implementing a book reading application configuration method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, 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.
With the development of information technology and the popularization of intelligent terminals, more and more users begin to read novels by using intelligent terminals such as mobile phones, and APP of the novels becomes the first choice of people.
At present, when a manufacturer wants to enter a novel market, the manufacturer needs to acquire novel content and then develop a webpage or an APP. Among them, the popularization of the web page is poor, which easily results in low retention rate, and the novel APP is the first choice of people due to the great convenience. Then, the existing novel APP development process is complicated, people need to be sent to develop according to documents, or book information is stored in a server of the people and then maintained and developed, the workload is increased, and meanwhile the cost of entering the novel market is also increased.
In view of the above problems, the inventors have found through long-term research that a service request corresponding to a service requirement can be processed by obtaining the service requirement of a book reading manufacturer user, then obtaining a modification parameter corresponding to a book display feature and a display income target included in the service requirement, modifying a preset application program configuration file based on the modification parameter to obtain a target application program configuration file, then generating an application program including the target application program configuration file, and then returning the application program to the book reading manufacturer user for processing the service request corresponding to the service requirement based on the application program. Therefore, by the method, the application program corresponding to the requirement of the book reading manufacturer user can be rapidly generated directly by modifying the preset application program configuration file based on the modification parameters corresponding to the business requirement of the book reading manufacturer user, the workload is reduced, and the cost of entering the novel market is reduced.
In order to facilitate understanding of the book reading application configuration method proposed in the present application, an application environment of the embodiments of the present application will be briefly described below with reference to the accompanying drawings.
Referring to fig. 1, an exemplary application environment of the embodiment of the present application is shown, and as shown in fig. 1, the application environment 10 includes a server 11, a book reading application 12, a book reading vendor user 13, and a book reading reader client 14. The server 11 may receive a service requirement of the book reading manufacturer user 13, obtain a modification parameter for configuring a configuration that matches the requirement of the book reading manufacturer user 13 according to the service requirement, modify a preset application configuration file according to the modification parameter, generate a book reading management application that matches the service requirement, and return the book reading management application to the book reading manufacturer user 13. The book reading application 12 is a client for managing online exhibition of books by the book reader user 13. The book reading manufacturer user 13 may modify data of the book displayed on the line or data related to the displayed book, etc. through the book reading application 12. Optionally, the book reading applications corresponding to different book reading manufacturers may be different, and include some or all of the book content, the display style, the display income target, and the like, which may not be limited specifically.
Optionally, various book data and book reading manufacturer user data corresponding to the various book data are stored in the server 11, and when a book reading reader user reads a book through the book reading reader client 14, the corresponding book data can be acquired from the server 11. Optionally, the book reader user may read various types of data in an off-line or on-line manner through the book reader client 14. The server 11 may obtain reading income data corresponding to various books, and return the reading income data to the corresponding book reading manufacturer user 13, so that the book reading manufacturer user 13 may visually check whether income brought by the online displayed books meets a display income target through the book reading application program 12, and then may adjust the corresponding business requirements according to the comparison result.
Optionally, in the embodiment of the present application, the server for generating the book reading management application program matched with the service requirement and the server for processing the service request of the book reading reader user may be the same server, or may be different servers (only one server is shown in fig. 1), which is not limited specifically.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 2, a flowchart of a method for configuring a book reading application according to an embodiment of the present application is shown, where the embodiment provides a method for configuring a book reading application, which is applicable to a server, and the method includes:
step S110: and acquiring the business requirements of users of book reading manufacturers.
Optionally, the book reading manufacturer user in this embodiment may be a book reading manufacturer user of the book reading application program, the book reading manufacturer user may put the corresponding book reading application program on shelf to the novel market, various kinds of book information are configured in the book reading application program, and the reader user may download the network resource novel client from the novel market to read various kinds of corresponding book information.
The business requirements may include book display characteristics and display revenue targets corresponding to the book display characteristics. Optionally, the book display features may include the book type, the number of books, the book display style, and the like required by the user of the book reading manufacturer; the display revenue target may include, but is not limited to, user traffic on the book reading application, a user reading amount (or access amount) on the book reading application, and the like.
As a mode, the service requirement may include data added by a book reading manufacturer user through a designated page, and in this mode, the service requirement of the book reading manufacturer user may be obtained by obtaining data (including new, deleted, modified, and the like) of the designated page, where the designated page may configure an interface for a background server of the book reading application, and the designated page may be used for the book reading manufacturer user to adjust the interface of the book reading application, for example, an interface (or a module, a layout control, and the like) for display may be newly added, or an existing display interface may be modified.
Optionally, the specific content of the business requirement may change with time or a plan of the book reader user, or may change with an actual operation situation of the book reading application, for example, assuming that the business requirement started by the book reader user a is "100 books, 3 ten thousand access times per week", and the actual operation situation of the book reading application a indicates that it reaches 10 ten thousand access times per week, in this way, the business requirement of the book reader user a may be updated to "100 books, 10 ten thousand access times per week", where the book reading application a is a client corresponding to the book reader user a (or may be understood as a book reading application operating an ownership book belonging to the book reader user a). Then, as a mode, the service requirements of the book reading manufacturer user in a certain time period may be obtained, and the service requirements of the book reading manufacturer user may be periodically updated in a preset period, or the service requirements of the book reading manufacturer user may be automatically updated according to actual conditions.
Optionally, the service requirements of different book reading manufacturer users may be different, or the types of the service requirements of different book reading manufacturer users may be different.
Step S120: and acquiring modification parameters corresponding to the book display characteristics and the display income targets.
It can be understood that business requirements of different book reading manufacturer users may be different, for example, a book reading manufacturer user a needs to put books on shelf as 100, the style to be displayed is a reduced style, and the expected daily user reading amount is 10000; the number of books required to be put on the shelf by the user B of the book reading manufacturer is 1000, the styles required to be displayed are mixed in multiple styles, and the expected daily user reading amount is 100000.
As a mode, adjustment levels corresponding to different service requirements may be designed in advance, and optionally, different adjustment levels correspond to different adjustment parameters, for example, the more the adjustment parameters are, the larger the adjustment level is, or the corresponding relationship between the adjustment parameters and the adjustment levels may also be set according to actual requirements. Optionally, the adjustment parameter is used to adjust a configuration file parameter of a preset application program. In this way, after the business requirements of the book reading manufacturer user are obtained, the modification parameters corresponding to the book display features and the display income targets included in the business requirements can be obtained, so that the configuration file of the preset application program can be rapidly modified according to the modification parameters.
Step S130: and modifying the preset application program configuration file based on the modification parameters to obtain a target application program configuration file.
The preset application configuration file may include a development frame (optionally, a Flutter frame) and a content setting module of the book reading application, and after the business requirement of a book reading manufacturer user is obtained, a modification parameter matched with the business requirement may be obtained, and then the content of the development frame and the content setting module may be adjusted based on the modification parameter, so as to obtain the target application configuration file. Optionally, the target application configuration file in this embodiment may be understood as an application configuration file of the book reading application corresponding to a business requirement of a book reading manufacturer user.
Specifically, referring to fig. 3, an exemplary diagram of an interface for modifying a preset application configuration file through a content setting module in the embodiment of the present application is shown, as shown in fig. 3, a module may be created or edited (i.e., modified), and a running platform (e.g., a mobile terminal or a PC terminal), a status (e.g., displayed or hidden), a module type (e.g., a Banner module, an IconSet module, an operation configuration book module, an algorithm recommendation book module, a tag module, etc.), a source type (e.g., a Banner source, an IconSet source, a configuration book source, an algorithm book source, and a tag source), a valid date of the module (e.g., a minute and a second on a certain day of a certain year), remark content (e.g., an electronic book-PC), a display number (e.g., 10, 20, 30, or 50, etc., specific values may not be limited), a module subheading (e.g., which may be an electronic book-PC) and the order of presentation under the module subheading (e.g., sequential presentation or random presentation), skip logic (e.g., skip reader or skip introduction page), arrangement (e.g., 6 in a row, 3 in a row, 1 in a row, etc.), swap presentation (e.g., presentation may or may not be presented), etc. Alternatively, each piece of data created or edited may be displayed in tabular form at a position shown in a table as shown in fig. 3 so that the modified content can be visually viewed. New content may be added or existing content may be deleted via an add or delete button.
Optionally, a display module required by the book reading application program, or book information required to be included may be added through the content setting module shown in fig. 3, or a book with a higher popularity may be put in to attract the reader user.
Optionally, the management background of the book reading application in this embodiment may check book information, display effects and data of each module of the client, and reading data of the book (including data such as daily reading amount of the book and specific chapters, and revenue and the like brought about).
Step S140: and generating the application program comprising the target application program configuration file.
Optionally, after the target application configuration file is obtained, an application including the target application configuration file, that is, a book reading application, may be quickly generated based on a development framework of the book reading application. The generation principle and the technical implementation of the specific application program can refer to the related technology, and are not described in detail herein.
Step S150: and returning the application program to the book reading manufacturer user for processing the service request corresponding to the service requirement based on the application program.
As one way, the generated application program may be returned to the book reading manufacturer user, so that the service request corresponding to the service requirement of the book reading manufacturer user may be processed based on the application program.
In the book reading application program configuration method provided in this embodiment, a service requirement of a book reading manufacturer user is obtained, modification parameters corresponding to book display characteristics and a display income target are obtained, a preset application program configuration file is modified based on the modification parameters, a target application program configuration file is obtained, an application program including the target application program configuration file is generated, and the application program is returned to the book reading manufacturer user so as to process a service request corresponding to the service requirement based on the application program. Therefore, the application program corresponding to the requirement of the book reading manufacturer user can be rapidly generated directly by modifying the preset application program configuration file based on the modification parameters corresponding to the business requirement of the book reading manufacturer user through the mode, the workload is reduced, and the cost of entering the novel market is reduced.
Referring to fig. 4, a flowchart of a book reading application configuration method according to another embodiment of the present application is shown, where the present embodiment provides a book reading application configuration method applicable to a server, and the method includes:
step S210: and acquiring the business requirements of users of book reading manufacturers.
Step S220: and acquiring modification parameters corresponding to the book display characteristics and the display income targets.
Step S230: and modifying the preset application program configuration file based on the modification parameters to obtain a target application program configuration file.
Step S240: and generating the application program comprising the target application program configuration file.
Step S250: and returning the application program to the book reading manufacturer user for processing the service request corresponding to the service requirement based on the application program.
Step S260: and acquiring a target database corresponding to the service demand.
In this embodiment, the target database may be used to store service data corresponding to service requirements. The target databases corresponding to different business requirements may be different, or the target databases corresponding to different business requirements may be the same.
For example, in a specific application scenario, if a service requirement corresponding to a book reading manufacturer user a is a service requirement a, a service requirement corresponding to a book reading manufacturer user B is a service requirement B, and a service requirement corresponding to a book reading manufacturer user C is a service requirement C, a target database corresponding to the service requirement a may be a target database a, a target database corresponding to the service requirement B may be a target database B, and a target database corresponding to the service requirement C may be a target database B, that is, the service requirement a is different from the target database corresponding to the service requirement B, and the service requirement B is the same as the target database corresponding to the service requirement C. There may be many ways for determining the target database corresponding to the business requirement, and the specific description is as follows:
referring to fig. 5, as an alternative, step S260 may include:
step S261: and acquiring the requirement type corresponding to the plurality of sub-service requirements.
Optionally, the service requirement may include a plurality of sub-service requirements. As one mode, after acquiring the business requirements of the book reading manufacturer user, the requirement types corresponding to the multiple sub-business requirements included in the business requirements may be acquired, so as to determine the target database corresponding to the business requirements according to the requirement types. The types and the number of the sub-service requirements included in the different requirement types may be different.
Optionally, the mapping relationship between the different sub-service requirements and the corresponding requirement types and the service requirement types (which may be one or more) to which the sub-service requirements belong may be established and then stored in the form of a table file.
Step S262: and acquiring a target database corresponding to the service requirement according to the requirement type.
The requirement types in this embodiment may include a first requirement type and a second requirement type, where the first requirement type may be a requirement type corresponding to private information, for example, account information of a book reading manufacturer user, and a requirement type corresponding to information such as a page layout of a book reading application program desired by the book reading manufacturer user, and optionally, information of the first requirement type of different book reading manufacturer users may be different. The second requirement type may be a requirement type corresponding to information shared by manufacturers, and may be a requirement type corresponding to various types of book information (e.g., a cover, an introduction, a description, a chapter division, a chapter content, a text, etc. of a book).
As a way, if the requirement type is a first requirement type, a first database corresponding to the business requirement can be obtained, the first database is used as a target database, and the first databases corresponding to different business requirements are different; if the requirement type is the second requirement type, the second database corresponding to the service requirement may be obtained, and the second database is used as the target database, it should be noted that the storage capacity of the first database in this embodiment may be larger than that of the second database, or the adjustable storage capacity of the first database is larger than that of the second database. Alternatively, the first database may be understood as a private database and the second database may be understood as a public database.
As another way, after the requirement types corresponding to a plurality of sub-service requirements are obtained, the number of sub-service requirements included in the service requirements can be obtained, whether the number is greater than a preset number is judged, optionally, if the number is greater than or equal to the preset number, in a plurality of sub-service requirements of which the number is greater than or equal to the preset number, the sub-service types included in different service types are all stored in the same database, and different sub-service types (which may be partially identical or partially different) included in different service types are stored in different databases, so as to privately store each service type of which the number is greater than or equal to the preset number and the included sub-service types are different, the method and the device can improve the safety of information storage and simultaneously avoid the mutual influence between the service data corresponding to different service requirements.
For example, service requirement a includes 5 seed service requirements, where 5 seed service requirements are sub-service requirement 1, sub-service requirement 2, sub-service requirement 3, sub-service requirement 4, and sub-service requirement 5, service requirement B includes 3 seed service requirements, where 3 seed service requirements are sub-service requirement 1, sub-service requirement 2, and sub-service requirement 3, respectively, service requirement C includes 5 seed service requirements, where 5 seed service requirements are sub-service requirement 1, sub-service requirement 2, sub-service requirement 3, sub-service requirement 4, and sub-service requirement 5, respectively, and service requirement D includes 4 seed service requirements, where 4 seed service requirements are sub-service requirement 1, sub-service requirement 2, sub-service requirement 3, and sub-service requirement 4, respectively. If the preset number of the sub-service requirements is 4, the target database corresponding to the service requirement a and the target database corresponding to the service requirement C may be the same, and the target database corresponding to the service requirement B and the target database corresponding to the service requirement D may be different.
Optionally, if the number is smaller than the preset number, the sub-service types included in different service types (optionally, part of the sub-service types may be the same, and part of the sub-service types are different) in the plurality of sub-service requirements whose number is smaller than the preset number may be stored in the same database, and the sub-service types included in different service types are all the same and stored in different databases, so as to more evenly allocate the storage space and save the storage resources.
For example, service requirement a includes 2 seed service requirements, the 2 seed service requirements are sub-service requirement 1 and sub-service requirement 2, service requirement B includes 3 seed service requirements, the 3 seed service requirements are sub-service requirement 1, sub-service requirement 2 and sub-service requirement 3, respectively, service requirement C includes 1 seed service requirement, the 1 seed service requirement is sub-service requirement 1, service requirement D includes 2 seed service requirements, the 2 seed service requirements are sub-service requirement 1 and sub-service requirement 2, respectively, wherein, assuming that the preset number of sub-service requirements is 4, then the target database corresponding to service requirement B and the target database corresponding to service requirement C may be the same, and the target database corresponding to service requirement a and the target database corresponding to service requirement D may be different.
As another way, different business requirements with the same requirement type corresponding to the included multiple sub-business requirements may be directly stored in the same database, different business requirements with different requirement types corresponding to the included multiple sub-business requirements may be stored in different databases, and different business requirements with different requirement types corresponding to the included multiple sub-business requirements may be stored in different databases, so that when a business data amount corresponding to a certain business requirement suddenly changes (for example, a user access amount suddenly increases), the business data amount may not be affected by other target databases, or may not affect other target databases. Different business requirements with the same requirement type corresponding to a plurality of included sub-business requirements are stored in the same database, so that the unified management and data sharing of small-scale business requirements can be facilitated.
It should be noted that, in this embodiment, the service data corresponding to different service requirements stored in the same database may be shared, and the service data corresponding to different service requirements stored in different databases may be isolated from each other.
Optionally, the target databases corresponding to different service requirements may change according to a change in data volume of a plurality of sub-service requirements included in the service requirements, for example, the storage capacity of the corresponding target database may be larger as the data volume is larger, and may be specifically adjusted according to an actual situation.
In the book reading application program configuration method provided in this embodiment, a service requirement of a book reading manufacturer user is obtained, modification parameters corresponding to book display characteristics and a display income target are obtained, a preset application program configuration file is modified based on the modification parameters, a target application program configuration file is obtained, an application program including the target application program configuration file is generated, and the application program is returned to the book reading manufacturer user so as to process a service request corresponding to the service requirement based on the application program. Therefore, the application program corresponding to the requirement of the book reading manufacturer user can be rapidly generated directly by modifying the preset application program configuration file based on the modification parameters corresponding to the business requirement of the book reading manufacturer user through the mode, the workload is reduced, and the cost of entering the novel market is reduced. By acquiring the target database corresponding to the business requirement, the current database corresponding to the business requirement can be updated in real time, so that the utilization rate of storage resources can be improved.
Referring to fig. 6, which shows a flowchart of a method for configuring a book reading application according to another embodiment of the present application, this embodiment provides a method for configuring a book reading application, which may be applied to a server, and optionally, the server may include a first server and a second server, where the first server may be understood as a server for configuring an application corresponding to a business requirement of a book reading vendor user, and the second server may be understood as a server for processing a business request initiated by the application, in one embodiment, the first server and the second server may be the same server, in another embodiment, the first server and the second server may be different servers, and specifically, the method includes:
step S310: and acquiring the business requirements of users of book reading manufacturers.
Step S320: and acquiring modification parameters corresponding to the book display characteristics and the display income targets.
Step S330: and modifying the preset application program configuration file based on the modification parameters to obtain a target application program configuration file.
Step S340: and generating the application program comprising the target application program configuration file.
Step S350: and returning the application program to the book reading manufacturer user for processing the service request corresponding to the service requirement based on the application program.
Step S360: a service request is received.
The service request is a service request sent by the application program when receiving a service access of a reader user, where the service request carries an identifier of a book reading manufacturer user, for example, if the reader user sends the service request to the server through the application program of the book reading manufacturer user a, the service request carries the identifier of the book reading manufacturer user a. Optionally, the corresponding identifiers of users of different book reading manufacturers are different.
Step S370: and acquiring an example of a target database corresponding to the service request based on the identification.
Optionally, the server in this embodiment may store in advance target database instances corresponding to business requirements of users of different book reading manufacturers. After the service request is obtained, the proxy service can be called to preferentially obtain the plan configuration from the configuration service, and the obtained plan configuration is used for initializing the configuration of the target database, so as to obtain the instance of the target database. Optionally, if the plan configuration is not obtained, a warranty configuration may be obtained, and the warranty configuration is used to initialize the configuration in the target database, so as to obtain the corresponding instance in the target database. The proxy service can acquire the runtime configuration of all processes from the configuration service at regular time, and further acquire the plan configuration from the configuration service.
Optionally, if the instance of the target database corresponding to the service request is not obtained, the specified database instance may be obtained as the instance corresponding to the service request. The specified database instance may be understood as a generic instance of all process services. Optionally, in this way, error prompt information or alarm information may be generated and sent to the developer, so as to check the problem of process service configuration in time.
Step S380: and acquiring data corresponding to the service request based on the example.
Step S390: and returning the data.
The book reading application program configuration method provided by this embodiment obtains a service requirement of a book reading manufacturer user, then obtains modification parameters corresponding to book display characteristics and a display income target included in the service requirement, then modifies a preset application program configuration file based on the modification parameters to obtain a target application program configuration file, then generates an application program including the target application program configuration file, then returns the application program to the book reading manufacturer user for processing a service request corresponding to the service requirement based on the application program, then receives a service request sent based on the application program, then obtains an instance of a target database corresponding to the service request based on a book reading manufacturer user identifier, then obtains data corresponding to the service request based on the instance, and finally returns the data, thereby implementing preset application by modifying parameters corresponding to the service requirement of the book reading manufacturer user based on the modification parameters The application program corresponding to the requirements of book reading manufacturer users is quickly generated in a mode of modifying the program configuration file, so that the workload is reduced, and the cost of entering the novel market is reduced. By acquiring the instance of the target database corresponding to the service request based on the identifier, the processing speed of the service request can be increased.
Referring to fig. 7, a block diagram of an application configuration apparatus according to an embodiment of the present application is shown, where the application configuration apparatus 400 provided in this embodiment can be operated in a server, and the apparatus 400 includes: the business requirement obtaining module 410, the modified parameter obtaining module 420, the configuration module 430, the application generating module 440 and the returning module 450:
the business requirement obtaining module 410 is configured to obtain a business requirement of a book reading manufacturer user, where the business requirement includes a book display feature and a display income target corresponding to the book display feature.
Optionally, the service requirement may include data added by the book reading vendor user through a designated page.
A modified parameter obtaining module 420, configured to obtain modified parameters corresponding to the book display features and the display profit targets.
The configuration module 430 is configured to modify the preset application configuration file based on the modification parameter, so as to obtain a target application configuration file.
An application generation module 440, configured to generate an application including the target application configuration file.
A returning module 450, configured to return the application program to the book reading manufacturer user, so as to process a service request corresponding to the service requirement based on the application program.
Optionally, the apparatus may further include a service request receiving unit, configured to receive a service request, where the service request is sent when the application receives a service access of a reader user, and the service request carries an identifier of a book reading manufacturer user; an instance obtaining unit, configured to obtain an instance of a target database corresponding to the service request based on the identifier; a data obtaining unit, configured to obtain data corresponding to the service request based on the instance; and the data return unit is used for returning the data.
The instance obtaining unit may be further configured to obtain, if an instance of the target database corresponding to the service request is not obtained, a specified database instance as an instance corresponding to the service request.
Optionally, the apparatus may further include a database obtaining module, configured to obtain a target database corresponding to the service requirement. The service requirement may include a plurality of sub-service requirements, and the database acquisition module may specifically include: the system comprises a demand type acquisition unit and a database acquisition unit, wherein the demand type acquisition unit is used for acquiring demand types corresponding to the plurality of sub-service demands; and the database acquisition unit is used for acquiring a target database corresponding to the service requirement according to the requirement type.
If the demand type is a first demand type, acquiring a first database corresponding to the business demand, and taking the first database as a target database, wherein the first databases corresponding to different business demands are different; and if the demand type is a second demand type, acquiring a second database corresponding to the service demand, and taking the second database as a target database, wherein the storage capacity of the first database is greater than that of the second database.
Optionally, in this embodiment, the obtaining sequence of obtaining the target database corresponding to the service requirement may not be limited specifically, for example, the obtaining sequence may be obtained after obtaining the service requirement of the book reading manufacturer user.
The application configuration apparatus provided in this embodiment obtains the service requirement of the book reading manufacturer user, then obtains modification parameters corresponding to the book display characteristics and the display income target, modifies the preset application configuration file based on the modification parameters to obtain the target application configuration file, then generates an application including the target application configuration file, and returns the application to the book reading manufacturer user for processing the service request corresponding to the service requirement based on the application. Therefore, the application program corresponding to the requirement of the book reading manufacturer user can be rapidly generated directly by modifying the preset application program configuration file based on the modification parameters corresponding to the business requirement of the book reading manufacturer user through the mode, the workload is reduced, and the cost of entering the novel market is reduced.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be in an electrical, mechanical or other form.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 8, based on the book reading application configuration method and apparatus, the embodiment of the present application further provides a server 100 capable of executing the book reading application configuration method. The server 100 includes a memory 102 and one or more processors 104 (only one is shown) coupled to each other, the memory 102 and the processors 104 being connected by communication lines. The memory 102 stores therein a program that can execute the contents of the foregoing embodiments, and the processor 104 can execute the program stored in the memory 102.
The processor 104 may include one or more processing cores, among other things. The processor 104, using various interfaces and lines to connect various parts throughout the server 100, performs various functions of the server 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 102, and calling data stored in the memory 102. Alternatively, the processor 104 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 104 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 104, but may be implemented by a communication chip.
The Memory 102 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 102 may be used to store instructions, programs, code sets, or instruction sets. The memory 102 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the foregoing embodiments, and the like. The storage data area may also store data created by the server 100 in use (such as phone books, audio and video data, chat log data), and the like.
Referring to fig. 9, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable storage medium 500 has stored therein program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 500 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 500 includes a non-transitory computer-readable storage medium. The computer readable storage medium 500 has storage space for program code 510 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 510 may be compressed, for example, in a suitable form.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
To sum up, according to the book reading application configuration method, the book reading application configuration device, the book reading application configuration server and the storage medium provided by the embodiments of the present application, a service requirement of a book reading manufacturer user is acquired, modification parameters corresponding to book display characteristics and a display income target are acquired, a preset application configuration file is modified based on the modification parameters, a target application configuration file is acquired, an application including the target application configuration file is generated, and the application is returned to the book reading manufacturer user for processing a service request corresponding to the service requirement based on the application. Therefore, the application program corresponding to the requirement of the book reading manufacturer user can be rapidly generated directly by modifying the preset application program configuration file based on the modification parameters corresponding to the business requirement of the book reading manufacturer user through the mode, the workload is reduced, and the cost of entering the novel market is reduced.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A book reading application configuration method, the method comprising:
acquiring business requirements of users of book reading manufacturers, wherein the business requirements comprise book display characteristics and display income targets corresponding to the book display characteristics;
acquiring modification parameters corresponding to the book display features and the display income targets;
modifying the preset application program configuration file based on the modification parameters to obtain a target application program configuration file;
generating an application comprising the target application configuration file;
and returning the application program to the book reading manufacturer user for processing the service request corresponding to the service requirement based on the application program.
2. The method of claim 1, further comprising:
and acquiring a target database corresponding to the service requirement, wherein the target database is used for storing service data corresponding to the service requirement.
3. The method of claim 2, wherein the business requirement comprises a plurality of sub-business requirements, and wherein the obtaining the target database corresponding to the business requirement comprises:
acquiring a requirement type corresponding to the plurality of sub-service requirements;
and acquiring a target database corresponding to the service requirement according to the requirement type.
4. The method according to claim 3, wherein the obtaining the target database corresponding to the service requirement according to the requirement type includes:
if the demand type is a first demand type, acquiring a first database corresponding to the business demand, and taking the first database as a target database, wherein the first databases corresponding to different business demands are different;
and if the demand type is a second demand type, acquiring a second database corresponding to the service demand, and taking the second database as a target database, wherein the storage capacity of the first database is greater than that of the second database.
5. The method according to any of claims 1-4, wherein the business requirements include data added by the book reading vendor user through a designated page.
6. The method of claim 1, further comprising:
receiving a service request, wherein the service request is sent when the application program receives a service access of a reader user, and the service request carries an identifier of a book reading manufacturer user;
acquiring an example of a target database corresponding to the service request based on the identification;
acquiring data corresponding to the service request based on the instance;
and returning the data.
7. The method of claim 6, further comprising:
and if the example of the target database corresponding to the service request is not obtained, obtaining the specified database example as the example corresponding to the service request.
8. A book reading application configuration apparatus, the apparatus comprising:
the service requirement acquisition module is used for acquiring service requirements of users of book reading manufacturers, and the service requirements comprise book display characteristics and display income targets corresponding to the book display characteristics;
a modified parameter obtaining module for obtaining modified parameters corresponding to the book display features and the display income targets;
the configuration module is used for modifying the preset application program configuration file based on the modification parameters to obtain a target application program configuration file;
an application generation module for generating an application including the target application configuration file;
and the return module is used for returning the application program to the book reading manufacturer user so as to process the service request corresponding to the service requirement based on the application program.
9. A server, comprising a memory;
one or more processors;
one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-7.
10. A computer-readable storage medium, having program code stored therein, wherein the program code when executed by a processor performs the method of any of claims 1-7.
CN202010532006.9A 2020-06-11 2020-06-11 Book reading application program configuration method and device and electronic equipment Pending CN111880767A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010532006.9A CN111880767A (en) 2020-06-11 2020-06-11 Book reading application program configuration method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010532006.9A CN111880767A (en) 2020-06-11 2020-06-11 Book reading application program configuration method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111880767A true CN111880767A (en) 2020-11-03

Family

ID=73158268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010532006.9A Pending CN111880767A (en) 2020-06-11 2020-06-11 Book reading application program configuration method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111880767A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120210269A1 (en) * 2011-02-16 2012-08-16 Sony Corporation Bookmark functionality for reader devices and applications
CN103544019A (en) * 2013-11-01 2014-01-29 上海北鸥信息科技有限公司 E-book application program automatic generation achieving method based on application program template
CN104077146A (en) * 2014-07-11 2014-10-01 北京金和软件股份有限公司 Personalized customization method and system for application programs of mobile terminal
CN104077133A (en) * 2014-06-24 2014-10-01 中国地质大学(北京) Configuration type menu generating method
CN107526580A (en) * 2016-07-26 2017-12-29 腾讯科技(深圳)有限公司 Terminal applies recognition methods and device
CN110244977A (en) * 2019-05-21 2019-09-17 深圳壹账通智能科技有限公司 Customized software generation method, system, electronic equipment and storage medium
CN110515631A (en) * 2019-08-23 2019-11-29 掌阅科技股份有限公司 Using the generation method of installation data packet, server and computer storage medium
CN110968789A (en) * 2019-12-04 2020-04-07 掌阅科技股份有限公司 Electronic book pushing method, electronic equipment and computer storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120210269A1 (en) * 2011-02-16 2012-08-16 Sony Corporation Bookmark functionality for reader devices and applications
CN103544019A (en) * 2013-11-01 2014-01-29 上海北鸥信息科技有限公司 E-book application program automatic generation achieving method based on application program template
CN104077133A (en) * 2014-06-24 2014-10-01 中国地质大学(北京) Configuration type menu generating method
CN104077146A (en) * 2014-07-11 2014-10-01 北京金和软件股份有限公司 Personalized customization method and system for application programs of mobile terminal
CN107526580A (en) * 2016-07-26 2017-12-29 腾讯科技(深圳)有限公司 Terminal applies recognition methods and device
CN110244977A (en) * 2019-05-21 2019-09-17 深圳壹账通智能科技有限公司 Customized software generation method, system, electronic equipment and storage medium
CN110515631A (en) * 2019-08-23 2019-11-29 掌阅科技股份有限公司 Using the generation method of installation data packet, server and computer storage medium
CN110968789A (en) * 2019-12-04 2020-04-07 掌阅科技股份有限公司 Electronic book pushing method, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN108874539B (en) Resource allocation method, device, terminal and storage medium
CN103763178B (en) A kind of information-pushing method, server, user terminal and system
EP3531257A1 (en) Application interface management method and apparatus
CN103460723A (en) Push notifications for updating multiple dynamic icon panels
US9578119B2 (en) Method, server, and client for pushing and displaying splash screen
CN111814089A (en) Page rendering method and device, rendering server and storage medium
CN109347898B (en) Scene information sending method, scene information display method, server and mobile terminal
CN111177613A (en) Page processing method, device, equipment and storage medium
CN113568699A (en) Content display method, device, equipment and storage medium
CN112351350A (en) Content display method, device, system, equipment and storage medium
CN113742601A (en) Content sharing method and device, computer equipment and storage medium
CN111190634B (en) Layout information processing method and device and electronic equipment
CN110647634A (en) Method and device for searching media resource, storage medium and electronic device
CN112463994A (en) Multimedia resource display method, device, system and storage medium
CN111880767A (en) Book reading application program configuration method and device and electronic equipment
CN114090083B (en) Visual component configuration method, device, equipment and storage medium
CN113902483A (en) Advertisement putting method and device, electronic equipment and storage medium
CN113989058A (en) Service generation method and device
CN112650763A (en) Configuration method of product quota, related equipment and storage medium
CN113448577A (en) Page generation method and device and storage medium
CN113992622A (en) Multi-template aggregation message notification sending system and method based on unified model
CN108932624B (en) User information mapping method, server and computer readable storage medium
CN111444448A (en) Data processing method, server and system
CN115835145B (en) Service management method, device and storage medium
CN112861041B (en) Media content display method and device, electronic equipment and storage medium

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