CN109495561B - Application program downloading method, device, terminal and storage medium - Google Patents

Application program downloading method, device, terminal and storage medium Download PDF

Info

Publication number
CN109495561B
CN109495561B CN201811319749.7A CN201811319749A CN109495561B CN 109495561 B CN109495561 B CN 109495561B CN 201811319749 A CN201811319749 A CN 201811319749A CN 109495561 B CN109495561 B CN 109495561B
Authority
CN
China
Prior art keywords
area
application program
target application
target
downloaded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811319749.7A
Other languages
Chinese (zh)
Other versions
CN109495561A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811319749.7A priority Critical patent/CN109495561B/en
Publication of CN109495561A publication Critical patent/CN109495561A/en
Application granted granted Critical
Publication of CN109495561B publication Critical patent/CN109495561B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • 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/018Certifying business or products
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Databases & Information Systems (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses an application program downloading method, device, terminal and storage medium. The method comprises the following steps: acquiring a first area of a target application program; if the first area is not the default area, detecting whether the target application program is allowed to be downloaded in the first area; and if the target application program is allowed to be downloaded in the first area, displaying a search entry of the target application program. In the embodiment of the application, when the location of the user is changed, whether a certain application program is allowed to be downloaded is determined according to the current location area, if the application program is allowed to be downloaded, the terminal provides the download entrance of the application program, so that the user can download and install the application program to the terminal, the situation that whether the download entrance of the application program is provided or not is determined by the terminal in the related art according to whether the application program obtains operation qualification in the default area or not can be avoided, and the download success rate of the application program is improved.

Description

Application program downloading method, device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to an application program downloading method, an application program downloading device, a terminal and a storage medium.
Background
At present, before the application program is put on the market, corresponding qualification examination is required, the operation qualification of the region can be obtained only under the condition that the relevant region is in accordance with the legal regulations, and then the application program can be downloaded and installed to the terminal for the user to use.
The relevant laws and regulations that the same application needs to comply with in different regions are not the same, so the application may qualify for operation in region a but not in region B. In the related art, when a user needs to download the application program, the terminal determines whether to provide a download entry for the application program according to whether the application program is qualified for operation in a default region.
Disclosure of Invention
The embodiment of the application provides an application program downloading method, an application program downloading device, a terminal and a storage medium. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides an application program downloading method, where the method includes:
acquiring a first area of a target application program, wherein the first area is an area where a terminal is located currently;
when the first area is not a default area, detecting whether the target application program is allowed to be downloaded in the first area or not, wherein the target application program is not allowed to be downloaded in the default area;
and if the target application program is allowed to be downloaded in the first area, displaying a download inlet of the target application program, wherein the download inlet is used for triggering downloading and installing the target application program.
In another aspect, an embodiment of the present application provides an application downloading apparatus, where the apparatus includes:
the terminal comprises an area acquisition module, a first application program acquisition module and a second application program acquisition module, wherein the area acquisition module is used for acquiring a first area of a target application program, and the first area is an area where the terminal is located currently;
a detection module, configured to detect whether the target application is allowed to be downloaded in the first area when the first area is not a default area, where the target application is not allowed to be downloaded in the default area;
and the first display module is used for displaying a download inlet of the target application program if the target application program is allowed to be downloaded in the first area, and the download inlet is used for triggering downloading and installing the target application program.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the application program downloading method in the foregoing aspect.
In still another aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the application program downloading method according to the above aspect.
The technical scheme provided by the embodiment of the application can bring the following beneficial effects:
when the position of the user is changed, whether a certain application program is allowed to be downloaded is determined according to the current position area, if the application program is allowed to be downloaded, the terminal provides a download entrance of the application program so that the user can download and install the application program to the terminal, the situation that whether the terminal determines whether to provide the download entrance of the application program according to whether the application program obtains operation qualification in a default area can be avoided, and the download success rate of the application program is improved.
Drawings
FIG. 1 is a schematic illustration of an implementation environment provided by one embodiment of the present application;
FIG. 2 is a diagram illustrating an application download method according to an embodiment of the present application;
FIG. 3 is a schematic interface diagram of a first search results page provided by one embodiment of the present application;
FIG. 4 is an interface diagram of a second search results page provided by one embodiment of the present application;
FIG. 5 is a flowchart of an application download method according to another embodiment of the present application;
FIG. 6 is a schematic interface diagram of an application downloading device according to an embodiment of the present application;
fig. 7 is a schematic interface diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, an embodiment of an implementation environment provided by an embodiment of the present application is shown. The implementation environment includes: a terminal 11 and a server 12.
The terminal 11 has application download and installation functions. Optionally, a specific application program is installed in the terminal 11, and the above-mentioned application program downloading and installing functions are realized by the specific application program. The specific application program can be a native application program or a third-party application program. The specific application may be an application store, an application market, Appstore, and the like, which is not limited in this embodiment of the application.
The server 12 may be a backend server corresponding to the above-mentioned specified application. In the embodiment of the present application, the server 12 stores operation qualification information of different applications in different areas, where the operation qualification information is used to indicate whether the different applications obtain operation qualifications in the different areas. If the application program obtains operation qualification in an area, the application program is allowed to be downloaded, installed, used and the like in the area; if the application program does not obtain operation qualification in an area, the application program is not allowed to be downloaded, installed, used and the like in the area. The server 12 may be one server, a server cluster composed of a plurality of servers, or a cloud computing service center.
The terminal 11 and the server 12 establish a connection through a wired or wireless network. Optionally, the wireless or wired networks described above use standard communication techniques and/or protocols. The Network is typically the Internet, but may be any Network including, but not limited to, a Local Area Network (LAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a mobile, wireline or wireless Network, a private Network, or any combination of virtual private networks. In some embodiments, data exchanged over a network is represented using techniques and/or formats including Hypertext Mark-up Language (HTML), Extensible Markup Language (XML), and the like. All or some of the links may also be encrypted using conventional encryption techniques such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec). In other embodiments, custom and/or dedicated data communication techniques may also be used in place of, or in addition to, the data communication techniques described above.
In the related art, when the area where the terminal is located is not the default area, the terminal still determines whether to provide a download entry for the application program according to whether the application program obtains operating qualification in the default area, and at this time, if the user needs to download the application program, the application program is allowed to be downloaded in the current area, but the download still fails.
Based on this, the embodiment of the application provides an application program downloading method, an application program downloading device, a terminal and a storage medium, when the location of a user changes, whether a certain application program is allowed to be downloaded is determined according to the current location area, if the certain application program is allowed to be downloaded, a downloading inlet of the application program is provided by the terminal, so that the user can download and install the application program to the terminal, the situation that whether the downloading inlet of the application program is provided or not is determined by the terminal in the related art according to whether the application program obtains operation qualification in a default area or not can be avoided, and the downloading success rate of the application program is improved.
Referring to fig. 2, a flowchart of an application downloading method provided by an embodiment of the present application is shown, which can be applied to the terminal 11 in the implementation environment shown in fig. 1. The method may comprise the steps of:
step 201, a first area of a target application program is obtained.
The target application may be any application that may be input by a user. The first area is an area where the terminal is currently located. In the embodiment of the present application, the region refers to a location divided by administrative units, which may be a country, a province, a city, a district, and the like. In the embodiments of the present application, only the regions are illustrated as omitted. The first download information is used to indicate whether the target application is allowed to be installed in the first area.
In one possible implementation manner, the terminal acquires an Internet Protocol (IP) address corresponding to the terminal, and determines an area corresponding to the IP address corresponding to the terminal as the first area. The IP address is a uniform address format provided by the IP protocol, and it allocates a logical address to each network and each host on the internet, so as to mask the difference of physical addresses. In the possible implementation mode, the terminal acquires an IP address adopted when the terminal acquires the network service, determines an IP address segment to which the IP address belongs, and then determines an area corresponding to the IP address segment as a first area.
In another possible implementation manner, the terminal acquires the geographic position of the terminal through a Global Positioning System (GPS) service, and determines an area to which the geographic position of the terminal belongs as the first area. Optionally, a positioning component is disposed in the terminal, the geographical position of the terminal may be determined by the positioning component, the geographical position may be represented by altitude and latitude and longitude information, and then the terminal determines an area to which the geographical position belongs as the first area.
Optionally, the terminal executes step 201 after receiving a search instruction corresponding to the target application. Search instructions corresponding to the target application are used to trigger a search for the target application. In a possible implementation manner, the terminal is installed with the specified application mentioned in the embodiment shown in fig. 1, a main interface of the specified application includes an input box and a confirmation control, a user may input an application name in the input box, and then trigger the confirmation control, at which time the terminal receives a search instruction corresponding to the target application. In another possible implementation manner, a browser is installed in the terminal, the browser includes an input box and a confirmation control, the user may input an application name or a website corresponding to the application in the input box, and then trigger the confirmation control, at which time the terminal receives a search instruction corresponding to the target application.
Optionally, the terminal acquires the first area of the target application program at predetermined time intervals. The first preset interval may be determined according to actual requirements, and is not limited in the embodiment of the present application. For example, the preset time interval is one week, one month, etc.
Step 202, when the first area is not the default area, detecting whether the target application program is allowed to be downloaded in the first area.
The default area may be set by a user in a self-defined manner, or may be set by a terminal in a default manner, which is not limited in the embodiment of the present application. Taking the default area as the default setting of the terminal, the terminal determines the area with the longest duration as the default area. Further, the terminal determines the area which has been in the longest time in the last period of time as the default area. The last period of time may be set according to actual needs, which may be the last week, the last month, the last half year, and so on. The target application is not allowed to be downloaded in the default zone.
In the embodiment of the application, the target application program is not allowed to be downloaded in the default area. That is, the target application is not qualified for operation in the default area.
Optionally, step 202 is specifically implemented as:
in step 202a, first downloading information of a target application program in a first area is obtained.
The first download information is used for indicating whether the target application program is allowed to be downloaded in the first area. In this embodiment of the application, the first download information includes a download configuration item of the target application program in the first area, and a value of the download configuration item may be any one of the following three items: level 1, level 2, level 3. And if the value of the download configuration item is level 1, the target application program is not allowed to be downloaded in the first area. If the download configuration item takes the value of level 2, the target application program is allowed to be downloaded in the first area, but the target application program pushes advertisements to the user in the using process. And if the value of the download configuration item is level 3, the target application program is allowed to be downloaded in the first area. The level 1 may be represented as L (-1), the level 2 may be represented as L (1), and the level 3 may be represented as L (2).
Step 202a may be implemented as: sending an acquisition request to a server; and receiving first downloading information returned by the server. The acquisition request is used for requesting to acquire first downloading information of the terminal in the first area. The acquisition request carries the area identifier of the first area, the identifier of the terminal and the identifier of the target application program. The identification of the target application is used to uniquely identify the target application, which may be the name of the target application. The identifier of the terminal is used for uniquely identifying the terminal, and may be a serial number of the terminal or a user account logged in on a designated application program in the terminal.
In the embodiment of the application, the obtaining request is used for indicating the server to inquire whether the target application program obtains the operation qualification in the first area, obtaining the inquiry result, and generating the first download information according to the inquiry result.
If the target application program obtains operation qualification in the first area, the target application program is allowed to be installed in the first area; if the target application program does not acquire the operation qualification in the first area, the target application program is not allowed to be installed in the first area, in the embodiment of the application, the server stores operation qualification information of different application programs in different areas, if the server inquires whether the target application program acquires the operation qualification in the first area in the operation qualification information, an inquiry result is obtained, corresponding first download information is generated according to the inquiry result, and then the first download information is returned to the terminal.
Step 202b, detecting whether the target application program is allowed to be downloaded in the first area according to the first downloading information.
Alternatively, step 202b may be implemented as: and detecting whether the value of the download configuration item in the first download information is a target value. If the value of the download configuration item in the first download information is the target value, determining that the target application program is allowed to be downloaded in the first area; and if the value of the download configuration item in the first download information is not the target value, determining that the target application program is not allowed to be downloaded in the first area. The target value may be level 2 or level 3.
In step 203, if the target application program is allowed to be downloaded in the first area, a download entry of the target application program is displayed.
The download portal is used to trigger downloading and installing the target application.
In addition, when the terminal acquires the first area of the target application program after receiving the search instruction corresponding to the target application program, step 203 may also be implemented as: the first search results page is displayed.
The first search results page includes an identification of the target application (such as an icon, name, etc.), a download entry (e.g., a download control). And if the terminal receives a trigger signal corresponding to the download entrance, downloading the installation package of the target application program from the server. The trigger signal may be a single click signal, a double click signal, a long press signal, a slide signal, a drag signal, or the like. In the embodiment of the present application, the description will be given by taking only the trigger signal as a single-click signal. The first search result page may further include evaluation information of the target application indicating evaluation of the target application by the user who downloaded the target application. Optionally, the first search results page may also include profile information for the target application.
Referring collectively to FIG. 3, a schematic interface diagram of a first search results page 31 provided by one embodiment of the present application is shown. When receiving a search instruction corresponding to a target application program, the terminal displays a first search result page 31, wherein the first search result page 31 comprises an icon 311 of the target application program and a download control 312.
In addition, when the terminal acquires the first area of the target application program after receiving the search instruction corresponding to the target application program, if the target application program is not allowed to be downloaded in the area where the terminal is located, the second search result page is displayed. The second search result page is used to prompt that the target application is not allowed to be downloaded in the area where the terminal is located. Optionally, the second search results page includes an identification of the target application, such as a name, icon, etc. of the target application. Optionally, the terminal displays the identifier of the target application program through gray scale to prompt that the target application program is not allowed to be downloaded in the area where the terminal is located.
The recommended application refers to an application that is related to the target application and is allowed to be downloaded in the first area. In one possible implementation, the application associated with the target application refers to the same type of application as the target application. In another possible implementation manner, the application related to the target application refers to an application that meets a preset condition with the target application by using people at the same time. Optionally, the preset condition is that the number of people using the target application at the same time exceeds a preset value, or the preset condition is that the number of people using the target application at the same time is top n. N is a positive integer. The preset value and the value of n can be set according to actual requirements, and the embodiment of the application is not limited to the preset value and the value of n. In other possible implementations, the application related to the target application is a combination of the two manners, that is, the application related to the target application refers to an application that is the same as the type of the target application and meets the preset condition with the target application when being used by a person.
Optionally, after determining that the target application is not allowed to be downloaded in the first area, the terminal sends an application obtaining instruction to the server, where the application obtaining instruction is used to request to obtain the recommended application. The application program acquisition instruction carries an identifier of the target application program, an identifier of the terminal and an identifier of the first area.
Referring collectively to FIG. 4, a schematic interface diagram of a second search results page 41 provided by one embodiment of the present application is shown. When receiving a search instruction corresponding to the target application, the terminal displays a second search result page 41, wherein the second search result page 41 comprises an icon 411 of the target application, prompt information 412 and a recommended application 413.
In summary, according to the technical scheme provided in the embodiment of the present application, when the location of the user changes, whether an application is allowed to be downloaded is determined according to the current location area, and if the application is allowed to be downloaded, the terminal provides the download entry of the application, so that the user can download and install the application to the terminal, thereby avoiding a situation that the terminal in the related art always determines whether to provide the download entry of the application according to whether the application obtains operation qualification in a default area, and improving the download success rate of the application.
Referring to fig. 5, a flowchart of an application downloading method according to another embodiment of the present application is shown. The method may be applied to the terminal 11 in the embodiment shown in fig. 1, and the method may include:
at step 501, a search instruction corresponding to a target application program is received.
Step 502, detecting whether a target search record corresponding to a target application program exists in the historical search records.
The search record corresponding to the target application is also used to trigger downloading and installing the target application, and for the related explanation, reference may be made to step 201, which is not described herein again.
The target search record corresponds to a search result that the target application program is not allowed to be downloaded in the second area. The second area refers to an area where the terminal is located when the target search record is acquired. The second region is different from the first region. Optionally, the second region is a default region.
In step 503, if there is a target search record corresponding to the target application program in the history search records, a first area of the target application program is obtained.
In the embodiment of the application, if the user searches the target application program in other areas and fails to download the target application program successfully, the subsequent steps are executed, so that the steps of subsequently acquiring the download information of the target application program in the current area when the terminal receives the search instruction each time, judging whether to allow the download according to the download information can be avoided, and the processing resources of the terminal are saved.
And if the target search record corresponding to the target application program does not exist in the historical search records, the step of acquiring the target application program in the first area is not executed.
Step 504, first downloading information of the target application program in the first area is obtained.
The first download information is used for indicating whether the target application program is allowed to be downloaded in the first area.
And 505, detecting whether the target application program is allowed to be downloaded in the first area according to the first downloading information.
In step 506, if the target application program is allowed to be downloaded in the first area, a download entry of the target application program is displayed.
The download portal is used for triggering downloading and installing the target application program.
In summary, according to the technical scheme provided by the embodiment of the application, when the user searches for the target application program in other areas and fails to download the target application program successfully, the subsequent steps are executed, so that the steps of subsequently acquiring the download information of the target application program in the current area when the terminal receives the search instruction each time, and judging whether to allow the download according to the download information can be avoided, and the processing resources of the terminal are saved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 6, a block diagram of an application downloading device according to an embodiment of the present application is shown. The device has the functions of realizing the method examples, and the functions can be realized by hardware or by hardware executing corresponding software. The device includes: the device comprises an area acquisition module 601, a detection module 602 and a first display module 603.
The information obtaining module 601 is configured to obtain a first area of a target application, where the first area is an area where a terminal is currently located.
A detecting module 602, configured to detect whether the target application is allowed to be downloaded in the first area when the first area is not a default area, where the target application is not allowed to be downloaded in the default area.
A first display module 603, configured to display a download entry of the target application program if the target application program is allowed to be downloaded in the first area, where the download entry is used to trigger downloading and installing the target application program.
In summary, according to the technical scheme provided in the embodiment of the present application, when the location of the user changes, whether an application is allowed to be downloaded is determined according to the current location area, and if the application is allowed to be downloaded, the terminal provides the download entry of the application, so that the user can download and install the application to the terminal, thereby avoiding a situation that the terminal in the related art always determines whether to provide the download entry of the application according to whether the application obtains operation qualification in a default area, and improving the download success rate of the application.
In an optional embodiment provided based on the embodiment shown in fig. 6, the detecting module 602 is configured to:
acquiring first downloading information of the target application program in the first area, wherein the first downloading information is used for indicating whether the target application program is allowed to be downloaded in the first area;
and detecting whether the target application program is allowed to be downloaded in the first area or not according to the first downloading information.
Optionally, the detecting module 602 is configured to:
detecting whether a value of a download configuration item in the first download information is a target value, wherein the value of the download configuration item is used for indicating whether the target application program is allowed to be downloaded in the first area;
and if the value of the download configuration item in the first download information is the target value, determining that the target application program is allowed to be downloaded in the first area.
Optionally, the detecting module 602 is configured to:
sending an acquisition request to a server, wherein the acquisition request is used for indicating the server to inquire whether the target application program obtains operation qualification in the first area, obtaining an inquiry result, and generating the first download information according to the inquiry result;
and receiving the first downloading information returned by the server.
Optionally, the area obtaining module 601 is configured to: acquiring an Internet Protocol (IP) address corresponding to the terminal, and determining a region corresponding to the IP address corresponding to the terminal as the first region; or, acquiring the geographical position of the terminal through a Global Positioning System (GPS) service, and determining the area to which the geographical position of the terminal belongs as the first area.
In an optional embodiment provided based on the embodiment shown in fig. 6, the apparatus further comprises: an instruction receiving module and a second display module (not shown in the figure).
And the instruction receiving module is used for receiving a search instruction corresponding to the target application program.
And the second display module is used for displaying a second search result page if the target application program is not allowed to be downloaded in the first area, and the second search result page is used for prompting that the target application program is not allowed to be downloaded in the first area.
Optionally, the second search result page is further configured to trigger downloading and installing of a recommended application, where the recommended application refers to an application that is related to the target application and is allowed to be downloaded in the first area.
In an optional embodiment provided based on the embodiment shown in fig. 6, the apparatus further comprises: a second detection module (not shown).
The second detection module is configured to detect whether a target search record corresponding to the target application exists in a history search record, where a search result corresponding to the target search record indicates that the target application is not allowed to be downloaded in a second area, the second area is an area where a terminal is located when the target search record is obtained, and the first area is different from the second area.
The information obtaining module 602 is further configured to, if the target search record corresponding to the target application exists in the historical search records, execute the step of obtaining the first download information of the target application in the first area according to the search instruction.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 7, a block diagram of a terminal according to an exemplary embodiment of the present application is shown. A terminal in the present application may include one or more of the following components: a processor 710 and a memory 720.
Processor 710 may include one or more processing cores. The processor 710 connects various parts within the overall terminal using various interfaces and lines, performs various functions of the terminal and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 720 and calling data stored in the memory 720. Alternatively, the processor 710 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 710 may integrate one or more of a Central Processing Unit (CPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, an application program and the like; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 710, but may be implemented by a single chip.
Alternatively, the application download method provided by the various method embodiments described below is implemented by the processor 710 executing the program instructions in the memory 720.
The Memory 720 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 720 includes a non-transitory computer-readable medium. The memory 720 may be used to store instructions, programs, code sets, or instruction sets. The memory 720 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function, instructions for implementing the various method embodiments described above, and the like; the storage data area may store data created according to the use of the terminal, and the like.
The structure of the terminal described above is only illustrative, and in actual implementation, the terminal may include more or less components, such as: a display screen, etc., which are not limited in this embodiment.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is not intended to be limiting of terminal 700 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
An exemplary embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, which, when being loaded and executed by a processor, implements the application program downloading method provided by the above-mentioned method embodiments.
An exemplary embodiment of the present application also provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the application program downloading method described in the above embodiments.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (8)

1. An application program downloading method, characterized in that the method comprises:
detecting whether a target search record corresponding to a target application program exists in historical search records, wherein the target search record search result is that the target application program is not allowed to be downloaded in a default area, and the default area is an area with the longest terminal duration;
if the target search record corresponding to the target application program exists in the historical search record, acquiring a first area of the target application program, wherein the first area is an area where a terminal is located currently;
when the first area is not the default area, acquiring first downloading information of the target application program in the first area, wherein the first downloading information is used for indicating whether the target application program is allowed to be downloaded in the first area;
detecting whether a value of a download configuration item in the first download information is a target value, wherein the value of the download configuration item is used for indicating whether the target application program is allowed to be downloaded in the first area;
if the value of the download configuration item in the first download information is the target value, determining that the target application program is allowed to be downloaded in the first area;
and if the target application program is allowed to be downloaded in the first area, displaying a download inlet of the target application program, wherein the download inlet is used for triggering downloading and installing the target application program.
2. The method of claim 1, wherein the obtaining the first download information of the target application in the first area comprises:
sending an acquisition request to a server, wherein the acquisition request is used for indicating the server to inquire whether the target application program obtains operation qualification in the first area, obtaining an inquiry result, and generating the first download information according to the inquiry result;
and receiving the first downloading information returned by the server.
3. The method of claim 1, wherein obtaining the first region of the target application comprises:
acquiring an Internet Protocol (IP) address corresponding to the terminal, and determining a region corresponding to the IP address corresponding to the terminal as the first region;
alternatively, the first and second electrodes may be,
and acquiring the geographic position of the terminal through a Global Positioning System (GPS) service, and determining the area to which the geographic position of the terminal belongs as the first area.
4. The method according to any one of claims 1 to 3,
before the obtaining the first area of the target application program, the method further includes:
receiving a search instruction corresponding to the target application program;
after the detecting whether the target application program is allowed to be downloaded in the first area, the method further includes:
and if the target application program is not allowed to be downloaded in the first area, displaying a second search result page, wherein the second search result page is used for prompting that the target application program is not allowed to be downloaded in the first area.
5. The method of claim 4, wherein the second search result page is further used to trigger downloading and installing of a recommended application, wherein the recommended application refers to an application that is related to the target application and is allowed to be downloaded in the first area.
6. An application downloading apparatus, the apparatus comprising:
the second detection module is used for detecting whether a target search record corresponding to a target application program exists in the historical search records, wherein the target search record search result indicates that the target application program is not allowed to be downloaded in a default area, and the default area is an area with the longest terminal duration;
the area acquisition module is used for acquiring a first area of the target application program if the target search record corresponding to the target application program exists in the historical search record, wherein the first area is an area where the terminal is located currently;
a detection module, configured to, when the first area is not the default area, obtain first download information of the target application program in the first area, where the first download information is used to indicate whether the target application program is allowed to be downloaded in the first area, detect whether a value of a download configuration item in the first download information is a target value, and determine that the target application program is allowed to be downloaded in the first area if the value of the download configuration item in the first download information is the target value; the target application program is not allowed to be downloaded in the default area, and the value of the download configuration item is used for indicating whether the target application program is allowed to be downloaded in the first area;
and the first display module is used for displaying a download inlet of the target application program if the target application program is allowed to be downloaded in the first area, and the download inlet is used for triggering downloading and installing the target application program.
7. A terminal, characterized in that it comprises a processor and a memory, said memory storing a computer program that is loaded and executed by said processor to implement an application download method according to any of claims 1 to 5.
8. A computer-readable storage medium, in which a computer program is stored, the computer program being loaded and executed by a processor to implement the application downloading method according to any one of claims 1 to 5.
CN201811319749.7A 2018-11-07 2018-11-07 Application program downloading method, device, terminal and storage medium Active CN109495561B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811319749.7A CN109495561B (en) 2018-11-07 2018-11-07 Application program downloading method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811319749.7A CN109495561B (en) 2018-11-07 2018-11-07 Application program downloading method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109495561A CN109495561A (en) 2019-03-19
CN109495561B true CN109495561B (en) 2022-03-15

Family

ID=65695225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811319749.7A Active CN109495561B (en) 2018-11-07 2018-11-07 Application program downloading method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109495561B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798533A (en) * 2019-11-08 2020-02-14 深圳市元征科技股份有限公司 File downloading method, device and equipment
CN112527332A (en) * 2020-12-16 2021-03-19 Oppo广东移动通信有限公司 Method for internationalizing software application, terminal device, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572851A (en) * 2014-12-16 2015-04-29 北京百度网讯科技有限公司 Method and device for acquiring recommend information
US9537869B2 (en) * 2011-02-11 2017-01-03 Blue Cedar Networks, Inc. Geographical restrictions for application usage on a mobile device
CN106662630A (en) * 2014-09-02 2017-05-10 苹果公司 Location determination of using communicatively coupled electronic devices
CN107786941A (en) * 2017-09-29 2018-03-09 西安电子科技大学 It is a kind of to be cooperated method for down loading based on the file that prefetches
WO2018148565A9 (en) * 2017-02-09 2018-10-25 Wove, Inc. Method for managing data, imaging, and information computing in smart devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050097549A1 (en) * 2003-10-31 2005-05-05 International Business Machines Corporation Location sensitive software download

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9537869B2 (en) * 2011-02-11 2017-01-03 Blue Cedar Networks, Inc. Geographical restrictions for application usage on a mobile device
CN106662630A (en) * 2014-09-02 2017-05-10 苹果公司 Location determination of using communicatively coupled electronic devices
CN104572851A (en) * 2014-12-16 2015-04-29 北京百度网讯科技有限公司 Method and device for acquiring recommend information
WO2018148565A9 (en) * 2017-02-09 2018-10-25 Wove, Inc. Method for managing data, imaging, and information computing in smart devices
CN107786941A (en) * 2017-09-29 2018-03-09 西安电子科技大学 It is a kind of to be cooperated method for down loading based on the file that prefetches

Also Published As

Publication number Publication date
CN109495561A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
US20210006937A1 (en) Systems and methods for deploying dynamic geo-fences based on content consumption levels in a geographic location
US8805419B2 (en) Management of roadside service requests
US20220027417A1 (en) Modular application programming interface system
CN103139761B (en) The method and communication terminal of a kind of information real-time show
CN109495561B (en) Application program downloading method, device, terminal and storage medium
US20210224365A1 (en) Systems and methods for tracking events of a client device
CN112598348B (en) Target address position calibration method, server, client and computing device
WO2021091495A1 (en) Method for inquiring weather data, and electronic device and storage medium thereof
US10034125B2 (en) Remote flood zone determination method, system, and computer program product
CN110677810B (en) Method and apparatus for generating geo-fences
CN107590997B (en) Traffic monitoring method and device based on Internet of things
CN109462818A (en) A kind of method, apparatus and terminal of identification user trip track
US10798520B2 (en) Remote flood zone determination method, system, and computer program product
CN111241504A (en) Identity authentication method and device, electronic equipment and storage medium
CN113709136B (en) Access request verification method and device
CN114036132A (en) Object information processing method and device, storage medium and electronic equipment
CN111047229A (en) Order distribution information processing method and system
CN111181809A (en) Monitoring method and device for reference station in network RTK center resolving software
CN114666116B (en) Authentication processing method, device, equipment and storage medium based on applet
CN113434848B (en) Data acquisition method and device, storage medium and electronic equipment
US11864083B2 (en) Method and system for inter and intra agency communication, tracking and coordination
CN114285743B (en) Method, device, electronic equipment and storage medium for updating configuration information
CN114760086B (en) Method and device for detecting compliance of web pages, storage medium and terminal
US20230196421A1 (en) Program, information processing method, and information processing apparatus
CN114861054A (en) Information acquisition 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