Request processing method and device, electronic equipment and computer readable storage medium

A technology for request processing and storage media, applied in the field of data processing, can solve the problems of insufficient server computing performance and consumption of server resources, and achieve the effects of reducing server resource consumption, improving computing performance, and avoiding competition.

Pending Publication Date: 2020-05-29
北京小桔科技有限公司
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when multiple concurrent requests are processed by multi-threading technology in the above-mentioned existing machine learning framework, a batch of requests will occupy multiple threads at the same time, and there are cross-core scheduling and cross-thread competition among different threads, which consumes server resources. A large number of resources, resulting in the server's computing performance can not be fully utilized

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Request processing method and device, electronic equipment and computer readable storage medium
  • Request processing method and device, electronic equipment and computer readable storage medium
  • Request processing method and device, electronic equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049]In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the appended The figures are only for the purpose of illustration and description, and are not used to limit the protection scope of the present application. Additionally, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented in accordance with some embodiments of the application. It should be understood that the operations of the flowcharts may be performed out of order, and steps that have no logical context may be performed in reverse order or concurrently. In addition, those skilled in the art may add one or more other operations to...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a request processing method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of data processing. The method comprisesthe steps of obtaining n requests, wherein each request corresponds to a cothread on the thread, and n is an integer greater than 0 and is less than or equal to a preset threshold; determining one dominant coroutine in the n coroutines according to a preset competition rule, and taking the other n-1 coroutines as following coroutines; merging the n requests through the dominant coroutine to obtainmerged request data; and submitting the merge request data to the computing device. According to the embodiment of the invention, when the request processing method is used for processing a pluralityof requests input by a user, the coroutines are introduced to serve as the execution units, the obtained n requests correspond to the coroutines respectively, the dominant coroutines are determined according to the preset competition rule to merge the n requests, server resource consumption caused by cross-thread competition is reduced, and therefore the computing performance of the server can bebrought into full play.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular, to a request processing method, device, electronic equipment, and computer-readable storage medium. Background technique [0002] With the emergence of massive data, people tend to use machine learning techniques to mine value from the data. Machine learning can continuously improve the performance of the system itself by simulating or realizing human learning behavior, acquiring new knowledge or skills, and reorganizing the existing knowledge structure. fields of intelligence. [0003] Since the use of machine learning is inseparable from the necessary machine learning framework, the explosive growth of machine learning has also promoted the development of many open source tools, making it easier for developers to learn its technology. For example, in the deep learning field of machine learning research, TensorFlow Serving launched by Google is one of the t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48G06F9/50
CPCG06F9/4881G06F9/5027G06F2209/5018
Inventor 杨江华裴文谦
Owner 北京小桔科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products