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

Method and device for realizing front-end application, medium and equipment

A front-end application and application program interface technology, applied in the computer field, can solve problems such as large code size and inability to use RPC framework, and achieve the effect of small size and reduced workload

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

AI Technical Summary

Problems solved by technology

[0004] However, because the front-end has strict requirements on the code volume, and the serialization library and API library code volume of the RPC framework is relatively large, and the deserialization processing of the RPC framework makes it basically impossible to use the RPC framework for front-end development

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
  • Method and device for realizing front-end application, medium and equipment
  • Method and device for realizing front-end application, medium and equipment
  • Method and device for realizing front-end application, medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0029] The first embodiment provided by the present disclosure is an embodiment of a method for implementing a front-end application.

[0030] Combine below figure 1 The embodiments of the present disclosure are described in detail, wherein, figure 1 It is a flowchart of a method for implementing a front-end application provided by an embodiment of the present disclosure.

[0031] The embodiments of the present disclosure are applied to the front end.

[0032] The front end, that is, the foreground part of the website, runs on the personal computer, mobile and other browsers to display the webpages for users to browse.

[0033] Step S101, generating a calling class library according to the text file and the configuration file of the interface description language.

[0034] Interface description language (English full name Interface description language, referred to as IDL), is a computer language used to describe the interface of software components. IDL describes interfac...

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 method and a device for realizing a front-end application, a medium and an electronic device. The method comprises the steps of generating a calling class library according toa text file and a configuration file of an interface description language; wherein the calling class library comprises a plurality of calling classes, and each calling class comprises a plurality ofpackaged calling functions; and calling a back-end application program interface service based on the calling function and the configuration information of the configuration file. The calling class library is automatically generated through the text file and the configuration file of the interface description language, so that the workload of a developer is reduced. The generated calling class library sends an HTTP request message with a wide application range by default. The generated calling class library is small in size, and the high requirement of the front end for the code size is met. The method is suitable for scenes of Web, WebView and applets.

Description

technical field [0001] The present disclosure relates to the field of computer technology, in particular, to a method, device, medium and electronic equipment for realizing front-end applications. Background technique [0002] The development of current applications is becoming more and more complex, and the backend generally adopts a multi-service architecture. Multiple services are often developed by different people, possibly using different programming languages. Multiple back-end services are generally connected through an application programming interface (English full name Application Programming Interface, API for short). Due to the existence of different development languages, it is extremely complicated for multiple development languages ​​to call the API. [0003] The Remote Procedure Call (English full name Remote Procedure Call, RPC for short) framework shields the underlying communication details, provides an open and transparent unified remote communication ...

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/54
CPCG06F9/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