CN111913698B - Control method and system for cross-platform universal forum community program - Google Patents

Control method and system for cross-platform universal forum community program Download PDF

Info

Publication number
CN111913698B
CN111913698B CN202010813511.0A CN202010813511A CN111913698B CN 111913698 B CN111913698 B CN 111913698B CN 202010813511 A CN202010813511 A CN 202010813511A CN 111913698 B CN111913698 B CN 111913698B
Authority
CN
China
Prior art keywords
program
parasitic
plug
category
environment
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
CN202010813511.0A
Other languages
Chinese (zh)
Other versions
CN111913698A (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.)
Fresens Suzhou Technology Co ltd
Original Assignee
Fresens Suzhou 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 Fresens Suzhou Technology Co ltd filed Critical Fresens Suzhou Technology Co ltd
Priority to CN202010813511.0A priority Critical patent/CN111913698B/en
Publication of CN111913698A publication Critical patent/CN111913698A/en
Application granted granted Critical
Publication of CN111913698B publication Critical patent/CN111913698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a control method and a system of a cross-platform universal forum community program, wherein the forum community program comprises a host program and a parasitic program based on a plug-in mechanism, the parasitic program comprises a front-end parasitic program and/or a rear-end parasitic program, and the method comprises the steps of loading the parasitic program to a designated position of a functional interface of the host program according to the front-end category of the forum community program; and if the touch operation on the designated position is detected, calling the script of the plug-in corresponding to the parasitic program, so that various operation scenes and cross-platform multi-terminal deployment forum community programs are realized on the basis of not increasing the cost.

Description

Control method and system for cross-platform universal forum community program
Technical Field
The application relates to the technical field of Internet communities and forum programs, in particular to a control method and a system of a cross-platform universal forum community program.
Background
The earliest PC computer applications were only a variety of locally installed software (such as Microsoft Office software), while software capable of networking to communicate interactive data with a remote Server was called the C/S architecture (Client/Server). With the development of technology, the world wide Web and a matched Browser are invented, so an application mode for remotely providing services through Web technology based on the Browser is created, local application software does not need to be developed, only the application mode for providing services through a network is called as a B/S structure (Browser/Server), and the industry mode is defined as PC Internet by industry.
In the development period of the PC Internet, a general product scheme capable of being flexibly configured and open source program ecology are evolved thanks to the flexibility of the MVC architecture (Model-View-Controller) of the Web technology. The product can provide a set of flexible and changeable complete product solutions (such as WordPress, discuz, PHPWind products) for program users through the framework structure of a Theme template (Theme) and a plug-in mechanism (plug in), and the program users can realize various product forms only through the configuration of the back end and the operation of installing plug-ins after the server is deployed, so that the product is applied to various market backgrounds and operation scenes.
The general product scheme is characterized in that any program user can become an independent service body after deployment through a set of codes (typically represented by WordPress open source program), and the general product scheme is different from custom developed products (websites or Apps) each with logic or structure differences. The universal product does not need to be developed separately for each user, and all users are the same set of program products, and different product forms and operation scenes are configured by templates and plug-ins. The general-purpose product scheme benefits from the software design concept of plug-in mechanism (plug in), and can expand the functions of the main program without modifying the main program.
However, when the development period of the mobile internet is entered, the program carrier is changed, and the mobile terminal user is not used to use the browser as a service carrier, so that the user commonly acts to install various independent software (App application program) on the mobile phone to use various services of the mobile internet, and the application mode is returned to the C/S structure. Since mobile terminal application programs (Web apps) developed by Web technology cannot compete with the experience of mobile terminal Native application programs (Native apps), companies or application programs mature in the field of mobile internet are Native developments adopted. But is limited by the cross-platform multi-terminal environment influence (a PC webpage terminal, a mobile webpage terminal, an iOS mobile terminal, an Android mobile terminal and an applet terminal) of the mobile internet, the MVC architecture of the traditional Web technology cannot cope with the general scheme scene of the cross-platform multi-terminal environment, whether the development is carried out in a native mode or a Web App mode, the webpage terminal and the client terminal are two different programming environments and operating environments, so that the development complexity is very high (a set of codes realizes various operating scenes and cross-platform multi-terminal deployment), and especially for forum community program products with changeable content forms, the cost of manpower and material resources is increased.
Therefore, how to realize various operation scenes and cross-platform multi-terminal deployment forum community programs on the basis of not increasing the cost is a technical problem to be solved at present.
Disclosure of Invention
The application provides a control method of a cross-platform universal forum community program, which is used for solving the technical problems of high research and development cost caused by high research and development complexity when realizing various operation scenes of a forum community program product and cross-platform multi-terminal deployment in the prior art.
The forum community program comprises a host program and a plug-in mechanism-based parasitic program, the parasitic program comprises a front-end parasitic program and or a back-end parasitic program, and the method comprises:
loading the parasitic program to a designated position of a functional interface of the host program according to the front-end category of the forum community program; such as an editor interface, a user profile management interface, a content presentation and interaction interface, etc.
If the touch operation on the appointed position is detected, calling a script of a plug-in corresponding to the parasitic program;
wherein the plug-in mechanism is an HTML5 based plug-in mechanism.
Preferably, the parasitic program is loaded to a designated position of a functional interface of the host program according to the front-end category of the forum community program, specifically:
determining a matching running environment of the parasitic program according to the front-end category;
and loading the parasitic program to the appointed position according to the matched running environment.
Preferably, the front-end class includes a web page end, a mobile end and an applet end, and the determining the matching operation environment of the parasitic program according to the front-end class specifically includes:
if the front-end class is the webpage end, the matched operation environment is an operation environment based on HTML 5;
if the front-end class is the mobile end, the matched operating environment is an operating environment based on an applet SDK or HTML 5;
and if the front-end class is the applet end, the matched operating environment is an operating environment based on an applet plug-in or WebView.
Preferably, the structure of the forum community program comprises a front end, a back end running plug-in and/or a front end running plug-in, and the front end communicates with the back end based on an API.
Preferably, the disposing mode of the forum community program comprises: the method comprises the steps of private deployment back end and private deployment front end, or private deployment back end and SaaS service front end, or SaaS service back end and private deployment front end, or SaaS service back end and SaaS service front end.
Correspondingly, the application also provides a control system of the cross-platform universal forum community program, wherein the forum community program comprises a host program and a parasitic program based on a plug-in mechanism, the parasitic program comprises a front-end parasitic program and or a back-end parasitic program, and the system comprises:
the loading module is used for loading the parasitic program to a designated position of a functional interface of the host program according to the front-end category of the forum community program;
the calling module is used for calling the script of the plug-in corresponding to the parasitic program if the touch operation on the designated position is detected;
wherein the plug-in mechanism is an HTML5 based plug-in mechanism.
Preferably, the loading module is specifically configured to:
determining a matching running environment of the parasitic program according to the front-end category;
and loading the parasitic program to the appointed position according to the matched running environment.
Preferably, the front-end category includes a web page end, a mobile end, and an applet end, and the loading module is further specifically configured to:
if the front-end class is the webpage end, the matched operation environment is an operation environment based on HTML 5;
if the front-end class is the mobile end, the matched operating environment is an operating environment based on an applet SDK or HTML 5;
and if the front-end class is the applet end, the matched operating environment is an operating environment based on an applet plug-in or WebView.
Preferably, the structure of the forum community program comprises a front end, a back end running plug-in and/or a front end running plug-in, and the front end communicates with the back end based on an API.
Preferably, the disposing mode of the forum community program comprises: the method comprises the steps of private deployment back end and private deployment front end, or private deployment back end and SaaS service front end, or SaaS service back end and private deployment front end, or SaaS service back end and SaaS service front end.
Compared with the prior art, the application has the following beneficial effects:
the application discloses a control method and a system of a cross-platform universal forum community program, wherein the forum community program comprises a host program and a parasitic program based on a plug-in mechanism, the parasitic program comprises a front-end parasitic program and/or a rear-end parasitic program, and the method comprises the following steps: loading the parasitic program to a designated position of a functional interface of the host program according to the front-end category of the forum community program; if the touch operation on the designated position is detected, a script of a plug-in corresponding to the parasitic program is called, the parasitic program is constructed in the host program through a framework structure of a host and parasitic relations, commonly used components and APIs are packaged in a cross-platform manner and integrated into the program, the problem that the programs and plug-in mechanisms cannot be realized due to different programming languages and operating environments of all terminals in a cross-platform manner is solved, various operation scenes and cross-platform multi-terminal deployment forum community programs are realized on the basis of not increasing research and development cost, a set of forum community programs is not required to be developed from zero, labor and material cost is saved, and new service scenes can be rapidly expanded.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a flow diagram of a control method of a cross-platform universal forum community program according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a framework of a forum community program in an embodiment of the application;
FIG. 3 is a schematic diagram of a functional interface in a front-end publishing process according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a prototype (piece of content) of a content presentation module of an information flow list according to an embodiment of the present application;
fig. 5 shows a schematic structural diagram of a control system of a cross-platform universal forum community program according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
As described in the background art, the MVC architecture of the Web technology in the prior art cannot cope with the universal scheme scenario of the cross-platform multi-terminal environment, and the research and development complexity is high when implementing various operation scenarios of the forum community program product and the cross-platform multi-terminal deployment, so that the research and development cost is high.
In order to solve the above problems, an embodiment of the present application provides a control method for a cross-platform universal forum community program, where the forum community program includes a host program and a plug-in mechanism based parasitic program, where the parasitic program includes a front-end parasitic program and/or a back-end parasitic program, as shown in fig. 1, and the method includes the following steps:
and step S101, loading the parasitic program to a designated position of a functional interface of the host program according to the front-end category of the forum community program. Such as an editor interface, a user profile management interface, a content presentation and interaction interface, etc.
Community forum programs are a web tablet, referring to discussions initiated by different people around the same topic, like forums, bars, etc.
The host program, namely a general program product comprising a functional interface, can be developed based on Web or Native language, and can provide a set of flexible and changeable complete product solutions for program users through a framework structure of a theme template and a plug-in mechanism.
A plug-in is a computer program written in compliance with a standard application program interface, and is used to add specific functions required for an application program (e.g., web browser, email server, etc.) by interacting with the application program. Many software has plug-ins, most commonly games, web browser plug-ins, and media player plug-ins. For example, in the IE, after installing the related plug-in, the WEB browser can directly call the plug-in to process the specific type of file. Common plug-ins for IE browsers are: flash plug-ins, realPlayer plug-ins, MMS plug-ins, MIDI staff plug-ins, activeX plug-ins, etc.; further such as Winamp's DFX, also a plug-in. Preferably, the present application uses Web software plug-ins. The plug-in mechanism is an HTML5 based plug-in mechanism.
Parasitic programs are extended application programs based on plug-in mechanisms, and plug-ins can be automatically installed from a plug-in market, manually installed from a plug-in package, or automatically developed and installed. The forum community program can comprise a front end and a rear end, the front end can display a functional interface of a host program, different front ends can select different interface styles through a multi-theme template, corresponding parasitic programs which can run are generated according to different front end types, and the corresponding parasitic programs are loaded to designated positions of the functional interface, so that icons of the parasitic programs are displayed at the designated positions.
The designated position may be a relative coordinate position in the function interface, and when an instruction that the function interface of the host program is dragged or zoomed is received, the icon of the parasitic program is placed in the changed function interface of the host program according to the relative coordinate position.
In order to enable the parasitic program to be reliably loaded, in a preferred embodiment of the present application, the parasitic program is loaded to a designated position of a functional interface of the host program according to a front-end category of the forum community program, specifically:
determining a matching running environment of the parasitic program according to the front-end category;
and loading the parasitic program to the appointed position according to the matched running environment.
Specifically, different front-end classes correspond to different programming languages and operating environments, and only the corresponding operating environment in the parasitic program can be operated when being matched with the front-end class, so that the parasitic program can be loaded to the designated position according to the matched operating environment.
A mapping relationship of a back-end class and an associated front-end class may be pre-established, and a front-end class is determined from the back-end class and the mapping relationship before a matching operating environment of the parasitic program is determined from the front-end class.
It should be noted that, the solution of the above preferred embodiment is only one specific implementation solution provided by the present application, and other ways of loading the parasitic program to the specified location according to the front-end class are all within the protection scope of the present application.
In order to determine an accurate matching operation environment, in a preferred embodiment of the present application, the front-end class includes a web page end, a mobile end, and an applet end, and the matching operation environment of the parasitic program is determined according to the front-end class, specifically:
if the front-end class is the webpage end, the matched operation environment is an operation environment based on HTML 5;
if the front-end class is the mobile end, the matched operating environment is an operating environment based on an applet SDK or HTML 5;
and if the front-end class is the applet end, the matched operating environment is an operating environment based on an applet plug-in or WebView.
Specifically, the web page end may be a PC web page end and a mobile web page end, and the mobile end may be an iOS mobile end and an Android mobile end.
HTML5 is a specification of a core language HTML in the Web, content which is seen by a user when browsing a Web by using any means is originally in an HTML format, the content is converted into identifiable information in a browser through some technical processes, and if the front-end class is the Web page end, the matched operation environment is an operation environment based on the HTML 5; the SDK (Software Development Kit ) is generally a set of development tools for building application software for specific software packages, software frameworks, hardware platforms, operating systems, etc., and if the front-end class is the mobile end, the matching operation environment is an operation environment based on an applet SDK or HTML 5; the applet is an application which can be used without downloading and installing, and if the front-end class is the applet end, the matched operation environment is an operation environment based on an applet plug-in or WebView.
It should be noted that the solution of the above preferred embodiment is only a specific implementation solution provided by the present application, and those skilled in the art may determine the corresponding matching operation environment according to other front-end classes.
Step S102, if the touch operation on the designated position is detected, calling the script of the plug-in corresponding to the parasitic program.
The icon of the parasitic program maps the script of the parasitic program, namely maps the script of the corresponding plug-in, clicks the icon of the parasitic program in the designated position, namely enters the corresponding matched running environment, and enters the corresponding display or operation interface according to different plug-in functions, wherein the icon of the parasitic program comprises various data content forms, such as picture content, video content, audio content, voting content, rewarding content, pay browsing content, game interaction content and the like. And if the touch operation on the appointed position is detected, calling the script of the plug-in corresponding to the parasitic program. When the script of the plug-in corresponding to the parasitic program is called, the parasitic program can be presented based on a partial view or a full screen view.
In order to reliably implement cross-terminal operation, in a preferred embodiment of the present application, the structure of the forum community program includes a front end, a back end operation plug-in and/or a front end operation plug-in, where the front end communicates with the back end based on an API.
The back end is the setting and content management end of the whole program;
as described above, the front end may be a PC webpage end, a mobile webpage end, an iOS mobile end, an Android mobile end, an applet end, etc., and the front end may select different interface styles through the theme template.
The back-end running plug-in can enhance the back-end management function, control the condition and mode of the program output data (such as ordering rule, user head portrait size and the like), and assist the front-end plug-in management configuration (such as the use authority of the function plug-in and the expansion buttons of content presentation). The front-end operation plug-in can enhance functions and content form types, and expand the channel functions of the product terminal. The back-end running plug-in and the front-end running plug-in can be configured separately or simultaneously as needed.
The front end communicates with the back end based on the API.
Those skilled in the art can set the structure of other types of forum community programs according to actual needs, which does not affect the protection scope of the present application.
In order to further reliably implement cross-terminal operation, in a preferred embodiment of the present application, the deployment method of the forum community program includes: the method comprises the steps of private deployment back end and private deployment front end, or private deployment back end and SaaS service front end, or SaaS service back end and private deployment front end, or SaaS service back end and SaaS service front end. The SaaS service mode is a service end with a unified entry, and can be directly registered and used without technical deployment of a program user.
Other deployment modes can be flexibly selected by those skilled in the art, and the protection scope of the application is not affected.
By applying the technical scheme, the parasitic program is loaded to the appointed position of the functional interface of the host program according to the front-end category of the forum community program; if the touch operation on the designated position is detected, a script of a plug-in corresponding to the parasitic program is called, the parasitic program is constructed in the host program through a framework structure of a host and parasitic relations, commonly used components and APIs are packaged in a cross-platform manner and integrated into the program, the problem that the programs and plug-in mechanisms cannot be realized due to different programming languages and operating environments of all terminals in a cross-platform manner is solved, various operation scenes and cross-platform multi-terminal deployment forum community programs are realized on the basis of not increasing research and development cost, a set of forum community programs is not required to be developed from zero, labor and material cost is saved, and new service scenes can be rapidly expanded.
In order to further explain the technical idea of the application, the technical scheme of the application is described with specific application scenarios.
The embodiment of the application provides a control method of a cross-platform universal forum community program, which is characterized in that common components and APIs are subjected to cross-platform encapsulation through a framework structure (a main program and a built-in standard running environment) of a host and parasitic relations, so that a multi-terminal unified theme template and plug-in mechanism are realized. The template and the plug-in developer can be covered in multiple ends only by developing once; the method has the advantages that a program user does not need to customize and develop, and can configure various cross-platform multi-terminal (PC webpage terminal, mobile webpage terminal, iOS mobile terminal and Android mobile terminal) product forms and operation scenes by combining templates and plug-in services only by a set of general program products (privately deployed or SaaS deployed).
In the MVC architecture of Web technology, the technical scheme of using a general product is hook programming (hook), and hooks are embedded in the program, so that a template and plug-in developer can realize more rich functions of the product based on the hooks, and the program user can realize the diversity of the product by only installing plug-ins with various functions without modifying codes of the program. However, the running environment of the mobile terminal is not limited to a browser, more applications are native, and the hook mechanism cannot achieve multi-terminal consistent universal type.
In the embodiment of the application, the forum community program constructs a parasitic program (an operating environment based on the small program SDK or HTML5 technology) in a host program (a general product) through a framework structure of a host and parasitic relations, packages commonly used components and APIs in a cross-platform manner, integrates the commonly used components and APIs into the program, and realizes a cross-platform multi-terminal unified theme template and plug-in mechanism, and the product structure is divided into a back end, a front end and a plug-in mechanism (a back end operating plug-in and a front end operating plug-in) as shown in fig. 2.
The rear end: and setting and content management of the whole program.
Front end: the method comprises a PC webpage end, a mobile webpage end, an iOS mobile end, an Android mobile end, an applet end and the like, and the front end can select different interface styles through a theme template.
Plug-in mechanism-backend operation: the back-end management function is enhanced, the condition and the mode (such as ordering rule, user head portrait size and the like) of the output data of the program are controlled, and the front-end plug-in management configuration (such as the use authority of the function plug-in and the expansion button of content presentation) is assisted.
Plug-in mechanism-front end operation: enhancing the function and the content form category, and expanding the channel function of the product terminal.
The forum community program is deployed in the following modes: the system comprises a private deployment back end, a private deployment front end, a private deployment back end, a SaaS service front end, a SaaS service back end, a private deployment front end, a SaaS service back end and a SaaS service front end. The SaaS service mode is a service end with a unified entry, and can be directly registered and used without technical deployment of a program user.
The back end is developed by Web programming language (such as PHP, java, python, go) and adopts a front-back end separation structure, the front end communicates with the back end through an API, and the program is provided with a plug-in mechanism (plug in), so that the functions of the main program can be expanded without modifying the main program.
The front end uses Native language development (Web/Native App), built-in applet SDK or HTML5 WebView, the commonly used components and APIs are packaged in a cross-platform manner, the plug-in function operates in the built-in (parasitic program) standard environment and communicates data with a main program (host program), and the front end is divided into a PC webpage end, a mobile webpage end, an iOS mobile end, an Android mobile end, an applet end and the like.
Implementation scenario one
The program manager installs a "voting" function plug-in, as shown in figure 3, will increase a "voting" expanded function in the front end, open the built-in standard environment (parasitic program) and visit the plug-in function page after touching, after finishing the setting of the voting item and returning to the editing page, the "voting" expanded content is shown under the text like the small tail column after returning, can continue editing the content or release; after release, in the information presentation, as shown in fig. 4, a picture (content is not limited, but can be a voting screenshot) designated by a plug-in is presented in a general column Huang Kuangli (height is not limited) below the post, a built-in standard environment (parasitic program) is opened after the clicking and the voting page is accessed, and the voting or the unauthorized voting can be operated, and the specific form is determined by the plug-in function.
Implementation scenario two
The program manager installs a "I draw you guess" function plug-in, and there is one more "I draw you guess" extended function in the front end, after touching, opens the built-in standard environment (parasitic program) and accesses the plug-in function page, the user draws a graph using the plug-in function, after the touch is finished, the content set by the plug-in is in a main post form (not shown in a small tail form), so that the plug-in changes an editing and inputting mode into 'plug-in input' and places the generated drawing into a text; when editing becomes plug-in input, the user can not input or edit the content any more, but can only edit 'I draw you guess' or cancel posting through the plug-in; after the user posts, as the plug-in function is interactive, the plug-in also defines that each reply is followed by a confirmation button for confirming the normal answer, the post-user can click to confirm who is guessing, after clicking, the function of the content form is totally finished, the selected reply is changed into a designated picture (such as a best answer seal), and the rest of the people are restored to a state without any function expansion.
Implementation scenario three
The program manager installs a "mall" extension channel plug-in, which has mall management functions (commodity management, order management, distribution management, etc.) on the back end, and uses the "mall" function by a front end user through a small program-like operation mode, and the mall plug-in functions operate in a built-in standard (parasitic program) environment and communicate data with a main program (host program).
Program users with different service modes uniformly use the universal community products (the back end and the front end), and can use various functional plug-ins and configuration modes through a plug-in mechanism to realize product forms and operation scenes with different functions. The functional plug-in can carry out data communication with a host in a parasitic operation environment through the hybrid structure, so that editing of more content forms is realized; matching with the output display of more content forms of the release module, and enabling the content display forms and interaction forms to take effect; independent of the content-wise extension services, the host program is provided with more extension channels or functions in the parasitic program running environment, such as malls, online education, live, games, etc. The program user can be completely new to install and use, the technical scheme can be integrated into the existing product, community functions can be added for the existing product without development, a plurality of plug-in supports in ecology can be obtained through a plug-in mechanism at the rear end, a forum community program does not need to be developed from zero, labor and material cost is saved, and a new service scene is rapidly expanded.
Corresponding to a control method of a cross-platform universal forum community program in the embodiment of the present application, the embodiment of the present application further provides a control system of the cross-platform universal forum community program, where the forum community program includes a host program and a parasitic program based on a plug-in mechanism, the parasitic program includes a front-end parasitic program and/or a back-end parasitic program, and the plug-in mechanism is an HTML 5-based plug-in mechanism, as shown in fig. 5, including:
a loading module 501, configured to load the parasitic program to a specified location of a functional interface of the host program according to a front-end class of the altar community program;
and the calling module 502 is configured to call a script of a plug-in corresponding to the parasitic program if a touch operation on the specified location is detected.
In a specific application scenario of the present application, the loading module 501 is specifically configured to:
determining a matching running environment of the parasitic program according to the front-end category;
and loading the parasitic program to the appointed position according to the matched running environment.
In a specific application scenario of the present application, the loading module 501 is further specifically configured to:
if the front-end class is the webpage end, the matched operation environment is an operation environment based on HTML 5;
if the front-end class is the mobile end, the matched operating environment is an operating environment based on an applet SDK or HTML 5;
and if the front-end class is the applet end, the matched operating environment is an operating environment based on an applet plug-in or WebView.
In a specific application scenario of the present application, the structure of the forum community program includes a front end, a back end running plug-in and/or a front end running plug-in, where the front end and the back end communicate based on an API.
In a specific application scenario of the present application, the deployment mode of the forum community program includes: the method comprises the steps of private deployment back end and private deployment front end, or private deployment back end and SaaS service front end, or SaaS service back end and private deployment front end, or SaaS service back end and SaaS service front end.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be appreciated by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (4)

1. A control method of a cross-platform universal forum community program is characterized in that the forum community program comprises a host program and a parasitic program based on a plug-in mechanism, the parasitic program comprises a front-end parasitic program and/or a back-end parasitic program, and the method comprises the following steps:
loading the parasitic program to a designated position of a functional interface of the host program according to the front-end category of the forum community program;
if the touch operation on the appointed position is detected, calling a script of a plug-in corresponding to the parasitic program;
wherein the plug-in mechanism is an HTML5 based plug-in mechanism;
loading the parasitic program to a designated position of a functional interface of the host program according to the front-end category of the forum community program, specifically:
determining a matching running environment of the parasitic program according to the front-end category;
loading the parasitic program to the designated position according to the matched running environment;
the front-end category comprises a webpage end, a mobile end and an applet end, and the matching operation environment of the parasitic program is determined according to the front-end category, specifically:
if the front-end class is the webpage end, the matched operation environment is an operation environment based on HTML 5;
if the front-end class is the mobile end, the matched operating environment is an operating environment based on an applet SDK or HTML 5;
if the front-end class is the applet end, the matched operating environment is an operating environment based on an applet plug-in or WebView;
the structure of the forum community program comprises a front end, a rear end operation plug-in and/or a front end operation plug-in, wherein the front end and the rear end are in communication based on an API;
generating corresponding parasitic programs according to different front-end categories, and loading the corresponding parasitic programs to the appointed positions of the functional interfaces, so that icons of the parasitic programs are displayed at the appointed positions;
the appointed position is a relative coordinate position in the function interface, when an instruction that the function interface of the host program is dragged or zoomed is received, the icon of the parasitic program is placed in the changed function interface of the host program according to the relative coordinate position;
pre-establishing a mapping relation between a back-end category and an associated front-end category, and determining the front-end category according to the back-end category and the mapping relation before determining a matching operation environment of the parasitic program according to the front-end category;
the back-end operation plug-in enhances a back-end management function, controls conditions and modes of data output by a program, and assists management configuration of the front-end plug-in;
clicking an icon of the parasitic program in the designated position, entering a corresponding matched running environment, entering a corresponding display or operation interface according to different plug-in functions, and displaying the parasitic program based on a partial view or a full-screen view when calling a script of a plug-in corresponding to the parasitic program.
2. The method of claim 1, wherein the manner of deployment of the forum community program comprises: the method comprises the steps of private deployment back end and private deployment front end, or private deployment back end and SaaS service front end, or SaaS service back end and private deployment front end, or SaaS service back end and SaaS service front end.
3. A control system for a cross-platform generic forum community program, the forum community program comprising a host program and a plug-in mechanism based parasitic program, the parasitic program comprising a front-end parasitic program and/or a back-end parasitic program, the system comprising:
the loading module is used for loading the parasitic program to a designated position of a functional interface of the host program according to the front-end category of the forum community program;
the calling module is used for calling the script of the plug-in corresponding to the parasitic program if the touch operation on the designated position is detected;
wherein the plug-in mechanism is an HTML5 based plug-in mechanism;
the loading module is specifically configured to:
determining a matching running environment of the parasitic program according to the front-end category;
loading the parasitic program to the designated position according to the matched running environment;
the front-end category comprises a webpage end, a mobile end and an applet end, and the loading module is further specifically configured to:
if the front-end class is the webpage end, the matched operation environment is an operation environment based on HTML 5;
if the front-end class is the mobile end, the matched operating environment is an operating environment based on an applet SDK or HTML 5;
if the front-end class is the applet end, the matched operating environment is an operating environment based on an applet plug-in or WebView;
the structure of the forum community program comprises a front end, a rear end operation plug-in and/or a front end operation plug-in, wherein the front end and the rear end are in communication based on an API;
generating corresponding parasitic programs according to different front-end categories, and loading the corresponding parasitic programs to the appointed positions of the functional interfaces, so that icons of the parasitic programs are displayed at the appointed positions;
the appointed position is a relative coordinate position in the function interface, when an instruction that the function interface of the host program is dragged or zoomed is received, the icon of the parasitic program is placed in the changed function interface of the host program according to the relative coordinate position;
pre-establishing a mapping relation between a back-end category and an associated front-end category, and determining the front-end category according to the back-end category and the mapping relation before determining a matching operation environment of the parasitic program according to the front-end category;
the back-end operation plug-in enhances a back-end management function, controls conditions and modes of data output by a program, and assists management configuration of the front-end plug-in;
clicking an icon of the parasitic program in the designated position, entering a corresponding matched running environment, entering a corresponding display or operation interface according to different plug-in functions, and displaying the parasitic program based on a partial view or a full-screen view when calling a script of a plug-in corresponding to the parasitic program.
4. The system of claim 3, wherein the forum community program is deployed in a manner comprising: the method comprises the steps of private deployment back end and private deployment front end, or private deployment back end and SaaS service front end, or SaaS service back end and private deployment front end, or SaaS service back end and SaaS service front end.
CN202010813511.0A 2020-08-13 2020-08-13 Control method and system for cross-platform universal forum community program Active CN111913698B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010813511.0A CN111913698B (en) 2020-08-13 2020-08-13 Control method and system for cross-platform universal forum community program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010813511.0A CN111913698B (en) 2020-08-13 2020-08-13 Control method and system for cross-platform universal forum community program

Publications (2)

Publication Number Publication Date
CN111913698A CN111913698A (en) 2020-11-10
CN111913698B true CN111913698B (en) 2023-12-15

Family

ID=73284651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010813511.0A Active CN111913698B (en) 2020-08-13 2020-08-13 Control method and system for cross-platform universal forum community program

Country Status (1)

Country Link
CN (1) CN111913698B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391700A (en) * 2014-11-11 2015-03-04 百度在线网络技术(北京)有限公司 Method and device for expanding functions of application program
CN104598225A (en) * 2014-12-31 2015-05-06 百度在线网络技术(北京)有限公司 Method, device and system for inserting view information into page
CN109284147A (en) * 2018-09-06 2019-01-29 平安科技(深圳)有限公司 A kind of plug-in unit adaptation method and device
CN111212183A (en) * 2019-12-12 2020-05-29 上海连尚网络科技有限公司 Method and equipment for running hosted application

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112016003949T5 (en) * 2015-08-28 2018-05-17 Roman Glistvain WEB-BASED PROGRAMMING ENVIRONMENT FOR EMBEDDED EQUIPMENT

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391700A (en) * 2014-11-11 2015-03-04 百度在线网络技术(北京)有限公司 Method and device for expanding functions of application program
CN104598225A (en) * 2014-12-31 2015-05-06 百度在线网络技术(北京)有限公司 Method, device and system for inserting view information into page
CN109284147A (en) * 2018-09-06 2019-01-29 平安科技(深圳)有限公司 A kind of plug-in unit adaptation method and device
CN111212183A (en) * 2019-12-12 2020-05-29 上海连尚网络科技有限公司 Method and equipment for running hosted application

Also Published As

Publication number Publication date
CN111913698A (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN107992301B (en) User interface implementation method, client and storage medium
CN102077233B (en) Extended user profile
CN111026396B (en) Page rendering method and device, electronic equipment and storage medium
CN105955888B (en) Page debugging preview method and system
KR20140144104A (en) Electronic apparatus and Method for providing service thereof
KR20140147329A (en) electro device for displaying lock screen and method for contorlling thereof
CN111459586B (en) Remote assistance method, device, storage medium and terminal
WO2020143159A1 (en) User interface processing method and device
CN114064024A (en) Method, apparatus, device, storage medium, and program product for developing micro-application
CN113965829A (en) Internet of things equipment control method, device, equipment and medium based on 5G message
CN113268212A (en) Screen projection method and device, storage medium and electronic equipment
KR101161946B1 (en) Smart-phone application development system and developing method thereof
CN111796820A (en) Method and device for constructing front-end page based on integrated assembly and electronic equipment
EP2540066A2 (en) System and method for providing end to end interactive mobile applications using sms
US20170039037A1 (en) Live mobile application visual editor demo
CN108319474A (en) A kind of page info generation method, device and equipment
US20200285450A1 (en) System for providing instant preview of a mobile application under development
CN111913698B (en) Control method and system for cross-platform universal forum community program
CN105069328B (en) A kind of data processing method and device
CN112214202B (en) Mobile phone program development system without writing codes
CN112445501A (en) Data burning method and device and computer readable storage medium
CN115687816A (en) Resource processing method and device
CN113239172A (en) Conversation interaction method, device, equipment and storage medium in robot group
CN110853643A (en) Method, device, equipment and storage medium for voice recognition in fast application
KR100859595B1 (en) System for providing mobile mash-up service for mobile telecommunication terminal and method thereof

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
TA01 Transfer of patent application right

Effective date of registration: 20231109

Address after: 215400 room 801, building 11, University Science Park, 20 Jianxiong Road, science and education new town, Taicang City, Suzhou City, Jiangsu Province

Applicant after: Fresens (Suzhou) Technology Co.,Ltd.

Address before: Room 504, No. 524, Sunshine100 International City, Huishan District, Wuxi City, Jiangsu Province, 214000

Applicant before: Tang Jie

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant