CN117389514B - Method, device and system for classifying micro-application development requirements of fusion terminal - Google Patents

Method, device and system for classifying micro-application development requirements of fusion terminal Download PDF

Info

Publication number
CN117389514B
CN117389514B CN202311313964.7A CN202311313964A CN117389514B CN 117389514 B CN117389514 B CN 117389514B CN 202311313964 A CN202311313964 A CN 202311313964A CN 117389514 B CN117389514 B CN 117389514B
Authority
CN
China
Prior art keywords
micro
application
application demand
templates
template
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311313964.7A
Other languages
Chinese (zh)
Other versions
CN117389514A (en
Inventor
张明宇
王鹏
郭屾
张冀川
张治明
林佳颖
秦四军
谭传玉
吕琦
姚志国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Online Shanghai Energy Internet Research Institute Co ltd
Original Assignee
China Online Shanghai Energy Internet Research Institute Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Online Shanghai Energy Internet Research Institute Co ltd filed Critical China Online Shanghai Energy Internet Research Institute Co ltd
Priority to CN202311313964.7A priority Critical patent/CN117389514B/en
Publication of CN117389514A publication Critical patent/CN117389514A/en
Application granted granted Critical
Publication of CN117389514B publication Critical patent/CN117389514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/10Requirements analysis; Specification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking

Abstract

The invention relates to a method, a device and a system for classifying micro-application development requirements of a fusion terminal, wherein the method comprises the following steps: acquiring a plurality of keywords of micro-application requirements; determining a plurality of candidate micro-application demand templates according to the keywords; determining a target template from the candidate micro-application demand templates based on the selection of a user, determining a target micro-application demand statement based on the micro-application demand and the target template, identifying newly added resources in the target micro-application demand statement according to the target micro-application demand statement and a micro-application development specification library, and pushing the newly added resources to a development specification discussion group; and modifying the micro-application development specification library according to the discussion result of the development specification discussion group on the newly-added resource. The invention can facilitate the full communication of the development specifications of the fusion terminal micro-applications by users and manufacturers.

Description

Method, device and system for classifying micro-application development requirements of fusion terminal
Technical Field
The invention relates to the technical field of software development, in particular to a method, a device and a system for classifying micro-application development requirements of a fusion terminal.
Background
The intelligent transformer area fusion terminal (hereinafter referred to as fusion terminal) is core equipment in the technology of the power distribution Internet of things, adopts the design of hardware platform and software APP, can effectively support data acquisition, perception, processing and final application of the transformer area, and realizes data sharing and potential value mining.
In the related art, a power distribution network system is divided into four layers of architecture, namely a cloud (cloud platform), a pipe (communication mode and protocol), a side (terminal with edge computing capability) and an end (perception control device), wherein the end (perception control device) is accessed to the cloud platform through the side (terminal with edge computing capability) by adopting an internet of things protocol, so that the device and data can be ensured to be plug and play. The integrated terminal belongs to the concept of 'edge', has the capability of edge processing, and realizes the Internet of things by connecting end devices of different protocols. The micro-application on the terminal equipment pair is developed by each terminal equipment manufacturer, and various differences exist in the micro-application due to different development platforms and different understanding of standards, and a developer can encounter various problems in development, such as inconsistent models and interfaces, and even if the micro-application is installed in the same terminal, data is hard to share.
Disclosure of Invention
The invention aims to solve the technical problem of providing a method, a device and a system for classifying the development requirements of the micro-applications of the fusion terminal, which are convenient for users and manufacturers to fully communicate the development specifications of the micro-applications of the fusion terminal.
The technical scheme adopted for solving the technical problems is as follows: the method for classifying the micro-application development requirements of the fusion terminal comprises the following steps:
acquiring a plurality of keywords of micro-application requirements;
determining a plurality of candidate micro-application demand templates according to the keywords, wherein the candidate micro-application demand templates record resources related to micro-application development demands;
determining a target template from the candidate micro-application demand templates based on the selection of a user, determining a target micro-application demand statement based on the micro-application demand and the target template, identifying newly added resources in the target micro-application demand statement according to the target micro-application demand statement and a micro-application development specification library, and pushing the newly added resources to a development specification discussion group; wherein the newly added resource is an unregistered resource in the micro-application development specification library;
and modifying the micro-application development specification library according to the discussion result of the development specification discussion group on the newly-added resource.
The determining a plurality of candidate micro-application demand templates according to the plurality of keywords specifically includes:
determining a plurality of attribution items according to the keywords and the micro-application development specification library, wherein the attribution items are items which characterize the attribution of the keywords to the micro-application development specification library;
matching the plurality of attribution items and the plurality of keywords to a plurality of micro-application demand templates to obtain a plurality of matching results;
calculating the adaptability of a plurality of micro-application demand templates according to the plurality of matching results;
and taking the micro-application demand templates with the highest fitness as candidate micro-application demand templates.
The adaptation degree of the plurality of micro-application requirement templates is passed throughCalculated, wherein ADPT is fitness, wkeyword kn Weight value, wdirectory, of kth keyword matched for micro-application requirement template dn For the weight value of the DN-th attribution item matched with the micro-application demand template, KN is the number of keywords matched with the micro-application demand template, and DN is the number of attribution items matched with the micro-application demand template.
The weight value of the keyword and the weight value of the attribution item are determined according to the user heat of the micro-application demand template, and specifically are:
Acquiring a plurality of user hotness, wherein the user hotness is used for representing the frequency of selecting a micro-application demand template as a target template;
determining a plurality of fitness accumulated values according to a history of a plurality of micro-application demand templates selected as candidate micro-application demand templates, wherein the fitness accumulated values are obtained by summing fitness obtained by calculating the micro-application demand templates for a plurality of times, and the plurality of fitness accumulated values correspond to the plurality of micro-application demand templates;
ranking according to the user hotness and the fitness accumulated values respectively to obtain a first ranking list and a second ranking list;
determining a plurality of first rank differences according to the second ranking table and the first ranking table, wherein the first rank differences are used for representing the deviation of the ranks of the micro-application demand templates in the second ranking table and the first ranking table;
and adjusting the weight value of the keyword and the weight value of the attribution item according to the first level differences, recalculating a plurality of fitness accumulated values according to the adjusted weight value of the keyword and the weight value of the attribution item, and jumping to the step of ranking according to the user heat and the fitness accumulated values respectively until the level differences are zero.
The adjusting the weight value of the keyword and the weight value of the attribution item according to the plurality of first level differences specifically includes:
obtaining a disturbance proportion;
the weight value of the keyword and the weight value of the attribution item are adjusted once according to the disturbance proportion;
according to the weight value of the key word and the weight value of the attribution item after one-time adjustment, carrying out fitness calculation on a plurality of micro-application demand templates, and determining a third ranking table according to the result of the fitness calculation;
determining a plurality of second rank differences according to the third ranking table and the first ranking table, wherein the second rank differences are used for representing the deviation of the rank of the micro-application demand template in the third ranking table and the first ranking table;
and carrying out secondary adjustment on the weight value of the keyword and the weight value of the attribution item according to the first level differences and the second level differences.
The weight value of the keyword and the weight value of the attribution item are adjusted once through w '=w'. Cndot.1+alpha, and the weight value of the keyword and the weight value of the attribution item are adjusted once throughPerforming secondary adjustment, wherein w 'is a weight value before primary adjustment, w' is a weight value after primary adjustment, alpha is a disturbance proportion, w is a weight value after secondary adjustment, k is a scrambling coefficient, and DL an_1 First order difference, DL, for the nth micro-application requirement template an_2 For the second order difference of the nth micro-application demand template, AN is the total number of micro-application demand templates.
The identifying the new resources in the target micro-application demand statement according to the target micro-application demand statement and the micro-application development specification library specifically comprises the following steps:
acquiring a target micro-application demand statement, wherein the target micro-application demand statement is obtained by modifying the target template based on the micro-application demand;
determining a plurality of modifications of the target micro-application demand statement relative to the target template according to the target micro-application demand statement and the target template;
searching in the micro-application development specification library according to the plurality of modifications to determine a plurality of candidate resources, wherein the candidate resources are specifications similar to the modifications in the micro-application development specification library;
and responding to the selection of the candidate resources by the user, and taking the modification which is not performed by the user and is selected by the candidate resources as the newly added resources.
Modifying the micro-application development specification library according to the discussion result of the development specification discussion group on the newly added resource, wherein the modification specifically comprises the following steps:
If the discussion result does not suggest objection within a first preset period, the discussion result is set on top;
if the discussion result is set to be top for a second preset period and no objection is still proposed, modifying the micro-application development specification library according to the discussion result;
otherwise, ending the topping and re-conducting the discussion and returning the discussion result to the topping if the discussion result does not suggest objection within the first preset period.
The technical scheme adopted for solving the technical problems is as follows: the utility model provides a fuse terminal micro-application development demand classification device, include:
the keyword acquisition module is used for acquiring a plurality of keywords of the micro-application requirement;
the demand template recommending module is used for determining a plurality of candidate micro-application demand templates by the keywords, wherein the candidate micro-application demand templates record resources related to micro-application development demands;
the newly added resource classification module is used for determining a target template from the candidate micro-application demand templates based on the selection of a user, determining a target micro-application demand statement based on the micro-application demand and the target template, identifying newly added resources in the target micro-application demand statement according to the target micro-application demand statement and a micro-application development specification library, and pushing the newly added resources to a development specification discussion group; wherein the newly added resource is an unregistered resource in the micro-application development specification library;
And the specification modification module is used for modifying the micro-application development specification library according to the discussion result of the development specification discussion group on the newly-added resource.
The technical scheme adopted for solving the technical problems is as follows: the integrated terminal micro-application development interaction system comprises a cloud platform and a plurality of terminal devices, wherein the plurality of terminal devices are in communication connection with the plurality of cloud platforms; the cloud platform adopts the fusion terminal micro-application development requirement classification method, and when the micro-application requirement is determined, the cloud platform modifies the micro-application development specification according to the requirement.
The technical scheme adopted for solving the technical problems is as follows: an electronic device is provided, which includes a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor implements the steps of the fusion terminal micro-application development requirement classification method when executing the computer program.
The technical scheme adopted for solving the technical problems is as follows: there is provided a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the fusion terminal micro-application development requirement classification method described above.
Advantageous effects
Due to the adoption of the technical scheme, compared with the prior art, the invention has the following advantages and positive effects: according to the invention, the candidate micro-application demand template is obtained through the search of the keyword and the micro-application development specification library, the micro-application demand is filled according to the candidate micro-application demand template, and the specification which is met by the demand is further identified, so that the demand analysis process can be improved, when the demand is a new demand, the demand is added into a discussion group for discussion, and the new demand is added into the specification library according to the discussion result, so that the uniformity of the specification is ensured, the development can be conveniently carried out according to the specification when the micro-application development of the terminal is integrated, the non-uniform and repeated development possibility of standards of all sides is reduced, and the micro-application development efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of a fusion terminal micro-application development interaction system provided by an embodiment of the invention;
fig. 2 is a flowchart of a method for classifying development requirements of a fusion terminal micro-application according to an embodiment of the present invention;
FIG. 3 is a functional block diagram of a fusion terminal micro-application development requirement classification device according to an embodiment of the present invention;
fig. 4 is a functional block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The invention will be further illustrated with reference to specific examples. It is to be understood that these examples are illustrative of the present invention and are not intended to limit the scope of the present invention. Further, it is understood that various changes and modifications may be made by those skilled in the art after reading the teachings of the present invention, and such equivalents are intended to fall within the scope of the claims appended hereto.
Fig. 1 is a schematic diagram of a fusion terminal micro-application development interaction system according to a first aspect of the present invention.
As shown in fig. 1, a schematic diagram of a fusion terminal micro-application development interaction system provided by an embodiment of the present invention is shown, and details are as follows:
an integrated terminal micro-application development interactive system, comprising:
the system comprises a cloud platform and a plurality of terminal devices, wherein the plurality of terminal devices are in communication connection with the plurality of cloud platforms;
the terminal equipment sends the micro application requirements to the cloud platform;
responding to the micro-application demands, searching and classifying by the cloud platform according to the micro-application demands, adding the micro-application demands into a discussion group according to the classification result, and pushing micro-application development specifications related to the micro-application demands to the terminal according to the searching result;
When the micro-application requirements are determined, the cloud platform modifies a micro-application development specification according to the requirements.
The cloud platform responds to micro application requirements sent by the terminal equipment, searches in a micro application development specification library according to the micro application requirements, identifies the non-existing specifications of the micro application development specification library, pushes the non-existing specifications to a discussion group for discussion and publicity, classifies the non-existing specifications under a corresponding specification list, and adds the determined specifications into the micro application development specification library after the discussion group discussion and publicity.
Fig. 2 is a flowchart of a method for classifying micro-application development requirements of a fusion terminal according to a second aspect of the present invention.
As shown in fig. 2, a flowchart of an implementation of the method for classifying the development requirements of the fusion terminal micro-application according to the embodiment of the present invention is shown, and the details are as follows:
in step 201, a plurality of keywords of a micro-application need are obtained.
In step 202, a plurality of candidate micro-application requirement templates are determined according to the plurality of keywords, wherein the candidate micro-application requirement templates record resources related to micro-application development requirements.
In some embodiments, the step 202 includes:
the determining a plurality of candidate micro-application requirement templates according to the plurality of keywords comprises:
determining a plurality of attribution items according to the keywords and the micro-application development specification library, wherein the attribution items represent items of the keywords attributing to the micro-application development specification library;
matching the plurality of attribution items and the plurality of keywords to a plurality of micro-application demand templates to obtain a plurality of matching results;
determining the adaptability of a plurality of micro-application demand templates according to a first formula and the plurality of matching results, wherein the first formula is as follows:
in the formula, ADPT is the fitness, wkeyword kn Weight value, wdirectory, of kth keyword matched for micro-application requirement template dn The weight value of the DN attribution item matched with the micro-application demand template is that KN is the number of keywords matched with the micro-application demand template, and DN is the number of attribution items matched with the micro-application demand template;
and taking the micro-application demand templates with the highest fitness as a plurality of candidate micro-application demand templates.
In some embodiments, the weight value of the keyword and the weight value of the attribution entry are determined according to the user heat of the micro application demand template, including:
acquiring a plurality of user hotness, wherein the user hotness characterizes the frequency of selecting a micro-application demand template as a target template;
determining a plurality of fitness accumulated values according to the candidate micro-application demand template selection history, wherein the fitness accumulated values are obtained by summing the fitness obtained by calculating the micro-application demand templates for a plurality of times, and the plurality of fitness accumulated values correspond to the plurality of micro-application demand templates;
ranking according to the user hotness and the fitness accumulated values respectively to obtain a first ranking list and a second ranking list;
determining a plurality of first rank differences according to the second ranking table and the first ranking table, wherein the first rank differences represent the deviation of the ranks of the micro-application demand templates in the second ranking table and the first ranking table;
And according to the first level differences, adjusting the weight values of the keywords and the weight values of the attribution items, recalculating a plurality of fitness accumulated values according to the adjusted weight values of the keywords and the weight values of the attribution items, and jumping to the step of ranking the user heat and the fitness accumulated values respectively until the level differences are zero.
In some embodiments, the adjusting the weight value of the keyword and the weight value of the home entry according to the plurality of level differences includes:
obtaining a disturbance proportion;
and adjusting the weight value of the keyword and the weight value of the attribution item once according to a second formula and the disturbance proportion, wherein the second formula is as follows:
w′=w″·(1+α)
wherein w 'is a weight value before one time adjustment, w' is a weight value after one time adjustment, and alpha is a disturbance proportion;
according to the weight value of the key word and the weight value of the attribution item after one-time adjustment, carrying out fitness calculation on a plurality of micro-application demand templates, and determining a third ranking table according to the result of the fitness calculation;
determining a plurality of second rank differences according to the third ranking table and the first ranking table, wherein the second rank differences represent the deviation of the ranks of the micro-application demand templates in the third ranking table and the first ranking table;
Performing secondary adjustment on the weight value of the keyword and the weight value of the attribution entry according to a third formula, the first level differences and the second level differences, wherein the third formula is as follows:
wherein w is a weight value after secondary adjustment, k is a scrambling coefficient, DL an_1 First order difference, DL, for the nth micro-application requirement template an_2 For the second order difference of the nth micro-application demand template, AN is the total number of micro-application demand templates.
In an exemplary embodiment of the present invention, a plurality of candidate submitted micro-application requirement templates are searched according to the keywords, and the applicant applying for the requirement selects a template from the candidate submitted micro-application requirement templates, and modifies and fills in the template. This may be partly the same as or conflicting with existing specifications, and others may not, at which point these newly added resources need to be identified and categorized into corresponding entries in the specification.
For example, a micro-application specification comprising:
name class: such as a constant name, a variable name, a data structure name, an attribute name, an application name, a physical entity name (device name).
Data class: constant data definition, data structure of variable data structure body.
The process is as follows: algorithm flow.
Application class: call specification, return specification, function description.
When the micro-application requirements are acquired, the method and the device classify the items possibly related to the requirements into the specifications, so that the pressure of finishing the specifications is relieved, and the development of new micro-applications is ensured to meet the requirements of the specifications.
In the above process, the templates are obtained through keyword searching, specifically, each template is provided with a plurality of keywords and entries of the keywords belonging to the micro-application development specification library. The keywords first determine the entry to which they belong, and the general keyword selection is determined based on word sense finding the paraphrasing in the canonical library, so that the entry position in the micro-application development canonical library is easy to find.
Then, matching a plurality of templates according to the keywords and the attribution items of the keywords, and calculating the fitness by using a first formula:
in the formula, ADPT is the fitness, wkeyword kn Weight value, wdirectory, of kth keyword matched for micro-application requirement template dn The weight value of the DN attribution item matched with the micro-application demand template is that KN is the number of keywords matched with the micro-application demand template, and DN is the number of attribution items matched with the micro-application demand template;
And selecting the first few micro-application demand templates in the fitness ranking as a plurality of candidate micro-application demand templates according to the fitness obtained by the calculation.
In the above formula, the weight value of the keyword and the weight value of the attribution entry are applied, and the weight value is determined according to the user heat of a plurality of micro-application requirement templates. Firstly, acquiring the heat of a user, wherein the heat is determined according to the frequency of a micro-application demand template selected as a target template, then calculating the adaptability cumulative value of the micro-application demand template, ranking the heat and the adaptability cumulative value, calculating the rank difference of two ranking modes, and finally adjusting a plurality of weights according to the rank difference until the two rank differences of a plurality of micro-application demand templates are zero.
In adjusting the weight according to the bit-order difference, the weight value is disturbed first, and the embodiment of the invention uses a second formula:
w′=w″·(1+α)
wherein w 'is a weight value before one time adjustment, w' is a weight value after one time adjustment, and alpha is a disturbance proportion;
after disturbance, calculating the level difference of the fitness rank and the heat rank corresponding to the scrambled weights, and adjusting the weights by using a third formula by combining the previous level difference, wherein the third formula is as follows:
Wherein w is a weight value after secondary adjustment, k is a scrambling coefficient, DL an_1 First order difference, DL, for the nth micro-application requirement template an_2 For the second order difference of the nth micro-application demand template, AN is the total number of micro-application demand templates.
In step 203, according to a target micro-application demand statement and a micro-application development specification library, identifying a new resource in the target micro-application demand statement and pushing the new resource to a development specification discussion group, wherein the target micro-application demand statement is determined based on the micro-application demand and a target template, the target template is determined from the candidate micro-application demand templates based on the selection of a user, and the new resource is an unregistered resource in the micro-application development specification library.
In some embodiments, the step 203 includes:
acquiring a target micro-application demand statement, wherein the target micro-application demand statement is obtained by modifying the target template based on the micro-application demand;
determining a plurality of modifications of the target micro-application demand statement relative to the target template according to the target micro-application demand statement and the target template;
Searching in the micro-application development specification library according to the plurality of modifications to determine a plurality of candidate resources, wherein the candidate resources are specifications similar to the modifications in the micro-application development specification library;
in response to a user selection, a modification is made as a newly added resource for which the user has not made a candidate resource selection.
Illustratively, after a user selects a target template from a plurality of candidate micro-application requirement templates, the target template is modified, and the modification items determine a plurality of candidate resources through searching a micro-application development specification library, wherein the candidate resources are similar to the modification items. The candidate resource description after the user selects the candidates is the existing specification in the micro-application development specification library, the user does not select the modification of the candidate resources, the description is the newly-added resources required in the micro-application requirements, and the newly-added resources are pushed into the development specification discussion group for discussion.
In step 204, the micro-application development specification library is modified according to the discussion result of the development specification discussion group on the newly added resource.
In some embodiments, the step 204 includes:
if the discussion result does not suggest objection within a first preset period, the discussion result is set on top;
If the discussion result is set to be top for a second preset period and no objection is still proposed, modifying the micro-application development specification library according to the discussion result;
otherwise, ending the topping and recalculating the first deadline.
After the new resources enter the development specification discussion group, if no objection is proposed within a certain period, the new resources are put on the top in the development specification discussion group, if no objection is still found after the top is put on a certain period, the new resources are added into the development specification library, otherwise, the top is ended, and the period of the top is recalculated.
The invention merges the micro-application development requirement classification method implementation mode of the terminal, it obtains a plurality of keywords of the micro-application requirement at first; then, determining a plurality of candidate micro-application demand templates according to the keywords, wherein the candidate micro-application demand templates record resources related to micro-application development demands; then identifying newly added resources in a target micro-application demand statement and pushing the newly added resources to a development specification discussion group according to the target micro-application demand statement and a micro-application development specification library, wherein the target micro-application demand statement is determined based on the micro-application demand and a target template, the target template is determined from the candidate micro-application demand templates based on the selection of a user, and the newly added resources are unregistered resources in the micro-application development specification library; and finally, modifying the micro-application development specification library according to the discussion result of the development specification discussion group on the newly-added resource. According to the embodiment of the invention, the candidate micro-application demand template is obtained through the search of the keyword and the micro-application development specification library, the micro-application demand is filled according to the candidate micro-application demand template, and the specification which is met by the demand is further identified, so that the demand analysis process can be improved, when the demand is a new demand, the demand is added into a discussion group for discussion, the new demand is added into the specification library according to the discussion result, the uniformity of the specification is ensured, the development can be conveniently carried out according to the specification when the micro-application development of a terminal is fused, the non-uniform and repeated development possibility of standards of all sides is reduced, and the micro-application development efficiency is improved.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
The following are device embodiments of the invention, for details not described in detail therein, reference may be made to the corresponding method embodiments described above.
Fig. 3 is a functional block diagram of a fusion terminal micro-application development and traffic demand classification device according to an embodiment of the present invention, and referring to fig. 3, the fusion terminal micro-application development and traffic demand classification device includes: a keyword acquisition module 301, a demand template recommendation module 302, a new resource classification module 303, and a specification modification module 304, wherein:
a keyword obtaining module 301, configured to obtain a plurality of keywords of a micro-application requirement;
the requirement template recommending module 302 is configured to determine a plurality of candidate micro-application requirement templates according to the plurality of keywords, where the candidate micro-application requirement templates record resources related to micro-application development requirements;
the added resource classification module 303 is configured to identify an added resource in the target micro-application demand statement and push the added resource to a development specification discussion group according to the target micro-application demand statement and a micro-application development specification library, where the target micro-application demand statement is determined based on the micro-application demand and a target template, and the target template is determined from the multiple candidate micro-application demand templates based on user selection, and the added resource is an unregistered resource in the micro-application development specification library;
And the specification modification module 304 is configured to modify the micro-application development specification library according to the discussion result of the development specification discussion group on the newly added resource.
Fig. 4 is a functional block diagram of an electronic device provided by an embodiment of the present invention. As shown in fig. 4, the electronic apparatus 4 of this embodiment includes: a processor 400 and a memory 401, said memory 401 having stored therein a computer program 402 executable on said processor 400. The processor 400 implements the steps of the fusion terminal micro-application development interaction system and the requirement classification method and implementation described above when executing the computer program 402, such as steps 101 to 104 shown in fig. 1.
By way of example, the computer program 402 may be partitioned into one or more modules/units that are stored in the memory 401 and executed by the processor 400 to accomplish the present invention.
The electronic device 4 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The electronic device 4 may include, but is not limited to, a processor 400, a memory 401. It will be appreciated by those skilled in the art that fig. 4 is merely an example of the electronic device 4 and is not meant to be limiting of the electronic device 4, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the electronic device 4 may further include input-output devices, network access devices, buses, etc.
The processor 400 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 401 may be an internal storage unit of the electronic device 4, such as a hard disk or a memory of the electronic device 4. The memory 401 may also be an external storage device of the electronic device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device 4. Further, the memory 401 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 401 is used for storing the computer program 402 and other programs and data required by the electronic device 4. The memory 401 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, and will not be described herein again.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and the details or descriptions of other embodiments may be referred to for those parts of an embodiment that are not described in detail or are described in detail.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/electronic device and method may be implemented in other manners. For example, the apparatus/electronic device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on this understanding, the present invention may also be implemented by implementing all or part of the procedures in the methods of the above embodiments, or by instructing the relevant hardware by a computer program, where the computer program may be stored in a computer readable storage medium, and the computer program may be implemented by implementing the steps of the embodiments of the methods and apparatuses described above when executed by a processor. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limited thereto; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and they should be included in the protection scope of the present invention.

Claims (10)

1. A method for classifying development requirements of fusion terminal micro-applications is characterized by comprising the following steps:
acquiring a plurality of keywords of micro-application requirements;
determining a plurality of candidate micro-application demand templates according to the keywords, wherein the candidate micro-application demand templates record resources related to micro-application development demands; the determining a plurality of candidate micro-application demand templates according to the plurality of keywords specifically includes:
determining a plurality of attribution items according to the keywords and a micro-application development specification library, wherein the attribution items are items which characterize the attribution of the keywords to the micro-application development specification library;
Matching the plurality of attribution items and the plurality of keywords to a plurality of micro-application demand templates to obtain a plurality of matching results;
calculating the adaptability of a plurality of micro-application demand templates according to the plurality of matching results; wherein the adaptation degree of a plurality of micro-application requirement templates is passed throughCalculated, wherein ADPT is fitness, wkeyword kn Weight value, wdirectory, of kth keyword matched for micro-application requirement template dn The weight value of the DN attribution item matched with the micro-application demand template is that KN is the number of keywords matched with the micro-application demand template, and DN is the number of attribution items matched with the micro-application demand template;
taking a plurality of micro-application demand templates with highest fitness as a plurality of candidate micro-application demand templates;
determining a target template from the candidate micro-application demand templates based on the selection of a user, determining a target micro-application demand statement based on the micro-application demand and the target template, identifying newly added resources in the target micro-application demand statement according to the target micro-application demand statement and a micro-application development specification library, and pushing the newly added resources to a development specification discussion group; wherein the newly added resource is an unregistered resource in the micro-application development specification library;
And modifying the micro-application development specification library according to the discussion result of the development specification discussion group on the newly-added resource.
2. The method for classifying micro-application development requirements of a fusion terminal according to claim 1, wherein the weight value of the keyword and the weight value of the attribution item are determined according to the user heat of the micro-application requirement template, specifically: acquiring a plurality of user hotness, wherein the user hotness is used for representing the frequency of selecting a micro-application demand template as a target template;
determining a plurality of fitness aggregate values from a history of a plurality of micro-application demand templates selected as candidate micro-application demand templates, wherein the fitness aggregate values are obtained based on a fitness summation of a plurality of calculations of the micro-application demand templates,
the plurality of fitness accumulated values correspond to the plurality of micro-application demand templates;
ranking according to the user hotness and the fitness accumulated values respectively to obtain a first ranking list and a second ranking list;
determining a plurality of first rank differences according to the second ranking table and the first ranking table, wherein the first rank differences are used for representing the deviation of the ranks of the micro-application demand templates in the second ranking table and the first ranking table;
And adjusting the weight value of the keyword and the weight value of the attribution item according to the first level differences, recalculating a plurality of fitness accumulated values according to the adjusted weight value of the keyword and the weight value of the attribution item, and jumping to the step of ranking according to the user heat and the fitness accumulated values respectively until the level differences are zero.
3. The method for classifying the micro-application development requirements of the fusion terminal according to claim 2, wherein the adjusting the weight values of the keywords and the weight values of the attribution entries according to the plurality of first level differences specifically comprises: obtaining a disturbance proportion;
the weight value of the keyword and the weight value of the attribution item are adjusted once according to the disturbance proportion; according to the weight value of the key word and the weight value of the attribution item after one-time adjustment, carrying out fitness calculation on a plurality of micro-application demand templates, and determining a third ranking table according to the result of the fitness calculation;
determining a plurality of second rank differences according to the third ranking table and the first ranking table, wherein the second rank differences are used for representing the deviation of the rank of the micro-application demand template in the third ranking table and the first ranking table;
And carrying out secondary adjustment on the weight value of the keyword and the weight value of the attribution item according to the first level differences and the second level differences.
4. The method for classifying micro-application development requirements of a fusion terminal according to claim 3, wherein the weight value of the keyword and the weight value of the attribution item are adjusted once by w '=w' (1+α), and the weight value of the keyword and the weight value of the attribution item are adjusted once byPerforming secondary adjustment, wherein w 'is a weight value before primary adjustment, w' is a weight value after primary adjustment, alpha is a disturbance proportion, w is a weight value after secondary adjustment, k is a scrambling coefficient, and DL an_1 First order difference, DL, for the nth micro-application requirement template an_2 For the second order difference of the nth micro-application demand template, AN is the total number of micro-application demand templates.
5. The method for classifying the micro-application development requirements of the fusion terminal according to claim 1, wherein the identifying the new resources in the target micro-application requirement statement according to the target micro-application requirement statement and the micro-application development specification library specifically comprises:
acquiring a target micro-application demand statement, wherein the target micro-application demand statement is obtained by modifying the target template based on the micro-application demand;
Determining a plurality of modifications of the target micro-application demand statement relative to the target template according to the target micro-application demand statement and the target template;
searching in the micro-application development specification library according to the plurality of modifications to determine a plurality of candidate resources, wherein the candidate resources are specifications similar to the modifications in the micro-application development specification library;
and responding to the selection of the candidate resources by the user, and taking the modification which is not performed by the user and is selected by the candidate resources as the newly added resources.
6. The method for classifying the development requirements of the fusion terminal micro-application according to claim 1, wherein the modification of the micro-application development specification library is performed according to the discussion result of the development specification discussion group on the newly added resource, and specifically comprises the following steps:
if the discussion result does not suggest objection within a first preset period, the discussion result is set on top;
if the discussion result is set to be top for a second preset period and no objection is still proposed, modifying the micro-application development specification library according to the discussion result;
otherwise, ending the topping and re-conducting the discussion and returning the discussion result to the topping if the discussion result does not suggest objection within the first preset period.
7. The utility model provides a fuse terminal micro-application development demand classification device which characterized in that includes:
the keyword acquisition module is used for acquiring a plurality of keywords of the micro-application requirement;
the demand template recommending module is used for determining a plurality of candidate micro-application demand templates according to the keywords, wherein the candidate micro-application demand templates record resources related to micro-application development demands; when the requirement template recommendation module determines a plurality of candidate micro-application requirement templates according to the plurality of keywords, the requirement template recommendation module specifically comprises:
determining a plurality of attribution items according to the keywords and a micro-application development specification library, wherein the attribution items are items which characterize the attribution of the keywords to the micro-application development specification library;
matching the plurality of attribution items and the plurality of keywords to a plurality of micro-application demand templates to obtain a plurality of matching results;
calculating the adaptability of a plurality of micro-application demand templates according to the plurality of matching results; wherein the adaptation degree of a plurality of micro-application requirement templates is passed throughCalculated, wherein ADPT is fitness, wkeyword kn Weight value, wdirectory, of kth keyword matched for micro-application requirement template dn The weight value of the DN attribution item matched with the micro-application demand template is that KN is the number of keywords matched with the micro-application demand template, and DN is the number of attribution items matched with the micro-application demand template;
taking a plurality of micro-application demand templates with highest fitness as a plurality of candidate micro-application demand templates;
the newly added resource classification module is used for determining a target template from the candidate micro-application demand templates based on the selection of a user, determining a target micro-application demand statement based on the micro-application demand and the target template, identifying newly added resources in the target micro-application demand statement according to the target micro-application demand statement and a micro-application development specification library, and pushing the newly added resources to a development specification discussion group; wherein the newly added resource is an unregistered resource in the micro-application development specification library;
and the specification modification module is used for modifying the micro-application development specification library according to the discussion result of the development specification discussion group on the newly-added resource.
8. The integrated terminal micro-application development interaction system comprises a cloud platform and a plurality of terminal devices, wherein the terminal devices are in communication connection with the cloud platform; the cloud platform adopts the fusion terminal micro-application development requirement classification method according to any one of claims 1-6, and when the micro-application requirement is determined, the cloud platform modifies the micro-application development specification according to the requirement.
9. An electronic device comprising a memory and a processor, said memory having stored thereon a computer program executable on said processor, characterized in that said processor, when executing said computer program, implements the steps of the fusion terminal micro-application development need classification method according to any of claims 1-6.
10. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the fusion terminal micro-application development requirement classification method according to any one of claims 1-6.
CN202311313964.7A 2023-10-11 2023-10-11 Method, device and system for classifying micro-application development requirements of fusion terminal Active CN117389514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311313964.7A CN117389514B (en) 2023-10-11 2023-10-11 Method, device and system for classifying micro-application development requirements of fusion terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311313964.7A CN117389514B (en) 2023-10-11 2023-10-11 Method, device and system for classifying micro-application development requirements of fusion terminal

Publications (2)

Publication Number Publication Date
CN117389514A CN117389514A (en) 2024-01-12
CN117389514B true CN117389514B (en) 2024-04-02

Family

ID=89438305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311313964.7A Active CN117389514B (en) 2023-10-11 2023-10-11 Method, device and system for classifying micro-application development requirements of fusion terminal

Country Status (1)

Country Link
CN (1) CN117389514B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109377324A (en) * 2018-12-05 2019-02-22 河北工业大学 A kind of technical need docking business model system based on artificial intelligence
CN111831920A (en) * 2020-07-30 2020-10-27 平安普惠企业管理有限公司 User demand analysis method and device, computer equipment and storage medium
CN113379398A (en) * 2021-08-13 2021-09-10 北京明略软件系统有限公司 Project requirement generation method and device, electronic equipment and storage medium
CN114445141A (en) * 2022-01-26 2022-05-06 西南交通大学 Customer demand obtaining method
CN115391656A (en) * 2022-08-29 2022-11-25 中国银行股份有限公司 User demand determination method, device and equipment
CN115454382A (en) * 2022-09-21 2022-12-09 中国平安人寿保险股份有限公司 Demand processing method and device, electronic equipment and storage medium
CN115686495A (en) * 2022-11-01 2023-02-03 中国银行股份有限公司 Application generation method and device and server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI526856B (en) * 2014-10-22 2016-03-21 財團法人資訊工業策進會 Service requirement analysis system, method and non-transitory computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109377324A (en) * 2018-12-05 2019-02-22 河北工业大学 A kind of technical need docking business model system based on artificial intelligence
CN111831920A (en) * 2020-07-30 2020-10-27 平安普惠企业管理有限公司 User demand analysis method and device, computer equipment and storage medium
CN113379398A (en) * 2021-08-13 2021-09-10 北京明略软件系统有限公司 Project requirement generation method and device, electronic equipment and storage medium
CN114445141A (en) * 2022-01-26 2022-05-06 西南交通大学 Customer demand obtaining method
CN115391656A (en) * 2022-08-29 2022-11-25 中国银行股份有限公司 User demand determination method, device and equipment
CN115454382A (en) * 2022-09-21 2022-12-09 中国平安人寿保险股份有限公司 Demand processing method and device, electronic equipment and storage medium
CN115686495A (en) * 2022-11-01 2023-02-03 中国银行股份有限公司 Application generation method and device and server

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
An Ontological Approach to Predict Trade-Offs between Security and Usability for Mobile Application Requirements Engineering;Woori Roh等;《2017 IEEE 25th International Requirements Engineering Conference Workshops (REW)》;20171002;第69 - 75页 *
互联网商业服务用户需求表示模型与应用研究;刘凤竹;《cnki优秀硕士学位论文全文库 信息科技辑》;20190115(第01期);第I138-5035页 *

Also Published As

Publication number Publication date
CN117389514A (en) 2024-01-12

Similar Documents

Publication Publication Date Title
JP7343568B2 (en) Identifying and applying hyperparameters for machine learning
US11580168B2 (en) Method and system for providing context based query suggestions
JP5513624B2 (en) Retrieving information based on general query attributes
US9524310B2 (en) Processing of categorized product information
US9087111B2 (en) Personalized tag ranking
CN108595619A (en) A kind of answering method and equipment
CN109299383B (en) Method and device for generating recommended word, electronic equipment and storage medium
CN111159563B (en) Method, device, equipment and storage medium for determining user interest point information
CN110413738A (en) A kind of information processing method, device, server and storage medium
WO2016045567A1 (en) Webpage data analysis method and device
CN110046298A (en) Query word recommendation method and device, terminal device and computer readable medium
CN111371858A (en) Group control equipment identification method, device, medium and electronic equipment
CN109829073B (en) Image searching method and device
US20160019213A1 (en) Method and system for predicting search results quality in vertical ranking
CN110766489B (en) Method for requesting content and providing content and corresponding device
CN111444188A (en) Stock test data preparation method and device, storage medium and electronic equipment
EP2635981A1 (en) Image search
CN110909266B (en) Deep paging method and device and server
CN117389514B (en) Method, device and system for classifying micro-application development requirements of fusion terminal
CN114741489A (en) Document retrieval method, document retrieval device, storage medium and electronic equipment
CN116415063A (en) Cloud service recommendation method and device
CN109474832B (en) Information searching and sorting method, intelligent terminal and storage medium
CN113326385B (en) Target multimedia resource acquisition method and device, electronic equipment and storage medium
CN113377831B (en) Resource data query method and device, electronic equipment and storage medium
CN116541418B (en) Data query method, electronic device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant