CN108683699A - The method and apparatus of forwarding service request - Google Patents

The method and apparatus of forwarding service request Download PDF

Info

Publication number
CN108683699A
CN108683699A CN201810272199.1A CN201810272199A CN108683699A CN 108683699 A CN108683699 A CN 108683699A CN 201810272199 A CN201810272199 A CN 201810272199A CN 108683699 A CN108683699 A CN 108683699A
Authority
CN
China
Prior art keywords
service
server
identification
business
shielded
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
CN201810272199.1A
Other languages
Chinese (zh)
Other versions
CN108683699B (en
Inventor
何胜名
黄伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network 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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201810272199.1A priority Critical patent/CN108683699B/en
Publication of CN108683699A publication Critical patent/CN108683699A/en
Application granted granted Critical
Publication of CN108683699B publication Critical patent/CN108683699B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • 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
    • 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

Abstract

The disclosure is directed to a kind of method and apparatus of forwarding service request, belong to Internet technical field.The method includes:The shielding request of reception business determines that the server identification of corresponding service server to be shielded is asked in business shielding;In the correspondence of each pre-stored service identification and the attribute information of available service server, the attribute information of the server identification comprising service server to be shielded is deleted;Corresponding attribute information is identified according to target service, service request is forwarded., can be according to the server identification of service server to be shielded, automatic shield service server to be shielded using the disclosure, and then the operating efficiency of forwarding service request substantially increases.

Description

The method and apparatus of forwarding service request
Technical field
The disclosure is directed to Internet technical fields, especially with respect to a kind of method and apparatus of forwarding service request.
Background technology
Service server can provide various services for the terminal of initiating business request.Usually, service server is not Various services directly are provided for terminal, are that the service request that terminal is sent is forwarded to by business service by proxy server Device.It is used as intermediary by proxy server, can ensures the safety of the service data in service server.
It after service server runs a period of time, needs to safeguard service server, so that after safeguarding Service server can preferably provide various services.
During realizing the disclosure, inventor has found to have at least the following problems:
During maintenance service server, service request can be also forwarded to the business clothes safeguarded by proxy server Business device, the service server safeguarded do not handle service request, it may occur that processing failure.When proxy server detects everywhere When managing turkey, then service request is transmitted to other service servers.As it can be seen that the operating efficiency of above-mentioned forwarding service request It is relatively low.
Invention content
In order to overcome the problems, such as that present in the relevant technologies, present disclose provides following technical schemes:
According to the first aspect of the embodiments of the present disclosure, a kind of method of forwarding service request is provided, the method includes:
The shielding request of reception business determines that the server mark of corresponding service server to be shielded is asked in the business shielding Know;
In the correspondence of each pre-stored service identification and the attribute information of available service server, packet is deleted The attribute information of server identification containing the service server to be shielded, wherein the corresponding available service of the service identification The attribute information of server includes the server identification of available service server;
When receiving the service request for carrying target service mark, if in correspondence after delete processing, It finds the target service and identifies corresponding attribute information, then corresponding attribute information is identified according to the target service, it is right The service request is forwarded.
Optionally, destination server group identification, the determination business screen are carried in the business shielding request The server identification for asking corresponding service server to be shielded is covered, including:
Based on the correspondence of preset server farm mark and server identification, the destination server group is determined Corresponding server identification is identified, the server identification as service server to be shielded.
Optionally, the server identification of corresponding service server to be shielded, packet are asked in the determination business shielding It includes:
Obtain the server identification of the service server to be shielded carried in the business shielding request.
Optionally, the attribute information of the corresponding available service server of the service identification further includes:The service identification The service port number of corresponding available service server.
Optionally, the method further includes:Determine that the corresponding service server to be shielded is asked in the business shielding Business to be shielded service port number;
It is described in the correspondence of each pre-stored service identification and the attribute information of available service server, delete Except the attribute information of the server identification comprising the service server to be shielded, including:In each pre-stored business mark Know with the correspondence of the attribute information of available service server, deletes the server for including the service server to be shielded The attribute information of the service port number of mark and the business to be shielded.
Optionally, the method further includes:
If in the correspondence after delete processing, not finding the target service and identifying corresponding attribute information, Then the inaccessible prompt message of business is returned to the equipment for sending the service request.
Optionally, the method further includes:
Count the mistake of the corresponding processing business request of each service port number of each service server in preset duration Lose number;
When the corresponding frequency of failure of target service port numbers is more than preset frequency threshold value, in each pre-stored industry Business mark deletes the attribute for including the target service port numbers with the correspondence of the attribute information of available service server Information.
According to the second aspect of the embodiment of the present disclosure, a kind of device of forwarding service request is provided, described device includes:
Receiving module, for receiving business shielding request;
First determining module, for determining that the server mark of corresponding service server to be shielded is asked in the business shielding Know;
First removing module, for the attribute information in each pre-stored service identification and available service server In correspondence, the attribute information of the server identification comprising the service server to be shielded is deleted, wherein the business mark The attribute information for knowing corresponding available service server includes the server identification of available service server;
Searching module, for when receive carry target service mark service request when, if after delete processing Correspondence in, find the target service and identify corresponding attribute information, then identified and corresponded to according to the target service Attribute information, the service request is forwarded.
Optionally, destination server group identification is carried in the business shielding request, first determining module is used In:
Based on the correspondence of preset server farm mark and server identification, the destination server group is determined Corresponding server identification is identified, the server identification as service server to be shielded.
Optionally, first determining module is used for:
Obtain the server identification of the service server to be shielded carried in the business shielding request.
Optionally, the attribute information of the corresponding available service server of the service identification further includes:The service identification The service port number of corresponding available service server.
Optionally, described device further includes:Second determining module, for determining that the business shielding request is corresponding described The service port number of the business to be shielded of service server to be shielded;
First removing module is used for:Believe in the attribute of each pre-stored service identification and available service server In the correspondence of breath, the business of server identification and the business to be shielded comprising the service server to be shielded is deleted The attribute information of port numbers.
Optionally, described device further includes:
Sending module is corresponded in correspondence after delete processing, not finding the target service mark Attribute information when, return to the inaccessible prompt message of business to the equipment for sending the service request.
Optionally, described device further includes:
Statistical module, the corresponding processing of each service port number for counting each service server in preset duration The frequency of failure of service request;
Second removing module is used for when the corresponding frequency of failure of target service port numbers is more than preset frequency threshold value, In the correspondence of each pre-stored service identification and the attribute information of available service server, it includes the mesh to delete Mark the attribute information of service port number.
According to the third aspect of the embodiment of the present disclosure, a kind of server is provided, the server includes processor and storage Device is stored at least one instruction, at least one section of program, code set or instruction set in the memory, and described at least one refers to It enables, at least one section of program, the code set or the instruction set are loaded by the processor and executed to realize above-mentioned forwarding industry The method for being engaged in asking.
According to the fourth aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, in the storage medium It is stored at least one instruction, at least one section of program, code set or instruction set, described at least one instructs, is at least one section described Program, the code set or instruction set are loaded by processor and are executed the method to realize above-mentioned forwarding service request.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The method that the embodiment of the present disclosure provides receives business shielding request, determines that business shielding request is corresponding to be shielded The server identification of service server;In pair of each pre-stored service identification and the attribute information of available service server In should being related to, the attribute information of the server identification comprising service server to be shielded is deleted, wherein service identification is corresponding can Include the server identification of available service server with the attribute information of service server;Target service mark is carried when receiving When the service request of knowledge, if in correspondence after delete processing, finding target service and identifying corresponding attribute information, Corresponding attribute information is then identified according to target service, service request is forwarded.In this way, can be taken according to business to be shielded The server identification of business device, automatic shield service server to be shielded, and then the operating efficiency of forwarding service request greatly improves .
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow chart schematic diagram of the method for forwarding service request shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart schematic diagram of the method for forwarding service request shown according to an exemplary embodiment;
Fig. 3 is a kind of structural schematic diagram of the device of forwarding service request shown according to an exemplary embodiment;
Fig. 4 is a kind of structural schematic diagram of terminal shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The method that the embodiment of the present disclosure provides a kind of request of forwarding service, this method can by terminal, proxy server, Service server coordinates realization jointly.Wherein, terminal can be mobile phone, tablet computer, desktop computer, notebook computer Deng.
Proxy server may include the components such as transceiver, processor, memory.Transceiver, can be used for terminal into Row data transmission, for example, the business shielding request of terminal transmission can be received, transceiver may include bluetooth component, WiFi (Wireless-Fidelity, wireless fidelity) component, antenna, match circuit, modem etc..Processor, can be with For CPU (Central Processing Unit, central processing unit) etc., can be used in each pre-stored business mark Know with the correspondence of the attribute information of available service server, deletes the server identification for including service server to be shielded Attribute information, wait processing.Memory can be RAM (Random Access Memory, random access memory), Flash (flash memory) etc., the data etc. that can be used for storing the data needed for the data received, processing procedure, generated in processing procedure, The attribute information of the corresponding available service server of such as service identification.
One exemplary embodiment of the disclosure provides a kind of method of forwarding service request, as shown in Figure 1, the place of this method Manage the step that flow may include following:
Step S110 receives business shielding request, determines that the clothes of corresponding service server to be shielded are asked in business shielding Business device mark.
In force, the business shielding behaviour of service server can by manually mode and automatic mode, be carried out Make.Manually mode is that administrator is correspondingly arranged in the terminal, and setting result is carried and shields request transmission in business To proxy server, so that proxy server shields request carry out business masking operation according to business.Automatic mode is generation The state that server is managed automatically according to service server carries out business masking operation.
Wherein, there is business datum on service server, business datum can be based on, various specific services are provided.Agency service Device can be scheduled service server as medium, that is, it is request user service to distribute which service server, can be with One protective barrier is formed to service server, allow request user can not direct access service server, to prevent hacker to industry Business server is attacked.The method that the embodiment of the present disclosure provides can be arranged in proxy server and execute, can also set It sets and is executed in an individual server.It is described for convenience, the embodiment of the present disclosure is carried out by taking proxy server as an example Explanation.
Optionally it is determined that business shielding can wrap the step of asking the server identification of corresponding service server to be shielded It includes:The server identification of the service server to be shielded carried in the shielding request of acquisition business.
Administrator can be in the terminal shielding business setting interface in, on corresponding position, input business to be shielded The server identification of server, the mark can be IP (Internet Protocol, the association interconnected between network of server View) address such as 117.107.152.40, server ID (Identification, identity number) etc..What is inputted is to be shielded The server identification of service server can be carried is sent to proxy server in business shielding request.
Administrator can also carry out the configuration of service server to be shielded in configuration strategy, and proxy server can be according to The renewal time of preset cycle detection configuration strategy.Judge whether local configuration strategy is newest match according to renewal time Strategy is set, if it is not, then obtaining newest configuration strategy from terminal.
Service server to be shielded can be that a server can also be multiple servers, can freely select according to demand It selects.Before the business masking operation for carrying out service server manually, service server can be checked, if any platform business found Server fail can not normally provide service, alternatively, which platform service server has been enter into maintenance period, it can be manual Setting several service servers of shielding this or this.
Optionally, destination server group identification is carried in business shielding request, determines that business shielding request is corresponding The step of server identification of service server to be shielded may include:Based on preset server farm mark and server mark The correspondence of knowledge determines the corresponding server identification of destination server group identification, the clothes as service server to be shielded Business device mark.
In force, it if the quantity of service server to be shielded is more, is singly inputted, operation is more numerous It is trivial, it is time-consuming longer, it is also easy to input by mistake, at this point it is possible to pre-set the corresponding pass of server farm mark and server identification System.The correspondence can be a list, and gauge outfit can be server farm mark in lists, by tabling look-up, Ke Yicha Find server identification corresponding with destination server group identification.The server identification can be one group of server identification, packet Include at least two server identifications.It when server farm is arranged, can be configured, such as will be mounted on by dimension of computer room Multiple service servers of the same computer room are arranged under same server farm.It can also be configured by dimension of function, Such as mounted on the several of different computer rooms will there is the service server for providing public screen chatting service to be arranged in same server zone Under group.Can be according to actual demand, the dimension of arbitrary selection setting server farm.
Business masking operation is carried out as unit of server farm, is mostly carried out to the service server with same function Occur during maintenance, or when needing the power-supply device to a computer room to overhaul.
Optionally, the attribute information of the corresponding available service server of service identification further includes:Service identification is corresponding can With the service port number of service server.
Wherein, service port number can be logical port number.Logical port number refers on logical meaning for distinguishing difference The port numbers of business, such as TCP/IP (Transmission Control Protocol/Internet Protocol, transmission control Agreement/Internet Protocol processed) service port in agreement, the range of service port number is from 0 to 65535.For browsing net The service port number of page business is generally 80, for FTP (File Transfer Protocol, File Transfer Protocol) business Service port number is 21 etc..Shielding " 117.107.152.40 can be arranged in administrator:80 ", that is, shielding IP address is 117.107.152.40 the business of web traffic is browsed in service server, but in this service server, other industry Business still can be used normally.
Optionally, the shielding time can also be set.For example, can be arranged from 24:00:00 to 06:00:Certain is shielded between 00 One or certain several service server.In this way, when the time reaches 24:00:When 00, automatic shield service server to be shielded, when Time reaches 06:00:When 00, ends automatically and shield the service server.
Step S120, in the correspondence of each pre-stored service identification and the attribute information of available service server In, delete the attribute information of the server identification comprising service server to be shielded.
Wherein, the attribute information of the corresponding available service server of service identification includes the server of available service server Mark.
In force, in proxy server, each service identification and available service server can be previously stored with The correspondence of attribute information, the correspondence can be a lists.In the list, gauge outfit can be each service identification such as Traffic ID has the attribute information of available service server corresponding to each traffic ID.It can be in each pre-stored business mark Know with the correspondence of the attribute information of available service server, deletes the server identification for including service server to be shielded All properties information.
Optionally, the method for embodiment of the present disclosure offer further includes:Determine that corresponding business to be shielded is asked in business shielding The service port number of the business to be shielded of server;The step of step S120 may include:In each pre-stored business mark Know with the correspondence of the attribute information of available service server, deletes the server identification for including service server to be shielded With the attribute information of the service port number of business to be shielded.
In force, each pre-stored service identification can with the correspondence of the attribute information of available service server With as shown in the table:
Table 1
Wherein, PORT is service port number.On the right side of table, each row is all an attribute information.
For example, the server identification of service server to be shielded is IP7, the service port number of business to be shielded is 20, then It searches comprising the attribute information that server identification is IP7, service port number is 20.
Step S130, when receiving the service request for carrying target service mark, if pair after delete processing It in should being related to, finds target service and identifies corresponding attribute information, then corresponding attribute information is identified according to target service, it is right Service request is forwarded.
In force, example is connected, when deleting comprising server identification is IP7, service port number is 20 attribute information Later, it when proxy server receives the service request comprising " traffic ID 3 " again, is searched in the correspondence after delete processing The attribute information of corresponding " traffic ID 3 ", the attribute information for finding available service server are " IP9:PORT20、IP5: PORT20、IP6:PORT20”.It can be more idle according to preset strategy, such as the geographical location closer or server of distance Strategy, in " IP9:PORT20、IP5:PORT20、IP6:The service server of an offer business service is provided in PORT20 " Attribute information.For example, selected " IP9:PORT20 " provide business service, then proxy server by service request with being forwarded to IP Location is the service server of IP9, and the business datum needed for user is obtained by service port number 20.
Optionally, the method for embodiment of the present disclosure offer further includes:If in the correspondence after delete processing, do not look into It finds target service and identifies corresponding attribute information, then return to the inaccessible prompt letter of business to the equipment for sending service request Breath.
In force, if proxy server receives the service request comprising " traffic ID 3 " again, after delete processing Correspondence in search the attribute information of corresponding " traffic ID 3 ", do not find any attribute information, i.e., currently without any Service server is capable of providing the service of " traffic ID 3 ", and proxy server can return to industry to the equipment for sending service request It is engaged in inaccessible prompt message.
Provided above is the method for manual shielding service server, and the side of automatic shield service server is explained below Method.
Optionally, the method for embodiment of the present disclosure offer further includes:Statistics each service server in preset duration Each frequency of failure of the corresponding processing business request of service port number;When the corresponding frequency of failure of target service port numbers is more than When preset frequency threshold value, in the correspondence of each pre-stored service identification and the attribute information of available service server In, delete the attribute information for including target service port numbers.
In force, the corresponding processing of each service port number of each service server in preset duration can be counted The frequency of failure of service request, when the corresponding frequency of failure of target service port numbers is more than preset frequency threshold value, advance For each service identification of storage with the correspondence of the attribute information of available service server, it includes target service port to delete Number attribute information.No longer serviced by the offer of the target service port numbers of service server.
It is unlike shielding manually that the setting of the granularity of shielding is so big in automatic shield service server, i.e., automatically The granularity for shielding service server is the IP of minimum:PORT granularities.This is because fault detect is limited, if it is network connection The problem of, there is shake in current network, unstable, it is also possible to certain service server processing business request be caused to fail. Having spent this period will improve automatically, however if the granularity of automatic shield is larger, may automatic shield fall whole business Server or full wafer service server are easy to happen business paralysis.
As shown in Fig. 2, terminal 1 can send service request to proxy server, proxy server can be to single industry Business server is scheduled, and can also be scheduled to server farm.Proxy server selects in available service server One service server provides service.Terminal 2 can send business shielding request to proxy server, business to be shielded is arranged Server.
The method that the embodiment of the present disclosure provides receives business shielding request, determines that business shielding request is corresponding to be shielded The server identification of service server;In pair of each pre-stored service identification and the attribute information of available service server In should being related to, the attribute information of the server identification comprising service server to be shielded is deleted, wherein service identification is corresponding can Include the server identification of available service server with the attribute information of service server;Target service mark is carried when receiving When the service request of knowledge, if in correspondence after delete processing, finding target service and identifying corresponding attribute information, Corresponding attribute information is then identified according to target service, service request is forwarded.In this way, can be taken according to business to be shielded The server identification of business device, automatic shield service server to be shielded, and then the operating efficiency of forwarding service request greatly improves .
Disclosure another exemplary embodiment provides a kind of device of forwarding service request, as shown in figure 3, the device packet It includes:
Receiving module 310, for receiving business shielding request;
First determining module 320, for determining that the service of corresponding service server to be shielded is asked in the business shielding Device identifies;
First removing module 330 is believed for the attribute in each pre-stored service identification and available service server In the correspondence of breath, the attribute information of the server identification comprising the service server to be shielded is deleted, wherein the industry The attribute information that business identifies corresponding available service server includes the server identification of available service server;
Searching module 340, for when receive carry target service mark service request when, if in delete processing It in correspondence afterwards, finds the target service and identifies corresponding attribute information, then according to target service mark pair The attribute information answered is forwarded the service request.
Optionally, destination server group identification, first determining module 320 are carried in the business shielding request For:
Based on the correspondence of preset server farm mark and server identification, the destination server group is determined Corresponding server identification is identified, the server identification as service server to be shielded.
Optionally, first determining module 320 is used for:
Obtain the server identification of the service server to be shielded carried in the business shielding request.
Optionally, the attribute information of the corresponding available service server of the service identification further includes:The service identification The service port number of corresponding available service server.
Optionally, described device further includes:Second determining module, for determining that the business shielding request is corresponding described The service port number of the business to be shielded of service server to be shielded;
First removing module 330 is used for:In the category of pre-stored each service identification and available service server Property information correspondence in, delete the server identification comprising the service server to be shielded and the business to be shielded The attribute information of service port number.
Optionally, described device further includes:
Sending module is corresponded in correspondence after delete processing, not finding the target service mark Attribute information when, return to the inaccessible prompt message of business to the equipment for sending the service request.
Optionally, described device further includes:
Statistical module, the corresponding processing of each service port number for counting each service server in preset duration The frequency of failure of service request;
Second removing module is used for when the corresponding frequency of failure of target service port numbers is more than preset frequency threshold value, In the correspondence of each pre-stored service identification and the attribute information of available service server, it includes the mesh to delete Mark the attribute information of service port number.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
It, can be according to the server identification of service server to be shielded, automatic shield business clothes to be shielded by the disclosure Business device, and then the operating efficiency of forwarding service request substantially increases.
It should be noted that:Above-described embodiment provide forwarding service request device when forwarding service is asked, only with The division progress of above-mentioned each function module, can be as needed and by above-mentioned function distribution by not for example, in practical application Same function module is completed, i.e., the internal structure of terminal is divided into different function modules, to complete whole described above Or partial function.In addition, the device and the method for forwarding service request of the forwarding service request that above-described embodiment provides are implemented Example belongs to same design, and specific implementation process refers to embodiment of the method, and which is not described herein again.
Fig. 4 shows the structural schematic diagram for the terminal 1800 that an illustrative embodiment of the invention provides.The terminal 1800 Can be:Smart mobile phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, laptop or desktop computer.Terminal 1800 is also It may be referred to as other titles such as user equipment, portable terminal, laptop terminal, terminal console.
In general, terminal 1800 includes:Processor 1801 and memory 1802.
Processor 1801 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- may be used in reason device 1801 Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 1801 can also include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state. In some embodiments, processor 1801 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1801 can also wrap AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processors are for handling related machine learning Calculating operation.
Memory 1802 may include one or more computer readable storage mediums, which can To be non-transient.Memory 1802 may also include high-speed random access memory and nonvolatile memory, such as one Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1802 can Storage medium is read for storing at least one instruction, at least one instruction is for performed to realize this Shen by processor 1801 Please in embodiment of the method provide forwarding service request method.
In some embodiments, terminal 1800 is also optional includes:Peripheral device interface 1803 and at least one periphery are set It is standby.It can be connected by bus or signal wire between processor 1801, memory 1802 and peripheral device interface 1803.It is each outer Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1803.Specifically, peripheral equipment includes: In radio circuit 1804, touch display screen 1805, camera 1806, voicefrequency circuit 1807, positioning component 1808 and power supply 1809 At least one.
Peripheral device interface 1803 can be used for I/O (Input/Output, input/output) is relevant at least one outer Peripheral equipment is connected to processor 1801 and memory 1802.In some embodiments, processor 1801, memory 1802 and periphery Equipment interface 1803 is integrated on same chip or circuit board;In some other embodiments, processor 1801, memory 1802 and peripheral device interface 1803 in any one or two can be realized on individual chip or circuit board, this implementation Example is not limited this.
Radio circuit 1804 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal. Radio circuit 1804 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1804 is by telecommunications Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 1804 include:Antenna system, one or more amplifiers, tuner, oscillator, digital signal processor, compiles solution at RF transceivers Code chipset, user identity module card etc..Radio circuit 1804 can by least one wireless communication protocol come with it is other Terminal is communicated.The wireless communication protocol includes but not limited to:WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network (2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some implementations In example, radio circuit 1804 can also include NFC (Near Field Communication, wireless near field communication) related Circuit, the application are not limited this.
Display screen 1805 is for showing UI (User Interface, user interface).The UI may include figure, text, Icon, video and its their arbitrary combination.When display screen 1805 is touch display screen, display screen 1805 also there is acquisition to exist The ability of the surface of display screen 1805 or the touch signal of surface.The touch signal can be used as control signal to be input to place Reason device 1801 is handled.At this point, display screen 1805 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press Button and/or soft keyboard.In some embodiments, display screen 1805 can be one, and the front panel of terminal 1800 is arranged;Another In a little embodiments, display screen 1805 can be at least two, be separately positioned on the different surfaces of terminal 1800 or in foldover design; In still other embodiments, display screen 1805 can be flexible display screen, be arranged on the curved surface of terminal 1800 or fold On face.Even, display screen 1805 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 1805 can be with Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. materials prepare.
CCD camera assembly 1806 is for acquiring image or video.Optionally, CCD camera assembly 1806 includes front camera And rear camera.In general, the front panel in terminal is arranged in front camera, rear camera is arranged at the back side of terminal. In some embodiments, rear camera at least two is that main camera, depth of field camera, wide-angle camera, focal length are taken the photograph respectively As any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide Pan-shot and VR (Virtual Reality, virtual reality) shooting functions or other fusions are realized in angle camera fusion Shooting function.In some embodiments, CCD camera assembly 1806 can also include flash lamp.Flash lamp can be monochromatic temperature flash of light Lamp can also be double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, be can be used for Light compensation under different-colour.
Voicefrequency circuit 1807 may include microphone and loud speaker.Microphone is used to acquire the sound wave of user and environment, and It converts sound waves into electric signal and is input to processor 1801 and handled, or be input to radio circuit 1804 to realize that voice is logical Letter.For stereo acquisition or the purpose of noise reduction, microphone can be multiple, be separately positioned on the different parts of terminal 1800. Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loud speaker is then used to that processor 1801 or radio frequency will to be come from The electric signal of circuit 1804 is converted to sound wave.Loud speaker can be traditional wafer speaker, can also be that piezoelectric ceramics is raised one's voice Device.When loud speaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, can also be incited somebody to action Electric signal is converted to the sound wave that the mankind do not hear to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 1807 may be used also To include earphone jack.
Positioning component 1808 is used for the current geographic position of positioning terminal 1800, to realize navigation or LBS (Location Based Service, location based service).Positioning component 1808 can be the GPS (Global based on the U.S. Positioning System, global positioning system), China dipper system or Russia Galileo system positioning group Part.
Power supply 1809 is used to be powered for the various components in terminal 1800.Power supply 1809 can be alternating current, direct current Electricity, disposable battery or rechargeable battery.When power supply 1809 includes rechargeable battery, which can have micro USB Battery or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, and wireless charging battery is to pass through The battery of wireless coil charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 1800 further include there are one or multiple sensors 1810.The one or more senses Device 1810 includes but not limited to:Acceleration transducer 1811, gyro sensor 1812, pressure sensor 1813, fingerprint sensing Device 1814, optical sensor 1815 and proximity sensor 1816.
Acceleration transducer 1811 can detect the acceleration in three reference axis of the coordinate system established with terminal 1800 Size.For example, acceleration transducer 1811 can be used for detecting component of the acceleration of gravity in three reference axis.Processor The 1801 acceleration of gravity signals that can be acquired according to acceleration transducer 1811, control touch display screen 1805 is with transverse views Or longitudinal view carries out the display of user interface.Acceleration transducer 1811 can be also used for game or the exercise data of user Acquisition.
Gyro sensor 1812 can be with the body direction of detection terminal 1800 and rotational angle, gyro sensor 1812 Acquisition user can be cooperateed with to act the 3D of terminal 1800 with acceleration transducer 1811.Processor 1801 is according to gyro sensors The data that device 1812 acquires, may be implemented following function:Action induction (for example changing UI according to the tilt operation of user) is clapped Image stabilization, game control when taking the photograph and inertial navigation.
The lower layer of side frame and/or touch display screen 1805 in terminal 1800 can be arranged in pressure sensor 1813.When The gripping signal that user can be detected in the side frame of terminal 1800 to terminal 1800 is arranged in pressure sensor 1813, by Reason device 1801 carries out right-hand man's identification or prompt operation according to the gripping signal that pressure sensor 1813 acquires.Work as pressure sensor 1813 are arranged in the lower layer of touch display screen 1805, are grasped to the pressure of touch display screen 1805 according to user by processor 1801 Make, realization controls the operability control on the interfaces UI.Operability control include button control, scroll bar control, At least one of icon control, menu control.
Fingerprint sensor 1814 is used to acquire the fingerprint of user, is collected according to fingerprint sensor 1814 by processor 1801 Fingerprint recognition user identity, alternatively, by fingerprint sensor 1814 according to the identity of collected fingerprint recognition user.Knowing When the identity for not going out user is trusted identity, the user is authorized to execute relevant sensitive operation, sensitivity behaviour by processor 1801 Work includes solving lock screen, checking encryption information, download software, payment and change setting etc..Fingerprint sensor 1814 can be set Set the front, the back side or side of terminal 1800.When being provided with physical button or manufacturer Logo in terminal 1800, fingerprint sensor 1814 can integrate with physical button or manufacturer Logo.
Optical sensor 1815 is for acquiring ambient light intensity.In one embodiment, processor 1801 can be according to light The ambient light intensity that sensor 1815 acquires is learned, the display brightness of touch display screen 1805 is controlled.Specifically, work as ambient light intensity When higher, the display brightness of touch display screen 1805 is turned up;When ambient light intensity is relatively low, the aobvious of touch display screen 1805 is turned down Show brightness.In another embodiment, the ambient light intensity that processor 1801 can also be acquired according to optical sensor 1815, is moved State adjusts the acquisition parameters of CCD camera assembly 1806.
Proximity sensor 1816, also referred to as range sensor are generally arranged at the front panel of terminal 1800.Proximity sensor 1816 the distance between the front for acquiring user and terminal 1800.In one embodiment, when proximity sensor 1816 is examined When measuring the distance between the front of user and terminal 1800 and tapering into, by processor 1801 control touch display screen 1805 from Bright screen state is switched to breath screen state;When proximity sensor 1816 detect the distance between front of user and terminal 1800 by When gradual change is big, touch display screen 1805 is controlled by processor 1801 and is switched to bright screen state from breath screen state.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal 1800 of structure shown in Fig. 4, can wrap It includes than illustrating more or fewer components, either combine certain components or is arranged using different components.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are wanted by right It asks and points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (16)

1. a kind of method of forwarding service request, which is characterized in that the method includes:
The shielding request of reception business determines that the server identification of corresponding service server to be shielded is asked in the business shielding;
In the correspondence of each pre-stored service identification and the attribute information of available service server, it includes institute to delete State the attribute information of the server identification of service server to be shielded, wherein the corresponding available service service of the service identification The attribute information of device includes the server identification of available service server;
When receiving the service request for carrying target service mark, if in correspondence after delete processing, searched Corresponding attribute information is identified to the target service, then corresponding attribute information is identified according to the target service, to described Service request is forwarded.
2. according to the method described in claim 1, it is characterized in that, carrying destination server group in business shielding request The server identification of corresponding service server to be shielded is asked in group mark, the determination business shielding, including:
Based on the correspondence of preset server farm mark and server identification, the destination server group identification is determined Corresponding server identification, the server identification as service server to be shielded.
3. according to the method described in claim 1, it is characterized in that, the determination business shielding request is corresponding to be shielded The server identification of service server, including:
Obtain the server identification of the service server to be shielded carried in the business shielding request.
4. according to the method described in claim 1, it is characterized in that, the category of the corresponding available service server of the service identification Property information further includes:The service port number of the corresponding available service server of the service identification.
5. according to the method described in claim 4, it is characterized in that, the method further includes:Determine the business shielding request The service port number of the business to be shielded of the corresponding service server to be shielded;
It is described in the correspondence of each pre-stored service identification and the attribute information of available service server, delete packet The attribute information of server identification containing the service server to be shielded, including:Each pre-stored service identification with In the correspondence of the attribute information of available service server, the server identification for including the service server to be shielded is deleted With the attribute information of the service port number of the business to be shielded.
6. according to the method described in claim 1, it is characterized in that, the method further includes:
If in the correspondence after delete processing, do not find the target service and identify corresponding attribute information, then to The equipment for sending the service request returns to the inaccessible prompt message of business.
7. according to the method described in claim 4, it is characterized in that, the method further includes:
Count the failure time of the corresponding processing business request of each service port number of each service server in preset duration Number;
When the corresponding frequency of failure of target service port numbers is more than preset frequency threshold value, in each pre-stored business mark Know and in the correspondence of the attribute information of available service server, deletes the attribute letter comprising the target service port numbers Breath.
8. a kind of device of forwarding service request, which is characterized in that described device includes:
Receiving module, for receiving business shielding request;
First determining module, for determining that the server identification of corresponding service server to be shielded is asked in the business shielding;
First removing module, for corresponding with the attribute information of available service server in each pre-stored service identification In relationship, the attribute information of the server identification comprising the service server to be shielded is deleted, wherein the service identification pair The attribute information for the available service server answered includes the server identification of available service server;
Searching module, for when receive carry target service mark service request when, if pair after delete processing In should being related to, finds the target service and identify corresponding attribute information, then corresponding category is identified according to the target service Property information, is forwarded the service request.
9. device according to claim 8, which is characterized in that carry destination server group in the business shielding request Group mark, first determining module are used for:
Based on the correspondence of preset server farm mark and server identification, the destination server group identification is determined Corresponding server identification, the server identification as service server to be shielded.
10. device according to claim 8, which is characterized in that first determining module is used for:
Obtain the server identification of the service server to be shielded carried in the business shielding request.
11. device according to claim 8, which is characterized in that the corresponding available service server of the service identification Attribute information further includes:The service port number of the corresponding available service server of the service identification.
12. according to the devices described in claim 11, which is characterized in that described device further includes:Second determining module, for true The service port number of the business to be shielded of the corresponding service server to be shielded is asked in the fixed business shielding;
First removing module is used for:In the attribute information of each pre-stored service identification and available service server In correspondence, the service port of server identification and the business to be shielded comprising the service server to be shielded is deleted Number attribute information.
13. device according to claim 8, which is characterized in that described device further includes:
Sending module identifies corresponding category in correspondence after delete processing, not finding the target service Property information when, return to the inaccessible prompt message of business to the equipment for sending the service request.
14. according to the devices described in claim 11, which is characterized in that described device further includes:
Statistical module, the corresponding processing business of each service port number for counting each service server in preset duration The frequency of failure of request;
Second removing module is used for when the corresponding frequency of failure of target service port numbers is more than preset frequency threshold value, pre- For each service identification first stored with the correspondence of the attribute information of available service server, it includes the target industry to delete The attribute information for port numbers of being engaged in.
15. a kind of server, which is characterized in that the server includes processor and memory, is stored in the memory At least one instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the institute Code set or instruction set is stated to be loaded by the processor and executed to realize that the forwarding service as described in claim 1-7 is any is asked The method asked.
16. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium Few one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction Collection is loaded by processor and is executed the method to realize the forwarding service request as described in claim 1-7 is any.
CN201810272199.1A 2018-03-29 2018-03-29 Method and device for forwarding service request Active CN108683699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810272199.1A CN108683699B (en) 2018-03-29 2018-03-29 Method and device for forwarding service request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810272199.1A CN108683699B (en) 2018-03-29 2018-03-29 Method and device for forwarding service request

Publications (2)

Publication Number Publication Date
CN108683699A true CN108683699A (en) 2018-10-19
CN108683699B CN108683699B (en) 2021-06-18

Family

ID=63800635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810272199.1A Active CN108683699B (en) 2018-03-29 2018-03-29 Method and device for forwarding service request

Country Status (1)

Country Link
CN (1) CN108683699B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070389A (en) * 2019-03-29 2019-07-30 努比亚技术有限公司 A kind of promoting service statistical method, device and computer readable storage medium
CN111355774A (en) * 2019-08-01 2020-06-30 杭州海康威视数字技术股份有限公司 Service communication method, device and system based on P2P

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070073815A1 (en) * 2005-09-27 2007-03-29 Teamon Systems, Inc. Email server with proxy caching of message identifiers and related methods
CN101340327A (en) * 2008-08-21 2009-01-07 腾讯科技(深圳)有限公司 Method, system and domain name parsing server implementing load balance of network server
CN105607951A (en) * 2015-12-17 2016-05-25 北京奇虎科技有限公司 Method and device for processing data request and obtaining server information
CN106302185A (en) * 2015-05-25 2017-01-04 中兴通讯股份有限公司 A kind of service message retransmission method, device and communication system
CN106789362A (en) * 2017-02-20 2017-05-31 京信通信技术(广州)有限公司 A kind of device management method and network management system
CN107249038A (en) * 2017-07-06 2017-10-13 腾讯科技(深圳)有限公司 Business datum retransmission method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070073815A1 (en) * 2005-09-27 2007-03-29 Teamon Systems, Inc. Email server with proxy caching of message identifiers and related methods
CN101340327A (en) * 2008-08-21 2009-01-07 腾讯科技(深圳)有限公司 Method, system and domain name parsing server implementing load balance of network server
CN106302185A (en) * 2015-05-25 2017-01-04 中兴通讯股份有限公司 A kind of service message retransmission method, device and communication system
CN105607951A (en) * 2015-12-17 2016-05-25 北京奇虎科技有限公司 Method and device for processing data request and obtaining server information
CN106789362A (en) * 2017-02-20 2017-05-31 京信通信技术(广州)有限公司 A kind of device management method and network management system
CN107249038A (en) * 2017-07-06 2017-10-13 腾讯科技(深圳)有限公司 Business datum retransmission method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070389A (en) * 2019-03-29 2019-07-30 努比亚技术有限公司 A kind of promoting service statistical method, device and computer readable storage medium
CN110070389B (en) * 2019-03-29 2023-07-14 广东因赛品牌营销集团股份有限公司 Service promotion statistical method, device and computer readable storage medium
CN111355774A (en) * 2019-08-01 2020-06-30 杭州海康威视数字技术股份有限公司 Service communication method, device and system based on P2P
CN111355774B (en) * 2019-08-01 2021-10-29 杭州海康威视数字技术股份有限公司 Service communication method, device and system based on P2P

Also Published As

Publication number Publication date
CN108683699B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN109547495B (en) Sensitive operation processing method, device, server, terminal and storage medium
CN108900858A (en) A kind of method and apparatus for giving virtual present
CN108063981A (en) The method and apparatus that the attribute of direct broadcasting room is set
CN108924737A (en) Localization method, device, equipment and computer readable storage medium
CN108900925A (en) The method and apparatus of live streaming template are set
CN108897597A (en) The method and apparatus of guidance configuration live streaming template
CN109922356A (en) Video recommendation method, device and computer readable storage medium
CN110147380A (en) Data-updating method, device, server and storage medium
CN108717365A (en) The method and apparatus for executing function in the application
CN110147503A (en) Information issuing method, device, computer equipment and storage medium
CN109218751A (en) The method, apparatus and system of recommendation of audio
CN110636144A (en) Data downloading method and device
CN109771955A (en) Invite request processing method, device, terminal and storage medium
CN108848492A (en) Enabling method, apparatus, terminal and the storage medium of subscriber identification card
CN109828915B (en) Method, device, equipment and storage medium for debugging application program
CN110020690B (en) Cheating behavior detection method, device and storage medium
CN111192072A (en) User grouping method and device and storage medium
CN108683699A (en) The method and apparatus of forwarding service request
CN110471614B (en) Method for storing data, method and device for detecting terminal
CN110109770A (en) Adjustment method, device, electronic equipment and medium
CN109783176A (en) Switch the method and apparatus of the page
CN108495183A (en) The method and apparatus for showing album information
CN110535890A (en) The method and apparatus that file uploads
CN110737692A (en) data retrieval method, index database establishment method and device
CN111428080B (en) Video file storage method, video file search method and video file storage device

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
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20181019

Assignee: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Assignor: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Contract record no.: X2021440000031

Denomination of invention: Method and device for forwarding service request

License type: Common License

Record date: 20210125

EE01 Entry into force of recordation of patent licensing contract
GR01 Patent grant
GR01 Patent grant