CN103281338B - Server service processing method - Google Patents

Server service processing method Download PDF

Info

Publication number
CN103281338B
CN103281338B CN201310248755.9A CN201310248755A CN103281338B CN 103281338 B CN103281338 B CN 103281338B CN 201310248755 A CN201310248755 A CN 201310248755A CN 103281338 B CN103281338 B CN 103281338B
Authority
CN
China
Prior art keywords
server
client
function
service request
service
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.)
Expired - Fee Related
Application number
CN201310248755.9A
Other languages
Chinese (zh)
Other versions
CN103281338A (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.)
Xinxiang Vocational and Technical College
Original Assignee
Xinxiang Vocational and Technical College
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 Xinxiang Vocational and Technical College filed Critical Xinxiang Vocational and Technical College
Priority to CN201310248755.9A priority Critical patent/CN103281338B/en
Publication of CN103281338A publication Critical patent/CN103281338A/en
Application granted granted Critical
Publication of CN103281338B publication Critical patent/CN103281338B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention provides a kind of server service processing method, when server performs the process corresponding to service request, and when performing the primary function in this process, described main computing function is packaged into function bag by server, send to client, calculated voluntarily by client, in the process, implementation progress information for the process performed by existing customer together can also be sent to client, or be temporary in the temporarily providing room on server; Then be rotated to the next bit client of access queue, perform the service request of this next bit client; For the client receiving described function bag, after local computing completes, continue to send service request to server, and after being inserted into the existing customer in server end access queue.The method significantly can reduce the stand-by period of access queue, thus improves the efficiency of service of server to a great extent.

Description

Server service processing method
Technical field
The present invention relates to the webserver, especially a kind of server service processing method.
Background technology
The current webserver is when processing access service, need to carry out computing to each function in the business process corresponding to each service request respectively, like this large amount of client simultaneously access services device time, the CPU of server needs to carry out a large amount of computings, in calculating process, access queue must need to wait for, this makes the efficiency of service of server very low.
Summary of the invention
For the problems referred to above, the object of the present invention is to provide a kind of server service processing method, the method significantly can reduce the stand-by period of access queue, thus improves the efficiency of service of server to a great extent.
The technical solution adopted for the present invention to solve the technical problems is: when server performs the process corresponding to service request, and when performing the primary function in this process, described main computing function is packaged into function bag by server, sends to client, is calculated voluntarily by client; Then be rotated to the next bit client of access queue, perform the service request of this next bit client; For the client receiving described function bag, after local computing completes, continue to send service request to server, and after being inserted into the existing customer in server end access queue.
As preferably, described primary function, different because of each access customer, judged by described server, network speed and current function valuation operation time on the server of foundation existing customer judge, if described valuation operation time is greater than function packet transmission time corresponding to current function under described network speed, then current function is judged to be primary function, is calculated by client; Otherwise, be considered as non-principal function, calculated by server; Like this, the access customer group that can differ greatly for network speed, improves server efficiency substantially.
As preferably, described primary function, different because of each access customer, judged by described server, when each client access server, the CPU model of each client is read by server, and judge the CPU computing capability of client, estimation client calculates the time needed for current function, is designated as the self-care time, and calculates the time needed for current function by server, be designated as agent time, if the business of described self-care time and agent time is less than prearranged multiple, then current function is judged to be primary function, is calculated by client; Otherwise, be considered as non-principal function, calculated by server; Can avoid like this because some access customer condition is really limited cannot the problem of normal access services device.
The advantage of book server method for processing business is: make each client in access queue keep busy condition, give full play to a large amount of idle computing capability resource in access process, for server has shared a large amount of workloads, thus make whole access queue substantially not need waiting for server to calculate, improve the efficiency of service of server to a great extent.
Embodiment
The present invention is further described below:
Book server method for processing business is as follows: when server performs the process corresponding to service request, and when performing the primary function in this process, described main computing function is packaged into function bag by server, send to client, calculated voluntarily by client, in the process, the implementation progress information for the process performed by existing customer together can also be sent to client, or be temporary in the temporarily providing room on server; Then be rotated to the next bit client of access queue, perform the service request of this next bit client; For the client receiving described function bag, after local computing completes, continue to send service request to server, and after being inserted into the existing customer in server end access queue.
Above-mentioned order is as removed Office visits, doctor in diagnosis existing customer process, for link special in diagnosis business, as judged the state of an illness, performed by doctor, after judging that the state of an illness completes, medicine paying link below, turns and is completed by patient oneself, like this, the client below of existing customer in medical queue can be made to obtain diagnosis service, and without the need to waiting for that client has above paid consumption cost at once, and return examined after enjoy diagnosis service again; On the other hand, for the client of the link that completes charge voluntarily, return after being then inserted into the existing customer of new medical queue when examining, this also makes each client can not cause the problem needing to requeue because of going to perform paying link, has ensured that all clients' is just.
In addition, for described primary function, can be different because of each access customer, defined by described server, network speed and current function valuation operation time on the server of foundation existing customer judge, if described valuation operation time is greater than function packet transmission time corresponding to current function under described network speed, then current function is judged to be primary function, is calculated by client; Otherwise, be considered as non-principal function, calculated by server; Like this, the access customer group that can differ greatly for network speed, improves server efficiency substantially.
Described primary function, can also define as follows, when each client access server, be read the CPU model of each client by server, and judge the CPU computing capability of client, estimation client calculates the time needed for current function, is designated as the self-care time, and calculates the time needed for current function by server, be designated as agent time, if the business of described self-care time and agent time is less than prearranged multiple, then current function is judged to be primary function, is calculated by client; Otherwise, be considered as non-principal function, calculated by server; Can avoid like this because some access customer condition is really limited cannot the problem of normal access services device.
Certainly, server also can take into account above-mentioned two kinds of define methods about primary function simultaneously, when meeting the condition in above-mentioned two kinds of define methods simultaneously, current function is judged to be primary function, otherwise is judged to be non-principal function.
The advantage of book server method for processing business is: make each client in access queue keep busy condition, give full play to a large amount of idle computing capability resource in access process, for server has shared a large amount of workloads, thus make whole access queue substantially not need waiting for server to calculate, improve the efficiency of service of server to a great extent.

Claims (1)

1. a server service processing method, it is characterized in that: when server performs the process corresponding to service request, and when performing the primary function in this process, described primary function is packaged into function bag by server, send to client, calculated voluntarily by client; Then be rotated to the next bit client of access queue, perform the service request of this next bit client; For the client receiving described function bag, after local computing completes, continue to send service request to server, and after being inserted into the existing customer in server end access queue; Described primary function, different because of each access customer, judged by described server, network speed and current function valuation operation time on the server of foundation existing customer judge, if described valuation operation time is greater than function packet transmission time corresponding to current function under described network speed, then current function is judged to be primary function, is calculated by client; Otherwise, be considered as non-principal function, calculated by server.
CN201310248755.9A 2013-06-21 2013-06-21 Server service processing method Expired - Fee Related CN103281338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310248755.9A CN103281338B (en) 2013-06-21 2013-06-21 Server service processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310248755.9A CN103281338B (en) 2013-06-21 2013-06-21 Server service processing method

Publications (2)

Publication Number Publication Date
CN103281338A CN103281338A (en) 2013-09-04
CN103281338B true CN103281338B (en) 2016-03-09

Family

ID=49063785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310248755.9A Expired - Fee Related CN103281338B (en) 2013-06-21 2013-06-21 Server service processing method

Country Status (1)

Country Link
CN (1) CN103281338B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226063A (en) * 2008-01-30 2008-07-23 深圳市戴文科技有限公司 Method, mobile terminal and guidance system for obtaining navigation information
CN102469064A (en) * 2010-11-03 2012-05-23 中兴通讯股份有限公司 Method for implementing communication and communication equipment
US8205004B1 (en) * 2009-06-26 2012-06-19 Adobe Systems Incorporated Multi-bit-rate streaming delivery

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226063A (en) * 2008-01-30 2008-07-23 深圳市戴文科技有限公司 Method, mobile terminal and guidance system for obtaining navigation information
US8205004B1 (en) * 2009-06-26 2012-06-19 Adobe Systems Incorporated Multi-bit-rate streaming delivery
CN102469064A (en) * 2010-11-03 2012-05-23 中兴通讯股份有限公司 Method for implementing communication and communication equipment

Also Published As

Publication number Publication date
CN103281338A (en) 2013-09-04

Similar Documents

Publication Publication Date Title
CN106850565B (en) A kind of network data transmission method of high speed
CN104901898B (en) A kind of load-balancing method and device
CN109697122A (en) Task processing method, equipment and computer storage medium
CN110110006A (en) Data managing method and Related product
CN102394867A (en) Technology for converting network concurrent communication request into tandem queue
CN102404615A (en) Video processing system based on cloud computing
CN104424240B (en) Multilist correlating method, main service node, calculate node and system
CN110247942A (en) A kind of data transmission method for uplink, device and readable medium
CN101771703A (en) Information service system and method
JP2009123201A (en) Server-processor hybrid system for processing data
CN107102897A (en) A kind of database active defense method of many GPU parallel processings
CN104461722B (en) A kind of job scheduling method for cloud computing system
CN103905484B (en) Handle the method and device of hypertext transfer protocol requests
CN104809026B (en) A kind of method that CPU computing resources are borrowed using remote node
CN103577469B (en) Database connection multiplexing method and apparatus
CN103747439B (en) Wireless controller equipment, wireless authentication processing method, system, networking
CN103281338B (en) Server service processing method
CN104156332B (en) High-performance parallel computing method based on external PCI-E connection
CN115269709B (en) Inquiry and playback method, device, equipment and medium based on market data
CN207424866U (en) A kind of data communication system between kernel based on heterogeneous multi-nucleus processor
CN201230328Y (en) Network system based on three layer architecture
CN108173909A (en) Method of data synchronization, mobile terminal and computer readable storage medium
CN107277088B (en) High-concurrency service request processing system and method
Khanli et al. A new hybrid load balancing algorithm in grid computing systems
CN106911731A (en) The dispatching method and device of a kind of internet information resource

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: MA GENCHANG

Free format text: FORMER OWNER: SUZHOU DINGFU SOFTWARE SCIENCE + TECHNOLOGY CO., LTD.

Effective date: 20150820

C41 Transfer of patent application or patent right or utility model
C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Ma Genchang

Inventor before: Jiang Xunde

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: JIANG XUNDE TO: MA GENCHANG

TA01 Transfer of patent application right

Effective date of registration: 20150820

Address after: Wujiang Pingwang Town District of Suzhou City, Jiangsu province 215000 Yang village committee

Applicant after: Ma Genchang

Address before: 1207, room 1, building 225, Star Rainbow Building, No. 215000 middle Rainbow Road, Suzhou Industrial Park, Jiangsu, China

Applicant before: Suzhou Dingfu Software Technology Co., Ltd.

C41 Transfer of patent application or patent right or utility model
CB03 Change of inventor or designer information

Inventor after: Jie Mingbei

Inventor after: Ji Lingfeng

Inventor after: Duan Yujing

Inventor before: Ma Genchang

COR Change of bibliographic data
TA01 Transfer of patent application right

Effective date of registration: 20160201

Address after: 453000, Xiaodian Industrial Park, Henan, Xinxiang Province, No. three, No. 6, Xinxiang, Career Technical College

Applicant after: Xinxiang Polytechnic College

Address before: Wujiang Pingwang Town District of Suzhou City, Jiangsu province 215000 Yang village committee

Applicant before: Ma Genchang

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160309

Termination date: 20160621