Unlock instant, AI-driven research and patent intelligence for your innovation.

Code sharing method and device, server, terminal and medium

A server and code technology, applied in the computer field, can solve problems such as waste of transmission resources

Active Publication Date: 2020-12-22
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a code sharing method, device, server, terminal, and medium to solve the problem of waste of transmission resources caused by bloated common packets

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
  • Code sharing method and device, server, terminal and medium
  • Code sharing method and device, server, terminal and medium
  • Code sharing method and device, server, terminal and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0113] The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0114] In related technologies, due to the problem of bloated common packages, developers gradually choose to develop limited codes in common packages, that is, reduce common codes stored in common packages. However, reducing the storage of common code in the common package will result in less reusable code, which is different from the original intention of using the microservice architecture. If the code files used by each service are packaged and stored separately, the number of code file packages will be too large, which is not easy to manage. For example, if the TV drama module in the video app can use code file A and code file B, then code file A and code file B need to be packaged and stored. The movie module can use code file B and code file C, then code file B and code file C need to be package...

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 embodiment of the invention provides a code sharing method and device, a server, a terminal and a medium, and relates to the technical field of computers. The method is applied to a server, a plurality of code files and dependency relationships among the code files are stored in the server, and the method comprises the steps that a code file downloading request sent by a terminal is received,and the code file downloading request is used for requesting to download a specified code file; searching a specified code file and a dependent code file of the specified code file, wherein the dependent code file is a code file called by the specified code file; and sending the specified code file and the dependent code file of the specified code file to the terminal, so that the terminal packages the specified code file and the dependent code file of the specified code file to obtain a code file package for service development. By adopting the method, the problem of transmission resource waste caused by bloated common packets can be solved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a code sharing method, device, server, terminal and medium. Background technique [0002] At present, the micro-service architecture can be used in the function development of the application program (Application, APP), and the different functional modules in the APP can be abstracted into different services, so that developers can simultaneously and independently develop requirements for each service , to reduce the coupling between functions. In order to avoid repeated codes, the common codes of each service may be stored independently as a common (common) package, and the common package may be in the form of a jar package. Each service can refer to the code in the common package as needed. [0003] With the development of the business and the iteration of new functions, there are more and more scenarios where the common code can be reused, resulting in the common p...

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): G06F8/71G06F16/14G06F16/11G06F16/176
CPCG06F8/71G06F16/148G06F16/113G06F16/176
Inventor 彭涛
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD