CN115617328B - Application generation method, system, equipment and medium for public support platform - Google Patents

Application generation method, system, equipment and medium for public support platform Download PDF

Info

Publication number
CN115617328B
CN115617328B CN202211646905.7A CN202211646905A CN115617328B CN 115617328 B CN115617328 B CN 115617328B CN 202211646905 A CN202211646905 A CN 202211646905A CN 115617328 B CN115617328 B CN 115617328B
Authority
CN
China
Prior art keywords
platform
application
sub
functional
target
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
CN202211646905.7A
Other languages
Chinese (zh)
Other versions
CN115617328A (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.)
Guangzhou Provincial Trust Software Co ltd
Guangdong Information & Engineering Co ltd
Original Assignee
Guangzhou Provincial Trust Software Co ltd
Guangdong Information & Engineering 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 Guangzhou Provincial Trust Software Co ltd, Guangdong Information & Engineering Co ltd filed Critical Guangzhou Provincial Trust Software Co ltd
Priority to CN202211646905.7A priority Critical patent/CN115617328B/en
Publication of CN115617328A publication Critical patent/CN115617328A/en
Application granted granted Critical
Publication of CN115617328B publication Critical patent/CN115617328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting

Abstract

The invention discloses an application generation method, a system, equipment and a storage medium of a public support platform, wherein the method comprises the following steps: acquiring a packaging request, packaging the execution data of the target equipment in each sub-platform into functional instruction strips, and displaying each functional instruction strip in a visual interface; creating a new target application based on user operation of a visual interface, and adding the functional instruction bar selected by the user operation into the newly-created target application; and acquiring configuration parameters, editing the parameters of the functional instruction strip in the target application, and responding to a starting request to run the target application. The invention can realize the effect of terminal data intercommunication among multiple sub-platforms, and simultaneously quickly generate new application in a visualization mode, thereby improving the expansion capability of the platform.

Description

Application generation method, system, equipment and medium for public support platform
Technical Field
The invention relates to the technical field of public supporting platforms, in particular to an application generation method, system and device of a public supporting platform and a computer readable storage medium.
Background
The public supporting platform covers a plurality of sub-platforms, various data of each sub-platform are gathered, and the data of each sub-platform are displayed in a visual interface of the public supporting platform, so that centralized management is realized. At present, each sub-platform in a common supporting platform is an independent platform, but the data of terminal devices used by different sub-platform pieces are not communicated, and even though the types of the terminal devices used by different sub-platforms are the same, each sub-platform still needs to be provided with the independent terminal device to realize the functional effect required to be realized by each sub-platform, so that the number of the terminal devices is excessive, and the data processing capacity is large. If a new application needs to be newly built on the existing platform, the required functions can be realized only by rewriting the application codes, and the complexity is relatively high, which is not beneficial to the expansion of the platform functions.
Disclosure of Invention
In order to overcome the defects of the prior art, one of the purposes of the present invention is to provide an application generation method for a common support platform, which can achieve the effect of terminal data intercommunication among multiple sub-platforms, and simultaneously, quickly generate new applications in a visualization manner, thereby improving the platform expansion capability.
The invention also aims to provide an application generation system of the common support platform.
It is a further object of the present invention to provide an electronic device.
It is a further object of the present invention to provide a computer readable storage medium.
One of the purposes of the invention is realized by adopting the following technical scheme:
an application generation method of a common support platform comprises the following steps:
acquiring a packaging request, packaging execution data of target equipment in each sub-platform into functional instruction strips, and displaying each functional instruction strip in a visual interface;
creating a new target application based on user operation of a visual interface, and adding the functional instruction bar selected by the user operation into the newly-created target application;
and acquiring configuration parameters, editing the parameters of the functional instruction strip in the target application, and responding to a starting request to run the target application.
Further, the execution data is obtained from a designated sub-platform through a common service bus, and the method for generating the functional instruction strip comprises the following steps:
and identifying the tags carried in the execution codes, dividing the execution codes into a plurality of functional areas according to the types of the tags, and packaging the codes in each functional area into a functional instruction strip according to the functional effect realized by the codes in each functional area.
Further, the tags include a start tag and an end tag; the starting point label is used for determining a starting point line code of the functional area; the end point label is used for determining an end point line code of the functional area.
And further, the label also comprises a variable label, the code parameter marked with the variable label is converted into a variable parameter, a corresponding variable setting interface is generated when the variable parameter is encapsulated into the functional instruction strip, and the configuration parameter is input through the variable setting interface so as to modify the parameter of the code marked with the variable label.
Further, still include:
and downloading a functional instruction strip associated with the target device from a database in response to the downloading instruction, and displaying the downloaded functional instruction strip in a visual interface.
Further, when the target application is run, the method further includes:
and acquiring the device data associated with the target application, and displaying the device data in the visual interface in a visual list mode.
The second purpose of the invention is realized by adopting the following technical scheme:
an application generation system of a common support platform, which executes the application generation method of the common support platform, comprises:
the packaging instruction module is used for acquiring a packaging request to package execution data of target equipment in each sub-platform into functional instruction strips and displaying each functional instruction strip in a visual interface;
the application editing module is used for creating a new target application based on user operation of a visual interface and adding a functional instruction strip selected by the user operation into the newly-created target application; acquiring configuration parameters, and editing the parameters of the functional instruction strip in the target application;
and the application running module is used for responding to the starting request to run the target application.
The third purpose of the invention is realized by adopting the following technical scheme:
an electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the application generation method of the common support platform as described above when executing the computer program.
The fourth purpose of the invention is realized by adopting the following technical scheme:
a computer-readable storage medium having stored thereon a computer program which, when executed, implements the application generation method of the common support platform described above.
Compared with the prior art, the invention has the beneficial effects that:
the invention can apply the execution data of the target equipment of any sub-platform in the public supporting platform to another sub-platform, namely, the target equipment configured by other sub-platforms is utilized to realize the function effect of the current sub-platform, realize the data intercommunication among a plurality of sub-platforms and reduce the investment of hardware equipment among the sub-platforms; and the execution data of the target equipment is packaged according to functions, the packaged functional instruction strip is dragged to a newly-built target application through a visual interface, and parameters of the functional instruction strip can be modified in the visual interface, so that the flexibility of application generation is improved, the configuration difficulty is reduced, and the function expansion capability of the public support platform is improved.
Drawings
FIG. 1 is a schematic view of the connection of the common support platform of the present invention to each sub-platform;
FIG. 2 is a schematic flow chart of an application generation method for a common support platform according to the present invention;
FIG. 3 is a diagram of a visual interface for tagging a label on a code in accordance with the present invention;
FIG. 4 is a block diagram of an application generation system for a common support platform according to the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
Example one
As shown in fig. 1, the common support platform is connected to a plurality of sub-platforms through a common service bus, each sub-platform is configured with a corresponding terminal device according to its own requirement, a plurality of terminal devices configured for each sub-platform are connected to a server of the corresponding sub-platform in a wired or wireless manner, and the server of each sub-platform transmits data of the terminal devices to the common support platform for centralized management.
In the application generation method of the common support platform in this embodiment, the terminal device configured by any sub-platform is applied to the current sub-platform, so that the effect of data intercommunication among multiple sub-platforms is achieved.
As shown in fig. 2, the application generation method of the common support platform in this embodiment specifically includes the following steps:
step S1: acquiring a packaging request, packaging the execution data of the target equipment in each sub-platform into functional instruction strips, and displaying each functional instruction strip in a visual interface;
step S2: creating a new target application based on user operation of a visual interface, and adding the functional instruction bar selected by the user operation into the newly-created target application;
and step S3: and acquiring configuration parameters, editing the parameters of each functional instruction strip in the target application, and responding to a starting request to run the target application.
When any sub-platform is connected with the public supporting platform, the data sharing authority of any terminal device in the current sub-platform can be set through the visual interface, and therefore whether the data of the terminal device is shared in the public supporting platform or not is determined. After the data sharing authority of the sub-platform is opened, the public supporting platform can acquire the execution data of the terminal equipment from the sub-platform with the opened authority through a public service bus; the execution data may be execution code that controls the operation of the terminal device.
In this embodiment, a terminal device that needs to be migrated to another sub-platform in one of the sub-platforms is referred to as a target device, and a user may select any terminal device configured in any sub-platform as the target device through a visual interface and initiate a package request through the visual interface, that is, may package execution data of the target device when running in the corresponding sub-platform to form a functional instruction strip.
After the execution code of the target device is displayed on the visual interface, a user can mark the execution code through a label, and then the system packages the code according to the label. In this embodiment, the tags include a start tag, an end tag, and a variable tag; the user may mark a start tag on any line of the code being executed, an end tag on any line, and a variable tag on a parameter in the code.
The user can mark the starting point label and the end point label according to the functional effect which can be realized by the code; as shown in fig. 3, a in fig. 3 refers to a start point tag, and when any line code is marked with a start point tag, the line code is marked as a start point line code; b in fig. 3 indicates an end point label, and when any line code is marked with an end point label, the line code is marked as an end point line code; when the system recognizes the start point tag and the end point tag, the area between the start point line code and the end point line code is marked as a functional area, meaning that the code in the functional area can control the target device to perform a function. And then, packaging the codes in each functional area into a corresponding functional instruction strip according to the functional effect realized by the codes in each functional area.
For example, a target device in a sub-platform is a camera, and the purpose of configuring the camera in the sub-platform is to implement a face recognition authentication function, so that a user can mark a start point tag and an end point tag on a code for controlling the camera to execute the face recognition authentication function, that is, a code in a functional area between the start point tag and the end point tag can be packaged into a functional instruction strip corresponding to the camera implementing the face recognition authentication function, and the functional instruction strip is displayed in a visual interface.
In some embodiments, the user may set the label levels of the start label and the end label, and if a plurality of start labels and end labels appear in a segment of the code, the area between the start label and the end label of the same level may be marked as a functional area. For example, when the target device is a camera for performing a face recognition and identity verification function, two functions of image face recognition and identity verification need to be performed, a start point label and an end point label of a first grade can be respectively marked at a start point and an end point of a code corresponding to the image face recognition function, a start point label and an end point label of a second grade can be respectively marked at a start point and an end point of a code corresponding to the identity verification function, and a start point label and an end point label of a third grade can be marked on a code for performing the whole face recognition and identity verification function.
In addition, the label also includes a variable label, as shown in fig. 3, c in fig. 3 refers to a variable label, the code parameter marked with the variable label is converted into a variable parameter, a corresponding variable setting interface is constructed for the variable parameter when the variable parameter is encapsulated into the functional instruction strip, a user can input the configuration parameter through the variable setting interface, and the system can modify the parameter of the code marked with the variable label according to the configuration parameter.
The variable tags comprise address tags, numerical tags and the like, if the address tags are marked, the addresses in the codes can be modified, and if the numerical tags are marked, the parameter values in the codes can be modified. For example, after a face image is shot by a camera, identity authentication needs to be carried out, and in the process, the face image pre-stored in an appointed database needs to be called and compared with the face image shot by the camera, so that the aim of identity authentication can be fulfilled; if the identity verification function of the camera configured by the sub-platform A is transplanted to another sub-platform B, a variable label can be marked on the address of the database in the code, and the address of the database matched with the sub-platform B is input through a variable setting interface, so that a face image can be obtained from the database matched with the sub-platform B for image comparison in the process of performing identity verification operation by the sub-platform B, and the identity verification effect equivalent to that of the sub-platform A can be realized on the sub-platform B.
The code is marked in the form of a label, the code is packaged to generate corresponding functional instruction strips, various functional instruction strips of the same target device are concentrated and displayed in an instruction set corresponding to the current target device of a visual interface, and a user can transplant the target device of one sub-platform to another sub-platform for use through the visual interface, so that the target device configured by one sub-platform can also be put into an application scene of another sub-platform for use, the investment of hardware devices is reduced, and the purpose of data intercommunication is achieved.
Specifically, after a user can create a new target application through the visual interface, a user drags any functional instruction strip corresponding to the target device in an instruction set of the visual interface to the newly-created target application, which is equivalent to transplanting execution codes of the target device running in other sub-platforms to the target application of the current sub-platform, so that when the current sub-platform runs the target application, the functions required to be realized by the current sub-platform can be realized by using the target devices configured by other sub-platforms.
In some embodiments, the user may further initiate a download instruction through a download key of the visual interface, and the system downloads a function instruction bar associated with the target device from a specified database in response to the download instruction, and displays the downloaded function instruction bar in the visual interface, so that the user may drag the encapsulated function instruction bar to the target application, and may also drag the function instruction bar downloaded from the specified database to the target application, thereby improving configuration flexibility.
A user inputs configuration parameters through a visual interface according to actual application requirements, and address modification or parameter value modification and the like can be carried out on the functional instruction strip corresponding to the target equipment in the target application; in addition, the user can also perform more personalized configuration on the target application of the current sub-platform through the visual interface, for example, add new terminal devices which are not configured for all the sub-platforms, or rewrite codes to modify data sources and data processing modes, or modify trigger conditions of the target application, and the like. After the configuration of the target application is completed, a user can initiate a starting request through a visual interface, and the system can run the target application, so that target equipment of other sub-platforms is put into the current sub-platform for use.
Meanwhile, all the device data associated with the target application are acquired in the process of running the target application, all the device data are counted to form a visual list and displayed in the visual interface, so that a user can check the real-time running conditions of the current sub-platform and other sub-platforms through the visual interface and monitor the running condition of each sub-platform.
Example two
The present embodiment provides an application generation system of a common support platform, which executes an application generation method of the common support platform according to the first embodiment, and as shown in fig. 4, the system includes:
the packaging instruction module is used for acquiring a packaging request, packaging the execution data of the target equipment in each sub-platform into functional instruction strips, and displaying each functional instruction strip in a visual interface;
the application editing module is used for creating a new target application based on user operation of a visual interface and adding a functional instruction bar selected by the user operation into the newly-created target application; acquiring configuration parameters, and editing the parameters of each functional instruction strip in the target application;
and the application running module is used for responding to the starting request to run the target application.
The embodiment can apply the execution data of the target device of any sub-platform in the public supporting platform to another sub-platform, namely, the target devices configured by other sub-platforms are utilized to realize the function effect which is required by the current sub-platform, realize data intercommunication among a plurality of sub-platforms and reduce the investment of hardware devices among the sub-platforms; and the execution data of the target equipment is packaged according to functions, the packaged functional instruction strip is dragged to a newly-built target application through a visual interface, and parameters of the functional instruction strip can be modified in the visual interface, so that the flexibility of application generation is improved, the configuration difficulty is reduced, and the function expansion capability of the public support platform is improved.
In some embodiments, an electronic device is also provided, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and the processor implements the application generation method of the common support platform in the first embodiment when executing the computer program.
In some embodiments, there is also provided a computer-readable storage medium having stored thereon a computer program which, when executed, implements the application generation method of the common support platform described above.
The above system, device and storage medium and the method in the foregoing embodiments are based on multiple aspects of the same inventive concept, and the method implementation process has been described in detail in the foregoing, so that those skilled in the art can clearly understand the structure and implementation process of the system, device and storage medium in this embodiment according to the foregoing description, and for the sake of brevity of the description, no further description is provided here.
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.

Claims (8)

1. The application generation method of the public supporting platform is characterized in that the public supporting platform is connected with a plurality of sub-platforms through a public service bus; the application generation method comprises the following steps:
the method comprises the steps that an obtaining and packaging request packages execution data of target equipment in each sub-platform into a functional instruction strip, wherein the execution data is obtained from a specified sub-platform through a public service bus; the method for generating the functional instruction strip comprises the following steps:
identifying tags carried in the execution codes, wherein the tags comprise a starting tag and an end tag, dividing the execution codes into a plurality of functional areas according to the types of the tags, and packaging the codes in each functional area into functional instruction strips according to the functional effect realized by the codes in each functional area; displaying each functional instruction bar in a visual interface;
creating a new target application based on user operation of a visual interface, and adding the functional instruction bar selected by the user operation into the newly-created target application;
and acquiring configuration parameters, editing the parameters of the functional instruction strip in the target application, responding to a starting request to run the target application, and realizing the application of the execution data of the target equipment of any sub-platform in the public supporting platform to another sub-platform, namely realizing the functional effect to be achieved by the current sub-platform by using the target equipment configured by other sub-platforms.
2. The application generation method for the common support platform according to claim 1, wherein the start point tag is used to determine a start point line code of the functional area; the end point label is used for determining an end point line code of the functional area.
3. The application generation method of the common support platform according to claim 1, wherein the tags further include variable tags, the code parameters marked with the variable tags are converted into variable parameters, a corresponding variable setting interface is generated when the variable parameters are encapsulated into the function instruction strip, and the configuration parameters are input through the variable setting interface to perform parameter modification on the codes marked with the variable tags.
4. The application generation method for a common support platform according to claim 1, further comprising:
and downloading a functional instruction strip associated with the target device from a database in response to the downloading instruction, and displaying the downloaded functional instruction strip in a visual interface.
5. The application generation method of the common support platform according to claim 1, wherein when the target application is run, the method further comprises:
and acquiring the device data associated with the target application, and displaying the device data in the visual interface in a visual list mode.
6. An application generation system of a common support platform, which executes the application generation method of the common support platform according to any one of claims 1~5, the system comprising:
the packaging instruction module is used for acquiring a packaging request, packaging the execution data of the target equipment in each sub-platform into functional instruction strips, and displaying each functional instruction strip in a visual interface;
the application editing module is used for creating a new target application based on user operation of a visual interface and adding a functional instruction strip selected by the user operation into the newly-created target application; acquiring configuration parameters, and editing the parameters of the functional instruction strip in the target application;
and the application running module is used for responding to the starting request to run the target application.
7. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the computer program, implements the application generation method for a common support platform according to any one of claims 1~5.
8. A computer readable storage medium having stored thereon a computer program which, when executed, implements the application generation method for a common support platform of any of claims 1~5.
CN202211646905.7A 2022-12-21 2022-12-21 Application generation method, system, equipment and medium for public support platform Active CN115617328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211646905.7A CN115617328B (en) 2022-12-21 2022-12-21 Application generation method, system, equipment and medium for public support platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211646905.7A CN115617328B (en) 2022-12-21 2022-12-21 Application generation method, system, equipment and medium for public support platform

Publications (2)

Publication Number Publication Date
CN115617328A CN115617328A (en) 2023-01-17
CN115617328B true CN115617328B (en) 2023-03-31

Family

ID=84879954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211646905.7A Active CN115617328B (en) 2022-12-21 2022-12-21 Application generation method, system, equipment and medium for public support platform

Country Status (1)

Country Link
CN (1) CN115617328B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111625373A (en) * 2020-04-29 2020-09-04 深圳壹账通智能科技有限公司 Function access method and device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109697065A (en) * 2018-12-17 2019-04-30 蜂巢(武汉)微系统技术有限公司 A kind of visual development method of embedded onboard system
CN112965712A (en) * 2021-03-15 2021-06-15 杭州未名信科科技有限公司 Method, device, medium and equipment for constructing graphic block for visual programming
CN114741071A (en) * 2022-04-14 2022-07-12 北京字节跳动网络技术有限公司 Application construction method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111625373A (en) * 2020-04-29 2020-09-04 深圳壹账通智能科技有限公司 Function access method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115617328A (en) 2023-01-17

Similar Documents

Publication Publication Date Title
AU2017409830B2 (en) Multi-task scheduling method and system, application server and computer-readable storage medium
CN107168726B (en) Method and device for dynamically configuring application program
CN108829868B (en) Data display method and device, storage medium and electronic device
CN108363564A (en) Entry modularization implementation method, device, terminal device and storage medium
CN107450899B (en) Method and device for generating terminal control script
CN111324905A (en) Image data labeling method and device, computer equipment and storage medium
CN110347399B (en) Data processing method, real-time computing system and information system
CN110297637B (en) Resource file hot-reloading development tool and method applicable to full-platform client software
CN111367518B (en) Page layout method, page layout device, computing equipment and computer storage medium
CN108897587B (en) Pluggable machine learning algorithm operation method and device and readable storage medium
CN113608751B (en) Operation method, device and equipment of reasoning service platform and storage medium
CN115617328B (en) Application generation method, system, equipment and medium for public support platform
CN107729034A (en) A kind of software continuous integrated approach and its device
CN105094821A (en) Method and device used for determining background information of invoked applications
CN110007943A (en) A kind of application program update management method and system based on android system
CN112418796B (en) Sub-process task node activation method and device, electronic equipment and storage medium
CN111367414B (en) Virtual reality object control method and device, virtual reality system and equipment
CN111581578B (en) Interface request processing method and device
CN113244625A (en) Game terrain data editing method and device, storage medium and electronic device
CN105843597A (en) Providing method and device for establishment information of tasks
CN108415825B (en) Electronic device, test method, and storage medium
CN112667334A (en) Configuration method and device of equipment control information, electronic equipment and storage medium
CN111915277A (en) Contract flow management method and device
CN112667463A (en) Application system baseline state monitoring method and device
CN112685051A (en) Method, device, platform and storage medium for automatically executing shell script

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