CN108282405A - Application programming interfaces buffer memory management method, application server and storage medium - Google Patents

Application programming interfaces buffer memory management method, application server and storage medium Download PDF

Info

Publication number
CN108282405A
CN108282405A CN201711440777.XA CN201711440777A CN108282405A CN 108282405 A CN108282405 A CN 108282405A CN 201711440777 A CN201711440777 A CN 201711440777A CN 108282405 A CN108282405 A CN 108282405A
Authority
CN
China
Prior art keywords
interface
call request
router
destination router
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711440777.XA
Other languages
Chinese (zh)
Other versions
CN108282405B (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.)
HAOHUO (KUNSHAN) NETWORK TECHNOLOGY Co.,Ltd.
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201711440777.XA priority Critical patent/CN108282405B/en
Publication of CN108282405A publication Critical patent/CN108282405A/en
Application granted granted Critical
Publication of CN108282405B publication Critical patent/CN108282405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/742Route cache; Operation thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1014Server selection for load balancing based on the content of a request
    • 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 
    • 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/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a kind of application programming interfaces buffer memory management method, application server and computer readable storage mediums, belong to field of communication technology.The method includes:The interface call request that each terminal of real-time reception is sent;Total interface call request received by counting in preset period of time is to determine target interface;Total interface call request of the target interface in the preset period of time is obtained to record to determine destination router;Data cached comprising the target interface return value is sent to the destination router to be cached by the destination router.Compared with prior art, present invention utilizes by will partly call the return value of frequent interface to store onto router, ensure that terminal directly can obtain interface return value when calling this part of interface by router, reduces the communication link passed through required for interface call request.The speed for improving interface calling, also reduces the power consumption of terminal, improves the application experience of user, while also reducing the caching cost of server side.

Description

Application programming interfaces buffer memory management method, application server and storage medium
Technical field
The present invention relates to field of terminal technology more particularly to a kind of application programming interfaces buffer memory management method, application services Device and storage medium.
Background technology
When application program launching, multiple interface load resources can be called.Specifically, multiple interfaces are respectively to application server HTTP request is initiated, the resource that server returns then is received.And with the development of mobile Internet, terminal is more and more, eventually The data volume that each application program (client) on end is asked to application server is increasing.To improve the operation speed of application Degree, the required buffer service of application server are also increasing.And client is during request server interface, Communication needs the link walked still more, and efficiency is not high enough.At present interface caching technology the problem is that:1. increasing caching clothes The cost in business space is higher.2. interface requests procedure communication link is more, although having used caching, speed still can be by To influence.3. communication link is more, the power consumption of terminal can be also improved to a certain extent.
Therefore, it is necessary to provide a kind of application programming interfaces buffer memory management method, application server and storage medium to solve Certainly above-mentioned technical problem.
Invention content
It is a primary object of the present invention to propose a kind of application programming interfaces buffer memory management method, application server and storage Medium, it is intended to solve the problems, such as that existing interface caching technology is relatively slow and influence power consumption of terminal in of high cost, reaction speed.
First, to achieve the above object, the present invention provides a kind of application programming interfaces buffer memory management method, is applied to application Server side includes the following steps:
The interface call request that each terminal of real-time reception is sent;
Total interface call request received by counting in preset period of time is to determine target interface;
Total interface call request of the target interface in the preset period of time is obtained to record to determine that target is route Device;
Data cached comprising the target interface return value is sent to the destination router to be route by the target Device is cached.
Optionally, total interface call request received in the statistics preset period of time is to determine the step of target interface Suddenly it specifically includes:
Record the interface that each interface call request received is called;
The number being called according to each interface in the preset period of time carry out statistics and by each interface by number from more To being ranked up less;
Determine the interface for the preceding preset quantity that sorts as target interface.
Optionally, the total interface call request for obtaining the target interface in the preset period of time is recorded with true Set the goal router the step of specifically include:
Obtain the corresponding all routing iinformations of total interface call request of the target interface in the preset period of time;
Determine the corresponding source routing address of each routing iinformation;
Using the corresponding router of all source routing address as destination router.
Optionally, described that data cached comprising the target interface return value is sent to the destination router by institute The step of destination router is cached is stated to specifically include:
Determine the corresponding return value of the target interface;
The return value is packaged with corresponding content identification data cached to obtain, wherein the content identification Including caching the term of validity;
When receiving the interface call request from the destination router, data cached the mesh is back to by described Mark router.
Optionally, the method further includes:
When detecting the target interface corresponding return value update, update is described data cached;
It is prompted to the corresponding terminal push update of the destination router so that the terminal is in transmission interface call request When carry preset buffer memory more new logo;
When receiving the interface call request comprising the preset buffer memory more new logo, by the updated caching number According to being back to the destination router.
Meanwhile the present invention also provides a kind of application server, the application server includes memory, processor and storage On the memory and the application programming interfaces cache management program that can run on the processor, the application program connect Mouth cache management program realizes following steps when being executed by the processor:
The interface call request that each terminal of real-time reception is sent;
Total interface call request received by counting in preset period of time is to determine target interface;
Total interface call request of the target interface in the preset period of time is obtained to record to determine that target is route Device;
Data cached comprising the target interface return value is sent to the destination router to be route by the target Device is cached.
Optionally, the processor executes the application programming interfaces cache management program to realize in statistics preset period of time The step of received total interface call request is to determine target interface specifically includes:
Record the interface that each interface call request received is called;
The number being called according to each interface in the preset period of time carry out statistics and by each interface by number from more To being ranked up less;
Determine the interface for the preceding preset quantity that sorts as target interface.
Optionally, the processor executes the application programming interfaces cache management program to realize that obtaining the target connects The step of total interface call request of the mouth in the preset period of time is recorded to determine destination router specifically includes:
Obtain the corresponding all routing iinformations of total interface call request of the target interface in the preset period of time;
Determine the corresponding source routing address of each routing iinformation;
Using the corresponding router of all source routing address as destination router.
Optionally, it will include the target that the processor, which executes the application programming interfaces cache management program to realize, The data cached of interface return value is sent to the step of destination router is cached by the destination router and specifically wraps It includes:
Determine the corresponding return value of the target interface;
The return value is packaged with corresponding content identification data cached to obtain, wherein the content identification Including caching the term of validity;
When receiving the interface call request from the destination router, data cached the mesh is back to by described Mark router.
In addition, to achieve the above object, the present invention also provides a kind of computer readable storage mediums, which is characterized in that institute It states and is stored with application programming interfaces cache management program on computer readable storage medium, the application programming interfaces cache management The step of application programming interfaces buffer memory management method as described above is realized when program is executed by processor.
Compared to the prior art, application programming interfaces buffer memory management method, application server and meter proposed by the invention Calculation machine readable storage medium storing program for executing, the interface call request that each terminal of real-time reception is sent;Received by counting in preset period of time Total interface call request is to determine target interface;Total interface of the target interface in the preset period of time is obtained to call Request record is to determine destination router;Data cached comprising the target interface return value is sent to the target routing Device is cached by the destination router.Compared with prior art, present invention utilizes frequently connect by calling part In the return value storage to router of mouth, ensure that terminal directly can obtain interface when calling this part of interface by router Return value reduces the communication link passed through required for interface call request.The speed for improving interface calling, also reduces end The power consumption at end, improves the application experience of user, while also reducing server side caching cost.
Description of the drawings
The hardware architecture diagram of Fig. 1 one optional terminals of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is another communications network system Organization Chart provided in an embodiment of the present invention
Fig. 4 is the implementation process diagram of application programming interfaces buffer memory management method in first embodiment of the invention;
Fig. 5 is the refined flow chart of step S402 in Fig. 4;
Fig. 6 is the refined flow chart of step S403 in Fig. 4;
Fig. 7 is the refined flow chart of step S404 in Fig. 4;
Fig. 8 is communication link schematic diagram when terminal interface sends out call request in the present invention;
The hardware architecture diagram of Fig. 9 one optional application servers of each embodiment to realize the present invention
Figure 10 is the high-level schematic functional block diagram of application programming interfaces cache management in second embodiment of the invention.
Reference numeral:
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be appreciated by those skilled in the art that other than being used in particular for the element of mobile purpose, it is according to the present invention The construction of embodiment can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its terminal of each embodiment to realize the present invention, the terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, storage The components such as device 109, processor 110 and power supply 111.It will be understood by those skilled in the art that terminal structure shown in Fig. 1 The not restriction of structure paired terminal, terminal may include than illustrating more or fewer components, either combine certain components or Different component arrangements.
The all parts of terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 102 Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 is shown WiFi module 102, but it is understood that, and it is not belonging to must be configured into for terminal, it can not change as needed completely Become in the range of the essence of invention and omits.
Audio output unit 103 can be in call signal reception pattern, call mode, logging mode, language in terminal 100 It is that radio frequency unit 101 or WiFi module 102 are received or depositing when under the isotypes such as sound recognition mode, broadcast reception mode The audio data stored in reservoir 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 may be used also To provide the relevant audio output of specific function executed with terminal 100 (for example, call signal receives sound, message sink sound Sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone Configurable fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature The other sensors such as meter, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 107 may include touch panel 1071 and its His input equipment 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (are compared Such as user is using finger, stylus any suitable object or attachment on touch panel 1071 or near touch panel 1071 Operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detecting apparatus With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect what touch operation was brought Signal transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is converted At contact coordinate, then processor 110 is given, and order that processor 110 is sent can be received and executed.Furthermore, it is possible to adopt Touch panel 1071 is realized with multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be to realize the function that outputs and inputs of terminal as two independent components, but in some embodiments it is possible to will Touch panel 1071 is integrated with display panel 1061 and realizes the function that outputs and inputs of terminal, does not limit herein specifically.
Interface unit 108 be used as at least one external device (ED) connect with terminal 100 can by interface.For example, external Device may include wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless number According to port, memory card port, the port for connecting the device with identification module, the port audio input/output (I/O), regard The ports frequency I/O, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data are believed Breath, electric power etc.) and by one or more elements that the input received is transferred in terminal 100 or can be used at end Transmission data between end 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 109, and call and be stored in memory 109 Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 110 may include one Or multiple processing units;Preferably, processor 110 can integrate application processor and modem processor, wherein application processing The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 110.
Terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be with It is logically contiguous by power-supply management system and processor 110, to by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
Although Fig. 1 is not shown, terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system being based below to the terminal of the present invention are retouched It states.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., it does not limit herein.
Another communication system architecture schematic diagram of Fig. 3 each embodiment information push methods to realize the present invention.
The communication system includes multiple terminals 100 (one is only shown in figure), multiple application servers 200 and caching Server 300.
In the prior art, various applications are installed in terminal 100, each application is corresponding, and there are one application clothes Business device 200, when some application in any terminal needs calling interface, terminal 100 can be to the application server of the application 200 transmission interface call requests after application server 200 receives the interface call request of the application, can respond the request and return It returns an interface return value and gives the application, include that the return parameters of the corresponding interface call request return in interface return value Value.Since the data volume that terminal is asked to application server is larger, application server 200 generally passes through cache server 300 buffer services provided carry out unified storage and management to return value, when receiving interface call request just from Go back on cache server 300 need interface return value, therefore, cache server 300 is mainly responsible for application server 200 Buffer service is provided.
It is to be appreciated that in the present invention, server can be an individual server, can also be to be serviced by more One server cluster of device composition.
Based on 100 hardware configuration of above-mentioned terminal and communications network system, each embodiment of the method for the present invention is proposed.
Embodiment one:
First, the present invention proposes a kind of application programming interfaces buffer memory management method, and a kind of application programming interfaces are slow Management method is deposited applied to application server 200 shown in Fig. 3.In the present embodiment, according to different requirements, The execution sequence of step in flow chart shown in Fig. 4 can change, and certain steps can be omitted, and the application programming interfaces are slow Management method is deposited to include the following steps:
Step S401, the interface call request that each terminal of real-time reception is sent;
Step S402 counts total interface call request received in preset period of time to determine target interface;
Specifically, in the present embodiment, terminal refers mainly to terminal shown in above-mentioned Fig. 1-3.Application in each terminal For program when needing calling interface, terminal all can be to corresponding application server transmission interface call request.Application server root According to the interface call request received, each can be determined by counting the total interface call request received in preset period of time The calling situation of interface, which interface are often called, which interface is called fewer, for called relatively more flat Frequent interface can be chosen as target interface.The quantity of target interface can be multiple, and specific quantity can be according to one As the memory space of router and the data volume size of interface return value, on the application server by corresponding application provider It is set, to ensure that router memory space can accommodate the return value of target interface as standard.
It is understood that herein, preset period of time can be set by application provider according to the flow stage of request of data Fixed, if within certain period, the conceptual data amount of request is huge, and interface call request quantity is very huge, then corresponding pre- If the period can be shorter, for example, it may be one week, several days., whereas if within certain period, the conceptual data amount of request compared with Small, interface call request quantity is few, then corresponding preset period of time can be longer, for example, it may be one month etc., the present invention couple This is not specifically limited.
Further, Fig. 5 is please also refer to, shown is the refined flow chart of step S402 in Fig. 3, in the present embodiment, Step S402 is specifically included:
Step S501 records the interface that each interface call request received is called;
Step S502, according to each interface in the preset period of time be called number carry out statistics and by each interface by Number from being more to ranked up less;
Step S503 determines the interface for the preceding preset quantity that sorts as target interface.
Specifically, application server can record the calling of interface each time.An interface call request is received every time, then The called number of the corresponding interface of the request can be increased accordingly, it will be understood that the effective time of this record can be pre- If the period.The called number of each interface can determine one by one in preset period of time interior application server as a result, using clothes Business device is ranked up each interface according to called number, sorts successively according to from more to small, is called often, then sorts Preceding.Then, the interface for the preceding preset quantity that sorts is chosen as target interface.As described above, preset quantity can basis The memory space of general router and the data volume size of interface return value, by corresponding application provider in application server On set, to ensure that router memory space can accommodate the return value of target interface as standard, can generally set one A minimum threshold value is as default value.
Step S403 obtains total interface call request of the target interface in the preset period of time and records with determination Destination router;
Specifically, after target interface is determined, it is necessary to which the return value of target interface is cached to corresponding target road By on device.It is thus necessary to determine that destination router.It is understood that destination router is necessarily corresponding to target interface A certain router on the communication link that interface requests are passed through, therefore, application server are needed according in preset period of time The corresponding total interface call request record of target interface obtains corresponding routing iinformation then can be true according to routing iinformation Set the goal router.It is understood that the selection of destination router using close to terminal side as criterion, that is, choose it is each A interface call request from terminal send out after by first router as destination router.
Further, referring to FIG. 6, shown is the refined flow chart of step S403 in the present invention, in the present embodiment, step Rapid S403 specifically includes following steps:
It is corresponding all to obtain total interface call request of the target interface in the preset period of time by step S601 Routing iinformation;
Step S602 determines the corresponding source routing address of each routing iinformation;
Step S603, using the corresponding router of all source routing address as destination router.
Specifically, application server when receiving each interface call request, can also synchronize parsing, this connects Mouthful call request is to obtain corresponding routing iinformation, and by obtained routing iinformation and request time synchronous recording to the interface pair The request routing table answered, have recorded on the routing iinformation this interface requests sent out from terminal reach application server after passed through All routing nodes IP address.After determining target interface, because timing statistics are preset period of time, therefore, can only it obtain Take asking for the corresponding all routing iinformations of the total interface call request in target interface in preset period of time namely target interface It asks in routing table from all routing iinformations in preset period of time.In the present embodiment, choose each interface call request from Terminal send out after by first router as destination router, the source routing address in corresponding routing iinformation, from routing After determining source routing address in information, also it is assured that source router as destination router.Target interface is in preset period of time Interior all source routers are exactly destination router.It is understood that can have multiple terminals under a destination router, That is, first router on the communication link for the interface call request that multiple terminals are sent out all is same.For example, some Terminal user in LAN, any interface call request that all terminals are sent out may all can be by same router locals Net, then the source router of these interface call requests is all same router.
It should be noted that request routing table is stored in application server for recording distinct interface call request One record sheet of routing iinformation, the present invention are not limited its specific record form.
Fig. 8 is please also refer to, shown is one that terminal interface call request reaches application server through destination router Communication link schematic diagram, as shown in the figure, it is assumed that some application program in terminal wants calling interface 1, is needed at this time to application Server transmission interface call request, the interface call request after terminal is sent out, successively pass through router A, router B and Router C finally reaches application server, and after application server receives the interface call request, parsing obtains routing iinformation And request time, routing iinformation include the IP address of router A, router B, router C and terminal A, these information all by It being recorded in the request routing table of interface 1, it is assumed that the interface 1 that the interface call request is called just is confirmed to be target interface, It is then then destination router near the router A of terminal.
Data cached comprising the target interface return value is sent to the destination router by described by step S404 Destination router is cached.
Specifically, after determining target interface, the return value of target interface can be passed to destination router by application server It is cached, when transmitting, needs to be packaged data, increase corresponding identification information, in this way, destination router is receiving To can be carried out according to identification information and solicited message when interface call request matching determine whether it is interface call request The return value needed, if so, return value is directly just fed back to terminal i.e. without transmitting the interface call request further along It can.It is understood that herein, identification information may include the information that Apply Names, interface name etc. have mark action, use It is different data cached to distinguish.In the prior art, it because not preserving return value in router, therefore, connects every time Interface call request is received, router is required for interface call request passing to next node until application server receives To interface call request, then application server again feeds back the request corresponding return value original road, and router receives It after the return value fed back to, also not preserving, but is directly matched with solicited message, success is just directly returned to terminal, Failure then abandons.
Further, referring to FIG. 7, shown is the refined flow chart of step S404 in the present invention, in the present embodiment, step Rapid S404 specifically includes following steps:
Step S701 determines the corresponding return value of the target interface;
The return value is packaged with corresponding content identification data cached to obtain, wherein described by step S702 Content identification includes the caching term of validity;
Step S703 data cached is returned when receiving the interface call request from the destination router by described It is back to the destination router.
It, all can there are one corresponding content identification, application servers specifically, the corresponding return value of each target interface When being packaged to the corresponding return value of target interface and corresponding content identification, the content of encapsulation includes Apply Names, interface Title, parameter value (i.e. return value), caching the term of validity, wherein with title, interface name, caching the term of validity be return value correspond to Content identification.The term of validity, that is, data cached residence time in the router is cached, it can be by application provider according to reality Situation is set, and still, the caching term of validity is longer than the term of validity of return value in cache server.Obtain it is data cached after, Application server needs to store data cached be transmitted on destination router, due to application server and destination router Between do not communicated actively, therefore, can responded when receiving the interface call request from router next time The data cached conduct feedback data is sent to destination router by the interface.
It is to be appreciated that data cached being sent to destination server when the return value of some target interface has been used as Afterwards, then corresponding caching can after a certain period of time be deleted retaining on cache server.If the corresponding return value of the target interface There is update, then reapplies server notice cache server and re-start caching.
Further, in the present embodiment, the method is further comprising the steps of:
When detecting the target interface corresponding return value update, update is described data cached;
It is prompted to the corresponding terminal push update of the destination router so that the terminal is in transmission interface call request When carry preset buffer memory more new logo;
When receiving the interface call request comprising the preset buffer memory more new logo, by the updated caching number According to being back to the destination router.
Specifically, since newer return value actively can not be pushed to router by application server, so working as application service It when device finds that the return value of some target interface has update, needs by way of push, which is pushed to Terminal under destination router, in this way, when the terminal is in next invocation target interface, it will be in interface call request The mark for increasing a buffer update, to illustrate that the feedback data asked can only be obtained from application server herein, in this way, and mesh When marking router communication, if it find that there are the marks of buffer update, then will not go to obtain it is data cached in destination router, But interface requests are directly passed up into application server, by application server updated connect is obtained from cache server Mouthful return value and again by backtracking, feeds back to terminal, in this way, data cached being also transmitted to mesh simultaneously by updated Mark in router, with ensure in destination router it is data cached be all newest.
The application programming interfaces buffer memory management method that the present embodiment is proposed, the interface tune that each terminal of real-time reception is sent With request;Total interface call request received by counting in preset period of time is to determine target interface;The target is obtained to connect Total interface call request of the mouth in the preset period of time is recorded to determine destination router;It will be returned comprising the target interface The data cached of value is returned to be sent to the destination router and cached by the destination router.Compared with prior art, originally Invention is utilized by will partly call the return value of frequent interface to store onto router, ensures that terminal is calling this part Can interface return value directly be obtained by router when interface, reduce the communication chain passed through required for interface call request Road.The speed for improving interface calling, also reduces the power consumption of terminal, improves the application experience of user, also reduces simultaneously Server side caches cost.
Embodiment two:
In addition, the present invention provides a kind of application programming interfaces cache management program 10.
As shown in figure 9, being a hardware structure diagram schematic diagram of each one optional application server of embodiment of the present invention. Application server 200 includes processing 210, memory 211 and communication bus 212.Wherein communication bus 212 is for realizing processor Connection communication between 210 and memory 211.As shown in Figure 10, it is the application programming interfaces of second embodiment of the invention offer The high-level schematic functional block diagram of cache management program 10.In the present embodiment, the application programming interfaces cache management program 10 can To be divided into one or more modules, one or more of modules are stored in the memory of the application server 200 In, and performed by one or more processors, to complete the present invention.For example, in Fig. 10, the application programming interfaces are slow Request receiving module 11 can be divided into, call statistical module 12, record acquisition module 13 and caching by depositing management program 10 Pushing module 14.The so-called module of the present invention refers to a series of a kind of readable computer programs instruction that can complete specific function Section, the implementation procedure than computer program more suitable for description software in the application server 200.It below will be just above-mentioned each The concrete function of function module 11-14 is described in detail.Wherein:
Request receiving module 11, the interface call request sent for each terminal of real-time reception;
Statistical module 12 is called, for counting in preset period of time received total interface call request to determine target Interface;
Specifically, in the present embodiment, terminal refers mainly to terminal shown in above-mentioned Fig. 1-3.Application in each terminal For program when needing calling interface, terminal all can be to corresponding application server transmission interface call request.Call statistical module 12 according to the interface call request received, and counting the total interface call request received in preset period of time can determine often The calling situation of one interface, which interface are often called, which interface is called fewer, for called ratio Frequent interface is relatively put down, can be chosen as target interface.The quantity of target interface can be multiple, and specific quantity can root According to the memory space of general router and the data volume size of interface return value, by corresponding application provider in application service It is set on device, to ensure that router memory space can accommodate the return value of target interface as standard.
It is understood that herein, preset period of time can be set by application provider according to the flow stage of request of data Fixed, if within certain period, the conceptual data amount of request is huge, and interface call request quantity is very huge, then corresponding pre- If the period can be shorter, for example, it may be one week, several days., whereas if within certain period, the conceptual data amount of request compared with Small, interface call request quantity is few, then corresponding preset period of time can be longer, for example, it may be one month etc., the present invention couple This is not specifically limited.
Further, in the present embodiment, statistical module 12 is called to specifically include:
Recording unit, the interface called for recording each interface call request received;
Sequencing unit, the number for being called according to each interface in the preset period of time count and connect each Mouthful by number from being more to ranked up less;
Determination unit, for determining the interface for the preceding preset quantity that sorts as target interface.
Specifically, recording unit can record the calling of interface each time.An interface call request is received every time, then phase The meeting answered increases the called number of the corresponding interface of the request, it will be understood that the effective time of this record can be default Period.The called number of each interface can determine one by one in preset period of time interior application server as a result, sequencing unit Each interface is ranked up according to called number, is sorted successively according to from more to small, is called often, then sequence exists Before.Then, it is determined that unit selection sorts, the interface of preceding preset quantity is as target interface.As described above, preset quantity can According to the data volume size of the memory space of general router and interface return value, to be applied by corresponding application provider It is set on server, it, generally can be with to ensure that router memory space can accommodate the return value of target interface as standard The minimum threshold value of setting one is as default value.
Acquisition module 13 is recorded, for obtaining total interface call request of the target interface in the preset period of time Record is to determine destination router;
Specifically, after target interface is determined, it is necessary to which the return value of target interface is cached to corresponding target road By on device.It is thus necessary to determine that destination router.It is understood that destination router is necessarily corresponding to target interface A certain router on the communication link that interface requests are passed through, therefore, record acquisition module 13 are needed according to when default The corresponding routing iinformation of the corresponding total interface call request record acquisition of target interface then can according to routing iinformation in section To determine destination router.It is understood that the selection of destination router using close to terminal side as criterion, that is, choose Each interface call request from terminal send out after by first router as destination router.
Further, in the present embodiment, record acquisition module 13 specifically includes:
Route acquisition unit, for obtaining total interface call request pair of the target interface in the preset period of time All routing iinformations answered;
Address determination unit, for determining the corresponding source routing address of each routing iinformation;
Target determination unit, for using the corresponding router of all source routing address as destination router.
Specifically, application server when receiving each interface call request, can also synchronize parsing, this connects Mouthful call request is to obtain corresponding routing iinformation, and by obtained routing iinformation and request time synchronous recording to the interface pair The request routing table answered, have recorded on the routing iinformation this interface requests sent out from terminal reach application server after passed through All routing nodes IP address.After determining target interface, because timing statistics are preset period of time, therefore, route acquisition Unit can be obtained only in the corresponding all routing iinformations of total interface call request of the target interface in preset period of time, namely From all routing iinformations in preset period of time in the request routing table of target interface.In the present embodiment, target determination unit Choose each interface call request from terminal send out after by first router as destination router, corresponding routing letter Source routing address in breath, address determination unit are also assured that source routing after determining source routing address in routing iinformation Device is as destination router.All source routers of the target interface in preset period of time are exactly destination router.It is appreciated that It is can have multiple terminals under a destination router, that is, on the communication link for the interface call request that multiple terminals are sent out First router be all same.For example, the terminal user in some LAN, any interface that all terminals are sent out Call request may all can be by same router LAN, then the source router of these interface call requests is all same Router.
It should be noted that request routing table is stored in application server for recording distinct interface call request One record sheet of routing iinformation, the present invention are not limited its specific record form.
Fig. 8 is please also refer to, shown is one that terminal interface call request reaches application server through destination router Communication link schematic diagram, as shown in the figure, it is assumed that some application program in terminal wants calling interface 1, is needed at this time to application Server transmission interface call request, the interface call request after terminal is sent out, successively pass through router A, router B and Router C finally reaches application server, and after application server receives the interface call request, parsing obtains routing iinformation And request time, routing iinformation include the IP address of router A, router B, router C and terminal A, these information all by It being recorded in the request routing table of interface 1, it is assumed that the interface 1 that the interface call request is called just is confirmed to be target interface, It is then then destination router near the router A of terminal.
Pushing module 14 is cached, for will include that the data cached of the target interface return value is sent to the target road It is cached by the destination router by device.
Specifically, after determining target interface, the return value of target interface can be passed to target road by caching pushing module 14 It is cached by device, when transmitting, needs to be packaged data, increase corresponding identification information, in this way, destination router exists Matching can be carried out when receiving interface call request according to identification information and solicited message and determines whether it is that interface calls The return value needed is asked, if so, return value is directly just fed back to terminal without transmitting the interface call request further along .It is understood that herein, identification information may include the information that Apply Names, interface name etc. have mark action, It is different data cached to distinguish.In the prior art, because not preserving return value in router, therefore, every time Interface call request is received, router is required for interface call request passing to next node until application server connects Interface call request is received, then application server again feeds back the request corresponding return value original road, and router receives It to after the return value fed back to, does not also preserve, but is directly matched with solicited message, success is just directly returned to end End, failure then abandon.
Further, in the present embodiment, caching pushing module 14 specifically includes:
Return value determination unit, for determining the corresponding return value of the target interface;
Data packaging unit, it is data cached to obtain for being packaged with corresponding content identification the return value, Wherein, the content identification includes the caching term of validity;
Data transmission unit, when receiving the interface call request from the destination router, by the caching number According to being back to the destination router.
Specifically, the corresponding return value of each target interface, it all can be there are one corresponding content identification, data encapsulation is single When member is packaged the corresponding return value of target interface and corresponding content identification, the content of encapsulation includes Apply Names, connects Mouthful title, parameter value (i.e. return value), the caching term of validity, wherein with title, interface name, to cache the term of validity be return value pair The content identification answered.The term of validity, that is, data cached residence time in the router is cached, it can be by application provider according to reality Border situation is set, and still, the caching term of validity is longer than the term of validity of return value in cache server.It obtains data cached Afterwards, data transmission unit needs to store data cached be transmitted on destination router, due to application server and target Do not communicated actively between router, therefore, can when receiving the interface call request from router next time, The data cached conduct feedback data is sent to destination router responding the interface.
It is to be appreciated that data cached being sent to destination server when the return value of some target interface has been used as Afterwards, then corresponding caching can after a certain period of time be deleted retaining on cache server.If the corresponding return value of the target interface There is update, then reapplies server notice cache server and re-start caching.
Further, in the present embodiment, the application programming interfaces cache management program 10 further includes:
Data update module, for when detecting the target interface corresponding return value update, updating the caching Data;
Pushing module is updated, for the corresponding terminal push update prompt of the destination router so that the terminal exists Preset buffer memory more new logo is carried when transmission interface call request;
Wherein, caching pushing module 14 is additionally operable to receive the interface calling comprising the preset buffer memory more new logo and asks When asking, described data cached the destination router is back to by updated.
Specifically, since newer return value actively can not be pushed to router by application server, so working as data update When module finds that the return value of some target interface has update, update pushing module needs by way of push, by this New information is pushed to the terminal under destination router, in this way, when the terminal is in next invocation target interface, Jiu Hui The mark for increasing a buffer update in interface call request, to illustrate that the feedback data asked can only be from application server herein It obtains, in this way, when communicating with destination router, if it find that there are the marks of buffer update, then will not go to obtain target routing It is data cached in device, but interface requests are directly passed up into application server, by caching pushing module 14 from caching Server obtains updated interface return value and again by backtracking, terminal is fed back to, in this way, by updated caching Data have also been transmitted in destination router simultaneously, with ensure in destination router it is data cached be all newest.
By executing the application programming interfaces cache management program of the present embodiment, the interface that each terminal of real-time reception is sent Call request;Total interface call request received by counting in preset period of time is to determine target interface;Obtain the target Total interface call request of the interface in the preset period of time is recorded to determine destination router;It will include the target interface The data cached of return value is sent to the destination router and is cached by the destination router.Compared with prior art, Present invention utilizes by will partly call the return value of frequent interface to store onto router, ensure that terminal is calling this portion Can interface return value directly be obtained by router when tapping mouth, reduce the communication chain passed through required for interface call request Road.The speed for improving interface calling, also reduces the power consumption of terminal, improves the application experience of user, also reduces simultaneously Server side caches cost.
The present invention further provides a kind of computer readable storage medium, it is stored on the computer readable storage medium Above application routine interface cache management program is realized such as when the application programming interfaces cache management program is executed by processor The upper application programming interfaces buffer memory management method.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of application programming interfaces buffer memory management method is applied to application server side, which is characterized in that application programming interfaces Caching method includes the following steps:
The interface call request that each terminal of real-time reception is sent;
Total interface call request received by counting in preset period of time is to determine target interface;
Total interface call request of the target interface in the preset period of time is obtained to record to determine destination router;
By data cached comprising the target interface return value be sent to the destination router by the destination router into Row caching.
2. application programming interfaces buffer memory management method as described in claim 1, which is characterized in that in the statistics preset period of time The step of received total interface call request is to determine target interface specifically includes:
Record the interface that each interface call request received is called;
The number being called according to each interface in the preset period of time carry out statistics and by each interface by number from more to few It is ranked up;
Determine the interface for the preceding preset quantity that sorts as target interface.
3. application programming interfaces buffer memory management method as described in claim 1, which is characterized in that the acquisition target connects The step of total interface call request of the mouth in the preset period of time is recorded to determine destination router specifically includes:
Obtain the corresponding all routing iinformations of total interface call request of the target interface in the preset period of time;
Determine the corresponding source routing address of each routing iinformation;
Using the corresponding router of all source routing address as destination router.
4. application programming interfaces buffer memory management method as described in claim 1, which is characterized in that described will include the target The data cached of interface return value is sent to the step of destination router is cached by the destination router and specifically wraps It includes:
Determine the corresponding return value of the target interface;
The return value is packaged with corresponding content identification data cached to obtain, wherein the content identification includes Cache the term of validity;
When receiving the interface call request from the destination router, data cached the target road is back to by described By device.
5. application programming interfaces buffer memory management method as described in claim 1, which is characterized in that the method further includes:
When detecting the target interface corresponding return value update, update is described data cached;
To the corresponding terminal push update prompt of the destination router so that the terminal is taken in transmission interface call request Band preset buffer memory more new logo;
When receiving the interface call request comprising the preset buffer memory more new logo, described data cached returned updated It is back to the destination router.
6. a kind of application server, which is characterized in that the application server includes memory, processor and is stored in described deposit On reservoir and the application programming interfaces cache management program that can run on the processor, the application programming interfaces caching pipe Reason program realizes following steps when being executed by the processor:
The interface call request that each terminal of real-time reception is sent;
Total interface call request received by counting in preset period of time is to determine target interface;
Total interface call request of the target interface in the preset period of time is obtained to record to determine destination router;
By data cached comprising the target interface return value be sent to the destination router by the destination router into Row caching.
7. application server as claimed in claim 6, which is characterized in that it is slow that the processor executes the application programming interfaces Management program is deposited to realize the step of total interface call request received in statistics preset period of time is to determine target interface It specifically includes:
Record the interface that each interface call request received is called;
The number being called according to each interface in the preset period of time carry out statistics and by each interface by number from more to few It is ranked up;
Determine the interface for the preceding preset quantity that sorts as target interface.
8. application server as claimed in claim 6, which is characterized in that it is slow that the processor executes the application programming interfaces Management program is deposited to realize that obtaining total interface call request of the target interface in the preset period of time records with determination The step of destination router, specifically includes:
Obtain the corresponding all routing iinformations of total interface call request of the target interface in the preset period of time;
Determine the corresponding source routing address of each routing iinformation;
Using the corresponding router of all source routing address as destination router.
9. application server as claimed in claim 6, which is characterized in that it is slow that the processor executes the application programming interfaces It deposits management program and data cached comprising the target interface return value is sent to the destination router by described to realize The step of destination router is cached specifically includes:
Determine the corresponding return value of the target interface;
The return value is packaged with corresponding content identification data cached to obtain, wherein the content identification includes Cache the term of validity;
When receiving the interface call request from the destination router, data cached the target road is back to by described By device.
10. a kind of computer readable storage medium, which is characterized in that be stored with using journey on the computer readable storage medium Sequence interface cache management program realizes such as claim 1 when the application programming interfaces cache management program is executed by processor The step of to application programming interfaces buffer memory management method described in any one of 5.
CN201711440777.XA 2017-12-27 2017-12-27 Application program interface cache management method, application server and storage medium Active CN108282405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711440777.XA CN108282405B (en) 2017-12-27 2017-12-27 Application program interface cache management method, application server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711440777.XA CN108282405B (en) 2017-12-27 2017-12-27 Application program interface cache management method, application server and storage medium

Publications (2)

Publication Number Publication Date
CN108282405A true CN108282405A (en) 2018-07-13
CN108282405B CN108282405B (en) 2020-09-18

Family

ID=62802300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711440777.XA Active CN108282405B (en) 2017-12-27 2017-12-27 Application program interface cache management method, application server and storage medium

Country Status (1)

Country Link
CN (1) CN108282405B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189509A (en) * 2018-09-03 2019-01-11 中国平安人寿保险股份有限公司 The response method and server that call method, the interface of interface call
CN110865876A (en) * 2019-09-23 2020-03-06 珠海格力电器股份有限公司 Scheduling method and device for service dependent resources
CN111367683A (en) * 2018-12-25 2020-07-03 华为技术有限公司 Result obtaining method, device and equipment
CN113590699A (en) * 2021-07-14 2021-11-02 车智互联(北京)科技有限公司 Interface request processing method and system and computing equipment
CN115145712A (en) * 2022-09-06 2022-10-04 云账户技术(天津)有限公司 Interface calling method, device, equipment and medium for external service platform

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7263712B2 (en) * 2001-05-29 2007-08-28 Intel Corporation Enabling a PC-DTV receiver to share the resource cache with multiple clients
US20130097680A1 (en) * 2011-10-17 2013-04-18 Microsoft Corporation High-density multi-tenant distributed cache as a service
US8930632B2 (en) * 2012-11-14 2015-01-06 Ebay Inc. Methods and systems for application controlled pre-fetch
US9229743B2 (en) * 2011-09-23 2016-01-05 International Business Machines Corporation Prevention of classloader memory leaks in multitier enterprise applications
CN105701164A (en) * 2015-12-30 2016-06-22 广东欧珀移动通信有限公司 Statistical method and device for web hits
CN106648873A (en) * 2016-12-29 2017-05-10 努比亚技术有限公司 System service data acquiring device and method
CN107317855A (en) * 2017-06-21 2017-11-03 努比亚技术有限公司 A kind of data cache method, data request method and server
CN107341052A (en) * 2017-06-07 2017-11-10 努比亚技术有限公司 A kind of message treatment method and device
CN107346307A (en) * 2016-05-04 2017-11-14 北京京东尚科信息技术有限公司 Distributed cache system and method
CN108304302A (en) * 2017-12-22 2018-07-20 努比亚技术有限公司 A kind of interface merging method, equipment and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7263712B2 (en) * 2001-05-29 2007-08-28 Intel Corporation Enabling a PC-DTV receiver to share the resource cache with multiple clients
US9229743B2 (en) * 2011-09-23 2016-01-05 International Business Machines Corporation Prevention of classloader memory leaks in multitier enterprise applications
US20130097680A1 (en) * 2011-10-17 2013-04-18 Microsoft Corporation High-density multi-tenant distributed cache as a service
US8930632B2 (en) * 2012-11-14 2015-01-06 Ebay Inc. Methods and systems for application controlled pre-fetch
CN105701164A (en) * 2015-12-30 2016-06-22 广东欧珀移动通信有限公司 Statistical method and device for web hits
CN107346307A (en) * 2016-05-04 2017-11-14 北京京东尚科信息技术有限公司 Distributed cache system and method
CN106648873A (en) * 2016-12-29 2017-05-10 努比亚技术有限公司 System service data acquiring device and method
CN107341052A (en) * 2017-06-07 2017-11-10 努比亚技术有限公司 A kind of message treatment method and device
CN107317855A (en) * 2017-06-21 2017-11-03 努比亚技术有限公司 A kind of data cache method, data request method and server
CN108304302A (en) * 2017-12-22 2018-07-20 努比亚技术有限公司 A kind of interface merging method, equipment and computer readable storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189509A (en) * 2018-09-03 2019-01-11 中国平安人寿保险股份有限公司 The response method and server that call method, the interface of interface call
CN109189509B (en) * 2018-09-03 2024-04-26 中国平安人寿保险股份有限公司 Interface calling method, interface calling response method and server
CN111367683A (en) * 2018-12-25 2020-07-03 华为技术有限公司 Result obtaining method, device and equipment
CN110865876A (en) * 2019-09-23 2020-03-06 珠海格力电器股份有限公司 Scheduling method and device for service dependent resources
CN113590699A (en) * 2021-07-14 2021-11-02 车智互联(北京)科技有限公司 Interface request processing method and system and computing equipment
CN113590699B (en) * 2021-07-14 2023-12-01 车智互联(北京)科技有限公司 Interface request processing method, system and computing device
CN115145712A (en) * 2022-09-06 2022-10-04 云账户技术(天津)有限公司 Interface calling method, device, equipment and medium for external service platform

Also Published As

Publication number Publication date
CN108282405B (en) 2020-09-18

Similar Documents

Publication Publication Date Title
CN108282405A (en) Application programming interfaces buffer memory management method, application server and storage medium
CN108536481A (en) A kind of application program launching method, mobile terminal and computer storage media
CN108391025A (en) A kind of network access management method, mobile terminal and computer readable storage medium
CN107688607A (en) The method and mobile terminal of a kind of database access, computer-readable recording medium
CN108200273A (en) Desktop icons display methods, terminal and computer readable storage medium
CN108762876A (en) A kind of input method switching method, mobile terminal and computer storage media
CN107193889A (en) Ad blocking method, terminal and computer-readable recording medium
CN107133297A (en) Data interactive method, system and computer-readable recording medium
CN108390908A (en) A kind of data request processing method, apparatus and computer readable storage medium
CN108600330A (en) Deferred information method for pushing, equipment and computer readable storage medium
CN109697008A (en) A kind of content share method, terminal and computer readable storage medium
CN108834157A (en) Internet wide band distribution, mobile terminal and computer readable storage medium
CN107678625A (en) Information Sharing menu display method, mobile terminal and computer-readable recording medium
CN109034317A (en) A kind of two-dimensional code scanning method, terminal and computer readable storage medium
CN108776600A (en) Application program pretrigger method, mobile terminal and computer readable storage medium
CN107818022A (en) Application programming interfaces merging method, mobile terminal and computer-readable recording medium
CN108011937A (en) Information push method, server, intelligent terminal and computer-readable recording medium
CN109445945A (en) Memory allocation method, mobile terminal, server and the storage medium of application program
CN109902228A (en) Resource request, push control method, terminal, server and readable storage medium storing program for executing
CN108900503A (en) Data communications method, communication processing equipment, terminal and readable storage medium storing program for executing
CN108595672A (en) The method, apparatus and readable storage medium storing program for executing of file type are downloaded in a kind of identification
CN108306856A (en) A kind of interface merging method, client, server and computer readable storage medium
CN108234979A (en) A kind of image pickup method, mobile terminal and computer readable storage medium
CN107483603A (en) Method, push server, application server and the storage medium of PUSH message
CN108040116A (en) Information push method, router and computer-readable recording 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
TA01 Transfer of patent application right

Effective date of registration: 20200825

Address after: Room 1008, comprehensive south building, room 9, No. 1699, Zuchongzhi South Road, Yushan Town, Kunshan City, Suzhou City, Jiangsu Province

Applicant after: HAOHUO (KUNSHAN) NETWORK TECHNOLOGY Co.,Ltd.

Address before: 518057 Dazu Innovation Building A Area 6-8 Floors, 10-11 Floors, B Area 6 Floors, C Area 6-10 Floors, 9018 North Ring Avenue, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

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