CN112667321A - Quick application starting method and device, storage medium and electronic equipment - Google Patents

Quick application starting method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112667321A
CN112667321A CN202110096728.9A CN202110096728A CN112667321A CN 112667321 A CN112667321 A CN 112667321A CN 202110096728 A CN202110096728 A CN 202110096728A CN 112667321 A CN112667321 A CN 112667321A
Authority
CN
China
Prior art keywords
configuration file
file
current terminal
configuration
fast 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
CN202110096728.9A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai 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 Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110096728.9A priority Critical patent/CN112667321A/en
Publication of CN112667321A publication Critical patent/CN112667321A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The present disclosure relates to the field of fast application technologies, and in particular, to a fast application starting method and apparatus, a computer-readable storage medium, and an electronic device, where the method includes: acquiring an installation file of the fast application, wherein the installation file comprises reference configuration files of various equipment types; identifying the equipment type of the current terminal; matching a target configuration file matched with the equipment type of the current terminal in the installation file according to the equipment type of the current terminal; and starting the fast application on the current terminal according to the target configuration file. The technical scheme of the embodiment of the disclosure can be suitable for quick application starting of various terminal devices.

Description

Quick application starting method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of fast application technologies, and in particular, to a fast application starting method and apparatus, a computer-readable storage medium, and an electronic device.
Background
Along with the popularity of the internet of things equipment, such as mobile phones and watches, and the popularization of smart televisions, most of the internet of things equipment is controlled based on the android system, so that the android program running on the mobile phone can also run on the internet of things equipment theoretically, but needs to be adapted, and the workload is large.
Therefore, the method is also a quick application developed on the basis of the android system, and has the possibility of being transplanted to a plurality of terminals and running. However, the prior art does not have a fast application starting method which is suitable for various terminal devices.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure is directed to a fast application start method, a fast application start apparatus, a computer-readable medium, and an electronic device, which are adaptable to fast application start of various terminal devices.
According to a first aspect of the present disclosure, there is provided a fast application start method, including:
acquiring an installation file of the fast application, wherein the installation file comprises reference configuration files of various equipment types;
identifying the equipment type of the current terminal;
matching a target configuration file matched with the equipment type of the current terminal in the installation file according to the equipment type of the current terminal;
and starting the fast application on the current terminal according to the target configuration file.
According to a second aspect of the present disclosure, there is provided a fast application starting apparatus, comprising: the acquisition module is used for acquiring an installation file of the fast application, wherein the installation file comprises reference configuration files of various equipment types;
the identification module is used for identifying the equipment type of the current terminal;
the matching module is used for matching a target configuration file matched with the equipment type of the current terminal in the installation file according to the equipment type of the current terminal;
and the starting module is used for starting the fast application on the current terminal according to the target configuration file.
According to a third aspect of the present disclosure, a computer-readable medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, is adapted to carry out the above-mentioned method.
According to a fourth aspect of the present disclosure, there is provided an electronic apparatus, comprising:
a processor; and
a memory for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the above-described method.
Compared with the prior art, the quick application starting method can start a quick application on multiple devices without developing independent installation files for different terminal devices, reduces development workload, can adapt to multiple terminal devices by only publishing one installation file in a public way, and prompts convenience in use.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
FIG. 1 illustrates a schematic diagram of an exemplary system architecture to which embodiments of the present disclosure may be applied;
FIG. 2 shows a schematic diagram of an electronic device to which embodiments of the present disclosure may be applied;
FIG. 3 schematically illustrates a flow chart of a fast application startup method in an exemplary embodiment of the present disclosure;
FIG. 4 is a schematic diagram schematically illustrating one device type presentation in an exemplary embodiment of the present disclosure;
FIG. 5 is a schematic diagram that schematically illustrates a differential profile presentation in an exemplary embodiment of the present disclosure;
FIG. 6 is a schematic diagram schematically illustrating a reference profile generation manner in an exemplary embodiment of the present disclosure;
FIG. 7 schematically illustrates a flow chart of starting a fast application according to an installation file in an exemplary embodiment of the present disclosure;
fig. 8 schematically illustrates a composition diagram of a fast application starting apparatus in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
Fig. 1 is a schematic diagram illustrating a system architecture of an exemplary application environment to which a fast application start method and apparatus according to an embodiment of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. The terminal devices 101, 102, 103 may be various electronic devices having display functions and data processing, including but not limited to desktop computers, portable computers, smart phones, tablet computers, and the like. It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.
The fast application starting method provided by the embodiment of the present disclosure is generally executed by the terminal devices 101, 102, and 103, and accordingly, the fast application starting apparatus is generally disposed in the terminal devices 101, 102, and 103. However, it is easily understood by those skilled in the art that the fast application method provided in the embodiment of the present disclosure may also be executed by the server 105, and accordingly, the fast application starting apparatus may also be disposed in the server 105, which is not particularly limited in the exemplary embodiment. For example, in an exemplary embodiment, it may be that a user obtains an installation file from the server 105 through a trigger start identifier included in the terminal device 101, 102, 103, and the terminal device 101, 102, 103 starts a fast application on the terminal pen 101, 102, 103 according to the fast application start method provided by the present disclosure.
An exemplary embodiment of the present disclosure provides an electronic device for implementing a fast application start method, which may be a terminal device 101, 102, 103 or a server 105 in fig. 1. The electronic device includes at least a processor and a memory for storing executable instructions of the processor, the processor being configured to perform the fast application launch method via execution of the executable instructions.
The following takes the mobile terminal 200 in fig. 2 as an example, and exemplifies the configuration of the electronic device. It will be appreciated by those skilled in the art that the configuration of figure 2 can also be applied to fixed type devices, in addition to components specifically intended for mobile purposes. In other embodiments, mobile terminal 200 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. The interfacing relationship between the components is only schematically illustrated and does not constitute a structural limitation of the mobile terminal 200. In other embodiments, the mobile terminal 200 may also interface differently than shown in fig. 2, or a combination of multiple interfaces.
As shown in fig. 2, the mobile terminal 200 may specifically include: a processor 210, an internal memory 221, an external memory interface 222, a Universal Serial Bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 271, a microphone 272, a microphone 273, an earphone interface 274, a sensor module 280, a display 290, a camera module 291, an indicator 292, a motor 293, a button 294, and a Subscriber Identity Module (SIM) card interface 295. Wherein the sensor module 280 may include a depth sensor 2801, a pressure sensor 2802, a gyroscope sensor 2803, and the like.
Processor 210 may include one or more processing units, such as: the Processor 210 may include an Application Processor (AP), a modem Processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband Processor, and/or a Neural-Network Processing Unit (NPU), and the like. The different processing units may be separate devices or may be integrated into one or more processors.
The NPU is a Neural-Network (NN) computing processor, which processes input information quickly by using a biological Neural Network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can implement applications such as intelligent recognition of the mobile terminal 200, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
A memory is provided in the processor 210. The memory may store instructions for implementing six modular functions: detection instructions, connection instructions, information management instructions, analysis instructions, data transmission instructions, and notification instructions, and execution is controlled by processor 210.
The charge management module 240 is configured to receive a charging input from a charger. The power management module 241 is used for connecting the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives the input of the battery 242 and/or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the display screen 290, the camera module 291, the wireless communication module 260, and the like.
The wireless communication function of the mobile terminal 200 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like. Wherein, the antenna 1 and the antenna 2 are used for transmitting and receiving electromagnetic wave signals; the mobile communication module 250 may provide a solution including wireless communication of 2G/3G/4G/5G, etc. applied to the mobile terminal 200; the modem processor may include a modulator and a demodulator; the Wireless communication module 260 may provide a solution for Wireless communication including a Wireless Local Area Network (WLAN) (e.g., a Wireless Fidelity (Wi-Fi) network), Bluetooth (BT), and the like, applied to the mobile terminal 200. In some embodiments, antenna 1 of the mobile terminal 200 is coupled to the mobile communication module 250 and antenna 2 is coupled to the wireless communication module 260, such that the mobile terminal 200 may communicate with networks and other devices via wireless communication techniques.
The mobile terminal 200 implements a display function through the GPU, the display screen 290, the application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 290 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or alter display information.
The mobile terminal 200 may implement a photographing function through the ISP, the camera module 291, the video codec, the GPU, the display screen 290, the application processor, and the like. The ISP is used for processing data fed back by the camera module 291; the camera module 291 is used for capturing still images or videos; the digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals; the video codec is used to compress or decompress digital video, and the mobile terminal 200 may also support one or more video codecs.
The external memory interface 222 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the mobile terminal 200. The external memory card communicates with the processor 210 through the external memory interface 222 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 221 may be used to store computer-executable program code, which includes instructions. The internal memory 221 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (e.g., audio data, a phonebook, etc.) created during use of the mobile terminal 200, and the like. In addition, the internal memory 221 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk Storage device, a Flash memory device, a Universal Flash Storage (UFS), and the like. The processor 210 executes various functional applications of the mobile terminal 200 and data processing by executing instructions stored in the internal memory 221 and/or instructions stored in a memory provided in the processor.
The mobile terminal 200 may implement an audio function through the audio module 270, the speaker 271, the receiver 272, the microphone 273, the earphone interface 274, the application processor, and the like. Such as music playing, recording, etc.
The depth sensor 2801 is used to acquire depth information of a scene. In some embodiments, a depth sensor may be provided to the camera module 291.
The pressure sensor 2802 is used to sense a pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 2802 may be disposed on the display screen 290. Pressure sensor 2802 can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like.
The gyro sensor 2803 may be used to determine a motion gesture of the mobile terminal 200. In some embodiments, the angular velocity of the mobile terminal 200 about three axes (i.e., x, y, and z axes) may be determined by the gyroscope sensor 2803. The gyro sensor 2803 can be used to photograph anti-shake, navigation, body-feel game scenes, and the like.
In addition, other functional sensors, such as an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc., may be provided in the sensor module 280 according to actual needs.
Other devices for providing auxiliary functions may also be included in mobile terminal 200. For example, the keys 294 include a power-on key, a volume key, and the like, and a user can generate key signal inputs related to user settings and function control of the mobile terminal 200 through key inputs. Further examples include indicator 292, motor 293, SIM card interface 295, etc.
In the related art, most of internet of things devices are developed based on android, and therefore, theoretically, most of android applications can directly run. However, for platforms such as televisions and watches which are mutually inconsistent, vision and interaction are greatly different from those of mobile phones, so that the same application cannot be directly put on different internet of things devices to operate, complex adaptation work needs to be performed, learning difficulty is high, and adaptation cost is high.
The fast application is a new application form, is a front-end-terminal mobile-end mixed framework, provides a fast application developer with the capability of developing the mobile application by using a JavaScript language and front-end development experience, and greatly simplifies the learning cost. However, the previous version is applied quickly, only the mobile phone is adapted, and when the mobile phone is started on other internet of things devices, new installation files need to be re-developed, so that the development cost is high.
The following specifically describes a fast application starting method and a fast application starting apparatus according to exemplary embodiments of the present disclosure.
Fig. 3 shows a flow of a fast application starting method in the present exemplary embodiment, which may be executed by a fast application engine, and includes the following steps:
step S310, obtaining an installation file of the fast application, wherein the installation file comprises reference configuration files of various device types;
step S320, identifying the equipment type of the current terminal;
step S330, matching a target configuration file matched with the equipment type of the current terminal in the installation file according to the equipment type of the current terminal;
step S340, starting the fast application on the current terminal according to the target configuration file.
The above steps are explained in detail below.
In step S310, an installation file of the fast application is obtained, where the installation file includes reference configuration files of multiple device types.
In an example embodiment of the present disclosure, an initial configuration file of the fast application may be first obtained, where the initial configuration file may be a default configuration file, for example, a configuration file adapted to a mobile phone, and the initial configuration file may run on a plurality of terminal devices but cannot be completely adapted, and at this time, differential configuration files of a plurality of device types may be obtained, that is, different device types have different differential configuration files. The differential configuration file may be written in a file name format of config- [ deviceType ]. json, for example, a configuration file of each type of terminal, such as config-tv.
In this example embodiment, as shown in fig. 4, the device types may include a mobile phone 420, a watch 430, a television 410, and the like, and may further include other internet of things devices such as a washing machine, a refrigerator, and the like, which are not specifically limited in this example embodiment.
In this exemplary embodiment, as shown in fig. 5, the differential configuration file is a configuration file of a different part of a reference configuration file of a different device type from an initial configuration file, where the configuration file includes a start-up manner such as a start-up time of a fast application and a display manner (e.g., a vertical screen and a horizontal screen) after start-up, and may further include operation data such as a display color and a display size after start-up, which is not specifically limited in this exemplary embodiment. In this exemplary embodiment, the difference profile has a configuration field of a device type, for example, a difference profile about a TV may include a configuration field such as "TV" or "TV" for explicitly identifying the affiliation of the difference profile; specifically, the "tv" diversity profile 510, the "cell phone" diversity profile 520, the "watch" diversity profile 530, and the like may be included, which is not specifically limited in the present exemplary embodiment.
In this exemplary embodiment, the initial configuration file and the differential configuration file each include a plurality of configuration fields, each of which may include different configuration information, and the configuration information is used to determine the start time of the fast application, the display mode (such as vertical screen and horizontal screen) after start, the display color and the display size after start, and is not specifically limited in this exemplary embodiment.
In an example embodiment of the present disclosure, referring to fig. 6, the method may further include determining whether the same configuration fields exist in the initial configuration file and the differential configuration file, deleting the same fields in the initial configuration file as the differential configuration file to obtain a configuration file to be merged if the same configuration fields exist, and merging the configuration file to be merged and the differential configuration file to obtain the reference configuration file. The priority of the difference configuration file is higher than that of the initial matching file; that is, if the initial configuration file name is the same as the differential configuration file config- [ deviceType ]. json, the priority is higher based on the configuration field of the differential configuration en-construction config- [ deviceType ]. json, that is, the attribute value of the config- [ deviceType ]. json is merged, for example, the display mode in the initial configuration file is vertical screen display, and if the display mode in the other device is desired to be horizontal screen display, the field of the display mode in the differential configuration file of the device type may be adjusted to be horizontal screen display. Specifically, the fast application is default vertical screen display; and if a developer wants to realize the display of a cross screen interface on a television platform, the developer needs to set the "orientation" attribute to be "landscapes" in config-tv. In the fast application item packaging process, the packaging tool automatically synthesizes a difference configuration file (config- [ deviceType ]. json) of each terminal and an initial configuration file (manifest.
For another example, referring to fig. 6, the initial configuration file includes a configuration field 1, a configuration field 2, and a configuration field 3, the differential configuration file includes a configuration field 2', a configuration field 3', and a configuration field 4, and the reference file obtained by fusing the initial configuration file and the differential configuration file includes a configuration field 1, a configuration field 2', a configuration field 3', and a configuration field 4.
In this exemplary embodiment, if the same configuration field does not exist in the initial configuration file and the differential configuration file, the reference configuration file is obtained by directly merging the initial configuration file and the differential configuration file.
For example, the difference file with the device type of television and the initial configuration file are merged to obtain a reference configuration file, after merging, the difference configuration file may be before the initial configuration file, or the initial configuration file may be before the initial configuration file, or the difference configuration file is before the initial configuration file, or configuration fields in the initial configuration file and the difference configuration file may be arranged and trained according to a preset sequence to form the reference configuration file, which is not specifically limited in this exemplary embodiment.
The difference configuration file may include a configuration field related to the device type, so that the obtained reference configuration file also has a configuration field related to the device type, so that the corresponding target configuration file can be matched in the installation file according to the device type of the current terminal.
In this exemplary embodiment, the configuration field of the device type may be a chinese field such as "mobile phone", "television", "computer", or a field of other languages such as english and japanese, and may also include fields of multiple languages at the same time, which is not limited in this exemplary embodiment.
In this exemplary embodiment, the installation file may be obtained according to the multiple reference configuration files, specifically, the multiple reference configuration files may be placed in the same file repository to form the reference configuration file, or the multiple reference configuration files may be encoded in the same repository to obtain the installation file, which is not limited in this exemplary embodiment.
In step S320, the device type of the current terminal is identified.
In an example embodiment of the present disclosure, a device type acquisition data interface may be first configured, so that the fast application engine can identify the device type of the current terminal through the data interface.
In this exemplary embodiment, the device type of the current terminal may be a television, a mobile phone, a computer, a refrigerator, or other physical network devices such as a washing machine and a microwave oven, which is not specifically limited in this exemplary embodiment.
In step S330, a target configuration file adapted to the device type of the current terminal is matched in the installation file according to the device type of the current terminal.
In step S340, the fast application is started on the current terminal according to the target configuration file.
In an example embodiment of the present disclosure, after the device type of the current device is obtained, a target configuration file adapted to the device type of the current terminal may be matched in the installation file according to the device type of the current terminal, for example, the type of the current device terminal is a television, the fast application engine identifies that the device type of the current terminal is the television, at this time, a reference configuration file of the installation file whose device type is the television may be determined as the target configuration file, and then the fast application may be started on the current terminal according to the target configuration file.
In this exemplary embodiment, when the fast application is started on the current device according to the target configuration file, the fast application engine reads data information of each configuration field in the target configuration file, and starts the fast application according to the data information.
The data information corresponds to configuration information, each configuration field may include different configuration information, and the configuration information is used to determine a start time, a display mode (such as a vertical screen and a horizontal screen) after start, a display color and a display size after start, and the like of the fast application, which is not specifically limited in this example embodiment.
In this exemplary embodiment, the installation file may include an initial configuration file, and if a target configuration file adapted to the device type of the current terminal cannot be matched in the installation file according to the device type of the current terminal, the fast application is started on the current terminal according to the initial configuration file. I.e. the initial configuration file, to start the fast application.
Specifically, as shown in fig. 7, when the fast application is ready to be started, step S710 may be executed first to initialize the fast application engine, and after the initialization is completed, step S720 may be executed to acquire the device type of the current terminal, where the specific acquisition manner is described in detail above, and therefore, details are not described here again. Step S730 may be executed to obtain an installation file, where details of a past file installation method are described in detail above, and therefore are not described herein again. And then, executing step S740, determining whether the target configuration file corresponding to the current device exists in the installation file, if so, executing step S750 and step S770, reading the data information in the target configuration file, and starting the fast application according to the data information. If the target configuration file corresponding to the current device does not exist in the installation file, step S760 and step S770 are executed, and the data information of the initial configuration file is read and the fast application is started according to the data information of the initial configuration file.
In summary, the technical solution in the exemplary embodiment can quickly apply a program to multiple devices for starting, and independent installation files do not need to be developed for different terminal devices, and meanwhile, when obtaining an installation file, only a difference configuration file of a part different from an initial configuration file in different terminal devices needs to be designed, so that development workload is reduced, and only one installation file needs to be published publicly, so that multiple terminal devices can be adapted, and convenience in use is prompted.
It is noted that the above-mentioned figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Further, referring to fig. 8, in this example embodiment, a fast application launching device 800 is further provided, which includes an obtaining module 810, an identifying module 820, a matching module 830, and a launching module 840. Wherein: the obtaining module 810 is configured to obtain an installation file of the fast application, where the installation file includes reference configuration files related to multiple device types; the identifying module 820 is used for identifying the device type of the current terminal; the matching module 830 is configured to match, in the installation file, a target configuration file adapted to the device type of the current terminal according to the device type of the current terminal; the starting module 840 is configured to start the fast application on the current terminal according to the target configuration file.
Specifically, the obtaining module 810 obtains an initial configuration file; obtaining difference configuration files of a plurality of equipment types; merging the initial configuration files with the difference configuration files of the equipment types respectively to form a plurality of reference configuration files corresponding to the equipment types one by one; and generating the installation file according to the plurality of reference configuration files.
Combining the initial configuration files with the difference configuration files of the equipment types respectively to form a plurality of reference configuration files corresponding to the equipment types one by one; generating the installation file according to the multiple reference configuration files may further include judging whether the same configuration fields exist in the initial configuration file and the different configuration files, and if the same configuration fields exist, deleting the same configuration fields in the initial configuration file to obtain a configuration file to be merged; and merging the configuration file to be merged and the difference configuration file to obtain the reference configuration file.
The identification module 820 is used for configuring a device type acquisition data interface; and identifying the equipment type of the current terminal through the data interface.
The matching module 830 is further configured to execute starting the fast application on the current terminal according to the initial configuration file if the target configuration file adapted to the device type of the current terminal cannot be matched in the installation file according to the device type of the current terminal.
The starting module 840 reads the data information in the target configuration file and starts the fast application according to the data information.
The specific details of each module in the above apparatus have been described in detail in the method section, and details that are not disclosed may refer to the method section, and thus are not described again.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
Exemplary embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the disclosure described in the above-mentioned "exemplary methods" section of this specification, when the program product is run on the terminal device.
It should be noted that the computer readable media shown in the present disclosure may be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Furthermore, program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (10)

1. A method for fast application startup, comprising:
acquiring an installation file of the fast application, wherein the installation file comprises reference configuration files of various equipment types;
identifying the equipment type of the current terminal;
matching a target configuration file matched with the equipment type of the current terminal in the installation file according to the equipment type of the current terminal;
and starting the fast application on the current terminal according to the target configuration file.
2. The method of claim 1, wherein obtaining the installation file of the fast application comprises:
acquiring an initial configuration file;
obtaining difference configuration files of a plurality of equipment types;
merging the initial configuration files with the difference configuration files of the equipment types respectively to form a plurality of reference configuration files corresponding to the equipment types one by one;
and generating the installation file according to the plurality of reference configuration files.
3. The method of claim 2, wherein merging the initial configuration file with the differential configuration file of each of the device types to form a plurality of configuration files corresponding to a plurality of device types one-to-one comprises:
judging whether the same configuration fields exist in the initial configuration file and the difference configuration file or not, and if the same configuration fields exist, deleting the same configuration fields in the initial configuration file to obtain a configuration file to be merged;
and merging the configuration file to be merged and the difference configuration file to obtain the reference configuration file.
4. The method of claim 2, wherein the initial configuration file comprises at least one configuration field, and the differential configuration file comprises at least one configuration field, and the combining the initial configuration file with the differential configuration file of each device type respectively forms a plurality of reference configuration files corresponding to a plurality of device types one to one includes:
and combining the configuration fields in the initial configuration file and the configuration fields in the differential configuration file according to a preset sequence to obtain the reference configuration file.
5. The method of claim 1, wherein the identifying the device type of the current terminal comprises:
configuring a device type acquisition data interface;
and identifying the equipment type of the current terminal through the data interface.
6. The method of claim 1, wherein the installation file further comprises an initial configuration file, the method further comprising:
and if the target configuration file matched with the equipment type of the current terminal cannot be matched in the installation file according to the equipment type of the current terminal, starting the fast application on the current terminal according to the initial configuration file.
7. The method of claim 1, wherein starting the fast application on the current terminal according to the target profile comprises:
and reading data information in the target configuration file, and starting the fast application according to the data information.
8. A fast application startup device, comprising:
the acquisition module is used for acquiring an installation file of the fast application, wherein the installation file comprises reference configuration files of various equipment types;
the identification module is used for identifying the equipment type of the current terminal;
the matching module is used for matching a target configuration file matched with the equipment type of the current terminal in the installation file according to the equipment type of the current terminal;
and the starting module is used for starting the fast application on the current terminal according to the target configuration file.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the fast application startup method according to any one of claims 1 to 8.
10. An electronic device, comprising:
a processor; and
memory storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the fast application launch method of any of claims 1 to 8.
CN202110096728.9A 2021-01-25 2021-01-25 Quick application starting method and device, storage medium and electronic equipment Pending CN112667321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110096728.9A CN112667321A (en) 2021-01-25 2021-01-25 Quick application starting method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110096728.9A CN112667321A (en) 2021-01-25 2021-01-25 Quick application starting method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN112667321A true CN112667321A (en) 2021-04-16

Family

ID=75414365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110096728.9A Pending CN112667321A (en) 2021-01-25 2021-01-25 Quick application starting method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112667321A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140245292A1 (en) * 2013-02-25 2014-08-28 International Business Machines Corporation Automated Application Reconfiguration
US20160094425A1 (en) * 2014-09-29 2016-03-31 Caterpillar Inc. Telematics behavior configuration systems and methods
CN109388453A (en) * 2018-09-07 2019-02-26 Oppo广东移动通信有限公司 Methods of exhibiting, device, storage medium and the electronic equipment of application page
CN109408132A (en) * 2017-08-15 2019-03-01 腾讯科技(深圳)有限公司 A kind of configuration file processing method and server, user terminal, storage medium
CN111555922A (en) * 2020-05-08 2020-08-18 中国通信服务股份有限公司 Method, device, equipment and storage medium for active adaptive access of Internet of things equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140245292A1 (en) * 2013-02-25 2014-08-28 International Business Machines Corporation Automated Application Reconfiguration
US20160094425A1 (en) * 2014-09-29 2016-03-31 Caterpillar Inc. Telematics behavior configuration systems and methods
CN109408132A (en) * 2017-08-15 2019-03-01 腾讯科技(深圳)有限公司 A kind of configuration file processing method and server, user terminal, storage medium
CN109388453A (en) * 2018-09-07 2019-02-26 Oppo广东移动通信有限公司 Methods of exhibiting, device, storage medium and the electronic equipment of application page
CN111555922A (en) * 2020-05-08 2020-08-18 中国通信服务股份有限公司 Method, device, equipment and storage medium for active adaptive access of Internet of things equipment

Similar Documents

Publication Publication Date Title
CN108415705B (en) Webpage generation method and device, storage medium and equipment
CN112188461B (en) Control method and device of near field communication device, medium and electronic equipment
CN111866483B (en) Color restoration method and device, computer readable medium and electronic device
CN111339938A (en) Information interaction method, device, equipment and storage medium
CN113238727A (en) Screen switching method and device, computer readable medium and electronic equipment
CN113744286A (en) Virtual hair generation method and device, computer readable medium and electronic equipment
CN112116690A (en) Video special effect generation method and device and terminal
CN113918767A (en) Video clip positioning method, device, equipment and storage medium
CN110968362B (en) Application running method, device and storage medium
CN113766127B (en) Mobile terminal control method and device, storage medium and electronic equipment
CN113284206A (en) Information acquisition method and device, computer readable storage medium and electronic equipment
CN110377914B (en) Character recognition method, device and storage medium
CN112764600A (en) Resource processing method, device, storage medium and computer equipment
CN111770484B (en) Analog card switching method and device, computer readable medium and mobile terminal
CN112667321A (en) Quick application starting method and device, storage medium and electronic equipment
CN114817709A (en) Sorting method, device, equipment and computer readable storage medium
CN114996515A (en) Training method of video feature extraction model, text generation method and device
CN113936089A (en) Interface rendering method and device, storage medium and electronic equipment
CN113362260A (en) Image optimization method and device, storage medium and electronic equipment
CN111757005A (en) Shooting control method and device, computer readable medium and electronic equipment
CN113920979A (en) Voice data acquisition method, device, equipment and computer readable storage medium
CN114281937A (en) Training method of nested entity recognition model, and nested entity recognition method and device
CN113240599A (en) Image toning method and device, computer-readable storage medium and electronic equipment
CN113407318A (en) Operating system switching method and device, computer readable medium and electronic equipment
CN112487162A (en) Method, device and equipment for determining text semantic information 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