CN114610376A - Desktop application development method and device - Google Patents

Desktop application development method and device Download PDF

Info

Publication number
CN114610376A
CN114610376A CN202210240454.0A CN202210240454A CN114610376A CN 114610376 A CN114610376 A CN 114610376A CN 202210240454 A CN202210240454 A CN 202210240454A CN 114610376 A CN114610376 A CN 114610376A
Authority
CN
China
Prior art keywords
target
data
operating system
browser
desktop application
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
CN202210240454.0A
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 Digital Power Grid Research Institute of China Southern Power Grid Co Ltd
Original Assignee
Shenzhen Digital Power Grid Research Institute of China Southern Power Grid 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 Digital Power Grid Research Institute of China Southern Power Grid Co Ltd filed Critical Shenzhen Digital Power Grid Research Institute of China Southern Power Grid Co Ltd
Priority to CN202210240454.0A priority Critical patent/CN114610376A/en
Publication of CN114610376A publication Critical patent/CN114610376A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting

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)
  • Computer Security & Cryptography (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a desktop application development method and a desktop application development device, wherein the method comprises the following steps: determining the kernel data of a target browser according to a target operating system; determining target front-end display data; performing application packaging on the target browser kernel data and the target front-end display data to obtain a target desktop application; the target desktop application is configured to run in the target operating system. Therefore, the method and the device can select the corresponding browser kernel and the front-end display data according to the target operating system, and package the data to obtain the desktop application which can be used by the target operating system, so that different browser kernels can be selected according to different systems on one hand, development efficiency is improved, developed software can be adapted to different systems on the other hand, and adaptability of the software is improved.

Description

Desktop application development method and device
Technical Field
The invention relates to the technical field of data processing, in particular to a desktop application development method and device.
Background
With the development of program development technology, more and more fields begin to introduce program control or visualization application technology, and therefore, the program development technology is faced with the development requirement of cross-platform to implement program application on different system platforms.
In the prior art, when a program development technology faces a cross-platform development requirement, customized development is generally performed only through a conventional program development process according to requirements, and a desktop application technology combining the characteristics of a target system and a browser kernel is not considered. Therefore, the defects of the prior art are found to be urgently solved.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a desktop application development method and apparatus, which can select a corresponding browser kernel and front-end display data according to a target operating system, and package the data to obtain a desktop application that can be used by the target operating system, so that on one hand, different browser kernels can be selected according to different systems, thereby improving development efficiency, and on the other hand, developed software can be adapted to different systems, thereby improving adaptability of the software.
In order to solve the technical problem, a first aspect of the present invention discloses a desktop application development method, including:
determining the kernel data of a target browser according to a target operating system;
determining target front-end display data;
performing application packaging on the target browser kernel data and the target front-end display data to obtain a target desktop application; the target desktop application is used for running in the target operating system.
As an optional implementation manner, in the first aspect of the present invention, the determining, according to the target operating system, target browser kernel data includes:
determining a plurality of candidate browser kernel data;
determining a target operating system;
and screening out the kernel data of the target browser from the plurality of candidate browser kernel data according to the target operating system and a preset system-kernel corresponding relation model.
As an optional implementation manner, in the first aspect of the present invention, the determining target front-end display data includes:
acquiring application development requirements;
determining display material data and a display data format according to the application development requirement;
and converting the display material data into the display data format to obtain target front-end display data.
As an alternative implementation manner, in the first aspect of the present invention, the target operating system includes at least one of a Mac system, a Windows system, and a Linux system; and/or the target browser kernel data comprises at least one of IE browser kernel data, Chrome browser kernel data, Opera browser kernel data, Mozilla Firefox browser kernel data and WebKit browser kernel data.
As an alternative implementation, in the first aspect of the present invention, the display data format includes an HTML format and/or a CSS format.
The second aspect of the present invention discloses a desktop application development device, which includes:
the kernel determining module is used for determining the kernel data of the target browser according to the target operating system;
the display determining module is used for determining target front-end display data;
the application packaging module is used for carrying out application packaging on the target browser kernel data and the target front-end display data to obtain a target desktop application; the target desktop application is configured to run in the target operating system.
As an optional implementation manner, in the second aspect of the present invention, the specific manner in which the kernel determining module determines the kernel data of the target browser according to the target operating system includes:
determining a plurality of candidate browser kernel data;
determining a target operating system;
and screening out the kernel data of the target browser from the plurality of candidate browser kernel data according to the target operating system and a preset system-kernel corresponding relation model.
As an optional implementation manner, in the second aspect of the present invention, the specific manner of determining the target front-end display data by the display determination module includes:
acquiring application development requirements;
determining display material data and a display data format according to the application development requirement;
and converting the display material data into the display data format to obtain target front-end display data.
As an alternative implementation, in the second aspect of the present invention, the target operating system includes at least one of a Mac system, a Windows system, and a Linux system; and/or the target browser kernel data comprises at least one of IE browser kernel data, Chrome browser kernel data, Opera browser kernel data, Mozilla Firefox browser kernel data and WebKit browser kernel data.
As an alternative embodiment, in the second aspect of the present invention, the display data format includes an HTML format and/or a CSS format.
The third aspect of the present invention discloses another desktop application development device, which includes:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute part or all of the steps in the desktop application development method disclosed by the first aspect of the embodiment of the invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the kernel data of the target browser is determined according to the target operating system; determining target front-end display data; performing application packaging on the target browser kernel data and the target front-end display data to obtain a target desktop application; the target desktop application is configured to run in the target operating system. Therefore, the method and the device can select the corresponding browser kernel and the front-end display data according to the target operating system, and package the data to obtain the desktop application which can be used by the target operating system, so that different browser kernels can be selected according to different systems on one hand, development efficiency is improved, developed software can be adapted to different systems on the other hand, and adaptability of the software is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a desktop application development method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a desktop application development device disclosed in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of another desktop application development apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, article, or article that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or article.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The invention discloses a desktop application development method and a desktop application development device, which can select corresponding browser kernels and front-end display data according to a target operating system, and package the data to obtain a desktop application which can be used by the target operating system, so that different browser kernels can be selected according to different systems on one hand, the development efficiency is improved, developed software can be adapted to different systems on the other hand, and the adaptability of the software is improved. The following are detailed descriptions.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a desktop application development method according to an embodiment of the present invention. The method described in fig. 1 may be applied to a corresponding data processing terminal, data processing device, or data processing server, and the server may be a local server or a cloud server. As shown in fig. 1, the desktop application development method may include the following operations:
101. and determining the kernel data of the target browser according to the target operating system.
In the embodiment of the present invention, the target operating system is an operating system targeted by the desktop application development, and optionally, the target operating system may include at least one of a Mac system, a Windows system, and a Linux system. Optionally, the target browser kernel data may include at least one of IE browser kernel data, Chrome browser kernel data, Opera browser kernel data, Mozilla Firefox browser kernel data, and WebKit browser kernel data.
102. And determining target front-end display data.
Optionally, the method for determining the target front-end display data may be selected from a preset material library according to development requirements, or may be determined by directly receiving input or instructions of a developer.
103. And carrying out application packaging on the target browser kernel data and the target front-end display data to obtain the target desktop application.
Optionally, the target desktop application is configured to run in the target operating system. Optionally, the application packaging may be performed by calling an application packaging API or module of the corresponding application development platform.
Therefore, by implementing the method described in the embodiment of the invention, the corresponding browser kernel and the front-end display data can be selected according to the target operating system, and the desktop application which can be used by the target operating system can be obtained by packaging, so that different browser kernels can be selected according to different systems on one hand, the development efficiency is improved, and on the other hand, the developed software can be adapted to different systems, and the adaptability of the software is improved.
As an optional implementation manner, before step 101, the method may further include:
a target operating system is determined.
Optionally, the target operating system may be determined by obtaining a system requirement in the development requirement, or by directly communicating with the model of the target application device.
Optionally, the system information developed at this time may be predicted through a historical development record of the current development device or the current development user, for example, all historical development records of the current development device or the current development user in a first historical time period may be obtained, and all the historical development records are input into a preset prediction model, so as to predict a target operating system currently developed by the current development device. Alternatively, the prediction model may be a simple mathematical computation model, for example, computing the operating system with the largest occurrence number in all historical development records as the target operating system. Optionally, the prediction model may also be a trained prediction algorithm network model, such as a CNN network or a logistic regression network, and is trained to converge through a training data set including a plurality of training history development records and corresponding training operating system labels.
Therefore, by implementing the optional implementation mode, the target operating system can be determined, so that the corresponding browser kernel and the front-end display data can be selected according to the target operating system in the following process, and the desktop application used by the target operating system can be obtained through packaging, and therefore the development efficiency can be improved, and the adaptability of software can be improved.
As an optional implementation manner, the determining, in step 101, target browser kernel data according to the target operating system includes:
determining a plurality of candidate browser kernel data;
determining a target operating system;
and screening the kernel data of the target browser from the plurality of candidate browser kernel data according to the target operating system and a preset system-kernel corresponding relation model.
Optionally, the system-kernel correspondence model may be a correspondence table of executable browser kernels corresponding to preset different operating systems, or may be a trained kernel prediction network model, such as a CNN network or a logistic regression network, and is trained to converge through a training data set including a plurality of training operating systems and corresponding training browser kernel labels, where a training browser kernel is labeled as one of browser kernel types corresponding to a plurality of candidate browser kernel data, and then a target operating system may be input into the trained kernel prediction network model to obtain a predicted target browser kernel type, and data in accordance with the target browser kernel type in the plurality of candidate browser kernel data may be determined as target browser kernel data.
Therefore, by implementing the optional implementation mode, the kernel data of the target browser can be screened from the kernel data of the multiple candidate browsers according to the target operating system and the preset system-kernel correspondence model, so that the desktop application available for the target operating system can be obtained through subsequent packaging, the development efficiency can be improved, and the adaptability of software can be improved.
As an optional implementation manner, the determining target front-end display data in step 102 includes:
acquiring application development requirements;
determining display material data and a display data format according to application development requirements;
and converting the display material data into a display data format to obtain target front-end display data.
Optionally, the display data format includes an HTML format and/or a CSS format.
Therefore, by implementing the optional implementation mode, the display material data and the display data format can be determined according to the application development requirement, so that the target front-end display data can be further determined, the desktop application which can be used by the target operating system can be conveniently obtained through subsequent packaging, the development efficiency can be improved, and the adaptability of software can be improved.
Example two
Referring to fig. 2, fig. 2 is a schematic structural diagram of a desktop application development device according to an embodiment of the present invention. The apparatus described in fig. 2 may be applied to a corresponding data processing terminal, data processing device, or data processing server, and the server may be a local server or a cloud server, which is not limited in the embodiment of the present invention. As shown in fig. 2, the apparatus may include:
the kernel determining module 201 is configured to determine kernel data of the target browser according to the target operating system.
In the embodiment of the present invention, the target operating system is an operating system targeted by the desktop application development, and optionally, the target operating system may include at least one of a Mac system, a Windows system, and a Linux system. Optionally, the target browser kernel data may include at least one of IE browser kernel data, Chrome browser kernel data, Opera browser kernel data, Mozilla Firefox browser kernel data, and WebKit browser kernel data.
And a display determination module 202, configured to determine target front-end display data.
Optionally, the method for determining the target front-end display data may be selected from a preset material library according to development requirements, or may be determined by directly receiving input or instructions of a developer.
And the application packaging module 203 is configured to perform application packaging on the target browser kernel data and the target front-end display data to obtain a target desktop application.
Optionally, the target desktop application is configured to run in the target operating system. Optionally, the application packaging may be performed by calling an application packaging API or module of the corresponding application development platform.
Therefore, the device described in the embodiment of the invention can select the corresponding browser kernel and the front-end display data according to the target operating system, and package the data to obtain the desktop application which can be used by the target operating system, so that different browser kernels can be selected according to different systems on one hand, the development efficiency is improved, and developed software can be adapted to different systems on the other hand, and the adaptability of the software is improved.
As an optional implementation, the apparatus may further include:
and the system determination module is used for determining the target operating system.
Optionally, the target operating system may be determined by obtaining a system requirement in the development requirement, or by directly communicating with a model of the target application device.
Optionally, the system information developed at this time may be predicted through a historical development record of the current development device or the current development user, for example, all historical development records of the current development device or the current development user in a first historical time period may be obtained, and all the historical development records are input into a preset prediction model, so as to predict a target operating system currently developed by the current development device. Alternatively, the prediction model may be a simple mathematical computation model, for example, computing the operating system with the largest occurrence number in all historical development records as the target operating system. Optionally, the prediction model may also be a trained prediction algorithm network model, such as a CNN network or a logistic regression network, and is trained to converge through a training data set including a plurality of training history development records and corresponding training operating system labels.
Therefore, by implementing the optional implementation mode, the target operating system can be determined, so that the corresponding browser kernel and the front-end display data can be selected according to the target operating system in the following process, and the desktop application used by the target operating system can be obtained through packaging, and therefore the development efficiency can be improved, and the adaptability of software can be improved.
As an optional implementation manner, the determining module 201 determines a specific manner of the kernel data of the target browser according to the target operating system, including:
determining a plurality of candidate browser kernel data;
determining a target operating system;
and screening the kernel data of the target browser from the plurality of candidate browser kernel data according to the target operating system and a preset system-kernel corresponding relation model.
Optionally, the system-kernel correspondence model may be a correspondence table of executable browser kernels corresponding to preset different operating systems, or may be a trained kernel prediction network model, such as a CNN network or a logistic regression network, and is trained to converge through a training data set including a plurality of training operating systems and corresponding training browser kernel labels, where a training browser kernel is labeled as one of browser kernel types corresponding to a plurality of candidate browser kernel data, and then a target operating system may be input into the trained kernel prediction network model to obtain a predicted target browser kernel type, and data in accordance with the target browser kernel type in the plurality of candidate browser kernel data may be determined as target browser kernel data.
Therefore, by implementing the optional implementation mode, the kernel data of the target browser can be screened from the kernel data of the multiple candidate browsers according to the target operating system and the preset system-kernel correspondence model, so that the desktop application available for the target operating system can be obtained through subsequent packaging, the development efficiency can be improved, and the adaptability of software can be improved.
As an optional implementation manner, the specific manner of determining the target front-end display data by the display determination module 202 includes:
acquiring application development requirements;
determining display material data and a display data format according to application development requirements;
and converting the display material data into a display data format to obtain target front-end display data.
Optionally, the display data format includes an HTML format and/or a CSS format.
Therefore, by implementing the optional implementation mode, the display material data and the display data format can be determined according to the application development requirement, so that the target front-end display data can be further determined, the desktop application which can be used by the target operating system can be conveniently obtained through subsequent packaging, the development efficiency can be improved, and the adaptability of software can be improved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of another desktop application development device according to an embodiment of the present invention. As shown in fig. 3, the apparatus may include:
a memory 301 storing executable program code;
a processor 302 coupled to the memory 301;
the processor 302 calls the executable program code stored in the memory 301 to execute some or all of the steps in the desktop application development method disclosed in the embodiment of the present invention.
Example four
The embodiment of the invention discloses a computer storage medium, which stores computer instructions, and when the computer instructions are called, the computer storage medium is used for executing part or all of the steps in the desktop application development method disclosed by the embodiment of the invention.
While certain embodiments of the present description have been described above, other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily have to be in the particular order shown or in sequential order to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, device, and non-volatile computer-readable storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and in relation to the description, reference may be made to some portions of the description of the method embodiments.
The apparatus, the device, the nonvolatile computer readable storage medium, and the method provided in the embodiments of the present specification correspond to each other, and therefore, the apparatus, the device, and the nonvolatile computer storage medium also have similar advantageous technical effects to the corresponding method.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to the software compiler used in program development, but the original code before compiling is also written in a specific Programming Language, which is called Hardware Description Language (HDL), and the HDL is not only one kind but many kinds, such as abel (advanced boot Expression Language), ahdl (alternate Language Description Language), communication, CUPL (computer universal Programming Language), HDCal (Java Language Description Language), mylar, HDL, PALASM, hardlanguage (runtime Description Language), VHDL (Hardware Description Language), vhh-Language, and vhh-Language, which are currently used most commonly. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the various elements may be implemented in the same one or more software and/or hardware implementations of the present description.
As will be appreciated by one skilled in the art, the present specification embodiments may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The description has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should be noted that: the desktop application development method and device disclosed in the embodiments of the present invention are only preferred embodiments of the present invention, and are only used for illustrating the technical solutions of the present invention, not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A desktop application development method, the method comprising:
determining the kernel data of a target browser according to a target operating system;
determining target front-end display data;
performing application packaging on the target browser kernel data and the target front-end display data to obtain a target desktop application; the target desktop application is configured to run in the target operating system.
2. The desktop application development method of claim 1, wherein determining target browser kernel data according to a target operating system comprises:
determining a plurality of candidate browser kernel data;
determining a target operating system;
and screening out the kernel data of the target browser from the plurality of candidate browser kernel data according to the target operating system and a preset system-kernel corresponding relation model.
3. The desktop application development method of claim 1, wherein the determining target front-end display data comprises:
acquiring application development requirements;
determining display material data and a display data format according to the application development requirement;
and converting the display material data into the display data format to obtain target front-end display data.
4. The desktop application development method according to claim 1, wherein the target operating system includes at least one of a Mac system, a Windows system, and a Linux system; and/or the target browser kernel data comprises at least one of IE browser kernel data, Chrome browser kernel data, Opera browser kernel data, Mozilla Firefox browser kernel data and WebKit browser kernel data.
5. The desktop application development method of claim 3, wherein the display data format comprises an HTML format and/or a CSS format.
6. A desktop application development apparatus, the apparatus comprising:
the kernel determining module is used for determining the kernel data of the target browser according to the target operating system;
the display determining module is used for determining target front-end display data;
the application packaging module is used for carrying out application packaging on the target browser kernel data and the target front-end display data to obtain a target desktop application; the target desktop application is configured to run in the target operating system.
7. The desktop application development device of claim 6, wherein the kernel determining module determines a specific manner of the kernel data of the target browser according to the target operating system, and the specific manner includes:
determining a plurality of candidate browser kernel data;
determining a target operating system;
and screening out the kernel data of the target browser from the plurality of candidate browser kernel data according to the target operating system and a preset system-kernel corresponding relation model.
8. The desktop application development device of claim 6, wherein the display determination module determines a specific manner of displaying the data by the target front end, and comprises:
acquiring application development requirements;
determining display material data and a display data format according to the application development requirement;
and converting the display material data into the display data format to obtain target front-end display data.
9. The desktop application development apparatus of claim 8, wherein the target operating system comprises at least one of a Mac system, a Windows system, and a Linux system; and/or the target browser kernel data comprises at least one of IE browser kernel data, Chrome browser kernel data, Opera browser kernel data, Mozilla Firefox browser kernel data and WebKit browser kernel data; and/or the display data format comprises an HTML format and/or a CSS format.
10. A desktop application development apparatus, the apparatus comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the desktop application development method of any one of claims 1-5.
CN202210240454.0A 2022-03-10 2022-03-10 Desktop application development method and device Pending CN114610376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210240454.0A CN114610376A (en) 2022-03-10 2022-03-10 Desktop application development method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210240454.0A CN114610376A (en) 2022-03-10 2022-03-10 Desktop application development method and device

Publications (1)

Publication Number Publication Date
CN114610376A true CN114610376A (en) 2022-06-10

Family

ID=81862524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210240454.0A Pending CN114610376A (en) 2022-03-10 2022-03-10 Desktop application development method and device

Country Status (1)

Country Link
CN (1) CN114610376A (en)

Similar Documents

Publication Publication Date Title
CN109189682B (en) Script recording method and device
CN107274442B (en) Image identification method and device
CN108537568B (en) Information recommendation method and device
CN107786630B (en) Web application package processing method, device and equipment
TW201913449A (en) Target image code recognition method and device
CN110378400B (en) Model training method and device for image recognition
CN113011483B (en) Method and device for model training and business processing
CN112035117A (en) Page display system, method and device
CN114547024A (en) SQL statement risk detection method, device, equipment and medium
CN114168114A (en) Operator registration method, device and equipment
CN112559934A (en) Page popup display method and device
CN111538667A (en) Page testing method and device
CN112966577B (en) Method and device for model training and information providing
CN113556260B (en) Flow monitoring method and device, storage medium and electronic equipment
CN112528614A (en) Table editing method and device and electronic equipment
CN116822606A (en) Training method, device, equipment and storage medium of anomaly detection model
CN114610376A (en) Desktop application development method and device
CN115904907A (en) Task processing method and device
CN109815116A (en) A kind of method for testing software and equipment platform and computer readable storage medium
CN108733564B (en) Browser performance testing method, device and equipment
CN115061618A (en) Method and device for displaying list data in sliding mode and electronic equipment
CN111242731B (en) Service execution method and device
CN111984247A (en) Service processing method and device and electronic equipment
CN111596946A (en) Recommendation method, device and medium for intelligent contracts of block chains
CN112579938A (en) Page loading method and device, storage medium and electronic equipment

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