A method and device for obtaining common modules
A technology of common modules and target modules, applied in the computer field, can solve problems such as many irrelevant functional modules and no solutions are proposed, and achieve the effect of reducing the number of citations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] According to an embodiment of the present invention, an embodiment of a method for obtaining a public module is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
[0031] image 3 is a flowchart of a method for obtaining public modules according to an embodiment of the present invention, such as image 3 As shown, the method includes the following steps:
[0032] Step S31, acquiring the number of page visits within a preset time and the jump relationship among multiple pages.
[0033] Specifically, the above-mentioned page may be a specified page, or may be all pages accessed within a preset time. There are two ways to access a page, the first is to be accesse...
Embodiment 2
[0071] According to an embodiment of the present invention, an embodiment of an apparatus for obtaining a public module is provided, Figure 5 is a schematic diagram of a device for acquiring public modules according to an embodiment of the present invention, such as Figure 5 As shown, the device includes:
[0072] The obtaining module 50 is configured to obtain the number of times a page is visited within a preset time and the jump relationship among multiple pages.
[0073] The determining module 52 is configured to determine the weight of the multiplexing module according to the number of page visits and the jump relationship, wherein the multiplexing module is used to represent a functional module that is depended on by multiple pages.
[0074] The selection module 54 is configured to select a target module from the multiplexing modules according to the weights of the multiplexing modules, wherein the target modules are used to form a common module through merging.
[0...
Embodiment 3
[0083] According to an embodiment of the present invention, a storage medium is provided. The storage medium includes a stored program. When the program is running, the device where the storage medium is located is controlled to perform the following steps: obtain the number of times a page is accessed within a preset time and the number of pages The jump relationship between; according to the number of page visits and the jump relationship, determine the weight of the reuse module, where the reuse module is used to represent the functional modules that are dependent on multiple pages; according to the weight of the reuse module, from A target module is selected from the multiplexed modules, wherein the target module is used to form a common module through merging.
[0084] Further, when the program is running, controlling the device where the storage medium is located also performs other steps in Embodiment 1, which will not be repeated here.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


