CN106209973A - service request processing method and device - Google Patents

service request processing method and device Download PDF

Info

Publication number
CN106209973A
CN106209973A CN201610447382.1A CN201610447382A CN106209973A CN 106209973 A CN106209973 A CN 106209973A CN 201610447382 A CN201610447382 A CN 201610447382A CN 106209973 A CN106209973 A CN 106209973A
Authority
CN
China
Prior art keywords
terminal unit
address information
service request
distributor
business tine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610447382.1A
Other languages
Chinese (zh)
Inventor
李洪福
马勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeCloud Computing Co Ltd
LeTV Holding Beijing Co Ltd
LeTV Cloud Computing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Cloud Computing 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 LeTV Holding Beijing Co Ltd, LeTV Cloud Computing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610447382.1A priority Critical patent/CN106209973A/en
Publication of CN106209973A publication Critical patent/CN106209973A/en
Pending legal-status Critical Current

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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the present invention provides a kind of service request processing method and device, relates to Internet technical field.Wherein, service request processing method includes: obtain the business tine the address information of terminal unit and service request from distributor;Described address information and described business tine are sent to transaction processing system, so that described transaction processing system sets up service channel according to described address information and described terminal unit, and send the process data to described business tine by described service channel to described terminal unit.The service request processing method of the embodiment of the present invention and device, achieve when terminal unit initiating business request, transaction processing system be that terminal unit responds, thus reduce the load of distributor, make distributor will not become the bottleneck of response, improve speed of response of server.

Description

Service request processing method and device
Technical field
The present embodiments relate to Internet technical field, particularly relate to a kind of service request processing method and device.
Background technology
Generally, client sends service request and obtains it to the distributor in server, transaction processing system from distributor Resolve the business tine obtained after service request and process, result is sent to distributor, then by distributor to visitor Family end returns result.
During realizing the present invention, inventor finds to exist in prior art problem below: above-mentioned service request Processing procedure in, receive the service request of client and this service request is responded be required for distributor and complete, leading Over-burden to cause distributor so that distributor becomes the bottleneck of response.
Summary of the invention
The purpose of the embodiment of the present invention is, it is provided that a kind of service request processing method and device, to realize setting in terminal During standby initiating business request, transaction processing system it is that terminal unit responds, thus reduces the load of distributor so that point Send out device and will not become the bottleneck of response, improve speed of response of server.
One side according to embodiments of the present invention, it is provided that a kind of service request processing method, including: obtain end from distributor Business tine in the address information of end equipment and service request;Described address information and described business tine are sent to business Processing system, so that described transaction processing system sets up service channel according to described address information and described terminal unit, and leads to Cross described service channel and send the process data to described business tine to described terminal unit.
Another aspect according to embodiments of the present invention, also provides for a kind of service request processing means, including: information and content Acquisition module, the business tine for the address information obtaining terminal unit from distributor and service request;Information and content Sending module, for described address information and described business tine are sent to transaction processing system, so that described Business Processing System sets up service channel according to described address information and described terminal unit, and is set to described terminal by described service channel Preparation send the process data to described business tine.
The service request processing method provided according to embodiments of the present invention and device, by obtaining terminal unit from distributor Address information and service request in business tine, further address information and business tine are sent to Business Processing system System so that transaction processing system sets up service channel according to address information and terminal unit, and is set to terminal by service channel Preparation send the process data to business tine.Achieve when terminal unit initiating business request, transaction processing system be eventually End equipment responds, thus reduces the load of distributor so that distributor will not become the bottleneck of response, improves service Device response speed, improves Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the flow chart of the service request processing method illustrating according to embodiments of the present invention;
Fig. 2 is the flow chart of the service request processing method illustrating according to embodiments of the present invention two;
Fig. 3 is the logic diagram of the service request processing means illustrating according to embodiments of the present invention three;
Fig. 4 is the logic diagram of the service request processing means illustrating according to embodiments of the present invention four;
Fig. 5 is the structural representation of the server illustrating according to embodiments of the present invention five.
Detailed description of the invention
The basic conception of the embodiment of the present invention is to provide a kind of technical scheme processing service request.Specifically, first First, in the address information of distributor acquisition terminal unit and service request business tine;Further by address information and business Content is sent to transaction processing system, so that transaction processing system is connected with terminal unit foundation according to address information, and passes through Connecting of establishing sends the process data to business tine to terminal unit, please it is achieved thereby that initiate business at terminal unit When asking, transaction processing system it is that terminal unit responds, thus reduces the load of distributor.Meanwhile, for terminal unit Constructing a quickly and smoothly network environment, the network improving user is experienced.
Describe exemplary embodiment service request processing method and the device of the present invention below in conjunction with the accompanying drawings in detail.
Embodiment one
Fig. 1 is the flow chart of the service request processing method illustrating according to embodiments of the present invention.Can be on such as server Perform the method.
With reference to Fig. 1, in step S110, in the business that distributor obtains the address information of terminal unit and service request Hold.
In concrete implementation mode, the service request from terminal unit can be solved by the distributor in server Analysis, thus obtain the business tine that terminal unit is asked.Such as, service request can be content of multimedia download request, The payment request etc. of electronic transaction.
Meanwhile, according to exemplary embodiments of the present invention, step S110 obtains from distributor the ground of terminal unit Location information comprises the steps that and obtains, from described distributor, the filec descriptor that described terminal unit is corresponding, by described filec descriptor Obtain the address information of described terminal unit.Here, address information can include IP address and/or MAC Address.
In step S120, described address information and described business tine are sent to transaction processing system, so that described industry Business processing system sets up service channel according to described address information and described terminal unit, and by described service channel to described Terminal unit sends the process data to described business tine.
It is to say, transaction processing system can be connected with terminal unit foundation according to address information, business tine is carried out Process obtains processing data, and sends this process data by the connection established to terminal unit.Still with in aforementioned multimedia As a example by the download request held, processing data can be that the content of multimedia corresponding content fragment list with request is (as M3U8 arranges Table).
The service request processing method that the embodiment of the present invention provides, by obtaining the address information of terminal unit from distributor With the business tine in service request, further address information and business tine are sent to transaction processing system so that business Processing system sets up service channel according to address information and terminal unit, and is sent business to terminal unit by service channel The process data of content.Achieve when terminal unit initiating business request, transaction processing system be that terminal unit makes sound Should, thus reduce the load of distributor so that distributor will not become the bottleneck of response, improves speed of response of server, Improve Consumer's Experience.
Embodiment two
Fig. 2 is the flow chart of the service request processing method illustrating according to embodiments of the present invention two, and described embodiment is visual Another concrete implementation scheme for Fig. 1.The method can be performed in service request processing means as shown in Figure 4.
With reference to Fig. 2, in step S210, obtain the business obtained after described service request is resolved from described distributor Content, is accessed by described filec descriptor and resolves, with the service request of described distributor, the log file that operation is corresponding, and The address information of described terminal unit is obtained from described log file.
Generally, filec descriptor is a nonnegative integer in form.It practice, it is an index value, point to kernel This process safeguarded by each process opens the log of file.When program opens an existing file or creates one During new file, kernel returns a filec descriptor to process.Filec descriptor is the handle represented by signless integer, process Use it to identify the file opened.Filec descriptor with include relevant information (pattern of opening, the position class of file such as file Type, the starting type etc. of file) file object be associated, these information are referred to as the context of file.
Specifically, create a file when service request is resolved by the distributor in server, now take The operating system nucleus of business device can return a filec descriptor, and it is the service request of distributor that this document descriptor points to kernel Resolve the log file that operation creates, this log file have recorded the address information of terminal unit, thus, can be from log file The address information of middle acquisition terminal unit.
In step S220, described address information and described business tine are sent to transaction processing system, so that described industry Business processing system sets up service channel according to described address information and described terminal unit, and by described service channel to described Terminal unit sends the process data to described business tine.
Here, step S220 is identical with step S120 processing mode in above-described embodiment one, specifically can be found in above-mentioned S120 Step content, do not repeat them here.
The service request processing method that the embodiment of the present invention provides, the file obtaining terminal unit corresponding by distributor is retouched State symbol, utilize filec descriptor to access log file, from log file, obtain the address letter of terminal unit quickly and accurately Breath.Further, obtain the business tine that obtains after service request is resolved from distributor, consequently facilitating transaction processing system and Time set up with terminal unit and to be connected, by the connection set up, the service request of terminal unit is responded so that service request Response faster, in hgher efficiency.
Embodiment three
Based on identical technology design, Fig. 3 be illustrate according to embodiments of the present invention three the patrolling of service request processing means Collect block diagram.May be used to perform the service request processing method flow process as described in embodiment one.
With reference to Fig. 3, service request processing means includes: information and content obtaining module 310 and information and content send mould Block 320.
Information and content obtaining module 310 are for address information and the service request obtaining terminal unit from distributor Business tine.
Information and content sending module 320 are for being sent to Business Processing system by described address information and described business tine System, so that described transaction processing system sets up service channel according to described address information and described terminal unit, and by described Service channel sends the process data to described business tine to described terminal unit.
The service request processing means that the embodiment of the present invention provides, by obtaining the address information of terminal unit from distributor With the business tine in service request, further address information and business tine are sent to transaction processing system so that business Processing system sets up service channel according to address information and terminal unit, and is sent business to terminal unit by service channel The process data of content.Achieve when terminal unit initiating business request, transaction processing system be that terminal unit makes sound Should, thus reduce the load of distributor so that distributor will not become the bottleneck of response, improves speed of response of server, Improve Consumer's Experience.
Embodiment four
Based on identical technology design, Fig. 4 be illustrate according to embodiments of the present invention four the patrolling of service request processing means Collect block diagram.May be used to perform the service request processing method flow process as described in embodiment two.
With reference to Fig. 4, information and content obtaining module 310 may particularly include:
Address information acquiring unit 3101 is used for obtaining, from described distributor, the filec descriptor that described terminal unit is corresponding, The address information of described terminal unit is obtained by described filec descriptor.
Alternatively, information and content obtaining module 310 specifically include:
Business tine acquiring unit 3102 obtains after resolving described service request from the acquisition of described distributor Business tine.
Alternatively, address information acquiring unit 3101 for accessing the industry with described distributor by described filec descriptor The log file that business request analysis operation is corresponding, and from described log file, obtain the address information of described terminal unit.
Alternatively, described address information can include IP address and/or MAC Address.
The service request processing means that the embodiment of the present invention provides, the file obtaining terminal unit corresponding by distributor is retouched State symbol, utilize filec descriptor to access log file, from log file, obtain the address letter of terminal unit quickly and accurately Breath.Further, obtain the business tine that obtains after service request is resolved from distributor, consequently facilitating transaction processing system and Time set up with terminal unit and to be connected, by the connection set up, the service request of terminal unit is responded so that service request Response faster, in hgher efficiency.
Embodiment five
Fig. 5 is the structural representation of the server illustrating according to embodiments of the present invention five, and the specific embodiment of the invention is not Implementing of server 500 is limited.As it is shown in figure 5, this server 500 may include that
Processor (processor) 510, communication interface (Communications Interface) 520, memorizer (memory) 530 and communication bus 540.Wherein:
Processor 510, communication interface 520 and memorizer 530 complete mutual communication by communication bus 540.
Communication interface 520, for the net element communication with such as client etc..
Processor 510, is used for the program that performs 532, specifically can perform the correlation step in said method embodiment.
Specifically, program 532 can include that program code, described program code include computer-managed instruction.
Processor 510 is probably a central processor CPU, or specific integrated circuit ASIC (Application Specific Integrated Circuit), or it is configured to implement the one or more integrated electricity of the embodiment of the present invention Road.
Memorizer 530, is used for program of depositing 532.Memorizer 530 may comprise high-speed RAM memorizer, it is also possible to also includes Nonvolatile memory (non-volatile memory), for example, at least one disk memory.Program 532 specifically can be used Following operation is performed in making described server 500:
The business tine the address information of terminal unit and service request is obtained from distributor;By described address information and Described business tine is sent to transaction processing system, so that described transaction processing system is according to described address information and described terminal Equipment sets up service channel, and sends the process number to described business tine by described service channel to described terminal unit According to.
In the optional embodiment of one, program 532 is additionally operable to so that processor 510 performs following operation: from distribution Device obtains the filec descriptor that terminal unit is corresponding, is obtained the address information of terminal unit by filec descriptor.
In the optional embodiment of one, program 532 is additionally operable to so that processor 510 performs following operation: from distribution Device obtains the business tine obtained after resolving service request.
In the optional embodiment of one, program 532 is additionally operable to so that processor 510 performs following operation: by literary composition Part descriptor accesses and resolves the log file that operation is corresponding with the service request of distributor, and obtains described from log file The address information of terminal unit.
In program 532, each step implements correspondence in the corresponding steps and unit that may refer in above-described embodiment Describe, be not repeated herein.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the equipment of foregoing description With the specific works process of module, the corresponding process being referred in preceding method embodiment describes, does not repeats them here.
The server of the embodiment of the present invention, by obtaining from distributor in address information and the service request of terminal unit Business tine, is sent to transaction processing system by address information and business tine further so that transaction processing system base area Location information and terminal unit set up service channel, and send the process number to business tine by service channel to terminal unit According to.Achieve when terminal unit initiating business request, transaction processing system be that terminal unit responds, thus reduce The load of distributor so that distributor will not become the bottleneck of response, improves speed of response of server, improves user's body Test.
It may be noted that according to the needs implemented, all parts/step described in the present invention can be split as more multi-section Part/step, it is possible to the part operation of two or more components/steps or components/steps is combined into new components/steps, To realize the purpose of the present invention.
Above-mentioned the method according to the invention can realize in hardware, firmware, or is implemented as being storable in recording medium Software in (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk) or computer code, or it is implemented through network download Original storage and the meter in local recording medium will be stored in remotely record medium or nonvolatile machine readable media Calculation machine code, thus method described here can be stored in use general purpose computer, application specific processor or able to programme or special By the such software processes on the record medium of hardware (such as ASIC or FPGA).It is appreciated that computer, processor, micro- Processor controller or programmable hardware include can storing or receive software or computer code storage assembly (such as, RAM, ROM, flash memory etc.), when described software or computer code are by computer, processor or hardware access and execution, it is achieved at this The processing method described.Additionally, when general purpose computer accesses for the code of the process that realization is shown in which, the execution of code General purpose computer is converted to the special-purpose computer of the process being shown in which for execution.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (10)

1. a service request processing method, described method includes:
The business tine the address information of terminal unit and service request is obtained from distributor;
Described address information and described business tine are sent to transaction processing system, so that described transaction processing system is according to institute State address information and set up service channel with described terminal unit, and sent institute to described terminal unit by described service channel State the process data of business tine.
Method the most according to claim 1, wherein, described obtain the address information of terminal unit from distributor and includes:
Obtain, from described distributor, the filec descriptor that described terminal unit is corresponding, obtain described end by described filec descriptor The address information of end equipment.
Method the most according to claim 2, wherein, the described business tine obtained service request from distributor includes:
The business tine obtained after described service request is resolved is obtained from described distributor.
Method the most according to claim 3, wherein, the described ground being obtained described terminal unit by described filec descriptor Location information includes:
Accessed by described filec descriptor and resolve the log file that operation is corresponding with the service request of described distributor, and from Described log file obtains the address information of described terminal unit.
5. according to the method according to any one of Claims 1 to 4, wherein, described address information includes IP address and/or MAC Address.
6. a service request processing means, described device includes:
Information and content obtaining module, in the business for the address information obtaining terminal unit from distributor and service request Hold;
Information and content sending module, for described address information and described business tine are sent to transaction processing system, with Make described transaction processing system set up service channel according to described address information and described terminal unit, and led to by described business Road sends the process data to described business tine to described terminal unit.
Device the most according to claim 6, wherein, described information and content obtaining module include:
Address information acquiring unit, for obtaining, from described distributor, the filec descriptor that described terminal unit is corresponding, by institute State filec descriptor and obtain the address information of described terminal unit.
Device the most according to claim 7, wherein, described information and content obtaining module include:
Business tine acquiring unit, in the business obtained after resolving described service request from the acquisition of described distributor Hold.
Device the most according to claim 8, wherein, described address information acquiring unit is for by described filec descriptor Access and resolve the log file that operation is corresponding with the service request of described distributor, and obtain described from described log file The address information of terminal unit.
10., according to the device according to any one of claim 6~9, wherein, described address information includes IP address and/or MAC Address.
CN201610447382.1A 2016-06-20 2016-06-20 service request processing method and device Pending CN106209973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610447382.1A CN106209973A (en) 2016-06-20 2016-06-20 service request processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610447382.1A CN106209973A (en) 2016-06-20 2016-06-20 service request processing method and device

Publications (1)

Publication Number Publication Date
CN106209973A true CN106209973A (en) 2016-12-07

Family

ID=57461404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610447382.1A Pending CN106209973A (en) 2016-06-20 2016-06-20 service request processing method and device

Country Status (1)

Country Link
CN (1) CN106209973A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113765801A (en) * 2020-07-16 2021-12-07 北京京东尚科信息技术有限公司 Message processing method and device applied to data center, electronic equipment and medium
CN115086441A (en) * 2022-06-09 2022-09-20 北京百度网讯科技有限公司 Information transmission method and device, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113765801A (en) * 2020-07-16 2021-12-07 北京京东尚科信息技术有限公司 Message processing method and device applied to data center, electronic equipment and medium
CN113765801B (en) * 2020-07-16 2024-02-09 北京京东尚科信息技术有限公司 Message processing method and device applied to data center, electronic equipment and medium
CN115086441A (en) * 2022-06-09 2022-09-20 北京百度网讯科技有限公司 Information transmission method and device, electronic equipment and storage medium
CN115086441B (en) * 2022-06-09 2024-03-19 北京百度网讯科技有限公司 Information transmission method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105391811B (en) domain name resolution method, access method of application server and terminal thereof
CN107911249B (en) Method, device and equipment for sending command line of network equipment
CN111045952A (en) Software testing method, flow playback device, terminal equipment and readable storage medium
US10743183B2 (en) Method and device for realizing wireless access point connection authentication
CN110798445B (en) Public gateway interface testing method and device, computer equipment and storage medium
CN111431758A (en) Cloud network equipment testing method and device, storage medium and computer equipment
CN110830442A (en) Message processing method, device and gateway
CN106095597A (en) Client data processing method and processing device
CN106790593B (en) Page processing method and device
CN110750433A (en) Interface test method and device
CN110597708A (en) Test case file conversion method and device, electronic equipment and storage medium
CN112580730B (en) Terminal type identification method and device
CN110333876A (en) A kind of data clearing method and control equipment
CN105847462A (en) Domain name resolution method and device
CN106557419B (en) Program testing method and device
CN106209973A (en) service request processing method and device
CN114189553A (en) Flow playback method, system and computing equipment
CN112511384B (en) Flow data processing method and device, computer equipment and storage medium
CN113055420B (en) HTTPS service identification method and device and computing equipment
CN109284833B (en) Method, apparatus and storage medium for obtaining feature data for machine learning model
CN114124883A (en) Data access method and device based on cloud storage address, computer equipment and medium
CN107171824B (en) Wifi disconnection processing method of terminal, terminal and storage device
CN111225075A (en) Configuration method and device for Internet of things directional access service
CN110620682A (en) Resource information acquisition method and device, storage medium and terminal
CN111866923B (en) VoLTE user account opening data abnormity judgment method and device and network equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161207