CN112416328A - Multi-platform small program mall construction method, device, equipment and medium - Google Patents

Multi-platform small program mall construction method, device, equipment and medium Download PDF

Info

Publication number
CN112416328A
CN112416328A CN202011459467.4A CN202011459467A CN112416328A CN 112416328 A CN112416328 A CN 112416328A CN 202011459467 A CN202011459467 A CN 202011459467A CN 112416328 A CN112416328 A CN 112416328A
Authority
CN
China
Prior art keywords
platform
mall
target
small program
applet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011459467.4A
Other languages
Chinese (zh)
Inventor
黄荣发
丘瀚锐
莫伦辉
李光斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Yizhi Information Technology Co ltd
Original Assignee
Guangzhou Yizhi Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Yizhi Information Technology Co ltd filed Critical Guangzhou Yizhi Information Technology Co ltd
Priority to CN202011459467.4A priority Critical patent/CN112416328A/en
Publication of CN112416328A publication Critical patent/CN112416328A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a method, a device, equipment and a medium for constructing a multi-platform small program mall, wherein the method comprises the steps of obtaining a creation request message, wherein the creation request message comprises a platform type of a target small program mall; calling an application program interface of a preset graphic editor according to the platform type of the target small program mall, and sending a preset graphic editing template and a UI component library to a user side; performing component selection operation on the graphical editing template according to the UI component library through a user side interactive interface, acquiring component selection operation information, and creating a page set of a target small program mall according to the component selection operation information; and if the confirmed generation message sent by the user side is obtained, generating the target small program mall according to the page set. The invention can enable the user to define the multi-platform small program mall and reduce the cost.

Description

Multi-platform small program mall construction method, device, equipment and medium
Technical Field
The invention relates to the technical field of small program malls, in particular to a method, a device, equipment and a medium for constructing a multi-platform small program mall.
Background
At present, applets are more and more widely applied in business and life, meanwhile, the demand of users on personalized applets is more and more large, and the demand of merchants on personalized applet malls is more and more obvious.
In the existing development mode, a set of small programs with high customization degree is developed, the cost is high, the small programs are generally developed on the WeChat side and the small programs on the webpage side, in the face of the increasingly vigorous Internet business atmosphere, a merchant almost needs to go through a complete development process if the merchant wants to customize the small programs on other platforms, the time cost and the labor cost are high, and the common small merchant cannot bear the high cost at all, so that the inventor thinks that the development cost of the existing multi-platform small program mall is high and needs to be further improved.
Disclosure of Invention
In order to overcome the defects of the prior art, the application provides a method, a device, equipment and a medium for constructing a multi-platform small program mall, so that a user can customize the multi-platform small program mall, and the cost is reduced.
The above object of the present invention is achieved by the following technical solutions:
acquiring a creation request message, wherein the creation request message comprises a platform type of a target small program mall;
calling an application program interface of a preset graphic editor according to the platform type of the target small program mall, and sending a preset graphic editing template and a UI component library to a user side;
performing component selection operation on the graphical editing template according to the UI component library through a user side interactive interface, acquiring component selection operation information, and creating a page set of a target small program mall according to the component selection operation information;
and if the confirmed generation message sent by the user side is obtained, generating the target small program mall according to the page set.
By adopting the technical scheme, according to the type of the platform to be operated by the target small program mall of the user,
and calling an application program interface corresponding to the graphic editor, wherein the application program interface is used for editing the small program mall corresponding to the platform, and a user selects components in the UI component library in the graphic editing template, then automatically generates a page, and finally generates a target small program mall, so that the small program mall of a custom personalized platform of a merchant can be met, and the cost for constructing the small program mall of multiple platforms by the merchant is reduced.
Optionally, before obtaining the creation request message, the method further includes:
the method comprises the steps of establishing a source code of the graphic editor through a taro platform, converting the source code of the graphic editor into application programs suitable for different platforms through a compiling tool, and constructing a plurality of platform application program interfaces of the graphic editor, wherein the platform application program interfaces comprise a WeChat small program interface, a webpage end small program interface, a hundred-degree small program interface, a byte jumping small program interface and a Jingdong small program interface.
By adopting the technical scheme, the image editor source code is constructed through the taro platform, the image editor source code is used for constructing the small program frame, and then the image editor source code is converted into the application programs of different platforms through the compiling tool, so that the small program mall generated after the merchant edits the components on the image editor can run on the corresponding platform in a compatible mode, such as a hundred-degree end, a Jingdong end or a byte jumping end, and the like, and the development cost is reduced.
Optionally, the platform type of the target applet mall includes a platform identifier of the target applet mall, and the calling of the application program interface of the preset graphic editor according to the platform type of the target applet mall includes:
and matching the platform identifier in a preset identifier-interface mapping table, and calling an application program interface corresponding to the platform identifier to the graphic editor if the matching is successful.
By adopting the technical scheme, the matching is carried out in the identifier-interface mapping table according to the platform identifier of the target small program mall, if the matching is successful, the application program interface corresponding to the graphic editor can be called, and a user can conveniently create the small program mall which can run on the corresponding platform.
Optionally, the obtaining component selects an operation message, and creates a page set of the target applet mall according to the component dragging message, including:
the component selection operation message comprises selected component attributes, operation types and operation positions, the operation types comprise moving, deleting and dragging operations, and the operation positions are positions of the selected components in the graphic editing template;
and generating pages according to the component attributes, the operation types and the operation positions, and storing the pages in a page set in a database.
By adopting the technical scheme, the components are dragged in the graphic editing template on the user side interactive interface according to the user, the personalized page is created, and finally the target small program mall is generated according to the created pages, so that the requirements of the merchant can be met, and the target small program mall can run on a platform selected by the merchant, such as a hundred-degree platform, a Jingdong platform or a byte jumping platform.
Optionally, before generating the page, the method further includes:
and rendering the selected components according to the component attributes, the operation types and the operation positions, and displaying the components on an interactive interface of the user side.
By adopting the technical scheme, when a user drags the component in the graphic editing template of the user side interactive interface, the selected component graph can be rendered and displayed, so that the visual UI component editing is realized, and a mall page meeting the requirements of merchants is built.
Optionally, after the determining generation message sent by the user end is obtained, and the target applet mall is generated according to the page set, the method further includes:
if a request operation message for operating the target small program mall on the target platform is obtained, the request operation message comprises an identifier of the target platform;
and judging whether the identifier of the target platform is consistent with the platform identifier of the target small program mall, and if so, operating the target small program mall on the target platform.
By adopting the technical scheme, when the user wants to operate the target small program mall on the target platform, whether the target platform can run in a compatible manner with the target small program mall or not is judged, namely whether the identifier of the target platform is consistent with the identifier of the target small program mall or not is judged, and if so, the target small program mall can be operated on the target platform.
The second aim of the invention is realized by the following technical scheme:
an apparatus for building a multi-platform applet mall, the apparatus comprising:
the acquisition request module is used for acquiring a creation request message, wherein the creation request message comprises a platform type of a target small program mall;
the calling interface module is used for calling an application program interface of a preset graphic editor according to the platform type of the target small program mall and sending a preset graphic editing template and a UI component library to the user side;
the page creating module is used for performing component selection operation on the graphical editing template according to the UI component library through a user-side interactive interface, acquiring component selection operation information and creating a page set of the target small program mall according to the component selection operation information;
and the mall generating module is used for generating the target small program mall according to the page set if the determining generation message sent by the user side is obtained.
By adopting the technical scheme, according to the type of the platform to be operated by the target small program mall of the user,
and calling an application program interface corresponding to the graphic editor, wherein the application program interface is used for editing the small program mall corresponding to the platform, and a user selects components in the UI component library in the graphic editing template, then automatically generates a page, and finally generates a target small program mall, so that the small program mall of a custom personalized platform of a merchant can be met, and the cost for constructing the small program mall of multiple platforms by the merchant is reduced.
Optionally, the apparatus further comprises:
the platform operation module is used for acquiring a request operation message for operating the target applet mall on the target platform, wherein the request operation message comprises an identifier of the target platform;
and the operation judging module is used for judging whether the identifier of the target platform is consistent with the platform identifier of the target small program mall or not, and if so, operating the target small program mall on the target platform.
By adopting the technical scheme, when the user wants to operate the target small program mall on the target platform, whether the target platform can run in a compatible manner with the target small program mall or not is judged, namely whether the identifier of the target platform is consistent with the identifier of the target small program mall or not is judged, and if so, the target small program mall can be operated on the target platform.
The third object of the invention is realized by the following technical scheme:
a computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method of building the multi-platform applet mall when executing the computer program.
The fourth object of the invention is realized by the following technical scheme:
a computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method of building a multi-platform applet mall.
Drawings
Fig. 1 is a flowchart of an implementation of a method for constructing a multi-platform applet mall according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating an implementation of step S30 of a method for constructing a multi-platform applet mall according to an embodiment of the present application;
FIG. 3 is a schematic block diagram of an apparatus for constructing a multi-platform applet mall according to an embodiment of the present application;
fig. 4 is a schematic block diagram of a computer of a building apparatus of a multi-platform applet mall according to an embodiment of the present application.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
The first embodiment is as follows:
in this embodiment, as shown in fig. 1, the present application discloses a method for constructing a multi-platform applet mall, which is applied to a server and a client, and includes the following steps:
s10: and acquiring a creation request message, wherein the creation request message comprises the platform type of the target small program mall.
In this embodiment, the creation request message refers to a message sent by a user side and requesting to create the applet mall; the platform type refers to a class of platforms to be run by a target applet mall created by a user request.
Specifically, the user logs in to the user side, which may be an APP software/Web side Web page for the user-defined applet mall, using the account and the password. In this embodiment, for example, a wechat platform, a web page end, a hundred-degree platform, a byte jumping platform, a kyoto platform, or the like, the user may autonomously select a platform type to be brought online.
In this embodiment, before obtaining the creation request message, the method of this embodiment further includes constructing a graph editor, which is specifically as follows:
the method comprises the steps of establishing a source code of a graphic editor through a taro platform, converting the source code of the graphic editor into application programs suitable for different platforms through a compiling tool, and constructing a plurality of platform application program interfaces of the graphic editor, wherein the platform application program interfaces comprise a WeChat small program interface, a webpage end small program interface, a Baidu small program interface, a byte jumping small program interface and a Jingdong small program interface.
Specifically, image editor source code is created on the taro platform, which is used to run the applet framework,
the small program framework comprises a logic layer and a view layer, the logic layer is mainly responsible for JS operation, the view layer is mainly responsible for page rendering, and communication is carried out between the logic layer and the view layer through Event and Data. In this embodiment, a corresponding App ()/Page () function method is called at the logical layer, where App () is used to register and create an application, Page () is used to create a Page, and data, lifecycle/event functions, etc. are processed in App ()/Page () function method, while corresponding templates and styles are provided at the view layer for rendering.
Further, identifiers of different platforms are input in taro, and source codes of the graphic editor are transcoded through a babel compiling tool, and the specific process is as follows:
analyzing the source code of the graphic editor into an abstract syntax tree by using a babel-parser tool, modifying and converting the abstract syntax tree by using the babel-type tool, and finally generating a corresponding target code by using the babel-generator tool, wherein the target code can be in a format of JS, WXML, WXSS, JSON and the like.
S20: and calling an application program interface of a preset graphic editor according to the platform type of the target small program mall, and sending a preset graphic editing template and a UI component library to the user side.
In this embodiment, the application program interface refers to a code running interface for generating an applet by a graphic editor; the graphic editing template is an editing interface on a user side interactive interface for a user to select and operate components; the UI component library refers to various component forms for constructing the shopping mall.
Specifically, the platform type of the target applet mall includes a platform identifier of the target applet mall, and the preset application program interface of the graphic editor is called according to the platform identifier, and the specific process is as follows:
matching the platform identifier in a preset identifier-interface mapping table, and calling an application program interface corresponding to the platform identifier to a graphic editor if the matching is successful; if the matching is unsuccessful, generating an error message and feeding back the error message to the user terminal, such as an applet which does not currently support the creation of an unrelated platform on the graphic editor.
In this embodiment, the identifier-interface mapping table is a mapping table stored in a database, and identifiers of platforms such as weixin, H5, and the like of weixin, netpage side, hundredth, byte jitter, and kyoto are recorded in the mapping table. The mapping table also records an application program interface of the graphics editor applet running platform corresponding to the platform table identifier.
Further, while calling an application program interface of the graphic editor, sending a graphic editing template and a UI component library to the user side and displaying the same on the interactive interface, in this embodiment, the UI component library includes a basic component and a marketing component, the basic component includes functions of page display, skip and the like, and the basic component includes a rich text input box, a commodity selector, a category navigation, a magic cube, a picture advertisement, an auxiliary partition, a bulletin, a title, store information, background music, a video and the like. The marketing component mainly provides support for the marketing activities of merchants, and comprises time-limited rush purchases, full and full gift, coupons, parties, second kills, second half prices, packaging unit prices, paying gifts, order cashing, cutting prices, 0-element lottery, good-rated gifts, community reception, lucky large lottery, scratch cards, friend melon distribution tickets, preferential packages (commodity combinations), fission coupons, price adding and changing and the like.
S30: and performing component selection operation on the graphical editing template according to the UI component library through a user on a user side interactive interface, acquiring component selection operation information, and creating a page set of the target small program mall according to the component selection operation information.
In this embodiment, the component selection operation message refers to an operation message sent by the user side to the server side when the user performs component selection operation on the user side interactive interface; a page set refers to a set of pages for use in creating a mall.
Specifically, a user performs component selection operation on a user-side interactive interface, a server receives a component selection operation message sent by the user side, and creates a page set of a target applet mall according to the component selection operation message, which specifically includes the following steps:
s301: the component selection operation message comprises selected component attributes, operation types and operation positions, wherein the operation types comprise moving, deleting and dragging operations, and the operation positions are positions of the selected components in the graphic editing template.
In this embodiment, the component attribute refers to content corresponding to the component, such as a commodity, a picture, a size, a color, and the like; the operation type is an action type of the user for operating the component on the user-side interactive interface, in this embodiment, the operation type includes moving, deleting and dragging operations, and the operation position refers to a relative position where the user drags and drops the component in the graphic editing template.
Optionally, the selected component is rendered and displayed on the interactive interface of the user side according to the component attribute, the operation type and the operation position selected by the user, so that the user can create a page on the interactive interface of the user side. For example, a user generates a page of cosmetics on a user-side interactive interface, and the components related to the cosmetics may include brands, functions, capacities, price ranges, and the like.
S302: and generating pages according to the component attributes, the operation types and the operation positions, and storing the pages in a page set in a database.
In this embodiment, the server generates product pages and stores the product pages in a page set of the database according to the operation condition of the user at the user side. In this embodiment, the pages included in the page set may be created at different times, and the user may also select to delete the pages at the user side and create the pages again, and in addition, one page set may include all the pages of a mall, for example, a small program mall for cosmetic skin care needs to be constructed, and one page set may include all the pages of the cosmetic skin care product created by the user, and for the layout of each page, the existing layout manner may be adopted, for example, the layout may be performed according to the page number, or the layout may be performed through a visualization operation according to the page cover.
S40: and if the confirmation generation message sent by the user side is obtained, generating the target small program mall according to the page set.
In this embodiment, if a mall creation message sent by a user end is obtained, a target applet mall is generated according to a page in a created page set. In the embodiment, the user can use the zero-code common personalized mall and run the applet mall on a platform required by the user, so that the development cost is reduced.
In an embodiment, after step S30, that is, after obtaining the confirmation generation message sent by the user end, generating the target applet mall according to the page set, the method of this embodiment further includes:
s401: and if the request operation message for operating the target applet mall on the target platform is acquired, the request operation message comprises the identifier of the target platform.
In this embodiment, the request to run message refers to a request message sent by a user end to run a target applet mall, where the request to run message includes an identifier of a target platform, and in this embodiment, the target platform refers to a platform that the user wants to run the applet mall, such as WeChat, Baidu, Jingdong, or end H5.
S402: and judging whether the identifier of the target platform is consistent with the platform identifier of the target small program mall, and if so, operating the target small program mall on the target platform.
Specifically, whether the identifier of the target platform is consistent with the platform identifier of the target applet store stored in the server or not is determined, and if the identifier of the target platform is consistent with the platform identifier of the target applet store stored in the server, the target applet store can be made to run on the target platform, and the target platform is not limited to platforms such as WeChat, H5 and the like.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Example two:
in an embodiment, a building apparatus of a multi-platform applet mall is provided, and the building apparatus of the multi-platform applet mall corresponds to the building method of the multi-platform applet mall in the above embodiment one to one. As shown in fig. 3, the building apparatus of the multi-platform applet mall includes an acquisition request module, a call interface module, a page creation module, and a mall generation module. The functional modules are explained in detail as follows:
the acquisition request module is used for acquiring a creation request message, and the creation request message comprises a platform type of a target small program mall;
the calling interface module is used for calling an application program interface of a preset graphic editor according to the platform type of the target small program mall and sending a preset graphic editing template and a UI component library to the user side;
the page creating module is used for performing component selection operation on the graphical editing template according to the UI component library through a user-side interactive interface, acquiring component selection operation information and creating a page set of the target small program mall according to the component selection operation information;
and the mall generating module is used for generating the target small program mall according to the page set if the determining generation message sent by the user side is obtained.
Optionally, the apparatus of this embodiment further includes:
the editor creating module is used for creating a source code of the graphic editor through a taro platform, converting the source code of the graphic editor into application programs suitable for different platforms through a compiling tool, and creating a plurality of platform application program interfaces of the graphic editor, wherein the plurality of platform application program interfaces comprise a WeChat small program interface, a webpage end small program interface, a Baidu small program interface, a byte jumping small program interface and a Jingdong small program interface.
Optionally, the apparatus of this embodiment further includes:
and the matching module is used for matching the platform identifier in a preset identifier-interface mapping table, and calling an application program interface corresponding to the platform identifier to the graphic editor if the matching is successful.
Optionally, the apparatus of this embodiment further includes:
the component operation module is used for selecting the operation message to comprise selected component attributes, operation types and operation positions, the operation types comprise moving, deleting and dragging operations, and the operation positions are positions of the selected components in the graphic editing template;
and the page generating module is used for generating pages according to the component attributes, the operation types and the operation positions and storing the pages in a page set in the database.
Optionally, the apparatus of this embodiment further includes:
and the rendering module is used for rendering the selected components according to the component attributes, the operation types and the operation positions and displaying the components on an interactive interface of the user side.
Optionally, the apparatus of this embodiment further includes:
the message acquisition module is used for acquiring a request operation message for operating the target applet mall on the target platform, wherein the request operation message comprises an identifier of the target platform;
and the identifier judging module is used for judging whether the identifier of the target platform is consistent with the platform identifier of the target small program mall or not, and if so, operating the target small program mall on the target platform.
For specific limitations of the construction apparatus of the multi-platform applet mall, reference may be made to the above limitations of the construction method of the multi-platform applet mall, which are not described herein again. The modules in the building device of the multi-platform applet mall described above may be implemented wholly or partially by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Example three:
in one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing operation information of a user at a user end, a UI component library and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to realize the construction method of the multi-platform applet mall, and the processor executes the computer program to realize the following steps:
s10: acquiring a creation request message, wherein the creation request message comprises a platform type of a target small program mall;
s20: calling an application program interface of a preset graphic editor according to the platform type of the target small program mall, and sending a preset graphic editing template and a UI component library to a user side;
s30: performing component selection operation on a graphical editing template according to a UI component library through a user on a user side interactive interface, acquiring component selection operation information, and creating a page set of a target small program mall according to the component selection operation information;
s40: and if the confirmation generation message sent by the user side is obtained, generating the target small program mall according to the page set.
Example four:
in one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
s10: acquiring a creation request message, wherein the creation request message comprises a platform type of a target small program mall;
s20: calling an application program interface of a preset graphic editor according to the platform type of the target small program mall, and sending a preset graphic editing template and a UI component library to a user side;
s30: performing component selection operation on a graphical editing template according to a UI component library through a user on a user side interactive interface, acquiring component selection operation information, and creating a page set of a target small program mall according to the component selection operation information;
s40: and if the confirmation generation message sent by the user side is obtained, generating the target small program mall according to the page set.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A construction method of a multi-platform small program mall is applied to a server side and a user side, and is characterized by comprising the following steps:
acquiring a creation request message, wherein the creation request message comprises a platform type of a target small program mall;
calling an application program interface of a preset graphic editor according to the platform type of the target small program mall, and sending a preset graphic editing template and a UI component library to a user side;
performing component selection operation on the graphical editing template according to the UI component library through a user side interactive interface, acquiring component selection operation information, and creating a page set of a target small program mall according to the component selection operation information;
and if the confirmed generation message sent by the user side is obtained, generating the target small program mall according to the page set.
2. The method of claim 1, wherein prior to obtaining the create request message, the method further comprises:
the method comprises the steps of establishing a source code of the graphic editor through a taro platform, converting the source code of the graphic editor into application programs suitable for different platforms through a compiling tool, and constructing a plurality of platform application program interfaces of the graphic editor, wherein the platform application program interfaces comprise a WeChat small program interface, a webpage end small program interface, a hundred-degree small program interface, a byte jumping small program interface and a Jingdong small program interface.
3. The method of claim 2, wherein the platform type of the target applet mall includes a platform identifier of the target applet mall, and the invoking of the application program interface of the preset graphic editor according to the platform type of the target applet mall comprises:
and matching the platform identifier in a preset identifier-interface mapping table, and calling an application program interface corresponding to the platform identifier to the graphic editor if the matching is successful.
4. The method for constructing the multi-platform applet mall according to claim 2, wherein the obtaining of the component selection operation message, and after creating the page set of the target applet mall according to the component dragging message, comprises:
the component selection operation message comprises selected component attributes, operation types and operation positions, the operation types comprise moving, deleting and dragging operations, and the operation positions are positions of the selected components in the graphic editing template;
and generating pages according to the component attributes, the operation types and the operation positions, and storing the pages in a page set in a database.
5. The method for building the multi-platform applet mall according to claim 4, wherein before generating the page, further comprising:
and rendering the selected components according to the component attributes, the operation types and the operation positions, and displaying the components on an interactive interface of the user side.
6. The method according to claim 5, wherein after the target applet mall is generated according to the page set if the confirmation generation message sent by the user side is acquired, the method further comprises:
if a request operation message for operating the target small program mall on the target platform is obtained, the request operation message comprises an identifier of the target platform;
and judging whether the identifier of the target platform is consistent with the platform identifier of the target small program mall, and if so, operating the target small program mall on the target platform.
7. An apparatus for building a multi-platform applet mall, the apparatus comprising:
the acquisition request module is used for acquiring a creation request message, wherein the creation request message comprises a platform type of a target small program mall;
the calling interface module is used for calling an application program interface of a preset graphic editor according to the platform type of the target small program mall and sending a preset graphic editing template and a UI component library to the user side;
the page creating module is used for performing component selection operation on the graphical editing template according to the UI component library through a user-side interactive interface, acquiring component selection operation information and creating a page set of the target small program mall according to the component selection operation information;
and the mall generating module is used for generating the target small program mall according to the page set if the determining generation message sent by the user side is obtained.
8. The apparatus of claim 7, wherein the apparatus further comprises:
the platform operation module is used for acquiring a request operation message for operating the target applet mall on the target platform, wherein the request operation message comprises an identifier of the target platform;
and the operation judging module is used for judging whether the identifier of the target platform is consistent with the platform identifier of the target small program mall or not, and if so, operating the target small program mall on the target platform.
9. A computer arrangement comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, carries out the steps of the method of building a multi-platform applet mall as claimed in any one of claims 1 to 6.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method for building a multi-platform applet mall according to one of the claims 1 to 6.
CN202011459467.4A 2020-12-11 2020-12-11 Multi-platform small program mall construction method, device, equipment and medium Pending CN112416328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011459467.4A CN112416328A (en) 2020-12-11 2020-12-11 Multi-platform small program mall construction method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011459467.4A CN112416328A (en) 2020-12-11 2020-12-11 Multi-platform small program mall construction method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN112416328A true CN112416328A (en) 2021-02-26

Family

ID=74775657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011459467.4A Pending CN112416328A (en) 2020-12-11 2020-12-11 Multi-platform small program mall construction method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN112416328A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112989206A (en) * 2021-04-22 2021-06-18 畅捷通信息技术股份有限公司 Automatic assembly method, device and medium for finance and tax public number service control
CN113238749A (en) * 2021-03-19 2021-08-10 南京仁谷***集成有限公司 Working method of visual human-computer interaction design platform
CN113703785A (en) * 2021-08-31 2021-11-26 康键信息技术(深圳)有限公司 Component-based platform deployment method, device, equipment and storage medium
CN114168215A (en) * 2021-11-17 2022-03-11 广东太平洋互联网信息服务有限公司 Plug-in processing method, system and medium for multiple applet functional modules
CN114217874A (en) * 2021-12-16 2022-03-22 中国建设银行股份有限公司 Applet generation method, device, equipment, readable storage medium and product
WO2023035563A1 (en) * 2021-09-10 2023-03-16 ***股份有限公司 Applet cross-application migration method, device, terminal, system and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130191810A1 (en) * 2011-12-13 2013-07-25 Ipar, Llc Computer-Implemented Systems and Methods for Providing Consistent Application Generation
CN106557314A (en) * 2016-10-19 2017-04-05 深圳智慧林网络科技有限公司 Applied software development method and device
CN108958736A (en) * 2018-07-20 2018-12-07 北京三快在线科技有限公司 Page generation method, device, electronic equipment and computer-readable medium
CN109614095A (en) * 2018-12-07 2019-04-12 北京金山云网络技术有限公司 The method of user's Custom component, the generation method of platform code and device
CN111199457A (en) * 2019-12-30 2020-05-26 上海移为通信技术股份有限公司 Page generation method and device
CN111338690A (en) * 2020-03-25 2020-06-26 北京顺达同行科技有限公司 Method and device for configuring pages of small program shop, computer equipment and storage medium
CN111427569A (en) * 2019-01-10 2020-07-17 北京嘀嘀无限科技发展有限公司 Installation-free program adapting method and device, electronic equipment and storage medium
CN111459478A (en) * 2020-03-03 2020-07-28 深圳木成林科技有限公司 Method and terminal for generating webpage
CN111506310A (en) * 2020-03-24 2020-08-07 平安国际智慧城市科技股份有限公司 Method, device and equipment for generating multi-platform style and storage medium
CN111708528A (en) * 2020-06-15 2020-09-25 中国建设银行股份有限公司 Method, device and equipment for generating small program and storage medium
CN111768270A (en) * 2020-06-23 2020-10-13 京东数字科技控股有限公司 Target component generation method and device, electronic equipment and computer readable medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130191810A1 (en) * 2011-12-13 2013-07-25 Ipar, Llc Computer-Implemented Systems and Methods for Providing Consistent Application Generation
CN106557314A (en) * 2016-10-19 2017-04-05 深圳智慧林网络科技有限公司 Applied software development method and device
CN108958736A (en) * 2018-07-20 2018-12-07 北京三快在线科技有限公司 Page generation method, device, electronic equipment and computer-readable medium
CN109614095A (en) * 2018-12-07 2019-04-12 北京金山云网络技术有限公司 The method of user's Custom component, the generation method of platform code and device
CN111427569A (en) * 2019-01-10 2020-07-17 北京嘀嘀无限科技发展有限公司 Installation-free program adapting method and device, electronic equipment and storage medium
CN111199457A (en) * 2019-12-30 2020-05-26 上海移为通信技术股份有限公司 Page generation method and device
CN111459478A (en) * 2020-03-03 2020-07-28 深圳木成林科技有限公司 Method and terminal for generating webpage
CN111506310A (en) * 2020-03-24 2020-08-07 平安国际智慧城市科技股份有限公司 Method, device and equipment for generating multi-platform style and storage medium
CN111338690A (en) * 2020-03-25 2020-06-26 北京顺达同行科技有限公司 Method and device for configuring pages of small program shop, computer equipment and storage medium
CN111708528A (en) * 2020-06-15 2020-09-25 中国建设银行股份有限公司 Method, device and equipment for generating small program and storage medium
CN111768270A (en) * 2020-06-23 2020-10-13 京东数字科技控股有限公司 Target component generation method and device, electronic equipment and computer readable medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
星河_赵梓宇: "Taro多端开发实现原理与项目实战(一)", pages 55 - 56, Retrieved from the Internet <URL:《https://blog.csdn.net/Aria_Miazzy/article/details/107767930》> *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113238749A (en) * 2021-03-19 2021-08-10 南京仁谷***集成有限公司 Working method of visual human-computer interaction design platform
CN112989206A (en) * 2021-04-22 2021-06-18 畅捷通信息技术股份有限公司 Automatic assembly method, device and medium for finance and tax public number service control
CN113703785A (en) * 2021-08-31 2021-11-26 康键信息技术(深圳)有限公司 Component-based platform deployment method, device, equipment and storage medium
CN113703785B (en) * 2021-08-31 2023-10-31 康键信息技术(深圳)有限公司 Component-based platform deployment method, device, equipment and storage medium
WO2023035563A1 (en) * 2021-09-10 2023-03-16 ***股份有限公司 Applet cross-application migration method, device, terminal, system and storage medium
CN114168215A (en) * 2021-11-17 2022-03-11 广东太平洋互联网信息服务有限公司 Plug-in processing method, system and medium for multiple applet functional modules
CN114168215B (en) * 2021-11-17 2024-03-19 广东太平洋互联网信息服务有限公司 Plug-in processing method, system and medium for multiple small program function modules
CN114217874A (en) * 2021-12-16 2022-03-22 中国建设银行股份有限公司 Applet generation method, device, equipment, readable storage medium and product

Similar Documents

Publication Publication Date Title
CN112416328A (en) Multi-platform small program mall construction method, device, equipment and medium
CN109614568B (en) Page generation method and device
CN107818143B (en) Page configuration and generation method and device
CN108334387B (en) Dynamic interface rendering method and device
TW202113586A (en) Method and device for generating applet
US11132114B2 (en) Method and apparatus for generating customized visualization component
CN107391134B (en) Method and device for automatically generating and dynamically transforming universal mobile application interactive interface
CN111428177A (en) Method and system for WEB content generation
CN112800370B (en) Processing method and device of business document, computer equipment and storage medium
CN111522552A (en) Sub-application generation method and device, computer equipment and storage medium
CN111563220A (en) Business website project construction method and device, computer equipment and storage medium
US20230393869A1 (en) Methods and systems for content generation via templates with rules and/or triggers
US10951486B2 (en) Terminal device, UI expansion method, and UI expansion program
CN110941428A (en) Website creation method and device
CN113095056B (en) Generation method, processing method, device, electronic equipment and medium
CN112711414B (en) Form interface adaptation display method and device and storage medium
CN110968991A (en) Method and related device for editing characters
CN113110829B (en) Multi-UI component library data processing method and device
CN103164217A (en) Standalone data entry for backend system
US9342215B2 (en) Automatic environment restoration for a particular artwork
KR102536567B1 (en) method and System of producing adaptive web pages by assembling block-by-block content to which grid rules are applied
CN115617324B (en) Client webpage generation method
CN116301788A (en) Webpage configuration method, webpage configuration device and readable storage medium
CN114020244A (en) Method, device and equipment for configuring shopping mall pages and storage medium
CN112347177A (en) Data docking equipment based on human-computer interaction behavior

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