Method for determining initialization module of application program, server and readable storage medium
By analyzing user behavior data, only modules that users frequently use in Android applications are initialized, which solves the problem of slow initialization rate and improves the user experience.
Patent Information
- Application Number
- CN202411118350.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-08-15
AI Technical Summary
In Android development, as the number of modules increases, the initialization operation time of the application becomes longer, resulting in a slow initialization rate and affecting the user experience.
By obtaining user behavior data of each module of the application, determining the frequency of users, and only modules with high usage frequency are initialized to improve the initialization rate and user experience.
It realizes that only initializes modules that users frequently use when initializing the application, which improves the initialization rate and user experience and reduces the initialization time.
Smart Images

Figure CN118642783B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method for determining an initialization module of an application, a server, and a readable storage medium. Background Art
[0002] In Android (Android Operating System) development, the initialization rate of applications is a key concern for developers. When the mobile terminal is developed in modules, each module needs to be initialized before use in order to establish a proper operating environment and initial state for the user. Usually, developers will initialize all modules when the application starts. However, as the number of modules increases, the time consumed by the initialization operation will also increase, which will cause the initialization rate of the application to become very slow.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The present invention aims to solve the technical problem of slow initialization rate of an application program by providing an initialization module determination method of an application program, a server and a computer-readable storage medium.
[0005] To achieve the above object, an embodiment of the present invention provides a method for determining an initialization module of an application program, and the method for determining an initialization module of an application program includes the following steps:
[0006] Obtaining user behavior data of each module of the application, wherein the user behavior data includes the number of visits and the dwell time of the user to each page in the module;
[0007] Determine a first adjustment parameter corresponding to the dwell time according to the displayed content of the page, and determine a second adjustment parameter corresponding to the number of visits according to the functional type of the page;
[0008] Determine the user usage frequency of each of the modules according to the number of visits and the first adjustment parameter as well as the residence time and the second adjustment parameter;
[0009] When the user usage frequency is greater than a set frequency threshold corresponding to the module, the module is determined as an initialization module.
[0010] Optionally, the step of determining a first adjustment parameter corresponding to the dwell time according to displayed content of the page includes:
[0011] Determining a reading speed corresponding to the user according to the reading difficulty of the displayed content;
[0012] Determining a reference reading time for a user to read the displayed content according to the data volume of the displayed content and the reading speed;
[0013] A first adjustment parameter corresponding to the dwell time is determined according to the reference reading time.
[0014] Optionally, before the step of determining the reading speed corresponding to the user according to the reading difficulty of the displayed content, the method further comprises:
[0015] Identify the displayed content, and determine the field of the displayed content and the number of uncommon characters;
[0016] Determining the initial reading difficulty of the displayed content according to the number of the rare characters;
[0017] Determine the target areas that the user is good at based on the user's identity information;
[0018] If the target field that the user is good at includes the field, the initial reading difficulty is reduced by a set reading difficulty percentage, and the reduced reading difficulty is determined as the reading difficulty of the displayed content;
[0019] If the target field that the user is good at does not include the field, the initial reading difficulty is determined as the reading difficulty of the displayed content.
[0020] Optionally, the step of determining the second adjustment parameter corresponding to the number of visits according to the function type of the page includes:
[0021] Determining a baseline number of visits to the page according to the function type;
[0022] A second adjustment parameter corresponding to the access number is determined according to the reference access number.
[0023] Optionally, after the step of determining the user usage frequency of each module according to the number of visits and the first adjustment parameter, the residence time and the second adjustment parameter, the step further includes:
[0024] Obtaining a priority adjustment parameter corresponding to the initial priority of the module;
[0025] Determining the current priority of the module according to the user usage frequency and the priority adjustment parameter;
[0026] When the current priority is greater than or equal to a set priority threshold, the module is determined as an initialization module.
[0027] Optionally, before the step of obtaining the priority adjustment parameter corresponding to the initial priority of the module, the step includes:
[0028] Determine the user group to which the user belongs based on the user's identity information;
[0029] According to the user group, obtaining the initial priority corresponding to each module of the application program;
[0030] A module whose initial priority is greater than or equal to the priority threshold is determined, and the module is determined as an initialization module.
[0031] Optionally, the method for determining the initialization module of the application further includes:
[0032] Receive necessary initialization modules of the application configured by the user;
[0033] The necessary initialization module is determined as the initialization module.
[0034] Optionally, after the step of determining the module as an initialization module, the method further includes:
[0035] The initialization module is sent to a client corresponding to the application program, so that the initialization module is initialized when the client program starts the application program.
[0036] In addition, to achieve the above-mentioned purpose, the present invention also provides a server, which includes: a memory, a processor, and an initialization module determination program for an application stored in the memory and executable on the processor, wherein the initialization module determination program for the application, when executed by the processor, implements the steps of the initialization module determination method for the application as described above.
[0037] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which is stored an initialization module determination program for an application, and when the initialization module determination program for the application is executed by a processor, the steps of the initialization module determination method for the application as described above are implemented.
[0038] The first embodiment of the present invention proposes a method for determining an initialization module of an application, a server and a computer-readable storage medium, by obtaining user behavior data of each module of the application, the user behavior data includes the number of visits and the dwell time of the user to each page in the module, determining the first adjustment parameter corresponding to the dwell time according to the displayed content of the page, determining the second adjustment parameter corresponding to the number of visits according to the functional type of the page, determining the user usage frequency of each module according to the number of visits and the first adjustment parameter as well as the dwell time and the second adjustment parameter, and determining the module as an initialization module when the user usage frequency is greater than the set frequency threshold corresponding to the module. The present invention determines the user usage frequency of each module according to the user behavior data of each module of the application, and then determines the module whose user usage frequency is greater than the set frequency threshold as the initialization module, so that when the application is initialized, only the modules with high user usage frequency are initialized, which can improve the initialization rate of the application while improving the user's experience of the application. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A schematic diagram of a flow chart of a first embodiment of a method for determining an initialization module of an application program of the present invention;
[0040] Figure 2 A schematic flow chart of a second embodiment of a method for determining an initialization module of an application program of the present invention;
[0041] Figure 3 A schematic flow chart of a third embodiment of a method for determining an initialization module of an application program of the present invention;
[0042] Figure 4 A schematic flow chart of a fourth embodiment of a method for determining an initialization module of an application program of the present invention;
[0043] Figure 5 It is a schematic diagram of the client structure of the hardware operating environment involved in the embodiment of the present invention.
[0044] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0045] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0046] When developing a mobile terminal in modules, each module needs to be initialized before use in order to establish a proper operating environment and initial state for the user. Usually, developers will initialize all modules when the application starts. However, as the number of modules increases, the time consumed by the initialization operation will also increase, which will cause the initialization rate of the application to become very slow.
[0047] In order to solve the above defects in the related art, the present invention proposes a method for determining an initialization module of an application, and its main solution steps include the following:
[0048] By acquiring user behavior data of each module of the application, the user behavior data includes the number of visits and the dwell time of the user to each page in the module, determining the first adjustment parameter corresponding to the dwell time according to the displayed content of the page, determining the second adjustment parameter corresponding to the number of visits according to the functional type of the page, determining the user usage frequency of each module according to the number of visits and the first adjustment parameter as well as the dwell time and the second adjustment parameter, and determining the module as an initialization module when the user usage frequency is greater than the set frequency threshold corresponding to the module. The present invention determines the user usage frequency of each module according to the user behavior data of each module of the application, and then determines the module whose user usage frequency is greater than the set frequency threshold as the initialization module, so that when the application is initialized, only the module with high user usage frequency is initialized, which can improve the initialization rate of the application while improving the user's experience of using the application.
[0049] In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0050] The server is a computer or device that provides services, which receives requests from clients and provides the required services. The client is a computer or device that sends requests to the server and receives service responses.
[0051] The invention provides a method for determining an initialization module of an application, which is applied to a server. The application is configured on a client. The server is used to receive user behavior data of each module of the application in the client, and after determining the initialization module when the client application is initialized, send the initialization module to the client so that the client can update the initialization module of the application.
[0052] The server can be any device with computing capabilities. For example, a server, computer, virtual machine, etc. It usually has more powerful processing power and storage resources to provide services to multiple clients. Clients can be various devices, such as personal computers, laptops, smartphones, tablets, IoT devices, etc. They connect to the server through the network and send requests to it to obtain the required services or information.
[0053] It should be noted that the server and the client may also be the same device. For example, a computer may be used as a server to provide a certain service and at the same time as a client to request other services, which is not specifically limited in the present invention.
[0054] Reference Figure 1 In a first embodiment of a method for determining an initialization module of an application of the present invention, the method for determining an initialization module of an application comprises the following steps:
[0055] Step S10: Obtaining user behavior data of each module of the application, wherein the user behavior data includes the number of visits and the dwell time of the user to each page in the module;
[0056] In this embodiment, the server can obtain the log of the application program on the client, and then count the number of visits and the stay time of each page in each module according to the log.
[0057] Optionally, the page access data belonging to each module in the log may be first screened out, and then the user behavior data corresponding to each module may be determined based on the page access data corresponding to each module. The page access data at least stores the access records when each page is accessed and exited.
[0058] In this embodiment, the page access data can be traversed according to the access address and exit address of each page in the module to determine the sum of the number of access addresses and exit addresses of the same page, and the quotient obtained by dividing the sum by 2 is the number of page accesses. At the same time, the timestamp of the adjacent access address of the same page is subtracted from the timestamp of the exit address to obtain the residence time of each page access.
[0059] Step S20: determining a first adjustment parameter corresponding to the dwell time according to the displayed content of the page, and determining a second adjustment parameter corresponding to the number of visits according to the functional type of the page;
[0060] In this embodiment, the first adjustment parameter and the second adjustment parameter can be determined simultaneously, and the first adjustment parameter and the second adjustment parameter can be determined in advance, and then after obtaining the user behavior data of each module, the first adjustment parameter and the second adjustment parameter can be directly obtained, thereby improving the determination efficiency of the initialization module.
[0061] Step S30: determining the user usage frequency of each module according to the number of visits and the first adjustment parameter, the residence time and the second adjustment parameter;
[0062] Since the displayed contents of different pages are different, when users browse the displayed contents of the pages, they will need to spend different reading time to read the displayed contents of different pages due to the difficulty of reading the displayed contents for users, so that the same stay time of different pages is different for the user's interest level. Therefore, if all modules only evaluate the user's user usage frequency based on the length of the page's stay time, the accuracy of the user usage frequency will be reduced. Due to the different functional types of different pages, some pages will only be visited by users at specific times or when a specific business is abnormal. For example, in an e-commerce website, users usually frequently visit pages such as product lists, shopping carts, and order details, but when certain abnormal situations occur (such as order payment failure or logistics delay, etc.), users will visit the customer service page or after-sales service page to solve problems or consult relevant information. As a result, the same number of visits to different pages is also different for the user's interest level. Therefore, if all modules only evaluate the user's user usage frequency based on the number of page visits, the accuracy of the user usage frequency will also be reduced.
[0063] In this embodiment, the first adjustment parameter represents the weight of the user usage frequency corresponding to the dwell time of different pages, and the second adjustment parameter represents the weight of the user usage frequency corresponding to the number of visits to different pages. The user usage frequency represents the user's interest in each module.
[0064] Optionally, in order to accurately assess the user usage frequency of each module, the present invention determines a first adjustment parameter corresponding to the dwell time according to the displayed content of the page, determines a second adjustment parameter corresponding to the number of visits according to the functional type of the page, and then multiplies the dwell time of each page of the module by the corresponding first adjustment parameter, multiplies the number of visits of each page of the module by the corresponding second adjustment parameter, and then adds the product of the multiplication of the dwell time of each page by the corresponding first adjustment parameter and the product of the multiplication of the number of visits of each page by the corresponding second adjustment parameter, and uses the result of the addition as the user usage frequency of the module.
[0065] Step S40: When the user usage frequency is greater than a set frequency threshold corresponding to the module, the module is determined as an initialization module.
[0066] In this embodiment, when the user's usage frequency is greater than the set frequency threshold corresponding to the module, it indicates that the module is a module that the user frequently uses, and thus the module is determined as an initialization module, so that when the application is initialized, only the initialization module is initialized, and all modules of the application are not initialized, thereby improving the initialization rate of the application, and when the user enters the initialization module, since the initialization module has been initialized in advance, it can respond quickly, thereby improving the user's experience of using the application. Similarly, when the user's usage frequency is less than the usage frequency threshold corresponding to the module, and the module was originally an initialization module, the module is redefined as a normal module.
[0067] Optionally, after determining the initialization module of the application, the server can send the unique identifier corresponding to the initialization module to the client, so that the client updates each module corresponding to the unique identifier in the application to the initialization module. The unique identifier can be a module name or a module number, which is not specifically limited in this embodiment.
[0068] Optionally, an initialization module list can be set in the application, and the initialization module list records the unique identifiers corresponding to each module that needs to be initialized when the application is initialized. After the server determines the initialization module of the application, it will overwrite and update the unique identifier of the initialization module to the initialization module list of the application, so that when the application is initialized, only the modules recorded in the initialization module list are initialized, and not all modules are initialized, thereby achieving the effect of increasing the initialization rate of the application.
[0069] Optionally, in another optional implementation, the method for determining the initialization module of the application further includes: receiving necessary initialization modules of the application configured by the user, and determining the necessary initialization modules as the initialization modules, so that the user can configure the initialization modules according to their own needs, thereby improving the user experience.
[0070] In the technical solution provided in this embodiment, by obtaining user behavior data of each module of the application, the user behavior data includes the number of visits and the dwell time of the user to each page in the module, the first adjustment parameter corresponding to the dwell time is determined according to the displayed content of the page, the second adjustment parameter corresponding to the number of visits is determined according to the functional type of the page, and the user usage frequency of each module is determined according to the number of visits and the first adjustment parameter as well as the dwell time and the second adjustment parameter. When the user usage frequency is greater than the set frequency threshold corresponding to the module, the module is determined as an initialization module. The present invention determines the user usage frequency of each module according to the user behavior data of each module of the application, and then determines the module whose user usage frequency is greater than the set frequency threshold as the initialization module, so that when the application is initialized, only the modules with high user usage frequency are initialized, which can improve the initialization rate of the application while improving the user's experience of the application.
[0071] Reference Figure 2 In the second embodiment, based on the first embodiment, the step S20 includes:
[0072] Step S21: determining the reading speed corresponding to the user according to the reading difficulty of the displayed content;
[0073] In this embodiment, the displayed content can be parsed to determine the number of uncommon characters in the displayed content, and then the reading difficulty of the displayed content can be determined according to the number of uncommon characters. The more uncommon characters in the displayed content, the longer it takes for the user to read the displayed content completely, and the slower the user's reading speed will be.
[0074] Optionally, a rare character database can be pre-built, and then the displayed content can be parsed to obtain various keywords, delete the keywords that are function words, and then search in the rare character database based on the keywords. If the keyword is found in the rare character database, the keyword is determined to be a rare character.
[0075] It can be understood that function words include prepositions, conjunctions, articles, modal verbs, auxiliary verbs, pronouns, etc. They play the role of connection, modification, limitation, etc. in grammar, but do not directly express specific meanings.
[0076] Optionally, the reading speeds of users corresponding to different reading difficulty levels and the reading difficulty intervals corresponding to the reading difficulty levels can be preset. Therefore, after determining the reading difficulty of the displayed content, the reading difficulty level to which the reading difficulty belongs can be determined, and the reading speed associated with the reading difficulty level can be determined as the reading speed of the user, which is not specifically limited in this embodiment.
[0077] Although the number of uncommon characters can represent the difficulty of reading the displayed content for users, for the displayed content in the field in which users are good at, even if there are more uncommon characters, their reading speed is faster than that of other users who are not good at this field. That is, for users who are good at this field, the number of uncommon characters cannot accurately measure the difficulty of reading the displayed content for users.
[0078] Optionally, in another optional implementation, before the step of determining the corresponding reading speed of the user according to the reading difficulty of the displayed content, the step includes: identifying the displayed content, determining the field of the displayed content and the number of uncommon characters, determining the initial reading difficulty of the displayed content according to the number of uncommon characters, determining the target field in which the user is good at according to the user's identity information, if the target field in which the user is good at includes the field, reducing the initial reading difficulty by a set reading difficulty percentage, and determining the reduced reading difficulty as the reading difficulty of the displayed content; if the target field in which the user is good at does not include the field, determining the initial reading difficulty as the reading difficulty of the displayed content.
[0079] In this embodiment, natural language processing technology can be used to segment the displayed content to obtain various keywords. After deleting the keywords that are function words, the distance between the keywords is determined according to the positions of the keywords in the displayed content, thereby determining the connection relationship between the keywords, and then inputting the keywords and the connection relationship between the keywords into a pre-constructed domain knowledge graph, matching the input keywords and the connection relationship between the keywords through the knowledge graph, and determining the matched domain as the domain to which the displayed content belongs. The recognition of uncommon characters in the displayed content can refer to the above implementation method, which will not be repeated here.
[0080] It should be noted that in addition to the above-mentioned use of domain knowledge graphs to identify the domain of display content, deep learning models, keyword matching models, etc. can also be used for identification. The present invention does not limit the method used to identify the domain of display content, and technical personnel in this field can choose to use any method according to actual needs.
[0081] Optionally, the step of determining the target field in which the user is good at according to the user's identity information includes: obtaining the identity information filled in by the user when registering, the identity information includes but is not limited to gender, age, education, work experience, etc. Then, according to the identity information, the pre-constructed domain knowledge graph is input to match the target field in which the user is good at. Then, it is determined whether the target field includes the field of the displayed content. If it includes the field of the displayed content, it means that the field of the displayed content is the field in which the user is good at. Therefore, the initial reading difficulty of the displayed content determined according to the number of uncommon characters can be reduced by a set reading difficulty percentage, so that the reduced reading difficulty is determined as the reading difficulty of the displayed content.
[0082] It can be understood that the expression for reducing the initial reading difficulty by a set reading difficulty percentage can be expressed as: S = S o *(1-a), where S o is the initial reading difficulty, and a is the set reading difficulty percentage.
[0083] Similarly, in addition to the use of domain knowledge graphs to match the target fields that users are good at, deep learning models, keyword matching models, etc. can also be used for identification. The present invention does not limit the method for determining the target fields that users are good at, and technical personnel in this field can choose to use any method according to actual needs.
[0084] Step S22: determining a reference reading time for a user to read the displayed content according to the data volume of the displayed content and the reading speed;
[0085] In this embodiment, the reference reading time refers to the shortest time taken by a user to completely read the displayed content in a page. The product of the reading speed and the data volume of the displayed content can be used as the reference reading time for the user to read the displayed content.
[0086] Step S23: determining a first adjustment parameter corresponding to the dwell time according to the reference reading time.
[0087] In this embodiment, the present invention determines the first adjustment parameter corresponding to the dwell time corresponding to each page according to the benchmark reading time of each page in the module, so that the product of the first adjustment parameter of each page and the corresponding benchmark reading time is the same, so that the measurement starting point of each page is the same, that is, the measurement standard is consistent, so that the user usage frequency of each module determined subsequently can reflect the user's interest in each module.
[0088] In the technical solution provided in this embodiment, the reading speed corresponding to the user is determined according to the reading difficulty of the displayed content, the benchmark reading time for the user to read the displayed content is determined according to the data volume and reading speed of the displayed content, and then the first adjustment parameter corresponding to the dwell time is determined according to the benchmark reading time, so that the product of the first adjustment parameter of each page and the corresponding benchmark reading time is the same, so that the measurement starting point of each page is the same, that is, the measurement standard is consistent, so that the user usage frequency of each module determined subsequently can reflect the user's interest in each module.
[0089] Reference Figure 3 In a third embodiment, based on any of the above embodiments, step S20 includes:
[0090] Step S24: determining a benchmark number of visits to the page according to the function type;
[0091] Step S25: Determine a second adjustment parameter corresponding to the reference access number according to the reference access number.
[0092] In this embodiment, the function type refers to the service or function provided by the page. The benchmark access number refers to the number of accesses to each page in a unit of time. According to the benchmark access number of each page, the second adjustment parameter of the access number corresponding to each page is determined so that the product of the second adjustment parameter of each page and the corresponding benchmark access number is the same.
[0093] Optionally, the number of visits to pages of different functional types within a preset number of same set time periods can be counted, and the average or mode of the number of visits within the preset number of same set time periods can be calculated, and then the average or mode can be determined as the benchmark number of visits to the corresponding functional type, so that the measurement starting point of each page is the same, that is, the measurement standard is consistent, so that the user usage frequency of each module determined subsequently can reflect the user's interest in each module.
[0094] In the technical solution provided in this embodiment, the benchmark visit times of the page are determined according to the function type, and then the second adjustment parameter corresponding to the visit times is determined according to the benchmark visit times, so that the measurement starting point of each page is the same, that is, the measurement standard is consistent, so that the user usage frequency of each module determined subsequently can reflect the user's interest in each module.
[0095] Reference Figure 4 In a fourth embodiment, based on any of the above embodiments, after step S30, the method further includes:
[0096] Step S50: obtaining a priority adjustment parameter corresponding to the initial priority of the module;
[0097] In this embodiment, the present invention obtains user behavior data of applications corresponding to different user groups in advance, and then counts the user usage frequency of each module of the application corresponding to different user groups according to the user behavior data, and then sets the initial priority of each module corresponding to different user groups according to the user usage frequency of each module of the application corresponding to different user groups. And determine the priority adjustment parameters corresponding to different modules according to the user usage frequency. The higher the user usage frequency of the module, the higher the corresponding initial priority and priority adjustment parameter.
[0098] When a user registers, the user's identity information is obtained to determine the user group to which the user belongs, and then the initial priority and priority adjustment parameters of each module associated with the user group are obtained as the initial priority and priority adjustment parameters of each module of the application corresponding to the user. When the user has just registered and before generating user behavior data, the module with an initial priority greater than or equal to the priority threshold can be determined and the module can be determined as the initialization module.
[0099] Optionally, experienced experts may determine the initial priorities and priority adjustment parameters corresponding to different modules according to the user usage frequencies of various modules of the application corresponding to different user groups, or other deep learning models, which are not specifically limited in this embodiment.
[0100] It should be noted that the priority is used to determine whether each module has the conditions to become an initialization module, and the priority adjustment parameter represents the priority of each module to become an initialization module. Since the initial priority and the priority adjustment parameter are determined by the user behavior data of a large number of users in different user groups, setting the initial priority of each module can make the modules with high interest in the user group take priority and grow rapidly to become initialization modules. When the modules of interest of a user and his corresponding user group are similar, all the modules of interest of the user can be determined as initialization modules shortly after the user registers, thereby improving the user's usage experience, without having to go through the same long time as other users to determine all the modules of interest of other users as initialization modules. The modules of interest of the other users and their corresponding user groups are different.
[0101] Optionally, the user's identity information may be obtained, including but not limited to gender, age, etc., and the user may be divided into different user groups according to the user's gender and age.
[0102] For example, males aged 0-25 are divided into user group A, males aged 26-35 are divided into user group B, males aged 35-100 are divided into user group C, females aged 0-25 are divided into user group D, and so on.
[0103] Step S60: determining the current priority of the module according to the user usage frequency and the priority adjustment parameter;
[0104] In this embodiment, the present invention pre-sets user usage frequency intervals corresponding to different priorities, so the user usage frequency is multiplied by the priority adjustment parameter to obtain a product, and the current priority is determined according to the user usage frequency interval to which the product belongs.
[0105] Step S70: When the current priority is greater than or equal to a set priority threshold, the module is determined as an initialization module.
[0106] In this embodiment, a priority threshold that can be determined as an initialization module is preset, and then when the current priority is greater than or equal to the priority threshold, the module can be determined as an initialization module. Similarly, when the current priority is less than the priority threshold, and the module was originally an initialization module, after the update, the module will no longer be an initialization module.
[0107] For example, the priority includes level 1, level 2, level 3, and level 4. The set priority threshold is level 3. Therefore, when the current priority of the module is level 3 or above, the module can be determined as an initialization module.
[0108] In the technical solution provided in this embodiment, the priority adjustment parameter corresponding to the initial priority of the module is obtained, and the current priority of the module is determined according to the user's usage frequency and the priority adjustment parameter. When the current priority is greater than or equal to the set priority threshold, the module is determined as an initialization module. When the modules of interest of a user and his or her corresponding user group are similar, all modules of interest to the user can be determined as initialization modules shortly after the user registers, thereby improving the user's usage experience.
[0109] Reference Figure 5 , Figure 5 The figure is a schematic diagram of the client structure of the hardware operating environment involved in the embodiment of the present invention.
[0110] like Figure 5 As shown, the client may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), a mouse, etc., and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0111] Those skilled in the art will understand that Figure 5 The client structure shown in the figure does not constitute a limitation on the client, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0112] like Figure 5 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an initialization module determination program of an application program.
[0113] exist Figure 5 In the client shown, the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the processor 1001 can be used to call the initialization module of the application stored in the memory 1005 to determine the program and perform the following operations:
[0114] Obtaining user behavior data of each module of the application, wherein the user behavior data includes the number of visits and the dwell time of the user to each page in the module;
[0115] Determine a first adjustment parameter corresponding to the dwell time according to the displayed content of the page, and determine a second adjustment parameter corresponding to the number of visits according to the functional type of the page;
[0116] Determine the user usage frequency of each of the modules according to the number of visits and the first adjustment parameter as well as the residence time and the second adjustment parameter;
[0117] When the user usage frequency is greater than a set frequency threshold corresponding to the module, the module is determined as an initialization module.
[0118] Further, the processor 1001 may call an initialization module of an application stored in the memory 1005 to determine a program, and further perform the following operations:
[0119] Determining a reading speed corresponding to the user according to the reading difficulty of the displayed content;
[0120] Determining a reference reading time for a user to read the displayed content according to the data volume of the displayed content and the reading speed;
[0121] A first adjustment parameter corresponding to the dwell time is determined according to the reference reading time.
[0122] Further, the processor 1001 may call an initialization module of an application stored in the memory 1005 to determine a program, and further perform the following operations:
[0123] Identify the displayed content, and determine the field of the displayed content and the number of uncommon characters;
[0124] Determining the initial reading difficulty of the displayed content according to the number of the rare characters;
[0125] Determine the target areas that the user is good at based on the user's identity information;
[0126] If the target field that the user is good at includes the field, the initial reading difficulty is reduced by a set reading difficulty percentage, and the reduced reading difficulty is determined as the reading difficulty of the displayed content;
[0127] If the target field that the user is good at does not include the field, the initial reading difficulty is determined as the reading difficulty of the displayed content.
[0128] Further, the processor 1001 may call an initialization module of an application stored in the memory 1005 to determine a program, and further perform the following operations:
[0129] Determining a baseline number of visits to the page according to the function type;
[0130] A second adjustment parameter corresponding to the access number is determined according to the reference access number.
[0131] Further, the processor 1001 may call an initialization module of an application stored in the memory 1005 to determine a program, and further perform the following operations:
[0132] Obtaining a priority adjustment parameter corresponding to the initial priority of the module;
[0133] Determining the current priority of the module according to the user usage frequency and the priority adjustment parameter;
[0134] When the current priority is greater than or equal to a set priority threshold, the module is determined as an initialization module.
[0135] Further, the processor 1001 may call an initialization module of an application stored in the memory 1005 to determine a program, and further perform the following operations:
[0136] Determine the user group to which the user belongs based on the user's identity information;
[0137] According to the user group, obtaining the initial priority corresponding to each module of the application program;
[0138] A module whose initial priority is greater than or equal to the priority threshold is determined, and the module is determined as an initialization module.
[0139] Further, the processor 1001 may call an initialization module of an application stored in the memory 1005 to determine a program, and further perform the following operations:
[0140] Receive necessary initialization modules of the application configured by the user;
[0141] The necessary initialization module is determined as the initialization module.
[0142] Further, the processor 1001 may call an initialization module of an application stored in the memory 1005 to determine a program, and further perform the following operations:
[0143] The initialization module is sent to a client corresponding to the application program, so that the initialization module is initialized when the client program starts the application program.
[0144] In addition, to achieve the above-mentioned purpose, the present invention also provides a server, which includes: a memory, a processor, and an initialization module determination program for an application stored in the memory and executable on the processor, wherein the initialization module determination program for the application, when executed by the processor, implements the steps of the initialization module determination method for the application as described above.
[0145] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which is stored an initialization module determination program for an application, and when the initialization module determination program for the application is executed by a processor, the steps of the initialization module determination method for the application as described above are implemented.
[0146] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0147] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0148] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM / RAM, disk, optical disk) as described above, including a number of instructions for a server (which can be a computer, server, virtual machine) to execute the methods described in each embodiment of the present invention.
[0149] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for determining an initialization module of an application, characterized in that: Applied to the server, the method for determining the initialization module of the application includes: Obtaining user behavior data of each module of the application, wherein the user behavior data includes the number of visits and the dwell time of the user to each page in the module; Determine a first adjustment parameter corresponding to the dwell time according to the displayed content of the page, and determine a second adjustment parameter corresponding to the number of visits according to the functional type of the page, wherein the first adjustment parameter represents the weight of the user usage frequency corresponding to the dwell time of different pages, and the second adjustment parameter represents the weight of the user usage frequency corresponding to the number of visits of different pages; Determine the user usage frequency of each of the modules according to the number of visits and the first adjustment parameter as well as the residence time and the second adjustment parameter; When the user usage frequency is greater than a set frequency threshold corresponding to the module, determining the module as an initialization module; The method for determining the initialization module of the application further includes: When a user has just registered and has not yet generated user behavior data, the user's identity information is obtained, and the user group to which the user belongs is determined based on the user's identity information; based on the user group, the initial priority corresponding to each module of the application is obtained; a module whose initial priority is greater than or equal to a set priority threshold is determined, and the module is determined as an initialization module; The step of determining the first adjustment parameter corresponding to the dwell time according to the displayed content of the page includes: Identify the displayed content, and determine the field of the displayed content and the number of uncommon characters; Determining the initial reading difficulty of the displayed content according to the number of the rare characters; Determine the target areas that the user is good at based on the user's identity information; If the target field that the user is good at includes the field, the initial reading difficulty is reduced by a set reading difficulty percentage, and the reduced reading difficulty is determined as the reading difficulty of the displayed content; If the target field that the user is good at does not include the field, the initial reading difficulty is determined as the reading difficulty of the displayed content; Determining a reading speed corresponding to the user according to the reading difficulty of the displayed content; Determining a reference reading time for a user to read the displayed content according to the data volume of the displayed content and the reading speed; Determine a first adjustment parameter corresponding to the dwell time according to the reference reading time; The step of determining the second adjustment parameter corresponding to the number of visits according to the functional type of the page includes: Determining a baseline number of visits to the page according to the function type; Determining a second adjustment parameter corresponding to the number of accesses according to the benchmark number of accesses; The method for determining the initialization module of the application further includes: Receive necessary initialization modules of the application configured by the user; The necessary initialization module is determined as the initialization module.
2. The method according to claim 1, characterized in that After the step of determining the user usage frequency of each module according to the number of visits and the first adjustment parameter, the residence time, and the second adjustment parameter, the method further includes: Obtaining a priority adjustment parameter corresponding to the initial priority of the module; Determining the current priority of the module according to the user usage frequency and the priority adjustment parameter; When the current priority is greater than or equal to a set priority threshold, the module is determined as an initialization module.
3. The method according to any one of claims 1 to 2, characterized in that: After the step of determining the module as an initialization module, the method further includes: The initialization module is sent to a client corresponding to the application program, so that the initialization module is initialized when the client program starts the application program.
4. A server, characterized in that: The server side includes: a memory, a processor, and an initialization module determination program for a server side application stored in the memory and executable on the processor. When the initialization module determination program for the server side application is executed by the processor, the steps of the initialization module determination method for an application as described in any one of claims 1 to 3 are implemented.
5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an initialization module determination program for a server-side application, and when the initialization module determination program for the server-side application is executed by a processor, the steps of the initialization module determination method for an application as described in any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Application program starting method and device, terminal equipment and readable storage medium
CN110673887A
Application management method, device, terminal and system and storage medium
CN110865846A
Starting method of application program, terminal and computer readable storage medium
CN114020354A
Pre-starting method and device of application software, storage medium and electronic device
CN116450229A
Device for controlling candidate to be started, method of controlling candidate to be started, and program for controlling candidate to be started
JP2005301797A
