CN113703728A - Development-assisted micro-component service processing method, device and equipment - Google Patents

Development-assisted micro-component service processing method, device and equipment Download PDF

Info

Publication number
CN113703728A
CN113703728A CN202110995301.2A CN202110995301A CN113703728A CN 113703728 A CN113703728 A CN 113703728A CN 202110995301 A CN202110995301 A CN 202110995301A CN 113703728 A CN113703728 A CN 113703728A
Authority
CN
China
Prior art keywords
platform
micro
component
development
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110995301.2A
Other languages
Chinese (zh)
Inventor
李田莉
朱昆
李超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202110995301.2A priority Critical patent/CN113703728A/en
Publication of CN113703728A publication Critical patent/CN113703728A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Abstract

The embodiment of the specification discloses a development-assisted micro-component service processing method, device and equipment. The scheme comprises the following steps: determining a first platform to which a research and development task of a user belongs and a second platform capable of assisting the research and development task to be carried out; acquiring a micro-component generated according to a second platform; embedding the micro-component into the front end of the first platform; in the execution process of a research and development task on a first platform, recognizing a research and development scene to which the front-end content of the first platform belongs; and according to the research and development scene to which the front-end content belongs, displaying target content corresponding to the second platform in the micro-component embedded in the front end of the first platform so that a user can directly obtain research and development auxiliary content correspondingly provided by the second platform in the micro-component.

Description

Development-assisted micro-component service processing method, device and equipment
Technical Field
The present disclosure relates to the field of computer research and development technologies, and in particular, to a method, an apparatus, and a device for processing a micro component service in an auxiliary research and development environment.
Background
With the development of computer and internet technologies, software development and iteration processes are more frequent. When research and development personnel carry out research and development activities and daily iterative propulsion, cross-platform operation is often required to be carried out in a plurality of platforms: go to another platform to execute corresponding operation, or view and acquire relevant information in another platform. At this time, a developer needs to separately open a browser (or software corresponding to another platform) to complete the cross-platform operation.
Based on this, a business processing scheme capable of assisting research and development and improving research and development efficiency is needed.
Disclosure of Invention
One or more embodiments of the present disclosure provide a method, an apparatus, a device, and a storage medium for assisting in developing a micro component service processing, so as to solve the following technical problems: a business processing scheme capable of assisting research and development and improving research and development efficiency is needed.
To solve the above technical problem, one or more embodiments of the present specification are implemented as follows:
one or more embodiments of the present specification provide a development-assisted micro component service processing method, including:
determining a first platform to which a research and development task of a user belongs and a second platform capable of assisting the research and development task to be carried out;
acquiring a micro-component generated according to the second platform;
embedding the micro-component in a front end of the first platform;
identifying a development scene to which the front-end content of the first platform belongs in the execution process of the development task on the first platform;
and according to the development scene to which the front-end content belongs, displaying target content corresponding to the second platform in the micro-component embedded in the front end of the first platform, so that the user can directly obtain development auxiliary content correspondingly provided by the second platform in the micro-component.
One or more embodiments of the present specification provide a development-assisted micro component business processing apparatus, including:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a first platform to which a research and development task of a user belongs and a second platform capable of assisting the research and development task to be carried out;
the acquisition module acquires the micro-component generated according to the second platform;
an embedding module embedding the micro-component into a front end of the first platform;
the identification module is used for identifying a research and development scene to which the front-end content of the first platform belongs in the execution process of the research and development task on the first platform;
and the display module displays the target content corresponding to the second platform in the micro-component embedded at the front end of the first platform according to the development scene to which the front-end content belongs, so that the user can directly obtain the development auxiliary content correspondingly provided by the second platform in the micro-component.
One or more embodiments of the present specification provide a development-assisted micro component business processing device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
determining a first platform to which a research and development task of a user belongs and a second platform capable of assisting the research and development task to be carried out;
acquiring a micro-component generated according to the second platform;
embedding the micro-component in a front end of the first platform;
identifying a development scene to which the front-end content of the first platform belongs in the execution process of the development task on the first platform;
and according to the development scene to which the front-end content belongs, displaying target content corresponding to the second platform in the micro-component embedded in the front end of the first platform, so that the user can directly obtain development auxiliary content correspondingly provided by the second platform in the micro-component.
One or more embodiments of the present specification provide a non-transitory computer storage medium storing computer-executable instructions configured to:
determining a first platform to which a research and development task of a user belongs and a second platform capable of assisting the research and development task to be carried out;
acquiring a micro-component generated according to the second platform;
embedding the micro-component in a front end of the first platform;
identifying a development scene to which the front-end content of the first platform belongs in the execution process of the development task on the first platform;
and according to the development scene to which the front-end content belongs, displaying target content corresponding to the second platform in the micro-component embedded in the front end of the first platform, so that the user can directly obtain development auxiliary content correspondingly provided by the second platform in the micro-component.
At least one technical scheme adopted by one or more embodiments of the specification can achieve the following beneficial effects:
target content is directly displayed through the micro-component without the need of a user to actively go to a second platform, so that operations required by the user are reduced, and the research and development efficiency of the user is improved. And the micro-component also has an analysis process for the research and development scene, compared with the method of directly going to the second platform and automatically searching the target content in the original interface of the second platform, the micro-component actually carries out a preliminary screening process to screen out the non-important content, only displays the target content possibly required by the user, and further increases the research and development efficiency of the user.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic flow chart of a development-assisted micro component business processing method according to one or more embodiments of the present disclosure;
fig. 2 is a schematic diagram of a service processing architecture in an application scenario, according to one or more embodiments of the present disclosure;
FIG. 3 is a schematic diagram of embedding a widget into a specified front-end page in an application scenario, according to one or more embodiments of the present disclosure;
FIG. 4 is a schematic diagram of embedding a widget into a specified front-end page in another application scenario, provided by one or more embodiments of the present disclosure;
FIG. 5 is a schematic structural diagram of a development-assisting micro-component business processing apparatus according to one or more embodiments of the present disclosure;
fig. 6 is a schematic structural diagram of a development-assisted micro component business processing device according to one or more embodiments of the present disclosure.
Detailed Description
The embodiment of the specification provides a development-assisted micro-component service processing method, device, equipment and storage medium.
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any inventive step based on the embodiments of the present disclosure, shall fall within the scope of protection of the present application.
Fig. 1 is a schematic flowchart of a development-assisted micro component business processing method according to one or more embodiments of the present disclosure. The method can be applied to different business fields, such as the field of software research and development, the field of internet financial business, the field of electric business, the field of instant messaging business, the field of game business, the field of business and the like. The process may be performed by a computing device in the corresponding field (e.g., a terminal used by a developer during software development, etc.), and some input parameters or intermediate results in the process may allow manual intervention to adjust to help improve accuracy.
The process in fig. 1 may include the following steps:
s102: the method comprises the steps of determining a first platform to which a research and development task of a user belongs, and a second platform capable of assisting the research and development task to be carried out.
The development task refers to a development activity, an iterative advance and other tasks aiming at software, and during the process of executing the development task, a user (generally referred to as a developer) needs to execute a corresponding operation in a corresponding platform (referred to as a first platform). The development tasks may include multiple phases in the software development process, such as an analysis phase (feasibility analysis, demand analysis, etc.), a design phase (summary design, detailed design, etc.), a programming phase (front-end development, back-end programming), a testing phase, an iterative update phase, etc. Generally, the programming phase and the iterative update phase are the phases most frequently touched by the user, and therefore, the two phases are mainly used as an example for explanation in the present specification.
The first platform is different according to the stage of research and development task, the required environment and the difference of the used language. For example, in the programming stage, when the user uses Java language programming, the first Platform may be a Java 2Platform Enterprise Edition (J2 EE) related Platform.
The auxiliary research and development task means that a user has difficulty in completing the research and development task only through a first platform, and other platforms (referred to as second platforms herein) need to be used in the research and development process. The second platform not only comprises a platform for research and development, but also comprises platforms with other functions. This is explained herein by means of several scenarios.
In scenario one, the user needs to view information in the second platform that affects the next operation. For example, when the user develops at the front end, the user needs to obtain a corresponding picture in the second platform, and at this time, the second platform may be a picture library or the like. At this time, the user usually needs to open a browser window, input the URL of the target site, and then search for a page where the information is located, thereby performing operations such as copying.
In the second scenario, for security, policy and other control departments, the user needs to know part of the key information. For example, when the user programs in the backend, the user may need to query the second platform for relevant security management and control requirements, and in this case, the second platform may be a knowledge base, a programming platform, or the like. At this time, the user usually needs to open a browser window, and after inputting the URL of the target site, the user himself checks the key information.
And in the third scenario, the user needs to jump from the first platform to the second platform for operation. For example, after the user finishes writing the code, the user needs to perform software testing in the second platform, and at this time, the second platform may be a software testing platform. At this time, the user usually needs to open a browser window, and after inputting the URL of the target site, performs corresponding operations in the second platform.
S104: and acquiring the micro-component generated according to the second platform.
The micro-components exist attached to a program or platform. In the micro component, some or all of the functions in the second platform can be implemented, depending on the functions that the user needs to provide for the second platform to assist in development tasks. The micro-component may support: function entry, presentation of data information (e.g., monitoring graphs, key data information, etc.), independent functions (e.g., log search, software testing, etc.), and the like.
Often, multiple second platforms are required by a user for a first platform to assist in development tasks in different directions. In this case, one second platform may correspond to one micro component, or a function corresponding to a plurality of second platforms may be integrated in one micro component, or when a certain second platform has a large number of functions, a plurality of micro components may collectively correspond to one second platform.
S106: embedding the micro-component in a front end of the first platform.
When a user executes a research and development task on the first platform, if the assistance of the second platform is needed, the needed micro-component can be called in the front-end interface in a corresponding triggering mode. For example, clicking on the widget library in the front-end interface of the first platform selects the desired widget from the widget library.
S108: and in the process of executing the research and development task on the first platform, identifying a research and development scene to which the front-end content of the first platform belongs.
The research and development scene comprises the stage of the research and development process, the used language and the like, and can be directly acquired through the first platform. For example, if the first platform is a backend programming platform for Java language, it can be obtained that the stage in which the first platform is located is a programming stage, and the language used is Java.
Furthermore, the research scene can be more carefully identified according to the operation of the user in the first platform. For example, still taking the first platform as a backend programming platform for Java language as an example, the user has already created a corresponding project in the first platform, and created a corresponding interface class in the project, and when editing the interface class with codes, it may be determined that the development scenario in which the user is located is to program the class in the project.
S110: and according to the development scene to which the front-end content belongs, displaying target content corresponding to the second platform in the micro-component embedded in the front end of the first platform, so that the user can directly obtain development auxiliary content correspondingly provided by the second platform in the micro-component.
After the development scenario is obtained, the development scenario is analyzed to determine what content (referred to as target content herein) needs to be obtained by the user in the current development scenario. For example, if the current development scenario of the user is in the programming phase, and the creation process of the class is performed, the target content may be a related code template required when the class is created, a problem that needs to be noticed, and the like. If the current development scenario of the user is in the programming phase, and the front-end interface is edited, the target content may be pictures, symbols, and the like most likely needed by the project currently created by the user.
The target content is displayed in the micro-component, so that a user can directly acquire the target content in the micro-component at the front end of the first platform without additionally jumping to the second platform, and then selects corresponding content from the target content based on own requirements to assist in research and development (the selected part of content is referred to as research and development auxiliary content herein).
The user may obtain the development assistance content based on a variety of ways. For example, the user obtains the research and development auxiliary content by copying and pasting the target content. Or, the target content is a software testing system, and a user obtains a corresponding testing result by testing currently written codes in the testing system to serve as research and development auxiliary content. Alternatively, the target content may be a corresponding code writing specification by which the user writes code that conforms to the specification. For example, for the above scenario one and scenario two, the user may directly view in the micro component, and for scenario three, the user may directly perform the related operation in the micro component.
Furthermore, the user can even only perform corresponding operations in the micro-component, and the micro-component directly synchronizes the operations executed by the user to the first platform, thereby further simplifying the operations required by the user and improving the research and development efficiency of the user. For example, after the user copies the corresponding content in the micro component, the micro component directly pastes the part of the content to a specified location of the first platform (e.g., the location selected by the user for the last time). Or after the user tests the software in the micro-component, the micro-component directly returns the test result to the first platform. If the code has the BUG in the test result, the location of the BUG may be marked (for example, marked in a highlight manner) in the first platform to prompt the user to modify the location accordingly.
Firstly, a display mode is provided, a partial area is selected from a first platform, a link of a second platform is displayed in the partial area, a user needs to click the link and jump to the second platform, but the mode still needs the user to actively go to the second platform, and an entrance of the mode is relatively fixed and cannot directly reach a page required by the user. And the target content is directly displayed through the micro-component, so that the user does not need to actively go to the micro-component, the operations (such as reducing the operation link contacts of the user) required by the user are reduced, and the research and development efficiency of the user is improved. And the micro-component also has an analysis process for a research and development scene, compared with the traditional original interface for directly displaying the second platform, the micro-component actually carries out a preliminary screening process, screens out non-important contents, only displays target contents possibly required by a user, can display the contents according to the scene where the user is located, and further improves the research and development efficiency of the user. Compared with a page depending on a third-party service (for example, in the first platform, a corresponding page is displayed through the third-party service), the development cost can be effectively reduced through the micro-component display mode, and the subsequent iterative upgrade of the micro-component is facilitated.
Based on the process of fig. 1, some specific embodiments and embodiments of the process are also provided in the present specification, and the description is continued below.
Fig. 2 is a schematic view of a service processing architecture in an application scenario, according to one or more embodiments of the present disclosure. A developer of the micro-component firstly develops and debugs the micro-component by simulating a debugging environment. For example, a corresponding simulated debugging environment is pre-constructed by the virtual machine, and in the simulated debugging environment, the operation of the first platform, the second platform and the micro component can be supported, so that the micro component is debugged. If the micro-component does not meet the related requirements, for example, all target contents in the second platform cannot be displayed, or a BUG still exists in the using process, the debugging continues in the simulated debugging environment until a publishable version of the micro-component is obtained. And releasing the releasable version in a pre-constructed micro-component center, so that a user can obtain a corresponding micro-component in the micro-component center and embed the micro-component into the first platform. And the manager of the micro-component center can also manage and discover the published micro-components, such as online, offline, updating and the like, so as to ensure the efficient operation of the micro-component management center. The user can also customize the micro-component in the micro-component center according to the personal appeal, so that the micro-component can customize and display the operation and information which the user needs to check in each scene. The micro-component center provides a third-party open protocol, supports a third party where developers are located to independently develop micro-components, and provides access specifications, design specifications and the like for the third party, so that third-party services where the developers are located can independently develop the micro-components, quick access is realized, and research and development investment on third-party requirements is reduced.
Fig. 2 is a schematic view of a service processing architecture in an application scenario, according to one or more embodiments of the present disclosure. Through little front end and iframe frame, with the front end of first platform of micro-component embedding, provide the technical solution of free embedding for first platform, need not secondary development. Among them, micro-front ends (micro-frontends) is an architecture style that is composed of multiple front-end applications delivered independently into a whole. It breaks the front-end application into smaller, simpler pieces that can be developed, tested, deployed independently, yet still appear to the user as a cohesive single product. And an HTML page may have one or more subframes marked with < iframe > for displaying a separate HTML page, thereby serving as a front-end embedding effect for the presentation of the micro-components from the first platform.
In one or more embodiments of the present specification, a page (referred to as a designated front page) that needs to be embedded with a widget is determined from front pages of a first platform, and a widget of a second platform corresponding to the designated front page is determined. Various embedding methods can be used to embed the micro-component into the specified front page.
Specifically, fig. 3 and 4 are schematic diagrams of embedding a widget into a specified front-end page in two application scenarios provided in one or more embodiments of the present specification. In the first way, the micro component is embedded into a partial region on the designated front-end page, for example, as shown in fig. 3, the iteration tool in the lower right corner region is the content displayed by the embedded micro component, in which the corresponding functions of test planning, issue risk assessment, and the like can be obtained, so that the operations, entries, and information required in the scene are provided for the user, and the user can quickly operate or view the information without leaving the current page. In the second way, the micro component is associated with the designated front page in a position, so that the micro component is covered on a partial area on the designated front page, for example, as shown in fig. 4, a small research and development assistant in the right area is the content displayed by the embedded micro component, in which functions such as log query can be performed, for example, a quick toolbox is provided for the user in the form of a drawer, and the user can walk immediately after using the toolbox. The corresponding embedding mode can be selected based on the first platform, the display content of the micro-component and the user requirement.
In one or more embodiments of the present disclosure, it is necessary for a user to know some content related to security or policy control during development, and it is difficult for the user to be able to understand all the related content. For example, corresponding permissions are usually set during programming, so that each user can only access the resource authorized by the user. At this time, the research and development staff may obtain the content related to the security management and control on the second platform, so that the authority setting can be realized based on the content. Or, related strategies need to be managed and controlled, and the responsibility of using the algorithm and the algorithm are separated from each other through the packaging of the algorithm, and are delegated to different object management.
Based on the method, after the research and development scene to which the front-end content belongs is determined, the key information from the security or policy control party is obtained in the second platform in a matching mode through key word matching, preset corresponding relation and the like. Then, corresponding target content is obtained according to the key information (for example, the key information is used as the target content, or a part of content is selected from the key information as the target content, or the key information is used as a part of content in the target content), and the target content is displayed in the micro-component. Therefore, corresponding key information can be actively displayed for a user in the micro-component, the user does not need to search by himself, the research and development efficiency of the user is improved, and the reliability of research and development products is guaranteed.
Further, if only one user actively manages security or policy through key information, errors in security or policy may still occur due to user negligence. Based on the method, a corresponding monitoring script is generated according to the key information, and the monitoring script is executed at the front end of the first platform. In the running process, the monitoring script can monitor the user operation and the current front-end content, and if it is found that management and control are required to be accessed (for example, the user operates in a violation manner currently and a code in the front-end content has an obvious BUG), corresponding management and control information (for example, informing the user of which operations or contents are required to be managed currently and how to manage the operations and the contents) can be generated, and the management and control information is used as target content. Even if allowed, the operation of the user or the front-end content can be directly controlled by the micro-component directly in the first platform.
In one or more embodiments of the present disclosure, a development task usually includes more than one task node, but includes a plurality of task nodes, and the plurality of task nodes often include a certain order requirement, and only after a task node in a previous order is completed, a task node in a next order can be completed. For example, the programming phase can be executed only after the analysis phase and the design phase are completed; also, in the programming phase, the creation of the item is first completed before the class can be programmed. In addition, in order to facilitate the operation of the user, a corresponding operation control may be set for each task node, and the operation control is used as a part of the target content and is displayed to the user, for example, the operation control may include a corresponding button, symbol, and the like as a triggering means.
Based on the above, after the target content is presented in the micro component, the user can perform a corresponding research and development process on the current task node based on the target content. After the research and development of the current task node are completed, the user can trigger the operation control in a click mode, a double click mode and the like to indicate that the user has completed the research and development of the current task node, or even if the research and development work corresponding to the current task node is not completed, the research and development work of the current task node can be completed due to objective conditions (for example, the user needs to configure the current task node in advance and obtain corresponding parameters), and the research and development work of the next task node is needed. At this time, a response operation is generated according to the operation of the user, and according to the response operation, the task execution of the next task node is automatically triggered in the front-end page of the first platform, so that the user starts to perform corresponding research and development work on the next task node. The smooth and intelligent transfer execution of the research and development task link in the front-end page and the micro-component effectively reduces the burden of research and development personnel, and the user experience is further improved.
For example, assuming that the front-end page is a development data integration page, a user declares and implements a library function (which is a task of a current task node) in the widget, and then the user performs a confirmation operation on the library function in the widget, a response operation is generated accordingly, where the response operation is specifically to automatically extract a source code related to the library function in a development data integration sub-page, perform compilation execution, obtain an effect page, and store the effect page into the development data integration page (which includes a task of a next task node).
For another example, the front-end page is a source code editing page, and the user selects the automatically matched key information (which is a task of the current task node) in the widget, for example, a compliance policy provided by the security administrator (for example, some types of keywords need to be filtered out), and then generates a response operation according to the selection operation of the user, where the response operation specifically is: according to the compliance strategy, automatically positioning a code inlet in a front-end page, generating a regular expression code for realizing the compliance strategy and auxiliary peripheral codes thereof according to the context at the code inlet, then embedding the automatically generated code into the context, and automatically debugging until a source code in the front-end page can meet the compliance strategy (which comprises the task of a next task node).
In addition, the operation control can set corresponding functions besides triggering the next task node, so that the user can return to the previous task node again, or reset the current task node and the like.
Based on the same idea, one or more embodiments of the present specification further provide apparatuses and devices corresponding to the above-described method, as shown in fig. 5 and fig. 6.
Fig. 5 is a schematic structural diagram of a development-assisted micro component business processing apparatus according to one or more embodiments of the present disclosure, where the apparatus includes:
the determining module 502 is used for determining a first platform to which a research and development task of a user belongs and a second platform capable of assisting the research and development task to be carried out;
an obtaining module 504, configured to obtain a micro component generated according to the second platform;
an embedding module 506 that embeds the micro component into a front end of the first platform;
the identifying module 508 is configured to identify a development scenario to which the front-end content of the first platform belongs in an execution process of the development task on the first platform;
the display module 510 displays the target content corresponding to the second platform in the micro component embedded in the front end of the first platform according to the development scenario to which the front end content belongs, so that the user directly obtains, in the micro component, the development auxiliary content correspondingly provided by the second platform.
Optionally, the apparatus further comprises:
the debugging module 512 is used for debugging the micro-component by simulating a debugging environment to obtain a publishable version of the micro-component;
and publishing the publishable version in a pre-constructed micro-component center so as to manage and acquire the micro-component through the micro-component center.
Optionally, the embedding module 506 embeds the micro component into the front end of the first platform through a micro front end and an iframe frame.
Optionally, the embedding module 506 acquires a specified front-end page of the first platform;
and embedding the micro-component into a partial region on the appointed front-end page, or performing position association on the micro-component and the appointed front-end page, so that the micro-component is covered on the partial region on the appointed front-end page.
Optionally, the display module 510 matches corresponding key information on the second platform according to a development scenario to which the front-end content belongs, where the key information is from a security or policy control party;
and obtaining target content corresponding to the second platform according to the key information, and displaying the target content in the micro-component embedded in the front end of the first platform.
Optionally, the display module 510 generates a monitoring script according to the key information, and executes the monitoring script at the front end of the first platform to perform monitoring;
and if the current front-end content of the first platform is monitored or the user operation needs to intervene in management and control, generating corresponding management and control information as target content corresponding to the second platform.
Optionally, the development task includes at least two task nodes in sequence, and the target content includes an operation control corresponding to one task node;
the device further comprises:
an automatic triggering module 514, which receives user operation of the user for the operation control through the micro-component;
generating response operation according to the user operation;
and according to the response operation, automatically triggering task execution of a next task node of the task nodes in a front-end page of the first platform except the micro-component.
Fig. 6 is a schematic structural diagram of a development-assisted micro component business processing apparatus according to one or more embodiments of the present specification, where the apparatus includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
determining a first platform to which a research and development task of a user belongs and a second platform capable of assisting the research and development task to be carried out;
acquiring a micro-component generated according to the second platform;
embedding the micro-component in a front end of the first platform;
identifying a development scene to which the front-end content of the first platform belongs in the execution process of the development task on the first platform;
and according to the development scene to which the front-end content belongs, displaying target content corresponding to the second platform in the micro-component embedded in the front end of the first platform, so that the user can directly obtain development auxiliary content correspondingly provided by the second platform in the micro-component.
Based on the same idea, one or more embodiments of the present specification further provide a non-volatile computer storage medium corresponding to the above method, and storing computer-executable instructions configured to:
determining a first platform to which a research and development task of a user belongs and a second platform capable of assisting the research and development task to be carried out;
acquiring a micro-component generated according to the second platform;
embedding the micro-component in a front end of the first platform;
identifying a development scene to which the front-end content of the first platform belongs in the execution process of the development task on the first platform;
and according to the development scene to which the front-end content belongs, displaying target content corresponding to the second platform in the micro-component embedded in the front end of the first platform, so that the user can directly obtain development auxiliary content correspondingly provided by the second platform in the micro-component.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the various elements may be implemented in the same one or more software and/or hardware implementations of the present description.
As will be appreciated by one skilled in the art, the present specification embodiments may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The description has been presented with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the embodiments of the apparatus, the device, and the nonvolatile computer storage medium, since they are substantially similar to the embodiments of the method, the description is simple, and for the relevant points, reference may be made to the partial description of the embodiments of the method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The above description is merely one or more embodiments of the present disclosure and is not intended to limit the present disclosure. Various modifications and alterations to one or more embodiments of the present description will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of one or more embodiments of the present specification should be included in the scope of the claims of the present specification.

Claims (15)

1. A development-assisted micro-component business processing method comprises the following steps:
determining a first platform to which a research and development task of a user belongs and a second platform capable of assisting the research and development task to be carried out;
acquiring a micro-component generated according to the second platform;
embedding the micro-component in a front end of the first platform;
identifying a development scene to which the front-end content of the first platform belongs in the execution process of the development task on the first platform;
and according to the development scene to which the front-end content belongs, displaying target content corresponding to the second platform in the micro-component embedded in the front end of the first platform, so that the user can directly obtain development auxiliary content correspondingly provided by the second platform in the micro-component.
2. The method of claim 1, prior to said obtaining the micro-components generated according to the second platform, the method further comprising:
debugging the micro-component by simulating a debugging environment to obtain a publishable version of the micro-component;
and publishing the publishable version in a pre-constructed micro-component center so as to manage and acquire the micro-component through the micro-component center.
3. The method of claim 1, wherein embedding the micro-component into the front end of the first platform comprises:
embedding the micro-component into the front end of the first platform through a micro front end and an iframe frame.
4. The method of claim 1, wherein embedding the micro-component into the front end of the first platform comprises:
acquiring a designated front-end page of the first platform;
and embedding the micro-component into a partial region on the appointed front-end page, or performing position association on the micro-component and the appointed front-end page, so that the micro-component is covered on the partial region on the appointed front-end page.
5. The method according to claim 1, wherein the presenting, in the micro component embedded in the front end of the first platform, the target content corresponding to the second platform according to the development scenario to which the front-end content belongs specifically comprises:
matching corresponding key information on the second platform according to the research and development scene to which the front-end content belongs, wherein the key information comes from a security or policy control party;
and obtaining target content corresponding to the second platform according to the key information, and displaying the target content in the micro-component embedded in the front end of the first platform.
6. The method according to claim 5, wherein the obtaining of the target content corresponding to the second platform according to the key information specifically includes:
generating a monitoring script according to the key information, and executing the monitoring script at the front end of the first platform to monitor;
and if the current front-end content of the first platform is monitored or the user operation needs to intervene in management and control, generating corresponding management and control information as target content corresponding to the second platform.
7. The method of claim 1, wherein the development task comprises at least two task nodes having a sequence, and the target content comprises an operation control corresponding to one of the task nodes;
after the target content corresponding to the second platform is shown in the micro-component that has been embedded in the front end of the first platform, the method further comprises:
receiving user operation of a user for the operation control through the micro-component;
generating response operation according to the user operation;
and according to the response operation, automatically triggering task execution of a next task node of the task nodes in a front-end page of the first platform except the micro-component.
8. A development-assisted micro-component business processing device comprises:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a first platform to which a research and development task of a user belongs and a second platform capable of assisting the research and development task to be carried out;
the acquisition module acquires the micro-component generated according to the second platform;
an embedding module embedding the micro-component into a front end of the first platform;
the identification module is used for identifying a research and development scene to which the front-end content of the first platform belongs in the execution process of the research and development task on the first platform;
and the display module displays the target content corresponding to the second platform in the micro-component embedded at the front end of the first platform according to the development scene to which the front-end content belongs, so that the user can directly obtain the development auxiliary content correspondingly provided by the second platform in the micro-component.
9. The apparatus of claim 8, the apparatus further comprising:
the debugging module is used for debugging the micro-component by simulating a debugging environment to obtain a publishable version of the micro-component;
and publishing the publishable version in a pre-constructed micro-component center so as to manage and acquire the micro-component through the micro-component center.
10. The apparatus of claim 8, the embedding module to embed the micro component in the front end of the first platform through a micro front end and an iframe frame.
11. The apparatus of claim 8, the embedding module to obtain a specified front-end page of the first platform;
and embedding the micro-component into a partial region on the appointed front-end page, or performing position association on the micro-component and the appointed front-end page, so that the micro-component is covered on the partial region on the appointed front-end page.
12. The apparatus of claim 8, wherein the presentation module matches corresponding key information from a security or policy controller on the second platform according to a development scenario to which the front-end content belongs;
and obtaining target content corresponding to the second platform according to the key information, and displaying the target content in the micro-component embedded in the front end of the first platform.
13. The apparatus according to claim 12, wherein the presentation module generates a monitoring script according to the key information, and executes the monitoring script at the front end of the first platform for monitoring;
and if the current front-end content of the first platform is monitored or the user operation needs to intervene in management and control, generating corresponding management and control information as target content corresponding to the second platform.
14. The apparatus of claim 8, wherein the development task comprises at least two task nodes having an order, and the target content comprises an operation control corresponding to one of the task nodes;
the device further comprises:
the automatic triggering module receives user operation of a user for the operation control through the micro-component;
generating response operation according to the user operation;
and according to the response operation, automatically triggering task execution of a next task node of the task nodes in a front-end page of the first platform except the micro-component.
15. A development-assisted micro-component business processing device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
determining a first platform to which a research and development task of a user belongs and a second platform capable of assisting the research and development task to be carried out;
acquiring a micro-component generated according to the second platform;
embedding the micro-component in a front end of the first platform;
identifying a development scene to which the front-end content of the first platform belongs in the execution process of the development task on the first platform;
and according to the development scene to which the front-end content belongs, displaying target content corresponding to the second platform in the micro-component embedded in the front end of the first platform, so that the user can directly obtain development auxiliary content correspondingly provided by the second platform in the micro-component.
CN202110995301.2A 2021-08-27 2021-08-27 Development-assisted micro-component service processing method, device and equipment Pending CN113703728A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110995301.2A CN113703728A (en) 2021-08-27 2021-08-27 Development-assisted micro-component service processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110995301.2A CN113703728A (en) 2021-08-27 2021-08-27 Development-assisted micro-component service processing method, device and equipment

Publications (1)

Publication Number Publication Date
CN113703728A true CN113703728A (en) 2021-11-26

Family

ID=78655971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110995301.2A Pending CN113703728A (en) 2021-08-27 2021-08-27 Development-assisted micro-component service processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN113703728A (en)

Similar Documents

Publication Publication Date Title
US8769553B2 (en) Deploy anywhere framework for heterogeneous mobile application development
CN107644286B (en) Workflow processing method and device
JP4395761B2 (en) Program test support apparatus and method
US20140366005A1 (en) Abstract layer for automatic user interface testing
US20090199163A1 (en) Debugger assistance for locating values at runtime
CN111881019B (en) User interface testing method and device
US20120110560A1 (en) Data type provider for a web semantic store
US20090307652A1 (en) Automatic model-specific debugger extensions
US9811441B2 (en) Method and system for detecting memory leaks in a program
US8776010B2 (en) Data type provider for a data store
CN107015903B (en) Interface test program generation method and device and electronic equipment
EP2951680B1 (en) Acquiring identification of an application lifecycle management entity associated with similar code
CN110990274A (en) Data processing method, device and system for generating test case
US10042638B2 (en) Evaluating documentation coverage
US8819626B2 (en) Sharable development environment bookmarks for functional/data flow
CN111679976A (en) Method and device for searching page object
CN116431467A (en) Page test method, device, equipment and medium
CN110471828B (en) Operating system testing method, device and equipment thereof
CN109284222B (en) Software unit, project testing method, device and equipment in data processing system
CN112711427A (en) Method and device for acquiring mirror image file
US8745587B2 (en) System and method for testing computer programs
CN113703728A (en) Development-assisted micro-component service processing method, device and equipment
CN105550575A (en) Method and device for obtaining un-exported function address and data structure offset
KR101858594B1 (en) Method and apparatus for detecting anti-reversing code
CN114706767A (en) Code coverage rate acquisition method, device and equipment

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