Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data processing method and device, medium and electronic device

A data processing and database technology, applied in the database field, can solve problems such as system performance degradation and the explosion of the number of long database connections, and achieve the effects of improving resource reuse rate, flexible expansion, and reducing the number

Active Publication Date: 2019-11-22
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Due to the large number of functions in the FaaS architecture, in the case of big data, functions are required to obtain data, and different databases may be connected to different databases at the bottom layer. As a result, the number of long-term database connections will explode, resulting in system performance degradation

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
  • Data processing method and device, medium and electronic device
  • Data processing method and device, medium and electronic device
  • Data processing method and device, medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

[0033] It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and / or executed in parallel. Additionally, method embodiments may include additional steps and / or omit performing illustrated steps. The scope of the present disclosure is not limited in this respect. ...

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 data processing method and device, a medium and an electronic device. The method comprises the following steps: receiving a request message through a port of a first short connection; analyzing the request message to obtain a database instruction; judging whether a resource pool comprises a database long connection associated with the database instruction or not; if yes, obtaining a first data result according to the database instruction and the database long connection; if not, establishing a database long connection associated with the database instruction, and obtaining the first data result according to the database instruction and the database long connection; wherein the database long connection is a channel for exchanging data with a plurality of databases.According to the method and the device, idempotent processing is realized, and the requirement of short connection under FaaS architecture is met. The number of database long connections is reduced, and the resource reuse rate is improved. And the expansibility is flexible, so that the user can realize the capacity expansion and shrinkage of bottom-layer resources in an unperceived state.

Description

technical field [0001] The present disclosure relates to the field of databases, in particular, to a data processing method, device, medium and electronic equipment. Background technique [0002] Traditionally, if you want to process the database, you must establish a long-term connection to the database from the client (a function under the Function as a Service (Function as a Service, FaaS for short) framework) and the database server, and use the long-term database connection Connections send database processing instructions. [0003] Since there are many functions in the FaaS architecture, in the case of big data, functions are required to obtain data, and different databases may be connected to different databases at the bottom layer. As a result, the number of long-term database connections will explode, resulting in system performance degradation. Contents of the invention [0004] This Summary is provided to introduce a simplified form of concepts that are describ...

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
IPC IPC(8): G06F16/25G06F9/54
CPCG06F16/25G06F9/547
Inventor 雷磊梁俊仁丁之卓
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products