Information processing method and apparatus, electronic device and storage medium
By pre-creating template pages and association rules, customized workbench modules are automatically generated for enterprise employees, which solves the problem of cumbersome workbench creation process in the existing technology, realizes fast and automated workbench customization, and reduces labor costs.
Patent Information
- Application Number
- PCT/CN2024/082915
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-21
- Filing Date
- 2024-03-21
- Publication Date
- 2024-09-26
AI Technical Summary
In the existing technology, enterprise employees need to manually operate when creating a workbench to complete actions such as creation, editing, publishing, and activation. The process is cumbersome and time-consuming, and it is impossible to quickly obtain a customized workbench.
By pre-creating the template page and its associated rules and trigger conditions, in response to the target user meeting the trigger conditions, the target template and target module are automatically generated for the user to realize the automatic generation of customized modules.
It reduces the user's manual editing and creation steps, improves the degree of automation of workbench customization, reduces labor investment and costs, and quickly provides available customized workbench.
Smart Images

Figure CN2024082915_26092024_PF_FP
Abstract
Description
Information processing method, device, electronic device and storage medium
[0001] This application claims priority to Chinese patent application No. 202310279354.3 filed on March 21, 2023, the entire text of which is incorporated herein by reference as a part of this application. Technical Field
[0002] The present disclosure relates to an information processing method, apparatus, electronic device, and storage medium. Background Art
[0003] By using templates, components, and editors, users can define their own workstations. A workstation is typically a portal within a client, hosting enterprise applications and serving as a portal for employees. Creating a workstation requires manual steps, including creation, editing, publishing, and activation. This process also involves configuring workstation data, resulting in a lengthy and cumbersome process.
[0004] Summary of the Invention
[0005] The present disclosure provides an information processing method, apparatus, electronic device, and storage medium.
[0006] The present disclosure adopts the following technical solutions.
[0007] In some embodiments, the present disclosure provides an information processing method, including:
[0008] Pre-creating a template page, association rules for the template page, and triggering conditions, wherein the template page includes at least one pre-set application;
[0009] In response to the target user meeting the trigger condition, a target template page associated with the target user is determined based on the association rule, and a target template is automatically generated for the target user based on the target template page.
[0010] In some embodiments, the present disclosure provides an information processing device, including:
[0011] A creation module, configured to pre-create a template page, association rules for the template page, and trigger conditions, wherein the template page includes at least one pre-set application;
[0012] The control module is configured to determine a target template page associated with the target user based on the association rule in response to the target user satisfying the trigger condition, and automatically generate a target module for the target user based on the target template page.
[0013] In some embodiments, the present disclosure provides an electronic device comprising: at least one memory and at least one processor;
[0014] The memory is used to store program codes, and the processor is used to call the program codes stored in the memory to execute the above method.
[0015] In some embodiments, the present disclosure provides a computer-readable storage medium for storing program code, which, when executed by a processor, prompts the processor to perform the above method. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0017] FIG1 is a flowchart of an information processing method according to an embodiment of the present disclosure.
[0018] FIG2 is a schematic diagram of an interface of a workbench in a client according to an embodiment of the present disclosure.
[0019] FIG3 is a schematic diagram of an interface of a workbench in a client according to an embodiment of the present disclosure.
[0020] FIG4 is a schematic diagram of an information processing method according to an embodiment of the present disclosure.
[0021] FIG5 is a schematic diagram of an information processing method according to an embodiment of the present disclosure.
[0022] FIG6 is a business flow diagram of the information processing method according to an embodiment of the present disclosure.
[0023] FIG7 is a timing diagram of the execution process of the information processing method according to an embodiment of the present disclosure.
[0024] FIG8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0026] It should be understood that the various steps described in the method embodiments of the present disclosure can be performed sequentially and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0027] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0028] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0029] It should be noted that the modification of “one” mentioned in the present disclosure is illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as “one or more”.
[0030] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0031] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0032] For example, in response to receiving a user operation event, a prompt message can be sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. Thus, based on the prompt message, the user can independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operation of the technical solution of the present disclosure.
[0033] As an optional but non-limiting implementation, in response to receiving a user operation event, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0034] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0035] The solution provided by the embodiment of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0036] As shown in FIG1 , FIG1 is a flowchart of an information processing method according to an embodiment of the present disclosure, which includes the following steps.
[0037] S11. Pre-create template pages, association rules for the template pages, and trigger conditions.
[0038] In some embodiments, the methods proposed in this disclosure can be used on a terminal, such as a server or client. The template page can be a workbench template, and the workbench can be an application module in the client. Components can be embedded in the template page. Components can include, for example, enterprise application components and enterprise information display components.
[0039] Figures 2 and 3 schematically illustrate the interface of the workbench in the client. The components in the workbench can be displayed in the form of cards, and users can usually perform work tasks in the workbench, such as approval, clocking in, reporting, etc. The template page can be pre-created by the client service personnel. The template page has association rules, and the association rules can be used to indicate which customers the template page corresponds to. The template pages associated with different types of users may be different, that is, the template page can be a template page customized for the user. In some embodiments, the trigger condition can be a condition for creating a module based on the template page, and the module is created when the trigger condition is met. Taking the template page as a workbench template as an example, the trigger condition can be, for example, that a user is created, or that the user has enabled the workbench permission.
[0040] S12: In response to the target user meeting the trigger condition, determining a target template page associated with the target user based on the association rule, and automatically generating a target module for the target user based on the target template page.
[0041] In some embodiments, the target user can be an individual user or a corporate user with members. When the target user meets the triggering conditions, a template page associated with the target user, i.e., a target template page, is determined based on the association rules. This template page can be, for example, a target workbench template. After obtaining the target template page, a target module is generated based on the target template page. The target module can be a target workbench generated based on the target workbench template. Generating the target workbench can include creating, publishing, and activating the target workbench.
[0042] In the related art, taking the workbench as an example, before using the workbench, the user usually needs to manually create the workbench and complete actions such as creation, editing, publishing, and activation. In this process, the workbench needs to be configured. On the one hand, the process is long, the steps are cumbersome, and it takes manpower, which makes it impossible for the user to quickly have a usable customized workbench. In some embodiments of the present disclosure, associated template pages are customized for different users in advance. When the target user meets the trigger conditions, the target template page is automatically obtained and the target module is automatically generated. In this way, for the target user, there is no need to perform manual editing and creation steps, and a customized module can be automatically obtained. Among them, the person who creates the template page can be a person different from the target user, for example, a service person of the workbench, to avoid the user creating a workbench template.
[0043] In the embodiment of the present disclosure, by pre-creating a template page, based on the association rules between the template page and the user, the target module is automatically pre-created after the trigger condition is met, thereby realizing the automatic generation of the customized module.
[0044] In some embodiments of the present disclosure, automatically generating a target module for a target user based on a target template page includes: copying data of the target template page to generate a module instance; and generating the target module based on the module instance.
[0045] In some embodiments, the target template page can be a universal template. The process of creating a target module can be a process of template instantiation. Therefore, it is necessary to first copy the target template page. For example, to copy a target template page created by another user to the target user's name across users, a module instance can be generated based on the data of the copied target template page. For example, the copied target template page can be directly used as the module instance.
[0046] However, for the target template page, some of its contents are not specifically instantiated, such as the unspecified tables, documents, controls, etc. that are usually present in the template page. These contents are usually represented by universal identifiers. Therefore, for the module instance, it is necessary to implement the unspecified contents in the instance and replace the placeholder identifiers with specific contents. For example, a placeholder for a user information column is placed in a certain position in the target template page. When creating the target module, the user information column needs to be instantiated based on the user's authorized information. Therefore, after obtaining the module instance, since it contains some uninstantiated contents, there are usually some contents that are not authorized for use. These contents need to be processed in order to obtain the final target module. In some embodiments, the generation of the module instance is performed by the application platform, which is used to manage applications. The target module itself is also a special application, and the application platform has the function of instantiating the template page. In some embodiments, the application in the module page is also provided with source data by the application platform, and the specific application is obtained from the application platform.
[0047] In some embodiments of the present disclosure, the data of the target template page includes at least one of the following: an identifier of the target template page, a layout container in the target template page, a location of the layout container, components in the target template page, component styles, component content, applications in the target template page, and sub-templates in the target template page.
[0048] In some embodiments, as shown in FIG4 , taking a template page as a workbench template as an example, a workbench template can be generated on a template production platform, and the data in the workbench template can be recorded in a template data maintenance platform. The user is then associated with the workbench template, and a target workbench is generated when a trigger condition is met. For a template page, its unique identity and all internal information are defined in the template page, including the layout container and position used by the template. Layout containers include, for example, single-column layout, full-column layout, double-column layout, three-column layout, double-column mixed layout, and three-column mixed layout. Components in a template page can include, for example, departmental navigation, dashboard components, and component styles in a template page. Component content can include, for example, bulletin boards: images, links, available ranges, and image and text lists: images, article titles, subtitles, dates, links, available ranges, and group names. That is, in some embodiments of the present disclosure, when copying data from a target template page, the components and component data in the target template page are copied, eliminating the need for the target user to manually select and add components.
[0049] In some embodiments of the present disclosure, generating a target module based on a module instance includes: determining uninstantiated objects in the module instance; generating corresponding instances for the uninstantiated objects in the module instance; and replacing the uninstantiated objects in the module instance with the instances corresponding to the uninstantiated objects. In some embodiments, the uninstantiated objects include at least one of the following: a component in the module instance, an application in the module instance, or a sub-template in the module instance.
[0050] In some embodiments, module instances can be parsed to identify uninstantiated objects, which can then be instantiated. For example, a target template page might specify a table template and use a generic sub-template link as a placeholder. When creating a target module, a specific table needs to be created and the placeholder link replaced with the specific table or a link to the specific table.
[0051] In some embodiments, taking the target module as the target workbench as an example, Figure 5 schematically shows the process of creating a target workbench. After the workbench template (template page) is created, the target workbench template (target template page) is determined. At this time, a workbench instance needs to be created, so the components, applications, sub-templates and other uninstantiated objects in the workbench instance will be determined and instantiated. For the sub-template (which can be a document template, for example), after it is instantiated, the sub-template will be replaced by the instance, and then the instantiated workbench instance will be provided to the target user to generate the target workbench.
[0052] In some embodiments of the present disclosure, generating a target module based on a module instance includes: determining an application and / or sub-template in the module instance; and granting a target user permission to use the application and / or sub-template.
[0053] In some embodiments, the applications and sub-templates in the module instance have usage permission restrictions. For example, an application is set up in the workbench template, but the application requires certain permissions to use. Therefore, before providing the target module to the target user, the target user needs to be granted usage permissions for the applications and / or sub-templates in the module instance to ensure that the target user can use the target module normally.
[0054] In some embodiments of the present disclosure, granting permission to use an application and / or a sub-template to a target user includes granting permission to use an application and / or a sub-template to members of the target user. In some embodiments, the target user may not be a single user, but may be, for example, a group, organization, or company, which may have members. In this case, it is necessary to ensure that at least some of the members of the user can use the target module normally. Therefore, the scope of use of the granted permission is set to at least some of the members under the target user, for example, all members of the target user.
[0055] In some embodiments of the present disclosure, generating a module instance includes: generating a carrier frame and a module instance located in the carrier frame; the carrier frame is used to carry one or more modules.
[0056] In some embodiments, the module itself can also be an application module. The module instance is an application module that implements the module function. The carrier framework itself is a general application. The carrier framework is used to place the application module. The carrier framework can be used as an application to carry the application module, and the application module is placed in the carrier framework. In this way, the expansion capability can be improved. In the case of carrying the module instance, other application modules can also be carried. The carrier framework can be a page in the client. In some embodiments, permission management can be performed through the carrier framework. For example, a first permission rule can be set in the carrier framework, and a second permission rule can be set in the application module in the carrier framework. The application module can be used only when the first permission rule and the second permission rule are met at the same time. In this way, the same permission restrictions of the application modules in the carrier framework can be written into the first permission rule, and the differentiated permission restrictions of each application module can be written into the second permission rule to achieve flexible management of permissions.
[0057] In some embodiments of the present disclosure, association rules are used to represent at least one of the following: the industry associated with the template page, the user type associated with the template page, and the user identifier associated with the template page. In some embodiments, different template pages may be created for different industries, such as the automotive industry, the legal industry, the catering industry, etc., and the target template page is determined based on the industry described by the target user. In some embodiments, different template pages may be set for different user types, and the target template page is determined based on the user type of the target user, such as a group user, a school user, an enterprise user, etc. Association rules can be used to achieve customized template page associations and differentiate template pages for different users.
[0058] In some embodiments, the user who creates the template page and the target user are different users. The user who creates the template page may be, for example, a service person who provides the client, and the target user may be a user who registers to use the client.
[0059] In order to better illustrate the method proposed in the present disclosure, taking the template page as the workbench template, the module instance as the workbench instance, and the target module as the target workbench as an example, the following is explained in conjunction with Figures 6 and 7, where Figure 6 is a business flow chart of the information processing method, and Figure 7 is a timing chart of the execution process of the information processing method. Each step is explained in conjunction with Figures 6 and 7 below. In each step below, the steps executed in Figure 6 are first introduced, and then the interaction timing corresponding to the step in Figure 7 is introduced.
[0060] In this embodiment, the trigger condition is to create a new user. As shown in FIG6 , when the trigger rule is met, the target workstation template corresponding to the target user is determined.
[0061] As shown in FIG7 , Global in FIG7 may be a client. In the process of determining the target workbench template corresponding to the target user, Global sends the identifier of the target workbench template and the identifier of the target user to Workplace_api (workbench interface) (1.initAheadWorkplace(tenantid, templateid) in FIG7 ), and Workplace_api returns confirmation information (-1.initWorkplace return in FIG7 ).
[0062] Then, as shown in Figure 6, the step of initializing the target workbench is executed, including creating a carrier framework and creating a workbench instance. In the step of initializing the target workbench, the step of initializing the target workbench is asynchronously executed by Workplace_api.
[0063] As shown in Figure 7, when creating a workbench instance, Workplace_api can send a creation request (2.CreateTpl(name,templateid) in Figure 7) to App_platform_admin (application platform). The request includes the identifier of the target workbench template and the identifier of the target user. App_platform_admin returns a confirmation message (-2return(tplid) in Figure 7) and sends the created workbench instance with uninstantiated objects after instantiation (3.CreateBuilderInstance(schema) in Figure 7). After receiving the workbench instance, Workplace_api will send a confirmation message (-3.return in Figure 7).
[0064] Then, as shown in FIG6 , after initializing the target workbench, the step of generating new editing state data is executed. In this step, the components in the target workbench are parsed, and specific instances are generated and saved for them, and then the uninstantiated components in the workbench instance are replaced.
[0065] As shown in Figure 7, in the step of generating new editing state data, Workplace_api parses the workbench instance and the editing state information to determine the component identifier, and sends the request information containing the component identifier for requesting the creation of the component instance (5.cloneBlock(blockid) in Figure 7) to Block_server (component server). Block_server sends a request to the business component system (6.Call webhook interface in Figure 7), and the business component system executes to generate the business entity (component instance). The business component returns the created component instance to Block_server (8.creatBlockEntity in Figure 7). Block_server and the business component system each send a confirmation message, and then Block_server sends the identifier of the component instance to Workplace_api, and uses the identifier of the component instance to replace the uninstantiated component in the workbench instance.
[0066] The component instance created by the business component system in Figure 7 is generally an instance of the business component. If the workbench instance has other components that need to be instantiated (items in Figure 7), such as decorative controls, Workplace_api will create an instance and replace the placeholder symbol in the workbench instance. Here, the step of generating new editing state data in Figure 6 is completed, and the target workbench is generated.
[0067] Then, the step of generating the operational data is performed as shown in FIG6 .
[0068] As shown in Figure 7, in the step of generating runtime data, Workplace_api will send a request to Node (the module responsible for display processing) (11.transferRuntimeSchema(editSchema) in Figure 7), and Node will return the runtime data (-11.return(runtimeSchame,UsageItems,pcBlocks,mobileBlocks) in Figure 7). The runtime data is the data adjusted by the target workstation according to the display platform, and is used to display the target workstation on the display platform. For example, the display platform can be a client or a web page, and the corresponding runtime data is generated according to different display platforms.
[0069] Then, as shown in FIG6 , the generated running state data of the target workbench is saved to the workbench, thereby updating and replacing the workbench in the platform (eg, client), and setting the target workbench to apply to all members under the target user, and then displaying the target workbench.
[0070] As shown in FIG7 , when displaying the target workbench, when Global sends a request for display (12.PublishApplicationSpi in FIG7 ), Workplace_api returns the target workbench for display.
[0071] In some embodiments of the present disclosure, the workbench template is pre-set across users from the template production platform to the designated user, and the creation, release and activation of the workbench are automatically realized. After the user enters the workbench, the customized workbench has been successfully pre-set and supports the use of all members under the user. The workbench is interactive, the components in the workbench present customized data, and applications and business templates can also be used directly. In the embodiments of the present disclosure, automated customized workbench production is realized, which significantly reduces the manpower investment and cost of users and service personnel in setting up the workbench, brings customized workbench capabilities to users more quickly, improves user experience, and meets the demands of different types of users to use different customized workbench.
[0072] The present disclosure also provides an information processing device, comprising:
[0073] A creation module is used to pre-create template pages, template page association rules, and trigger conditions;
[0074] The control module is configured to determine a target template page associated with the target user based on an association rule in response to the target user satisfying a trigger condition, and automatically generate a target module for the target user based on the target template page.
[0075] For the embodiments of the device, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial description of the method embodiments. The device embodiments described above are merely illustrative, wherein the modules described as separation modules may or may not be separate. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present embodiment. Those of ordinary skill in the art can understand and implement them without paying creative work.
[0076] The method and apparatus of the present disclosure are described above based on the embodiments and application examples. In addition, the present disclosure also provides an electronic device and a computer-readable storage medium, which are described below.
[0077] Reference is now made to FIG8 , which illustrates a schematic diagram of the structure of an electronic device (e.g., a terminal device or server) 800 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in the figure is merely an example and should not limit the functionality and scope of use of the embodiments of the present disclosure.
[0078] The electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. Various programs and data required for the operation of the electronic device 800 are also stored in the RAM 803. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0079] Typically, the following devices may be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows the electronic device 800 with various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0080] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 809, or installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0081] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0082] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.
[0083] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0084] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method of the present disclosure.
[0085] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0086] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0087] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit does not necessarily limit the unit itself.
[0088] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0089] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0090] According to one or more embodiments of the present disclosure, there is provided an information processing method, including:
[0091] Pre-creating a template page, association rules for the template page, and triggering conditions, wherein the template page includes at least one pre-set application;
[0092] In response to the target user meeting the trigger condition, a target template page associated with the target user is determined based on the association rule, and a target module is automatically generated for the target user based on the target template page.
[0093] According to one or more embodiments of the present disclosure, an information processing method is provided, which automatically generates a target module for the target user based on the target template page, including:
[0094] Copy the data of the target template page to generate a module instance;
[0095] The target module is generated based on the module instance.
[0096] According to one or more embodiments of the present disclosure, an information processing method is provided, wherein the data of the target template page includes at least one of the following:
[0097] The identifier of the target template page, the layout container in the target template page, the position of the layout container, the components in the target template page, the component style, the component content, the application in the target template page and the sub-template in the target template page.
[0098] According to one or more embodiments of the present disclosure, there is provided an information processing method, which generates the target module based on the module instance, including:
[0099] Determining that an object is not instantiated in the module instance;
[0100] Generate corresponding instances for uninstantiated objects in the module instance;
[0101] The uninstantiated object in the module instance is replaced with the instance corresponding to the uninstantiated object.
[0102] According to one or more embodiments of the present disclosure, an information processing method is provided, wherein the uninstantiated object includes at least one of the following: a component in the module instance, an application in the module instance, and a sub-template in the module instance.
[0103] According to one or more embodiments of the present disclosure, there is provided an information processing method, which generates the target module based on the module instance, including:
[0104] Determining applications and / or sub-templates in the module instance;
[0105] Grant the target user permission to use the application and / or sub-template.
[0106] According to one or more embodiments of the present disclosure, an information processing method is provided for granting the target user permission to use the application and / or sub-template, including: granting the target user's members permission to use the application and / or sub-template.
[0107] According to one or more embodiments of the present disclosure, an information processing method is provided for generating a module instance, including: generating a carrier framework and a module instance located in the carrier framework; the carrier framework is used to carry one or more modules.
[0108] According to one or more embodiments of the present disclosure, an information processing method is provided, wherein the association rule is used to represent at least one of the following: the industry associated with the template page, the user type associated with the template page, the user identifier associated with the template page; and / or
[0109] The user who created the template page and the target user are different users.
[0110] According to one or more embodiments of the present disclosure, there is provided an information processing apparatus, including:
[0111] A creation module, configured to pre-create a template page, association rules for the template page, and trigger conditions, wherein the template page includes at least one pre-set application;
[0112] The control module is configured to determine a target template page associated with the target user based on the association rule in response to the target user satisfying the trigger condition, and automatically generate a target module for the target user based on the target template page.
[0113] According to one or more embodiments of the present disclosure, there is provided an electronic device, including: at least one memory and at least one processor;
[0114] The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute any one of the above methods.
[0115] According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used to store program code, and when the program code is executed by a processor, the processor is prompted to perform the above method.
[0116] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0117] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0118] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. An information processing method, comprising: Pre-creating a template page, association rules of the template page, and triggering conditions, wherein the template page includes at least one pre-set application; In response to the target user satisfying the trigger condition, a target template page associated with the target user is determined based on the association rule, and a target module is automatically generated for the target user based on the target template page.
2. The method according to claim 1, wherein: Automatically generating a target module for the target user based on the target template page includes: Copy the data of the target template page to generate a module instance; The target module is generated based on the module instance.
3. The method according to claim 2, wherein: The data of the target template page includes at least one of the following: The identifier of the target template page, the layout container in the target template page, the position of the layout container, the components in the target template page, the component style, the component content, the application in the target template page and the sub-template in the target template page.
4. The method according to claim 2 or 3, wherein: Generating the target module based on the module instance includes: Determining an uninstantiated object in the module instance; Generate corresponding instances for uninstantiated objects in the module instance; The uninstantiated object in the module instance is replaced with the instance corresponding to the uninstantiated object.
5. The method according to claim 4, wherein: The uninstantiated object includes at least one of the following: a component in the module instance, an application in the module instance, and a sub-template in the module instance.
6. The method according to claim 2, 3 or 5, wherein: Generating the target module based on the module instance includes: Determining applications and / or sub-templates in the module instance; The target user is granted permission to use the application and / or sub-template.
7. The method according to claim 6, characterized in that Granting the target user the right to use the application and / or sub-template includes: granting the target user's members the right to use the application and / or sub-template.
8. The method according to claim 2, wherein: Generating a module instance includes: generating a bearing framework and a module instance located in the bearing framework; the bearing framework is used to carry one or more modules.
9. The method according to claim 1, wherein: The association rule is used to represent at least one of the following: the industry associated with the template page, the user type associated with the template page, and the user ID associated with the template page; and / or The user who creates the template page and the target user are different users.
10. An information processing device, comprising: A creation module, used to pre-create a template page, association rules of the template page, and trigger conditions, wherein the template page includes at least one pre-set application; The control module is used to determine the target template page associated with the target user based on the association rule in response to the target user satisfying the trigger condition, and automatically generate a target module for the target user based on the target template page.
11. An electronic device, comprising: at least one memory and at least one processor; The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method according to any one of claims 1 to 9. 12 . A computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, wherein when the program code is executed by a processor, the processor is prompted to execute the method according to claim 1 .
Citation Information
Patent Citations
Device and method for generating user interfaces from a template
CN110083411A
Page generation method and device, electronic equipment and computer readable medium
CN112214708A
Data processing method and device and storage medium
CN114971503A
Target page code generation method and device, storage medium and program product
CN115756452A
Information processing method and device, electronic equipment and storage medium
CN116308171A
Cited By
Activity configuration method and device, storage medium and electronic equipment
CN119576307A
