CN111913698A - Cross-platform universal forum community program control method and system - Google Patents

Cross-platform universal forum community program control method and system Download PDF

Info

Publication number
CN111913698A
CN111913698A CN202010813511.0A CN202010813511A CN111913698A CN 111913698 A CN111913698 A CN 111913698A CN 202010813511 A CN202010813511 A CN 202010813511A CN 111913698 A CN111913698 A CN 111913698A
Authority
CN
China
Prior art keywords
program
plug
parasitic
operation environment
forum community
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.)
Granted
Application number
CN202010813511.0A
Other languages
Chinese (zh)
Other versions
CN111913698B (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
Individual
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 Individual filed Critical Individual
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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a cross-platform universal forum community program control method and a system, 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 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 specified position is detected, calling the script of the plug-in corresponding to the parasitic program, thereby realizing various operation scenes and cross-platform multi-terminal forum community deployment programs on the basis of not increasing the cost.

Description

Cross-platform universal forum community program control method and system
Technical Field
The application relates to the technical field of Internet communities and forum programs, in particular to a control method and a control system for a cross-platform universal forum community program.
Background
The earliest PC computer applications were only available as locally installed software (e.g., Microsoft Office software), while software capable of networking interactive data with remote servers was called C/S architecture (Client/Server). With the development of the technology, the world wide Web and the matched Browser are invented, and an application mode for providing services remotely through the Web technology based on the Browser is created, and the application mode which only provides services through the network without developing local application software is called as a B/S structure (Browser/Server), and the industry mode is defined as the PC internet.
In the development period of the PC Internet, a universal product scheme capable of being flexibly configured and an open source program ecology are developed by virtue of the flexibility of an MVC (Model-View-Controller) of a Web technology. The product can provide a set of flexible and changeable complete product solutions (such as WordPress, Discuz, PHPWind and other products) for a program user through a frame structure of a Theme template (Theme) and a plug-in mechanism (Plugin), and after the program user deploys a server, the program user can realize various product forms only through operations of configuration, plug-in installation and the like of a rear end so as to be 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 a WordPress open source program), and the service body is different from each of customized and developed products (websites or apps) in logic or structure. The universal product does not need to be developed independently for each user, all users are the same program product, and different product forms and operation scenes are configured through templates and plug-ins. The general product scheme benefits from the software design idea of a plug-in mechanism (plug), and the functions of the main program can be expanded without modifying the main program.
However, in the development period of the mobile internet, the program carrier is changed, the user does not have the habit of using a browser as a service carrier at the mobile terminal, the common behavior of the user is to install various independent software (App application) on the mobile phone to use various services of the mobile internet, and the application mode returns to the C/S structure. Since a mobile application (Web App) developed by Web technology cannot match the experience of a mobile Native application (Native App), companies and applications that are mature in the field of mobile internet are both developed as Native. However, the MVC architecture of the conventional Web technology cannot cope with a universal scheme scene of a cross-platform multi-terminal environment (a PC Web page terminal, a mobile Web page terminal, an iOS mobile terminal, an Android mobile terminal, and an applet terminal), and the Web page terminal and the client terminal are two different programming environments and operating environments no matter native development or Web App mode development, so that the research and development complexity is very high (one set of codes realizes multiple operating scenes and cross-platform multi-terminal deployment), and particularly, for forum class program products with variable content forms, the costs of manpower and material resources are increased.
Therefore, how to implement various operation scenarios and cross-platform multi-terminal forum community deployment programs on the basis of not increasing the cost is a technical problem to be solved at present.
Disclosure of Invention
The invention provides a cross-platform universal forum community program control method, which is used for solving the technical problems of high research and development complexity and high research and development cost in the prior art when multiple operation scenes and cross-platform multi-terminal deployment of forum community program products are realized.
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 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; such as editor interfaces, user profile management interfaces, content presentation and interaction interfaces, and the like.
If the touch operation on the specified position is detected, calling a script of the plug-in corresponding to the parasitic program;
wherein the plug-in mechanism is a plug-in mechanism based on HTML 5.
Preferably, the loading the parasitic program to a designated location of the functional interface of the host program according to the front-end category of the forum community program specifically includes:
determining a matching operation environment of the parasitic program according to the front-end category;
and loading the parasitic program to the specified 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 matching operation environment of the parasitic program is determined according to the front-end category, specifically:
if the front-end category is the webpage end, the matching operation environment is an operation environment based on HTML 5;
if the front-end type is the mobile end, the matching operation environment is an operation environment based on an applet SDK or HTML 5;
and if the front end type is the applet end, the matching operation environment is an operation environment based on an applet plug-in or WebView.
Preferably, the forum community program structure includes a front end, a back end running plug-in and/or a front end running plug-in, and the front end and the back end communicate with each other based on API.
Preferably, the deployment mode of the forum community program includes: the software-as-a-service system comprises a private deployment back-end and a private deployment front-end, or a private deployment back-end and a SaaS service front-end, or a SaaS service back-end and a private deployment front-end, or a SaaS service back-end and a SaaS service front-end.
Correspondingly, the invention 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 the appointed position of the 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 specified position is detected;
wherein the plug-in mechanism is a plug-in mechanism based on HTML 5.
Preferably, the loading module is specifically configured to:
determining a matching operation environment of the parasitic program according to the front-end category;
and loading the parasitic program to the specified 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 category is the webpage end, the matching operation environment is an operation environment based on HTML 5;
if the front-end type is the mobile end, the matching operation environment is an operation environment based on an applet SDK or HTML 5;
and if the front end type is the applet end, the matching operation environment is an operation environment based on an applet plug-in or WebView.
Preferably, the forum community program structure includes a front end, a back end running plug-in and/or a front end running plug-in, and the front end and the back end communicate with each other based on API.
Preferably, the deployment mode of the forum community program includes: the software-as-a-service system comprises a private deployment back-end and a private deployment front-end, or a private deployment back-end and a SaaS service front-end, or a SaaS service back-end and a private deployment front-end, or a SaaS service back-end and a SaaS service front-end.
Compared with the prior art, the invention has the following beneficial effects:
the invention discloses a cross-platform universal forum community program control method and a system, 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 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 the plug-in corresponding to the parasitic program is called, the parasitic program is constructed in the host program through a frame structure of a host and a parasitic relation, a commonly-used component and an API are packaged in a cross-platform mode and integrated into the program, the problem that the program and the plug-in mechanism cannot be realized in a universal mode due to the fact that programming languages and operating environments of terminals of the cross-platform mode are different is solved, various operation scenes and cross-platform multi-terminal forum community programs are achieved on the basis that research and development costs are not increased, a set of forum community programs do not need to be developed, labor and material cost is saved, and new service scenes can be expanded quickly.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for controlling a cross-platform general forum community program according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a framework structure of a forum community program in an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating an exhibition form of a function interface in a front-end publishing process according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a prototype content presentation module (a piece of content) for a flow list in accordance with an embodiment of the present invention;
fig. 5 is a schematic structural diagram illustrating a control system of a cross-platform general forum community program according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, 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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As described in the background art, the MVC architecture of the Web technology in the prior art cannot cope with a general scheme scenario of a cross-platform multi-terminal environment, and has high research and development complexity when implementing multiple operation scenarios and cross-platform multi-terminal deployment of forum community program products, which results in high research and development cost.
In order to solve the above problem, an embodiment of the present application provides a method for controlling a cross-platform general forum community program, where the forum community program includes a host program and a parasitic program based on a plug-in mechanism, and the parasitic program includes a front-end parasitic program and/or a back-end parasitic program, as shown in fig. 1, the method includes the following steps:
and S101, loading the parasitic program to a specified position of a functional interface of the host program according to the front-end type of the forum community program. Such as editor interfaces, user profile management interfaces, content presentation and interaction interfaces, and the like.
The community forum program is a network plate, which refers to discussions that different people bring about the same topic, and similarly, forums, posts, and the like.
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 a standardized application program interface, which interacts with an application program (e.g., a web browser, an email server, etc.) to add specific functions to the application program. Many software have plug-ins, the most common being those for games, web browsers, and media players. For example, in the IE, after installing the relevant plug-in, the WEB browser can directly call the plug-in to process a 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, and the like; for example, Winamp DFX is also a plug-in. Preferably, the present invention uses a Web software plug-in. The plug-in mechanism is based on HTML 5.
The parasitic program is an extended application program based on a plug-in mechanism, and the plug-in can obtain automatic installation from a plug-in market, or obtain a plug-in package for manual installation, or autonomously develop plug-in installation. The forum community program can comprise a front end and a back end, the front end can display a functional interface of a host program, different front ends can select different interface styles through a multi-topic template, corresponding parasitic programs which can be operated are generated according to different front end categories, and the corresponding parasitic programs are loaded to the 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 functional interface, and when an instruction that the functional interface of the host program is dragged or zoomed is received, the icon of the parasitic program is placed in the changed functional interface of the host program according to the relative coordinate position.
In order to reliably load a parasitic program, in a preferred embodiment of the present application, the parasitic program is loaded to a specified position of a functional interface of the host program according to a front-end category of the forum community program, specifically:
determining a matching operation environment of the parasitic program according to the front-end category;
and loading the parasitic program to the specified position according to the matched running environment.
Specifically, different front-end categories correspond to different programming languages and operating environments, and only the operating environment corresponding to the parasitic program is matched with the front-end category, so that the parasitic program can be loaded to the specified position according to the matched operating environment.
A mapping relationship between a back-end category and an associated front-end category may be pre-established, and a front-end category may be determined according to the back-end category and the mapping relationship before determining a matching operating environment of the parasitic program according to the front-end category.
It should be noted that the above solution of the preferred embodiment is only a specific implementation solution proposed in the present application, and other ways of loading the parasitic program to the specified location according to the front-end category all belong to 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 category includes a web page end, a mobile end, and an applet end, and the determining a matching operation environment of the parasitic program according to the front-end category specifically includes:
if the front-end category is the webpage end, the matching operation environment is an operation environment based on HTML 5;
if the front-end type is the mobile end, the matching operation environment is an operation environment based on an applet SDK or HTML 5;
and if the front end type is the applet end, the matching operation environment is an operation environment based on an applet plug-in or WebView.
Specifically, the web page terminal may be a PC web page terminal and a mobile web page terminal, and the mobile terminal may be an iOS mobile terminal and an Android mobile terminal.
HTML5 is a specification of core language HTML in Web, content viewed by a user when browsing a Web page by any means is originally in HTML format, and is converted into information recognizable by some technical processes in a browser, and if the front-end category is the Web page end, the matching operation environment is an operation environment based on HTML 5; the SDK (Software Development Kit) is generally a set of Development tools for establishing application Software for a specific Software package, a Software framework, a hardware platform, an operating system, and the like, and if the front-end category is the mobile end, the matching running environment is a running 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 type is the applet end, the matching operation environment is an operation environment based on an applet plug-in or WebView.
It should be noted that the above solution of the preferred embodiment is only one specific implementation solution proposed in the present application, and those skilled in the art may also determine the corresponding matching operation environment according to other front-end categories.
And step S102, if the touch operation on the specified position is detected, calling a script of the plug-in corresponding to the parasitic program.
The icon of the parasitic program is mapped to the script of the parasitic program, namely the script of the corresponding plug-in is mapped, the icon of the parasitic program in the designated position is clicked, namely the corresponding matched running environment is entered, and the corresponding display or operation interface is entered according to different plug-in functions, wherein the corresponding display or operation interface 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 specified 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 displayed based on a local 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, and the front end and the back end communicate with each other based on an API.
The back end is a setting and content management end of the whole program;
as described above, the front end may be a PC web page end, a mobile web page end, an iOS mobile end, an Android mobile end, an applet end, or the like, and the front end may select different interface styles through the theme template.
The back-end running plug-in can enhance the background management function, control the condition and mode of program output data (such as sorting rule, user head portrait size and the like), and assist the front-end plug-in to manage configuration (such as the use authority of the functional plug-in and the extension button of content display). The front-end operation plug-in can enhance the functions and the content form types and expand the functions of product terminal channels. The back-end run plug-in and the front-end run plug-in may be configured separately or simultaneously as desired.
The front end and the back end communicate based on the API.
Those skilled in the art can also set the structure of other types of forum community programs according to actual needs, which does not affect the scope of the present application.
In order to further reliably implement cross-terminal operation, in a preferred embodiment of the present application, the deployment manner of the forum community program includes: the software-as-a-service system comprises a private deployment back-end and a private deployment front-end, or a private deployment back-end and a SaaS service front-end, or a SaaS service back-end and a private deployment front-end, or a SaaS service back-end and a SaaS service front-end. The SaaS service mode is a service end with a unified entrance, and can be directly registered for use without technical deployment of program users.
Other arrangements may be flexibly selected by those skilled in the art without affecting the scope of the present application.
By applying the technical scheme, the parasitic program is loaded to the specified 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 the plug-in corresponding to the parasitic program is called, the parasitic program is constructed in the host program through a frame structure of a host and a parasitic relation, a commonly-used component and an API are packaged in a cross-platform mode and integrated into the program, the problem that the program and the plug-in mechanism cannot be realized in a universal mode due to the fact that programming languages and operating environments of terminals of the cross-platform mode are different is solved, various operation scenes and cross-platform multi-terminal forum community programs are achieved on the basis that research and development costs are not increased, a set of forum community programs do not need to be developed, labor and material cost is saved, and new service scenes can be expanded quickly.
In order to further illustrate the technical idea of the present invention, the technical solution of the present invention will now be described with reference to specific application scenarios.
The embodiment of the invention provides a control method of a cross-platform universal forum community program, which is characterized in that a common component and an API (application program interface) are packaged in a cross-platform manner through a frame structure (a main program and a built-in standard operating environment) of a host and a parasitic relation, and a multi-terminal unified theme template and plug-in mechanism are realized. The template and plug-in developers can cover multiple ends only by developing once; a program user does not need to customize and develop, and various cross-platform multi-end (PC webpage end, mobile webpage end, iOS mobile end and Android mobile end) product forms and operation scenes can be configured only by one set of general program products (private deployment or SaaS deployment) and combining templates and plug-in services.
In the MVC architecture of the Web technology, the technical scheme used by a universal product is hook programming (hook), hooks are embedded in a program, a template and plug-in developer can realize more abundant functions of the product based on the hooks, and a program user can realize the diversity of the product only by installing plug-ins with various functions without modifying the codes of the program. However, the running environment of the mobile terminal is not limited to the browser, and is more a native application program, and the hook mechanism cannot achieve the universal type of multi-terminal consistency.
In the embodiment of the invention, a forum community program constructs a parasitic program (an operating environment based on an applet SDK or HTML5 technology) in a host program (a general product) through a framework structure of a host and a parasitic relation, performs cross-platform packaging on common components and APIs (application programming interfaces), and integrates the common components and the APIs into the program to realize a cross-platform multi-end unified theme template and plug-in mechanism, wherein 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.
A rear end: and setting the whole program and managing the content.
Front end: the system 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 run: the method is characterized in that the method enhances the back-end management function, controls the conditions and modes of program output data (such as sorting rules, user head portrait size and the like), and assists the front-end plug-in managing configuration (such as the use authority of the function plug-in and an extension button for content presentation).
Plug-in mechanism-front-end run: enhancing the function and the content form and variety and expanding the channel function of the product terminal.
The forum community program deployment mode is as follows: the system comprises a private deployment back end and a private deployment front end, the private deployment back end and a SaaS service front end, the SaaS service back end and the private deployment front end, the SaaS service back end and the SaaS service front end. The SaaS service mode is a service end with a unified entrance, and can be directly registered for use without technical deployment of program users.
The back end is developed by Web programming language (such as PHP, Java, Python, Go and the like), a front-end and back-end separation structure is adopted, the front end communicates with the back end through API, and the program has a plug-in mechanism (plug), so that the functions of the main program can be expanded under the condition of not modifying the main program.
The front end uses Native language development (Web/Native App), a built-in applet SDK or HTML5 WebView, common components and APIs are packaged in a cross-platform mode, plug-in functions run in the built-in (parasitic program) standard environment and communicate 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
A program manager installs a 'voting' function plug-in, as shown in fig. 3, one 'voting' extension function is added in the front end, after the 'voting' extension function is touched, a built-in standard environment (a parasitic program) is opened, a plug-in function page is accessed, a user finishes voting item setting and returns to an editing page, after the 'voting' extension content is returned, a banner is displayed below the text like a small tail, and the 'voting' extension content can be continuously edited or issued; after the post is published, as shown in fig. 4, a picture (without limitation on content, which can be a voting item screenshot) specified by a plug-in is displayed in a banner yellow box (without limitation on height) below the post, after the post is touched, a built-in standard environment (a parasitic program) is opened, the voting page is accessed, and voting or unauthorized voting can be operated, wherein the specific form is determined by the function of the plug-in.
Implementation scenario two
The method comprises the following steps that a program manager installs a functional plug-in which I draw you guess, one more function is added in the front end, a built-in standard environment (parasitic program) is opened after touch-down, a plug-in function page is accessed, a user draws a picture by using the plug-in function, and after touch-down is completed, the plug-in changes an editing and inputting mode into a plug-in inputting mode and places the generated drawing picture into a text because the content mode set by the plug-in is in a main post mode (not displayed in a small tail mode); when the editing becomes the plug-in input, the user can not input or edit the content any more, and only can edit 'I draw you guess' or cancel posting through the plug-in; after the user posts, because the function of the plug-in is interactive, and needs to confirm who guesses, the plug-in also defines that each reply is followed by a confirmation button for confirming a normal answer, the posting user can click to determine who guesses, after clicking, the function of the content form is completely finished, the selected reply is changed into a designated picture (such as a 'best answer' seal), and the rest people are restored to the state without any function expansion.
Implementation scenario three
The program manager installs a "mall" extended channel plug-in, which has mall management functions (commodity management, order management, distribution management, etc.) at the back end, and uses the "mall" functions through a small program-like operation mode at the front end, 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 set of 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 a mixed structure, so that more content forms can be edited; the output display of more content forms of the publishing module is matched to enable the content display forms and the interaction forms to take effect; the extension service independent of the content form provides more extension channels or functions for the host program in the parasitic program running environment, such as shopping mall, online education, live broadcast, game and the like. The program user can be installed and used in a brand-new way, the technical scheme can be integrated into the existing product, the community function can be added to 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 set of forum community program does not need to be developed from zero, the labor and material cost is saved, and a new service scene is expanded rapidly.
Corresponding to the control method of the cross-platform general 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 general 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, the plug-in mechanism is a plug-in mechanism based on HTML5, 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 the front-end category of the forum community program;
the calling module 502 is configured to, if the touch operation on the specified location is detected, call a script of the plug-in corresponding to the parasitic program.
In a specific application scenario of the present application, the loading module 501 is specifically configured to:
determining a matching operation environment of the parasitic program according to the front-end category;
and loading the parasitic program to the specified 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 category is the webpage end, the matching operation environment is an operation environment based on HTML 5;
if the front-end type is the mobile end, the matching operation environment is an operation environment based on an applet SDK or HTML 5;
and if the front end type is the applet end, the matching operation environment is an operation environment based on an applet plug-in or WebView.
In a specific application scenario of the 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, and the front end and the back end communicate with each other based on an API.
In a specific application scenario of the present application, the deployment manner of the forum community program includes: the software-as-a-service system comprises a private deployment back-end and a private deployment front-end, or a private deployment back-end and a SaaS service front-end, or a SaaS service back-end and a private deployment front-end, or a SaaS service back-end and a SaaS service front-end.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for controlling a cross-platform general forum community program, wherein the forum community program comprises a host program and a parasitic program based on a plug-in mechanism, and 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 specified position is detected, calling a script of the plug-in corresponding to the parasitic program;
wherein the plug-in mechanism is a plug-in mechanism based on HTML 5.
2. The method of claim 1, wherein the loading of the parasitic program to a designated location of a functional interface of the host program according to the front-end category of the forum community program is specifically:
determining a matching operation environment of the parasitic program according to the front-end category;
and loading the parasitic program to the specified position according to the matched running environment.
3. The method according to claim 2, wherein the front-end categories include a web page side, a mobile side, and an applet side, and the determining the matching operating environment of the parasitic program according to the front-end categories specifically includes:
if the front-end category is the webpage end, the matching operation environment is an operation environment based on HTML 5;
if the front-end type is the mobile end, the matching operation environment is an operation environment based on an applet SDK or HTML 5;
and if the front end type is the applet end, the matching operation environment is an operation environment based on an applet plug-in or WebView.
4. The method of claim 1, wherein 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, the front-end and the back-end communicating based on an API.
5. The method of claim 4, wherein the forum community program is deployed in a manner comprising: the software-as-a-service system comprises a private deployment back-end and a private deployment front-end, or a private deployment back-end and a SaaS service front-end, or a SaaS service back-end and a private deployment front-end, or a SaaS service back-end and a SaaS service front-end.
6. A control system of a cross-platform general 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, the system comprises:
the loading module is used for loading the parasitic program to the appointed position of the 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 specified position is detected;
wherein the plug-in mechanism is a plug-in mechanism based on HTML 5.
7. The system of claim 6, wherein the loading module is specifically configured to:
determining a matching operation environment of the parasitic program according to the front-end category;
and loading the parasitic program to the specified position according to the matched running environment.
8. The system of claim 7, wherein the front-end categories include a web site, a mobile site, and an applet site, and the loading module is further configured to:
if the front-end category is the webpage end, the matching operation environment is an operation environment based on HTML 5;
if the front-end type is the mobile end, the matching operation environment is an operation environment based on an applet SDK or HTML 5;
and if the front end type is the applet end, the matching operation environment is an operation environment based on an applet plug-in or WebView.
9. The system of claim 6, wherein 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, the front-end and the back-end communicating based on an API.
10. The system of claim 9, wherein the forum community program is deployed in a manner comprising: the software-as-a-service system comprises a private deployment back-end and a private deployment front-end, or a private deployment back-end and a SaaS service front-end, or a SaaS service back-end and a private deployment front-end, or a SaaS service back-end and a 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 true CN111913698A (en) 2020-11-10
CN111913698B 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 (5)

* 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
US20170060726A1 (en) * 2015-08-28 2017-03-02 Turk, Inc. Web-Based Programming Environment for Embedded Devices
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

Patent Citations (5)

* 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
US20170060726A1 (en) * 2015-08-28 2017-03-02 Turk, Inc. Web-Based Programming Environment for Embedded Devices
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
CN111913698B (en) 2023-12-15

Similar Documents

Publication Publication Date Title
CN104636139B (en) One kind visualizes cross-platform mobile application exploitation and generation system
CN105955888B (en) Page debugging preview method and system
CN107391134B (en) Method and device for automatically generating and dynamically transforming universal mobile application interactive interface
US20090313004A1 (en) Platform-Independent Application Development Framework
KR102122451B1 (en) Method of operating platform supporting application development and server providing platform
WO2022247594A1 (en) Page rendering method and apparatus, electronic device, computer-readable storage medium, and computer program product
CN103150658A (en) Augmented reality (AR) customizing system and method facing to terminal user
CN114064024A (en) Method, apparatus, device, storage medium, and program product for developing micro-application
CN106412015A (en) Data publishing method, equipment and system
KR101161946B1 (en) Smart-phone application development system and developing method thereof
CN112217671B (en) Method and equipment for performing interface display on front-end micro-service based on split deployment
Brown Silverlight 5 in action
CN106919406A (en) A kind of desktop application component issue, update method and device
CN112445564A (en) Interface display method, electronic device and computer readable storage medium
CN108319474B (en) Page information generation method, device and equipment
KR20120014389A (en) Smartphone application product solution
WO2012001456A2 (en) System and method for providing end to end interactive mobile applications using sms
KR20140051015A (en) Apparatus ofautomating software development for smart device, method of the same and storage media storing the same
CN112214202B (en) Mobile phone program development system without writing codes
US20200285450A1 (en) System for providing instant preview of a mobile application under development
US9075891B2 (en) Method and device for editing an object represented in a web page
CN112445501A (en) Data burning method and device and computer readable storage medium
WO2020190010A1 (en) Method for providing franchise store-based online shopping mall service that connects producer, supplier, and seller via online shopping mall
CN101964742A (en) Method, system and device for using network open ability
CN111736831A (en) Custom menu component development method based on HTML page of mobile terminal

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
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

GR01 Patent grant
GR01 Patent grant