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

Service logic implementation method and device

A technology of business logic and implementation method, applied in the direction of program control device, program loading/starting, etc., can solve the problem of consuming processing resources of mobile terminal equipment

Inactive Publication Date: 2017-04-05
ALIBABA GRP HLDG LTD
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a method for implementing business logic, which is used to solve the problem in the prior art that a large amount of processing resources of the mobile terminal device may be consumed in order to enable the client to implement the business logic
[0006] The embodiment of the present application also provides a device for implementing business logic, which is used to solve the problem in the prior art that a large amount of processing resources of the mobile terminal device may be consumed in order to enable the client to implement the business logic

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
  • Service logic implementation method and device
  • Service logic implementation method and device
  • Service logic implementation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] The embodiment of the present application provides a method for implementing business logic, which is used to solve the problem in the prior art that a large amount of processing resources of the mobile terminal device may be consumed in order to enable the client to implement the business logic.

[0024] The implementation method of the business logic provided by the embodiment of the present application may be executed by, but not limited to, a mobile phone, a tablet computer, a personal computer (Personal Computer, PC), a smart TV, and a client (Client) installed on any terminal device. The client described here may be a life service application, an instant messaging application, a social networking application, a shopping application, and the like. It should be noted that the life service applications here may be applications related to the user's daily life (such as clothing, food, housing, transportation, and play) and daily services. For example, life service app...

Embodiment 2

[0086] The embodiment of the present application is a method for implementing business logic, which is used to solve the problem in the prior art that a large amount of processing resources of a mobile device may be consumed in order for a client to implement business logic. The specific implementation flow diagram of this method is as follows: figure 2 As shown, it mainly includes the following steps:

[0087] Step 21, the server issues business rules to the client;

[0088] When starting the client, the client requests the server to send business rules by initiating a HyperText Transfer Protocol (HTTP) request to the server, and the server sends the business rules to the client in response to the request.

[0089] Step 22, the client judges whether the received business rule is described by JS code;

[0090] When the judgment result is yes, then perform step 23;

[0091] When the judgment result is no, if it is assumed that the business rules are described by DSL codes, us...

Embodiment 3

[0108] This embodiment provides an apparatus for implementing service logic, which is used to solve the problem in the prior art that a large amount of processing resources of the mobile terminal device may be consumed in order to enable the client to implement the service logic. The specific implementation structure diagram of the device is as follows: image 3 As shown, a business rule search unit 31 and a business rule execution unit 32 are included.

[0109] Wherein, the business rule search unit 31 is configured to, when an event is detected, search the stored business rules for a business rule that can be triggered by the event according to the event; wherein the business rule is used to realize the Executable files that have business logic and are independent of the installation package of the client;

[0110] The business rule executing unit 32 is configured to execute the found business rule.

[0111] In one embodiment, the business rule execution unit 32 is configu...

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 discloses a service logic implementation method. The method comprises the following steps of when an event is detected, according to the event, searching a service rule, which can be triggered by the event, in stored service rules, wherein the service rule is an executable file, which is used for realizing service logic of a client and independent of an installation package of the client; and executing the searched service rule. The invention further discloses a service logic implementation device.

Description

technical field [0001] The present application relates to the technical field of mobile terminals, in particular to a method and device for implementing service logic. Background technique [0002] Generally, after the client (Client) goes online, it often adjusts the business logic according to the actual operation situation. [0003] For example, assume that a client can upload user avatars. When the client goes online, the business logic for limiting the size of the uploaded avatar is: the size of the uploaded avatar must not exceed 2M. However, after the client went online, it was found that the upload size of the avatar is limited to 2M, which does not conform to the actual operation situation. Therefore, the business logic needs to be adjusted to a new business logic: the size of the uploaded avatar must not exceed 1.2 M. In the prior art, in order to enable the client to implement the new business logic, the mobile device on which the client is installed needs to re...

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/445
Inventor 曾中华
Owner ALIBABA GRP HLDG LTD