CN113934468A - Application program starting method and device, storage medium and electronic device - Google Patents

Application program starting method and device, storage medium and electronic device Download PDF

Info

Publication number
CN113934468A
CN113934468A CN202111144924.5A CN202111144924A CN113934468A CN 113934468 A CN113934468 A CN 113934468A CN 202111144924 A CN202111144924 A CN 202111144924A CN 113934468 A CN113934468 A CN 113934468A
Authority
CN
China
Prior art keywords
application program
target advertisement
advertisement resource
resource
starting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111144924.5A
Other languages
Chinese (zh)
Inventor
石斐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202111144924.5A priority Critical patent/CN113934468A/en
Publication of CN113934468A publication Critical patent/CN113934468A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for starting an application program, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring a starting request of an application program, wherein the starting request is used for requesting to start the application program; responding to the starting request, and inquiring a target advertisement resource from the application program to obtain a first inquiry result, wherein the target advertisement resource is an advertisement resource which is allowed to be displayed before a starting page of the application program; determining whether to play the target advertisement resource according to the first query result; and under the condition that the target advertisement resource is determined not to be played, displaying a starting page of the application program. By adopting the technical scheme, the problems that the starting speed of the application program is low and the like in the related technology are solved.

Description

Application program starting method and device, storage medium and electronic device
Technical Field
The invention relates to the field of computers, in particular to a method and a device for starting an application program, a storage medium and an electronic device.
Background
In applications, launch speed (i.e., the speed from triggering a launch request to exposing the application's home page) is a critical loop in performance optimization. Meanwhile, it is also an important way for the business to show the advertisement before showing the home page of the application program. From a logic point of view, the two are actually contradictory, because querying advertisement resources from a server is necessarily time-consuming and can be greatly influenced by the network condition of a user, if the user is in a relatively poor network environment, the starting speed of an application program can be catastrophic, the current solution is to improve the performance of an advertisement query interface of the server as much as possible, maximally compress the volume of advertisement content, and reduce the resource transmission time, but the application program is still influenced by the network condition of the user when being started, and the server performance has a bottleneck, and no matter how the optimization is carried out, the communication time is difficult to meet the expectation.
Aiming at the problems of low starting speed of the application program and the like in the related technology, an effective solution is not provided.
Disclosure of Invention
The embodiment of the invention provides a method and a device for starting an application program, a storage medium and an electronic device, which are used for at least solving the problems of low starting speed of the application program and the like in the related art.
According to an embodiment of the present invention, there is provided a method for starting an application program, including: acquiring a starting request of an application program, wherein the starting request is used for requesting to start the application program; responding to the starting request, inquiring a target advertisement resource from the application program to obtain a first inquiry result, wherein the target advertisement resource is an advertisement resource which is allowed to be displayed before a starting page of the application program; determining whether to play the target advertisement resource according to the first query result; and under the condition that the target advertisement resource is determined not to be played, displaying the starting page of the application program.
In one exemplary embodiment, exposing the launch page of the application includes: acquiring the starting page; and skipping a display interface of the target advertisement resource, and directly displaying the starting page on the application program.
In one exemplary embodiment, determining whether to play the targeted advertising resource based on the first query result includes: determining not to play the target advertisement resource if the first query result is used for indicating that the target advertisement resource is not queried from the application program; and determining to play the target advertisement resource when the first query result is used for indicating that the target advertisement resource is queried from the application program.
In one exemplary embodiment, querying the targeted advertising resources from the application includes: obtaining a cache position of the advertisement resource of the application program on a terminal for installing the application program; querying the targeted advertising resource from the cache location.
In one exemplary embodiment, querying the targeted advertising resource from the cache location comprises: inquiring a target advertisement identifier from the advertisement identifiers and the advertisement resources which are stored in the cache position and have the corresponding relation, wherein the target advertisement identifier is used for identifying the advertisement resources which are allowed to be displayed before the starting page of the application program; under the condition that the target advertisement identification is not inquired, determining that the target advertisement resource is not inquired; and under the condition that the target advertisement identification is inquired, determining the advertisement resource corresponding to the target advertisement identification as the target advertisement resource.
In an exemplary embodiment, after acquiring the start request of the application program, the method further includes: sending a query request to a server, wherein the query request is used for requesting to query the target advertisement resource from the server; acquiring a second query result returned by the server in response to the query request; and caching the target advertisement resource in the application program according to the first query result and the second query result.
In one exemplary embodiment, caching the targeted advertising resource in the application based on the first query result and the second query result includes: obtaining the target advertisement resource from the server if the first query result indicates that the target advertisement resource is not queried from the application program and the second query result indicates that the target advertisement resource is queried from the server; caching the target advertisement resource acquired from the server into the application program; acquiring the target advertisement resource of the first advertisement version from the server under the condition that the first query result is used for indicating that the target advertisement resource is queried from the application program and the second query result is used for indicating that the target advertisement resource is queried from the server and the first advertisement version is higher than the second advertisement version, wherein the first advertisement version is the advertisement version of the target advertisement resource queried from the server, and the second advertisement version is the advertisement version of the target advertisement resource queried from the application program; replacing the targeted advertising resource of the second advertising version cached by the application program with the targeted advertising resource of the first advertising version.
According to another embodiment of the present invention, there is also provided an apparatus for starting an application program, including: the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a starting request of an application program, and the starting request is used for requesting to start the application program; the query module is used for responding to the starting request and querying a target advertisement resource from the application program to obtain a first query result, wherein the target advertisement resource is an advertisement resource which is allowed to be displayed before a starting page of the application program; the determining module is used for determining whether the target advertisement resource is played according to the first query result; and the display module is used for displaying the starting page of the application program under the condition that the target advertisement resource is determined not to be played.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the method for starting the application program when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for starting the application program through the computer program.
In the embodiment of the invention, a starting request of an application program is obtained, wherein the starting request is used for requesting to start the application program; responding to the starting request, and inquiring a target advertisement resource from the application program to obtain a first inquiry result, wherein the target advertisement resource is an advertisement resource which is allowed to be displayed before a starting page of the application program; determining whether to play the target advertisement resource according to the first query result; and under the condition that the target advertisement resource is determined not to be played, displaying a starting page of the application program, namely if a starting request of the application program is acquired, querying a target advertisement resource allowed to be displayed before a start page of the application program from the application program in response to the start request, and determining whether to play the target advertisement resource according to a first query result obtained by the query, if the target advertisement resource is determined not to be played, directly showing the starting page of the application program completes the quick starting of the application program, since whether to play the target advertisement resource can be determined according to the query result of the target advertisement resource in the application program, the start page of the application program can be directly shown without playing the target advertisement resource, therefore, the situation that the starting time is prolonged to wait for the advertisement resource to be played is avoided, and the time consumed by the application program in the process from obtaining the starting request to displaying the starting page is reduced. By adopting the technical scheme, the problems of low application program starting speed and the like in the related technology are solved, and the technical effect of improving the application program starting speed is realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a computer terminal according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for launching an application according to an embodiment of the invention;
FIG. 3 is a schematic diagram of a start-up process of an application according to an embodiment of the invention;
FIG. 4 is a schematic diagram of a display interface of an application during startup of the application according to an embodiment of the invention;
fig. 5 is a block diagram of an apparatus for starting an application according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method provided by the embodiment of the invention can be executed in a computer terminal, a computer terminal or a similar arithmetic device. Taking an example of the application program running on a computer terminal, fig. 1 is a hardware structure block diagram of the computer terminal of the application program starting method according to the embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and in an exemplary embodiment, may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the starting method of the application program in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to a computer terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for starting an application program is provided, and applied to the computer terminal, and fig. 2 is a flowchart of a method for starting an application program according to an embodiment of the present invention, as shown in fig. 2, where the flowchart includes the following steps:
step S202, acquiring a starting request of an application program, wherein the starting request is used for requesting to start the application program;
step S204, responding to the starting request, inquiring a target advertisement resource from the application program to obtain a first inquiry result, wherein the target advertisement resource is an advertisement resource which is allowed to be displayed before a starting page of the application program;
step S206, determining whether to play the target advertisement resource according to the first query result;
step S208, under the condition that the target advertisement resource is determined not to be played, the starting page of the application program is displayed.
Through the steps, if the starting request of the application program is obtained, the target advertisement resource which is allowed to be displayed before the starting page of the application program is inquired from the application program in response to the starting request, whether the target advertisement resource is played is determined according to the first inquiry result obtained by inquiry, if the target advertisement resource is determined not to be played, the starting page of the application program is directly displayed, and the quick starting of the application program is completed. By adopting the technical scheme, the problems of low application program starting speed and the like in the related technology are solved, and the technical effect of improving the application program starting speed is realized.
In the technical solution provided in step S202, the application program may include, but is not limited to, any type of application program that allows the advertisement resources to be played before the page is started. Such as: gaming applications, financial applications, instant messaging applications, multimedia applications, office applications, shopping applications, and the like.
Optionally, in this embodiment, the application start request may be, but is not limited to, triggered by the user clicking an icon of an application installed on the user terminal, or may also be, but is not limited to, triggered by other applications or terminals sending a control instruction to the application, and the like.
In an exemplary embodiment, after the above step S202, the targeted advertising resource may be cached in the application program by, but not limited to: sending a query request to a server, wherein the query request is used for requesting to query the target advertisement resource from the server; acquiring a second query result returned by the server in response to the query request; and caching the target advertisement resource in the application program according to the first query result and the second query result.
Optionally, in this embodiment, the second query result is a query result returned by the server in response to a query request for querying the target advertisement resource from the server, and the second query result may include, but is not limited to, information such as the target advertisement resource queried by the server and the version of the target advertisement resource, the version of the target advertisement resource downloaded last time by the application program, and the like.
Optionally, in this embodiment, the operation of querying the target advertisement resource from the server may be, but not limited to, an asynchronous operation executed simultaneously with the operation of querying the target advertisement resource from the application program, no matter what the second query result returned by the server is, the first query result obtained by querying the target advertisement resource from the application program is not affected, the application program does not need to wait for the server to return the second query result to execute the next operation, the application program may directly continue to execute the operation according to the first query result, and the second query result returned by the server may only affect the subsequent advertisement resource querying process.
Optionally, in this embodiment, after the start request is obtained, a mechanism for asynchronously querying the server advertisement resource is triggered, and by sending a query request to the server, the server may query the target advertisement resource in a database of the server, and the server returns a query result to the application program, and the application program jointly determines whether to cache the target advertisement resource on the server in the application program according to a second query result and a first query result returned by the server.
In one exemplary embodiment, the targeted advertising resources may be cached in the application program by, but are not limited to:
in a first mode, when the first query result is used for indicating that the target advertisement resource is not queried from the application program, and the second query result is used for indicating that the target advertisement resource is queried from the server, acquiring the target advertisement resource from the server; caching the target advertisement resource acquired from the server into the application program;
in a second mode, when the first query result is used for indicating that the target advertisement resource is queried from the application program, and the second query result is used for indicating that the target advertisement resource is queried from the server and a first advertisement version is higher than a second advertisement version, the target advertisement resource of the first advertisement version is obtained from the server, wherein the first advertisement version is the advertisement version of the target advertisement resource queried from the server, and the second advertisement version is the advertisement version of the target advertisement resource queried from the application program; replacing the targeted advertising resource of the second advertising version cached by the application program with the targeted advertising resource of the first advertising version.
Optionally, in this embodiment, the advertisement version of the target advertisement resource may be represented by, but is not limited to, the following manners, such as: version number, update date, number, time of upload to the server, etc.
Optionally, in this embodiment, if the first query result is that the target advertisement resource is not queried in the application program, and the second query result is that the server queries the target advertisement resource, the application program may send a request message for obtaining the target advertisement resource of the server to the server, and the server responds to the request message sent by the application program, and may, but is not limited to, extract the target advertisement resource in a database of the server and transmit the target advertisement resource to the application program, and the application program receives the target advertisement resource sent by the server and caches the target advertisement resource in the application program.
Optionally, in this embodiment, if the first query result is that the application queries the target advertisement resource, and the second query result is that the version of the target advertisement resource queried on the server is higher than the version of the target advertisement resource queried in the application, the application may send a request message for obtaining the target advertisement resource of the server to the server, and the server may, but is not limited to, extract the target advertisement resource in a database of the server and transmit the target advertisement resource to the application, and the application receives the target advertisement resource sent by the server, deletes the target advertisement resource cached in the application, and caches the received target advertisement resource on the server in the application to replace the target advertisement resource in the application, in response to the request message sent by the application.
In the technical solution provided in step S204, the advertisement resources played in the application program may be, but are not limited to, advertisement resources that are shown on the application program at each opportunity when the user uses the application program, such as: advertisement resources when the application program is started, advertisement resources when the application program is operated, advertisement resources when the application program is exited, and the like. The target advertisement resource is an advertisement resource allowed to be displayed before a starting page of the application program, or can be said to be an advertisement resource at the starting time of the application program.
Optionally, in this embodiment, the first query result may include, but is not limited to, that the target advertisement resource is not queried in the application program, or that the target advertisement resource is queried in the application program, and the like.
In one exemplary embodiment, the targeted advertising resources may be queried from the application by, but are not limited to: obtaining a cache position of the advertisement resource of the application program on a terminal for installing the application program; querying the targeted advertising resource from the cache location.
Optionally, in this embodiment, the terminal may include, but is not limited to, a mobile phone, a computer, a television, a smart home device, a smart wearable device, and the like.
Optionally, in this embodiment, the cache location may be represented by, but not limited to, a path, a file name, and the like.
Optionally, in this embodiment, the manner of querying the target advertisement resource in the application program may be, but is not limited to, first finding an APP cache location corresponding to the application program from a cache space of the terminal, then determining a cache location of the advertisement resource in the application program from the APP cache location of the application program on the terminal, and querying whether there is the target advertisement resource from the cache location.
Optionally, in this embodiment, the target advertisement resource may be queried, but not limited to, corresponding to different advertisement resources according to different advertisement identifications, such as: the identifier A corresponds to an advertisement resource at the time of starting, the identifier B corresponds to an advertisement resource at the time of running, the identifier C corresponds to an advertisement resource at the time of exiting, and the like. The target advertisement resource can also be queried according to different advertisement resources corresponding to different storage paths, such as: the advertisement resource storage path at startup is path 1, the advertisement resource storage path at runtime is path 2, the advertisement resource storage path at exit is path 3, and so on. It may be queried whether an advertisement asset is stored in path 1, and if an advertisement asset is stored in path 1, it is determined to be a target advertisement asset. If no advertisement resources are stored in Path 1, it is determined that the target advertisement resource has not been queried.
In one exemplary embodiment, the targeted advertising resources may be queried from the cache location in, but not limited to: inquiring a target advertisement identifier from the advertisement identifiers and the advertisement resources which are stored in the cache position and have the corresponding relation, wherein the target advertisement identifier is used for identifying the advertisement resources which are allowed to be displayed before the starting page of the application program; under the condition that the target advertisement identification is not inquired, determining that the target advertisement resource is not inquired; and under the condition that the target advertisement identification is inquired, determining the advertisement resource corresponding to the target advertisement identification as the target advertisement resource.
Optionally, in this embodiment, the cache location may be, but is not limited to, cache an advertisement resource played before starting page display, and may also cache an advertisement resource played by jumping to a page in the running process of the application program, and the user uses the advertisement resource played at each occasion of executing the operation.
Optionally, in this embodiment, the advertisement logo may be represented by, but not limited to, words, figures, letters, numbers, characters, and so on.
Optionally, in this embodiment, the target advertisement identifier may be the identifier a, the identifier a is queried in the advertisement identifier and the advertisement resource having a corresponding relationship, if the identifier a is queried, the advertisement resource corresponding to the identifier a is determined as the target advertisement resource, and if the identifier a is not queried, the target advertisement resource is determined not to be queried.
Optionally, in this embodiment, since the advertisement identifier has a corresponding relationship with the advertisement resource, the target advertisement resource may be queried by querying the advertisement identifier, and in a case that the target advertisement identifier for identifying the advertisement resource allowed to be displayed before the start page of the application program is not queried, the target advertisement resource is not queried. And under the condition that a target advertisement identification for identifying the advertisement resource allowed to be shown before the starting page of the application program is inquired, the advertisement resource corresponding to the target advertisement identification can be used as the target advertisement resource.
In the technical solution provided in step S206, whether to play the target advertisement resource is determined by obtaining different first query results, which can quickly and accurately indicate the next operation, and when the first query result is that there is the target advertisement resource in the application program, it is determined to play the target advertisement resource; and under the condition that the first query result is that the target advertisement resource does not exist in the application program, deciding not to play the target advertisement resource.
In an exemplary embodiment, whether to play the targeted advertising asset may be determined, but is not limited to, by: determining not to play the target advertisement resource if the first query result is used for indicating that the target advertisement resource is not queried from the application program; and determining to play the target advertisement resource when the first query result is used for indicating that the target advertisement resource is queried from the application program.
Optionally, in this embodiment, if the obtained first query result indicates that the target advertisement resource is not queried from the application program, it may be determined that the target advertisement resource is not played in the application program; if the obtained first query result indicates that the target advertisement resource is queried from the application program, it can be determined that the target advertisement resource is played in the application program.
Optionally, in this embodiment, after the step S206, the target advertisement resources may also be played on the application program, but not limited to, by: the method comprises the steps of firstly obtaining target advertisement resources from a cache of an application program, displaying a display interface of the target advertisement resources on the application program, playing the target advertisement resources on the display interface of the target advertisement resources, and displaying a starting page of the application program after the target advertisement resources are played.
In the technical solution provided in step S208, if it is determined that the target advertisement resource is not played, the start page of the application program may be directly displayed, so that the start of the application program is quickly completed.
In one exemplary embodiment, the launch page of an application may be exposed, but is not limited to, by: acquiring the starting page; and skipping a display interface of the target advertisement resource, and directly displaying the starting page on the application program.
Optionally, in this embodiment, but not limited to, the start page of the application program may be obtained from the cache location of the application program, and after the start page of the application program is obtained, the application program is controlled to skip the interface of the target advertisement resource, and the start page is directly displayed.
Optionally, in this embodiment, the application program directly displays the start page of the application program by skipping the display interface for playing the advertisement resource, so as to reduce the time consumed by the display interface for playing the target advertisement resource, thereby improving the start speed of the application program.
In order to better understand the process of the method for starting the application program, the following describes a flow of the method for implementing starting of the application program with reference to an optional embodiment, but the flow is not limited to the technical solution of the embodiment of the present invention.
In this embodiment, a starting manner of an application program is provided, and fig. 3 is a schematic diagram of a starting process of an application program according to an embodiment of the present invention, as shown in fig. 3, after an APP (i.e., the application program) obtains a start request, it is asynchronously queried whether there is an advertisement resource in a server, but not blocked at this node, it is not waited for the server to return a query result at this node, but it is simultaneously queried whether there is a local cache advertisement resource (i.e., the target advertisement resource) in the application program, and if there is a cache advertisement resource, it obtains the advertisement resource, plays an advertisement, and if there is no cache advertisement resource, it directly enters an APP home page (i.e., the start page).
And when determining that the advertisement resources are cached in the APP, detecting whether the locally cached advertisement resources are updated or not, and if the advertisement resources of the server are higher than the locally cached advertisement resources in version, updating the locally cached advertisement resources and using the locally cached advertisement resources when starting next time.
Through the process, the user accesses the APP for the first time, the APP asynchronously queries the server advertisement resources while responding to the starting request, but the APP is not blocked at the node, namely, the APP does not stop at the node to wait for the server to return the query result, and the APP directly enters the home page due to the fact that no cache advertisement resources exist and the advertisements are not played, and downloads the advertisement resources in the server and caches the advertisement resources in the APP. And the user can directly play the advertisement resources in the cache when accessing the APP subsequently, and synchronously and asynchronously update the cache. Time consumption when the APP is started is greatly reduced, and the starting speed of the APP is improved.
Fig. 4 is a schematic diagram of a display interface of an application program in a starting process of the application program according to an embodiment of the present invention, and as shown in fig. 4, when a user clicks an icon of the application program on the application program interface, the application program obtains a starting request to query whether a target advertisement resource exists in the application program, and when the target advertisement resource exists in the application program, the application program interface displays a target advertisement resource display page and plays the target advertisement resource, and after the target advertisement resource is played, the starting page of the application program is displayed. And under the condition that the target advertisement resources do not exist in the application program, the application program interface directly displays the starting page of the application program.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Fig. 5 is a block diagram of an apparatus for starting an application according to an embodiment of the present invention; as shown in fig. 5, includes:
a first obtaining module 52, configured to obtain a start request of an application program, where the start request is used to request to start the application program;
the query module 54 is configured to respond to the start request, query a target advertisement resource from the application program, and obtain a first query result, where the target advertisement resource is an advertisement resource that is allowed to be displayed before a start page of the application program;
a determining module 56, configured to determine whether to play the target advertisement resource according to the first query result;
a display module 58, configured to display the start page of the application program under the condition that it is determined that the target advertisement resource is not played.
Through the embodiment, if the starting request of the application program is acquired, the target advertisement resource which is allowed to be displayed before the starting page of the application program is inquired from the application program in response to the starting request, whether the target advertisement resource is played is determined according to the first inquiry result obtained by inquiry, if the target advertisement resource is determined not to be played, the starting page of the application program is directly displayed, and the quick starting of the application program is completed. By adopting the technical scheme, the problems of low application program starting speed and the like in the related technology are solved, and the technical effect of improving the application program starting speed is realized.
In an exemplary embodiment, the display module includes: the first acquisition unit is used for acquiring the starting page; and the display unit is used for skipping the display interface of the target advertisement resource and directly displaying the starting page on the application program.
In an exemplary embodiment, the determining module includes: a first determining unit, configured to determine not to play the target advertisement resource if the first query result indicates that the target advertisement resource is not queried from the application program; and the second determining unit is used for determining to play the target advertisement resource under the condition that the first query result is used for indicating that the target advertisement resource is queried from the application program.
In an exemplary embodiment, the query module includes: a second obtaining unit, configured to obtain a cache location of an advertisement resource of the application program on a terminal where the application program is installed; and the query unit is used for querying the target advertisement resource from the cache position.
In an exemplary embodiment, the query unit is configured to: inquiring a target advertisement identifier from the advertisement identifiers and the advertisement resources which are stored in the cache position and have the corresponding relation, wherein the target advertisement identifier is used for identifying the advertisement resources which are allowed to be displayed before the starting page of the application program; under the condition that the target advertisement identification is not inquired, determining that the target advertisement resource is not inquired; and under the condition that the target advertisement identification is inquired, determining the advertisement resource corresponding to the target advertisement identification as the target advertisement resource.
In one exemplary embodiment, the apparatus further comprises: the sending module is used for sending a query request to the server after acquiring a starting request of an application program, wherein the query request is used for requesting to query the target advertisement resource from the server; a second obtaining module, configured to obtain a second query result returned by the server in response to the query request; and the cache module is used for caching the target advertisement resource in the application program according to the first query result and the second query result.
In an exemplary embodiment, the cache module includes: a first processing unit, configured to obtain the target advertisement resource from the server if the first query result is used to indicate that the target advertisement resource is not queried from the application program and the second query result is used to indicate that the target advertisement resource is queried from the server; caching the target advertisement resource acquired from the server into the application program; a second processing unit, configured to obtain, from the server, a target advertisement resource of a first advertisement version when the first query result is used to indicate that the target advertisement resource is queried from the application program, and the second query result is used to indicate that the target advertisement resource is queried from the server and the first advertisement version is higher than a second advertisement version, where the first advertisement version is an advertisement version of the target advertisement resource queried from the server, and the second advertisement version is an advertisement version of the target advertisement resource queried from the application program; replacing the targeted advertising resource of the second advertising version cached by the application program with the targeted advertising resource of the first advertising version.
An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.
Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, acquiring a starting request of an application program, wherein the starting request is used for requesting to start the application program;
s2, responding to the starting request, inquiring a target advertisement resource from the application program to obtain a first inquiry result, wherein the target advertisement resource is an advertisement resource which is allowed to be displayed before a starting page of the application program;
s3, determining whether to play the target advertisement resource according to the first query result;
s4, under the condition that the target advertisement resource is determined not to be played, the starting page of the application program is displayed.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring a starting request of an application program, wherein the starting request is used for requesting to start the application program;
s2, responding to the starting request, inquiring a target advertisement resource from the application program to obtain a first inquiry result, wherein the target advertisement resource is an advertisement resource which is allowed to be displayed before a starting page of the application program;
s3, determining whether to play the target advertisement resource according to the first query result;
s4, under the condition that the target advertisement resource is determined not to be played, the starting page of the application program is displayed.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for starting an application program, comprising:
acquiring a starting request of an application program, wherein the starting request is used for requesting to start the application program;
responding to the starting request, inquiring a target advertisement resource from the application program to obtain a first inquiry result, wherein the target advertisement resource is an advertisement resource which is allowed to be displayed before a starting page of the application program;
determining whether to play the target advertisement resource according to the first query result;
and under the condition that the target advertisement resource is determined not to be played, displaying the starting page of the application program.
2. The method for starting the application program according to claim 1, wherein the step of displaying the start page of the application program comprises the steps of:
acquiring the starting page;
and skipping a display interface of the target advertisement resource, and directly displaying the starting page on the application program.
3. The method for starting application programs according to claim 1, wherein determining whether to play the target advertisement resource according to the first query result comprises:
determining not to play the target advertisement resource if the first query result is used for indicating that the target advertisement resource is not queried from the application program;
and determining to play the target advertisement resource when the first query result is used for indicating that the target advertisement resource is queried from the application program.
4. The method for starting an application program according to claim 1, wherein querying a target advertisement resource from the application program comprises:
obtaining a cache position of the advertisement resource of the application program on a terminal for installing the application program;
querying the targeted advertising resource from the cache location.
5. The method for starting application program according to claim 4, wherein querying the target advertisement resource from the cache location comprises:
inquiring a target advertisement identifier from the advertisement identifiers and the advertisement resources which are stored in the cache position and have the corresponding relation, wherein the target advertisement identifier is used for identifying the advertisement resources which are allowed to be displayed before the starting page of the application program;
under the condition that the target advertisement identification is not inquired, determining that the target advertisement resource is not inquired;
and under the condition that the target advertisement identification is inquired, determining the advertisement resource corresponding to the target advertisement identification as the target advertisement resource.
6. The method for starting the application program according to any one of claims 1 to 5, wherein after acquiring the start request of the application program, the method further comprises:
sending a query request to a server, wherein the query request is used for requesting to query the target advertisement resource from the server;
acquiring a second query result returned by the server in response to the query request;
and caching the target advertisement resource in the application program according to the first query result and the second query result.
7. The method for starting an application program according to claim 6, wherein caching the targeted advertisement resource in the application program according to the first query result and the second query result comprises:
obtaining the target advertisement resource from the server if the first query result indicates that the target advertisement resource is not queried from the application program and the second query result indicates that the target advertisement resource is queried from the server; caching the target advertisement resource acquired from the server into the application program;
acquiring the target advertisement resource of the first advertisement version from the server under the condition that the first query result is used for indicating that the target advertisement resource is queried from the application program and the second query result is used for indicating that the target advertisement resource is queried from the server and the first advertisement version is higher than the second advertisement version, wherein the first advertisement version is the advertisement version of the target advertisement resource queried from the server, and the second advertisement version is the advertisement version of the target advertisement resource queried from the application program; replacing the targeted advertising resource of the second advertising version cached by the application program with the targeted advertising resource of the first advertising version.
8. An apparatus for starting an application program, comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a starting request of an application program, and the starting request is used for requesting to start the application program;
the query module is used for responding to the starting request and querying a target advertisement resource from the application program to obtain a first query result, wherein the target advertisement resource is an advertisement resource which is allowed to be displayed before a starting page of the application program;
the determining module is used for determining whether the target advertisement resource is played according to the first query result;
and the display module is used for displaying the starting page of the application program under the condition that the target advertisement resource is determined not to be played.
9. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 7 by means of the computer program.
CN202111144924.5A 2021-09-28 2021-09-28 Application program starting method and device, storage medium and electronic device Pending CN113934468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111144924.5A CN113934468A (en) 2021-09-28 2021-09-28 Application program starting method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111144924.5A CN113934468A (en) 2021-09-28 2021-09-28 Application program starting method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN113934468A true CN113934468A (en) 2022-01-14

Family

ID=79277477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111144924.5A Pending CN113934468A (en) 2021-09-28 2021-09-28 Application program starting method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113934468A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446779A (en) * 2015-11-27 2016-03-30 努比亚技术有限公司 Processing method and system for preventing advertisement page from being displayed and mobile terminal
CN105869005A (en) * 2015-11-23 2016-08-17 乐视网信息技术(北京)股份有限公司 APP startup advertisement pre-loading method, apparatus and system
CN109150757A (en) * 2017-06-16 2019-01-04 腾讯科技(深圳)有限公司 A kind of advertising resource processing method, device and electronic equipment
CN109409930A (en) * 2018-09-20 2019-03-01 北京汉迪移动互联网科技股份有限公司 A kind of ad-request method, device and equipment, storage medium
CN109547837A (en) * 2018-12-05 2019-03-29 未来电视有限公司 A kind of startup advertisement playback method, device, LCD TV and storage medium
CN110148014A (en) * 2019-04-24 2019-08-20 深圳市元征科技股份有限公司 Information processing method, device, block chain node device and storage medium
CN111125691A (en) * 2018-11-01 2020-05-08 奇酷互联网络科技(深圳)有限公司 Method for pushing open screen advertisement by starting application, mobile terminal and readable storage medium
CN112711445A (en) * 2019-10-26 2021-04-27 广州星际悦动股份有限公司 Application program management method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105869005A (en) * 2015-11-23 2016-08-17 乐视网信息技术(北京)股份有限公司 APP startup advertisement pre-loading method, apparatus and system
CN105446779A (en) * 2015-11-27 2016-03-30 努比亚技术有限公司 Processing method and system for preventing advertisement page from being displayed and mobile terminal
CN109150757A (en) * 2017-06-16 2019-01-04 腾讯科技(深圳)有限公司 A kind of advertising resource processing method, device and electronic equipment
CN109409930A (en) * 2018-09-20 2019-03-01 北京汉迪移动互联网科技股份有限公司 A kind of ad-request method, device and equipment, storage medium
CN111125691A (en) * 2018-11-01 2020-05-08 奇酷互联网络科技(深圳)有限公司 Method for pushing open screen advertisement by starting application, mobile terminal and readable storage medium
CN109547837A (en) * 2018-12-05 2019-03-29 未来电视有限公司 A kind of startup advertisement playback method, device, LCD TV and storage medium
CN110148014A (en) * 2019-04-24 2019-08-20 深圳市元征科技股份有限公司 Information processing method, device, block chain node device and storage medium
CN112711445A (en) * 2019-10-26 2021-04-27 广州星际悦动股份有限公司 Application program management method and system

Similar Documents

Publication Publication Date Title
US20190013993A1 (en) Updating Web Resources
CN105610954B (en) Media information processing method and system
CN106990950B (en) Interface layout method and device
CN111375200B (en) Method and system for intelligently configuring game resources, computer storage medium and equipment
US8495617B2 (en) Interworking system between user terminal and smart card for executing widget, and method thereof
CN106874273B (en) Channel information statistical method, device and system
CN108540509B (en) Processing method and device of terminal browser, server and intelligent terminal
CN110222288B (en) Page display method, device and storage medium
CN101170675A (en) Method and system for managing J2ME application in network TV system
CN111158793A (en) Application page skipping method and device, electronic equipment and readable storage medium
CN104504587A (en) Advertisement monitoring method and device, electronic apparatus
CN111125175A (en) Service data query method and device, storage medium and electronic device
CN108475386A (en) Advertising display control method, terminal and Advertisement Server
CN113064685A (en) H5 page loading method and device
CN113656087A (en) Applet starting method, device, equipment and storage medium
CN111008032A (en) Page data updating method and device
CN110187877B (en) Icon acquisition method, device and system, electronic equipment and storage medium
CN108021589B (en) Configuration method and device for query dimension of database
CN117130697B (en) Method and device for fixing application on taskbar
CN113934468A (en) Application program starting method and device, storage medium and electronic device
CN114866517A (en) Installation file execution method and device and storage medium
CN112433741B (en) Page processing method, device and system, electronic equipment and storage medium
CN114047936A (en) Application program management method and device, electronic equipment and readable storage medium
CN115061785A (en) Information issuing method and device, storage medium and server
CN117883789B (en) Data acquisition method, apparatus, device, readable storage medium, and program product

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