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

Method and device for invoking and processing javascript objects

A technology of objects and remote objects, which is applied in the field of communication and the Internet, and can solve problems such as user experience and business type difficulties

Active Publication Date: 2016-08-03
HUAWEI TEHCHNOLOGIES CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Caused certain difficulties in terms of user experience and business type

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 invoking and processing javascript objects
  • Method and device for invoking and processing javascript objects
  • Method and device for invoking and processing javascript objects

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0033] The JavaScript object processing method provided by Embodiment 1 of the present invention combines figure 1 , a flowchart of a method in an embodiment of the present invention.

[0034] S101. Receive a remote call request message sent by a client.

[0035] The remote call request message carries an object name, an object method name, and a parameter list. The parameter list includes device attribute parameters, user information, trigger events, etc. In pra...

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 present invention relates to the fields of communication and the Internet, and discloses a method for processing JavaScript objects, which includes the steps of: receiving a remote call request message sent by a client; parsing the remote call request message to obtain business logic information; according to the The business logic information is processed; the processed result is encapsulated in a message structure and sent to the client. At the same time, a device for realizing the above method and a method and device for invoking JavaScript objects are also provided. The method and device achieve the effect of JavaScript remote method invocation, and the client and server cooperate to execute JavaScript objects, thereby eliminating the step of downloading js files from a remote location. When the business logic is complex or the JavaScript business file is large, this method It will bring obvious advantages and better meet the requirements of user experience.

Description

technical field [0001] The embodiments of the present invention relate to the fields of communication and the Internet, and in particular design a method and device for invoking and processing JavaScript objects. Background technique [0002] In recent years, with the rapid development of mobile embedded devices, people's demand for accessing the network through mobile devices has increased, and it is required to access the Internet as conveniently as possible. JavaScript technology is gradually being widely used in WEB development. JavaScript technology is one of the key technologies hidden behind the presentation of web content (such as web pages, widgets). JavaScript technology is an object-based scripting language. The core JavaScript includes a core set of objects, including Array, Data, Math, etc., as well as some core grammatical elements, such as operators, control structures, and statements. [0003] Although the way in which mobile embedded devices (such as mobil...

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): H04L29/08
Inventor 张杰符海芳金洪波钟炜
Owner HUAWEI TEHCHNOLOGIES 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