CN112711445A - Application program management method and system - Google Patents

Application program management method and system Download PDF

Info

Publication number
CN112711445A
CN112711445A CN201911026661.0A CN201911026661A CN112711445A CN 112711445 A CN112711445 A CN 112711445A CN 201911026661 A CN201911026661 A CN 201911026661A CN 112711445 A CN112711445 A CN 112711445A
Authority
CN
China
Prior art keywords
resource
network
application program
display
resources
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.)
Granted
Application number
CN201911026661.0A
Other languages
Chinese (zh)
Other versions
CN112711445B (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.)
Guangzhou Stars Pulse Co Ltd
Original Assignee
Guangzhou Stars Pulse 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 Guangzhou Stars Pulse Co Ltd filed Critical Guangzhou Stars Pulse Co Ltd
Priority to CN201911026661.0A priority Critical patent/CN112711445B/en
Publication of CN112711445A publication Critical patent/CN112711445A/en
Application granted granted Critical
Publication of CN112711445B publication Critical patent/CN112711445B/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/4401Bootstrapping
    • 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/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a management method and a system of an application program, wherein the method comprises the following steps: packaging a starting guide function module and an open screen advertisement function module in an application program into a tool package through a packaging tool; transplanting the packaged tool package into the code of the application program; selecting a display type for starting a guide function and/or an open screen advertisement function; judging whether the resource source of the display type to be displayed is a local resource or a network resource; if the local resource exists, executing an operation step corresponding to the local resource; if the network resource exists, the operation steps corresponding to the network resource are executed. By the application program management method and system, development cost is reduced, code amount is simplified, and user experience is improved.

Description

Application program management method and system
Technical Field
The embodiment of the invention relates to the field of application programs, in particular to a management method and a management system of an application program.
Background
In the application programs in the prior art, when the application programs are started or updated, most of the application programs are displayed in one display mode of video or picture or moving picture display, so that the single display mode is not enough in interest, even the single display mode in some specific scenes is not enough to completely display the application programs, and a user cannot quickly know the content, the using method and the like of the application programs; meanwhile, if the video display is selected, when the video to be displayed is a network resource, the network is required to request to download the video, the request time is particularly long before the request is finished, and particularly when the network is not good, a blank period is generated before the play, so that the problem of poor user experience is caused; finally, for the user who develops the boot page and the open screen advertisement page, the two function modules are developed independently, which is equivalent to that in the same application program, the user needs to develop two sets of schemes to respectively complete the function of booting the boot page and the function of displaying the open screen advertisement, and such a manner increases the development cost and causes a problem of large code quantity.
Disclosure of Invention
An object of an embodiment of the present invention is to provide a method and a system for managing an application, so as to solve the problem in the prior art that a guidance display or an advertisement display for starting a guidance page and an open screen advertisement page is single, to solve the problem that when a resource is requested to be displayed through a network, a network request time is long and user experience is poor due to a network problem, and to solve the problems that a guidance starting function and an open screen advertisement display function of an application cannot be simultaneously implemented in a set of codes, development cost is high and a code amount is large.
In a first aspect, an embodiment of the present invention provides a method for managing an application program, where the method includes:
packaging a starting guide function module and an open screen advertisement function module in an application program into a tool package through a packaging tool;
transplanting the packaged tool package into the code of the application program;
selecting a display type for starting a guide function and/or an open screen advertisement function;
judging whether the resource source of the display type to be displayed is a local resource or a network resource;
if the local resource exists, executing an operation step corresponding to the local resource;
if the network resource exists, the operation steps corresponding to the network resource are executed.
Optionally, the method for packaging the start-up guidance function module and the open screen advertisement function module in the application program into a toolkit through a packaging tool includes:
acquiring a first program interface of a starting guide function module in an application program;
acquiring a second program interface of an open screen advertisement function module in an application program;
and packaging the first program interface of the starting guide function module and the second program interface of the screen-opening advertisement function module into a third program interface which simultaneously has the first program interface and the second program interface, and taking the third program interface as the packaged tool package.
Optionally, the presentation type includes at least one of a video presentation, a picture presentation, and a motion picture presentation.
Optionally, the determining whether the resource source of the display type to be displayed is a local resource or a network resource includes:
obtaining the display type to be displayed;
obtaining the value of a preset field in the display type to be displayed;
and judging whether the resource source of the display type to be displayed is a local resource or a network resource according to the acquired value of the preset field in the display type.
Optionally, if the local resource is a local resource, executing an operation step corresponding to the local resource, including:
reading a designated display resource stored in an application program, wherein the display resource comprises a display resource stored locally and a resource requested by a network to be cached in the application program;
and displaying the read display resources stored in the application program.
Optionally, the network resource performs an operation step corresponding to the network resource, where the operation step includes:
acquiring a network address designated by a user;
judging whether the corresponding network resources in the network address to be requested are stored locally;
if the network address exists, directly displaying the locally stored network resource corresponding to the network address;
if not, the network resources in the network address specified by the user are continuously requested.
Optionally, the local resource is presented while continuing to request the network resource within the network address specified by the user.
Optionally, after reading the specified display resource stored in the application program, the method further includes:
judging whether the current application program is in a starting guide state or an open screen advertisement state;
if the local resources are in the starting and guiding state, directly playing or displaying the local resources;
judging whether the user clicks the operation control or not;
if yes, ending the playing or displaying;
if the mobile terminal is in the open screen advertising state, playing or displaying the advertisement within preset time; and after the preset time is up, automatically closing or stopping advertisement display, and entering an application program home page interface.
Optionally, if the network resource does not exist, after continuing to request the network resource in the network address specified by the user, the method further includes:
judging whether the network request result is successful or failed;
if the network request is successful, storing the downloaded picture, video or motion picture resources in the application program for the next display;
if the network request fails, the network request is carried out again;
if the network request is successfully repeated, storing the downloaded picture, video or motion picture resources in the application program for the next display;
if the network request is failed to be carried out again, no operation is carried out.
In a second aspect, the present invention provides a system for managing an application, including:
the packaging unit is used for packaging the starting guide function module and the screen opening advertisement function module in the application program into a tool package through a packaging tool;
the transplanting unit is used for transplanting the packaged tool package into the code of the application program;
the selection unit is used for selecting the display type of the starting guide function and/or the screen-opening advertisement function;
the judging unit is used for judging whether the resource source of the display type to be displayed is a local resource or a network resource;
and the execution unit is used for executing corresponding operation steps.
By the invention, the following beneficial effects can be realized:
in the embodiment of the invention, the starting guide function module and the screen-opening advertisement function module in the application program are packaged into a tool kit through a packaging tool, and the packaged tool kit is transplanted into the code of the application program, so that the problems of high development cost and large code quantity caused by the fact that the starting guide function and the screen-opening advertisement display function of the application program cannot be simultaneously realized in one set of code can be solved; by selecting the display type of the starting guide function and/or the screen-opening advertisement function, the problem that the guide display of the starting guide page and the screen-opening advertisement page or the display mode of the advertisement display is single in the prior art can be solved; judging whether the resource source of the display type to be displayed is a local resource or a network resource; if the local resource exists, executing an operation step corresponding to the local resource; if the network resource exists, executing an operation step corresponding to the network resource to solve the problem that when the resource is displayed through a network request, the network request time is long due to the network problem, and the user experience is poor; by the application program management method and system, development cost is reduced, code amount is simplified, and user experience effect is improved.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a flow chart of one embodiment of a method for managing applications of the present invention;
FIG. 2 is a flow chart of yet another embodiment of a method for managing applications of the present invention;
FIG. 3 is a flow chart of yet another embodiment of a method for managing applications of the present invention;
FIG. 4 is a flow chart of yet another embodiment of a method for managing applications of the present invention;
FIG. 5 is a flow chart of yet another embodiment of a method for managing applications of the present invention;
FIG. 6 is a flow chart of yet another embodiment of a method for managing applications of the present invention;
FIG. 7 is a flow chart of yet another embodiment of a method for managing applications of the present invention;
fig. 8 is a schematic diagram of the constituent elements of an embodiment of the management system of the application program of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An object of the embodiments of the present invention is to provide a method and a system for managing an application program.
In a first aspect, referring to fig. 1, in an embodiment of a management method for an application program of the present invention, the method includes:
s1: packaging a starting guide function module and an open screen advertisement function module in an application program into a tool package through a packaging tool;
s2: transplanting the packaged tool package into the code of the application program;
s3: selecting a display type for starting a guide function and/or an open screen advertisement function;
s4: judging whether the resource source of the display type to be displayed is a local resource or a network resource;
s5: if the local resource exists, executing an operation step corresponding to the local resource;
s6: if the network resource exists, the operation steps corresponding to the network resource are executed.
In this embodiment, when an application is developed, in order to save development cost and simplify code logic, a plurality of software function modules may be packaged into a toolkit through a special packaging tool, and the packaged toolkit is transplanted into a code of the application, so that the code logic can be simplified and the development cost can be saved; for example, in the invention, the start-up guidance function module and the open-screen advertisement function module in the application program are packaged into a toolkit through a packaging tool, and the common packaging tools comprise webpack, RequireJS and browserify; the required packing tools can be selected according to requirements, the emphasis points of different packing tools are different, and the applicable development languages are different; transplanting a packaged tool pack with a starting guide function and an open screen advertisement function into codes of an application program, calling the tool pack by a system, and selecting whether resources of a display type to be displayed are local resources or network resources, wherein the display type comprises at least one of video display, picture display and motion picture display, for example, only pictures or only videos are displayed, or only motion pictures are displayed, or pictures and videos can be displayed in a combined manner, or other display modes combining the pictures, the videos and the motion pictures are displayed in a combined manner; then the system judges if the resource to be displayed is a local resource, reads the appointed display resource stored in the application program, wherein the display resource comprises the display resource stored locally and the resource requested by the network to be cached in the application program; if the resources to be displayed are judged to be network resources, the resources to be displayed are required to be requested through a network address, whether the resources to be requested exist locally is judged, if yes, the network resources are not requested, and the playing and displaying resources are directly called from a local storage space; and if the network resource to be requested does not exist locally, continuing to request the network resource.
Optionally, referring to fig. 2, in another embodiment of the application management method according to the present invention, the packaging a start guidance function module and an open screen advertisement function module in an application into a tool package by a packaging tool includes:
s11: acquiring a first program interface of a starting guide function module in an application program;
s12: acquiring a second program interface of an open screen advertisement function module in an application program;
s13: and packaging the first program interface of the starting guide function module and the second program interface of the screen-opening advertisement function module into a third program interface which simultaneously has the first program interface and the second program interface, and taking the third program interface as the packaged tool package.
In this embodiment, to implement packaging different function modules into one toolkit, for example, it is desired to package the boot function and the screen-opening advertisement function in an application into one toolkit, a user, that is, a developer, first packages a program of the boot function into a first program interface, then packages a program of the screen-opening advertisement function into a second program interface, and then packages the two packaged program interfaces into a final program interface, that is, a third program interface, again, where the third program interface is a packaged toolkit.
Optionally, the presentation type includes at least one of a video presentation, a picture presentation, and a motion picture presentation.
The display type comprises at least one of video display, picture display and motion picture display, for example, only pictures or only videos are displayed, or only motion pictures are displayed, or pictures and videos can be displayed in a combined manner, or other display modes combining the pictures, the videos and the motion pictures are displayed; or the picture and the motion picture are combined to be displayed; and combining the moving picture and the video for displaying. If the amount of information to be displayed is large, a video display mode can be adopted, the video display duration is not limited, how long the video is displayed can be displayed, the fast-backward fast-forward operation is supported, and fast-backward is realized through a left-sliding gesture and fast-forward is realized through a right-sliding gesture; skipping or finishing the video display in advance by directly clicking the interactive control or performing similar logic interaction, and entering an application program management service interface; if the information quantity to be displayed is small, the picture display mode can be used only by simple introduction or guidance display, and introduction guidance and the like can be finished by simple pictures through gesture sliding interaction.
Optionally, referring to fig. 3, in another embodiment of the application management method of the present invention, the determining whether the resource source of the display type to be displayed is a local resource or a network resource includes:
s41: obtaining the display type to be displayed;
s42: obtaining the value of a preset field in the display type to be displayed;
s43: and judging whether the resource source of the display type to be displayed is a local resource or a network resource according to the acquired value of the preset field in the display type.
In this embodiment, a display type to be displayed is obtained first, for example, the type to be displayed is a video, then a value of a preset field in the display type to be displayed is obtained, when the preset field in the display type is obtained, one of the methods is obtained by calling a display resource path to be displayed, for example, a resource path is input when the resource is called, and if the resource path includes an http field, it is indicated that the video resource to be displayed is a network resource; the http field is a preset field, when the value of the preset field is http, the http field proves that the http field is a network resource, and if the value of the preset field is null, the http field proves that the http field is a local resource; if the called resource path does not contain the http field, the called resource path is proved to be a local resource; another method for determining whether the resource to be displayed is a network resource or a local resource is that the user, i.e. the developer sets a path whether the resource is a network resource in the code, for example, the path is written in the code, isNetUrl is YES/NO, if YES, it indicates that the resource is a network resource, and if NO, it indicates that the resource is a local resource. If the webpage resources are loaded too much, the loading speed is slowed, at the moment, partial resources can be placed locally, webpage links and requests are intercepted, and local resources directly acquire local contents without loading the contents of the network server.
Optionally, referring to fig. 4, in another embodiment of the application management method according to the present invention, if the application is a local resource, the method performs an operation step corresponding to the local resource, including:
s51: reading a designated display resource stored in an application program, wherein the display resource comprises a display resource stored locally and a resource requested by a network to be cached in the application program;
s52: and displaying the read display resources stored in the application program.
In this embodiment, if the resource to be displayed is a local resource, displaying is performed by reading a designated display resource stored in an application program, where the locally stored display resource includes not only a display resource stored locally in advance, but also a resource that is cached in the application program through a network request and is displayed; and after reading the local display resources, displaying the read local resources.
Optionally, referring to fig. 5, in another embodiment of the application management method according to the present invention, the executing, by the network resource, an operation step corresponding to the network resource includes:
s61: acquiring a network address designated by a user;
s62: judging whether the corresponding network resources in the network address to be requested are stored locally;
s63: if the network address exists, directly displaying the locally stored network resource corresponding to the network address;
s64: if not, the network resources in the network address specified by the user are continuously requested.
In this embodiment, if the resource to be displayed is a network resource, first, a network address specified by a user is obtained, and then, whether the network resource corresponding to the network address to be requested is cached locally is determined, and if the network resource is cached locally, the resource cached locally can be directly called from the local for displaying; if the network resource to be requested does not exist locally, the network resource corresponding to the network address specified by the user needs to be continuously requested. Meanwhile, when the network resource is requested, in order to not influence the playing and displaying fluency and the user impression of the application program, other locally stored resources which can be displayed firstly.
Optionally, the local resource is presented while continuing to request the network resource within the network address specified by the user.
In this embodiment, another core feature of the present solution is to optimize network resources, because the network resources sometimes require too long time for network resources due to poor network conditions, or a network resource request fails, under such a situation, if a user waits for too long time or directly prompts a failure, the overall experience effect of the user on an application program is inevitably affected, which may adversely affect development of the application program and user evaluation, so that the present solution displays local or cached resources in the application program while requesting the network resources, and if no local or cached resources are found, the page is skipped to directly enter the home page of the application program; if the local resources are found, the local resources are displayed and played firstly.
Optionally, referring to fig. 6, in another embodiment of the application management method of the present invention, S51: after reading the designated display resources stored in the application program, the method further comprises the following steps:
s511: judging whether the current application program is in a starting guide state or an open screen advertisement state;
s512: if the local resources are in the starting and guiding state, directly playing or displaying the local resources;
s513: judging whether the user clicks the operation control or not;
s514: if yes, ending the playing or displaying;
s515: if the mobile terminal is in the open screen advertising state, playing or displaying the advertisement within preset time; and after the preset time is up, automatically closing or stopping advertisement display, and entering an application program home page interface.
In the embodiment, for local resources to be displayed, after reading specified display resources stored in an application program, starting to judge whether the current application program is in a starting guidance state or an open screen advertisement state, if the current application program is in a function mode of starting a guidance page, if the local resources are directly displayed or played, judging whether a user clicks an operation control, and if the current application program is in the function mode of starting the guidance page, immediately ending the display and directly entering an application program service page; if the mobile terminal is in the open screen advertising state, playing or displaying the advertisement within preset time; after the preset time is up, automatically closing or stopping advertisement display, and entering an application program home page interface; for example, if the preset time is 5 seconds, the advertisement can be played within 5 seconds, and when the time of 5 seconds is up, the advertisement display is automatically closed or stopped, and the application program home page interface is directly accessed.
Optionally, referring to fig. 7, in another embodiment of the application management method according to the present invention, after continuing to request the network resource in the network address specified by the user if the network resource does not exist in S64, the method further includes:
s641: judging whether the network request result is successful or failed;
s642: if the network request is successful, storing the downloaded picture, video or motion picture resources in the application program for the next display;
s643: if the network request fails, the network request is carried out again;
s644: if the network request is successfully repeated, storing the downloaded picture, video or motion picture resources in the application program for the next display;
s645: if the network request is failed to be carried out again, no operation is carried out.
In this embodiment, in the case of entering a network request, whether the network request result is successful or unsuccessful is determined, and if the request is successful, the downloaded picture, video or moving picture resource is cached in the long-term resource storage space of the application program for the next use; if the network request fails, a retry mechanism is entered to carry out the network request again, and if the network request fails, the network block does not carry out any operation.
In a second aspect, referring to fig. 8, the present invention provides a management system for application programs, including:
the packaging unit 1 is used for packaging a starting guide function module and an open screen advertisement function module in an application program into a tool package through a packaging tool;
a transplanting unit 2, which is used for transplanting the packed tool package into the code of the application program;
the selection unit 3 is used for selecting the display type of the starting guide function and/or the screen-opening advertisement function;
the judging unit 4 is used for judging whether the resource source of the display type to be displayed is a local resource or a network resource;
and the execution unit 5 is used for executing corresponding operation steps.
In the embodiment, when an application program is developed, in order to save development cost and simplify code logic, a plurality of software function modules can be packaged into a toolkit through a special packaging tool by the packaging unit 1, and the packaged toolkit is transplanted into a code of the application program by the transplanting unit 2, so that the code logic can be simplified, and the development cost can be saved; for example, in the invention, a start-up guidance function module and an open-screen advertisement function module in an application program are packaged into a toolkit through a packaging tool 1, and common packaging tools comprise webpack, RequireJS and browserify; the required packing tools can be selected according to requirements, the emphasis points of different packing tools are different, and the applicable development languages are different; the method comprises the steps that a packaged tool kit with a starting guide function and an open screen advertisement function is transplanted into codes of an application program through a transplanting unit 2, the tool kit is called by a system, and then a selection unit 3 is used for selecting whether resources of a display type to be displayed are local resources or network resources, wherein the display type comprises at least one of video display, picture display and motion picture display, for example, only pictures or only videos are displayed, or only motion pictures are displayed, or the pictures and the videos can be displayed in a combined mode, or other display modes of combining the pictures, the videos and the motion pictures are displayed; judging whether the resource source of the display type to be displayed is a local resource or a network resource through a judging unit 4; executing the corresponding operation steps by the execution unit 5; for example, if the system determines that the resource to be displayed is a local resource, reading a specified display resource stored in the application program, where the display resource includes a display resource stored locally and a resource requested by the network to be cached in the application program; if the resources to be displayed are judged to be network resources, the resources to be displayed are required to be requested through a network address, whether the resources to be requested exist locally is judged, if yes, the network resources are not requested, and the playing and displaying resources are directly called from a local storage space; and if the network resource to be requested does not exist locally, continuing to request the network resource.
The inventive content of the present invention may also include a third aspect, for example the present invention provides a readable storage medium storing one or more programs executable by one or more processors to perform the steps of the method of managing an application program as described in the first aspect or any alternative design of the first aspect.
The management method or system of the application program, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the present readable storage medium. Based on such understanding, all or part of the flow in the method of implementing the above embodiments of the present invention may also be implemented by hardware related to computer program instructions.
The computer program may be stored in a readable storage medium, which is a computer readable storage medium, and when being executed by a processor module, the computer program may implement the steps of the embodiments of the application management method, where the computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate file form, and the like. The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording media, U-disk, removable hard disk, magnetic diskette, optical disk, computer memory, random access memory, software distribution media and the like.
The present invention may also include a fourth aspect, for example, the present invention provides an electronic device comprising: a readable storage medium of the third aspect, and one or more processors to execute a program in the readable storage medium of the third aspect.
Specifically, the hardware entities of the electronic device include: a communication interface, a processor, a memory, and a bus. Wherein the processor generally controls the overall operation of the electronic device. The communication interface may enable the electronic device to communicate with other terminals or servers via a network. The readable memory is configured to store instructions and applications executable by the processor, and may also cache data to be processed or already processed by the processor and modules in the electronic device, and may be implemented by a FLASH memory (FLASH) or a Random Access Memory (RAM).
Here, it should be noted that: the above description of the embodiments of the readable storage medium and the electronic device is similar to the above description of the embodiment of the application management method, and has similar advantageous effects to the embodiment of the application management method. For technical details not disclosed in the embodiments of the readable storage medium and the electronic device of the present invention, refer to the description of the embodiments of the application management method of the present invention.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, features in the above embodiments or different embodiments may also be combined, steps may be implemented in any order, and there are different aspects of the invention as described above
Many other variations, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: it can still be as described above
The technical scheme recorded in each embodiment is modified, or part of technical features are equivalently replaced; the modifications or the substitutions do not cause the essence of the corresponding technical solutions to depart from the technical aspects of the embodiments of the invention
The scope of the scheme.

Claims (10)

1. A method for managing an application, the method comprising:
packaging a starting guide function module and an open screen advertisement function module in an application program into a tool package through a packaging tool;
transplanting the packaged tool package into the code of the application program;
selecting a display type for starting a guide function and/or an open screen advertisement function;
judging whether the resource source of the display type to be displayed is a local resource or a network resource;
if the local resource exists, executing an operation step corresponding to the local resource;
if the network resource exists, the operation steps corresponding to the network resource are executed.
2. The method for managing the application program of claim 1, wherein the step of packaging the start-up guidance function module and the open screen advertisement function module in the application program into a tool package by a packaging tool comprises:
acquiring a first program interface of a starting guide function module in an application program;
acquiring a second program interface of an open screen advertisement function module in an application program;
and packaging the first program interface of the starting guide function module and the second program interface of the screen-opening advertisement function module into a third program interface which simultaneously has the first program interface and the second program interface, and taking the third program interface as the packaged tool package.
3. The method for managing an application according to claim 1 or 2, wherein the presentation type includes at least one of a video presentation, a picture presentation, and a motion picture presentation.
4. The method for managing application programs according to claim 3, wherein the determining whether the resource source of the display type to be displayed is a local resource or a network resource comprises:
obtaining the display type to be displayed;
obtaining the value of a preset field in the display type to be displayed;
and judging whether the resource source of the display type to be displayed is a local resource or a network resource according to the acquired value of the preset field in the display type.
5. The method for managing application programs according to claim 4, wherein if the local resource is a local resource, the step of executing the operation corresponding to the local resource includes:
reading a designated display resource stored in an application program, wherein the display resource comprises a display resource stored locally and a resource requested by a network to be cached in the application program;
and displaying the read display resources stored in the application program.
6. The method for managing application programs according to claim 4, wherein the network resource performs an operation corresponding to the network resource, including:
acquiring a network address designated by a user;
judging whether the corresponding network resources in the network address to be requested are stored locally;
if the network address exists, directly displaying the locally stored network resource corresponding to the network address;
if not, the network resources in the network address specified by the user are continuously requested.
7. The method of claim 6, wherein the local resource is exposed while continuing to request the network resource at the network address specified by the user.
8. The method for managing application programs according to claim 5, further comprising, after reading the designated display resources stored in the application program:
judging whether the current application program is in a starting guide state or an open screen advertisement state;
if the local resources are in the starting and guiding state, directly playing or displaying the local resources;
judging whether the user clicks the operation control or not;
if yes, ending the playing or displaying;
if the mobile terminal is in the open screen advertising state, playing or displaying the advertisement within preset time; and after the preset time is up, automatically closing or stopping advertisement display, and entering an application program home page interface.
9. The method for managing application programs according to claim 6, wherein, after continuing to request the network resources in the network address specified by the user if the network resources do not exist, the method further comprises:
judging whether the network request result is successful or failed;
if the network request is successful, storing the downloaded picture, video or motion picture resources in the application program for the next display;
if the network request fails, the network request is carried out again;
if the network request is successfully repeated, storing the downloaded picture, video or motion picture resources in the application program for the next display;
if the network request is failed to be carried out again, no operation is carried out.
10. A system for managing an application program, comprising:
the packaging unit is used for packaging the starting guide function module and the screen opening advertisement function module in the application program into a tool package through a packaging tool;
the transplanting unit is used for transplanting the packaged tool package into the code of the application program;
the selection unit is used for selecting the display type of the starting guide function and/or the screen-opening advertisement function;
the judging unit is used for judging whether the resource source of the display type to be displayed is a local resource or a network resource;
and the execution unit is used for executing corresponding operation steps.
CN201911026661.0A 2019-10-26 2019-10-26 Application program management method and system Active CN112711445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911026661.0A CN112711445B (en) 2019-10-26 2019-10-26 Application program management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911026661.0A CN112711445B (en) 2019-10-26 2019-10-26 Application program management method and system

Publications (2)

Publication Number Publication Date
CN112711445A true CN112711445A (en) 2021-04-27
CN112711445B CN112711445B (en) 2023-12-12

Family

ID=75541049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911026661.0A Active CN112711445B (en) 2019-10-26 2019-10-26 Application program management method and system

Country Status (1)

Country Link
CN (1) CN112711445B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934468A (en) * 2021-09-28 2022-01-14 青岛海尔科技有限公司 Application program starting method and device, storage medium and electronic device
CN117707563A (en) * 2023-06-21 2024-03-15 荣耀终端有限公司 Application resource processing method and related equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289378A (en) * 2011-09-30 2011-12-21 互动在线(北京)科技有限公司 Method for automatically generating APP (Application)
CN106293778A (en) * 2015-05-11 2017-01-04 腾讯科技(深圳)有限公司 The packaging method of application program installation kit and device
CN106570354A (en) * 2016-10-18 2017-04-19 国家电网公司 Reconstruction method and device, operating method and device of mobile application
CN107402792A (en) * 2017-08-01 2017-11-28 广州视源电子科技股份有限公司 Integrated approach, device, equipment and the storage medium of application software installation kit
US20180132012A1 (en) * 2015-03-31 2018-05-10 Beijing Qihoo Technology Company Limited Method and apparatus for playing video in application program
CN109218357A (en) * 2017-07-01 2019-01-15 武汉斗鱼网络科技有限公司 Method, storage medium, electronic equipment and the system of web advertisement load
CN109725912A (en) * 2018-12-11 2019-05-07 北京城市网邻信息技术有限公司 Application program configuration method, device, terminal, server and readable storage medium storing program for executing
CN109960526A (en) * 2017-12-22 2019-07-02 航天信息股份有限公司 A kind of application program packaging method and device
CN109992734A (en) * 2019-04-23 2019-07-09 湖南快乐阳光互动娱乐传媒有限公司 A kind of application program is spread its tail put-on method, system, equipment and the medium of advertisement
WO2019169587A1 (en) * 2018-03-07 2019-09-12 华为技术有限公司 Method for installing application according to function modules

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289378A (en) * 2011-09-30 2011-12-21 互动在线(北京)科技有限公司 Method for automatically generating APP (Application)
US20180132012A1 (en) * 2015-03-31 2018-05-10 Beijing Qihoo Technology Company Limited Method and apparatus for playing video in application program
CN106293778A (en) * 2015-05-11 2017-01-04 腾讯科技(深圳)有限公司 The packaging method of application program installation kit and device
CN106570354A (en) * 2016-10-18 2017-04-19 国家电网公司 Reconstruction method and device, operating method and device of mobile application
CN109218357A (en) * 2017-07-01 2019-01-15 武汉斗鱼网络科技有限公司 Method, storage medium, electronic equipment and the system of web advertisement load
CN107402792A (en) * 2017-08-01 2017-11-28 广州视源电子科技股份有限公司 Integrated approach, device, equipment and the storage medium of application software installation kit
CN109960526A (en) * 2017-12-22 2019-07-02 航天信息股份有限公司 A kind of application program packaging method and device
WO2019169587A1 (en) * 2018-03-07 2019-09-12 华为技术有限公司 Method for installing application according to function modules
CN109725912A (en) * 2018-12-11 2019-05-07 北京城市网邻信息技术有限公司 Application program configuration method, device, terminal, server and readable storage medium storing program for executing
CN109992734A (en) * 2019-04-23 2019-07-09 湖南快乐阳光互动娱乐传媒有限公司 A kind of application program is spread its tail put-on method, system, equipment and the medium of advertisement

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934468A (en) * 2021-09-28 2022-01-14 青岛海尔科技有限公司 Application program starting method and device, storage medium and electronic device
CN117707563A (en) * 2023-06-21 2024-03-15 荣耀终端有限公司 Application resource processing method and related equipment

Also Published As

Publication number Publication date
CN112711445B (en) 2023-12-12

Similar Documents

Publication Publication Date Title
CN110062284B (en) Video playing method and device and electronic equipment
AU2019101586A4 (en) Information push method and device
WO2017219833A1 (en) Method and apparatus for developing and managing application program page
JP2019520624A (en) Page component dynamic layout
CN112181554B (en) Interactive interface display method, device, electronic device and storage medium
US20210105314A1 (en) Associating browser with application
CN112711445B (en) Application program management method and system
CN108062336B (en) Media information processing method and device
CN115086752B (en) Recording method, system and storage medium for browser page content
CN117178557A (en) Method and apparatus for timing and event triggered updating in a scene
CN113393294A (en) Page display method and device, equipment and storage medium
CN108021594B (en) Webpage display method, device and system
EP3125541A1 (en) Data acquisition and interaction method, set top box, server and multimedia system
CN109213560B (en) Method and equipment for displaying information page
US11947695B2 (en) Discovering availability of digital media from multiple sources
CN111562894A (en) Layer display method, device and equipment
CN110971955A (en) Page processing method and device, electronic equipment and storage medium
EP3258701A1 (en) Playback of multi-period media
CN113934949B (en) Information page display method, electronic equipment and computer storage medium
CN115292642B (en) Page display method and device, storage medium and computer equipment
CN114168027B (en) Information display method, device and equipment
CN111078209B (en) Development processing method, device and equipment for business page
CN108008935B (en) Media resource processing method and device
CN117786257A (en) Data loading method, terminal equipment and storage medium
CN114090922A (en) Animation loading implementation method and device, electronic equipment and storage medium

Legal Events

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