Data generation method and device based on co-constructed floor
By calling the embeddable floor list panel component in the co-built floor, rendering and saving the associated target floor information, the problem of independent co-built floors is solved, information sharing and linkage are realized, and the efficiency and flexibility of embedding sub-floors are improved.
Patent Information
- Application Number
- CN202210859286.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-20
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2042-07-20
AI Technical Summary
The co-built floors in the existing page building platform are independent of each other, and information sharing and linkage cannot be achieved, which cannot meet the scenario where multiple co-built floors need to be linked during large promotion activities.
In response to determining that the current floor is a shared floor, the embeddable floor list panel component is invoked to render the embeddable floor list, allowing users to select and add associated target floor information as sub-floors, and save them in the shared floor data.
It enables information sharing and linkage between co-constructed floors, improves the efficiency and flexibility of embedding sub-floors, and meets the linkage needs of multiple co-constructed floors during major promotional events.
Smart Images

Figure CN115238350B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, specifically to the field of computer software technology, and in particular to a method and device for generating data based on co-built floors. Background Art
[0002] The Page Builder platform is a free platform for quickly creating campaign pages for procurement, operations, and merchants. It supports both wireless and PC-based page creation. Configured campaigns require independent promotion, serving as secondary in-store promotional pages, submitting procurement and marketing campaigns, and using them for overseas promotions or direct marketing. Currently, the Page Builder platform allows for embedding co-construction floors within the page creation process. Co-construction floors are created on the iHub co-construction platform.
[0003] Currently, the platform only supports directly embedding multiple separate co-built floors within the operations page. Each co-built floor is completely independent. It doesn't support embedding sub-floors within a co-built floor. This doesn't meet the requirements of some promotional scenarios, such as requiring multiple co-built floors to be linked or sharing information between them. Summary of the Invention
[0004] The embodiments of the present application provide a method, apparatus, device, and storage medium for generating data based on co-construction floors.
[0005] According to the first aspect, an embodiment of the present application provides a data generation method based on co-built floors, the method including: in response to determining that the current floor is a co-built floor, calling an embeddable floor list panel component, rendering an embeddable floor list, the embeddable floor list being used to add the embeddable floor as a sub-floor of the co-built floor, the embeddable floor list including a first list and a second list, the first list including floor information of at least one embeddable floor, the embeddable floor being a co-built floor that has an associated relationship with the co-built floor; in response to detecting a selection operation on the target floor information in the first list, adding the target floor information to the second list; saving the target floor information in the second list in the data corresponding to the co-built floor, and obtaining the target data of the corresponding co-built floor.
[0006] According to the second aspect, an embodiment of the present application provides a data generation device based on co-built floors, the device including: a calling module, configured to call an embeddable floor list panel component in response to determining that the current floor is a co-built floor, and render an embeddable floor list, the embeddable floor list being used to add the embeddable floor as a sub-floor of the co-built floor, the embeddable floor list including a first list and a second list, the first list including floor information of at least one embeddable floor, the embeddable floor being a co-built floor that has an associated relationship with the co-built floor; a selection module, configured to add the target floor information to the second list in response to detecting a selection operation on the target floor information in the first list; a saving module, configured to save the target floor information in the second list in the data corresponding to the co-built floor, and obtain the target data of the corresponding co-built floor.
[0007] According to the third aspect, an embodiment of the present application provides an electronic device, which includes one or more processors; a storage device on which one or more programs are stored. When the one or more programs are executed by the one or more processors, the one or more processors implement the data generation method based on co-built floors as in any embodiment of the first aspect.
[0008] According to a fourth aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements a data generation method based on co-built floors as in any embodiment of the first aspect.
[0009] In response to determining that the floor to be added is a co-construction floor, the present application calls an embeddable floor list panel component to render an embeddable floor list; in response to detecting a selection operation on the target floor information in the first list, the target floor information is added to the second list; the target floor information in the second list is saved in the data corresponding to the co-construction floor, and the target data corresponding to the co-construction floor is obtained, that is, one or more co-construction floors with mutual relevance are embedded as sub-floors of a co-construction floor, thereby overcoming the problem in the prior art that the co-construction floors are independent of each other and cannot share information, and realizing the linkage of the co-construction floors.
[0010] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;
[0012] Figure 2is a flow chart of an embodiment of a method for generating data based on co-built floors according to the present application;
[0013] Figure 3 This is a schematic diagram of an application scenario of the data generation method based on co-built floors according to the present application;
[0014] Figure 4 is a flow chart of another embodiment of the method for generating data based on co-built floors according to the present application;
[0015] Figure 5 is a schematic diagram of an embodiment of a data generation device based on co-built floors according to the present application;
[0016] Figure 6 It is a structural diagram of a computer system suitable for implementing a server in an embodiment of the present application. DETAILED DESCRIPTION
[0017] The following description of exemplary embodiments of the present application is made in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding. These details should be considered as merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0018] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0019] Figure 1 An exemplary system architecture 100 is shown to which an embodiment of the method for generating data based on co-construction floors of the present application can be applied.
[0020] like Figure 1 As shown, system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. Network 104 is a medium for providing communication links between terminal devices 101, 102, 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables.
[0021] The terminal devices 101, 102, 103 interact with the server 105 via the network 104 to receive or send messages, etc. Various communication client applications may be installed on the terminal devices 101, 102, 103, such as data generation applications based on co-built floors, communication applications, etc.
[0022] The terminal devices 101, 102, and 103 can be hardware or software. When the terminal devices 101, 102, and 103 are hardware, they can be various electronic devices with display screens, including but not limited to mobile phones and laptops. When the terminal devices 101, 102, and 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, to provide data generation services based on co-built floors), or it can be implemented as a single software or software module. No specific limitation is made here.
[0023] Server 105 can be a server that provides various services. For example, in response to determining that the current floor is a co-construction floor, the embeddable floor list panel component is called to render the embeddable floor list. In response to detecting a selection operation on the target floor information in the first list, the target floor information is added to the second list, and the target floor information in the second list is saved in the data of the corresponding co-construction floor to obtain the target data of the corresponding co-construction floor.
[0024] It should be noted that the server 105 can be either hardware or software. When the server 105 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When the server is software, it can be implemented as multiple software or software modules (for example, for providing data generation services based on co-built floors), or as a single software or software module. No specific limitations are given here.
[0025] It should be noted that the data generation method based on co-construction floors provided in the embodiments of the present disclosure can be executed by the server 105, or by the terminal devices 101, 102, 103, or by the server 105 and the terminal devices 101, 102, 103 in cooperation with each other. Accordingly, the various parts (e.g., various units, sub-units, modules, sub-modules) included in the data generation device based on co-construction floors can be all set in the server 105, or all set in the terminal devices 101, 102, 103, or respectively set in the server 105 and the terminal devices 101, 102, 103.
[0026] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.
[0027] Figure 2 A flow chart 200 of an embodiment of a method for generating data based on co-construction floors that can be applied to the present application is shown. In this embodiment, the method for generating data based on co-construction floors includes the following steps:
[0028] Step 201: In response to determining that the current floor is a co-construction floor, calling the embeddable floor list panel component to render the embeddable floor list.
[0029] In this embodiment, the page building platform supports directly embedding multiple separate co-built floors in the operation page. Each co-built floor is completely independent of each other. Figure 1 The server 105 or terminal devices 101, 102, 103 shown in the figure can traverse all floors in the page building platform and make judgments on each floor. For each floor, if the floor is a co-built floor, the embeddable floor list panel component can be called to render the embeddable floor list.
[0030] Among them, the embeddable floor list is used to add the embeddable floor as a sub-floor of the co-built floor. The embeddable floor list includes a first list and a second list. The first list includes floor information of at least one embeddable floor. The embeddable floor is a co-built floor that has an associated relationship with the co-built floor.
[0031] Here, the embeddable floor list panel component can be constructed as follows:
[0032] (1) Create a new js file named list in the folder. This file implements the display of floor names that can be embedded in the floor. The floor name is displayed at the head of the list, and the optional floor information passed in is displayed in the middle of the list. It is necessary to call the function getListItems. This function calls the Item component based on the passed in floor information to implement the display of embeddable floor information and the functions of adding or deleting as well as dragging and adding.
[0033] (2) Create a new js file named Item in the folder. This Item component renders a single embeddable floor list and add or delete buttons based on the incoming data information.
[0034] The type of button requires calling the getOperationIcon function, which renders different buttons based on different attribute properties. When the attribute is add, an add button is rendered; when the attribute is delete, a delete button is rendered. Clicking the button calls the handleClick function, which adds or deletes data based on the passed parameters.
[0035] (3) Create a new js file named index in the folder. According to the different parameter types, call the list component, pass in the corresponding floor data and related methods, and render the left and right lists.
[0036] In some optional methods, in response to determining that the current floor is a co-built floor, the embeddable floor list panel component is called to render the embeddable floor list, including: in response to determining that the current floor is a co-built floor, and the co-built floor is associated with an embeddable floor, the embeddable floor list panel component is called to render the embeddable floor list.
[0037] In this implementation method, the execution entity can traverse all floors in the page construction platform and make judgments on each floor. For each floor, if the floor is a co-construction floor, it will further determine whether the co-construction floor is associated with an embeddable floor. If the co-construction floor is associated with an embeddable floor, the embeddable floor list panel component can be called to render the embeddable floor list.
[0038] This implementation method responds to determining that the current floor is a co-construction floor and that the co-construction floor is associated with an embeddable floor, calls the embeddable floor list panel component, renders the embeddable floor list, and then embeds the sub-floors based on the embeddable floor list. That is, the embeddable floor list is only rendered for the co-construction floor associated with the embeddable floor, avoiding calling the embeddable floor list panel component for each co-construction floor to render the embeddable floor list, which consumes system resources, effectively improves the efficiency and effectiveness of embedding sub-floors, and saves system resources.
[0039] Step 202: In response to detecting a selection operation on the target floor information in the first list, adding the target floor information to the second list.
[0040] In this embodiment, the execution entity may detect the user's selection operation on one or more target floors in the first list in real time or periodically, and add the target floor information to the second list in response to detecting the user's selection operation on the target floor information in the first list.
[0041] Among them, the selection operation of the target floor information can be any operation that can trigger the selection, for example, a mouse click, a mouse double-click, a single click on the touch screen, a double-click on the touch screen, a slide on the touch screen, a hover on the touch screen, a drag on the touch screen, etc. on the target floor information or the add button corresponding to the target floor information. This application does not limit this.
[0042] In some optional embodiments, in response to detecting a selection operation on the target floor information in the first list, adding the target floor information to the second list includes: in response to detecting a drag operation on the target floor information in the first list, adding the target floor information to the second list.
[0043] In this implementation, the execution entity may detect the user's selection operation on one or more target floors in the first list in real time or periodically, and add the target floor information to the second list in response to detecting the user's drag operation on the target floor information in the first list.
[0044] Here, in order to enable the target floor information to be dragged, the DragSource method can be introduced from React DnD in the Item component to package the component to be dragged so that the component can be dragged. The following parameters are passed in: 1.type: drag type, 2.spec: method object of the drag event, 3.collect: inject the information needed during the dragging process into the component's props to realize the function of adding floors to the draggable list.
[0045] This implementation effectively improves the flexibility and diversity of adding floor information by adding the target floor information to the second list in response to detecting a drag operation on the target floor information in the first list.
[0046] Step 203: Save the target floor information in the second list in the data corresponding to the co-construction floor to obtain the target data corresponding to the co-construction floor.
[0047] In this embodiment, after the execution entity adds the target floor information to the second list, it can save the target floor information in the second list in the data corresponding to the co-construction floor to obtain the target data corresponding to the co-construction floor, that is, embed the co-construction floor corresponding to the target floor information as a sub-floor of the above-mentioned co-construction floor.
[0048] In some optional embodiments, the method further includes: publishing based on the target data.
[0049] In this implementation, after the executing entity obtains the target data corresponding to the co-construction floor, it can directly publish the target data, or it can first display the preview effect image corresponding to the target data; in response to determining that the preview effect image meets the preset conditions, the target data is published, and this application does not limit this.
[0050] This implementation method realizes the release of the co-constructed floor after embedding it into the sub-floor by publishing based on the target data after obtaining the target data.
[0051] In some optional embodiments, the method further includes: in response to detecting a deletion operation on the target floor information in the second list, deleting the target floor information.
[0052] In this implementation, the execution entity may detect the user's deletion operation on one or more target floor information in the second list in real time or periodically, and delete the target floor information in response to detecting the deletion operation on one or more target floor information in the second list.
[0053] Among them, the deletion operation can be any operation that can trigger deletion, for example, a mouse click, a mouse double-click, a single click on the touch screen, a double-click on the touch screen, a slide on the touch screen, a hover on the touch screen, a drag on the touch screen, etc. on the target floor information or the delete button corresponding to the target floor information. This application does not limit this.
[0054] This implementation method deletes the target floor information in response to detecting a deletion operation on the target floor information in the second list, thereby effectively improving the flexibility of embedding sub-floors in co-construction floors, that is, improving the flexibility of co-construction floor linkage.
[0055] Continue to see Figure 3 , Figure 3 This is a schematic diagram of an application scenario of the data generation method based on co-construction floors according to this embodiment.
[0056] exist Figure 3 In the application scenario, the execution body 301 can traverse all floors in the construction page platform and judge each floor. For each floor, in response to determining that the current floor is a co-construction floor, the embeddable floor list panel component is called to render the embeddable floor list 302. The embeddable floor list 302 can be displayed via the display device 303. The embeddable floor list is used to add the embeddable floor as a sub-floor of the co-construction floor. The embeddable floor list includes a first list 304 and a second list 305. The first list 304 includes floor information of at least one embeddable floor, for example, the embeddable floor A Floor information A, floor information B that can be embedded in floor B, and floor information C that can be embedded in floor C, where the embeddable floors are co-built floors that are associated with the co-built floors; in response to detecting the user 306's selection operation on the target floor information in the first list 304, such as clicking the "Add" button corresponding to the floor information B, the target floor information is added to the second list 305; the target floor information in the second list 305 is saved in the data corresponding to the co-built floor, and the target data corresponding to the co-built floor is obtained, that is, the co-built floor corresponding to the target floor information is embedded as a sub-floor of the above-mentioned co-built floor.
[0057] Furthermore, the execution entity may publish based on the target data, that is, after entering the project, when displaying the co-construction floor, the sub-floors embedded in the co-construction floor are displayed.
[0058] The data generation method based on co-construction floors disclosed in the present invention, in response to determining that the current floor is a co-construction floor, calls the embeddable floor list panel component, renders the embeddable floor list, in response to detecting the selection operation of the target floor information in the first list, adds the target floor information to the second list, saves the target floor information in the second list in the data corresponding to the co-construction floor, and obtains the target data of the corresponding co-construction floor, that is, embeds one or more co-construction floors with mutual correlation into sub-floors of a co-construction floor, overcomes the problem of mutual independence and inability to achieve information sharing in the prior art, and realizes the linkage of the co-construction floors.
[0059] Further references Figure 4 , which shows Figure 2 The process 400 of another embodiment of the method for generating data based on co-construction floors is shown. In this embodiment, the process 400 of the method for generating data based on co-construction floors may include the following steps:
[0060] Step 401: In response to determining that the current floor is a co-construction floor, calling the embeddable floor list panel component to render the embeddable floor list.
[0061] In this embodiment, the implementation details and technical effects of step 401 can be found in the description of step 201 and will not be repeated here.
[0062] Step 402: In response to detecting a selection operation on the target floor information in the first list, the target floor information is added to the second list.
[0063] In this embodiment, the implementation details and technical effects of step 402 can be found in the description of step 202 and will not be repeated here.
[0064] Step 403: Save the target floor information in the second list in the data corresponding to the co-construction floor to obtain the target data corresponding to the co-construction floor.
[0065] In this embodiment, the implementation details and technical effects of step 403 can be found in the description of step 203 and will not be repeated here.
[0066] Step 404: display a preview effect diagram corresponding to the target data.
[0067] In this embodiment, after obtaining the target data, the execution entity can directly display the preview effect image corresponding to the target data through the display device, or it can display the preview effect image corresponding to the target data based on the display instruction input by the user. This application does not limit this.
[0068] Step 405: In response to determining that the preview effect image meets the preset conditions, the target data is released.
[0069] In this embodiment, the executing entity can directly determine whether the preview effect image meets the preset conditions, or it can determine whether the preview effect image meets the preset conditions based on the user's input instruction on whether the preview effect image meets the preset conditions. If the preview effect image meets the preset conditions, the target data is published, that is, after entering the project, when displaying the co-construction floor, the sub-floor embedded in the co-construction floor is displayed.
[0070] Among them, the preset conditions can be determined based on experience, actual needs and specific application scenarios, and this application does not limit this.
[0071] Furthermore, if it is determined that the preview effect image does not meet the preset conditions, the sub-floors of the co-construction floor can be corrected based on the embeddable floor list.
[0072] from Figure 4 It can be seen that Figure 2 Compared with the corresponding embodiments, the process 400 of the data generation method based on co-construction floors in this embodiment embodies the display of preview renderings corresponding to target data, and in response to determining that the preview renderings meet the preset conditions, the target data is published, that is, before publishing the data of the co-construction floor with added sub-floors, the renderings of the target data corresponding to the co-construction floor are previewed, thereby ensuring the validity and reliability of the published co-construction floor with embedded sub-floors, that is, ensuring the validity and reliability of the linkage of the co-construction floors.
[0073] Further references Figure 5 As an implementation of the methods shown in the above figures, this application provides an embodiment of a data generation device based on a co-built floor. Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0074] like Figure 5 As shown, the data generation device 500 based on co-construction floors of this embodiment includes: a calling module 501 , a selecting module 502 and a saving module 503 .
[0075] The calling module 501 may be configured to call the embeddable floor list panel component and render the embeddable floor list in response to determining that the current floor is a co-construction floor.
[0076] The selection module 502 may be configured to add the target floor information to the second list in response to detecting a selection operation on the target floor information in the first list.
[0077] The saving module 503 may be configured to save the target floor information in the second list in the data corresponding to the co-construction floor, and obtain the target data corresponding to the co-construction floor.
[0078] In some optional aspects of this embodiment, the device further includes a publishing module, which can be configured to publish based on target data.
[0079] In some optional aspects of this embodiment, the publishing module is further configured to: display a preview rendering corresponding to the target data; and publish the target data in response to determining that the preview rendering meets a preset condition.
[0080] In some optional aspects of this embodiment, the calling module is further configured to: in response to determining that the current floor is a co-construction floor and the co-construction floor is associated with an embeddable floor, call the embeddable floor list panel component to render the embeddable floor list.
[0081] In some optional aspects of this embodiment, the selection module is further configured to: in response to detecting a drag operation on the target floor information in the first list, add the target floor information to the second list.
[0082] In some optional aspects of this embodiment, the device further includes: a deletion module configured to delete the target floor information in response to detecting a deletion operation on the target floor information in the second list.
[0083] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.
[0084] like Figure 6 , which is a block diagram of an electronic device according to a method for generating data based on co-built floors according to an embodiment of the present application.
[0085] 600 is a block diagram of an electronic device according to an embodiment of the present application based on a data generation method for a co-built floor. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0086] like Figure 6As shown, the electronic device includes: one or more processors 601, a memory 602, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 601 is taken as an example.
[0087] Memory 602 is the non-transitory computer-readable storage medium provided in this application. The memory stores instructions executable by at least one processor, causing the at least one processor to execute the method for generating data based on co-construction floors provided in this application. The non-transitory computer-readable storage medium of this application stores computer instructions for causing a computer to execute the method for generating data based on co-construction floors provided in this application.
[0088] The memory 602 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as the program instructions / modules corresponding to the data generation method based on the co-built floor in the embodiment of the present application (for example, the attached Figure 5 The processor 601 executes the non-transient software programs, instructions, and modules stored in the memory 602 to execute various functional applications and data processing of the server, thereby implementing the data generation method based on co-built floors in the above method embodiment.
[0089] The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created by the use of electronic devices generated based on data of the co-built floors, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 602 may optionally include a memory remotely located relative to the processor 601, and these remote memories may be connected to the electronic devices generated based on data of the co-built floors via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0090] The electronic device based on the data generation method of the co-construction floor may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected via a bus or other means. Figure 6 The bus connection is taken as an example.
[0091] The input device 603 can receive input digital or character information, such as an input device such as a touch screen, a keypad, a mouse, a trackpad, a touch pad, a pointer, one or more mouse buttons, a trackball, a joystick, etc. The output device 604 can include a display device, an auxiliary lighting device (e.g., an LED), and a tactile feedback device (e.g., a vibration motor). The display device can include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some embodiments, the display device can be a touch screen.
[0092] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0093] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for a programmable processor and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., a magnetic disk, an optical disk, a memory, a programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0094] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0095] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by 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), and the Internet.
[0096] Computer systems may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The client and server relationship arises through computer programs running on the respective computers and having a client-server relationship to each other.
[0097] According to the technical solution of the embodiment of the present application, the problem of mutual independence and inability to share information between co-built floors in the prior art is overcome, and the linkage of co-built floors is achieved.
[0098] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this application can be achieved. This is not a limitation herein.
[0099] The above specific embodiments do not constitute a limitation on the scope of protection of this application. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application shall be included within the scope of protection of this application.
Claims
1. A data generation method based on co-construction floors, the method comprising: In response to determining that the current floor is a co-construction floor to be added, calling an embeddable floor list panel component to render an embeddable floor list, wherein the embeddable floor list is used to add the embeddable floor as a sub-floor of the co-construction floor to be added, and the embeddable floor list includes a first list and a second list, the first list includes floor information of at least one embeddable floor, and the embeddable floor is a co-construction floor that has an associated relationship with the co-construction floor to be added; In response to detecting a selection operation on the target floor information in the first list, adding the target floor information to the second list; The target floor information in the second list is saved in the corresponding current of From the data of the co-construction floors, target data corresponding to the co-construction floor to be added is obtained.
2. The method according to claim 1, further comprising: Based on the target data, publishing is performed.
3. The method according to claim 2, wherein: The publishing based on the target data includes: Displaying a preview effect diagram corresponding to the target data; In response to determining that the preview effect image meets the preset condition, the target data is published.
4. The method according to claim 1, wherein In response to determining that the current floor is a co-construction floor to be added, calling the embeddable floor list panel component to render the embeddable floor list includes: In response to determining that the current floor is a co-construction floor to be added, and the co-construction floor is associated with an embeddable floor, the embeddable floor list panel component is called to render the embeddable floor list.
5. The method according to claim 1, wherein In response to detecting a selection operation on the target floor information in the first list, adding the target floor information to the second list includes: In response to detecting a drag operation on the target floor information in the first list, the target floor information is added to the second list.
6. The method according to any one of claims 1 to 5, further comprising: In response to detecting a deletion operation on the destination floor information in the second list, the destination floor information is deleted.
7. A data generation device based on a co-built floor, the device comprising: a calling module configured to, in response to determining that the current floor is a co-construction floor to be added, call an embeddable floor list panel component and render an embeddable floor list, wherein the embeddable floor list is used to add the embeddable floor as a sub-floor of the co-construction floor to be added, the embeddable floor list including a first list and a second list, the first list including floor information of at least one embeddable floor, and the embeddable floor being a co-construction floor that has an associated relationship with the co-construction floor to be added; a selection module configured to, in response to detecting a selection operation on the target floor information in the first list, add the target floor information to the second list; The saving module is configured to save the target floor information in the second list in the data corresponding to the co-construction floor to be added, and obtain the target data corresponding to the co-construction floor to be added.
8. The apparatus according to claim 7, further comprising: The publishing module is configured to publish based on the target data.
9. The device according to claim 8, wherein The publishing module is further configured to: Displaying a preview effect diagram corresponding to the target data; In response to determining that the preview effect image meets the preset condition, the target data is published.
10. The device according to claim 7, wherein The calling module is further configured to: In response to determining that the current floor is a co-construction floor to be added, and the co-construction floor is associated with an embeddable floor, the embeddable floor list panel component is called to render the embeddable floor list.
11. The device according to claim 7, wherein The selection module is further configured to: In response to detecting a drag operation on the target floor information in the first list, the target floor information is added to the second list.
12. The device according to any one of claims 7 to 11, further comprising: The deleting module is configured to delete the target floor information in response to detecting a deletion operation on the target floor information in the second list.
13. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, so that the at least one processor can perform the method according to any one of claims 1 to 6.
14. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Mobile terminal page construction method and system and mobile terminal
CN110764763A
Visual page building method and device, storage medium and computer equipment
CN114579128A