Application duplicate checking method, page display method and computing equipment
By obtaining multiple description information of the application, combining text similarity and enumeration item comparison, and analyzing semantics using a large language model, the problem of low accuracy of application plagiarism checks in the existing technology is solved, and more efficient determination of application function similarity is achieved, supporting the intensive construction of application development.
Patent Information
- Application Number
- CN202510206399.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-24
- Publication Date
- 2025-07-22
AI Technical Summary
The existing application plagiarism checking methods mainly rely on the comparison of the text content of the application name and introduction, and cannot fully reflect the similarity of the application functions, resulting in the low accuracy of the repeated applications found.
By obtaining a variety of description information of the first application and the second application, including text description and enumeration item description, text similarity calculation and enumeration item comparison are performed separately, text semantics are analyzed in combination with a large language model, information similarity is determined, and finally the plagiarized result is obtained through weighted summing.
Improve the accuracy and efficiency of functional similarity among applications, help review experts make smarter decisions in application development and save development resources.
Smart Images

Figure CN120353525A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of servers, and in particular, to an application duplicate check method, a page display method, and a computing device. Background Art
[0002] With the development of the Internet industry, the market scale of applications has been continuously expanding, and various applications on the market emerge in an endless stream. During the application development process, there may be a situation of duplicate construction of applications, that is, some functions of the newly developed application overlap with the functions of existing applications on the market, which will cause waste of development resources.
[0003] Therefore, before developing a new application, it is necessary to perform an application duplicate check to determine whether there are already applications with duplicate or similar functions. The current application duplicate check methods generally compare based on the application name or the text content of the application introduction. This solution is not comprehensive enough and cannot accurately reflect the functions of the application. Therefore, the accuracy of the queried duplicate applications is low. Summary of the Invention
[0004] The embodiments of the present application provide an application duplicate check method, a page display method, and a computing device, which can at least more accurately determine the similarity degree of functions between applications.
[0005] In a first aspect, the application function duplicate check method provided by the embodiments of the present application includes: respectively obtaining various description information of a first application and a second application, where the various description information at least includes a first type of description information and a second type of description information, the first type of description information is used to represent the features of the application described by text, and the second type of description information is used to represent the features of the application described by enumeration items; calculating the text similarity of the first type of description information of the first application and the second application to obtain a first information similarity; performing an enumeration item comparison calculation on the second type of description information of the first application and the second application to obtain a second information similarity; and obtaining a duplicate check result based on the first information similarity and the second information similarity, where the duplicate check result is used to represent the similarity between the first application and the second application.
[0006] For the application function duplicate check method provided by the embodiments of the present application, the computing device respectively obtains various description information of the first application and the second application, where the various description information at least includes a first type of description information and a second type of description information. Further, calculate the text similarity of the first type of description information of the first application and the second application to obtain a first information similarity. Perform an enumeration item comparison calculation on the second type of description information of the first application and the second application to obtain a second information similarity. Finally, obtain a duplicate check result based on the first information similarity and the second information similarity to represent the similarity between the first application and the second application.
[0007] In a possible implementation, when the text length of the description information of the first type is less than the preset threshold, calculate the text similarity of the description information of the first type of the first application and the second application to obtain the first information similarity, including: converting the description information of the first type of the first application into a first vector; converting the description information of the first type of the second application into a second vector; determining the text similarity between the first vector and the second vector as the first information similarity. It can be understood that using the above text similarity algorithm to determine the information similarity of the application names between the first application and the second application has high calculation efficiency and relatively accurate similarity comparison.
[0008] In another possible implementation, when the text length of the description information of the first type is greater than or equal to the preset threshold, calculate the text similarity of the description information of the first type of the first application and the second application to obtain the first information similarity, including: converting the description information of the first type of the second application into a vector and storing it in the vector database; inputting the description information of the first type of the first application into the large language model, and using the large language model to recall the description information of the first type of the second application from the vector database to obtain a similarity report of the description information of the first type between the first application and the second application; the large language model is used to analyze the semantic similarity degree between different texts; determining the first information similarity from the similarity report. It can be understood that for the description information with a long text length, the embodiments of the present application use the large language model to analyze its semantics, can consider the context connection situation between texts, and use the large language model to determine the information similarity of the description information between different applications.
[0009] In yet another possible implementation, the description information of the second type includes one or more enumeration items; perform an enumeration item comparison calculation on the description information of the second type of the first application and the second application to obtain the second information similarity, including: comparing the description information of the first type of the first application and the description information of the second type of the second application, and determining the number of enumeration items with the same parameter values; determining the total number of enumeration items; taking the ratio between the number of enumeration items with the same parameter values and the total number of enumeration items as the second information similarity. It can be understood that the enumeration item comparison to determine the similarity is more efficient and has lower computing power requirements for the computing device, and can effectively save the computing power resources of the computing device.
[0010] In yet another possible implementation, based on the first information similarity and the second information similarity, obtain the duplicate check result, including: obtaining the duplicate check result using the following expression:
[0011] R = ∑(A i ·α i ) + ∑(B j ·β j )
[0012] Among them, R represents the duplicate check result; A i represents the first information similarity corresponding to the description information of the i-th first type, and α i represents the weight corresponding to the first information similarity; β j represents the second information similarity corresponding to the description information of the j-th second type, and β j represents the weight corresponding to the second information similarity.
[0013] In another possible implementation, multiple pieces of description information of the first application and the second application are respectively obtained, including: obtaining the project development plan document of the first application, and based on the project development plan document, obtaining multiple pieces of description information of the first application; obtaining multiple pieces of description information or the project development plan document of the second application from the database, and the project development plan document of the second application is used to extract multiple pieces of description information of the second application. It can be understood that by providing a way to obtain description information, the implementability of this solution is improved.
[0014] In another possible implementation, the description information of the first type includes at least one of the following: application name, application introduction, construction goal of the application, construction function of the application, construction plan of the application.
[0015] In another possible implementation, the description information of the second type includes at least one of the following: application type, application field, construction unit of the application.
[0016] In a second aspect, the present application provides a page display method, which is applied to a terminal. The method includes: receiving a project development plan document of a first application input by a user; in response to a first operation, sending the project development plan document of the first application to a server, where the first operation is used to indicate performing an application duplicate check on the first application, and the server is used to execute the application duplicate check method as described in the first aspect above and send the duplicate check result to the terminal; displaying the duplicate check result.
[0017] In a possible implementation, the method further includes: in response to a second operation, displaying an attribute dimension diagram between the first application and the second application, where each dimension in the attribute dimension diagram corresponds to a piece of description information of the application; the value of each dimension is used to indicate the information similarity of the description information between the second application and the first application.
[0018] In another possible implementation, the method further includes: in response to a third operation, displaying the specific content of each piece of description information between the first application and the second application, and the analysis result of the information similarity corresponding to each piece of description information.
[0019] The page display method provided by the embodiments of the present application can meet the user's need for function duplicate checking of applications through the form of interface display, and can assist the user's subsequent application development work. For example, the review expert can make a decision and evaluation on the newly constructed application according to the application duplicate checking result. If the similarity is extremely high, the review expert can suggest pausing the construction of the new application. If some functions of the newly constructed application are similar to those of the existing application, the review expert can suggest reducing the duplicate functions. Ultimately, the intensive construction of the application is realized, saving development time and cost.
[0020] In a third aspect, the embodiments of the present application provide an application duplicate checking device, which is used to execute any one of the application duplicate checking methods provided in the first aspect above.
[0021] In a fourth aspect, the embodiments of the present application provide a page display device, which is used to execute any one of the page display methods provided in the second aspect above.
[0022] In a fifth aspect, the embodiments of the present application provide a computing device, which includes a processor and a memory; the processor is coupled to the memory; the memory is used to store computer instructions, and the computer instructions are loaded and executed by the processor to enable the computing device to implement the methods in the first aspect or the second aspect above.
[0023] In a sixth aspect, the embodiments of the present application provide a computer-readable storage medium, which includes: computer software instructions; when the computer software instructions run in a computing device, the computing device is enabled to implement the methods in the first aspect or the second aspect above.
[0024] In a seventh aspect, the embodiments of the present application provide a computer program product, which when running on a computing device, enables the computing device to execute the steps of the related methods described in the first aspect or the second aspect above to implement the methods in the first aspect or the second aspect above.
[0025] The beneficial effects of the third aspect to the seventh aspect above can refer to the corresponding descriptions in the first aspect or the second aspect, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a schematic diagram of an application scenario provided by the embodiments of the present application;
[0027] Figure 2 It is a schematic diagram of the system architecture of a server provided by the embodiments of the present application;
[0028] Figure 3 It is a schematic flowchart of an application duplicate checking method provided by the embodiments of the present application;
[0029] Figure 4A schematic flowchart of another application duplicate checking method provided by an embodiment of this application;
[0030] Figure 5 A schematic flowchart of yet another application duplicate checking method provided by an embodiment of this application;
[0031] Figure 6 A schematic flowchart of yet another application duplicate checking method provided by an embodiment of this application;
[0032] Figure 7 A schematic diagram of application duplicate checking based on a large language model provided by an embodiment of this application;
[0033] Figure 8 A schematic flowchart of yet another application duplicate checking method provided by an embodiment of this application;
[0034] Figure 9 A schematic diagram of a complete solution process provided by an embodiment of this application;
[0035] Figure 10 A schematic flowchart of a page display method provided by an embodiment of this application;
[0036] Figure 11 A schematic diagram of a second interface provided by an embodiment of this application;
[0037] Figure 12 A schematic diagram of the display of an attribute dimension map provided by an embodiment of this application;
[0038] Figure 13 A schematic diagram of the display of an analysis result provided by an embodiment of this application;
[0039] Figure 14 A schematic diagram of an application duplicate checking device provided by an embodiment of this application;
[0040] Figure 15 A schematic diagram of a page display device provided by an embodiment of this application. Detailed implementation manners
[0041] Next, the technical solutions in the embodiments of this application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without creative efforts shall fall within the protection scope of this application.
[0042] It should be noted that in the embodiments of the present application, words such as "exemplarily" or "for example" are used to give examples, illustrations or explanations. Any embodiment or design solution described as "exemplarily" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplarily" or "for example" is intended to present relevant concepts in a specific manner.
[0043] To facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish identical or similar items with basically the same functions and roles. Those skilled in the art can understand that the terms "first", "second", etc. do not limit the quantity and execution order.
[0044] The following briefly explains the professional terms involved in the embodiments of the present application:
[0045] 1. Large language model (LLM): It can be abbreviated as a large model, which refers to a machine learning model with large-scale parameters and computing capabilities. These models are usually constructed by deep neural networks and have billions or even hundreds of billions of parameters. The large model is trained by inputting a large amount of corpus, enabling the computer to obtain human-like "thinking" ability, being able to understand text, pictures, speech, etc., and perform text generation, image generation, reasoning and answering, scientific prediction, etc. In the embodiments of the present application, the large language model is mainly used to analyze the semantic similarity between different texts.
[0046] 2. Government affairs application: It refers to the applications developed by state organs in government affairs activities by comprehensively applying modern information technology, network technology, and office automation technology for office work, management, and providing public services to society.
[0047] 3. Vector database: A vector database is a database system specifically used for storing and processing vector data. Vector data is represented as a quantity with magnitude and direction in mathematics, which can be represented by a line segment with an arrow. The direction of the arrow represents the direction of the vector, and the length of the line segment represents the magnitude of the vector.
[0048] In the process of application development, there may be a situation of duplicate construction of applications, that is, some functions of the newly developed application overlap with the functions of existing applications on the market, which will cause waste of development resources. Taking government affairs applications as an example, a certain type of government affairs application has been built in the municipal unit, and then the district-level unit also wants to build a similar government affairs application. In this case, it is necessary to verify whether the functions in the newly built government affairs application are repeated with the functions of the government affairs application already built in the municipal unit. If they are repeated, the duplicate construction content should be saved.
[0049] The embodiments of the present application provide an application duplicate checking method. By determining the information similarity of different types of description information between applications, and then determining the duplicate checking result based on the information similarity of each type of description information, the similarity between applications can be reflected. Among them, different types of description information are used to describe the features of applications in different dimensions, so as to compare whether the functions of applications are repeated in multiple dimensions, thereby effectively improving the accuracy of application duplicate checking.
[0050] In some embodiments, the computing device respectively obtains multiple types of description information of the first application and the second application. The multiple types of description information at least include the first type of description information and the second type of description information. Further, text similarity calculation is performed on the first type of description information of the first application and the second application to obtain the first information similarity. Enumeration item comparison calculation is performed on the second type of description information of the first application and the second application to obtain the second information similarity. Finally, a duplicate checking result is obtained based on the first information similarity and the second information similarity to represent the similarity between the first application and the second application.
[0051] The above-mentioned first application and second application are two applications used to compare whether their functions are similar. In the embodiments of the present application, the application to be checked for duplicates (a newly developed application) is referred to as the first application, and the existing application (an application that already exists and is in use in the network) is referred to as the second application.
[0052] Figure 1 Fig. shows a schematic diagram of an application scenario provided by the embodiments of the present application. As Figure 1 shown, the embodiments of the present application can be executed by a computing device 100, and the computing device 100 can be a server running an application duplicate checking system.
[0053] Among them, the computing device 100 can interact with the display device 110 on the user side. The display page of the application duplicate checking system can be displayed on the display device 110 on the user side.
[0054] Among them, the display device 110 on the user side can be a device with an interface display function. For example, the display device 110 on the user side can display the display page of the application duplicate checking system through a browser.
[0055] Optionally, the display device 110 on the user side can be a smart phone, a tablet computer, a personal portable computer, etc., which is not limited herein.
[0056] Exemplarily, if the application duplicate check system runs on the computing device 100, when the display device 110 on the user side accesses the application duplicate check system, the display device 110 can display a first interface for uploading the project development plan document of the first application. Further, in response to the user's first operation, the display device 110 sends the project development plan document of the first application to the computing device 100. The computing device 100 runs the application duplicate check system to perform duplicate check, obtains the duplicate check result, and returns it to the display device 110. The display device 110 then displays the duplicate check result on the interface for the user to understand the similarity between the first application and other applications.
[0057] Taking the computing device as a server as an example, its system architecture is introduced below. Figure 2 It is a schematic diagram of the system architecture of the server, as Figure 2 shown. The hardware of this server includes a processor, an out-of-band controller, an external memory, and a memory. The software includes an out-of-band management module and an operating system (OS).
[0058] Among them, the out-of-band management module runs in the out-of-band controller, and the OS runs in the processor (as Figure 2 shown).
[0059] Among them, the out-of-band management module can be a management unit for non-business modules. For example, the out-of-band management module can remotely maintain and manage the server through a dedicated data channel. This out-of-band management module is completely independent of the server's operating system and can communicate with the basic input output system (BIOS) and the OS through the server's out-of-band management interface.
[0060] Exemplarily, the out-of-band management module can include a management unit for managing the running state of the server, a management system in the chip, a system management module (SMM), etc. It should be noted that the specific form of the out-of-band management module in the embodiments of the present application is not limited, and the above is only an exemplary description.
[0061] The memory, also known as the internal memory or main memory, is installed in the memory slot on the motherboard of the server. The memory communicates with the memory controller through a memory channel.
[0062] The external memory can be a hard disk equipped on the server, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., or an external storage device such as a USB flash drive.
[0063] The application duplicate checking method provided by the embodiments of the present application can be applied Figure 2 to the processor shown
[0064] It should be noted that the system architecture and application scenarios described in the embodiments of the present application are for more clearly explaining the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
[0065] Figure 3 It is a schematic flowchart of an application duplicate checking method provided by an embodiment of the present application. Exemplarily, the application duplicate checking method provided by the embodiments of the present application can be applied to Figure 1 or Figure 2 the computing device shown. In other words, this method can be executed by the computing device. Specifically, it can be executed by the processor of the computing device.
[0066] As Figure 3 shown, the application duplicate checking method provided by the embodiments of the present application may include the following steps:
[0067] S301. Obtain various description information of the first application and the second application respectively.
[0068] Among them, different types of description information are used to describe the characteristics of the application in different dimensions. The various description information includes at least the first type of description information and the second type of description information. The first type of description information is used to represent the characteristics of the application described by text, and the second type of description information is used to represent the characteristics of the application described by enumeration items.
[0069] In a possible implementation manner, the first type of description information may include at least one of the following: application name, application introduction, construction goal of the application, construction function of the application, construction plan of the application.
[0070] Among them, the construction goal of the application refers to the goal to be achieved by the application, such as facilitating users to obtain a certain kind of knowledge, facilitating users to obtain a certain kind of service, etc. The construction function of the application refers to the functions that the application can achieve and the specific roles of each function. The construction plan of the application refers to the detailed plan and strategy formulated when developing an application, usually including aspects such as the development process of the application, technology selection, architecture design, function module division, development schedule, resource allocation, test plan, deployment strategy, operation and maintenance support, and subsequent iteration and maintenance.
[0071] In a possible implementation manner, the second type of description information may include at least one of the following: application type, application field, construction unit of the application.
[0072] In a possible implementation, as Figure 4 shown, the above S301 can be specifically implemented as:
[0073] S3011. Obtain the project development plan document of the first application, and based on the project development plan document, obtain various description information of the first application.
[0074] It should be noted that the project development plan document is a document written in the application development process to record and manage all aspects of the application. Before developing a new application (the first application), developers generally prepare the project development plan document first to guide the development of the new application. Among them, the project development document of the target application includes titles such as the above application name and application introduction. After the computing device obtains the project development plan document of the first application prepared by the developer, it can extract the specific content corresponding to each title from the project development plan document through document analysis technology, so as to obtain various description information of the first application.
[0075] S3012. Obtain various description information or project development plan documents of the second application from the database.
[0076] Among them, the project development plan document of the second application is used to extract various description information of the second application. The database is used to store various description information or project development plan documents of each existing application. The computing device can obtain various description information of any second application from the database, or obtain the project development plan document, and extract various description information from the document through document analysis technology.
[0077] Optionally, the computing device can also obtain the project development plan document from the official website corresponding to the second application, or obtain the project development plan document of the second application from a third-party open source platform. In addition, for government applications, the computing device can obtain and download the project development documents corresponding to each government application from the government website.
[0078] S302. Calculate the text similarity of the first type of description information of the first application and the second application to obtain the first information similarity.
[0079] In the embodiments of the present application, since the first type of description information describes the characteristics of the application through text. Therefore, after the computing device obtains various description information of the first application and the second application, for the first type of description information, the computing device can determine the first similarity of the first type of description information between the first application and the second application by comparing the text similarity and determining the similarity degree between the text descriptions.
[0080] In one embodiment, when the text length of the description information of the first type is less than a preset threshold (such as a short text), as Figure 5 shown, step S302 can be specifically implemented as follows:
[0081] Step a1: Convert the description information of the first type of the first application into a first vector.
[0082] Step a2: Convert the description information of the first type of the second application into a second vector.
[0083] Step a3: Determine the text similarity between the first vector and the second vector as the first information similarity.
[0084] For steps a1 - a3 above, the description information of the first type of the first application can be tokenized (the process of splitting continuous text into meaningful words or symbols in natural language processing), then token-encoded (converting words into numerical forms through the bag-of-words model in natural language processing), and after term-frequency vectorization processing (counting the frequency of words and generating a vector representation in natural language processing), the first vector can be obtained. Similarly, the description information of the first type of the second application is also operated as above to obtain the second vector.
[0085] Furthermore, to determine the text similarity between the first vector and the second vector, the cosine similarity algorithm can be used here. The cosine similarity algorithm measures the similarity by calculating the cosine value of the angle between two vectors. The value range of cosine similarity is [-1, 1]. When the value of cosine similarity is closer to 1, it means the angle between the two vectors is smaller, that is, the two vectors are more similar; when the value is closer to -1, it means the angle between the two vectors is larger, that is, the two vectors are less similar; when the value is 0, it means the two vectors are orthogonal, that is, there is no similarity.
[0086] Exemplarily, the cosine similarity algorithm is expressed by the following expression:
[0087]
[0088] where A i represents the i-th element in the first vector, and B i represents the i-th element in the second vector. S represents the cosine similarity. Since S is a decimal, S×100 can be used as the above information similarity.
[0089] It should be noted that taking the description information of the first type as the application name as an example, its text length is generally small. The above method of text similarity algorithm can be used to determine the information similarity of the application names between the first application and the second application, with high calculation efficiency and relatively accurate similarity comparison.
[0090] Exemplarily, for the application names, the application names of the first application and the second application are compared respectively to obtain the corresponding information similarity. For the application descriptions, the application descriptions of the first application and the second application are compared respectively to obtain the corresponding information similarity.
[0091] In one implementation, when the text length of the description information of the first type is greater than or equal to a preset threshold (such as a long text), as Figure 6 shown, the above S302 can be specifically implemented as:
[0092] Step b1: Convert the description information of the first type of the second application into a vector and store it in the vector database.
[0093] Step b2: Input the description information of the first type of the first application into the large language model, and use the large language model to recall the description information of the first type of the second application from the vector database to obtain a similarity report of the description information of the first type between the first application and the second application. Among them, the large language model is used to analyze the semantic similarity between different texts.
[0094] Step b3: Determine the first information similarity from the similarity report.
[0095] For the above steps b1 - b3, for the description information of the first type with a text length greater than or equal to the preset threshold, the information similarity can be determined by the large language model. It should be noted that for a longer text, the aforementioned text similarity can only be compared based on the results after text tokenization to determine whether the fragment texts are similar, and the semantic content cannot be recognized in combination with the context. In this case, different texts may express the same meaning, but the text similarity algorithm cannot recognize this meaning. Therefore, for the description information with a longer text length, the embodiments of the present application use the large language model to analyze its semantics, which can consider the context connection between texts and rely on the large language model to determine the information similarity of the description information between different applications.
[0096] Figure 7 This is a schematic diagram of application duplicate checking based on the large language model provided by the embodiments of the present application, as Figure 7As shown in the figure, first, the description information of the second application (stock application) is subjected to 1. data preprocessing (such as data cleaning, data summarization, etc.) to improve the data quality and reduce the data volume. Then, the preprocessed description information is 2. vectorized using a large language model and 3. stored in a vector database. Additionally, 4. the original description information is stored in a text database, and a corresponding relationship between the same data in the text database and the vector database is established. When it is necessary to check for duplicates of the first application (application to be checked for duplicates), 5. the description information of the first application can be subjected to data preprocessing, 6. vectorized using the large language model, and 7. stored in the vector database. Further, 8. the application duplicate check is triggered by the user, 9. and data is recalled from the vector database using the large model to obtain multiple second applications that are semantically similar to the description information of the first application. During the data recall process, 10. the large language model can also re-arrange the data of different second applications according to the similarity degree, 11. and extract the original text of the description information corresponding to each second application from the text database, 12. thereby generating a similarity report for multiple second applications.
[0097] The similarity report includes the second information similarity of the second type of description information between the second application and the first application, also indicates which parts of the description information are similar, and the analysis results, etc. Therefore, the computing device can determine the second information similarity from the similarity report.
[0098] It should be noted that for the first type of description information such as the application introduction, the construction objectives of the application, the construction functions of the application, and the construction solutions of the application, the corresponding text lengths are generally long. Simply using a text similarity algorithm cannot analyze the context relationship, so the obtained information similarity is not accurate enough. In the embodiments of the present application, semantic analysis is performed through a large language model to determine the information similarity of these description information, and the results are more accurate. Additionally, with the assistance of the large language model, the process of manual reading and comparison can be effectively saved, effectively improving the application duplicate check efficiency while saving the waste of human resources.
[0099] S303. Perform an enumeration item comparison calculation on the second type of description information of the first application and the second application to obtain the second information similarity.
[0100] Among them, the enumeration items (enumeration values) define an ordered set in a predefined manner. In this ordered set, the parameter representations of each enumeration item are unique and fixed. Therefore, in the embodiments of the present application, for the second type of description information, based on the fixed characteristics of the enumeration items, the second information similarity is obtained through the comparison of enumeration items between applications.
[0101] In one implementation, the second type of description information includes one or more enumeration items. Such as Figure 8As shown in the figure, the above S303 can be specifically implemented as follows:
[0102] S3031. Compare the first type of description information of the first application and the second type of description information of the second application, and determine the number of identical enumeration items.
[0103] S3032. Determine the total number of candidate enumeration items.
[0104] S3033. Determine the ratio between the number of identical enumeration items and the total number of candidate enumeration items as the second information similarity.
[0105] It should be noted that for description information such as the construction unit, application type, and application field of an application, they are all represented by enumeration items in the field of application software. For example, each construction unit has a unit code, and the unit code of a unit is the enumeration item type (fixed and unique). The application type is also uniquely identified by an enumeration item. For example, software applications are represented by enumeration item 1, web applications are represented by enumeration item 2, mobile applications are represented by enumeration item 3, etc. The application field can be medical, economic, people's livelihood, etc., and each different field also corresponds to an enumeration item. Therefore, when determining the second information similarity between two applications for the second type of description information such as the construction unit, application type, and application field, the second information similarity between the application description information can be directly judged by comparing whether the enumeration items are the same.
[0106] Exemplarily, the enumeration item comparison can be used to determine the second information similarity through the following formula.
[0107] Second information similarity = (input parameter value ∩ retained value) / total number of enumeration items × 100
[0108] Among them, the input parameter value is the enumeration item of the first application, and the stock value is the enumeration item of the second application.
[0109] Exemplarily, if the second type of description information includes one enumeration item, there are two situations: hit (the enumeration items are the same) and miss (the enumeration items are different). It can be obtained from the above formula that for the hit situation, the second information similarity is 100, and for the miss situation, the second information similarity is 0.
[0110] Another example is that if the second type of description information includes multiple enumeration items, the second information similarity can be determined according to the ratio of the number of hits to the total number.
[0111] If the description information of the first application includes two parameter values A and B, and the description information of the second application includes four parameter values A, B, C, and D, then two are hit at this time, and the corresponding second information similarity is 50.
[0112] If the description information of the first application includes a parameter value, and the description information of the second application includes four parameter values A, B, C, and D, then one is hit at this time, and the corresponding second information similarity is 25.
[0113] It should be understood that for the description information of the second type, the second information similarity can be determined by means of enumeration item comparison. The way of enumeration item comparison has higher determination efficiency compared with the foregoing text similarity algorithm or, for example, the solution of a large language model, and has lower computing power requirements for the computing device, and can effectively save the computing power resources of the computing device.
[0114] Optionally, for the description information of the second type, the above-mentioned text similarity algorithm and the method using a large language model can also be adopted to determine the second information similarity, and the embodiments of the present application do not make specific limitations thereto.
[0115] It can be seen that in the foregoing S302 and S303, different similarity determination strategies are selected according to the characteristics of the description information (which can refer to text length, data type, etc.), which can adapt to the characteristics of different description information. For a kind of description information, a more appropriate similarity determination strategy can be selected to facilitate improving efficiency and / or accuracy in the process of determining information similarity.
[0116] The following Table 1 shows the relationship between the similarity determination strategies corresponding to different description information provided by the embodiments of the present application. The similarity determination strategies applicable to different description information are shown in Table 1 as follows:
[0117] Table 1
[0118] Description Information Feature Similarity Determination Strategy Application Name Short Text Text Similarity Algorithm Construction Unit Enumeration Item Enumeration Item Comparison Application Type Enumeration Item Enumeration Item Comparison Application Field Enumeration Item Enumeration Item Comparison Construction Objectives of the Application Long Text Large Language Model Construction Functions of the Application Long Text Large Language Model Application Introduction Long Text Large Language Model Construction Plan of the Application Long Text Large Language Model
[0119] S304. Obtain a duplicate check result based on the first information similarity and the second information similarity.
[0120] Among them, the duplicate check result is used to represent the similarity between the first application and the second application.
[0121] It should be noted that since different description information may be obtained by using different similarity determination strategies, there may be large differences in the dimension and value range of the information similarity of different description information. In order to facilitate combining the information similarities of various description information, it can be normalized and then the duplicate check result can be comprehensively determined. Among them, normalization is a data processing method aimed at eliminating the differences in dimension and value range between data and making different indicators comparable. In the embodiments of the present application, taking the definition of information similarity using a 100-point system as an example, the larger the score, the higher the information similarity.
[0122] In a possible implementation, the similarity between the first application and the second application can be obtained by summing the first information similarity and the second information similarity and then taking the average.
[0123] In another possible implementation, since different description information has different levels of detail in describing the application functions, a weighted summation method can be used to determine the function similarity. That is, the above S304 can be specifically implemented as follows:
[0124] The duplicate check result is obtained using the following expression:
[0125] R = ∑(C i ·α i ) + ∑(D j ·β j )
[0126] where R represents the duplicate check result; C i represents the first information similarity corresponding to the i-th type of first type of description information, and α i represents the weight corresponding to the first information similarity; D j represents the second information similarity corresponding to the j-th type of second type of description information, and β j represents the weight corresponding to the second information similarity.
[0127] Exemplarily, the duplicate check result can be specifically determined using the following formula:
[0128] Duplicate check result = (First information similarity of construction goal * weight + First information similarity of construction function * weight + First information similarity of application introduction * weight + First information similarity of construction plan * weight + First information similarity of application name * weight) + (Second information similarity of construction unit * weight + Second information similarity of application type * weight + Second information similarity of application field * weight).
[0129] Optionally, the computing device can also divide multiple levels according to the numerical value of the duplicate check result to reflect the functional similarity between the first application and the second application.
[0130] For example, extremely high (90 - 100), high (71 - 89), medium (40 - 70), low (20 - 39), not relevant (0 - 19).
[0131] It should be noted that the computing device can determine the corresponding weight according to the level of detail of each description information in describing the application function characteristics. And ensure that the sum of the weights of various description information is 1. For example, for the construction function of the application and the construction plan of the application, these two description information are detailed descriptions of the functions that the application can achieve, so relatively high weights can be assigned. The application name type describes the application more generally, so a relatively low weight can be assigned.
[0132] For example, Table 2 is a weight relationship table corresponding to different description information provided in an embodiment of the present application.
[0133] Table 2
[0134] Duplicate Checking Dimension Weight Application Name 5% Construction Unit 2% Application Type 2% Application Field 5% Application Construction Objectives 15% Application Construction Functions 36% Application Introduction 15% Construction Plan 20%
[0135] Figure 9 It is a schematic diagram of a complete solution process provided in an embodiment of the present application. As Figure 9 shown, when determining the information similarity of the application names between applications, since it is short text, a text similarity algorithm is used. When determining the description information of the long text type between applications (such as application introduction, construction objectives, etc.), since it is necessary to analyze the context semantic relationship, a large language model is used to determine the information similarity. When determining the description information of the enumerated item type of the application (such as construction unit, application field, etc.), an enumerated item comparison is used to determine the information similarity. Finally, the weighted sum of all information similarities is calculated to obtain the duplicate check result (similarity between applications).
[0136] The application function duplicate check method provided in an embodiment of the present application, the computing device respectively obtains various description information of the first application and the second application, and the various description information includes at least the first type of description information and the second type of description information. Further, a text similarity calculation is performed on the first type of description information of the first application and the second application to obtain a first information similarity. An enumerated item comparison calculation is performed on the second type of description information of the first application and the second application to obtain a second information similarity. Finally, a duplicate check result is obtained based on the first information similarity and the second information similarity to represent the similarity between the first application and the second application.
[0137] In addition, by selecting different similarity determination strategies according to the characteristics of the description information, the characteristics of different description information can be adapted, and for a certain description information, a more appropriate similarity determination strategy can be selected to facilitate improving efficiency and / or accuracy in the process of determining information similarity.
[0138] Figure 10 It is a schematic diagram of a process of a page display method provided in an embodiment of the present application. Exemplarily, the page display method provided in an embodiment of the present application can be applied to Figure 1 the display device (terminal) on the user side as shown, in other words, this method can be executed through the terminal.
[0139] As Figure 10 shown, the page display method provided in an embodiment of the present application may include the following steps:
[0140] S1001. Receive the project development plan document of the first application input by the user.
[0141] In an embodiment of the present application, the terminal device may display a first interface, and the first interface includes an entry for uploading a document. A user (developer) may operate on the first interface to upload a project development plan document of a first application.
[0142] S1002. In response to a first operation, send a project development plan document of the first application to a server. The first operation is used to indicate application duplicate checking for the first application, and the server is used to execute the Figure 3 application duplicate checking method shown above and send the duplicate checking result to the terminal.
[0143] In an embodiment of the present application, after obtaining the project development plan document of the first application, the terminal triggers a duplicate checking action in response to the user's first operation, so that the terminal sends the document to the server, and then the server executes the foregoing application duplicate checking method to obtain a duplicate checking result and return it to the terminal.
[0144] In one implementation manner, the first operation may be the user's voice input to trigger the duplicate checking action.
[0145] In another implementation manner, the first interface may include a first control. When the user clicks the first control, the duplicate checking action is triggered.
[0146] S1003. Display the duplicate checking result.
[0147] Among them, the duplicate checking result may include the duplicate checking results of the first application and multiple second applications.
[0148] For example, Figure 11 is a schematic diagram of a second interface provided by an embodiment of the present application. The second interface includes information on multiple second applications (including application name, application type, construction unit, application field, application brief introduction). Moreover, the multiple second applications are displayed in descending order of similarity.
[0149] It should be noted that the user may also initiate a second operation to view the specific comparison situation between a certain second application and the first application. That is, in one possible implementation manner, the above page display method further includes:
[0150] S1004. In response to the second operation, display an attribute dimension diagram between the first application and the second application. Among them, each dimension in the attribute dimension diagram corresponds to a description information of the application, and the value of each dimension is used to indicate the information similarity of the description information between the second application and the first application.
[0151] In one implementation manner, the second operation may be the user's voice input to trigger the display device to display the attribute dimension diagram.
[0152] In another embodiment, the second interface may include a second control. When the user clicks on the second control, the display device is triggered to display an attribute dimension diagram.
[0153] For example, Figure 12 is a schematic diagram showing the display of an attribute dimension diagram provided by an embodiment of the present application. When the user clicks on Figure 11 the similarity part (second control) corresponding to the first second application, the content shown in Figure 12 is displayed. As Figure 12 shown, on the left side of the figure, multiple description information of the second application and the information similarity with the first application are shown in the form of a table, and on the right side of the figure, the information similarity score between multiple description information of the second application and the first application is shown in the form of an attribute dimension diagram. The similarity size between the second application and the first application (91 in the figure) is also shown on the upper side of the figure, indicating a very high similarity.
[0154] It should be noted that the user can also initiate a third operation to view the comparative analysis of the specific content of the description information. That is, in a possible implementation manner, the above page display method further includes:
[0155] S1005. In response to the third operation, display the specific content of each description information between the first application and the second application, and the analysis result of the information similarity corresponding to each description information.
[0156] Among them, the analysis result can be used to indicate in which parts the description information between the first application and the second application is similar, and the final analysis result.
[0157] In the embodiment of the present application, the computing device can use the aforementioned large language model for analysis to obtain a similarity report of any description information between the first application and the second application, determine the analysis result of the information similarity from the similarity report, and store it in the database. After receiving the third operation, the terminal device can send a request to the computing device. The computing device can read the analysis conclusion from the database and display it on the terminal for the user to refer to.
[0158] For example, Figure 13 is a schematic diagram showing the display of an analysis result provided by an embodiment of the present application. As Figure 13 shown, on the left side of the figure, the specific content (including the original abstract and the original source) of the description information (taking the construction goal as an example) of the first application and the second application is compared, and on the right side of the figure, the analysis result (including the similar content and the conclusion) is shown.
[0159] The page display method provided by the embodiments of the present application can meet the user's need for function duplicate checking of applications in the form of interface display, and can assist the user's subsequent application development work. For example, review experts can make decision evaluations on newly built applications based on the application duplicate checking results. If the similarity is extremely high, the review experts can suggest pausing the construction of the new application. If some functions of the newly built application are similar to those of the existing application, the review experts can suggest reducing the duplicate functions. Finally, the intensive construction of the application is realized, saving development time and costs.
[0160] It can be seen that the above mainly introduces the solution provided by the embodiments of the present application from the perspective of the method. To implement the above functions, the embodiments of the present application provide the corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should easily realize that, combining the modules and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0161] In an exemplary embodiment, the present application further provides an application duplicate checking device. The application duplicate checking device can be the aforementioned computing device or a processor in the computing device. The application duplicate checking device can include one or more functional modules for implementing the application duplicate checking method in the above method embodiments.
[0162] For example, Figure 14 is a schematic diagram of an application duplicate checking device provided by the embodiments of the present application. As Figure 14 shown, the application duplicate checking device includes: an acquisition module 1401 and a determination module 1402. The acquisition module 1401 and the determination module 1402 are connected to each other.
[0163] The acquisition module 1401 is configured to respectively acquire various description information of a first application and a second application. The various description information includes at least the first type of description information and the second type of description information. The first type of description information is used to represent the characteristics of the application described by text, and the second type of description information is used to represent the characteristics of the application described by enumerated items;
[0164] The determination module 1402 is configured to perform text similarity calculation on the first type of description information of the first application and the second application to obtain a first information similarity;
[0165] The determination module 1402 is further configured to perform enumerated item comparison calculation on the second type of description information of the first application and the second application to obtain a second information similarity;
[0166] The determination module 1402 is further configured to obtain a duplicate check result based on the first information similarity and the second information similarity, and the duplicate check result is used to represent the similarity between the first application and the second application.
[0167] For the specific descriptions of the above optional manners, reference may be made to the foregoing method embodiments, which will not be elaborated herein. In addition, the explanations and beneficial effects of any of the above application duplicate check devices provided may refer to the corresponding method embodiments above and will not be elaborated.
[0168] In an exemplary embodiment, the present application further provides a page display device. The page display device may be the foregoing computing device or a processor in the computing device. The page display device may include one or more functional modules for implementing the page display method of the above method embodiments.
[0169] For example, Figure 15 is a schematic diagram of a page display device provided in an embodiment of the present application. As Figure 15 shown, the page display device includes: a receiving module 1501, a sending module 1502, and a display module 1503. The receiving module 1501, the sending module 1502, and the display module 1503 are connected to each other.
[0170] The receiving module 1501 is configured to receive a project development plan document of a first application input by a user;
[0171] The sending module 1502 is configured to send the project development plan document of the first application to a server in response to a first operation, where the first operation is used to indicate performing an application duplicate check on the first application, and the server is configured to execute the application duplicate check method of any of the foregoing embodiments and send the duplicate check result to the terminal;
[0172] The display module 1503 is configured to display the duplicate check result.
[0173] For the specific descriptions of the above optional manners, reference may be made to the foregoing method embodiments, which will not be elaborated herein. In addition, the explanations and beneficial effects of any of the above page display devices provided may refer to the corresponding method embodiments above and will not be elaborated.
[0174] The embodiments of the present application also provide a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by computer instructions instructing relevant hardware. Exemplarily, the relevant hardware can be a processor of a computing device. The program instructions can be stored in the above computer-readable storage medium. When the program instructions are executed, the processes of the above method embodiments can be implemented. The computer-readable storage medium can be memory. The above computer-readable storage medium can also be an external storage device, such as a hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the above computer-readable storage medium can also include both memory and external storage devices. The above computer-readable storage medium is used to store the above computer program instructions and other programs and data required for the above application duplicate checking method or page display method.
[0175] The embodiments of the present application also provide a computer program product. The computer product includes a computer program. When the computer program product runs on a computing device, the computing device is enabled to execute any one of the application duplicate checking methods or page display methods provided in the above embodiments.
[0176] Although the present application is described herein in connection with various embodiments, however, in practicing the claimed present application, those skilled in the art can understand and realize other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "one" does not exclude a plurality. A single processor or other unit can implement several functions recited in the claims. Certain measures are recited in mutually different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0177] Although the present application is described in combination with specific features and their embodiments, obviously, various modifications and combinations can be made without departing from the spirit and scope of the present application. Accordingly, the present specification and the drawings are only exemplary descriptions of the present application defined by the appended claims, and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of the present application. Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application also intends to include these changes and modifications.
[0178] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be covered by the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for checking duplicate applications, characterized in that, The method includes: Obtaining various description information of the first application and the second application respectively. The various description information includes at least the first type of description information and the second type of description information. The first type of description information is used to represent the features of the application through text description, and the second type of description information is used to represent the features of the application through enumerated items; Performing text similarity calculation on the first type of description information of the first application and the second application to obtain the first information similarity; Performing enumerated item comparison calculation on the second type of description information of the first application and the second application to obtain the second information similarity; Based on the first information similarity and the second information similarity, obtaining a duplicate check result, where the duplicate check result is used to represent the similarity between the first application and the second application.
2. The method according to claim 1, wherein When the text length of the first type of description information is less than a preset threshold, the performing text similarity calculation on the first type of description information of the first application and the second application to obtain the first information similarity includes: Converting the first type of description information of the first application into a first vector; Converting the first type of description information of the second application into a second vector; Determining the text similarity between the first vector and the second vector as the first information similarity.
3. The method according to claim 1, wherein When the text length of the first type of description information is greater than or equal to the preset threshold, the performing text similarity calculation on the first type of description information of the first application and the second application to obtain the first information similarity includes: Converting the first type of description information of the second application into a vector and storing it in a vector database; Inputting the first type of description information of the first application into a large language model, and using the large language model to recall data of the first type of description information of the second application from the vector database to obtain a similarity report of the first type of description information between the first application and the second application; the large language model is used to analyze the semantic similarity degree between different texts; Determining the first information similarity from the similarity report.
4. The method according to claim 1, wherein The second type of description information includes one or more enumerated items; the performing enumerated item comparison calculation on the second type of description information of the first application and the second application to obtain the second information similarity includes: Comparing the first type of description information of the first application and the second type of description information of the second application to determine the number of identical enumerated items; Determining the total number of candidate enumerated items; Taking the ratio between the number of identical enumerated items and the total number of candidate enumerated items as the second information similarity.
5. The method according to claim 1, wherein The obtaining the duplicate check result based on the first information similarity and the second information similarity includes: Obtaining the duplicate check result by using the following expression: R = ∑(C i ·α i ) + ∑(D j ·β j ) Among them, R represents the duplicate check result; C i represents the first information similarity corresponding to the description information of the i-th first type, and α i represents the weight corresponding to the first information similarity; D j represents the second information similarity corresponding to the description information of the j-th second type, and β j represents the weight corresponding to the second information similarity.
6. The method according to any one of claims 1-5, characterized in that, Respectively obtaining various description information of the first application and the second application, including: Obtaining the project development plan document of the first application, and based on the project development plan document, obtaining various description information of the first application; Obtain various description information or project development plan documents of the second application from the database, and the project development plan document of the second application is used to extract various description information of the second application.
7. The method according to any one of claims 1-6, characterized in that The description information of the first type includes at least one of the following: application name, application brief introduction, construction objective of the application, construction function of the application, construction plan of the application.
8. The method according to any one of claims 1-7, characterized in that, The description information of the second type includes at least one of the following: application type, application field, construction unit of the application.
9. A page display method, characterized in that Applied to a terminal, the method further includes: Receiving a project development plan document of a first application input by a user; In response to a first operation, sending the project development plan document of the first application to a server, the first operation is used to indicate application duplicate checking for the first application, and the server is used to execute the application duplicate checking method according to any one of claims 1 to 8, and send the duplicate checking result to the terminal; Displaying the duplicate checking result.
10. A computing device, characterized in that, The computing device includes a processor and a memory; the processor is coupled to the memory; The memory is used to store computer instructions; The computer instructions are loaded and executed by the processor to enable the computing device to implement the method according to any one of claims 1-8 or 9.