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

javascript routing method and its device

A routing and business method technology, applied in the field of JavaScript, can solve the problems of S method unavailability, poor scalability and usability, and achieve the effect of improving scalability and reliability, reducing coupling, and improving software logic cohesion.

Active Publication Date: 2019-06-04
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If there is an error in the queryAppName method, the method of S may be unavailable
In addition, the scheme has poor scalability and usability

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
  • javascript routing method and its device
  • javascript routing method and its device
  • javascript routing method and its device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the drawings, the same reference numerals are used to designate the same or similar components, although shown in different drawings. For clarity and conciseness, detailed descriptions of known functions and constructions incorporated herein will be omitted so as not to obscure the subject matter of the present invention.

[0016] Before describing the technical solution of the present invention in detail, explanations of some related terms in the present invention are firstly provided. It should be understood that when these explanations conflict with other explanations and understandings about these terms in this field, the technical solutions of the present invention should be understood with the explanations provided below.

[0017] Model: Model object, such as a user database table corresponding to a model object User, User genera...

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 JavaScript routing method and a corresponding apparatus thereof. The method comprises the steps of: receiving a plurality of JavaScript requests in parallel; according to preset rules, partitioning the plurality of JavaScript requests into a plurality of JavaScript request subsets; and respectively carrying out routing on the plurality of JavaScript request subsets. The method and the apparatus solve the problems of complex and fussy service logic configuration and poor expansibility and usability in the prior art.

Description

technical field [0001] The invention relates to the field of JavaScript, in particular to a JavaScript routing method and a device thereof. Background technique [0002] ExpressJS is a development framework based on NodeJS. The currently commonly used JavaScript routing method is to use the basic JavaScript (JS) routing object ExpressJS-Router provided by ExpressJS. ExpressJS-Router provides such as figure 1 ExpressJS method shown. [0003] Such as figure 1 As shown, in the ExpressJS-Router solution, first, app.js sends the received request to the general routing Router.js object by listening to the service request and according to the configured request path. Then, Router.js loads all Model model objects and ExpressJS Router objects on demand, and writes multiple Controller control layer methods to handle specific business logic and jumps. Afterwards, Router.js configures all requested URLs and business methods that need to be processed in a one-to-one correspondence, ...

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): H04L12/24H04L12/715
CPCH04L41/0233H04L41/0803H04L41/0893H04L45/04
Inventor 宋小兵
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD