Supercharge Your Innovation With Domain-Expert AI Agents!

Sentence length control method and device

A technology of sentence length and control method, which is applied in the Internet field, can solve problems such as the rejection of long sentence requests, and achieve the effect of meeting business needs

Active Publication Date: 2018-11-09
BEIJING QIANXIN TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of the above problems, the present invention provides a method and device for controlling sentence length, which can solve the problem of rejected requests for longer sentences

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
  • Sentence length control method and device
  • Sentence length control method and device
  • Sentence length control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0027] In order to realize timely processing of requests of any length, an embodiment of the present invention provides a method for controlling the length of sentences, such as figure 1 As shown, the method includes:

[0028] 101. After receiving the access request, the server detects the statement length of the access request and the remaining cache size.

[0029] In this embodiment, after receiving the access request reported b...

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 discloses a statement length control method and device, relates to the technical field of Internet, and is invented by aiming at solving the problem that longer statement requests are rejected. The statement length control method comprises the following steps that after an access request is received, the statement length and the rest buffer quantity of the access request are detected; whether the rest buffer quantity is smaller than the statement length or not is judged; if the rest buffer quantity is smaller than the statement length, the access request is processed. The statement length control method and the statement length control device are mainly applied to an SQL (structured query language) database system.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for controlling the length of a sentence. Background technique [0002] In database systems such as PostgresQL and MySQL, the client's request to access the database is forwarded by the application server between the client and the database server. The application server sends the access request sent by the client to the database server, receives and delivers the data content returned by the database server to the client. [0003] Usually, in order to limit the number of access requests initiated at the same time, the application server will set the number of concurrent requests. The general way to set the number of concurrency is: determine a fixed statement length, calculate the number of access requests allowed to be processed at the same time according to the size of the cache space and the fixed statement length, and obtain the number of concurrent ...

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 Patents(China)
IPC IPC(8): G06F17/30
CPCG06F16/24
Inventor 王院生
Owner BEIJING QIANXIN TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More