CN117406974A - Television desktop starter generation method and device, storage medium and electronic equipment - Google Patents

Television desktop starter generation method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN117406974A
CN117406974A CN202310602907.4A CN202310602907A CN117406974A CN 117406974 A CN117406974 A CN 117406974A CN 202310602907 A CN202310602907 A CN 202310602907A CN 117406974 A CN117406974 A CN 117406974A
Authority
CN
China
Prior art keywords
starter
editing
desktop starter
editing tool
television
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310602907.4A
Other languages
Chinese (zh)
Inventor
郑利涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202310602907.4A priority Critical patent/CN117406974A/en
Publication of CN117406974A publication Critical patent/CN117406974A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The application discloses a method and a device for generating a television desktop starter, a storage medium and electronic equipment, and relates to the technical field of computers, wherein the method comprises the following steps: starting an editing tool, wherein a component library is loaded in the editing tool, and the component library comprises components for a television desktop starter; starting a television desktop starter to be edited in the editing tool according to the starting operation in the editing tool; obtaining a television desktop starter to be generated according to the editing operation of the editing tool on the components in the component library and the television desktop starter to be edited; and responding to the generating operation in the editing tool, and generating a target television desktop starter based on the television desktop starter to be generated. The method and the device can effectively improve the flexibility of development and generation of the television desktop starter, improve the quick adjustment response performance of the television desktop starter, and reduce the cost of resources in the whole development and generation process.

Description

Television desktop starter generation method and device, storage medium and electronic equipment
Technical Field
The application relates to the technical field of computers, in particular to a method and a device for generating a television desktop starter, a storage medium and electronic equipment.
Background
The development form of a television desktop starter (Launcher) aiming at a TV terminal in the market at present is mainly divided into two forms of Android native development and web and Android native mixed development. In the development of the web and Android native mixed mode, the existing scheme on the market at present usually depends on the development personnel to complete, the development and generation flow of the whole television desktop starter (Launcher) lacks flexibility, and related personnel such as operation and maintenance personnel of the system cannot quickly adjust and respond to the system layout or functions of the television desktop starter (Launcher) aiming at special situations, and meanwhile, the development and generation cost is high.
Disclosure of Invention
The embodiment of the application provides a scheme, which can effectively improve the development and generation flexibility of the television desktop starter, improve the quick adjustment response performance of the television desktop starter and reduce the cost of resources in the whole development and generation process.
The embodiment of the application provides the following technical scheme:
according to one embodiment of the present application, a method for generating a desktop starter for a television includes: starting an editing tool, wherein a component library is loaded in the editing tool, and the component library comprises components for a television desktop starter; starting a television desktop starter to be edited in the editing tool according to the starting operation in the editing tool; obtaining a television desktop starter to be generated according to the editing operation of the editing tool on the components in the component library and the television desktop starter to be edited; and responding to the generating operation in the editing tool, and generating a target television desktop starter based on the television desktop starter to be generated.
In some embodiments of the present application, the obtaining the tv desktop starter to be generated according to the editing operation in the editing tool for the component in the component library and the tv desktop starter to be edited includes: and obtaining the television desktop starter to be generated based on the television desktop starter to be edited according to the moving operation and the setting operation of the selected components in the component library in the editing tool, wherein the moving operation is used for moving the selected components into the television desktop starter to be edited displayed in a page editing frame and adjusting the position and the size, and the setting operation is used for opening an attribute frame of the selected components and setting component attributes.
In some embodiments of the present application, the obtaining the tv desktop starter to be generated according to the editing operation in the editing tool for the component in the component library and the tv desktop starter to be edited includes: receiving initiator editing requirement information based on the editing tool; responding to analysis triggering operation, and obtaining an editing strategy based on the editing requirement information of the starter; and according to the editing strategy, aiming at the editing operation of the components in the component library and the television desktop starter to be edited, obtaining the television desktop starter to be generated.
In some embodiments of the present application, the obtaining the to-be-generated television desktop starter based on the to-be-edited television desktop starter according to the moving operation and the setting operation of the selected component in the component library in the editing tool includes: showing a reference design diagram, wherein the reference design diagram comprises starter reference design content; and obtaining the television desktop starter to be generated based on the television desktop starter to be edited according to the mobile operation and the setting operation of the selected components in the component library in the editing tool, wherein the mobile operation and the setting operation are matched with the starter reference design content.
In some embodiments of the present application, the starting the tv desktop starter to be edited in the editing tool according to the starting operation in the editing tool includes: according to the opening operation in the editing tool, reading whether the desktop starter selected by the opening operation has corresponding historical data or not; if the historical data exists, analyzing the historical data in the editing tool by using an analyzer to restore and construct a desktop starter so as to start the television desktop starter to be edited in the editing tool; and if the history data does not exist, a desktop starter is newly built in the editing tool so as to start the desktop starter of the television to be edited in the editing tool.
In some embodiments of the present application, before the generating operation in response to the editing tool generates the target television desktop starter based on the television desktop starter to be generated, the method further includes: and displaying a preview interface according to the preview operation, wherein the television desktop starter to be generated is displayed in the preview interface.
In some embodiments of the present application, the generating, in response to the generating operation in the editing tool, a target television desktop starter based on the television desktop starter to be generated includes: responding to the generation operation in the editing tool, generating a first file according to the obtained editing operation of the to-be-generated television desktop starter, wherein the first file is used for recording page component information generated by the editing operation, the page component information is used for restoring starter codes of the target television desktop starter, and generating a second file, and starter data are included in the second file and are used for displaying the target television desktop starter.
According to one embodiment of the present application, a television desktop starter generation apparatus includes: the starting module is used for starting an editing tool, wherein a component library is loaded in the editing tool, and the component library comprises components used for a television desktop starter; the starting module is used for starting a television desktop starter to be edited in the editing tool according to the starting operation in the editing tool; the editing module is used for obtaining the television desktop starter to be generated according to the editing operation of the components in the component library and the television desktop starter to be edited in the editing tool; and the generating module is used for responding to the generating operation in the editing tool and generating a target television desktop starter based on the television desktop starter to be generated.
In some embodiments of the present application, the editing module includes a first editing unit configured to: and obtaining the television desktop starter to be generated based on the television desktop starter to be edited according to the moving operation and the setting operation of the selected components in the component library in the editing tool, wherein the moving operation is used for moving the selected components into the television desktop starter to be edited displayed in a page editing frame and adjusting the position and the size, and the setting operation is used for opening an attribute frame of the selected components and setting component attributes.
In some embodiments of the present application, the editing module includes a second editing unit configured to: receiving initiator editing requirement information based on the editing tool; responding to analysis triggering operation, and obtaining an editing strategy based on the editing requirement information of the starter; and according to the editing strategy, aiming at the editing operation of the components in the component library and the television desktop starter to be edited, obtaining the television desktop starter to be generated.
In some embodiments of the present application, the first editing unit is configured to: showing a reference design diagram, wherein the reference design diagram comprises starter reference design content; and obtaining the television desktop starter to be generated based on the television desktop starter to be edited according to the mobile operation and the setting operation of the selected components in the component library in the editing tool, wherein the mobile operation and the setting operation are matched with the starter reference design content.
In some embodiments of the present application, the opening module is configured to: according to the opening operation in the editing tool, reading whether the desktop starter selected by the opening operation has corresponding historical data or not; if the historical data exists, analyzing the historical data in the editing tool by using an analyzer to restore and construct a desktop starter so as to start the television desktop starter to be edited in the editing tool; and if the history data does not exist, a desktop starter is newly built in the editing tool so as to start the desktop starter of the television to be edited in the editing tool.
In some embodiments of the present application, before the generating operation in response to the editing tool generates the target television desktop starter based on the television desktop starter to be generated, the apparatus further includes a preview module configured to: and displaying a preview interface according to the preview operation, wherein the television desktop starter to be generated is displayed in the preview interface.
In some embodiments of the present application, the generating module is configured to: responding to the generation operation in the editing tool, generating a first file according to the obtained editing operation of the to-be-generated television desktop starter, wherein the first file is used for recording page component information generated by the editing operation, the page component information is used for restoring starter codes of the target television desktop starter, and generating a second file, and starter data are included in the second file and are used for displaying the target television desktop starter.
According to another embodiment of the present application, a storage medium has stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method described in the embodiments of the present application.
According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and the processor reads the computer program stored in the memory to execute the method according to the embodiment of the application.
According to another embodiment of the present application, a computer program product or computer program includes computer instructions stored in a computer readable storage medium. The computer instructions are read from the computer-readable storage medium by a processor of a computer device, and executed by the processor, cause the computer device to perform the methods provided in the various alternative implementations described in the embodiments of the present application.
In the embodiment of the application, an editing tool is started, and a component library is loaded in the editing tool, wherein the component library comprises components for a television desktop starter; starting a television desktop starter to be edited in the editing tool according to the starting operation in the editing tool; obtaining a television desktop starter to be generated according to the editing operation of the editing tool on the components in the component library and the television desktop starter to be edited; and responding to the generating operation in the editing tool, and generating a target television desktop starter based on the television desktop starter to be generated.
In this way, the component library can be loaded through the editing tool, the component library comprises components for the television desktop starter, according to the editing operation of the components in the component library and the television desktop starter to be edited in the editing tool, the television desktop starter to be generated can be further generated to the target television desktop starter, the background code editing operation of developers is not needed to be strongly relied on, related personnel such as operation staff of a system and the like can also edit operation and generating operation in the editing tool, the system layout or functions of the television desktop starter (Launcher) can be rapidly adjusted and responded according to special conditions, the development and generation cost is low, the development and generation flexibility of the television desktop starter can be effectively improved, the rapid adjustment and response performance of the television desktop starter is improved, and the cost of resources in the whole development and generation process is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a flowchart of a method of generating a television desktop starter according to one embodiment of the present application.
Fig. 2 shows a block diagram of a television desktop starter generation apparatus according to one embodiment of the present application.
Fig. 3 shows a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Fig. 1 schematically shows a flowchart of a television desktop starter generation method according to an embodiment of the present application. The main body of the television desktop starter generation method can be any device with processing capability, such as a computer, a television and the like.
As shown in fig. 1, the television desktop starter generation method may include steps S110 to S140.
Step S110, starting an editing tool, wherein a component library is loaded in the editing tool, and the component library comprises components for a television desktop starter; step S120, according to the opening operation in the editing tool, opening a television desktop starter to be edited in the editing tool; step S130, obtaining a television desktop starter to be generated according to the editing operation of the editing tool for the components in the component library and the television desktop starter to be edited; and step S140, responding to the generation operation in the editing tool, and generating a target television desktop starter based on the television desktop starter to be generated.
The editing tool may be started in response to a user's start operation, such as clicking, pressing, and swiping operations. The editing tool can be automatically or manually loaded by a user after being started, and the components for the television desktop starter are included in the component library, and can include a picture component, a carousel component, an audio-video component, a text component, a ticker component and the like.
According to the opening operation in the editing tool, the television desktop starter to be edited can be opened in the editing tool, the opening operation can be clicking or dragging operation, for example, a user clicks a control in the editing tool, so that the television desktop starter to be edited, namely the television desktop starter to be edited, can be opened in the editing tool.
According to the editing operations of the components in the component library and the television desktop starter to be edited in the editing tool, the television desktop starter to be generated is obtained, wherein the editing operations can be a moving operation (such as drag operation and the like), a setting operation (such as the operation of clicking a card attribute frame), an analysis triggering operation (such as an input operation and a click triggering analysis editing strategy) and the like.
The television desktop starter to be generated is the edited television desktop starter which meets the requirements, the generating operation can be specifically a clicking or touching storage operation, and the like, and the related starter file is the starter file corresponding to the target television desktop starter based on the related starter file of the television desktop starter to be generated in response to the generating operation of the user in the editing tool.
In this way, based on the steps S110 to S140, the component library can be loaded through the editing tool, the component library includes the component for the television desktop starter, according to the editing operation of the component library and the television desktop starter to be edited in the editing tool, the target television desktop starter to be further generated by the television desktop starter to be generated can be obtained, the background code editing operation of a developer is not needed to be strongly relied on, related personnel such as operation staff of a system and the like can also carry out rapid adjustment response on the system layout or functions of the television desktop starter (Launcher) through the editing operation and the generating operation in the editing tool, the development and generating cost is low, the development and generating flexibility of the television desktop starter can be effectively improved, the rapid adjustment response performance of the television desktop starter is improved, and the cost of resources in the whole development and generating process is reduced.
Further alternative embodiments of the steps performed in performing the television desktop starter generation under the embodiment of fig. 1 are described below.
In one embodiment, the obtaining the tv desktop starter to be generated according to the editing operation of the component library and the tv desktop starter to be edited in the editing tool includes: and obtaining the television desktop starter to be generated based on the television desktop starter to be edited according to the moving operation and the setting operation of the selected components in the component library in the editing tool, wherein the moving operation is used for moving the selected components into the television desktop starter to be edited displayed in a page editing frame and adjusting the position and the size, and the setting operation is used for opening an attribute frame of the selected components and setting component attributes.
In this embodiment, the selected component may be moved to the desktop launcher of the television to be edited shown in the page editing frame by a movement operation such as dragging, and the position and size of the moved component may be adjusted, further, by a setting operation such as a single click or double click, the attribute frame of the selected component may be opened, and the component attribute of the selected component may be set in the attribute frame, where the component attribute may be, for example, size, position, background, selection style, setting the pointing view of the focus movement, selecting the focus effect after obtaining the focus, attempting to obtain the data source, displaying the content (may set the field returned in the interface/direct fixed text), and the like. The assembly can be completely edited based on the mobile operation and the setting operation, visual editing of the UI layer can be realized through the mobile operation, and page data binding, business logic processing and the like can be edited through the setting operation.
Further, in an embodiment, the obtaining the to-be-generated television desktop starter based on the to-be-edited television desktop starter according to the moving operation and the setting operation of the selected component in the component library in the editing tool may include: showing a reference design diagram, wherein the reference design diagram comprises starter reference design content; and obtaining the television desktop starter to be generated based on the television desktop starter to be edited according to the mobile operation and the setting operation of the selected components in the component library in the editing tool, wherein the mobile operation and the setting operation are matched with the starter reference design content.
The reference design diagram comprises starter reference design contents, at least one reference design diagram can be displayed in a reference area in the editing tool, a user can refer to the starter reference design contents in the reference design diagram meeting the requirements, and mobile operation and setting operation are performed on selected components in the component library in the editing tool, so that the mobile operation and the setting operation are matched with the starter reference design contents, the editing error of the television desktop starter is avoided, and the editing effect of the television desktop starter is further improved.
In one embodiment, the obtaining the tv desktop starter to be generated according to the editing operation of the component library and the tv desktop starter to be edited in the editing tool includes: receiving initiator editing requirement information based on the editing tool; responding to analysis triggering operation, and obtaining an editing strategy based on the editing requirement information of the starter; and according to the editing strategy, aiming at the editing operation of the components in the component library and the television desktop starter to be edited, obtaining the television desktop starter to be generated.
In this embodiment, the user may input the initiator edit requirement information through the editing tool, that is, may receive the initiator edit requirement information based on the editing tool, where the initiator edit requirement information may specifically include function information, style information, and an application scenario.
Further, the user can trigger the editing tool to obtain an editing strategy based on the initiator editing requirement information through analysis triggering operations such as clicking the control or stroking the control, specifically, the editing tool can analyze a preset editing strategy matched with the initiator editing requirement information such as function information, style information and application scene, and the editing strategy can comprise the position, the size and the component attribute of the component. Furthermore, the editing tool can visually and automatically carry out editing operation on the components in the component library and the television desktop starter to be edited according to the editing strategy to obtain the television desktop starter to be generated, so that the editing convenience of the television desktop starter is further improved.
In one embodiment, the method for starting the tv desktop starter to be edited in the editing tool according to the starting operation in the editing tool includes: according to the opening operation in the editing tool, reading whether the desktop starter selected by the opening operation has corresponding historical data or not; if the historical data exists, analyzing the historical data in the editing tool by using an analyzer to restore and construct a desktop starter so as to start the television desktop starter to be edited in the editing tool; and if the history data does not exist, a desktop starter is newly built in the editing tool so as to start the desktop starter of the television to be edited in the editing tool.
The opening operation may be selecting a page to be newly created or edited, and in response to the opening operation, the editing tool may read whether the desktop starter selected by the opening operation has corresponding history data, where the history data may specifically be json data (the data may include component information, data information set by a user, and service data).
If the historical data exists, the historical data can be analyzed by using an analyzer in the editing tool so as to restore and construct the selected desktop starter, and then the constructed desktop starter is restored in the editing tool, namely the desktop starter of the television to be edited which is currently opened. If the historical data does not exist, an initial desktop starter can be newly built in the editing tool, and then the desktop starter newly built in the editing tool is the desktop starter of the television to be edited which is started.
In one embodiment, before the generating a target television desktop launcher based on the television desktop launcher to be generated in response to the generating operation in the editing tool, the method further comprises: and displaying a preview interface according to the preview operation, wherein the television desktop starter to be generated is displayed in the preview interface.
Before generating the target television desktop starter based on the to-be-generated television desktop starter, the editing tool can display a preview interface according to preview operation (such as clicking a preview control or sliding a mouse, etc.), the starter effect of the to-be-generated television desktop starter is displayed in the preview interface, and a user can decide whether to adjust or not according to the displayed starter effect of the to-be-generated television desktop starter, so as to further improve the editing effect of the television desktop starter.
In one embodiment, the generating, in response to the generating operation in the editing tool, a target television desktop launcher based on the television desktop launcher to be generated includes: responding to the generation operation in the editing tool, generating a first file according to the obtained editing operation of the to-be-generated television desktop starter, wherein the first file is used for recording page component information generated by the editing operation, the page component information is used for restoring starter codes of the target television desktop starter, and generating a second file, and starter data are included in the second file and are used for displaying the target television desktop starter.
The editing tool responds to the generation operation of related personnel, and specifically, a first file (for example, an xxxxx. Json file) can be generated according to the editing operation, page component information (for example, size, position, style, focus style, data binding mode, event response and the like) generated by the editing operation can be recorded in a special format in the first file, and the page component information can be used for restoring a starter code of a target television desktop starter when the target television desktop starter is subjected to secondary editing. Further, a second file (for example, xxx. Html file) may be generated, where the second file may include initiator data of the target tv desktop, where the initiator data may be used to finally display the target tv desktop initiator, and the initiator data may include html+js code, where the html code may be used to display UI layout and style special effects generated by the user through the editing operation, and the js code may be used to record interaction events bound by the user during the editing process and data bound by a specific API interface.
In order to facilitate better implementation of the method for generating the television desktop starter provided by the embodiment of the application, the embodiment of the application also provides a device for generating the television desktop starter based on the method for generating the television desktop starter. The meaning of the nouns is the same as that in the method for generating the television desktop starter, and specific implementation details can be referred to the description in the method embodiment. Fig. 2 shows a block diagram of a television desktop starter generation apparatus according to one embodiment of the present application.
As shown in fig. 2, the television desktop starter generating apparatus 200 may include: the starting module 210 may be used to start an editing tool, where a component library is loaded, where the component library includes components for a television desktop starter; the starting module 220 may be configured to start a desktop launcher of a television to be edited in the editing tool according to a starting operation in the editing tool; the editing module 230 may be configured to obtain a television desktop launcher to be generated according to an editing operation in the editing tool for a component in the component library and the television desktop launcher to be edited; the generating module 240 may be configured to generate a target television desktop launcher based on the television desktop launcher to be generated in response to the generating operation in the editing tool.
In some embodiments of the present application, the editing module includes a first editing unit configured to: and obtaining the television desktop starter to be generated based on the television desktop starter to be edited according to the moving operation and the setting operation of the selected components in the component library in the editing tool, wherein the moving operation is used for moving the selected components into the television desktop starter to be edited displayed in a page editing frame and adjusting the position and the size, and the setting operation is used for opening an attribute frame of the selected components and setting component attributes.
In some embodiments of the present application, the editing module includes a second editing unit configured to: receiving initiator editing requirement information based on the editing tool; responding to analysis triggering operation, and obtaining an editing strategy based on the editing requirement information of the starter; and according to the editing strategy, aiming at the editing operation of the components in the component library and the television desktop starter to be edited, obtaining the television desktop starter to be generated.
In some embodiments of the present application, the first editing unit is configured to: showing a reference design diagram, wherein the reference design diagram comprises starter reference design content; and obtaining the television desktop starter to be generated based on the television desktop starter to be edited according to the mobile operation and the setting operation of the selected components in the component library in the editing tool, wherein the mobile operation and the setting operation are matched with the starter reference design content.
In some embodiments of the present application, the opening module is configured to: according to the opening operation in the editing tool, reading whether the desktop starter selected by the opening operation has corresponding historical data or not; if the historical data exists, analyzing the historical data in the editing tool by using an analyzer to restore and construct a desktop starter so as to start the television desktop starter to be edited in the editing tool; and if the history data does not exist, a desktop starter is newly built in the editing tool so as to start the desktop starter of the television to be edited in the editing tool.
In some embodiments of the present application, before the generating operation in response to the editing tool generates the target television desktop starter based on the television desktop starter to be generated, the apparatus further includes a preview module configured to: and displaying a preview interface according to the preview operation, wherein the television desktop starter to be generated is displayed in the preview interface.
In some embodiments of the present application, the generating module is configured to: responding to the generation operation in the editing tool, generating a first file according to the obtained editing operation of the to-be-generated television desktop starter, wherein the first file is used for recording page component information generated by the editing operation, the page component information is used for restoring starter codes of the target television desktop starter, and generating a second file, and starter data are included in the second file and are used for displaying the target television desktop starter.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, in accordance with embodiments of the present application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In addition, the embodiment of the application further provides an electronic device, as shown in fig. 3, which shows a schematic structural diagram of the electronic device according to the embodiment of the application, specifically:
the electronic device may include one or more processing cores 'processors 301, one or more computer-readable storage media's memory 302, power supply 303, and input unit 304, among other components. Those skilled in the art will appreciate that the electronic device structure shown in fig. 3 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components.
Wherein:
the processor 301 is the control center of the electronic device, connects the various parts of the overall computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 302, and invoking data stored in the memory 302, thereby performing overall monitoring of the electronic device. Optionally, processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user pages, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 301.
The memory 302 may be used to store software programs and modules, and the processor 301 executes various functional applications and data processing by executing the software programs and modules stored in the memory 302. The memory 302 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device, etc. In addition, memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.
The electronic device further comprises a power supply 303 for powering the various components, preferably the power supply 303 is logically connected to the processor 301 by a power management system, whereby the functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 303 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 304, which input unit 304 may be used for receiving input digital or character information and for generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 301 in the electronic device loads executable files corresponding to the processes of one or more computer programs into the memory 302 according to the following instructions, and the processor 301 executes the computer programs stored in the memory 302, so as to implement the functions in the foregoing embodiments of the present application, where the processor 301 may perform the following steps:
starting an editing tool, wherein a component library is loaded in the editing tool, and the component library comprises components for a television desktop starter; starting a television desktop starter to be edited in the editing tool according to the starting operation in the editing tool; obtaining a television desktop starter to be generated according to the editing operation of the editing tool on the components in the component library and the television desktop starter to be edited; and responding to the generating operation in the editing tool, and generating a target television desktop starter based on the television desktop starter to be generated.
In some embodiments of the present application, the obtaining the tv desktop starter to be generated according to the editing operation in the editing tool for the component in the component library and the tv desktop starter to be edited includes: and obtaining the television desktop starter to be generated based on the television desktop starter to be edited according to the moving operation and the setting operation of the selected components in the component library in the editing tool, wherein the moving operation is used for moving the selected components into the television desktop starter to be edited displayed in a page editing frame and adjusting the position and the size, and the setting operation is used for opening an attribute frame of the selected components and setting component attributes.
In some embodiments of the present application, the obtaining the tv desktop starter to be generated according to the editing operation in the editing tool for the component in the component library and the tv desktop starter to be edited includes: receiving initiator editing requirement information based on the editing tool; responding to analysis triggering operation, and obtaining an editing strategy based on the editing requirement information of the starter; and according to the editing strategy, aiming at the editing operation of the components in the component library and the television desktop starter to be edited, obtaining the television desktop starter to be generated.
In some embodiments of the present application, the obtaining the to-be-generated television desktop starter based on the to-be-edited television desktop starter according to the moving operation and the setting operation of the selected component in the component library in the editing tool includes: showing a reference design diagram, wherein the reference design diagram comprises starter reference design content; and obtaining the television desktop starter to be generated based on the television desktop starter to be edited according to the mobile operation and the setting operation of the selected components in the component library in the editing tool, wherein the mobile operation and the setting operation are matched with the starter reference design content.
In some embodiments of the present application, the starting the tv desktop starter to be edited in the editing tool according to the starting operation in the editing tool includes: according to the opening operation in the editing tool, reading whether the desktop starter selected by the opening operation has corresponding historical data or not; if the historical data exists, analyzing the historical data in the editing tool by using an analyzer to restore and construct a desktop starter so as to start the television desktop starter to be edited in the editing tool; and if the history data does not exist, a desktop starter is newly built in the editing tool so as to start the desktop starter of the television to be edited in the editing tool.
In some embodiments of the present application, before the generating operation in response to the editing tool, generating a target television desktop starter based on the to-be-generated television desktop starter, the method further includes: and displaying a preview interface according to the preview operation, wherein the television desktop starter to be generated is displayed in the preview interface.
In some embodiments of the present application, the generating, in response to the generating operation in the editing tool, a target television desktop starter based on the television desktop starter to be generated includes: responding to the generation operation in the editing tool, generating a first file according to the obtained editing operation of the to-be-generated television desktop starter, wherein the first file is used for recording page component information generated by the editing operation, the page component information is used for restoring starter codes of the target television desktop starter, and generating a second file, and starter data are included in the second file and are used for displaying the target television desktop starter.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present embodiments also provide a storage medium having stored therein a computer program that can be loaded by a processor to perform the steps of any of the methods provided by the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the computer program stored in the storage medium may perform any of the steps in the method provided in the embodiment of the present application, the beneficial effects that can be achieved by the method provided in the embodiment of the present application may be achieved, which are detailed in the previous embodiments and are not described herein.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains.
It will be understood that the present application is not limited to the embodiments that have been described above and shown in the drawings, but that various modifications and changes can be made without departing from the scope thereof.

Claims (10)

1. A television desktop starter generation method, comprising:
starting an editing tool, wherein a component library is loaded in the editing tool, and the component library comprises components for a television desktop starter;
starting a television desktop starter to be edited in the editing tool according to the starting operation in the editing tool;
obtaining a television desktop starter to be generated according to the editing operation of the editing tool on the components in the component library and the television desktop starter to be edited;
and responding to the generating operation in the editing tool, and generating a target television desktop starter based on the television desktop starter to be generated.
2. The method according to claim 1, wherein the obtaining the tv desktop launcher to be generated according to the editing operation in the editing tool for the components in the component library and the tv desktop launcher to be edited includes:
and obtaining the television desktop starter to be generated based on the television desktop starter to be edited according to the moving operation and the setting operation of the selected components in the component library in the editing tool, wherein the moving operation is used for moving the selected components into the television desktop starter to be edited displayed in a page editing frame and adjusting the position and the size, and the setting operation is used for opening an attribute frame of the selected components and setting component attributes.
3. The method according to claim 1, wherein the obtaining the tv desktop launcher to be generated according to the editing operation in the editing tool for the components in the component library and the tv desktop launcher to be edited includes:
receiving initiator editing requirement information based on the editing tool;
responding to analysis triggering operation, and obtaining an editing strategy based on the editing requirement information of the starter;
and according to the editing strategy, aiming at the editing operation of the components in the component library and the television desktop starter to be edited, obtaining the television desktop starter to be generated.
4. The method according to claim 2, wherein the obtaining the to-be-generated tv desktop launcher based on the to-be-edited tv desktop launcher according to the moving operation and the setting operation of the selected component in the component library in the editing tool includes:
showing a reference design diagram, wherein the reference design diagram comprises starter reference design content;
and obtaining the television desktop starter to be generated based on the television desktop starter to be edited according to the mobile operation and the setting operation of the selected components in the component library in the editing tool, wherein the mobile operation and the setting operation are matched with the starter reference design content.
5. The method according to claim 1, wherein said opening a tv desktop starter to be edited in said editing tool according to an opening operation in said editing tool comprises:
according to the opening operation in the editing tool, reading whether the desktop starter selected by the opening operation has corresponding historical data or not;
if the historical data exists, analyzing the historical data in the editing tool by using an analyzer to restore and construct a desktop starter so as to start the television desktop starter to be edited in the editing tool;
and if the history data does not exist, a desktop starter is newly built in the editing tool so as to start the desktop starter of the television to be edited in the editing tool.
6. The method of claim 1, wherein prior to said generating a target television desktop launcher based on said to-be-generated television desktop launcher in response to generating an operation in said editing tool, said method further comprises:
and displaying a preview interface according to the preview operation, wherein the television desktop starter to be generated is displayed in the preview interface.
7. The method of claim 1, wherein generating a target television desktop launcher based on the television desktop launcher to be generated in response to the generating operation in the editing tool comprises:
generating a first file according to the editing operation of the television desktop starter to be generated, wherein the first file is used for recording page component information generated by the editing operation, the page component information is used for restoring starter codes of the target television desktop starter, and the first file is used for restoring the starter codes of the target television desktop starter,
and generating a second file, wherein the second file comprises starter data, and the starter data is used for displaying the target television desktop starter.
8. A television desktop starter generation apparatus, comprising:
the starting module is used for starting an editing tool, wherein a component library is loaded in the editing tool, and the component library comprises components used for a television desktop starter;
the starting module is used for starting a television desktop starter to be edited in the editing tool according to the starting operation in the editing tool;
the editing module is used for obtaining the television desktop starter to be generated according to the editing operation of the components in the component library and the television desktop starter to be edited in the editing tool;
and the generating module is used for responding to the generating operation in the editing tool and generating a target television desktop starter based on the television desktop starter to be generated.
9. A storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method of any of claims 1 to 7.
10. An electronic device, comprising: a memory storing a computer program; a processor reading a computer program stored in a memory to perform the method of any one of claims 1 to 7.
CN202310602907.4A 2023-05-24 2023-05-24 Television desktop starter generation method and device, storage medium and electronic equipment Pending CN117406974A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310602907.4A CN117406974A (en) 2023-05-24 2023-05-24 Television desktop starter generation method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310602907.4A CN117406974A (en) 2023-05-24 2023-05-24 Television desktop starter generation method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN117406974A true CN117406974A (en) 2024-01-16

Family

ID=89491449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310602907.4A Pending CN117406974A (en) 2023-05-24 2023-05-24 Television desktop starter generation method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117406974A (en)

Similar Documents

Publication Publication Date Title
CN110162371B (en) Display control method and device, electronic equipment and storage medium
US10509851B2 (en) Latency reduction in collaborative presentation sharing environment
CN102508840B (en) Concurrent editing of online drawings
EP3882792A1 (en) Method and apparatus for processing information, electronic device and storage medium
US9069432B2 (en) Copy and paste buffer
CN109388506B (en) Data processing method and electronic equipment
KR100359962B1 (en) Linking graphical user interfaces
CN111263175A (en) Interaction control method and device for live broadcast platform, storage medium and electronic equipment
CN113407086B (en) Object dragging method, device and storage medium
CN105706038A (en) Two step content selection with auto content categorization
CN111026493A (en) Interface rendering processing method and device
EP4170475A1 (en) Method, apparatus, and device for video-based interaction, and storage medium
CN105723314A (en) Two step content selection
US8856251B2 (en) Picture processing method and apparatus for instant communication tool
CN117406974A (en) Television desktop starter generation method and device, storage medium and electronic equipment
CN107885807B (en) File saving method and device, intelligent tablet and storage medium
CN113835835B (en) Method, device and computer readable storage medium for creating consistency group
CN114928566A (en) Client function testing method and device, storage medium and electronic equipment
CN112578953B (en) Display control method and device applied to terminal interface
CN104424006A (en) Apparatus and control method
CN107491249B (en) Control method, device and equipment of intelligent tablet and storage medium
CN108228307B (en) Application display method and device, storage medium and electronic equipment
CN108960433B (en) Method and system for running machine learning modeling process
CN110660463A (en) Report editing method, device and equipment based on ultrasonic system and storage medium
CN111782212A (en) View assembly creating method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination