Code processing method and device, information display method and device, equipment and storage medium

By determining and editing the template code files of the information container and implementing logical configuration information, the problem of inefficient encoding of information containers from different information sources is solved, and the rapid display and development efficiency of information containers are achieved.

CN120029622APending Publication Date: 2025-05-23BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311570076.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-22
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

In the prior art, information containers of different information sources are encoded and implemented in different code warehouses, resulting in inefficiency and waste of resources. The implementation logic of the information container is fixed in hard-coded form and cannot be reused.

Method used

By determining the template code file of the template information container corresponding to the target information container to be encoded, and receiving editing operations for the target implementation logic information, the implementation logic configuration information corresponding to the target subcontainer is generated, which is used to perform replacement processing when the template code file is loaded on the preset page to display the target information container.

Benefits of technology

Reduce duplicate development work, save resources, improve the development efficiency of information containers, and save the storage space of code files.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120029622A_ABST
    Figure CN120029622A_ABST
Patent Text Reader

Abstract

The invention provides a code processing method and device, an information display method and device, equipment and a storage medium, and relates to the technical field of computers. The code processing method comprises the steps that a template code file of a template information container corresponding to a to-be-coded target information container is determined, the template information container comprises a sub-container set, the template code file comprises implementation logic information of all sub-containers in the sub-container set, editing operation for target implementation logic information is received, and the target implementation logic information is edited. The target realization logic information is realization logic information of a target sub-container in the sub-container set, realization logic configuration information corresponding to the target sub-container is generated according to an editing result of the editing operation, and the realization logic configuration information is used for realizing logic configuration of the target sub-container in the process of loading the template code file on the preset page. And performing replacement processing on the target implementation logic information to display the target information container. By adopting the technical scheme, repeated development work can be reduced, resources are saved, and the development efficiency of the information container is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular to a code processing method, an information display method, an apparatus, a device, and a storage medium. Background Art

[0002] Information containers are common carriers for carrying information on a page. They can carry text, pictures, audio, video and other information. The display forms of information containers can include lists and cards.

[0003] In specific application scenarios, there are often information containers from different information sources on the page, such as information containers from different business parties. Currently, information containers from different information sources are coded and implemented in different code repositories, and the implementation logic of the information container is fixed in a hard-coded form, which is inefficient and wastes resources. Summary of the invention

[0004] The embodiments of the present disclosure provide a code processing method, an information display method, an apparatus, a device, and a storage medium, which can optimize the existing code processing solution and information display solution based on information containers.

[0005] In a first aspect, an embodiment of the present disclosure provides a code processing method, including:

[0006] Determine a template code file of a template information container corresponding to a target information container to be encoded, wherein the template information container includes a sub-container set, and the template code file includes implementation logic information of each sub-container in the sub-container set;

[0007] receiving an editing operation for target realization logic information, wherein the target realization logic information is realization logic information of a target sub-container in the sub-container set;

[0008] The implementation logic configuration information corresponding to the target subcontainer is generated according to the editing result of the editing operation, wherein the implementation logic configuration information is used to replace the target implementation logic information during the process of loading the template code file on the preset page to display the target information container.

[0009] In a second aspect, the present disclosure also provides an information display method, including:

[0010] Obtaining a template code file of a template information container corresponding to a target information container to be displayed in a preset page, and container configuration information corresponding to the target information container, wherein the template information container includes a sub-container set, the template code file includes implementation logic information of each sub-container in the sub-container set, and the container configuration information includes implementation logic configuration information corresponding to a target sub-container in the sub-container set;

[0011] The template code file is loaded in the preset page, and in the process of loading the template code file, the implementation logic information of the target sub-container is replaced by using the implementation logic configuration information to display the target information container.

[0012] In a third aspect, the present disclosure also provides a code processing device, including:

[0013] A template determination module, used to determine a template code file of a template information container corresponding to a target information container to be encoded, wherein the template information container includes a sub-container set, and the template code file includes implementation logic information of each sub-container in the sub-container set;

[0014] An editing receiving module, used for receiving an editing operation on target realization logic information, wherein the target realization logic information is realization logic information of a target sub-container in the sub-container set;

[0015] An information generation module is used to generate implementation logic configuration information corresponding to the target sub-container according to the editing result of the editing operation, wherein the implementation logic configuration information is used to replace the target implementation logic information during the process of loading the template code file on a preset page to display the target information container.

[0016] In a fourth aspect, the present disclosure also provides an information display device, including:

[0017] an acquisition module, used to acquire a template code file of a template information container corresponding to a target information container to be displayed in a preset page, and container configuration information corresponding to the target information container, wherein the template information container includes a sub-container set, the template code file includes implementation logic information of each sub-container in the sub-container set, and the container configuration information includes implementation logic configuration information corresponding to a target sub-container in the sub-container set;

[0018] The information display module is used to load the template code file in the preset page, and in the process of loading the template code file, use the implementation logic configuration information to replace the implementation logic information of the target subcontainer to display the target information container.

[0019] In a fifth aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0020] one or more processors;

[0021] a storage device for storing one or more programs,

[0022] When the one or more programs are executed by the one or more processors, the one or more processors implement the code processing method provided by the embodiment of the present disclosure.

[0023] In a sixth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the code processing method provided by an embodiment of the present disclosure.

[0024] The code processing scheme provided by the embodiment of the present disclosure determines the template code file of the template information container corresponding to the target information container to be encoded, wherein the template information container includes a sub-container set, and the template code file includes the implementation logic information of each sub-container in the sub-container set, receives an editing operation for the target implementation logic information, wherein the target implementation logic information is the implementation logic information of the target sub-container in the sub-container set, and generates the implementation logic configuration information corresponding to the target sub-container according to the editing result of the editing operation, wherein the implementation logic configuration information is used to replace the target implementation logic information in the process of loading the template code file on a preset page to display the target information container. By adopting the above technical scheme, it is possible to reduce repeated development work, save resources, and improve the development efficiency of information containers.

[0025] The information display scheme provided by the embodiment of the present disclosure obtains the template code file of the template information container corresponding to the target information container to be displayed in the preset page, and the container configuration information corresponding to the target information container, wherein the template information container includes a sub-container set, the template code file includes the implementation logic information of each sub-container in the sub-container set, and the container configuration information includes the implementation logic configuration information corresponding to the target sub-container in the sub-container set, the template code file is loaded in the preset page, and in the process of loading the template code file, the implementation logic information of the target sub-container is replaced by the implementation logic configuration information to display the target information container. By adopting the above technical scheme, the storage space of the code file can be saved. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0027] Figure 1 A flowchart of a code processing method provided by an embodiment of the present disclosure;

[0028] Figure 2 A schematic diagram of an information container provided by an embodiment of the present disclosure;

[0029] Figure 3 A schematic diagram of another information container provided by an embodiment of the present disclosure;

[0030] Figure 4 A schematic diagram of an angular axis provided in an embodiment of the present disclosure;

[0031] Figure 5 A schematic diagram of area division provided by an embodiment of the present disclosure;

[0032] Figure 6 Another schematic diagram of area division provided by an embodiment of the present disclosure;

[0033] Figure 7 A flowchart of another code processing method provided by an embodiment of the present disclosure;

[0034] Figure 8 A flowchart of an information display method provided by an embodiment of the present disclosure;

[0035] Fig. 9 A schematic diagram of the structure of a code processing device provided by an embodiment of the present disclosure;

[0036] Fig.10 A schematic diagram of the structure of an information display device provided by an embodiment of the present disclosure;

[0037] Fig.11 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0038] Embodiments of the present disclosure will be described in more detail below 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 being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0039] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders 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.

[0040] The term "including" and its variations used herein are open inclusions, 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"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0041] It should be noted that the concepts such as "first" and "second" mentioned in the present 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.

[0042] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are 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".

[0043] In order to facilitate understanding of the embodiments of the present invention, the relevant technology is introduced below. In some application scenarios, such as conversation scenarios, there are often information containers from different information sources in the page used to display the conversation message flow and related information, such as information containers from different business parties. Specifically, it can be information containers of different business parties displayed simultaneously on the same page, or it can be information containers of different business parties displayed in different scenarios at the same position of the same page. With the continuous updating of business, there are more and more demands for new information containers. For each new information container, designers need to give specific design drafts according to the needs, and then developers write code based on the design drafts. At present, information containers from different information sources are coded and implemented in different code repositories, and the implementation logic of the information container is fixed in a hard-coded form and cannot be reused. The development process needs to be completed every time, which has problems of low efficiency and waste of resources.

[0044] Figure 1 A code processing flow diagram is provided for an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation where encoding is performed on an information container. The method can be executed by a code processing device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a personal computer (PC) or a server.

[0045] like Figure 1 As shown, the method includes:

[0046] Step 101: Determine a template code file of a template information container corresponding to a target information container to be encoded, wherein the template information container includes a sub-container set, and the template code file includes implementation logic information of each sub-container in the sub-container set.

[0047] In the embodiments of the present disclosure, the display form of the information container may include a list and a card, etc., which are not specifically limited. The information container can be used to carry information such as text, pictures, audio, and video. According to actual business needs, the same information container usually needs to carry multiple types of information.

[0048] Figure 2 This is a schematic diagram of an information container provided by an embodiment of the present disclosure, taking a card as an example. Figure 2 The figure shows a card diagram of a game applet, which can be displayed in a message information stream. For example, when user a shares game A with user b, the sharing message can be displayed in the message information stream in the form of a card, such as on the left or right side of user a's avatar. The card contains various types of information, such as the applet logo, the name of game A (which can be understood as resource information, showing the source information of the message card, which can be displayed in the form of thumbnail and text), the cover image of game A, the text "Invite you to play game A together" and the "Click to join" control. In the prior art, developers need to write the code for displaying the above information from scratch in a hard-coded manner, and the written code file is integrated into the installation package of the application.

[0049] Figure 3 This is a schematic diagram of another information container provided in an embodiment of the present disclosure. Assuming that there is a new requirement to develop a small program card for scenic spot B, in the prior art, developers still need to write a hard-coded program card from scratch to implement the program card. Figure 3 The code of the information displayed in the card shown is written and then integrated into the installation package of the application, or integrated into the upgrade package and sent to the client.

[0050] In the same application or the same page of an application, some information containers may have more common functions and styles. For example, Figure 2 and Figure 3 It can be seen that there are some identical or similar parts between the two cards, such as the amount of information is basically the same, and the layout of the information in the cards is basically the same.

[0051] In the embodiment of the present disclosure, the information container can be disassembled to obtain a subcontainer set including one or more subcontainers, different subcontainers are used to carry different information, and the union of the information carried by each subcontainer in the subcontainer set can be all the information carried by the information container. Exemplarily, the information container can be divided into types according to the different disassembly results, wherein the difference in the disassembly results can be reflected in the different number of subcontainers in the subcontainer set and the different layout methods of each subcontainer. For different types of information containers, the template information container of each information container can be determined in advance (for example, if there are multiple information containers of a certain type, a representative information container can be selected as a template information container, and if there is only one, the one information container is used as a template information container), and the template code file of the template information container is pre-written. During the writing process, the implementation logic of each subcontainer is written one by one in units of subcontainers to obtain the template code file. Optionally, the template code file is pre-written based on a preset domain specific language (Domain Specific Language, DSL), and the template code file can be written based on a preset DSL protocol. Exemplarily, template code files of different types of template information containers may be uniformly stored in a template code repository, and a preset interface may be provided externally so that the required template code files may be obtained through the preset interface when a new information container is developed.

[0052] In the disclosed embodiment, the target information container is an information container to be encoded, that is, an information container for which a developer needs to write code. Exemplarily, the target information container in the design draft stage can be disassembled, and a template information container belonging to the same information container type as the target information container can be determined according to the disassembly result, and then the template code file of the template information container can be determined. Optionally, the process of disassembling the target information container can be completed automatically by a program; it can also be completed manually, for example, a designer disassembles the target information container in the design draft stage, and finds a template information container similar to it, and informs the developer of the file identifier (such as the file name, etc.) of the template code file of the template information container or directly transmits it to the device used by the developer. Then this step can be specifically as follows: receiving (for example, receiving the input of a user such as a developer) the file identifier of the template code file, and determining the template code file of the template information container corresponding to the target information container to be encoded according to the file identifier. Further, the template code file can be obtained from the template code warehouse, and the template code file can be visually displayed in the code editing interface.

[0053] As in the above example, Figure 2 and Figure 3 The cards shown can be broken down into 5 sub-containers. Figure 2 The cards shown were developed first and can be Figure 2 The card shown is used as a template information container, and the corresponding implementation code file is written as a template code file for subsequent development. Figure 3 When the card is shown, you can determine Figure 3 The template information container corresponding to the card shown is Figure 2 The card shown, and get Figure 2 Template code file for the card shown.

[0054] Step 102: Receive an editing operation for target implementation logic information, wherein the target implementation logic information is implementation logic information of a target sub-container in the sub-container set.

[0055] For example, when developing a new information container, that is, when encoding the target information container, the implementation logic information of each sub-container in the template information container can be reused in units of sub-containers, and the sub-container to be modified is found from the sub-container set, recorded as the target sub-container, and the implementation logic information of the target sub-container in the template code file is edited. The editing operation can specifically be code modification. The number of target sub-containers can be one or more, and there is no specific limitation.

[0056] As in the above example, the sub-container where the cover image of game A is located, the sub-container where the name of game A is located, and the sub-container where the text "Invite you to play game A together" is located can be determined as the target sub-container, and the editing operation of the implementation logic information of the target sub-container can be received. For example, the cover image of game A can be changed to a photo of scenic spot B, the name of game A can be changed to the name of scenic spot B, and the text "Invite you to play game A together" can be changed to the text "Invite you to take a look around".

[0057] Step 103: Generate implementation logic configuration information corresponding to the target sub-container according to the editing result of the editing operation, wherein the implementation logic configuration information is used to replace the target implementation logic information during the process of loading the template code file on a preset page to display the target information container.

[0058] Exemplarily, the editing operation may be to modify all or part of the information in the target realization logic information. After the target realization logic information is edited, the new target realization logic information obtained after the editing is completed may be generated as the realization logic configuration information corresponding to the target sub-container; in the case of modifying part of the information, the information before and after the editing in the target realization logic information may also be associated to generate the realization logic configuration information corresponding to the target sub-container.

[0059] Exemplarily, if there are multiple target sub-containers, the implementation logic configuration information corresponding to each target sub-container may be generated in sequence, and then the implementation logic configuration information corresponding to the target sub-containers may be aggregated to obtain the container configuration information corresponding to the target information container.

[0060] For example, the template code file can be integrated into the installation package or upgrade package of the application; the implementation logic configuration information can be integrated into the installation package or upgrade package of the application, or dynamically issued by the server during the operation of the application. In the process of displaying the preset page in the application, if the target information container needs to be displayed, the template code file can be loaded, and in the process of loading the template code file, the target implementation logic information is replaced with the implementation logic configuration information to display the target information container.

[0061] The technical solution of the embodiment of the present disclosure determines a template code file of a template information container corresponding to a target information container to be encoded, wherein the template information container includes a sub-container set, and the template code file includes implementation logic information of each sub-container in the sub-container set; receives an editing operation for the target implementation logic information, wherein the target implementation logic information is the implementation logic information of the target sub-container in the sub-container set; generates implementation logic configuration information corresponding to the target sub-container according to the editing result of the editing operation, wherein the implementation logic configuration information is used to replace the target implementation logic information in the process of loading the template code file on a preset page to display the target information container. By adopting the above technical solution, when there is a coding demand for the target information container, the template code file of the template information container corresponding to the target information container can be determined first, and the implementation logic information of the target sub-container therein can be edited. The implementation logic configuration information obtained after editing can be used to replace the implementation logic information of the target sub-container in the process of loading the template code file on the preset page, thereby realizing the display of the target information container, and realizing the reuse of the implementation logic information of some sub-containers in the template information container. There is no need to encode the target information container from scratch, which can reduce repeated development work, save resources, and improve the development efficiency of information containers.

[0062] In some embodiments, the template code file also includes a position identifier of each subcontainer in the subcontainer set, the position identifier is used to identify a sub-region after the template information container is divided into regions according to a preset region division method, and the sub-region is used to load the subcontainer; wherein, the receiving of the editing operation for the target implementation logic information includes: determining the target code fragment of the target subcontainer according to the target position identifier, wherein the target code fragment includes the target implementation logic information; receiving the editing operation for the target implementation logic information in the target code fragment. Thus, different subcontainers can be distinguished by the position identifier, which facilitates the rapid positioning of the target implementation logic information to be edited.

[0063] Exemplarily, the preset area division method may include vertical division and / or horizontal division, and the position identifier may also be referred to as an angular position. Figure 4 A schematic diagram of an angular axis provided in an embodiment of the present disclosure, such as Figure 4 As shown, the position identifiers of the sub-areas obtained after the vertical division from top to bottom can be recorded as top, content and bottom in sequence; the position identifiers of the sub-areas obtained after the horizontal division from left to right can be recorded as left, middle and right in sequence. If there are both vertical and horizontal divisions, the position identifiers can be in a combined form, with the vertical position in front and the horizontal position in the back, and connected by underscores, such as top_left, content_right, etc. Optionally, a complete container position identifier can also be included, such as whole_card, which can be used for general events or background color processing of information containers.

[0064] Optionally, based on the above, the divided areas can be further divided finely, such as splitting content_middle into left and right, such as splitting into content_middle_left and content_middle-_right, or splitting content_middle into top and bottom, such as splitting into content_middle_top and content_middle_bottom.

[0065] Figure 5 A schematic diagram of area division provided by an embodiment of the present disclosure is shown in FIG. Figure 5As shown, it is divided into three layers in the vertical direction, namely top, content and bottom. Content is further divided into content_left and content_right in the horizontal direction. Top is first further divided into top_left, top_middle and top_right in the horizontal direction, and top_left is further divided into two parts in the vertical direction, recorded as top_left_top and top_left_bottom respectively.

[0066] Optionally, there may be an intersection between the sub-regions, for example, one sub-region may be located inside another sub-region. Figure 6 Another regional division diagram provided by the embodiment of the present disclosure is for Figure 2 The cards shown can be Figure 6 The area division shown is divided into two layers in the vertical direction, namely top and content. Content is further divided into two parts in the vertical direction, namely content_top and content_bottom. The top is divided into top_left_top and top_left_bottom contained in the top. When editing the target implementation logic information in the template code file, for example, if you need to replace the cover image of game A with a photo of scenic spot B, you can quickly locate the corresponding target code snippet through the corresponding location identifier "top" and perform corresponding editing operations to improve editing efficiency.

[0067] Figure 7 This is a flow chart of another code processing method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is optimized based on the various optional solutions in the above embodiments, and the implementation logic information includes a preset parameter name and a parameter value corresponding to the preset parameter name, which can realize finer-grained reuse and editing of the implementation logic information. Specifically, the method includes the following steps:

[0068] Step 701: Determine a template code file of a template information container corresponding to a target information container to be encoded, wherein the template information container includes a sub-container set, and the template code file includes implementation logic information of each sub-container in the sub-container set.

[0069] Optionally, the preset parameter name includes at least one of the component type, component content, component style, and component-associated interactive operation information of the component used to implement the subcontainer. When the implementation logic information includes the above-mentioned multiple preset parameter names, it is allowed to edit the parameter values ​​of one or more of the preset parameter names. Optionally, some preset parameter names have binding relationships. If the parameter value of a preset parameter name with a binding relationship is modified, the parameter value of the preset parameter name that has a binding relationship with the preset parameter name also needs to be edited.

[0070] Exemplarily, the component type may be used to indicate the component according to which the subcontainer should render the content, which may include a text component, a picture component, a button component, an icon component, and the like.

[0071] Exemplarily, component content is used to represent the specific content in the component of the current component type, that is, the specific content of the corresponding subcontainer. For example, taking the component type as a text component, Figure 2 The "Invite you to play game A together" in the example is the specific component content. There can be a binding relationship between component type and component content. For example, if you change the image component to a text component, you need to modify the component content accordingly.

[0072] Exemplarily, a component style may include multiple preset sub-parameter names to enrich the display style of a component through a combination of multiple preset sub-parameter names. The preset sub-parameter names may vary depending on the component type. Taking the picture component as an example, the preset sub-parameter names may include picture width, picture height, picture fill mode (such as scaling the picture without maintaining the aspect ratio, scaling the picture with the aspect ratio maintained and fully displaying the long side, scaling the picture with the aspect ratio maintained and fully displaying the short side, and not scaling the picture, etc.), picture rounded corners, border thickness, border color, background color, and the like.

[0073] Exemplarily, the interactive operation information associated with the component can be used to represent the operational capabilities of the information container, such as the triggering method of the operation event (action), the specific triggered operation event (event), the parameters required to trigger the operation event (params), and the additional configuration capabilities of the operation event (extra).

[0074] Optionally, the preset parameter name may also include preset capabilities of the sub-container, such as the state types that the sub-container can have, the types of information that the sub-container can count, and the frequency setting value for the sub-container to perform a certain operation.

[0075] Step 702: Receive an edit operation on a parameter value corresponding to a target preset parameter name in target implementation logic information, wherein the target implementation logic information is implementation logic information of a target subcontainer in a subcontainer set.

[0076] For example, you can edit a specific preset parameter name (recorded as the target preset parameter name) in the target implementation logic information. For example, to modify the image content in the image component, you can specifically modify the source address of the image resource, such as Figure 2 and Figure 3 , you can change the source address of the cover image of game A to the source address of the photo of scenic spot B; for example, change the component content in the text component "Invite you to play game A" to "Invite you to take a look around".

[0077] Step 703: Determine the configuration parameter value corresponding to the target preset parameter name according to the editing result of the editing operation.

[0078] Exemplarily, taking the above modification of the image content as an example, according to the modification operation result of the source address, it is determined that the configuration parameter value corresponding to the target preset parameter name of the image content is the modified new source address.

[0079] Step 704: Generate implementation logic configuration information corresponding to the target sub-container according to the configuration parameter value, wherein the implementation logic configuration information is used to replace the parameter value corresponding to the target preset parameter name in the target implementation logic information with the configuration parameter value during the process of loading the template code file on the preset page to display the target information container.

[0080] Exemplarily, after editing a specific target preset parameter name, the implementation logic configuration information corresponding to the target sub-container can be generated according to the determined configuration parameter value, and the original parameter value can be replaced during the loading of the template code file. The parameter value of the non-target preset parameter name in the unedited target implementation logic information can be obtained by loading the template code file without the need for replacement, which can improve editing efficiency and enable the target information container to be displayed quickly, thereby improving the display efficiency of the target information container.

[0081] The code processing method provided by the embodiment of the present disclosure implements logic information including preset parameter names and parameter values ​​corresponding to the preset parameter names. When editing the target implementation logic information, the parameter values ​​corresponding to the target preset parameter names in the target implementation logic information can be edited, and implementation logic configuration information corresponding to the target subcontainer is generated according to the edited configuration parameter values, which can improve editing efficiency and enable the target information container to be displayed quickly, thereby improving the display efficiency of the target information container.

[0082] In some embodiments, receiving an editing operation on a parameter value corresponding to a target preset parameter name in target implementation logic information may specifically be: determining a target code fragment of a target subcontainer based on a target position identifier, and receiving an editing operation on a parameter value corresponding to a target preset parameter name in target implementation logic information in the target code fragment.

[0083] Figure 8 A flow chart of an information display method provided in an embodiment of the present disclosure is provided. The embodiment of the present disclosure is applicable to the situation of information container display. The method can be executed by an information display device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device. The electronic device can be a mobile terminal such as a mobile phone, a smart watch, a tablet computer, and a personal digital assistant, or a device such as a personal computer (PC) or a server.

[0084] like Figure 8 As shown, the method includes:

[0085] Step 801, obtain the template code file of the template information container corresponding to the target information container to be displayed in the preset page, and the container configuration information corresponding to the target information container, wherein the template information container includes a sub-container set, the template code file includes the implementation logic information of each sub-container in the sub-container set, and the container configuration information includes the implementation logic configuration information corresponding to the target sub-container in the sub-container set.

[0086] Exemplarily, when there are multiple target information containers, the container configuration information includes implementation logic configuration information corresponding to each target sub-container.

[0087] Optionally, the template code file also includes a position identifier of each sub-container in the sub-container set, and the position identifier is used to identify a sub-region after the template information container is divided into regions according to a preset region division method, and the sub-region is used to load the sub-container.

[0088] Step 802: Load the template code file in the preset page, and in the process of loading the template code file, use the implementation logic configuration information to replace the implementation logic information of the target subcontainer to display the target information container.

[0089] Optionally, the implementation logic information includes a preset parameter name and a parameter value corresponding to the preset parameter name. During the loading of the template code file, the parameter value corresponding to the target preset parameter name in the implementation logic information of the target subcontainer is replaced with the configuration parameter value in the implementation logic configuration information to display the target information container.

[0090] The information display method provided by the embodiment of the present disclosure obtains the template code file of the template information container corresponding to the target information container to be displayed in the preset page, and the container configuration information corresponding to the target information container, wherein the template information container includes a sub-container set, the template code file includes the implementation logic information of each sub-container in the sub-container set, and the container configuration information includes the implementation logic configuration information corresponding to the target sub-container in the sub-container set, the template code file is loaded in the preset page, and in the process of loading the template code file, the implementation logic information of the target sub-container is replaced by the implementation logic configuration information to display the target information container. By adopting the above technical solution, when there is a display demand for the target information container, the template code file of the corresponding template information container is loaded, and the implementation logic configuration information in the container configuration information is used to replace the implementation logic of the target sub-container in the template code file, so that the display of the target information container can be realized quickly and accurately, without the need to separately write and store the complete code file dedicated to the target information container, which can reduce repeated development work, save resources, and improve the development efficiency of the information container, and can save the storage space of the code file.

[0091] Fig. 9 A schematic diagram of the structure of a code processing device provided by an embodiment of the present disclosure is shown in FIG. Fig. 9 As shown, the device comprises:

[0092] The template determination module 901 is used to determine a template code file of a template information container corresponding to a target information container to be encoded, wherein the template information container includes a sub-container set, and the template code file includes implementation logic information of each sub-container in the sub-container set;

[0093] An edit receiving module 902 is used to receive an edit operation for target realization logic information, wherein the target realization logic information is realization logic information of a target sub-container in the sub-container set;

[0094] The information generation module 903 is used to generate the implementation logic configuration information corresponding to the target sub-container according to the editing result of the editing operation, wherein the implementation logic configuration information is used to replace the target implementation logic information during the process of loading the template code file on the preset page to display the target information container.

[0095] The code processing device provided by the embodiment of the present disclosure can first determine the template code file of the template information container corresponding to the target information container when there is a coding demand for the target information container, and edit the implementation logic information of the target sub-container therein. The implementation logic configuration information obtained after editing can be used to replace the implementation logic information of the target sub-container in the process of loading the template code file on the preset page, thereby realizing the display of the target information container, and can realize the reuse of the implementation logic information of some sub-containers in the template information container, without the need to encode the target information container from scratch, which can reduce repeated development work, save resources, and improve the development efficiency of the information container.

[0096] Optionally, the template code file further includes a position identifier of each sub-container in the sub-container set, the position identifier is used to identify a sub-region after the template information container is divided into regions according to a preset region division method, and the sub-region is used to load the sub-container;

[0097] Wherein, the editing receiving module includes:

[0098] A code fragment determining unit, configured to determine a target code fragment of a target subcontainer according to a target location identifier, wherein the target code fragment includes the target implementation logic information;

[0099] The editing operation receiving unit is used to receive an editing operation for the target implementation logic information in the target code segment.

[0100] Optionally, the implementation logic information includes a preset parameter name and a parameter value corresponding to the preset parameter name;

[0101] The editing receiving module is specifically used to: receive an editing operation on a parameter value corresponding to a target preset parameter name in the target realization logic information;

[0102] The information generation module includes:

[0103] A parameter value determination unit, configured to determine a configuration parameter value corresponding to the target preset parameter name according to an editing result of the editing operation;

[0104] An information generation unit is used to generate implementation logic configuration information corresponding to the target sub-container according to the configuration parameter value, wherein the implementation logic configuration information is used to replace the parameter value corresponding to the target preset parameter name in the target implementation logic information with the configuration parameter value during the process of loading the template code file on the preset page to display the target information container.

[0105] Optionally, the preset parameter name includes at least one of a component type, component content, component style, and component-associated interactive operation information for implementing the component of the sub-container.

[0106] Optionally, the template code file is pre-written based on a preset domain-specific language.

[0107] Fig.10 A schematic diagram of the structure of an information display device provided by an embodiment of the present disclosure is shown in FIG. Fig.10 As shown, the device comprises:

[0108] The acquisition module 1001 is used to acquire a template code file of a template information container corresponding to a target information container to be displayed in a preset page, and container configuration information corresponding to the target information container, wherein the template information container includes a sub-container set, the template code file includes implementation logic information of each sub-container in the sub-container set, and the container configuration information includes implementation logic configuration information corresponding to a target sub-container in the sub-container set;

[0109] The information display module 1002 is used to load the template code file in the preset page, and in the process of loading the template code file, use the implementation logic configuration information to replace the implementation logic information of the target subcontainer to display the target information container.

[0110] The information display device provided by the embodiment of the present disclosure, when there is a display demand for a target information container, loads the template code file of the corresponding template information container, and uses the implementation logic configuration information in the container configuration information to replace the implementation logic of the target sub-container in the template code file, so as to quickly and accurately realize the display of the target information container, without the need to separately write and store a complete code file dedicated to the target information container, which can reduce repetitive development work, save resources, and improve the development efficiency of the information container, and can save storage space for code files.

[0111] The code processing device provided in the embodiment of the present disclosure can execute the code processing method provided in any embodiment of the present disclosure, and has the functional modules and beneficial effects corresponding to the execution method. The information display device provided in the embodiment of the present disclosure can execute the information display method provided in any embodiment of the present disclosure, and has the functional modules and beneficial effects corresponding to the execution method.

[0112] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0113] Fig.11 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Fig.11 , which shows an electronic device (eg, Fig.11 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.11 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0114] like Fig.11 As shown, the electronic device 1100 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage device 1108 to a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the electronic device 1100 are also stored. The processing device 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An edit / output (I / O) interface 1105 is also connected to the bus 1104.

[0115] Typically, the following devices may be connected to the I / O interface 1105: an input device 1106 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1107 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1108 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1109. The communication device 1109 may allow the electronic device 1100 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.11 The electronic device 1100 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0116] 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 non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 1109, or installed from a storage device 1108, or installed from a ROM 1102. When the computer program is executed by the processing device 1101, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0117] The electronic device provided by the embodiment of the present disclosure and the code processing method and / or information display method provided by the above-mentioned embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above-mentioned embodiment, and this embodiment has the same beneficial effects as the above-mentioned embodiment.

[0118] An embodiment of the present disclosure provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the code processing method and / or information display method provided in the above embodiments are implemented.

[0119] The embodiments of the present disclosure provide a computer program product, including a computer program, which, when executed by a processor, implements the code processing method and / or information display method provided in the above embodiments.

[0120] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, 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 containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit 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 of the above.

[0121] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may 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 future developed network.

[0122] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0123] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: determines a template code file of a template information container corresponding to a target information container to be encoded, wherein the template information container includes a sub-container set, and the template code file includes implementation logic information of each sub-container in the sub-container set; receives an editing operation for target implementation logic information, wherein the target implementation logic information is implementation logic information of a target sub-container in the sub-container set; generates implementation logic configuration information corresponding to the target sub-container according to the editing result of the editing operation, wherein the implementation logic configuration information is used to replace the target implementation logic information in the process of loading the template code file on a preset page to display the target information container.

[0124] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: determines a template code file of a template information container corresponding to a target information container to be encoded, wherein the template information container includes a sub-container set, and the template code file includes implementation logic information of each sub-container in the sub-container set; receives an editing operation for target implementation logic information, wherein the target implementation logic information is implementation logic information of a target sub-container in the sub-container set; generates implementation logic configuration information corresponding to the target sub-container according to an editing result of the editing operation, wherein the implementation logic configuration information is used to replace the target implementation logic information in the process of loading the template code file on a preset page to display the target information container.

[0125] 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, but not limited to, 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 separate software package, partially on the user's computer and partially on a remote computer, or entirely on a 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).

[0126] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0127] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a module does not limit the module itself in some cases. For example, an edit receiving module may also be described as "a module for receiving edit operations for target implementation logic information, wherein the target implementation logic information is the implementation logic information of the target subcontainer in the subcontainer set".

[0128] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, 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 chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0129] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may 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 may 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.

[0130] According to one or more embodiments of the present disclosure, a code processing method is provided, including:

[0131] Determine a template code file of a template information container corresponding to a target information container to be encoded, wherein the template information container includes a sub-container set, and the template code file includes implementation logic information of each sub-container in the sub-container set;

[0132] receiving an editing operation for target realization logic information, wherein the target realization logic information is realization logic information of a target sub-container in the sub-container set;

[0133] The implementation logic configuration information corresponding to the target subcontainer is generated according to the editing result of the editing operation, wherein the implementation logic configuration information is used to replace the target implementation logic information during the process of loading the template code file on the preset page to display the target information container.

[0134] According to one or more embodiments of the present disclosure, the template code file further includes a position identifier of each sub-container in the sub-container set, the position identifier is used to identify a sub-region after the template information container is divided into regions according to a preset region division method, and the sub-region is used to load the sub-container;

[0135] The receiving of the editing operation of the target implementation logic information includes:

[0136] Determine a target code segment of a target subcontainer according to a target location identifier, wherein the target code segment includes the target implementation logic information;

[0137] An editing operation on the target implementation logic information in the target code segment is received.

[0138] According to one or more embodiments of the present disclosure, the implementation logic information includes a preset parameter name and a parameter value corresponding to the preset parameter name;

[0139] The receiving of the editing operation of the target implementation logic information includes:

[0140] Receive an edit operation on a parameter value corresponding to a target preset parameter name in target realization logic information;

[0141] The step of generating the implementation logic configuration information corresponding to the target sub-container according to the editing result of the editing operation includes:

[0142] Determining the configuration parameter value corresponding to the target preset parameter name according to the editing result of the editing operation;

[0143] The implementation logic configuration information corresponding to the target sub-container is generated according to the configuration parameter value, wherein the implementation logic configuration information is used to replace the parameter value corresponding to the target preset parameter name in the target implementation logic information with the configuration parameter value during the process of loading the template code file on the preset page to display the target information container.

[0144] According to one or more embodiments of the present disclosure, the preset parameter name includes at least one of a component type, component content, component style, and component-associated interactive operation information of a component used to implement the sub-container.

[0145] According to one or more embodiments of the present disclosure, the template code file is pre-written based on a preset domain-specific language.

[0146] According to one or more embodiments of the present disclosure, there is provided an information display method, including:

[0147] Obtaining a template code file of a template information container corresponding to a target information container to be displayed in a preset page, and container configuration information corresponding to the target information container, wherein the template information container includes a sub-container set, the template code file includes implementation logic information of each sub-container in the sub-container set, and the container configuration information includes implementation logic configuration information corresponding to a target sub-container in the sub-container set;

[0148] The template code file is loaded in the preset page, and in the process of loading the template code file, the implementation logic information of the target sub-container is replaced by using the implementation logic configuration information to display the target information container.

[0149] According to one or more embodiments of the present disclosure, a code processing device is provided, including:

[0150] A template determination module, used to determine a template code file of a template information container corresponding to a target information container to be encoded, wherein the template information container includes a sub-container set, and the template code file includes implementation logic information of each sub-container in the sub-container set;

[0151] An editing receiving module, used for receiving an editing operation on target realization logic information, wherein the target realization logic information is realization logic information of a target sub-container in the sub-container set;

[0152] An information generation module is used to generate implementation logic configuration information corresponding to the target sub-container according to the editing result of the editing operation, wherein the implementation logic configuration information is used to replace the target implementation logic information during the process of loading the template code file on a preset page to display the target information container.

[0153] According to one or more embodiments of the present disclosure, there is provided an information display device, comprising:

[0154] an acquisition module, used to acquire a template code file of a template information container corresponding to a target information container to be displayed in a preset page, and container configuration information corresponding to the target information container, wherein the template information container includes a sub-container set, the template code file includes implementation logic information of each sub-container in the sub-container set, and the container configuration information includes implementation logic configuration information corresponding to a target sub-container in the sub-container set;

[0155] The information display module is used to load the template code file in the preset page, and in the process of loading the template code file, use the implementation logic configuration information to replace the implementation logic information of the target subcontainer to display the target information container.

[0156] According to one or more embodiments of the present disclosure, an electronic device is provided, the electronic device comprising:

[0157] one or more processors;

[0158] a storage device for storing one or more programs,

[0159] When the one or more programs are executed by the one or more processors, the one or more processors implement the code processing method and / or information display method provided by the embodiments of the present disclosure.

[0160] According to one or more embodiments of the present disclosure, a storage medium containing computer executable instructions is provided. When the computer executable instructions are executed by a computer processor, they are used to execute the code processing method and / or information display method provided by the embodiments of the present disclosure.

[0161] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. 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 a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0162] 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 are 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.

[0163] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A code processing method, It is characterized in that include: Determine a template code file of a template information container corresponding to a target information container to be encoded, wherein the template information container includes a sub-container set, and the template code file includes implementation logic information of each sub-container in the sub-container set; receiving an editing operation for target realization logic information, wherein the target realization logic information is realization logic information of a target sub-container in the sub-container set; The implementation logic configuration information corresponding to the target subcontainer is generated according to the editing result of the editing operation, wherein the implementation logic configuration information is used to replace the target implementation logic information during the process of loading the template code file on the preset page to display the target information container.

2. The method according to claim 1, It is characterized in that The template code file also includes a position identifier of each sub-container in the sub-container set, wherein the position identifier is used to identify a sub-region after the template information container is divided into regions according to a preset region division method, and the sub-region is used to load the sub-container; The receiving of the editing operation of the target implementation logic information includes: Determine a target code segment of a target subcontainer according to a target location identifier, wherein the target code segment includes the target implementation logic information; An editing operation on the target implementation logic information in the target code segment is received.

3. The method according to claim 1, It is characterized in that The implementation logic information includes a preset parameter name and a parameter value corresponding to the preset parameter name; The receiving of the editing operation of the target implementation logic information includes: Receive an edit operation on a parameter value corresponding to a target preset parameter name in target realization logic information; The step of generating the implementation logic configuration information corresponding to the target sub-container according to the editing result of the editing operation includes: Determining the configuration parameter value corresponding to the target preset parameter name according to the editing result of the editing operation; The implementation logic configuration information corresponding to the target sub-container is generated according to the configuration parameter value, wherein the implementation logic configuration information is used to replace the parameter value corresponding to the target preset parameter name in the target implementation logic information with the configuration parameter value during the process of loading the template code file on the preset page to display the target information container.

4. The method according to claim 3, It is characterized in that The preset parameter name includes at least one of a component type, component content, component style, and component-associated interactive operation information for implementing the component of the sub-container.

5. The method according to claim 1, It is characterized in that The template code file is pre-written based on a preset domain-specific language.

6. A method for displaying information, It is characterized in that include: Obtaining a template code file of a template information container corresponding to a target information container to be displayed in a preset page, and container configuration information corresponding to the target information container, wherein the template information container includes a sub-container set, the template code file includes implementation logic information of each sub-container in the sub-container set, and the container configuration information includes implementation logic configuration information corresponding to a target sub-container in the sub-container set; The template code file is loaded in the preset page, and in the process of loading the template code file, the implementation logic information of the target sub-container is replaced by using the implementation logic configuration information to display the target information container.

7. A code processing device, It is characterized in that include: A template determination module, used to determine a template code file of a template information container corresponding to a target information container to be encoded, wherein the template information container includes a sub-container set, and the template code file includes implementation logic information of each sub-container in the sub-container set; An editing receiving module, used for receiving an editing operation on target realization logic information, wherein the target realization logic information is realization logic information of a target sub-container in the sub-container set; An information generation module is used to generate implementation logic configuration information corresponding to the target sub-container according to the editing result of the editing operation, wherein the implementation logic configuration information is used to replace the target implementation logic information during the process of loading the template code file on a preset page to display the target information container.

8. An information display device, It is characterized in that include: an acquisition module, used to acquire a template code file of a template information container corresponding to a target information container to be displayed in a preset page, and container configuration information corresponding to the target information container, wherein the template information container includes a sub-container set, the template code file includes implementation logic information of each sub-container in the sub-container set, and the container configuration information includes implementation logic configuration information corresponding to a target sub-container in the sub-container set; The information display module is used to load the template code file in the preset page, and in the process of loading the template code file, use the implementation logic configuration information to replace the implementation logic information of the target subcontainer to display the target information container.

9. An electronic device, It is characterized in that The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.

10. A storage medium containing computer executable instructions, It is characterized in that The computer executable instructions are used to perform the method according to any one of claims 1 to 6 when executed by a computer processor.