CN105307156B - Device and method for requesting downloading of application - Google Patents

Device and method for requesting downloading of application Download PDF

Info

Publication number
CN105307156B
CN105307156B CN201510695086.9A CN201510695086A CN105307156B CN 105307156 B CN105307156 B CN 105307156B CN 201510695086 A CN201510695086 A CN 201510695086A CN 105307156 B CN105307156 B CN 105307156B
Authority
CN
China
Prior art keywords
application
list information
mobile terminal
application list
reverse proxy
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
CN201510695086.9A
Other languages
Chinese (zh)
Other versions
CN105307156A (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.)
Nanjing Boya blockchain Research Institute Co.,Ltd.
Original Assignee
Nanjing Boya Blockchain Research Institute 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 Nanjing Boya Blockchain Research Institute Co ltd filed Critical Nanjing Boya Blockchain Research Institute Co ltd
Priority to CN201510695086.9A priority Critical patent/CN105307156B/en
Publication of CN105307156A publication Critical patent/CN105307156A/en
Application granted granted Critical
Publication of CN105307156B publication Critical patent/CN105307156B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a device and a method for requesting downloading of an application. The method for requesting downloading of the application comprises the following steps: the mobile terminal acquires and displays the application list information and receives an application downloading instruction; generating an application downloading request according to the application downloading instruction, and sending the application downloading request to a reverse proxy server; and the reverse proxy server locates a folder path in an application package storage server according to the application downloading request, searches for an application package, and returns the application package to the mobile terminal. Receiving an application downloading instruction and a downloading request by acquiring and displaying application list information; the reverse proxy server directly locates to the application package storage server through the download request to obtain and return the application package; the reverse proxy server bypasses the background interface server to directly access the application package storage server, so that the stability of a data link is improved, the data processing pressure of the background interface server is reduced, and the unsmooth application downloading caused by downtime is avoided as much as possible.

Description

Device and method for requesting downloading of application
Technical Field
The present invention relates to the field of data service technologies, and in particular, to an apparatus and method for requesting an application to download.
Background
With the development of mobile terminal services and the abundance of functions, various applications are more and more, and users can search for favorite applications and download and install the favorite applications in the using process.
Currently, application downloading is mainly divided into two modes, one mode is to use application market software to download and install the application, and the other mode is to provide recommended application downloading service inside a mobile phone ROM. Regardless of the application download method, the technical details that the user acquires the application list and needs the background interface server to provide the service for downloading the application list are not different. In this technical detail, when the background interface server stops serving or goes down, the user cannot normally acquire the application list and normally download the application, so that the fluency of the user in use is reduced.
Disclosure of Invention
The invention mainly aims to provide a device and a method for requesting downloading of an application, aiming at continuously providing application downloading when a background interface server stops service and ensuring normal use of a user.
In order to achieve the above object, the present invention provides an apparatus for requesting downloading of an application, including:
the acquisition receiving unit is used for the mobile terminal to acquire and display the application list information and receive an application downloading instruction;
the request sending unit is used for generating an application downloading request according to the application downloading instruction and sending the application downloading request to the reverse proxy server;
and the application returning unit is used for positioning the reverse proxy server to the folder path in the application package storage server according to the application downloading request, searching the application package and returning the application package to the mobile terminal.
Wherein, the obtaining receiving unit comprises:
the cache judging module is used for judging whether the mobile terminal caches the application list information;
the mobile terminal comprises a first obtaining module, a second obtaining module and a display module, wherein the first obtaining module is used for obtaining and displaying cached application list information if the application list information is cached;
the second obtaining module is used for obtaining the application list information from the background interface server through the reverse proxy server and displaying the application list information if the application list information is not cached;
and the direct receiving module is used for receiving an application downloading instruction corresponding to at least one application in the application list information.
Wherein, the device still includes:
and the list updating unit is used for acquiring the latest application list information in the background interface server through the reverse proxy server and updating the latest application list information to the cached application list information.
The acquiring and receiving unit is specifically configured to:
the mobile terminal acquires the application list information, displays the application list information according to the weight sequence of the application in the application list information, and receives an application downloading instruction in an interface for displaying the application list information.
Wherein, the reverse proxy server is an NGINX reverse proxy server or an NAT123 reverse proxy server.
In addition, in order to achieve the above object, the present invention further provides a method for requesting downloading of an application, including:
the mobile terminal acquires and displays the application list information and receives an application downloading instruction;
generating an application downloading request according to the application downloading instruction, and sending the application downloading request to a reverse proxy server;
and the reverse proxy server locates a folder path in an application package storage server according to the application downloading request, searches for an application package, and returns the application package to the mobile terminal.
The method for acquiring and displaying the application list information and receiving the application downloading instruction by the mobile terminal comprises the following steps:
judging whether the mobile terminal caches application list information or not;
if the application list information is cached, the mobile terminal acquires and displays the cached application list information;
otherwise, the mobile terminal acquires and displays the application list information from the background interface server through the reverse proxy server;
and receiving an application downloading instruction corresponding to at least one application in the application list information.
Wherein, the method further comprises:
and acquiring the latest application list information in the background interface server through the reverse proxy server, and updating the latest application list information to the cached application list information.
The mobile terminal acquires and displays application list information and receives an application downloading instruction, and the method specifically comprises the following steps:
the mobile terminal acquires the application list information, displays the application list information according to the weight sequence of the application in the application list information, and receives an application downloading instruction in an interface for displaying the application list information.
Wherein, the reverse proxy server is an NGINX reverse proxy server or an NAT123 reverse proxy server.
The device and the method for requesting the downloading of the application, which are provided by the invention, receive an application downloading instruction and a downloading request by acquiring and displaying the application list information; the reverse proxy server directly locates to the application package storage server through the download request to obtain and return the application package; the reverse proxy server bypasses the background interface server to directly access the application package storage server, so that the stability of a data link is improved, the data processing pressure of the background interface server is reduced, and the unsmooth application downloading caused by downtime is avoided as much as possible.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3A is a flowchart of a method of a first embodiment of a method for requesting a download by an application according to the present invention;
FIG. 3B is a schematic diagram of a data transmission link of a method for requesting download according to the present invention;
FIG. 3C is a schematic diagram of an interface for displaying application list information according to a method of requesting downloading by an application of the present invention;
FIG. 4 is a flowchart of a method of a second embodiment of a method for requesting a download by an application;
FIG. 5 is a block diagram illustrating a first embodiment of an apparatus for requesting download of an application according to the present invention;
fig. 6 is a block diagram illustrating a second embodiment of an apparatus for requesting download by an application according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may be of various kindsThe form exists, for example, in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive a broadcast signal by using a signal such as multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO)@) A digital broadcasting system of a terrestrial digital broadcasting integrated service (ISDB-T), etc. receives digital broadcasting. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning system). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display module 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the configuration of the mobile terminal, in this scheme, more cameras are required to implement image acquisition and related data processing for the control body. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display module 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device. Generally, the sensing unit 140 includes a distance sensor 141, and the distance sensor 141 in the sensing unit 140 processes distance detection in a phone answering process implemented near the audio output module 152.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display module 151, an audio output module 152, an alarm module 153, and the like.
The display module 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display module 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display module 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display module 151 and the touch pad are stacked on each other in the form of layers to form a touch screen, the display module 151 may serve as an input device and an output device. The display module 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. The mobile terminal 100 may include two or more display modules (or other display devices) according to a particular desired implementation, for example, the mobile terminal may include an external display module (not shown) and an internal display module (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm module 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm module 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm module 153 may provide an output in the form of a vibration, and when a call, a message, or some other incoming communication (incomingmunication) is received, the alarm module 153 may provide a tactile output (i.e., a vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm module 153 may also provide an output notifying the occurrence of an event via the display module 151 or the audio output module 152.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 1810 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 2750.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, various embodiments of the method for requesting downloading of an application of the present invention are provided.
Referring to fig. 3A, it is a flowchart of a first embodiment of a method for requesting download by an application according to the present invention, and as shown in the figure, the method includes the following steps:
s11: and the mobile terminal acquires and displays the application list information and receives an application downloading instruction.
The application list information is used for listing and recording information of the application, and the information mainly comprises the name, the size, the type, the provider, the function, the user rating, the price and the like of the application, which help a user to know the content of a certain application.
The application list information acquired by the mobile terminal can be displayed according to the received original list. Specifically, the application information in the original list received by the mobile terminal has a display sequence at the server, and the display sequence is determined by a rule preset by the server; the application list information obtained by the mobile terminal initially carries the sequencing result generated by the server terminal. In the mobile terminal, the application list information can be displayed according to the sequencing result generated by the server side.
Or, the mobile terminal acquires the application list information, displays the application list information according to the weight sequence of the application in the application list information, and receives the application downloading instruction in the interface for displaying the application list information. In this display scheme, the applied weights are different from one another according to the usage habits of the respective users. For example, the weight of an already installed application is set to 0 or a lower weight value, that is, the already installed application is no longer displayed or is displayed to a later position when displayed. And screening according to the commonly used applications of the user, if the commonly used applications or the applications installed more frequently by the user are game applications, giving higher weight to the game applications, and performing targeted priority pushing when the position is closer to the front during display.
As shown in fig. 3C, various application arrangements are displayed in the application display interface shown in fig. 3C, the user views the application information and selects whether to install a certain application therein on the application display interface, and the mobile terminal receives an application download instruction generated by the user in the process of viewing the reference list information. For example, when the user selects the application a, the application C, or the application H, the mobile terminal correspondingly receives an application download instruction, and the application download instruction is a basis for requesting downloading of the application.
S12: and generating an application downloading request according to the application downloading instruction, and sending the application downloading request to the reverse proxy server.
As shown in fig. 3B, the mobile terminal 100 does not directly contact the background interface server 500, and the mobile terminal 100 omits a jump through the background interface server 500 in a data request process, but directly generates an application download request according to the application download instruction after receiving the application download instruction, and sends the application download request to the reverse proxy server 400, where the reverse proxy server 400 is used as a data forwarding station between a data requesting end (i.e., the mobile terminal 100) and a data providing end (i.e., the background interface server 500 and the application package storage server 700).
The arrangement of the reverse proxy server 400 can further enhance the security of the background interface server 500, the background management server 600 and the application package storage server 700, because the reverse proxy server 400 does not destroy the contents stored in the background interface server 500, the background management server 600 and the application package storage server 700 when receiving an attack; meanwhile, the reverse proxy server 130 can also filter the data access facing the background interface server 500, reduce the data processing pressure of the background interface server 500, reduce the downtime probability of the background interface server 500, and even if the background interface server 500 goes down, the data interaction between the direction proxy server 110 and the application package storage server 700 is still not affected, and the whole server system keeps normal operation.
S13: and the reverse proxy server locates the folder path in the application package storage server according to the application downloading request, searches the application package and returns the application package to the mobile terminal.
The application package is an installation package of the application, and is used for installing the application, and the application package has a plurality of different formats, such as apk, deb, ipa and the like, according to different operating systems of the mobile terminal.
In a server system that actually provides data, that is, in the background interface server 500, the background management server 600, and the application package storage server 700 shown in fig. 3B, the background interface server 500 is used to coordinate the related request call of a third party, the background management server 600 is used to implement the management of the server itself, and the application package storage server 700 is equivalent to a data server and is used to store data. In this scenario, all access requests by the mobile terminal 100 in the server architecture are processed and fed back via the reverse proxy server 400. According to the application downloading request of the mobile terminal 100, the application package storage server 700 is directly located to the storage location, the application package corresponding to the request is read, and the application package is returned to the mobile terminal. The specific positioning manner may be to obtain the application package by querying a storage location corresponding to the positioning in the application package storage server 700 according to the application feature identifier; or searching corresponding storage information in the storage information list according to a preset storage information list, and directly positioning and acquiring the application package according to the storage information.
In the method for requesting downloading of an application of the embodiment, the application downloading instruction and the downloading request are received by acquiring and displaying the application list information; the reverse proxy server directly locates to the application package storage server through the download request to obtain and return the application package; the reverse proxy server bypasses the background interface server to directly access the application package storage server, so that the stability of a data link is improved, the data processing pressure of the background interface server is reduced, and the unsmooth application downloading caused by downtime is avoided as much as possible.
Referring to fig. 4, it is a flowchart of a method of a second embodiment of a method for requesting download by an application according to the present invention, as shown in the figure, the method includes the following steps:
s21: whether the mobile terminal caches application list information or not; if yes, go to step S22, otherwise go to step S23.
In the prior art, the mobile terminal acquires the application list information from the server, specifically, the background interface server 500 acquires the latest application list information in real time. In this scheme, the application list information is not all obtained in real time. Firstly, whether the mobile terminal caches application list information or not is judged, and since the application package is directly obtained from the application package storage server through the reverse proxy server in the scheme, an application downloading instruction can be received; that is, the corresponding application package can be downloaded as long as there is the application list information. The cached application list information can eliminate the influence of the background interface server on the downloading process of the application request, and on one hand, the normal downloading and installation of the application can be ensured in the down state of the background interface server; on the other hand, data access initiated by the mobile terminal to the background interface server is reduced, data processing pressure of the background interface server is reduced, the possibility of downtime of the background interface server is reduced, and the stability of a server system is maintained.
S22: and the mobile terminal acquires and displays the cached application list information.
And the mobile terminal reads the locally cached application list information and displays the application list information on a screen of the mobile terminal in a list mode.
S23: and the mobile terminal acquires and displays the application list information from the background interface server through the reverse proxy server.
The reverse proxy server is an NGINX reverse proxy server or NAT123 reverse proxy server.
The direction proxy server can balance the data processing task of the actual server besides the safety, and guarantee the stable operation of the actual server.
S24: and receiving an application downloading instruction corresponding to at least one application in the application list information.
And after the application list information is displayed in a list mode, receiving an application downloading instruction on a display interface. The user may choose to download one application at a time or multiple applications at a time.
S25: and generating an application downloading request according to the application downloading instruction, and sending the application downloading request to the reverse proxy server.
S26: and the reverse proxy server locates the folder path in the application package storage server according to the application downloading request, searches the application package and returns the application package to the mobile terminal.
S27: and acquiring the latest application list information of the background interface server through the reverse proxy server, and updating the latest application list information to the cached application list information.
This step is equivalent to performing the displaying of the application list information and the updating of the application list information asynchronously, the displayed application list information and the latest application list information not necessarily being linked. Of course, for the first acquisition of the application list information, it is necessary to display the latest application list information. In addition, specifically, if the latest application list information is obtained, it is determined whether the latest application list information in the background interface server is updated compared with the cached application list information, and if the latest application list information is updated, the latest application list information is updated to the cached application list information, and the updated application list information replaces the previously cached application list information.
Further, step S27 is not executed after the foregoing steps are completed. The process of updating the application list information in step S27 may be a separate step, such as a timed update or a passive update. And updating at regular time, namely, the mobile terminal sends an updating request at regular time, judges whether a version different from the cached application list information exists, updates the cached application list information if the version is different from the cached application list information, and otherwise, does not change the version. The passive updating means that when the server side has the change of the application list information, an updating message is pushed to the mobile terminal, and a user judges whether to update or not; or when the server side has the change of the application list information, the latest application list information is directly pushed, and the mobile terminal directly updates the cached application list information.
The above-mentioned update process of the application list information is not necessarily implemented in the process of requesting to download the application by the user, and the corresponding update can be performed when the user stands by or uses other applications.
In the method for requesting downloading of an application of the embodiment, the application downloading instruction and the downloading request are received by acquiring and displaying the application list information; the reverse proxy server directly locates to the application package storage server through the download request to obtain and return the application package; the reverse proxy server bypasses the background interface server to directly access the application package storage server, so that the stability of a data link is improved, the data processing pressure of the background interface server is reduced, and the unsmooth application downloading caused by downtime is avoided as much as possible. The cached application list information and the process of updating the application list information can be used for normally downloading the application under the condition that the background interface server is down.
The invention further provides a device for requesting downloading of the application, which is applied to the mobile terminal. Based on the above hardware structure of the mobile terminal and the communication system, an embodiment of the apparatus for requesting downloading of an application according to the present invention is provided.
Referring to fig. 5, it is a block diagram of a first embodiment of an apparatus for requesting download by an application according to the present invention, and as shown in the figure, the apparatus includes:
an obtaining and receiving unit 10, configured to obtain and display application list information by a mobile terminal, and receive an application downloading instruction;
a request sending unit 20, configured to generate an application download request according to the application download instruction, and send the application download request to the reverse proxy server;
and the application returning unit 30 is used for the reverse proxy server to locate the application package according to the application downloading request and search the application package in the folder path of the application package storage server, and return the application package to the mobile terminal.
The device for requesting application downloading of the embodiment receives an application downloading instruction and a downloading request by acquiring and displaying application list information; the reverse proxy server directly locates to the application package storage server through the download request to obtain and return the application package; the reverse proxy server bypasses the background interface server to directly access the application package storage server, so that the stability of a data link is improved, the data processing pressure of the background interface server is reduced, and the unsmooth application downloading caused by downtime is avoided as much as possible.
Referring to fig. 6, it is a block diagram of a second embodiment of an apparatus for requesting download by an application according to the present invention, and as shown in the figure, the apparatus includes:
an obtaining and receiving unit 10, configured to obtain and display application list information by a mobile terminal, and receive an application downloading instruction;
a request sending unit 20, configured to generate an application download request according to the application download instruction, and send the application download request to the reverse proxy server;
and the application returning unit 30 is used for the reverse proxy server to locate the application package according to the application downloading request and search the application package in the folder path of the application package storage server, and return the application package to the mobile terminal.
The acquisition receiving unit 10 includes:
the cache judging module 11 is configured to judge whether the mobile terminal caches application list information;
the first obtaining module 12 is configured to, if application list information is cached, obtain and display the cached application list information by the mobile terminal;
a second obtaining module 13, configured to, if there is no cached application list information, obtain, by the mobile terminal, the application list information from the background interface server through the reverse proxy server and display the application list information;
and the direct receiving module 14 is configured to receive an application downloading instruction corresponding to at least one application in the application list information.
Wherein, the device still includes:
and the list updating unit 40 is configured to obtain the latest application list information in the background interface server through the reverse proxy server, and update the latest application list information to the cached application list information.
The obtaining and receiving unit 10 is specifically configured to:
the mobile terminal acquires the application list information, displays the application list information according to the weight sequence of the application in the application list information, and receives an application downloading instruction in an interface for displaying the application list information.
Wherein, the reverse proxy server is NGINX reverse proxy server or NAT123 reverse proxy server.
The device for requesting downloading of the application of the embodiment receives the application downloading instruction and the downloading request by acquiring and displaying the application list information; the reverse proxy server directly locates to the application package storage server through the download request to obtain and return the application package; the reverse proxy server bypasses the background interface server to directly access the application package storage server, so that the stability of a data link is improved, the data processing pressure of the background interface server is reduced, and the unsmooth application downloading caused by downtime is avoided as much as possible. The cached application list information and the process of updating the application list information can be used for normally downloading the application under the condition that the background interface server is down.
The device for requesting downloading of an application and the method for requesting downloading of an application provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments, and technical features in the method embodiments are correspondingly applicable in the device embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. 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, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. An apparatus for requesting a download of an application, comprising:
the acquisition receiving unit is used for the mobile terminal to acquire and display the application list information and receive an application downloading instruction;
the request sending unit is used for generating an application downloading request according to the application downloading instruction and sending the application downloading request to the reverse proxy server;
the application return unit is used for the reverse proxy server to locate the application package according to the application downloading request and search the application package in the folder path of the application package storage server, and return the application package to the mobile terminal;
wherein, the obtaining receiving unit comprises:
the cache judging module is used for judging whether the mobile terminal caches the application list information;
the mobile terminal comprises a first obtaining module, a second obtaining module and a display module, wherein the first obtaining module is used for obtaining and displaying cached application list information if the application list information is cached;
the second obtaining module is used for obtaining the application list information from the background interface server through the reverse proxy server and displaying the application list information if the application list information is not cached;
and the direct receiving module is used for receiving an application downloading instruction corresponding to at least one application in the application list information.
2. The apparatus of claim 1, further comprising:
and the list updating unit is used for acquiring the latest application list information in the background interface server through the reverse proxy server and updating the latest application list information to the cached application list information.
3. The apparatus of claim 1, wherein the acquisition receiving unit is specifically configured to:
the mobile terminal acquires the application list information, displays the application list information according to the weight sequence of the application in the application list information, and receives an application downloading instruction in an interface for displaying the application list information.
4. The apparatus of claim 1, wherein the reverse proxy server is an NGINX reverse proxy server or a NAT123 reverse proxy server.
5. A method for requesting a download by an application, comprising:
the mobile terminal acquires and displays the application list information and receives an application downloading instruction;
generating an application downloading request according to the application downloading instruction, and sending the application downloading request to a reverse proxy server;
the reverse proxy server locates a folder path in an application package storage server according to the application downloading request, searches for an application package, and returns the application package to the mobile terminal;
the method for acquiring and displaying the application list information and receiving the application downloading instruction by the mobile terminal comprises the following steps:
judging whether the mobile terminal caches application list information or not;
if the application list information is cached, the mobile terminal acquires and displays the cached application list information;
otherwise, the mobile terminal acquires and displays the application list information from the background interface server through the reverse proxy server;
and receiving an application downloading instruction corresponding to at least one application in the application list information.
6. The method of claim 5, further comprising:
and acquiring the latest application list information in the background interface server through the reverse proxy server, and updating the latest application list information to the cached application list information.
7. The method according to claim 5, wherein the mobile terminal acquires and displays the application list information and receives an application download instruction, specifically:
the mobile terminal acquires the application list information, displays the application list information according to the weight sequence of the application in the application list information, and receives an application downloading instruction in an interface for displaying the application list information.
8. The method of claim 5, wherein the reverse proxy server is an NGINX reverse proxy server or a NAT123 reverse proxy server.
CN201510695086.9A 2015-10-23 2015-10-23 Device and method for requesting downloading of application Active CN105307156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510695086.9A CN105307156B (en) 2015-10-23 2015-10-23 Device and method for requesting downloading of application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510695086.9A CN105307156B (en) 2015-10-23 2015-10-23 Device and method for requesting downloading of application

Publications (2)

Publication Number Publication Date
CN105307156A CN105307156A (en) 2016-02-03
CN105307156B true CN105307156B (en) 2020-08-21

Family

ID=55203799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510695086.9A Active CN105307156B (en) 2015-10-23 2015-10-23 Device and method for requesting downloading of application

Country Status (1)

Country Link
CN (1) CN105307156B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976832A (en) * 2019-03-28 2019-07-05 上海连尚网络科技有限公司 It is a kind of that the method and apparatus of boarding program is provided
CN110855750B (en) * 2019-10-21 2023-02-28 深圳市元征科技股份有限公司 Downloading method of software development kit and related equipment
CN111309473A (en) * 2020-01-17 2020-06-19 政采云有限公司 Data downloading method, device, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567807A (en) * 2008-04-21 2009-10-28 日本电气株式会社 Knowledge-based failure recovery support system
CN104618444A (en) * 2014-12-30 2015-05-13 北京奇虎科技有限公司 Reverse agent server processing request based method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2424401A (en) * 1999-11-03 2001-05-14 Motorola, Inc. A method for validating an application for use in a mobile communication device
CN101030873A (en) * 2007-02-15 2007-09-05 深圳市迅雷网络技术有限公司 Method and system for downloading data
CN101662503B (en) * 2009-09-14 2012-09-05 金蝶软件(中国)有限公司 Information transmission method, proxy server and service system in network
CN102739717B (en) * 2011-04-12 2016-08-10 腾讯科技(深圳)有限公司 Method for down loading, download agent server and network system
CN103235815A (en) * 2013-04-25 2013-08-07 北京小米科技有限责任公司 Display method and display device for application software
CN104539724A (en) * 2015-01-14 2015-04-22 浪潮(北京)电子信息产业有限公司 Information processing method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567807A (en) * 2008-04-21 2009-10-28 日本电气株式会社 Knowledge-based failure recovery support system
CN104618444A (en) * 2014-12-30 2015-05-13 北京奇虎科技有限公司 Reverse agent server processing request based method and device

Also Published As

Publication number Publication date
CN105307156A (en) 2016-02-03

Similar Documents

Publication Publication Date Title
CN106210328B (en) Information display device and method
CN105260083A (en) Mobile terminal and method for realizing split screens
CN104951229B (en) Screenshot method and device
CN105353947A (en) Mobile terminal and application display content controlling method
CN105094893A (en) Method, equipment and system for installing payment application program
CN105426036A (en) Interface display upgrade method, apparatus and system for application
CN106231587A (en) The data service changing method of mobile terminal and switching device
CN105975500A (en) Data processing method, data statistical system and backstage management system
CN106485163A (en) Control method and control device that mobile terminal data storehouse accesses
CN106455009B (en) Network searching device and method
CN106371704B (en) Application shortcut layout method of screen locking interface and terminal
CN105302899A (en) Mobile terminal and picture processing method
CN105430042B (en) A kind of method, server-side and mobile terminal for realizing data transmission
CN105261054A (en) Device and method for compositing audio GIF image
CN105307156B (en) Device and method for requesting downloading of application
CN105126339B (en) A kind of game control device and method
CN106791149A (en) A kind of method of mobile terminal and control screen
CN106412877B (en) Activation method and activation device for mobile terminal SIM card
CN105260096A (en) Method for controlling user operation and mobile terminal
CN106385494B (en) Method and device for acquiring dynamic home page of mobile terminal application
CN105094598A (en) Device and method for processing operational objects
CN106649753B (en) Data processing method and electronic equipment
CN105245707A (en) Mobile terminal and method for processing information
CN106325677B (en) Method for presenting multiple application program interfaces and mobile terminal
CN105357188A (en) Method and server for realizing WIFI connection and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200708

Address after: 210036, 301 Hanzhoung Avenue, Gulou District, Jiangsu, Nanjing

Applicant after: Nanjing Boya blockchain Research Institute Co.,Ltd.

Address before: 518000 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant