CN110727469B - Terminal device control method and device, application program configuration file packaging method, terminal device and computer readable storage medium - Google Patents

Terminal device control method and device, application program configuration file packaging method, terminal device and computer readable storage medium Download PDF

Info

Publication number
CN110727469B
CN110727469B CN201810693313.8A CN201810693313A CN110727469B CN 110727469 B CN110727469 B CN 110727469B CN 201810693313 A CN201810693313 A CN 201810693313A CN 110727469 B CN110727469 B CN 110727469B
Authority
CN
China
Prior art keywords
data segment
data
page
target
configuration file
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.)
Active
Application number
CN201810693313.8A
Other languages
Chinese (zh)
Other versions
CN110727469A (en
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.)
Wuhan Xingji Meizu Technology Co ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201810693313.8A priority Critical patent/CN110727469B/en
Publication of CN110727469A publication Critical patent/CN110727469A/en
Application granted granted Critical
Publication of CN110727469B publication Critical patent/CN110727469B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a terminal device control method and a device, an application program configuration file packaging method, a terminal device and a computer readable storage medium, wherein the control method comprises the steps of searching information of a data segment corresponding to a target page in a first data segment of a configuration file of a target application program, wherein the data segment corresponding to the target page is a data segment containing description information of the target page; when the first data segment does not contain the description information of the target page, acquiring a second data segment containing the description information of the target page; and obtaining the description information of the target page from the second data fragment, and rendering and generating the target page based on the description information. The terminal device of the present invention has a processor and a memory, and the processor implements the terminal device control method described above when executing a computer program. The computer-readable storage medium of the present invention has stored thereon a computer program for implementing the above-described method. The invention can improve the downloading efficiency of the configuration file of the application program.

Description

Terminal device control method and device, application program configuration file packaging method, terminal device and computer readable storage medium
Technical Field
The present invention relates to the field of control of electronic devices, and in particular, to a method for implementing control of a terminal device, a device for implementing the method, a method for encapsulating an application configuration file, a terminal device for implementing the method, and a computer-readable storage medium.
Background
Terminal devices such as smart phones and tablet computers become electronic devices which are most frequently used in daily life of people, people like to install various application programs on the smart electronic devices, and a large number of application programs are simultaneously operated on the terminal devices. At present, many operating systems of terminal devices provide an open SDK (Software Development Kit) and an open API (Application Programming Interface) to reduce difficulty in developing an Application program and provide a certain standard for developing the Application program, so that more and more applications can be selected by people.
However, since the installation package APK of the existing application program mostly uses a program written in JAVA or other language, which includes a large number of components written according to a predetermined logic, the installation package of the existing application program needs to be directly run by the operating system of the terminal device, for example, after the installation package of the application program is downloaded to the terminal device, the installation package is parsed by the operating system of the terminal device, and the installation operation is performed. In the installation process of an installation package of an existing application program, an operating system acquires data of the installation package and generates corresponding files according to predefined logic, wherein the files comprise controls required by the application program, and the controls are usually run on the operating system directly and realize specific functions. After the application is installed, an icon of the application is usually displayed on a desktop of the terminal device, and when the user needs to run the application, the icon of the application is clicked, and the application is directly run by an operating system of the application.
With the increasing of the functions realized by the application programs, the pages of the application programs are also increased, and the hardware resources occupied during the operation are also increased, for example, more memory resources are occupied, and a large number of interfaces need to be called. Because the setting information of each page of the application program, the program file of the call interface, and the like need to be written into the installation package of the application program, the data volume of the installation package of the application program is very large, a user often needs to wait for downloading the installation package of the application program for a long time, and the downloading of the installation package also often costs a lot of data traffic due to the large data volume of the installation package.
In addition, because the installation package of the existing application program needs to be downloaded at one time, that is, after the user needs to download the complete installation package of the application program, the operating system analyzes and installs the installation package, the user often needs to wait for a long time to open the application program, and the user experience is poor.
Disclosure of Invention
The first purpose of the invention is to provide a terminal device control method capable of quickly opening an application program page.
A second object of the present invention is to provide a terminal device control apparatus that enables application page opening in a short time.
The third purpose of the invention is to provide an application program configuration file packaging method for quickly downloading the configuration file.
A fourth object of the present invention is to provide a terminal device capable of implementing the above terminal device control method.
A fifth object of the present invention is to provide a computer-readable storage medium that can implement the above-mentioned terminal device control method when read and executed by a processor.
In order to achieve the first object, the present invention provides a terminal device control method comprising: searching information of a data segment corresponding to a target page in a first data segment of a configuration file of a target application program, wherein the data segment corresponding to the target page is a data segment containing description information of the target page; when the first data segment does not contain the description information of the target page, acquiring a second data segment containing the description information of the target page; and obtaining the description information of the target page from the second data fragment, and rendering and generating the target page based on the description information.
According to the scheme, after the instruction for operating the target page is received, the first data segment of the configuration file of the target application program is downloaded firstly, for example, the first data segment only containing the description information of the main page or the first data segment only containing the project configuration file, then, whether the description information of the target page is contained in the first data segment or not can be judged, and if the description information of the target page is not contained, the second data segment is downloaded, so that the complete configuration file of the target application program does not need to be downloaded at one time, only the required data segment is downloaded, the downloaded data volume is greatly reduced, the time for downloading the configuration file for the first time is shortened, and the long-time waiting of a user is avoided.
Preferably, the obtaining of the second data segment containing the description information of the target page includes: analyzing the first data segment, and searching the information of a second data segment corresponding to the target page in the information recorded by the first data segment; and sending a downloading request instruction for acquiring the second data segment, and receiving the second data segment.
Therefore, the information of the data segments corresponding to all the pages of the target application program is recorded in the first data segment, so that the second data segment where the description information of the target page is located can be found out from the first data segment, and then the second data segment is downloaded. Therefore, the configuration file of the target application program is downloaded in a segmented mode, the complete configuration file does not need to be downloaded at one time, and the waiting time of a user is short.
Further, the searching for the information of the second data segment corresponding to the target page in the information recorded in the first data segment includes: searching a target second data fragment containing the description information of the target page from a plurality of second data fragments; the sending a download request instruction for obtaining the second data segment, and the receiving the second data segment includes: and sending a download request instruction for downloading only the target second data segment, and receiving only the target second data segment.
Therefore, the downloading of the second data segment is only the target second data segment required by downloading, and is not the downloading of all the second data segments of the configuration file, so that the problem of overlong downloading time of the configuration file caused by downloading the complete configuration file can be avoided.
The method comprises the following steps that a first data fragment and/or a second data fragment of a configuration file of a target application program also comprise a plurality of components; rendering the generated target page comprises: the method comprises the steps of obtaining components from preset data fragments, determining native controls corresponding to the components, applying the native controls and generating a target page based on the description file rendering of the target page, wherein the preset data fragments are only first data fragments and/or target second data fragments.
According to the scheme, when the target page is generated in the rendering mode, the component is obtained from the first data fragment, the native control is obtained according to the component, the description information of the target page is obtained from the second data fragment, and then the native control is applied and the target page is generated based on the description file of the target page in the rendering mode. Therefore, the information such as the common component or the running logic of the target application program is written into the first data segment, and the second data segment can conveniently acquire the required component or the running logic from the first data segment, so that the data volume of the second data segment is reduced, and the page opening speed is high.
Further still, receiving an instruction to run a target page of a target application includes: the method comprises the steps of obtaining a call request instruction sent by an initial application program, obtaining call information in the call request instruction, and determining a target page of a called target application program according to the call information.
Therefore, the user can operate the target page by calling the target page of the target application program, and certainly can operate the target page by clicking a key for jumping to the target page in the target application program. The operation can facilitate the user to open the target page at any time and ensure that the target page can be opened in a short time.
Further, after the second data segment is obtained, signature information in the second data segment is also obtained, whether the signature information in the second data segment is consistent with the signature information in the first data segment or not is judged, and if the signature information in the second data segment is inconsistent with the signature information in the first data segment, the second segment data is discarded.
Therefore, by verifying the signature information of the second data fragment, it can be ensured that the downloaded and acquired second data fragment and the first data fragment belong to the same configuration file of the target application program, and further the correctness of the target page generated by rendering is ensured.
In order to achieve the second object, the method for encapsulating an application configuration file provided by the present invention includes: acquiring a configuration file of an application program, and judging whether a split mark exists in the configuration file, if so, acquiring a first data fragment and at least one second data fragment of the configuration file, wherein each second data fragment comprises description information of at least one page; and encapsulating the first data segment to form a first data packet, and encapsulating the second data segment to form a second data packet.
According to the scheme, when the data volume of the configuration file of the target application program is large, the configuration file is split to form a plurality of data fragments, and the plurality of data fragments are respectively packaged to form different data packets. Therefore, when the user starts to run the target application program for the first time, only the first data packet can be downloaded, and the second data packet can be downloaded according to the use condition of the user, so that the user is prevented from waiting for a long time.
Preferably, the first data segment includes information of the data segment where the description information of each page is located.
Therefore, the information of the data segment corresponding to each page is written into the first data segment, the data segment where the description information of each page is located can be found out from the first data segment after the first data segment is downloaded, and the corresponding data segment is downloaded in a targeted manner, so that the waiting time for a user to download the configuration file can be reduced.
In order to achieve the third object, the terminal device control apparatus provided by the present invention includes a first data segment obtaining module, configured to search, in a first data segment of a configuration file of a target application, information of a data segment corresponding to a target page, where the data segment corresponding to the target page is a data segment that includes description information of the target page; the second data fragment acquisition module is used for acquiring a second data fragment containing the description information of the target page when the first data fragment is determined not to contain the description information of the target page; and the page generation module is used for acquiring the description information of the target page from the second data fragment and generating the target page based on the description information rendering.
In order to achieve the fourth object, the terminal device provided by the present invention includes a processor, and the processor is configured to implement the steps of the terminal device control method or implement the steps of the encapsulation method of the application configuration file when executing the computer program stored in the memory.
To achieve the fifth object, the present invention provides a computer-readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the above-mentioned terminal device control method or implements the steps of the above-mentioned encapsulation method for an application profile.
Drawings
Fig. 1 is a flowchart of a terminal device control method according to a first embodiment of the present invention.
Fig. 2 is a flowchart of checking the second data segment in the first embodiment of the terminal device control method of the present invention.
FIG. 3 is a flowchart of an embodiment of an application configuration file encapsulation method according to the present invention.
Fig. 4 is a flowchart of a terminal device control method according to a second embodiment of the present invention.
Fig. 5 is a block diagram of a terminal device control apparatus according to an embodiment of the present invention.
FIG. 6 is a block diagram of an embodiment of an apparatus for packaging an application configuration file according to the present invention.
Fig. 7 is a block diagram of a terminal device according to an embodiment of the present invention.
The invention is further explained with reference to the drawings and the embodiments.
Detailed Description
The terminal device control method is applied to terminal devices such as smart phones or tablet computers and the like, and is used for realizing the operation of application programs running under an application program framework, such as downloading configuration files of the application programs and analyzing the configuration files. The application program configuration file packaging method is used for packaging the configuration file of the application program running on the application program framework. The terminal equipment control device of the invention runs on the terminal equipment and is used for realizing the terminal equipment control method.
Because the existing application program is directly run on the operating system of the terminal device, for example, when a user needs to run a certain application program, the installation package of the application program needs to be downloaded first, and the operating system analyzes the installation package. However, the data size of the installation package of the existing application program is very large, so that the downloading time and the installation time of the installation package of the application program are long.
For this reason, the terminal device of the present embodiment is provided with an application framework to support the running of the application. For example, the application framework is software running on the operating system of the terminal device, the application framework is run on the operating system of the terminal device, and the existing application can also be run on the operating system. It will be appreciated that the application framework, as well as existing common applications, run directly on the operating system and are supported by the operating system. Therefore, in this embodiment, the application framework may be downloaded and installed in the terminal device in advance, or may be installed in the terminal device together with the operating system.
In the process of running the application framework, the application framework is similar to a common application program in that the application framework can directly use resources and services provided by the operating system, for example, when the application framework runs, various interfaces provided by the operating system can be called according to requirements, native controls of the operating system can be used, messages and broadcasts can be received from the operating system, and messages can be sent to the application program through the operating system.
In order to avoid the problem that a user needs to wait for a long time in the process of downloading and installing an installation package of the existing application program, the configuration file of the application program needs to be downloaded before the application program running on the application program framework is started, and the configuration file is analyzed by the application program framework after being downloaded to the terminal equipment, so that the application program running on the application program framework is supported by the application program framework to run.
Generally, a configuration file of an application running on an application framework includes a signature module and a source file module, wherein the signature module includes a key file which is signed and encrypted. The source file module comprises public resources, components, a page directory, a project configuration file manifest and the like, and the configuration file further comprises various modules, configuration information and the like required by a developer for self-defining a project aiming at the application program.
The common resources include data such as an icon of the application, a special font or a specific background picture used by the application, a welcome video of the application, audio, and the like. The components common to the application programs, such as the components required to be used by multiple pages or multiple code segments, can also be set in a common resource library of the configuration file as common resources.
The page directory includes information of each page in the application, that is, a folder structure of the application, for example, information including a name of each page, a path of the page, and the like, and further includes description information of each page, for example, specific layout information of the page, a component that needs to be called in a rendering process, and of course, if a certain page has a special rendering requirement, the page directory page may record the information of the page. In addition, the page directory also records the operation logic between the pages, such as jump relation and call relation among a plurality of pages.
The project profile includes a description of the application, such as declaring an interface that needs to be called, declaring a message that the application needs to receive, declaring that can be called by other applications, etc., although if the application is provided with custom components, the custom components may also be provided in the project profile.
The application framework is provided with an operation support module, a sandbox model module, a message processing module and an application management module, and a plurality of applications can be operated on the application framework. It should be noted that, in the running process, the application running on the application framework usually does not directly use the resources or services provided by the operating system, but mainly uses the resources and services provided by the application framework.
The operation support module of the application framework is used for supporting the operation of the application program operated on the application framework, and when the application program operates on the current application framework, the operation support module starts and provides the service required in the operation process of the application program. The specific structure of the operation support module will be described in detail below.
The sandbox model module provides a sandbox model required by operation for the application programs operated on the application program framework, so that permission isolation and data isolation among different application programs are achieved, for example, self permission management is provided for each application program, data of each application program is isolated, and improper acquisition of data of another application program by one application program is avoided. For example, the sandbox model module may set and record the rights that each application can acquire and the rights that each application is not allowed to acquire, and set a data sharing and invoking mechanism between the applications, through which data of each application is managed.
The message processing module is used for managing the activities of receiving and sending messages of each application program on the application program framework, and comprises the management of message receiving registration, message distribution and message sending. For example, an application needs to receive a certain message, a request instruction for requesting to receive the message can be sent to an application framework, a message processing module will create a receiving queue of the message, and the application is added to the receiving queue of the message, so that the message receiving registration of the application is realized.
Preferably, the application running on the application framework can register the received message statically or dynamically. The static registration of the application program for receiving the message is to declare that a certain message needs to be received in a configuration file of the application program, and the message processing module adds the application program to a receiving queue of the message according to the declaration. The application program dynamic registration receiving message is that a certain message needs to be received temporarily in the running process of the application program, a registration request for temporarily receiving the certain message is sent to an application program frame, and the message processing module temporarily adds the application program frame to a receiving queue of the message according to the request.
Of course, the message processing module also needs to manage the application that dynamically registered to receive the message, for example, when the application does not need to receive the message any more, a logoff message is sent by the application, and the message processing module removes the dynamically registered application from the message receiving queue.
If the application framework receives a message, the message processing module needs to distribute the received message, for example, a first application on the application framework sends a message to a second application, the first application does not directly send the message to the second application, but the first application sends the message to the application framework, the message processing module finds a receiving queue of the message, and sends the message to the applications in the receiving queue. E.g., a second application is included in the message queue, the message processing module distributes the message to the second application.
The application management module is used for managing the operation of each application program, for example, starting one application program according to an instruction of a user, or closing one application program according to the instruction of the user. For another example, a certain application program is put into foreground operation or turned into background operation, and after the background operation time of the certain application program is too long, the application program is turned into an inactive state, and the like.
Moreover, the user may directly run an application program that does not download the configuration file, for example, icons of a plurality of application programs are displayed on a main page of the application program frame, where the application programs include an application program that has downloaded the configuration file and an application program that has not downloaded the configuration file, and the application management module may directly click an icon of an application program that does not download the configuration file, download the configuration file of the application program from the server, parse the configuration file, and start running the application program. Of course, if the user needs to delete the configuration file of a certain application program, the application management module may also delete the configuration file of the application program.
The configuration file is downloaded before the application program runs, not the installation package, and the downloaded configuration file is analyzed by the application program framework. Therefore, in order to reduce the waiting time when the user downloads the configuration file, the data amount of the configuration file needs to be reduced, for example, the page information contained in the configuration file of the application only includes the description information of the application page, but does not include the complete data after the page is rendered, and for the interface that the application needs to call, the configuration file of the application only gives the names and calling rules of various interfaces that the application needs to call, but does not provide the function of a specific calling interface. Thus, the amount of profile data for applications running on the application framework is small, typically below 1M. The terminal equipment can complete the downloading of the configuration file of the application program in a very short time.
After the configuration file of the application program is downloaded, the application program framework parses the configuration file and then runs the application program, for example, the running support module supports the running of the application program.
The operation support module is internally provided with a first JS engine, a rendering engine, a control management module, a bridging module, an interface management module, a third-party service module, an application framework and the like.
In the running process of the application framework, resources provided by the operating system need to be used, and therefore, the running support module also needs to acquire the resources provided by the operating system, such as using native controls and interfaces provided by the operating system.
Since the configuration file of the application is downloaded by the terminal device, the application framework needs to acquire the downloaded configuration file from the operating system. Currently, most application configuration files are written in the JS (java script) language, and a second JS engine is provided in the operating system to compile the configuration files into a language that the application framework can parse. Of course, the application framework may also obtain the configuration file directly from the operating system, and the first JS engine in the operation support module parses the configuration file.
After the configuration file is parsed, a page of the generated application program needs to be rendered, for example, a rendering engine acquires description information of the page in the configuration file, and renders the page according to the description information. Preferably, the configuration file of the application program includes basic setting information about the page, for example, information including a background pattern of the page, font style of the page, position information of an icon, and a head portrait display position, but does not include rendered data of the page, that is, the page information in the configuration file is not data of the rendered page.
Furthermore, the configuration file of the application program includes a plurality of components, operation logic, description information, and the like, where the components of the configuration file are preset according to the requirements of the application program framework, and there is a correspondence between the components and native controls of the operating system of the terminal device, that is, the names and the like of the native controls of the operating system corresponding to the components can be determined by the identifiers of the components. The operation logic of the configuration file is used for determining the logic of the application program during operation, such as the upper and lower level relation between pages, namely the relation of entering a next level page from a certain page or returning to a previous level page, and indicating the functions of different keys on the page, such as the logic relation of jumping to the next page after clicking a certain key, and the like. The description information includes layout information, colors, fonts, resources, various statements, and the like of the page.
Therefore, when the rendering engine renders a page of an application program, the running logic and the description information in the configuration file need to be used, and since the description information already gives information such as the layout and the style of various icons and characters on the page, the rendering of a certain page can be realized according to the description information.
Preferably, the application framework generates the native page by using native controls provided by the operating system, and therefore, when rendering the page of the application, the native controls corresponding to the components in the configuration file, that is, the controls used in the operating system to generate icons, windows, or navigation bars, are acquired according to the correspondence between the components in the configuration file and the native controls, and the native page of the application is generated by rendering based on the native controls. Therefore, the control management module needs to obtain mapping relationships between components in the configuration file and the native controls, obtain the native controls corresponding to the operating system according to the mapping relationships, and implement rendering of the page by using the native controls and according to the description information, so as to obtain the native page of the application program. Therefore, the native pages are pages rendered based on native controls of the operating system, and the display effect of the pages is the same as that of the pages of the traditional application program, so that the user experience is not changed.
Certainly, the application framework also provides its own control, for example, the application framework contains a built-in control provided by the application framework, and when a page of the application is generated by rendering, the built-in control can also be obtained for rendering, so that the control management module can obtain the required built-in control from the application framework according to actual needs.
During the operation of the application, the application may need to call various interfaces, for example, an interface provided by an operating system. The interface management module obtains a statement of a certain interface of the operating system required by the application program according to the description information of the application program, determines information such as the name or ID of the interface required to be called according to the statement, and calls the interface from the operating system through the bridge module. Therefore, in the configuration file of the application program, only a certain interface needs to be declared to be called, and a specific function using the interface does not need to be provided, so that the data volume of the configuration file of the application program is reduced.
Of course, the application framework also provides a built-in interface, for example, the built-in interface is provided in the application framework, the application program can call the built-in interface, for example, it is stated in the description file which built-in interface needs to be called, and the interface management module will determine the built-in interface which needs to be called according to the description file and provide the corresponding built-in interface for the application program to use.
In addition, the application framework may provide a third-party service to the application, where the third-party service is a service provided by an application running on the operating system, for example, when the application running on the application framework needs to use a function of the application running on the operating system, the function may be used by the third-party service module.
Generally, the third-party service provides a special calling interface in an application program framework, and when the application program needs to use the third-party service, corresponding functions are used through the special calling interface. For example, a push module, a registration module, a payment module, a statistics module, and the like are disposed in the third-party service module, and the application program can implement functions of receiving push messages, registering accounts, paying, performing information statistics, and the like through the modules. It is to be appreciated that the push module registration module, payment module, and statistics module are call interfaces provided by third party applications to the application framework.
In addition, the application framework itself may also provide various services to the application, for example, a page management module, a routing management module, an MVVM module, and the like are further disposed in the application framework, and the page management module is configured to implement page management of the application, for example, implement jump control of a page, open and close of a page, and the like. Moreover, the page management module can realize the setting of the jump relationship among the multiple pages by acquiring the operation logic in the configuration file of the application program, thereby determining the logic of the multiple pages of the application program.
The routing management module provides routing service for the application program, for example, when the application program needs to send a message to a specific node, the routing management module provides a path for sending the message, and sends the message to the next node of the current terminal device according to the path. The MVVM module is used for realizing MVVM (Model-View-View-Model) functions, for example, realizing the separation of a View and a Model in an application program.
Built-in controls, built-in interfaces and various services provided in the application framework can be called by the application program, so that codes for realizing the functions are not required to be provided in the configuration file of the application program, and the function modules are required to be called only by declaring in the description file.
After the configuration file of the application program is downloaded, the application program framework analyzes the configuration file, firstly, signature information of the configuration file is obtained, namely, a secret key file in the configuration file is obtained, and the secret key file is used for verifying the authenticity of the configuration file. And after the configuration file passes the verification, analyzing a source file module in the configuration file.
For example, when an application is running, a project configuration file is first obtained, and various declaration information, such as a registration received message, call information for setting the application, and the like, is obtained. And meanwhile, rendering to generate a main page of the application program, at the moment, acquiring description information of the main page from the page directory, determining components required to be used in the rendering process, acquiring corresponding native controls or built-in controls by the application program framework according to the components, and rendering by a rendering engine to generate the main page.
If the user performs an operation on the main page, for example, clicks a certain button or slides to form a preset track, then according to the set operation logic, a corresponding operation is performed, for example, a certain interface is called or adjusted to another page, etc.
Therefore, the configuration file of the application program running on the application program framework only contains a plurality of components, running logic and description information of each page, and complete data of the rendered page cannot be provided, so that the data volume of the configuration file can be greatly reduced. On the other hand, for the interfaces and the called services which need to be called in the running process of the application program, only the interfaces or the services which need to be called need to be declared in the configuration file, and specific functions or codes for realizing the services do not need to be provided, so that the data volume of the configuration file is very small, the downloading speed is very high, the downloading of the configuration file can be completed in a very short time, the time spent by the application program framework when the configuration file is analyzed is also very short, and the running of the application program can be realized in a very short time.
In this way, compared with the conventional application program, the configuration file downloading and analysis of the application program running under the application program framework can be completed in a very short time, so that for the application program without the configuration file downloaded, as long as the user sends an instruction for running the application program, the configuration file downloading and running can be completed instantly, and the application program is opened instantly. Generally, the downloading and parsing of the configuration file of the application can be completed in the background, and the user only needs to click on the icon of the application, even if the configuration file of the application is not downloaded, and the user hardly needs to wait for the main page of the application to be opened.
When the application program runs, the displayed page is also the page rendered by the native control, and various interfaces are provided by the application program frame, so that the experience of the user in using the application program is not influenced.
However, as the functions implemented by applications running on the application framework become more powerful, the data volume of the configuration files of the applications also becomes larger, possibly larger than 1M. If the configuration file needs to be analyzed after the complete configuration file is downloaded when the application program is run, and the page of the application program is generated by rendering, the configuration file may be downloaded for a long time due to the excessive data size of the configuration file, and the user still needs to wait for a long time before opening the page of the application program.
In order to solve the problem, the present embodiment provides a method for running a target page of an application program, which divides a configuration file of the application program into a plurality of data segments, and downloads a required data segment when downloading the configuration file, so as to avoid downloading a complete configuration file, and save a waiting time for a user to run the target application program.
The terminal device control method of the present invention will be described with reference to fig. 1. First, step S101 is executed to receive an instruction to run a target page of a target application.
Since the application under the application framework does not need to be executed by downloading the installation package and installing the installation package, but runs by downloading the configuration file and analyzing the configuration file by the application framework, step S101 needs to receive an instruction to run a target page of the target application, for example, a user is running a certain application, and clicks an instruction to enter a certain page on a main page of the application, at this time, the terminal device receives an instruction sent by the user to run the target page of the target application.
Of course, the user does not necessarily have to issue an instruction to run a certain page of the application on an already running application, but may also issue an instruction to run a certain page of another application on a page of one application. For example, the user is currently using application a, and during the use, click an icon or a key on the page of application a to instruct to jump to page C of application B, at which time the terminal device receives an instruction to jump from application a to page C of application B. At this time, the application a is an initial application, the application B is a target application of this embodiment, and the page C of the application B is a target page of this embodiment. The calling request instruction is equivalent to that the application program A sends a calling request instruction, and the calling request instruction contains calling information, for example, the calling information includes the name or ID of a target application program to be called, if a specific page is called, the calling information also includes the name or ID of the page, and the like, for example, the calling information includes the name or ID of the page C of the application program B.
In the above case, the target application may be an application that has already been downloaded and run by the configuration file, or may be an application that does not download the configuration file. If the target application is an application program with a downloaded configuration file, the target application may record the calling information of the target application in an application management description file of the application framework, and the application framework may determine the target page of the target application to be called according to the call request instruction.
If the target application is an application whose configuration file is not downloaded, the configuration file of the target application needs to be downloaded, and the specific steps will be described in detail below.
Of course, if the user does not specify a specific page on which the target application program needs to be run, the page may be regarded as the main page on which the user needs to run the target application program, and at this time, the target page is the main page of the target application program. For example, a user may run an application framework on a terminal device and enter a main page of the application framework, and click a virtual key of "program list" under the main page of the application framework, on which information of a plurality of applications, including icons, names, preview information, and summary information of the applications, etc., will be displayed. Preferably, applications that have been downloaded will be displayed above the program list, while applications that have not been downloaded will be displayed below the list. More preferably, the application framework provides a function of searching the application, for example, a search bar is displayed at the top of the page of the program list, the user can input keywords such as the name, function, attribute, and the like of the application in the search bar, and click on the search key, the search result will be displayed in the application list.
When a user wishes to use a certain application program, the user can click an icon or a name of the application program, and the terminal device receives an instruction for running the application program and starts to run the application program. Of course, the user may issue an instruction to run the application program in other manners, for example, by a voice control instruction or pressing a Home key, and the like, and may also slide on the screen to form a pattern of a predetermined track, and the like. And after receiving an instruction for running the target application program sent by the user, determining that the user sends an instruction for running the main page of the target application program.
Then, step S102 is executed to determine whether the target page already exists, if so, step S110 is executed, otherwise, step S103 is executed.
Since the target page that the user needs to run may be a page that has been opened once, for example, a certain page has been opened on the terminal device, at this time, the application framework stores the description information of the target page. Therefore, in step S102, it is necessary to determine whether the description information of the target page already exists.
For example, the name of the target application program where the target page is located and the name of the target page are obtained, whether the configuration file of the target application program is stored in the local memory of the terminal device is searched from the application framework, after the configuration file of the target application program is determined to be stored in the memory of the terminal device, the configuration file of the target application program is obtained and analyzed, whether the configuration file contains the description information of the target page is judged, if yes, the target page is shown to exist, step S110 is executed, and the description information of the target page is directly analyzed and rendered to generate the target page.
Step S103, sending an instruction for downloading the configuration file of the target application program.
If it is determined that the target page does not exist, that is, the local storage of the terminal device does not store the configuration file of the target application program or the description information of the target page does not exist, the configuration file of the target application program needs to be downloaded. The most common way to obtain the configuration file is to download the configuration file of the application program from a preset server, for example, when a user runs a target application program for the first time, the terminal device downloads the configuration file of the target application program.
Because the applications running under the application framework all run based on the configuration files, the request instruction sent by the application framework is a request instruction for sending the configuration files of the applications to the server for downloading. After receiving an instruction for requesting downloading of the application configuration file sent by the terminal equipment, the server searches the configuration file of the application and sends the application configuration file to the terminal equipment.
In this embodiment, since the configuration file data volume of the target application program is large, the configuration file of the target application program may be split into a plurality of data packets, and each data packet corresponds to one data segment. For example, the configuration file includes three data packets, wherein one data packet includes a first data segment of the configuration file, and the other two data packets include a second data segment of the configuration file.
In this embodiment, the first data fragment is a main data fragment of the configuration file of the target application, and includes components, running logic, and the like of the target application, and includes description information of a main page of the target application, so that after the application framework receives the first data fragment, the application framework can render and generate the main page of the target application based on data of the first data fragment. Accordingly, the first data packet is a data packet formed by encapsulating the first data segment, and it can be understood that the first data packet is a main data packet of the configuration file.
And the second data segment is a sub data segment of the configuration file of the target application program, and the sub data segment comprises description information of a part of pages of the target application program or components and running logic special for the part of pages. Therefore, after the application framework receives the second data fragment, the corresponding page can be generated by applying the information rendering of the second data fragment. In this embodiment, a configuration file of a target application includes a first data segment and one or more second data segments. Since the second data packet is a data packet formed by encapsulating the second data segment, it can be understood that the second data packet is a sub data packet of the configuration file.
After receiving the instruction of downloading the configuration file of the target application program, the server searches for a first data segment of the configuration file of the target application program, for example, a first data packet encapsulating the first data segment, and sends the first data packet to the terminal device. Preferably, each data packet is a unique identifier, and the server determines whether the data packet is a first data packet or a second data packet according to the identifier.
Step S104, receiving a first data segment of the configuration file of the target application program.
After the server sends the first data segment of the configuration file of the target application program to the terminal equipment, the terminal equipment receives the first data segment of the configuration file of the target application program, and the application program framework analyzes the first data segment. For example, after receiving the first data packet, the terminal device parses the data packet according to a preset rule and obtains the first data segment, and obtains information in the configuration file, such as a component of the target application, running logic, or description information of the main page.
It should be noted that, if the first data segment of the configuration file of the target application program has already been downloaded, the first data segment does not need to be repeatedly downloaded, and the first data segment is directly searched from the memory of the terminal device.
Step S105, determining whether the description information of the target page is recorded in the first data segment, if so, executing step S109, otherwise, executing step S106.
After the application program framework receives the first data segment, the first data segment is analyzed, and information in the first data segment is obtained. Since the configuration file is divided into a plurality of data segments, each of which records description information of a part of pages of the target application program, the description information of each page is not recorded in the first data segment. Step S105 is to determine whether the downloaded first data segment contains the description information of the target page.
Preferably, the information of the data segment in which the description information of all pages of the target application is recorded in the first data segment, for example, the description information of the main page of the target application is recorded in the first data segment, the description information of the set function page is recorded in the second data segment X1, and the description information of the shared function page is recorded in the second data segment X2. For example, the first data segment contains index information of each page, and the index information includes information such as a name or an ID of the second data segment where the page is located. Alternatively, the first data segment records information of pages recorded in each data segment, for example, description information of how many pages are recorded in a certain data segment, names of the pages, and the like, in each data segment.
Optionally, the first data segment includes a table, and the table records the data segment corresponding to the description information of each page. At this time, step S105 may query the table to determine whether the first data segment records the description information of the target page, for example, if the query table records the page corresponding to each data segment by taking the data segment as a unit, the query table queries the page corresponding to the first data segment to determine whether the description information of the target page is recorded in the first data segment.
It can be understood that the first data segment is a main data segment of the configuration file, that is, when the configuration file of the application program is obtained, the first data segment must be downloaded first.
And step S106, analyzing the first data segment, and searching a second data segment corresponding to the target page.
If it is determined that the description information of the target page is not recorded in the first data segment after the query in step S105, the data segment corresponding to the target page is determined by querying the correspondence table between the target page and the data segment, that is, it is determined in which data segment the description information of the target page is recorded. Since the table of the first data segment records the data segments where the description information of all pages is located, the data segment where the description information of the target page is located can be found by traversing the table.
Step S107, sending a request instruction for downloading the second data segment.
After determining the second data segment where the description information of the target page is located in step S106, the terminal device sends a request instruction for downloading the required second data segment to the server, where the request instruction includes information of the required second data segment, such as a flag or an ID of the second data segment.
Preferably, the configuration file of the target application includes a first data segment and a plurality of second data segments, and the download request instruction sent in step S107 downloads not all the second data segments but the second data segment where the description information of the target page is located. For example, the configuration file of the target application includes the first data segment X0 and the second data segments X1, X2, X3, and if the description information of the target page is recorded in the second data segment X2, the download request instruction transmitted at step S107 is only to request the download of the second data segment X2, and does not download the second data segments X1 and X3.
And step S108, receiving the second data segment and acquiring the description information of the target page.
After receiving a request instruction for downloading the second data segment, the server searches for a second data packet corresponding to the second data segment to be downloaded, and sends the second data packet to the terminal equipment, and after receiving the second data packet, the terminal equipment analyzes the second data packet, so that the second data segment is obtained.
At this time, the application framework analyzes the second data segment, and obtains the description information of the target page from the second data segment. Generally, the second data segment contains a large amount of data, including description information of multiple pages, and possibly some components or running logic among multiple pages, and therefore, the application framework obtains the description information of the target page from the second data segment according to the information of the target page, such as the name of the target page or the path of the target page, and the description information of the target page may include information of the layout file of the page, the control used by the page, and the running logic of the page itself.
Step S109, the description information of the application target page is rendered to generate a target page.
After the description information of the target page is acquired, the target page may be rendered and generated according to the acquired description information. Preferably, in order to render the generated target page to be the same as the native page of the application program, the generated target page may be rendered by using native controls of the operating system. Generally, a configuration file of a target application program contains a plurality of components, running logic, description information and the like, wherein the components correspond to native controls of a terminal device operating system, that is, one component corresponds to one or more native controls, when a target page is rendered, the components in the configuration file can be obtained, corresponding native controls are obtained according to the corresponding relationship between the components and the native controls, and the native controls are applied and the native page of the target page is rendered and generated according to the description information of the target page.
Further, the component of the configuration file may be a component that is required to be used for rendering a plurality of pages, and these components are stored in the first data fragment, so that the component may be obtained from the first data fragment when each page is generated by rendering. Therefore, in step S109, the required component needs to be acquired from the first data fragment, and the corresponding native control is determined according to the component, and then the target page is generated by rendering the native control according to the description information of the target page.
Of course, if the component rendering the generated target page is not used by all of the pages, but is used by only the target page, the component may be stored in the second data fragment, and therefore, step S109 obtains the component from the downloaded second data fragment, determines the corresponding native control according to the component, and renders the generated target page according to the description information of the target page by using the native control.
Therefore, when the target page is generated by rendering, the required data including the components and the description information can be acquired from the first data fragment and the second data fragment, and the target page is generated by rendering the data.
Of course, if it is determined in step S105 that the description information of the target page is recorded in the first data fragment, the description information of the target page is directly obtained from the first data fragment, the required component is obtained from the first data fragment, the corresponding native control is determined according to the component, and then the target page is generated by rendering the native control according to the description information of the target page.
Step S110, opening a target page.
If step S102 determines that the target page already exists, that is, the description file of the target page is stored in the local memory of the terminal device, directly obtaining the description information of the target page of the target application program, and rendering to generate the target page.
Therefore, when the target page is operated, the terminal device does not need to download the complete configuration file of the target application program, the first data segment can be downloaded firstly, and the required second data segment can be downloaded according to actual requirements, so that the data volume of the data segment is small, the data segment can be downloaded in a short time, the analysis time of the data segment is short, a user can operate the target page without waiting for a long time, and the user experience is improved.
Since the terminal device may need to open multiple pages, and opening different pages may need to acquire second data segments of different target applications, in order to ensure that the downloaded second data segment and the first data segment belong to the same target application, and also ensure that the downloaded second data segment is not tampered by a third party, the downloaded second data segment may be verified. The process of verifying the second data segment is described below with reference to fig. 2.
First, step S201 is executed to receive a second data segment.
After determining the second data segment to be downloaded, the terminal device downloads and acquires the second data segment from the server, for example, receives a second data packet, and parses the second data packet to acquire the second data segment.
Then, step S202 is executed to acquire signature information in the second data segment.
Because each data fragment needs to be signed before being packaged into a data packet to represent developer information of the data fragment or original information of the surface data fragment, each data fragment has unique signature information. Typically, the signature information is located at a fixed position in the data fragment, such as at the end of the data fragment, or the signature information has its own special mark by which the signature information is indicated. Therefore, the signature information in the second data segment can be obtained through the position of the signature information and the mark of the signature information.
Then, step S203 is executed to determine whether the signature information in the second data segment is consistent with the signature information in the first data segment, if so, step S204 is executed, otherwise, step S208 is executed.
After the signature information of the second data segment is acquired, the signature information of the second data segment is compared with the signature information of the first data segment, so that the signature information in the first data segment needs to be acquired in step S203. After the signature information of the first data fragment and the signature information of the second data fragment are obtained, the signature information of the two data fragments are compared, and whether the signature information of the two data fragments is consistent or not is judged.
Generally, if a developer of a target application uses the same signature to sign all data pieces of a configuration file of the same application, all data pieces of the configuration file of the same target application have the same signature information. By comparing the signature information of the plurality of data fragments, whether the downloaded second data fragment and the first data fragment belong to the same target application program can be judged.
Step S204, check data of the second data segment is obtained.
After determining that the signature information of the first data segment is consistent with the signature information of the second data segment, it may be determined that the second data segment and the downloaded first data segment belong to the same configuration file of the target application. Then, it is also necessary to determine that the second data segment has not been tampered with by the third party, and therefore, step S204 acquires the verification data of the second data segment.
Before each data fragment is packaged into a data packet, a developer generates a check code of the data fragment, and the check code is used for checking the current data fragment and judging the authenticity of the data fragment. Typically, the check code is stored in a fixed position of the second data segment, and step S204 may obtain the check code of the second data segment from the fixed position.
Step S205, performing verification calculation on the second data segment.
Since the check code of the second data segment is the check code obtained through the check operation, generally, the second data segment describes a rule for checking the second data segment, for example, which data in the second data segment is used to perform what calculation, so as to calculate and obtain the check code. Therefore, step S205 obtains the data preset in the second data segment according to the calculation rule described in the second data segment, calculates the check code according to the preset rule, and determines whether the calculated check code is the same as the check code recorded in the second data segment.
Step S206, determining whether the second data segment passes the check, if yes, executing step S207, otherwise, executing step S208.
After the check code of the second data segment is obtained through calculation, it is determined whether the check code obtained through calculation is consistent with the check code stored in the second data segment, so step S206 is performed to determine consistency between the check code obtained through calculation and the check code stored in the second data segment. Generally, since the check code is a single value, it is only necessary to determine whether the two values are completely the same, so as to determine whether the check code obtained by calculation is the same as the check code stored in the second data segment.
Step S207, confirming the correctness of the second data segment.
If the check code obtained by performing check calculation on the second data fragment through the preset step is the same as the check code obtained by storing the second data fragment itself, it may be determined that the second data fragment is not tampered, that is, the second data fragment is a data fragment of the configuration file issued by the developer, and the second data fragment may be parsed.
Step S208, discarding the second data segment.
If step S206 determines that the calculated check code is inconsistent with the check code stored in the second data segment, it indicates that the received second data segment may be tampered, or the received data is stored in an error, and the received second data segment cannot be used, and needs to be discarded, and the second data segment is not parsed.
Of course, if it is determined in step S203 that the signature information of the second data segment does not match the signature information of the first data segment of the target application, it indicates that the second data segment and the first data segment may belong to different applications, and the target page cannot be generated by using the downloaded second data segment, and therefore, the acquired second data segment also needs to be discarded.
In this embodiment, when receiving the configuration file, one of the data fragments of the configuration file may be received, and accordingly, when setting the configuration file of the application program, the developer also needs to split the configuration file to form a plurality of different data fragments. Preferably, the application developer may set the configuration file of the application first, and the configuration file of the application is encapsulated by the operating platform of the application framework. The method for encapsulating the application configuration file according to the embodiment is described below with reference to fig. 3.
First, step S301 is executed to acquire a configuration file of an application program.
The developer of the application may develop a complete configuration file that forms the target application, the formed configuration file being one that is not disassembled. Of course, if the data size of the configuration file is too large, the developer may preset the start and stop positions of a plurality of different data segments, that is, declare in advance that the current configuration file needs to be split into a plurality of data segments in the configuration file, and set the start and stop positions of each data segment, so as to set the data size of each data segment.
For example, the first data segment may be set as a main data segment of the configuration file, and the first data segment includes main description information, running logic, components common to each page, and the like of the application program. For example, the main description information includes the name and type of the application program and the interface to be called, whether the application program can be called by other application programs, the message to be received, the broadcast to be listened to, etc., which are basic setting information for the application program to run. In addition, the first data segment further includes description information of the main page or a plurality of commonly used pages, and the commonly used pages may be pages which are considered by developers to be used frequently in the running process of the application program, and may also be pages at the next level of the main page.
In addition, the developer can split other data in the configuration file into a plurality of second data fragments, and each second data fragment contains description information of a plurality of pages. In this embodiment, the content of the second data segment is mainly used for generating one or more pages and supports the running of the generated pages, so that the content of the second data segment is only for a plurality of specific pages. It can be understood that the second data segment of this embodiment is a sub data segment of the configuration file, and the second data segment is downloaded after the first data segment is downloaded and parsed, so that the content of the first data segment can be obtained in the parsing process of the application framework on the second data segment, and therefore, a certain logical relationship exists between the first data segment and the second data segment: first, resources and codes between multiple second data segments cannot be referenced to each other, second, the second data segments may reference resources and codes in the first data segment, and third, the first data segment cannot reference resources and codes in the second data segment.
According to the above principle, after the first data segment is downloaded, if the first data segment contains the description information of the target page, the target page can be generated by only depending on the data rendering of the first data segment. If the target page does not exist in the first data segment, the second data segment can be obtained through downloading, and the target page is generated by using the components, the running logic and the description information of the target page recorded in the second data segment in the first data segment. And the resources and the codes of different second data fragments cannot be mutually referenced, so that the target page can be generated by combining the data rendering of the first data fragment after each second data fragment is downloaded, and other second data fragments do not need to be additionally downloaded.
Therefore, when a certain page is rendered, the application framework only needs to use the resources and codes in the first data fragment of the configuration file of the target application and the second data fragment corresponding to the target page, and does not need to use the resources or codes in other second data fragments.
Then, step S302 is executed to determine whether the configuration file includes a split flag, if so, step S303 is executed, otherwise, step S308 is executed.
If the developer thinks that the configuration file needs to be split into a plurality of data fragments, a split flag is set in the configuration file, and preferably, the split flag is stored at the front position of the configuration file and has a fixed format or the split flag is stored at a fixed position. When the matching file is packaged, the splitting mark can be obtained by identifying the format of the splitting mark or reading data at a fixed position.
Preferably, a one-bit binary number is used as the splitting flag, for example, a binary number "0" is used to indicate that the mating file does not need to be split, and a binary number "1" is used to indicate that the mating file needs to be split into a plurality of data fragments. Moreover, when the configuration file needs to be split into a plurality of data fragments, the number of the split data fragments needs to be recorded, and the starting and ending positions of each data fragment need to be recorded at the same time. For example, recording the start position and the end position of the first data segment, and recording the start position and the end position of each second data segment corresponds to the specific content of each data segment set in the configuration file by the developer.
Step S303, a first data segment and a second data segment are obtained.
After the configuration file is determined to contain the splitting mark, the first data fragment is obtained according to the determined starting and ending position of the first data fragment, and the second data fragment is obtained according to the determined starting and ending position of the second data fragment. Preferably, the start-stop position of each data segment has a corresponding mark, so that the start-stop position of each data segment can be determined by the marks, thereby determining the specific data of each data segment.
Step S304, determining whether the first data segment has information of the data segment corresponding to each page recorded therein, if so, executing step S307, otherwise, executing step S305.
Since the first data segment of the application is the data segment downloaded first and the data segment where the description information of each page is located needs to be searched from the first data segment before each page is run, the data segment corresponding to each page needs to be recorded in the first data segment. Step S304 is to determine whether to record the information of the data segment corresponding to each page of the application program in the first data segment.
Step S305, obtaining information of the data segment corresponding to each page.
If it is determined in step S304 that the information of the data segment corresponding to each page is not recorded in the first data segment, the information of the data segment corresponding to each page needs to be acquired, in this embodiment, the data segment corresponding to the page is the data segment where the description information of the page is located, for example, the description information of the page C is recorded in the second data segment X2, and the data segment corresponding to the page C is the second data segment X2.
Step S306, recording the information of the data segment corresponding to each page in the first data segment.
After the information of the data segment corresponding to each page is obtained, a table is set in the first data segment, and information of each page and the data segment corresponding to the page is recorded in the table, for example, it is recorded that the data segment corresponding to the main page is the first data segment, and the data segment corresponding to the page C is the second data segment X2. In this way, the information of the data segment corresponding to each page of the target application program is recorded in the first data segment.
Of course, the information corresponding to each page and data segment is not necessarily recorded in a table manner, but may also be recorded in a queue manner.
Step S307, the first data segment is encapsulated to form a first data packet, and the second data segment is encapsulated to form a second data packet.
After the information of the data segment corresponding to each page is recorded in the first data segment, it can be ensured that the information of the data segment corresponding to each page can be obtained from the first data segment, at this time, the first data segment containing the information of the data segment corresponding to each page can be encapsulated to form a first data packet, and the first data packet is a main data packet of the configuration file of the application program.
And obtaining each second data fragment, and respectively encapsulating each second data fragment to form a second data packet. Preferably, each data packet has its own identifier, for example, a unique ID, and when downloading the data packet, the identifier of the data packet can determine the data packet to be downloaded.
If it is determined in step S304 that the information of the data segment corresponding to each page has been recorded in the first data segment, step S307 is directly performed, and the first data segment and the second data segment are encapsulated.
Step S308, packaging the configuration file into a data packet.
If it is determined in step S302 that the configuration file does not include the split flag, it indicates that the developer does not want to split the configuration file, and therefore, the complete configuration file is directly encapsulated to form a data packet. And after receiving a downloading request instruction sent by the terminal equipment, the server sends the data packet containing the complete configuration file to the terminal equipment.
In the above embodiment, the first data fragment of the configuration file includes description information of a part of pages, for example, description information of a main page or a first level page, and in an actual application process, the first data fragment may not include description information of any page, for example, only include information of a second data fragment corresponding to each page of the application program, and at this time, after the first data fragment is acquired, the corresponding second data fragment needs to be downloaded to render and generate the target page.
Referring to fig. 4, the present embodiment first executes step S401, and receives an instruction to receive a target page for running a target application.
For example, if the user is running a certain application and needs to adjust a certain page running another application, the user may issue a jump instruction, such as clicking a certain icon or button on the page of the application to instruct jumping to a specified page of another application.
Then, step S402 is executed to determine whether the target page already exists, if so, step S409 is executed, otherwise, step S403 is executed.
If the target page to be opened by the user is a page that has been opened once, the information of the target page exists in the application program frame, for example, the description information of the target page is stored in the local memory of the terminal device. Therefore, whether the target page exists can be determined by judging whether the configuration file of the target application program is downloaded or not and searching whether the description information of the target page exists or not from the configuration file.
Step S403, sending an instruction to download the target application configuration file.
If the description information of the target page is determined not to exist on the local memory of the terminal device, an instruction for downloading the target application program configuration file needs to be sent to the server. The terminal equipment only needs to determine the name of the target application program and send the name of the target application program needing to download the configuration file to the server.
Step S404, a first data segment of the configuration file of the target application program is received.
In this embodiment, after receiving a download request instruction for requesting downloading of a configuration file of a target application program, sent by a terminal device, a server sends a first data fragment of the target application program to the terminal device. Unlike the embodiment of fig. 1, the first data of this embodiment does not include rendering information of any page, but includes a project profile manifest of the target application program, and a second data segment corresponding to each page of the target application program is recorded in the project profile. For example, description information of a certain page is recorded in which second data segment in the project configuration file, that is, information of the page included in each second data segment is recorded.
In addition, the first data segment may also include several components and common resources, such as running logic of the target application or various statements of the target application, such as statements of which interfaces the target application needs to invoke, statements of which messages need to be received, and so on.
Step S405, the first data segment is analyzed, and a second data segment corresponding to the target page is searched.
Since the first data fragment does not include description information of any page, before the target page is generated by rendering, the second data fragment corresponding to the target page needs to be downloaded, and step S405 first needs to determine which second data fragment needs to be downloaded. For example, the data segment corresponding to the target page is determined by querying the correspondence table of the target page and the data segment, that is, the data segment in which the description information of the target page is recorded is determined. Since the table of the first data segment records the data segments where the description information of all pages is located, the data segment where the description information of the target page is located can be found by traversing the table.
Step S406, a request instruction for downloading the second data segment is sent.
After determining the second data segment where the description information of the target page is located through step S405, the terminal device sends a request instruction for downloading the required second data segment to the server, where the request instruction includes information of the required second data segment, such as a flag or an ID of the second data segment. Preferably, the configuration file of the target application includes a first data segment and a plurality of second data segments, and the download request instruction sent in step S406 does not download all the second data segments, but downloads the second data segment where the description information of the target page is located.
Step S407, receiving the second data segment, and acquiring the description information of the target page.
After receiving a request instruction for downloading the second data segment, the server searches for a second data packet corresponding to the second data segment to be downloaded, and sends the second data packet to the terminal equipment, and after receiving the second data packet, the terminal equipment analyzes the second data packet, so that the second data segment is obtained.
At this time, the application framework analyzes the second data segment, and obtains the description information of the target page from the second data segment. Generally, the second data segment contains a large amount of data, including description information of multiple pages, and possibly some components or running logic among multiple pages, and therefore, the application framework obtains the description information of the target page from the second data segment according to the information of the target page, such as the name of the target page or the path of the target page, and the description information of the target page may include information of the layout file of the page, the control used by the page, and the running logic of the page itself.
In step S408, the description information of the target page is applied to render and generate the target page.
After the description information of the target page is acquired, the target page may be rendered and generated according to the acquired description information. Preferably, in order to render the generated target page to be the same as the native page of the application program, the generated target page may be rendered by using native controls of the operating system. Generally, a configuration file of a target application program contains a plurality of components, running logic, description information and the like, wherein the components correspond to native controls of a terminal device operating system, that is, one component corresponds to one or more native controls, when a target page is rendered, the components in the configuration file can be obtained, corresponding native controls are obtained according to the corresponding relationship between the components and the native controls, and the native controls are applied and the native page of the target page is rendered and generated according to the description information of the target page.
Further, the component of the configuration file may be a component that is required to be used for rendering a plurality of pages, and these components are stored in the first data fragment, so that the component may be obtained from the first data fragment when each page is generated by rendering. Therefore, in step S408, the required component needs to be acquired from the first data fragment, and the corresponding native control is determined according to the component, and then the target page is generated by rendering the native control according to the description information of the target page.
Of course, if the component for generating the target page by rendering is stored in the second data fragment, the corresponding component is directly obtained from the second data fragment, the corresponding native control is determined according to the components, and then the target page is generated by rendering according to the description information of the target page by using the native control.
Step S409, open the target page.
If step S402 determines that the target page already exists, that is, the description file of the target page is stored in the local memory of the terminal device, the description information of the target page of the target application program is directly obtained, and the target page is generated by rendering.
The embodiment of the present invention further provides a control device of a terminal device, referring to fig. 5, the control device includes an operation instruction receiving module 501, a first data fragment obtaining module 502, a second data fragment obtaining module 503, a checking module 504, and a page generating module 505.
The operation instruction receiving module 501 is configured to receive an instruction for operating a target page of a target application, for example, a user clicks a certain icon or a certain key on a main page of the target application to indicate that a certain page of the target application needs to be operated. Of course, the target page may also be a page of an application that is not currently running, i.e., a page that jumps from a currently running application to another application and runs another application.
The first data segment obtaining module 502 is configured to obtain a first data segment of a configuration file of a target application, and determine whether description information of a target page is recorded in the first data segment. In this embodiment, the configuration file of the target application program does not have only one data segment, and therefore, after the target page for running the target application program is received, the first data segment of the configuration file, that is, the main data segment, needs to be downloaded first, and it needs to be determined whether the description information of the target page is recorded in the first data segment. Optionally, the first data segment may include description information of the main page or the first level page, or may not include description information of any page, and only record information of the second data segment corresponding to each page, or further include data of the common resource.
The second data segment obtaining module 503 is configured to, after determining that the first data segment does not record the description information of the target page, obtain a second data segment containing the description information of the target page. If the description information of the target page is not recorded in the first data fragment, which means that the target page cannot be rendered and generated only by means of the information in the first data fragment, a second data fragment in which the description information of the target page is recorded needs to be searched.
After finding the information of the second data segment, such as finding the name or ID of the second data segment, an instruction to download the second data segment is sent to the server, and the second data segment is received.
The verification module 504 is configured to verify the downloaded second data segment, for example, extract signature information in the second data segment, and determine whether the signature information is the same as the signature information in the first data segment. And acquiring a check code from the second data segment, performing check calculation on the second data segment by using a preset transaction algorithm, and judging whether the check code obtained by calculation is the same as the check code in the second data segment, wherein if the check code obtained by calculation is the same as the check code in the second data segment, the second data segment is not tampered.
The page generating module 505 is configured to obtain the description information of the target page from the second data fragment, and render and generate the target page based on the description information. Preferably, the page generating module 505 further obtains the component from the first data fragment, finds a native control of the operating system corresponding to the component, and renders and generates a native page of the target page by using the native control and based on the description information. In this way, it is ensured that the page generated by rendering is the same as the target page of the application running on the operating system.
The embodiment further provides an application configuration file packaging apparatus, referring to fig. 6, the apparatus includes a configuration file obtaining module 601, a splitting determining module 602, a description information obtaining module 603, and a packaging module 604.
The configuration file obtaining module 601 is configured to obtain a configuration file of an application, for example, obtain a configuration file originally developed by a developer. In general, the configuration file originally developed by the developer may be directly uploaded to a server designated by an operator, and the configuration file obtaining module 601 may obtain the original configuration file from the server.
The splitting determination module 602 is configured to determine whether a splitting flag exists in an original configuration file, for example, find the splitting flag from a preset flag bit, if the splitting flag exists in the configuration file, it indicates that the configuration file needs to be split into multiple data fragments and packaged respectively, and if the splitting flag does not exist, it indicates that the configuration file does not need to be split into multiple data fragments, and a complete configuration file may be directly packaged.
If the configuration file needs to be split, a first data fragment and at least one second data fragment of the configuration file need to be acquired, wherein each data fragment contains description information of at least one page, and thus, the application framework can render and generate one or more pages according to the description information of one or more pages recorded by each data fragment.
The description information obtaining module 603 is configured to determine whether page information corresponding to each data segment is recorded in the first data segment, and if page information corresponding to each data segment is not recorded, obtain information of the data segment where the description information of each page is located, and write the information of the data segment where each page is located into the first data segment.
When the configuration file needs to be divided into a plurality of data segments, the encapsulation module 604 encapsulates the first data segment to form a first data packet, and encapsulates the second data segment to form a second data packet. If the configuration file does not need to be divided into a plurality of data fragments, the complete configuration file is directly packaged to form a data packet.
Fig. 7 shows only a portion related to the embodiment of the present invention for convenience of description, and please refer to the method portion in the embodiment of the present invention for details that are not disclosed. The terminal device can be any terminal device including a mobile phone, a tablet computer, a Personal Digital Assistant (Personal Digital Assistant, abbreviated as "PDA") and the like.
Referring to fig. 7, the terminal device includes a processor 701, a memory 702, a power supply 703, and a computer program stored in the memory and executable on the processor. The processor 701 implements the steps in the above-described embodiments of the information processing method, such as steps S101 to S110 shown in fig. 1, when executing the computer program. Alternatively, the processor, when executing the computer program, implements the functions of each module or unit in the above-described device embodiments.
Illustratively, a computer program may be partitioned into one or more modules/units, which are stored in a memory and executed by a processor to implement the present invention. One or more of the modules/units described above may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the terminal device.
Those skilled in the art will appreciate that the architecture shown in fig. 7 does not constitute a limitation of the terminal device, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components, e.g., the terminal device described above may also include input-output devices, network access devices, buses, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the terminal device and connecting the various parts of the entire terminal device using various interfaces and lines.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the terminal device by running or executing the computer programs and/or modules stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The terminal device integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium and used by a processor to implement the steps of the above-described embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the above-described division of units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Of course, the above-mentioned solution is only a preferred embodiment of the present invention, and the practical application may also have more changes, for example, the type of the target message changes, and the way of obtaining the first registration information changes, and such changes do not affect the implementation of the present invention, and should also be included in the protection scope of the present invention.

Claims (7)

1. A terminal device control method is characterized by comprising the following steps: searching information of a data segment corresponding to a target page in a first data segment of a configuration file of a target application program, wherein the data segment corresponding to the target page is a data segment containing description information of the target page;
when the first data segment does not contain the description information of the target page, acquiring a second data segment containing the description information of the target page;
acquiring description information of the target page from the second data fragment, and rendering and generating the target page based on the description information;
the first data fragment and the second data fragment are obtained by splitting a configuration file of the target application program;
the first data fragment comprises data fragment information of description information of each page of the application program, description information of a main page and a common page, running logic and components common to all pages, and the first data fragment cannot refer to resources and codes in the second data fragment;
the second data fragment is used for generating one or more specific pages and supports the operation of the generated specific pages, and resources and codes of different second data fragments cannot be mutually referenced;
wherein the obtaining of the second data segment containing the description information of the target page includes:
analyzing the first data fragment, and searching information of a second data fragment corresponding to the target page in the information recorded by the first data fragment;
sending a downloading request instruction for acquiring the second data segment, and receiving the second data segment;
the searching for the information of the second data segment corresponding to the target page in the information recorded in the first data segment includes: searching a target second data segment containing the description information of the target page from a plurality of second data segments;
sending a download request instruction for acquiring the second data segment, and receiving the second data segment includes: and sending a downloading request instruction for downloading only the target second data segment, and receiving only the target second data segment.
2. The terminal device control method according to claim 1, wherein rendering and generating the destination page includes: acquiring a component from a preset data fragment, determining a native control corresponding to the component, applying the native control and rendering and generating the target page based on the description information of the target page;
the preset data segment is only the first data segment and/or the target second data segment.
3. The terminal device control method according to any one of claims 1 to 2, characterized by further performing, after acquiring the second data segment:
and acquiring the signature information in the second data segment, judging whether the signature information in the second data segment is consistent with the signature information in the first data segment or not, and discarding the second data segment if the signature information in the second data segment is inconsistent with the signature information in the first data segment.
4. A method for encapsulating an application configuration file, the method comprising:
acquiring a configuration file of an application program, and judging whether a split mark exists in the configuration file, if so, acquiring a first data fragment and at least one second data fragment of the configuration file, wherein each second data fragment comprises description information of at least one page;
packaging the first data fragment into a first data packet, and packaging the second data fragment into a second data packet;
the first data packet and the second data packet may be combined to obtain a configuration file of the target application program in the terminal device control method according to any one of claims 1 to 3.
5. A terminal device control apparatus, characterized in that the apparatus comprises:
the first data segment acquisition module is used for searching the information of the data segment corresponding to the target page in the first data segment of the configuration file of the target application program, wherein the data segment corresponding to the target page is a data segment containing the description information of the target page;
a second data fragment obtaining module, configured to obtain a second data fragment containing the description information of the target page when the first data fragment does not contain the description information of the target page;
the page generation module is used for acquiring the description information of the target page from the second data fragment and generating the target page based on the description information in a rendering mode;
the first data fragment and the second data fragment are obtained by splitting a configuration file of the target application program;
the first data fragment comprises data fragment information of description information of each page of the application program, description information of a main page and a common page, running logic and components common to all pages, and the first data fragment cannot refer to resources and codes in the second data fragment;
the second data fragment is used for generating one or more specific pages and supports the operation of the generated specific pages, and resources and codes of different second data fragments cannot be mutually referenced;
wherein the obtaining of the second data segment containing the description information of the target page includes:
analyzing the first data segment, and searching information of a second data segment corresponding to the target page in the information recorded by the first data segment;
sending a downloading request instruction for acquiring the second data segment, and receiving the second data segment;
the searching for the information of the second data segment corresponding to the target page in the information recorded in the first data segment includes: searching a target second data segment containing the description information of the target page from a plurality of second data segments;
sending a download request instruction for acquiring the second data segment, and receiving the second data segment includes: and sending a downloading request instruction for downloading only the target second data segment, and receiving only the target second data segment.
6. A terminal device, characterized in that the terminal device comprises a processor for implementing the steps of the terminal device control method according to any one of claims 1 to 3 or the steps of the encapsulation method of an application profile according to claim 4 when executing a computer program stored in a memory.
7. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program realizes the steps of the terminal device control method according to any one of claims 1 to 3 or the steps of the encapsulation method of the application profile according to claim 4 when executed by a processor.
CN201810693313.8A 2018-06-29 2018-06-29 Terminal device control method and device, application program configuration file packaging method, terminal device and computer readable storage medium Active CN110727469B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810693313.8A CN110727469B (en) 2018-06-29 2018-06-29 Terminal device control method and device, application program configuration file packaging method, terminal device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810693313.8A CN110727469B (en) 2018-06-29 2018-06-29 Terminal device control method and device, application program configuration file packaging method, terminal device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110727469A CN110727469A (en) 2020-01-24
CN110727469B true CN110727469B (en) 2022-08-16

Family

ID=69217230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810693313.8A Active CN110727469B (en) 2018-06-29 2018-06-29 Terminal device control method and device, application program configuration file packaging method, terminal device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110727469B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416544B (en) * 2020-11-03 2024-04-19 中富通集团股份有限公司 Method and storage device for 5G mobile terminal application jump
CN112379902A (en) * 2020-11-06 2021-02-19 深圳市越疆科技有限公司 Method, apparatus and computer-readable storage medium for adapting a plurality of end devices
CN112631676B (en) * 2020-12-18 2024-01-26 深圳点链科技有限公司 Code dynamic loading method, device and computer readable storage medium
CN113076147B (en) * 2021-03-09 2024-02-02 北京一亩田新农网络科技有限公司 Dynamic APK resource loading method, device, system and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102576371A (en) * 2009-09-01 2012-07-11 乐威科技公司 A method and system for tunable distribution of content
CN105227350A (en) * 2015-08-31 2016-01-06 河北省电力建设调整试验所 Based on the intelligent substation IED configuration file management-control method of CRC check code
CN105302550A (en) * 2015-10-12 2016-02-03 江苏中威科技软件系统有限公司 Method and system for converting page into layout data stream file
CN106354727A (en) * 2015-07-16 2017-01-25 中兴通讯股份有限公司 Widget file generating method and device
CN106484470A (en) * 2016-09-29 2017-03-08 努比亚技术有限公司 The processing method of application program installation kit, device and server
CN106980504A (en) * 2017-03-28 2017-07-25 腾讯科技(深圳)有限公司 A kind of application development method and its instrument, equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8898627B2 (en) * 2010-05-11 2014-11-25 Smartshift Gmbh Systems and methods for applying rules to transform objects of an application
CN102455915A (en) * 2010-10-18 2012-05-16 卓望数码技术(深圳)有限公司 Method for automatically configuring distributed system, and server
CN102455905B (en) * 2010-10-19 2014-11-26 腾讯科技(深圳)有限公司 Method and system for establishing main panel interface, main panel and main panel interface system
US9262182B2 (en) * 2012-01-25 2016-02-16 Apple Inc. Dynamic parameter profiles for electronic devices
CN102930015B (en) * 2012-10-31 2016-02-03 百度在线网络技术(北京)有限公司 A kind of for providing the method and apparatus of Search Results on mobile terminals
IN2013CH01239A (en) * 2013-03-21 2015-08-14 Infosys Ltd
WO2015069912A1 (en) * 2013-11-06 2015-05-14 Improvement Interactive, LLC Dynamic application version selection
CN104267968B (en) * 2014-10-16 2017-12-26 福建星网视易信息系统有限公司 The method and apparatus of changing interface
CN107038017B (en) * 2016-02-03 2019-06-14 博雅网络游戏开发(深圳)有限公司 The method and apparatus that rendering data obtains
CN107329743B (en) * 2017-06-14 2021-09-28 北京小米移动软件有限公司 Application page display method and device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102576371A (en) * 2009-09-01 2012-07-11 乐威科技公司 A method and system for tunable distribution of content
CN106354727A (en) * 2015-07-16 2017-01-25 中兴通讯股份有限公司 Widget file generating method and device
CN105227350A (en) * 2015-08-31 2016-01-06 河北省电力建设调整试验所 Based on the intelligent substation IED configuration file management-control method of CRC check code
CN105302550A (en) * 2015-10-12 2016-02-03 江苏中威科技软件系统有限公司 Method and system for converting page into layout data stream file
CN106484470A (en) * 2016-09-29 2017-03-08 努比亚技术有限公司 The processing method of application program installation kit, device and server
CN106980504A (en) * 2017-03-28 2017-07-25 腾讯科技(深圳)有限公司 A kind of application development method and its instrument, equipment

Also Published As

Publication number Publication date
CN110727469A (en) 2020-01-24

Similar Documents

Publication Publication Date Title
CN110688232B (en) Application program calling method, terminal equipment and computer readable storage medium
CN110727469B (en) Terminal device control method and device, application program configuration file packaging method, terminal device and computer readable storage medium
CN109391676B (en) Terminal device control method, terminal device, and computer-readable storage medium
CN109918055B (en) Application program generation method and device
CN111078223B (en) Application program packaging method and device
CN107402792B (en) Integration method, device, equipment and storage medium of application software installation package
CN111176717B (en) Method and device for generating installation package and electronic equipment
CN111930382B (en) Application page access method, device and equipment
US8990929B2 (en) Auditing application activities
CN108647032B (en) Application loading method and device, computer device and computer readable storage medium
CN110941779B (en) Page loading method and device, storage medium and electronic equipment
CN111399840A (en) Module development method and device
US20240103928A1 (en) Information processing method and apparatus for animation resource, device, medium and product
CN106681749A (en) Local code patch updating method and device based on Android platform
CN108170430B (en) Interface display method and system
CN113407165B (en) SDK generation and self-upgrade method, device, readable medium and equipment
CN110941443B (en) Method and device for modifying file name in SDK (software development kit) and electronic equipment
CN110865818A (en) Application associated domain name detection method and device and electronic equipment
CN114462101A (en) Processing system, method and device for application apk packet
CN111488286B (en) Method and device for independently developing Android modules
CN111443920B (en) Frame migration method and device
CN110309000B (en) Application update prompting method and terminal equipment
CN110618874B (en) Terminal equipment control method and device, terminal equipment and computer readable storage medium
CN110609751B (en) Terminal equipment control method and device, terminal equipment and computer readable storage medium
CN115269058B (en) WPF resource loading method and device

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231214

Address after: 430000, 14th floor, No. 181 Chunxiao Road, Wuhan Economic and Technological Development Zone, Hubei Province

Patentee after: Wuhan Xingji Meizu Technology Co.,Ltd.

Address before: 519080 Meizu Science and Technology Building, Zhuhai City, Guangdong Province

Patentee before: MEIZU TECHNOLOGY Co.,Ltd.