CN110389754A - Method for processing business, system, server, terminal, electronic equipment and storage medium - Google Patents

Method for processing business, system, server, terminal, electronic equipment and storage medium Download PDF

Info

Publication number
CN110389754A
CN110389754A CN201910528227.6A CN201910528227A CN110389754A CN 110389754 A CN110389754 A CN 110389754A CN 201910528227 A CN201910528227 A CN 201910528227A CN 110389754 A CN110389754 A CN 110389754A
Authority
CN
China
Prior art keywords
subservice
replaced
target
business
service component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910528227.6A
Other languages
Chinese (zh)
Other versions
CN110389754B (en
Inventor
魏璐豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201910528227.6A priority Critical patent/CN110389754B/en
Publication of CN110389754A publication Critical patent/CN110389754A/en
Application granted granted Critical
Publication of CN110389754B publication Critical patent/CN110389754B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of method for processing business, system, server, terminal, electronic equipment and storage mediums.Method includes: that server splits the first business to be processed, obtains subservice sequence, determines the target subservice in subservice sequence;The programming language of target subservice is scripting language;Server records Service Component information to be replaced corresponding with each target subservice;Server generates the second business to be processed according to subservice sequence, each target subservice and each Service Component information to be replaced, and the second business to be processed is sent to terminal;Terminal obtains Service Component to be replaced corresponding with each target subservice;The programming language of Service Component to be replaced is primary speech like sound;Terminal carries out corresponding replacement to each target subservice using each Service Component to be replaced, generates target subservice sequence;Terminal performance objective subservice sequence, obtains implementing result.The present invention can be improved data transmission efficiency, reduce page load time for the first time.

Description

Method for processing business, system, server, terminal, electronic equipment and storage medium
Technical field
The present invention relates to business treatment technique fields, more particularly to a kind of method for processing business, system, server, end End, electronic equipment and storage medium.
Background technique
Mobilism scheme refer to application program do not issue new version realize content dynamic update ability, application program Content is not limited only to essential information (merchandise news such as sold), and is related to the main body frame of application program, message structure Equal the deep informations (such as page entirety typesetting, layout).
And present mobilism scheme majority be with the scripting languages such as js (Javascript, Java script) or lua into Row logic control, and scripting language is used to depend on script analytics engine, the scripts such as js or lua are issued to terminal in server It while language, needs to issue script analytics engine simultaneously, then will definitely increase the backpack body product for issuing data packet, also, at end Termination receives js and perhaps needs after the scripting languages such as lua using corresponding script analytics engine to the scripts language such as js or lua Speech parsing, necessarily will increase the load time for the first time of respective page.
Summary of the invention
The technical problem to be solved is that provide a kind of method for processing business, system, server, end for the embodiment of the present invention End, electronic equipment and storage medium will increase with to solve mobilism scheme in the prior art using scripting language and issue data Packet backpack body product, and increase for the first time the load time the technical issues of.
To solve the above-mentioned problems, the embodiment of the invention provides a kind of method for processing business, comprising: server is to first Business to be processed is split, and obtains subservice sequence, and determine at least one target to be replaced in the subservice sequence Subservice;The corresponding programming language of the target subservice is scripting language;The server record and each sub- industry of target It is engaged in corresponding Service Component information to be replaced;The server is according to the subservice sequence, each target subservice and each The Service Component information to be replaced generates the second business to be processed, and the described second business to be processed is sent to terminal;Institute Terminal is stated according to each Service Component information to be replaced, obtains industry to be replaced corresponding with each target subservice from local Business component;The corresponding programming language of the Service Component to be replaced is primary speech like sound;The terminal utilizes each described to be replaced Service Component carries out corresponding replacement to the target subservice each in the subservice sequence, generates target subservice sequence;Institute It states terminal and executes the target subservice sequence, obtain implementing result corresponding with the described second business to be processed.
To solve the above-mentioned problems, the embodiment of the invention provides a kind of method for processing business, are applied to server, packet It includes: the first business to be processed being split, subservice sequence is obtained;It determines to be replaced at least one in the subservice sequence A target subservice;The corresponding programming language of the target subservice is scripting language;Record and each target subservice pair The Service Component information to be replaced answered;According to the subservice sequence, each target subservice and each business to be replaced Module information generates the second business to be processed;Described second business to be processed is sent to terminal.
Preferably, at least one target subservice to be replaced in the determination subservice sequence, comprising: be directed to institute Multiple subservices in subservice sequence are stated, the corresponding programming language of each subservice is successively obtained;It is foot by programming language The subservice of this language is determined as target subservice.
Preferably, record Service Component information to be replaced corresponding with each target subservice, comprising: according to respectively The corresponding scripted code of the target subservice, identifies the corresponding service handling information of each target subservice;According to industry Business processing information and Service Component information to be replaced between mapping relations, obtain it is corresponding with each service handling information to Replace Service Component information;Sequence is executed according to each subservice, successively obtains the corresponding touching of each target subservice Clockwork spring part;Record the corresponding Service Component information to be replaced of each target subservice and each trigger condition;The foundation The subservice sequence, each target subservice and each Service Component information to be replaced generate the second business to be processed, It include: to the subservice sequence, each target subservice, each Service Component information to be replaced and each triggering item Part carries out packing processing, generates second business to be processed.
To solve the above-mentioned problems, the embodiment of the invention provides a kind of method for processing business, are applied to terminal, comprising: Receive the business to be processed that server is sent;Wherein, the business packet enclosed tool traffic sequence to be processed, the subservice sequence packet Include at least one target subservice and Service Component information to be replaced corresponding with each target subservice;According to it is each it is described to Service Component information is replaced, obtains Service Component to be replaced corresponding with each target subservice from local;It is described to be replaced The corresponding programming language of Service Component is primary speech like sound;Using each Service Component to be replaced, to the subservice sequence In each target subservice carry out corresponding replacement, generate target subservice sequence;The target subservice sequence is executed, is obtained Implementing result corresponding with the business to be processed.
Preferably, before the business to be processed that the reception server is sent, further includes: be pre-created and at least one The corresponding multiple Service Component of type of service;For each type of service, by least one corresponding industry of the type of service Business component is stored in designated memory space corresponding with the type of service;It is described to believe according to each Service Component to be replaced Breath obtains Service Component to be replaced corresponding with each target subservice from local, comprising: the acquisition business to be processed Target service type;According to each Service Component information to be replaced, from local target corresponding with the target service type In memory space, each Service Component to be replaced is obtained.
Preferably, described to utilize each Service Component to be replaced, to the sub- industry of target each in the subservice sequence Business carries out corresponding replacement, generates target subservice sequence, comprising: receives user in specified page and selects each target subservice The Service Component to be replaced selected;Each target subservice is replaced with into the Service Component to be replaced, generates target Traffic sequence.
Preferably, the business to be processed further include: trigger condition corresponding with each Service Component information to be replaced, It is described to execute the target subservice sequence, obtain implementing result corresponding with the business to be processed, comprising: in the target In the implementation procedure of subservice sequence, for each Service Component to be replaced, successively according to the Service Component pair to be replaced The Service Component information to be replaced answered obtains trigger condition corresponding with the Service Component to be replaced;Meeting the triggering When condition, the Service Component to be replaced is run;The target subservice sequence execute after the completion of, obtain with it is described to be processed The corresponding implementing result of business.
To solve the above-mentioned problems, the embodiment of the invention provides a kind of transaction processing system, the system comprises services Device and terminal, wherein the server includes: target service determining module, for splitting to the first business to be processed, is obtained To subservice sequence, and determine at least one target subservice to be replaced in the subservice sequence;The target subservice Corresponding programming language is scripting language;Service Component logging modle, for record it is corresponding with each target subservice to Replace Service Component information;Business sending module to be processed, for according to the subservice sequence, each target subservice and Each Service Component information to be replaced generates the second business to be processed, and the described second business to be processed is sent to described Terminal;The terminal includes: that component to be replaced obtains module, is used for according to each Service Component information to be replaced, from local Obtain Service Component to be replaced corresponding with each target subservice;The corresponding programming language of the Service Component to be replaced is Primary speech like sound;Target sequence generation module, for utilizing each Service Component to be replaced, to each in the subservice sequence The target subservice carries out corresponding replacement, generates target subservice sequence;Implementing result obtains module, for executing the mesh Subservice sequence is marked, implementing result corresponding with the described second business to be processed is obtained.
To solve the above-mentioned problems, the embodiment of the invention provides a kind of servers, comprising: subservice retrieval mould Block obtains subservice sequence for splitting to the first business to be processed;Target subservice determining module, for determining State at least one target subservice to be replaced in subservice sequence;The corresponding programming language of the target subservice is script language Speech;Module information logging modle, for recording Service Component information to be replaced corresponding with each target subservice;Second industry Business generation module is used for according to the subservice sequence, each target subservice and each Service Component information to be replaced, Generate the second business to be processed;Second business sending module, for the described second business to be processed to be sent to terminal.
Preferably, the target subservice determining module includes: programming language acquisition submodule, for being directed to the sub- industry Multiple subservices in sequence of being engaged in, successively obtain the corresponding programming language of each subservice;Target subservice determines submodule, For the subservice that programming language is scripting language to be determined as target subservice.
Preferably, the module information logging modle includes: service handling information identification submodule, for according to each described The corresponding scripted code of target subservice identifies the corresponding service handling information of each target subservice;Component to be replaced Acquisition of information submodule, for according to the mapping relations between service handling information and Service Component information to be replaced, obtain with The corresponding Service Component information to be replaced of each service handling information;Trigger condition acquisition submodule, for according to each described Subservice executes sequence, successively obtains the corresponding trigger condition of each target subservice;Component and condition record sub module, For recording the corresponding Service Component information to be replaced of each target subservice and each trigger condition;Second business Generation module includes: the second service generation submodule, for the subservice sequence, each target subservice, each described Service Component information to be replaced and each trigger condition carry out packing processing, generate second business to be processed.
To solve the above-mentioned problems, the embodiment of the invention provides a kind of terminals, comprising: business receiving module to be processed, For receiving the business to be processed of server transmission;Wherein, the business packet enclosed tool traffic sequence to be processed, the subservice sequence Column include at least one target subservice and Service Component information to be replaced corresponding with each target subservice;Replace component Module is obtained, is used for according to each Service Component information to be replaced, it is corresponding with each target subservice from local acquisition Service Component to be replaced;The corresponding programming language of the Service Component to be replaced is primary speech like sound;Target subsequences generate mould Block carries out correspondence to the target subservice each in the subservice sequence and replaces for utilizing each Service Component to be replaced It changes, generates target subservice sequence;Traffic sequence execution module, for executing the target subservice sequence, obtain with it is described The corresponding implementing result of business to be processed.
Preferably, further includes: Service Component creation module is corresponding more at least one type of service for being pre-created A Service Component;Service Component memory module, for being directed to each type of service, by the type of service corresponding at least one A Service Component is stored in designated memory space corresponding with the type of service;It includes: industry that the replacement component, which obtains module, Service type acquisition submodule, for obtaining the target service type of the business to be processed;Component acquisition submodule is replaced, is used for It is obtained from local target storage space corresponding with the target service type according to each Service Component information to be replaced Take each Service Component to be replaced.
Preferably, the target subsequences generation module includes: replacement component selection submodule, for connecing in specified page User is received to the Service Component to be replaced of each target subservice selection;Target subsequences generate submodule, are used for each institute It states target subservice and replaces with the Service Component to be replaced, generate the target subservice sequence.
Preferably, the business to be processed further include: trigger condition corresponding with each Service Component information to be replaced, The traffic sequence execution module includes: trigger condition acquisition submodule, for the execution in the target subservice sequence Cheng Zhong, for each Service Component to be replaced, successively according to the corresponding Service Component to be replaced of the Service Component to be replaced Information obtains trigger condition corresponding with the Service Component to be replaced;It replaces Service Component and runs submodule, for meeting When the trigger condition, the Service Component to be replaced is run;Implementing result acquisition submodule, in the target subservice After the completion of sequence executes, implementing result corresponding with the business to be processed is obtained.
To solve the above-mentioned problems, the embodiment of the invention provides a kind of electronic equipment, comprising: memory, processor and It is stored in the computer program that can be run on the memory and on the processor, the computer program is by the processing Device realizes method for processing business described in any of the above embodiments when executing.
To solve the above-mentioned problems, the embodiment of the invention provides a kind of computer readable storage medium, the computers It is stored with computer program on readable storage medium storing program for executing, is realized described in any of the above-described when the computer program is executed by processor Method for processing business.
Compared with prior art, the embodiment of the present invention includes following advantages:
In the embodiment of the present invention, the first business to be processed is split by subservice sequence by server, and determine son At least one target subservice to be replaced in traffic sequence, the corresponding programming language of target subservice are scripting language, record Service Component information to be replaced corresponding with each target subservice, according to subservice sequence, each target subservice and each to be replaced Service Component information generates the second business to be processed, and is sent to terminal to the second business to be processed, and terminal is according to each to be replaced Service Component information obtains Service Component to be replaced corresponding with each target subservice from local, and Service Component to be replaced is corresponding Programming language be primary speech like sound, and target subservice each in sub- traffic sequence is carried out pair using each Service Component to be replaced It should replace, target subservice sequence be generated, and by terminal performance objective subservice sequence, to obtain and the second business to be processed Corresponding implementing result.Above scheme provided by the invention, due to terminal side preprogramming language be primary speech like sound to Service Component is replaced, target subservice is replaced with into Service Component to be replaced in terminal side, therefore, server side only needs to remember The Service Component information to be replaced of each target subservice is recorded, and is sent to terminal, without issuing script analytics engine simultaneously, is reduced Backpack body product, improves data transmission efficiency.Also, in terminal side, directly pass through pre-set Service Component pair to be replaced Target subservice is replaced, and will no longer be included the target subservice using scripting language after replacement, but is included industry to be replaced Business component, and the corresponding programming language of Service Component to be replaced is primary speech like sound, can directly be run in terminal side, therefore nothing It need to be parsed by script analytics engine, to reduce page load time for the first time.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The application can be limited.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of method for processing business provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of business configuration treatment process provided in an embodiment of the present invention;
Fig. 3 is a kind of step flow chart of method for processing business provided in an embodiment of the present invention;
Fig. 4 is a kind of step flow chart of method for processing business provided in an embodiment of the present invention
Fig. 5 is the schematic diagram that a kind of terminal provided in an embodiment of the present invention executes service resolution;
Fig. 6 is a kind of structural schematic diagram of transaction processing system provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the" It is also intended to including most forms, unless the context clearly indicates other meaning.
It will be appreciated that though may describe to replace changing business in embodiments of the present invention using term first, second etc., But these should not necessarily be limited by these terms instead of the business of changing.These terms are only used to the business of changing will be replaced to be distinguished from each other out.For example, In In the case where not departing from range of embodiment of the invention, first generation replacement business can also be referred to as second generation replacement business, similar Ground, second generation replacement business can also be referred to as first generation replacement business.
Referring to Fig.1, a kind of method for processing business provided in an embodiment of the present invention is shown, can specifically include following step It is rapid:
Step 101: server splits the first business to be processed, obtains subservice sequence, and determine the sub- industry At least one target subservice to be replaced in sequence of being engaged in.
It can be applied to that business to be processed is split into subservice sequence by server in the embodiment of the present invention, determine and remember Target subservice to be replaced in subservice sequence is recorded, and it is primary class language that target subservice, which is replaced with programming language, by terminal In the scene of the Service Component of speech.
First business to be processed refers to that server will be handed down to the business to be processed of terminal.First business to be processed can Think a user behavior, such as the payment behavior executed when user's shopping.
Subservice sequence refers to the first business to be processed is split by server after, and obtained subservice sequence Column, in subservice sequence, the corresponding sequence of each subservice be represent each subservice execute sequence, for example, subservice It successively include that subservice a, subservice b and subservice c successively execute sub- industry then when executing the first business to be processed in sequence Be engaged in a, subservice b and subservice c, to complete the implementation procedure to the first business to be processed.
Target subservice refers to that programming language is the subservice of scripting language in subservice sequence.
Scripting language is otherwise known as dynamic language, can be used for controlling software application, script is usually in the form of text It is saved, only explains or translate when called.
Scripting language may include js scripting language, lua scripting language etc., specifically, can according to the actual situation and Fixed, the embodiment of the present invention is also without restriction to this.
When server splits the first business to be processed, the first business to be processed can be parsed, with solution Scripting language included in the corresponding programming language of first business to be processed in analysis, and then can be corresponding according to each scripting language Subservice the location of in the first business to be processed, for example, including scripting language A, script in the first business to be processed The corresponding delineation of activities of scripting language A can be one independent then when dividing to the first business to be processed by language B Subservice, and by the corresponding delineation of activities of scripting language B be an individual subservice.
And in split process, it can be a subservice by the corresponding delineation of activities of non-scripting language, in particular it is required that It is divided the location of in the first business to be processed in conjunction with the corresponding business of scripting language, for example, according to subservice sequence Each subservice executes sequence in column, successively may include the corresponding subservice of non-scripting language a, the corresponding son of scripting language b Business, the corresponding subservice of scripting language c, the corresponding subservice of non-scripting language d, the corresponding subservice of scripting language e, then exist When splitting to the first business to be processed, corresponding first subservice of available non-scripting language a, scripting language b are corresponding The second subservice, the corresponding third subservice of scripting language c, corresponding 4th subservice of non-scripting language d, scripting language e Corresponding 5th subservice, wherein the second subservice, third subservice and the 5th subservice are target subservice.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating Example, not as the sole limitation to the embodiment of the present invention.
In the present invention, the corresponding programming language of multiple subservices can be identified using speech recognizer, it specifically, can be with Multiple subservices are sequentially input into speech recognizer, the corresponding programming language of each subservice is exported by speech recognizer.
Certainly, in practical applications, the corresponding programming language of each subservice can be identified using other way, specifically, Can be depending on business demand, the embodiments of the present invention are not limited thereto.
The first business to be processed is being split by server, is obtaining subservice sequence, and determine in subservice sequence After at least one target subservice to be replaced, step 102 is executed.
Step 102: server record Service Component information to be replaced corresponding with each target subservice.
Service Component information to be replaced refers to the information of target subservice to be replaced in subservice sequence, for example, sub- industry Target subservice to be replaced includes subservice a and subservice b in sequence of being engaged in, then Service Component information to be replaced may include son Business a and subservice b, and the information etc. of the Service Component to be replaced of subservice a and subservice b is replaced respectively.
In the present invention, Service Component information to be replaced can be mark corresponding with the Service Component to be replaced of terminal side Know, for example, the Service Component to be replaced of terminal side is respectively arranged with corresponding component mark, as component a is identified corresponding to component 1, component b correspond to component mark 2 etc..Service Component information to be replaced corresponding with each target subservice is recorded in server When, component can be identified and be used as Service Component information to be replaced.
Certainly, Service Component information to be replaced can also be the information of other forms, such as terminal side Service Component to be replaced Corresponding serial number etc. specifically can be depending on business demand, and the embodiments of the present invention are not limited thereto.
After determining at least one target subservice to be replaced in subservice, it can recorde corresponding with each target subservice Service Component to be replaced, and collectively constitute Service Component information to be replaced in conjunction with each target subservice.
After server records Service Component information to be replaced corresponding with each target subservice, step 103 is executed.
Step 103: the server is according to the subservice sequence, each target subservice and each industry to be replaced Business module information, generates the second business to be processed, and the described second business to be processed is sent to terminal.
In the present invention, terminal can hold for PC (Personal Computer, personal computer), or mobile Terminal, such as mobile phone, PAD (Portable Android Device, tablet computer) etc., specifically, can according to the actual situation and It is fixed.
It, can be with antithetical phrase traffic sequence, each target after obtaining each target subservice and each Service Component information to be replaced Subservice and Service Component information to be replaced carry out packing processing, to generate the second business to be processed.
It certainly, can also include the trigger condition of each Service Component to be replaced in the second business to be processed.
In above process, the corresponding trigger condition of each Service Component information to be replaced can also be obtained, according to each industry After business processing information determines Service Component information to be replaced corresponding with each target subservice, each target subservice can recorde Corresponding Service Component information to be replaced and the corresponding trigger condition of each Service Component information to be replaced, and then as subsequent life At the component part of the second business to be processed.
And then can according to subservice sequence, each target subservice, each Service Component information to be replaced and each trigger condition, Generate the second business to be processed.
The embodiment of the present invention passes through to replace changing Service Component and adding corresponding trigger condition, thus subsequent by target After business is replaced, the trigger condition of replaced Service Component can be executed according to trigger condition, executes corresponding industry Business component, so as to which so that business to be processed can be executed sequentially, formation is complete to handle logic.
After server generates the second business to be processed, the second business to be processed can be sent to terminal by server It is handled.
Step 104: the terminal obtains and each target according to each Service Component information to be replaced from local The corresponding Service Component to be replaced of business.
Service Component to be replaced refers to the component of the pre-set replacement target subservice of terminal local, service groups to be replaced Part has corresponding processing logic, for example, for the Service Component for obtaining order information, can after executing the Service Component, Available corresponding order information etc..
The corresponding programming language of Service Component to be replaced is primary speech like sound, and primary speech like sound refers in Java, data class Type is the language of basic data type, and terminal side can directly run primary speech like sound, nothing after installing Java Runtime Environment It need to be parsed using resolver.
After terminal side presets Service Component to be replaced, can by Service Component to be replaced it is default be stored in it is specified In memory space, specifically, Service Component to be replaced corresponding for different service types can distinguish storage, in subsequent acquisition It, can be empty from specified storage according to the type of service of target service when Service Component to be replaced corresponding with each target subservice Between middle obtain corresponding with each target subservice Service Component to be replaced.
It certainly, can be according to group when Service Component information to be replaced is that the corresponding component of Service Component to be replaced identifies Part mark searches matched Service Component to be replaced in designated memory space, and it is corresponding with target subservice to complete local acquisition The process of Service Component to be replaced.
In terminal according to each Service Component information to be replaced, industry to be replaced corresponding with each target subservice is obtained from local It is engaged in after component, executes step 105.
Step 105: the terminal utilizes each Service Component to be replaced, to each target in the subservice sequence Subservice carries out corresponding replacement, generates target subservice sequence.
It, can be according to each business to be replaced after Service Component is changed in terminal acquisition replacement corresponding with each target subservice Component carries out corresponding replacement to target subservice each in sub- traffic sequence, to generate target subservice sequence.
Specifically replacement process can be with are as follows:, can after obtaining Service Component to be replaced corresponding with each target subservice Successively to search target subservice corresponding with Service Component to be replaced from subservice sequence, and target subservice is replaced with Service Component to be replaced, so as to obtain target subservice sequence, for example, subservice sequence is suitable according to the execution of each subservice Sequence successively includes: subservice 1, subservice 2, subservice 3, subservice 4, subservice 5 and subservice 6, wherein subservice 2, sub- industry Business 3 and subservice 5 are target subservice, and the corresponding Service Component to be replaced of subservice 2 is component a, and subservice 3 is corresponding wait replace Changing Service Component is component b, and the corresponding Service Component to be replaced of subservice 5 is component c, then subservice sequence is directed to, by sub- industry Business 2 replaces with component a, and subservice 3 is replaced with component b, and subservice 5 is replaced with component c, the target obtained after the completion of replacement Subservice sequence are as follows: subservice 1, component a, component b, subservice 4, component c and subservice 6.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating Example, not as the sole limitation to the embodiment of the present invention.
Each Service Component to be replaced is utilized in terminal, correspondence is carried out to the target subservice each in sub- traffic sequence and is replaced It changes, after generating target subservice sequence, executes step 106.
Step 106: the terminal executes the target subservice sequence, obtains corresponding with the described second business to be processed Implementing result.
After generating target subservice sequence, terminal can be with performance objective subservice sequence, after the completion of execution, can be with Implementing result corresponding with business to be processed is obtained, for example, target subservice sequence: subservice 1, component a, component b, subservice 4, component c and subservice 6 then successively execute subservice 1, component a, component b, subservice 4, component c and subservice 6, are executing After the completion, available corresponding implementing result.
For above-mentioned implementation procedure, can be described below in conjunction with Fig. 2.
Referring to Fig. 2, a kind of schematic diagram of business configuration treatment process provided in an embodiment of the present invention is shown, such as Fig. 2 institute Show, pkg indicates installation kit configuration file, web (World Wide Web, global wide area network) (i.e. web server), web services Device can be used for configuring target service (i.e. configuration behavior shown in Fig. 2), such as the payment behavior executed when user's shopping, and It is controlled when to front end (i.e. terminal side) performance objective business, it is possible to understand that choose stream during user's shopping in ground Journey, payment flow, process of purchasing on a barter basis etc., for the process that each user executes, web server can produce corresponding target industry Business, and it is issued to Server server, such as the Server in Fig. 2.
The target service that Server server is issued according to web server generates corresponding JSON structure, i.e., by target industry Business carries out fine-grained fractionation according to data format, constructs multiple fine granularity object of action (subservice sequence i.e. in the present invention Column), and the target object for needing to replace in multiple fine granularity object of action (i.e. corresponding programming is extracted by Server server Language is scripting language), the corresponding component to be replaced of target object of extraction is recorded, by multiple fine granularity object of action and note Record information is packaged, and is sent to front end.
Front end can according to the target object that needs to replace in the record multiple fine granularity object of action of acquisition of information, and from this Ground obtains matched component to be replaced and is replaced, so that target object is replaced with component to be replaced (i.e. corresponding programming language Speech is primary speech like sound).
Due to being primary speech like sound in the corresponding programming language of the pre-set Service Component to be replaced in terminal side, without logical Crossing resolver parsing can directly run, so as to reduce the time that the page loads for the first time.
First business to be processed is split into subservice by server by method for processing business provided in an embodiment of the present invention Sequence, and determine at least one target subservice to be replaced in subservice sequence, the corresponding programming language of target subservice For scripting language, Service Component information to be replaced corresponding with each target subservice is recorded, according to subservice sequence, each target Business and each Service Component information to be replaced generate the second business to be processed, and are sent to terminal to the second business to be processed, eventually End obtains Service Component to be replaced corresponding with each target subservice according to each Service Component information to be replaced, from local, wait replace Changing the corresponding programming language of Service Component is primary speech like sound, and using each Service Component to be replaced to each mesh in sub- traffic sequence Mark subservice carries out corresponding replacement, generates target subservice sequence, and by terminal performance objective subservice sequence, thus obtain with The corresponding implementing result of second business to be processed.Above scheme provided by the invention, due to being in terminal side preprogramming language Target subservice is replaced with Service Component to be replaced in terminal side by the Service Component to be replaced of primary speech like sound, therefore, Server side only needs to record the Service Component information to be replaced of each target subservice, and is sent to terminal, without issuing foot simultaneously This analytics engine reduces backpack body product, improves data transmission efficiency.Also, in terminal side, directly by it is pre-set to Replacement Service Component is replaced target subservice, will no longer include the target subservice using scripting language after replacement, and Being includes Service Component to be replaced, and the corresponding programming language of Service Component to be replaced is primary speech like sound, can be directly at end End side operation, there is no need to be parsed by script analytics engine, to reduce page load time for the first time.
Referring to Fig. 3, a kind of method for processing business provided in an embodiment of the present invention is shown, which is applied to Server can specifically include following steps:
Step 201: the first business to be processed being split, subservice sequence is obtained.
The embodiment of the present invention can be applied to that business to be processed is split into subservice sequence by server, determine and record In subservice sequence in the scene of target subservice to be replaced.
First business to be processed refers to that server will be handed down to the business to be processed of terminal.First business to be processed can Think a user behavior, such as the payment behavior executed when user's shopping.
Subservice sequence refers to the first business to be processed is split after, and obtained subservice sequence, in sub- industry In sequence of being engaged in, the corresponding sequence of each subservice be represent each subservice execute sequence, for example, in subservice sequence successively Including subservice a, subservice b and subservice c, then when executing the first business to be processed, subservice a, subservice b are successively executed With subservice c, to complete to the implementation procedure of the first business to be processed.
When being split to the first business to be processed, the first business to be processed can be parsed, in parsing the Scripting language included in the corresponding programming language of one business to be processed, and then can be according to the corresponding sub- industry of each scripting language Business splits the first business to be processed, the location of in the first business to be processed for example, in the first business to be processed It, then, can be corresponding by scripting language A when being divided to the first business to be processed comprising scripting language A, scripting language B Delineation of activities is an individual subservice, and is an individual subservice by the corresponding delineation of activities of scripting language B.
And in split process, it can be a subservice by the corresponding delineation of activities of non-scripting language, in particular it is required that It is divided the location of in the first business to be processed in conjunction with the corresponding business of scripting language, for example, according to industry to be processed The subservice sequence that business fractionation obtains executes sequence, successively may include the corresponding business of non-scripting language a, scripting language b Corresponding business, the corresponding business of scripting language c, the corresponding business of non-scripting language d, the corresponding business of scripting language e, then exist When splitting to the first business to be processed, corresponding first subservice of available non-scripting language a, scripting language b are corresponding The second subservice, the corresponding third subservice of scripting language c, corresponding 4th subservice of non-scripting language d, scripting language e Corresponding 5th subservice.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating Example, not as the sole limitation to the embodiment of the present invention.
It is split to the first business to be processed, after obtaining subservice sequence, executes step 202.
Step 202: determining at least one target subservice to be replaced in the subservice sequence;The target subservice Corresponding programming language is scripting language.
It, can be according to subservice pair each in subservice sequence after the first business to be processed is split into subservice sequence The programming language answered determines that at least one target subservice to be replaced in subservice sequence is compiled that is, by subservice sequence Cheng Yuyan is that the subservice of scripting language is determined as target subservice, specifically, is described in detail with embodiments discussed below.
In a preferred embodiment of an embodiment of the present invention, above-mentioned steps 202 may include:
Sub-step A1: for multiple subservices in the subservice sequence, the corresponding volume of the subservice is successively obtained Cheng Yuyan.
In embodiments of the present invention, programming language (Programming Language) refers to for defining computer program Formal language, programming language is a kind of Communication skills being standardized, for computer issue instruct.
Programming language may include the different types of language such as scripting language, Delphi language, Java language, purport of the present invention In determining subservice sequence, programming language is the subservice of scripting language, and other programming languages are not considered.
In the present invention, the corresponding programming language of multiple subservices can be identified using speech recognizer, it specifically, can be with Multiple subservices are sequentially input into speech recognizer, the corresponding programming language of each subservice is exported by speech recognizer.
Certainly, in practical applications, the corresponding programming language of each subservice can be identified using other way, specifically, Can be depending on business demand, the embodiments of the present invention are not limited thereto.
For multiple subservices in subservice sequence, after successively obtaining the corresponding programming language of subservice, execute Sub-step A2.
Sub-step A2: the subservice that programming language is scripting language is determined as target subservice.
Scripting language is known as dynamic language again, can be used for controlling software application, script is usually in the form of text It is saved, only explains or translate when called.
Scripting language may include js scripting language, lua scripting language etc., specifically, can according to the actual situation and Fixed, the embodiment of the present invention is also without restriction to this.
It is being directed to each subservice, when the corresponding programming language of subservice is scripting language, which can determined For target subservice, for example, multiple subservices include subservice 1, subservice 2, subservice 3, subservice 4 and subservice 5, in son When business 2 and the corresponding programming language of subservice 5 are scripting language, then subservice 2 and subservice 5 are determined as the sub- industry of target Business.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating Example, not as the sole limitation to the embodiment of the present invention.
After determining at least one target subservice to be replaced in subservice sequence, step 203 is executed.
Step 203: record Service Component information to be replaced corresponding with each target subservice.
Service Component information to be replaced refers to the information of target subservice to be replaced in subservice sequence, for example, sub- industry Target subservice to be replaced includes subservice a and subservice b in sequence of being engaged in, then Service Component information to be replaced may include son Business a and subservice b, and the information etc. of the Service Component to be replaced of subservice a and subservice b is replaced respectively.
Service Component information to be replaced can be mark corresponding with the Service Component to be replaced of terminal side, for example, terminal The Service Component to be replaced of side is respectively arranged with corresponding component mark, and if component a corresponds to component mark 1, component b corresponds to Component mark 2 etc..It, can be by component when server records Service Component information to be replaced corresponding with each target subservice Mark is used as Service Component information to be replaced.
Certainly, Service Component information to be replaced can also be the information of other forms, such as terminal side Service Component to be replaced Corresponding serial number etc. specifically can be depending on business demand, and the embodiments of the present invention are not limited thereto.
In determining subservice after at least one target subservice to be replaced, it can recorde and each target subservice pair The Service Component to be replaced answered, and Service Component information to be replaced is collectively constituted in conjunction with each target subservice.
And the process for recording Service Component information to be replaced corresponding with each target subservice, with following preferred implementations Example is described in detail.
In a preferred embodiment of an embodiment of the present invention, above-mentioned steps 203 may include:
Sub-step B1: according to the corresponding scripted code of each target subservice, each target subservice pair is identified The service handling information answered.
In embodiments of the present invention, service handling information refers to the corresponding process of service execution details description of target subservice Information, business execute details description information and refer to performance objective subservice, show what interface in terminal side, where is interface display A little button, texts etc., for example, being the page for inputting payment data in target subservice for the payment behavior of user Face, the details description information of the available page, such as data pay frame, ACK button, recall button information.
In the present invention, target can be obtained by the way of the corresponding scripted code of dry run target subservice The service handling information of business.
The corresponding scripted code of target subservice can also be analyzed, determine target subservice pair based on the analysis results The service handling information answered.
And for identifying that the mode of the corresponding service handling information of each target subservice can be depending on business demand, this Inventive embodiments are without restriction to this.
After determining at least one target subservice to be replaced in subservice sequence, each target can be successively identified The corresponding service handling information of subservice.
After identifying the corresponding service handling information of each target subservice, sub-step B2 is executed.
Sub-step B2: it according to the mapping relations between service handling information and Service Component information to be replaced, obtains and each The corresponding Service Component information to be replaced of the service handling information.
The mapping relations between service handling information and Service Component information to be replaced are pre-saved in server side.
After obtaining the corresponding service handling information of each target subservice, it can be determined according to each service handling information Service Component information to be replaced corresponding with each target subservice, for example, the corresponding service handling information of target subservice is to obtain When taking order information, it is corresponding to obtain order for available Service Component information to be replaced corresponding with order information is obtained Service Component information;It is available corresponding with payment when the corresponding service handling information of target subservice is payment information Service Component information to be replaced, the i.e. corresponding Service Component information of acquisition payment information;And in the corresponding business of target subservice Handling information is when inquiring order information, available Service Component information to be replaced corresponding with inquiry order information obtains Take the corresponding Service Component information of inquiry order.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating Example, not as the sole limitation to the embodiment of the present invention.
After obtaining Service Component information to be replaced, terminal side can be corresponding in conjunction with Service Component acquisition of information to be replaced Service Component to be replaced (the corresponding programming language of Service Component to be replaced is primary speech like sound), thus server side issue to When processing business, no longer need to issue script analytics engine simultaneously.
According to the mapping relations between service handling information and Service Component information to be replaced, obtain and each business processing After the corresponding Service Component information to be replaced of information, sub-step B3 is executed.
Sub-step B3: executing sequence according to each subservice, successively obtains the corresponding touching of each target subservice Clockwork spring part.
In the present invention, trigger condition refers to that triggering runs the Service Component to be replaced in Service Component information to be replaced Condition, for example, Service Component to be replaced is when checking the Service Component of user login information, the operation that user can be logged in is made For the corresponding trigger condition of Service Component for checking user login information;It and is to check network state in Service Component to be replaced When Service Component, the start-up operation of business to be processed can will be executed as the trigger condition etc. for checking network state.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating Example, not as the sole limitation to the embodiment of the present invention.
After obtaining subservice sequence, each target can be obtained according to the execution sequence of each subservice in subservice sequence The trigger condition of subservice, for example, multiple subservices in subservice sequence successively include: subservice a, son according to execution sequence Business b, subservice c and subservice d, wherein subservice c is that target subservice executes son after subservice b executes completion Business c will get the implementing result of subservice b as the trigger condition for executing subservice c.
After the sequence that executes according to each subservice, the trigger condition for successively obtaining each target subservice, sub-step is executed Rapid B4.
Sub-step B4: the corresponding Service Component information to be replaced of each target subservice and each triggering item are recorded Part.
The embodiment of the present invention is by adding corresponding trigger condition for target subservice, thus subsequent by target subservice After replacing with Service Component to be replaced, corresponding industry to be replaced can be executed according to the corresponding trigger condition of target subservice Business component, so as to which so that business to be processed can be executed sequentially, formation is complete to handle logic.
After recording Service Component information to be replaced corresponding with each target subservice, step 204 is executed.
Step 204: according to the subservice sequence, each target subservice and each Service Component letter to be replaced Breath generates the second business to be processed.
It, can be with antithetical phrase traffic sequence, each target after obtaining each target subservice and each Service Component information to be replaced Subservice and Service Component information to be replaced carry out packing processing, to generate the second business to be processed.
It certainly, also include the trigger condition of each Service Component to be replaced in the second business to be processed, specifically, with Embodiments discussed below is described in detail.
In a preferred embodiment of an embodiment of the present invention, above-mentioned steps 204 may include:
Sub-step C: to the subservice sequence, each target subservice, each Service Component information to be replaced and Each trigger condition carries out packing processing, generates second business to be processed.
In embodiments of the present invention, in above process, also obtaining in advance has the corresponding trigger condition of each target subservice, It, can be to record after determining Service Component information to be replaced corresponding with each target subservice according to each service handling information Each corresponding Service Component information to be replaced of target subservice and the corresponding trigger condition of each target subservice, and then after conduct The continuous component part for generating the second business to be processed.
And then can with antithetical phrase traffic sequence, each target subservice, each Service Component information to be replaced and each trigger condition into Row packing processing, generates the second business to be processed.
The embodiment of the present invention is by adding corresponding trigger condition for target subservice, thus subsequent by target subservice After replacing with Service Component to be replaced, Service Component to be replaced can be corresponded to according to trigger condition performance objective subservice, from And business to be processed can be made to can be executed sequentially, form complete processing logic.
Step 205: the described second business to be processed is sent to terminal.
Terminal can be the mobile electronic devices such as mobile phone, PAD (Portable Android Device, tablet computer), It can be that the electronic equipments such as computer, desktop computer specifically can be depending on business demand, the embodiment of the present invention is to this It is without restriction.
After second business to be processed of generation, the second business to be processed can be sent at corresponding terminal Reason.
Method for processing business provided in an embodiment of the present invention obtains sub- industry by splitting to the first business to be processed Business sequence, determines at least one target subservice to be replaced in subservice sequence, the corresponding programming language of target subservice is Scripting language records Service Component information to be replaced corresponding with each target subservice, according to subservice sequence, the sub- industry of each target Business and each Service Component information to be replaced generate the second business to be processed, and the second business to be processed are sent to terminal.This hair Bright embodiment is sent to terminal by the corresponding Service Component information to be replaced of record target subservice, direct in terminal side Target subservice is replaced, the Service Component that programming language is primary speech like sound is replaced with, thus, server only needs to record The Service Component information to be replaced of each target subservice, and it is sent to terminal, without issuing script analytics engine simultaneously, reduce Backpack body product, improves data transmission efficiency.
Referring to Fig. 4, a kind of method for processing business provided in an embodiment of the present invention is shown, which is applied to Terminal can specifically include following steps:
Step 301: receiving the business to be processed that server is sent.
The embodiment of the present invention can be applied to terminal and the target subservice in business to be processed replaced with business to be replaced Component, and execute according to trigger condition in the scene of Service Component to be replaced.
Terminal can be the mobile electronic devices such as mobile phone, PAD (Portable Android Device, tablet computer), It can be that the electronic equipments such as computer, desktop computer specifically can be depending on business demand, the embodiment of the present invention is to this It is without restriction.
Business to be processed refers to that the received pending business of terminal, business to be processed can be primary user behavior, such as The payment behavior that user executes when doing shopping, alternatively, the behavior etc. for the primary acquisition order information that user executes.
It may include having subservice sequence in business to be processed, include at least one target subservice in subservice sequence And Service Component information to be replaced corresponding with each target subservice.
Business to be processed can be made of subservice sequence, and each subservice in subservice sequence is suitable with executing accordingly Sequence, for example, subservice sequence successively includes that subservice a, subservice b and subservice c need elder generation when then executing business to be processed Subservice a is executed, subservice b is then executed, finally executes subservice c.
Service Component information to be replaced refers to the information of the corresponding Service Component of replacement target subservice.
Service Component information to be replaced refers to the information of target subservice to be replaced in subservice sequence, for example, sub- industry Target subservice to be replaced includes subservice a and subservice b in sequence of being engaged in, then Service Component information to be replaced may include son Business a and subservice b, and the information etc. of the Service Component to be replaced of subservice a and subservice b is replaced respectively.
In the present invention, Service Component information to be replaced can be mark corresponding with the Service Component to be replaced of terminal side Know, for example, the Service Component to be replaced of terminal side is respectively arranged with corresponding component mark, as component a is identified corresponding to component 1, component b correspond to component mark 2 etc..Service Component information to be replaced corresponding with each target subservice is recorded in server When, component can be identified and be used as Service Component information to be replaced.
Certainly, Service Component information to be replaced can also be the information of other forms, such as terminal side Service Component to be replaced Corresponding serial number etc. specifically can be depending on business demand, and the embodiments of the present invention are not limited thereto.
It can be pre-created in terminal side and save multiple Service Component corresponding to different service types, specifically, with Embodiments discussed below is described in detail.
In a preferred embodiment of an embodiment of the present invention, before above-mentioned steps 301, can also include step D1 and Step D2:
Step D1: multiple Service Component corresponding at least one type of service are pre-created;
Step D2: it is directed to each type of service, at least one corresponding Service Component of the type of service is stored in Designated memory space corresponding with the type of service.
In embodiments of the present invention, Service Component is the component with certain processing logic, and each Service Component all has Corresponding processing logic can be after executing the Service Component such as the Service Component for obtaining order information, available phase The order information answered;And Service Component corresponding for payment information, it can be after executing the Service Component, available phase That answers pays successfully or pays the information etc. of failure.
Type of service refers to type corresponding to different business, such as payment class business, inquiry class business.
Multiple Service Component corresponding at least one type of service can be pre-created in terminal side, pass through Service Component Corresponding processing logic can be executed, so as to avoid the processing logic from executing using scripting language.
For each type of service, type of service can be stored in one at least one Service Component and type of service Corresponding designated memory space.
I.e. the present invention in, corresponding memory space can be preset for different types of service, creation from it is different After at least one corresponding Service Component of type of service, Service Component can will be stored in not according to the difference of type of service In same memory space.For example, type of service includes A and B, the corresponding Service Component of type of service A includes a, b and c, service class The corresponding Service Component of type B includes s, d and f, then it is empty that component a, component b and component c can be stored in storage corresponding with A Between, and component s, component d and component f are stored in memory space corresponding with B.
And after creating and storing at least one Service Component corresponding with each type of service, it can be according to industry to be processed It is engaged in corresponding type of service, corresponding Service Component to be replaced is obtained from designated memory space.
During following, it will be described in conjunction with Fig. 5 for the present embodiment.
Referring to Fig. 5, the schematic diagram that a kind of terminal provided in an embodiment of the present invention executes service resolution is shown.
As shown in figure 5, TaskParser, that is, task parsing, after the waiting task that will receive server transmission, It can be to task execution resolving to be processed, such as unpacking process, so as to the subservice sequence for including in obtaining, Ji Ziye At least one the target subservice and Service Component information to be replaced corresponding with each target subservice for including in business sequence.
After the business to be processed for receiving server transmission, step 302 is executed.
Step 302: according to each Service Component information to be replaced, obtaining corresponding wait replace with each target subservice Change Service Component.
Service Component to be replaced refers to the component of the pre-set replacement target subservice in terminal side, Service Component to be replaced With corresponding processing logic, for example, for the Service Component for obtaining order information, it can be after executing the Service Component, it can To obtain corresponding order information etc..
It, can be pre-set corresponding to the more of different service types according to terminal side when obtaining Service Component to be replaced A Service Component obtains Service Component to be replaced corresponding with target subservice, specifically, is carried out with embodiments discussed below detailed Thin description.
In a preferred embodiment of an embodiment of the present invention, above-mentioned steps 302 may include:
Sub-step E1: the target service type of the business to be processed is obtained.
In embodiments of the present invention, target service type refers to the corresponding type of service of business to be processed, for example, wait locate When reason business is payment class business, then the target service type of business to be processed is type of payment;It and is pin in business to be processed When selling class business, then the target service type of business to be processed is type of sale etc..
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating Example, not as the sole limitation to the embodiment of the present invention.
After obtaining business to be processed, the corresponding code of processing business can be treated and identified, according to recognition result It can know the target service type of business to be processed.
After the target service type for obtaining business to be processed, sub-step E2 is executed.
Sub-step E2: according to each Service Component information to be replaced, from local corresponding with the target service type In target storage space, each Service Component to be replaced is obtained.
Different types of service corresponds to different memory spaces, and target storage space refers to corresponding with target service type Memory space.
It, can be from target storage space corresponding with target service type after obtaining each Service Component information to be replaced It is middle to obtain each Service Component to be replaced.
And specifically acquisition process, it can be the place of the target subservice according to corresponding to each Service Component information to be replaced Logic is managed, the Service Component to be replaced with respective handling logic is searched from target storage space.
TaskRegistry process that can be as shown in Figure 5 for the step, i.e. task are registered, and TaskParser is being passed through After process, target subservice and the corresponding service groups to be replaced of target subservice in subservice sequence can be obtained according to parsing Part information obtains Service Component to be replaced corresponding with target subservice, and completes the Service Component replacement sub- industry of target to be replaced The operation of business.
After according to each Service Component acquisition of information to be replaced Service Component to be replaced corresponding with each target subservice, Execute step 303.
Step 303: utilize each Service Component to be replaced, to the target subservice each in the subservice sequence into The corresponding replacement of row, generates target subservice sequence.
Target subservice sequence, which refers to, replaces with corresponding service groups to be replaced for the target subservice in subservice sequence After part, subservice sequence is obtained.
After obtaining Service Component to be replaced corresponding with each target subservice, it can successively be looked into from subservice sequence Target subservice corresponding with Service Component to be replaced is looked for, and target subservice is replaced with into Service Component to be replaced, so as to To obtain target subservice sequence, for example, subservice sequence successively includes: subservice 1, son according to the execution sequence of each subservice Business 2, subservice 3, subservice 4, subservice 5 and subservice 6, wherein subservice 2, subservice 3 and subservice 5 are target Business, the corresponding Service Component to be replaced of subservice 2 are component a, and the corresponding Service Component to be replaced of subservice 3 is component b, son The corresponding Service Component to be replaced of business 5 is component c, then is directed to subservice sequence, subservice 2 is replaced with component a, by sub- industry Business 3 replaces with component b, and subservice 5 is replaced with component c, the target subservice sequence obtained after the completion of replacement are as follows: subservice 1, Component a, component b, subservice 4, component c and subservice 6.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating Example, not as the sole limitation to the embodiment of the present invention.
Certainly, in the concrete realization, specified page can also be set on backstage, user can specify in specified page to be needed The target subservice to be replaced specifically is described in detail with embodiments discussed below.
In another preferred embodiment of the embodiment of the present invention, upper sub-step 303 may include:
Sub-step F1: user is received to the Service Component to be replaced of each target subservice selection in specified page;
Sub-step F2: each target subservice is replaced with into the Service Component to be replaced, generates the sub- industry of the target Business sequence.
In embodiments of the present invention, specified page refers to the Service Component to be replaced of pre-set display user selection The page, specified page can be a H5 page, or other pages specifically can be depending on business demand, this Inventive embodiments are without restriction to this.
It can show that user is the Service Component to be replaced of each target subservice selection in specified page, and by each target Subservice replaces with Service Component to be replaced, so as to generate target subservice sequence.
Specifically, after obtaining business to be processed, the subservice sequence for including in business to be processed can be shown in Specified page such as shows subservice sequence: subservice 1, subservice 2, subservice 3, subservice 4,5 and of subservice in specified page Subservice 6, wherein subservice 2, subservice 3 and subservice 5 are target subservice, and user point can be shown in specified page Not Wei subservice 2, subservice 3 and subservice 5 the component a, component b and the component c that select, then carry out component replacement, thus The target subservice sequence of generation: subservice 1, component a, component b, subservice 4, component c and subservice is shown in specified page 6。
The embodiment of the present invention can be configured by presetting specified page by user, be had without user higher Professional skill, facilitate the configuration and execution of business.
According to each Service Component to be replaced, to each target corresponding with each Service Component to be replaced in sub- traffic sequence Business is replaced, and after generating target subservice sequence, executes step 304.
Step 304: executing the target subservice sequence, obtain implementing result corresponding with the business to be processed.
It, can be available after the completion of execution with performance objective subservice sequence after generating target subservice sequence Implementing result corresponding with business to be processed, for example, target subservice sequence: subservice 1, component a, component b, subservice 4, group Part c and subservice 6 then successively execute subservice 1, component a, component b, subservice 4, component c and subservice 6, are executing completion Afterwards, available corresponding implementing result.
Corresponding trigger condition is all had for Service Component to be replaced, when meeting trigger condition, can be executed corresponding Service Component to be replaced specifically, carried out to complete to treat the implementation procedure of processing business with embodiments discussed below detailed Thin description.
In a preferred embodiment of an embodiment of the present invention, the business to be processed further include: with it is each described to be replaced The corresponding trigger condition of Service Component information, above-mentioned steps 304 may include:
Sub-step G1: in the implementation procedure of the target subservice sequence, for each Service Component to be replaced, according to It is secondary according to the corresponding Service Component information to be replaced of the Service Component to be replaced, obtain corresponding with the Service Component to be replaced Trigger condition.
In embodiments of the present invention, in the above-described embodiments, due to obtaining the trigger condition of target subservice, In in advance After target subservice is replaced with Service Component to be replaced, the trigger condition of target subservice can be considered as business to be replaced The trigger condition of component establishes the incidence relation between Service Component to be replaced and trigger condition, when meeting trigger condition, Execute Service Component to be replaced.
Different Service Component information to be replaced are corresponding with corresponding trigger condition, in the execution to target subservice sequence In the process, it can be directed to each Service Component to be replaced, successively according to the corresponding target subservice of Service Component to be replaced, in turn, Trigger condition corresponding with Service Component to be replaced can be obtained, and execute sub-step G2 according to target subservice.
Sub-step G2: when meeting the trigger condition, the Service Component to be replaced is executed.
When meeting trigger condition, corresponding Service Component to be replaced can be executed, for example, Service Component to be replaced includes The corresponding trigger condition of component a and component b, component a is A condition, and the corresponding trigger condition of component b is B condition, then is getting When A condition, i.e. executive module a, and when getting B condition, then execute B condition.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating Example, not as the sole limitation to the embodiment of the present invention.
The process of trigger condition is added, includes in as ITask shown in fig. 5 (i.e. setting business executes process), ITask (service operation is completed by preActions (before service operation), runActions (during service operation) and afterActions Afterwards), it is respectively provided with the trigger condition before runtime in the corresponding Service Component to be replaced of each target subservice, was run Real time status information in journey, and after Service Component to be replaced is executed and completed, processing which of subservice sequence its Its subservice.
And trigger condition can be set for above-mentioned preActions, runActions, afterActions, such as IAction (corresponds to a subservice), can define IfAction and ForAction, and IfAction is condition Action, Different Rule of judgment can be issued, performance objective subservice such as when is triggered, after target subservice executes completion, which executes A subservice etc..ForAction is circulation A ction, i.e., repeats Service Component to be replaced operation meeting certain condition In the process, internal certain processing logics, for example, can be followed in the case where repeatedly inputting password mistake in user's payment Ring returns to the process that Password Input is executed by user.
And after having carried out above-mentioned setting, the ActionRegistry in Fig. 5 can be executed, i.e., Service Component to be replaced Registration process, after having carried out above-mentioned setting, can will merge Service Component to be replaced target subservice sequence carry out Registration, to prompt the configured completion of currently pending business, in operating status.And then execute ActionParser, that is, it obtains The business to be processed for taking configuration to complete.
I.e. terminal side be by the forms such as some component or container to the business to be processed that server issues carried out as On configuration process, and configuration complete after, terminal can from the extractions such as some component or container configure complete it is to be processed Business, and then the business to be processed that configuration is completed is executed by ExpressParser, and obtain corresponding implementing result.
After executing Service Component to be replaced, sub-step G3 is executed.
Sub-step G3: after the completion of the target subservice sequence executes, hold corresponding with the business to be processed is obtained Row result.
It is available to arrive implementing result corresponding with business to be processed after executing completion to target subservice sequence.
Method for processing business provided in an embodiment of the present invention, the business to be processed sent by receiving server are to be processed Business packet enclosed tool traffic sequence, subservice sequence include at least one target subservice and corresponding wait replace with each target subservice Service Component information is changed, it is corresponding to be replaced with each target subservice from local acquisition according to each Service Component information to be replaced Service Component, the corresponding programming language of leaf ancestral component to be replaced is primary speech like sound, using each Service Component to be replaced, to sub- industry Corresponding replacement is carried out with each target subservice in business sequence, target subservice sequence, and performance objective subservice sequence is generated, obtains To implementing result corresponding with business to be processed.The embodiment of the present invention is by pre-set Service Component to be replaced to target Business is replaced, and will no longer include the target subservice using scripting language after replacement, but includes Service Component to be replaced, And the corresponding programming language of Service Component to be replaced is primary speech like sound, can directly be run in terminal side, there is no need to pass through Script analytics engine is parsed, to reduce page load time for the first time.
Referring to Fig. 6, a kind of structural schematic diagram of system provided in an embodiment of the present invention is shown, which includes clothes Business device 410 and terminal 420, wherein
The server 410 can be used for:
First business to be processed is split, subservice sequence is obtained, and is determined to be replaced in the subservice sequence At least one target subservice;The corresponding programming language of the target subservice is scripting language;And
Record Service Component information to be replaced corresponding with each target subservice;And
According to the subservice sequence, each target subservice and each Service Component information to be replaced, the is generated Two business to be processed, and the described second business to be processed is sent to the terminal;
The terminal 420 can be used for:
It is corresponding to be replaced with each target subservice from local acquisition according to each Service Component information to be replaced Service Component;The corresponding programming language of the Service Component to be replaced is primary speech like sound;And
Using each Service Component to be replaced, correspondence is carried out to the target subservice each in the subservice sequence and is replaced It changes, generates target subservice sequence;And
The target subservice sequence is executed, implementing result corresponding with the described second business to be processed is obtained.
First business to be processed is split into subservice sequence by server by system provided in an embodiment of the present invention, and Determine at least one target subservice to be replaced in subservice sequence, the corresponding programming language of target subservice is script language Speech records corresponding with each target subservice Service Component information to be replaced, according to subservice sequence, each target subservice and respectively Service Component information to be replaced generates the second business to be processed, and is sent to terminal to the second business to be processed, and terminal is according to each Service Component information to be replaced obtains Service Component to be replaced corresponding with each target subservice, service groups to be replaced from local The corresponding programming language of part is primary speech like sound, and using each Service Component to be replaced to target subservice each in sub- traffic sequence Corresponding replacement is carried out, target subservice sequence is generated, and by terminal performance objective subservice sequence, to obtain with second wait locate The corresponding implementing result of reason business.Above scheme provided by the invention, due to being primary class language in terminal side preprogramming language The Service Component to be replaced of speech, replaces with Service Component to be replaced, therefore, server side for target subservice in terminal side It only needs to record the Service Component information to be replaced of each target subservice, and is sent to terminal, draw without issuing script parsing simultaneously It holds up, reduces backpack body product, improve data transmission efficiency.Also, in terminal side, directly pass through pre-set business to be replaced Component is replaced target subservice, after replacement will no longer comprising using scripting language target subservice, but include to Service Component is replaced, and the corresponding programming language of Service Component to be replaced is primary speech like sound, can directly be run in terminal side, There is no need to be parsed by script analytics engine, to reduce page load time for the first time.
Referring to Fig. 7, a kind of structural schematic diagram of server provided in an embodiment of the present invention is shown, can specifically include:
Subservice retrieval module 510 obtains subservice sequence for splitting to the first business to be processed;
Target subservice determining module 520, for determining at least one target to be replaced in the subservice sequence Business;The corresponding programming language of the target subservice is scripting language;
Module information logging modle 530, for recording Service Component letter to be replaced corresponding with each target subservice Breath;
Second service generation module 540, for according to the subservice sequence, each target subservice and it is each it is described to Service Component information is replaced, the second business to be processed is generated;
Second business sending module 550, for the described second business to be processed to be sent to terminal.
Preferably, the target subservice determining module 520 includes:
Programming language acquisition submodule 521, for successively obtaining each for multiple subservices in the subservice sequence The corresponding programming language of the subservice;
Target subservice determines submodule 522, for the subservice that programming language is scripting language to be determined as mesh Mark subservice.
Preferably, the module information logging modle 530 includes:
Service handling information identifies submodule 531, for according to the corresponding scripted code of each target subservice, identification The corresponding service handling information of each target subservice out;
Module information acquisition submodule 532 to be replaced, for according to service handling information and Service Component information to be replaced Between mapping relations, obtain Service Component information to be replaced corresponding with each service handling information;
Trigger condition acquisition submodule 533 successively obtains each mesh for executing sequence according to each subservice Mark the corresponding trigger condition of subservice;
Component and condition record sub module 534, for recording the corresponding Service Component to be replaced of each target subservice Information and each trigger condition;
The second service generation module 540 includes:
Second service generation submodule 541, for the subservice sequence, each target subservice, it is each it is described to Replacement Service Component information and each trigger condition carry out packing processing, generate second business to be processed.
Server provided in an embodiment of the present invention obtains subservice sequence by splitting to the first business to be processed, Determine at least one target subservice to be replaced in subservice sequence, the corresponding programming language of target subservice is script language Speech records corresponding with each target subservice Service Component information to be replaced, according to subservice sequence, each target subservice and respectively Service Component information to be replaced generates the second business to be processed, and the second business to be processed is sent to terminal.The present invention is implemented Example is sent to terminal by the corresponding Service Component information to be replaced of record target subservice, in terminal side directly to target Subservice is replaced, and replaces with the Service Component that programming language is primary speech like sound, thus, server is issuing industry to be processed When business, without issuing script analytics engine simultaneously, reduces backpack body product, improve data transmission efficiency.
Referring to Fig. 8, a kind of structural schematic diagram of terminal provided in an embodiment of the present invention is shown, can specifically include:
Business receiving module 630 to be processed, for receiving the business to be processed of server transmission;Wherein, described to be processed Business packet enclosed tool traffic sequence, the subservice sequence include at least one target subservice and with each target subservice pair The Service Component information to be replaced answered;
It replaces component and obtains module 640, for being obtained and each institute from local according to each Service Component information to be replaced State the corresponding Service Component to be replaced of target subservice;The corresponding programming language of the Service Component to be replaced is primary class language Speech;
Target subsequences generation module 650, for utilizing each Service Component to be replaced, in the subservice sequence Each target subservice carries out corresponding replacement, generates target subservice sequence;
Traffic sequence execution module 660 obtains and the business pair to be processed for executing the target subservice sequence The implementing result answered.
Preferably, further includes:
Service Component creation module 610, for multiple Service Component corresponding at least one type of service to be pre-created;
Service Component memory module 620, for being directed to each type of service, by the type of service corresponding at least one A Service Component is stored in designated memory space corresponding with the type of service;
The replacement component obtains module 640
Type of service acquisition submodule 641, for obtaining the target service type of the business to be processed;
Component acquisition submodule 642 is replaced, is used for according to each Service Component information to be replaced, from the local and mesh It marks in the corresponding target storage space of type of service, obtains each Service Component to be replaced.
Preferably, the target subsequences generation module 6500 includes:
It replaces component and selects submodule 651, for receiving user to each target subservice selection in specified page Service Component to be replaced;
Target subsequences generate submodule 652, for each target subservice to be replaced with the service groups to be replaced Part generates the target subservice sequence.
Preferably, the business to be processed further include: trigger condition corresponding with each Service Component information to be replaced, The traffic sequence execution module 660 includes:
Trigger condition acquisition submodule 661, in the implementation procedure of the target subservice sequence, for each described Service Component to be replaced, successively according to the corresponding Service Component information to be replaced of the Service Component to be replaced, obtain with it is described The corresponding trigger condition of Service Component to be replaced;
It replaces Service Component and runs submodule 662, for running the business to be replaced when meeting the trigger condition Component;
Implementing result acquisition submodule 663, for the target subservice sequence execute after the completion of, obtain with it is described to The corresponding implementing result of processing business.
Terminal provided in an embodiment of the present invention, the business to be processed sent by receiving server, business to be processed include Subservice sequence, subservice sequence include at least one target subservice and service groups to be replaced corresponding with each target subservice Part information obtains Service Component to be replaced corresponding with each target subservice from local according to each Service Component information to be replaced, The corresponding programming language of leaf ancestral component to be replaced is primary speech like sound, using each Service Component to be replaced, in sub- traffic sequence Carry out corresponding replacement with each target subservice, generate target subservice sequence, and performance objective subservice sequence, obtain with wait locate The corresponding implementing result of reason business.The embodiment of the present invention carries out target subservice by pre-set Service Component to be replaced Replacement, since the corresponding programming language of Service Component to be replaced is primary speech like sound, terminal side can directly run industry to be replaced It is engaged in component, no longer needs to be parsed by script analytics engine, to reduce page load time for the first time.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
Optionally, the present invention also provides a kind of electronic equipment, comprising: memory, processor and is stored in the memory Computer program that is upper and can running on the processor, the computer program is realized above-mentioned when being executed by the processor Each process of method for processing business embodiment, and identical technical effect can be reached, to avoid repeating, which is not described herein again.
Optionally, it the present invention also provides a kind of computer readable storage medium, is deposited on the computer readable storage medium Computer program is contained, the computer program realizes the step in method for processing business as described above when being executed by processor Suddenly.Wherein, the computer readable storage medium, such as read-only memory (Read-Only Memory, abbreviation ROM), at random Access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
In the embodiment of the present invention, the first business to be processed is split by subservice sequence by server, and determine son At least one target subservice to be replaced in traffic sequence, the corresponding programming language of target subservice are scripting language, record Service Component information to be replaced corresponding with each target subservice, according to subservice sequence, each target subservice and each to be replaced Service Component information generates the second business to be processed, and is sent to terminal to the second business to be processed, and terminal is according to each to be replaced Service Component information obtains Service Component to be replaced corresponding with each target subservice from local, and Service Component to be replaced is corresponding Programming language be primary speech like sound, and target subservice each in sub- traffic sequence is carried out pair using each Service Component to be replaced It should replace, target subservice sequence be generated, and by terminal performance objective subservice sequence, to obtain and the second business to be processed Corresponding implementing result.Above scheme provided by the invention, due to terminal side preprogramming language be primary speech like sound to Service Component is replaced, target subservice is replaced with into Service Component to be replaced in terminal side, therefore, server side only needs to remember The Service Component information to be replaced of each target subservice is recorded, and is sent to terminal, without issuing script analytics engine simultaneously, is reduced Backpack body product, improves data transmission efficiency.Also, in terminal side, directly pass through pre-set Service Component pair to be replaced Target subservice is replaced, and will no longer be included the target subservice using scripting language after replacement, but is included replacement business Component, and the corresponding programming language of Service Component to be replaced is primary speech like sound, can directly be run in terminal side, there is no need to It is parsed by script analytics engine, to reduce page load time for the first time.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of method for processing business provided by the present invention, a kind of system, a kind of server, a kind of terminal, one Kind of electronic equipment and a kind of computer readable storage medium, are described in detail, and specific case used herein is to this hair Bright principle and embodiment is expounded, method of the invention that the above embodiments are only used to help understand and its Core concept;At the same time, for those skilled in the art, according to the thought of the present invention, in specific embodiment and application There will be changes in range, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (13)

1. a kind of method for processing business characterized by comprising
Server splits the first business to be processed, obtains subservice sequence, and determine in the subservice sequence wait replace At least one the target subservice changed;The corresponding programming language of the target subservice is scripting language;
Server record Service Component information to be replaced corresponding with each target subservice;
The server according to the subservice sequence, each target subservice and each Service Component information to be replaced, The second business to be processed is generated, and the described second business to be processed is sent to terminal;
The terminal according to each Service Component information to be replaced, from it is local obtain it is corresponding with each target subservice to Replace Service Component;The corresponding programming language of the Service Component to be replaced is primary speech like sound;
The terminal utilizes each Service Component to be replaced, carries out pair to the target subservice each in the subservice sequence It should replace, generate target subservice sequence;
The terminal executes the target subservice sequence, obtains implementing result corresponding with the described second business to be processed.
2. a kind of method for processing business is applied to server characterized by comprising
First business to be processed is split, subservice sequence is obtained;
Determine at least one target subservice to be replaced in the subservice sequence;The corresponding programming language of the target subservice Speech is scripting language;
Record Service Component information to be replaced corresponding with each target subservice;
According to the subservice sequence, each target subservice and each Service Component information to be replaced, generate second to Processing business;
Described second business to be processed is sent to terminal.
3. according to the method described in claim 2, it is characterized in that, in the determination subservice sequence it is to be replaced at least One target subservice, comprising:
For multiple subservices in the subservice sequence, the corresponding programming language of each subservice is successively obtained;
The subservice that programming language is scripting language is determined as target subservice.
4. according to the method described in claim 3, it is characterized in that, the record is corresponding wait replace with each target subservice Change Service Component information, comprising:
According to the corresponding scripted code of each target subservice, the corresponding business processing letter of each target subservice is identified Breath;
According to the mapping relations between service handling information and Service Component information to be replaced, obtains and believe with each business processing Cease corresponding Service Component information to be replaced;
Sequence is executed according to each subservice, successively obtains the corresponding trigger condition of each target subservice;
Record the corresponding Service Component information to be replaced of each target subservice and each trigger condition;
It is described according to the subservice sequence, each target subservice and each Service Component information to be replaced, generate the Two business to be processed, comprising:
To the subservice sequence, each target subservice, each Service Component information to be replaced and each triggering item Part carries out packing processing, generates second business to be processed.
5. a kind of method for processing business is applied to terminal characterized by comprising
Receive the business to be processed that server is sent;Wherein, the business packet enclosed tool traffic sequence to be processed, the subservice sequence Column include at least one target subservice and Service Component information to be replaced corresponding with each target subservice;
According to each Service Component information to be replaced, business to be replaced corresponding with each target subservice is obtained from local Component;The corresponding programming language of the Service Component to be replaced is primary speech like sound;
Using each Service Component to be replaced, corresponding replacement is carried out to the target subservice each in the subservice sequence, Generate target subservice sequence;
The target subservice sequence is executed, implementing result corresponding with the business to be processed is obtained.
6. according to the method described in claim 5, it is characterized in that, it is described reception server send business to be processed it Before, further includes:
Multiple Service Component corresponding at least one type of service are pre-created;
For each type of service, at least one corresponding Service Component of the type of service is stored in and the service class The corresponding designated memory space of type;
It is described according to each Service Component information to be replaced, from it is local obtain it is corresponding to be replaced with each target subservice Service Component, comprising:
Obtain the target service type of the business to be processed;
According to each Service Component information to be replaced, from local target storage space corresponding with the target service type In, obtain each Service Component to be replaced.
7. according to the method described in claim 5, it is characterized in that, described utilize each Service Component to be replaced, to described Each target subservice carries out corresponding replacement in subservice sequence, generates target subservice sequence, comprising:
User is received to the Service Component to be replaced of each target subservice selection in specified page;
Each target subservice is replaced with into the Service Component to be replaced, generates the target subservice sequence.
8. according to the method described in claim 5, it is characterized in that, the business to be processed further include: with it is each described to be replaced The corresponding trigger condition of Service Component information, it is described to execute the target subservice sequence, it obtains and the business pair to be processed The implementing result answered, comprising:
In the implementation procedure of the target subservice sequence, for each Service Component to be replaced, successively according to it is described to The corresponding Service Component information to be replaced of Service Component is replaced, trigger condition corresponding with the Service Component to be replaced is obtained;
When meeting the trigger condition, the Service Component to be replaced is run;
After the completion of the target subservice sequence executes, implementing result corresponding with the business to be processed is obtained.
9. a kind of transaction processing system, which is characterized in that the system comprises servers and terminal, wherein
The server obtains subservice sequence, and determine the subservice sequence for splitting to the first business to be processed At least one target subservice to be replaced in column;The corresponding programming language of the target subservice is scripting language;And note Record Service Component information to be replaced corresponding with each target subservice;And according to the subservice sequence, each mesh Subservice and each Service Component information to be replaced are marked, generates the second business to be processed, and by the described second business to be processed It is sent to the terminal;
The terminal, for being obtained and each target subservice pair from local according to each Service Component information to be replaced The Service Component to be replaced answered;The corresponding programming language of the Service Component to be replaced is primary speech like sound;And utilize each institute Service Component to be replaced is stated, corresponding replacement is carried out to the target subservice each in the subservice sequence, generates the sub- industry of target Business sequence;And the target subservice sequence is executed, obtain implementing result corresponding with the described second business to be processed.
10. a kind of server characterized by comprising
Subservice retrieval module obtains subservice sequence for splitting to the first business to be processed;
Target subservice determining module, for determining at least one target subservice to be replaced in the subservice sequence;Institute Stating the corresponding programming language of target subservice is scripting language;
Module information logging modle, for recording Service Component information to be replaced corresponding with each target subservice;
Second service generation module, for according to the subservice sequence, each target subservice and each industry to be replaced Business module information, generates the second business to be processed;
Second business sending module, for the described second business to be processed to be sent to terminal.
11. a kind of terminal characterized by comprising
Business receiving module to be processed, for receiving the business to be processed of server transmission;Wherein, the business to be processed includes Subservice sequence, the subservice sequence include at least one target subservice and corresponding wait replace with each target subservice Change Service Component information;
It replaces component and obtains module, for being obtained and each target from local according to each Service Component information to be replaced The corresponding Service Component to be replaced of subservice;The corresponding programming language of the Service Component to be replaced is primary speech like sound;
Target subsequences generation module, for utilizing each Service Component to be replaced, to each described in the subservice sequence Target subservice carries out corresponding replacement, generates target subservice sequence;
Traffic sequence execution module obtains hold corresponding with the business to be processed for executing the target subservice sequence Row result.
12. a kind of electronic equipment characterized by comprising memory, processor and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 8 is realized when the computer program is executed by the processor Any one of described in method for processing business.
13. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes such as business processing side described in any item of the claim 1 to 8 when the computer program is executed by processor Method.
CN201910528227.6A 2019-06-18 2019-06-18 Service processing method, system, server, terminal, electronic equipment and storage medium Active CN110389754B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910528227.6A CN110389754B (en) 2019-06-18 2019-06-18 Service processing method, system, server, terminal, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910528227.6A CN110389754B (en) 2019-06-18 2019-06-18 Service processing method, system, server, terminal, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110389754A true CN110389754A (en) 2019-10-29
CN110389754B CN110389754B (en) 2023-12-15

Family

ID=68285554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910528227.6A Active CN110389754B (en) 2019-06-18 2019-06-18 Service processing method, system, server, terminal, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110389754B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113378532A (en) * 2021-06-04 2021-09-10 远光软件股份有限公司 Processing method of table file, processing device and storage medium thereof

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100318370A1 (en) * 2009-06-11 2010-12-16 International Business Machines Corporation Web service interaction in a dynamically extensible business application
CN104636147A (en) * 2015-03-09 2015-05-20 北京恒华伟业科技股份有限公司 Cross-platform mobile application implementation method and cross-platform mobile application implementation system
CN106775790A (en) * 2015-11-19 2017-05-31 腾讯科技(深圳)有限公司 A kind of control call method and device
CN108304205A (en) * 2018-01-30 2018-07-20 努比亚技术有限公司 A kind of update method of application program, terminal and computer readable storage medium
CN108345531A (en) * 2017-01-23 2018-07-31 阿里巴巴集团控股有限公司 A kind of test method, apparatus and system
CN108399074A (en) * 2018-01-30 2018-08-14 努比亚技术有限公司 A kind of update method of application program, terminal and computer readable storage medium
CN108776592A (en) * 2018-05-23 2018-11-09 北京五八信息技术有限公司 A kind of method, apparatus of page makeup, equipment and storage medium
CN108804120A (en) * 2018-05-23 2018-11-13 北京五八信息技术有限公司 A kind of page makeup method, apparatus, equipment and storage medium
CN108804100A (en) * 2018-05-23 2018-11-13 北京五八信息技术有限公司 Create method, apparatus, storage medium and the mobile terminal of interface element
CN108845810A (en) * 2018-05-23 2018-11-20 北京五八信息技术有限公司 A kind of method, apparatus, electronic equipment and storage medium that application dynamic updates
CN109032606A (en) * 2018-07-10 2018-12-18 北京小米移动软件有限公司 The process of compilation method, apparatus and terminal of native applications program
CN109597661A (en) * 2018-10-26 2019-04-09 阿里巴巴集团控股有限公司 A kind of service function configuration method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100318370A1 (en) * 2009-06-11 2010-12-16 International Business Machines Corporation Web service interaction in a dynamically extensible business application
CN104636147A (en) * 2015-03-09 2015-05-20 北京恒华伟业科技股份有限公司 Cross-platform mobile application implementation method and cross-platform mobile application implementation system
CN106775790A (en) * 2015-11-19 2017-05-31 腾讯科技(深圳)有限公司 A kind of control call method and device
CN108345531A (en) * 2017-01-23 2018-07-31 阿里巴巴集团控股有限公司 A kind of test method, apparatus and system
CN108304205A (en) * 2018-01-30 2018-07-20 努比亚技术有限公司 A kind of update method of application program, terminal and computer readable storage medium
CN108399074A (en) * 2018-01-30 2018-08-14 努比亚技术有限公司 A kind of update method of application program, terminal and computer readable storage medium
CN108776592A (en) * 2018-05-23 2018-11-09 北京五八信息技术有限公司 A kind of method, apparatus of page makeup, equipment and storage medium
CN108804120A (en) * 2018-05-23 2018-11-13 北京五八信息技术有限公司 A kind of page makeup method, apparatus, equipment and storage medium
CN108804100A (en) * 2018-05-23 2018-11-13 北京五八信息技术有限公司 Create method, apparatus, storage medium and the mobile terminal of interface element
CN108845810A (en) * 2018-05-23 2018-11-20 北京五八信息技术有限公司 A kind of method, apparatus, electronic equipment and storage medium that application dynamic updates
CN109032606A (en) * 2018-07-10 2018-12-18 北京小米移动软件有限公司 The process of compilation method, apparatus and terminal of native applications program
CN109597661A (en) * 2018-10-26 2019-04-09 阿里巴巴集团控股有限公司 A kind of service function configuration method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
毛炎等: "基于新型Web脚本样式框架构建城市规划编制信息平台――以ReactJS和Ant Design为例", 《测绘与空间地理信息》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113378532A (en) * 2021-06-04 2021-09-10 远光软件股份有限公司 Processing method of table file, processing device and storage medium thereof

Also Published As

Publication number Publication date
CN110389754B (en) 2023-12-15

Similar Documents

Publication Publication Date Title
CN109597661B (en) Service function configuration method and device
US11210070B2 (en) System and a method for automating application development and deployment
CN105765527A (en) Method and apparatus for custom software development kit (SDK) generation
CN109308254B (en) Test method, test device and test equipment
US10169428B1 (en) Mining procedure dialogs from source content
CN108415826B (en) Application testing method, terminal device and computer readable storage medium
US11144607B2 (en) Network search mapping and execution
CN106326099B (en) A kind of method, apparatus and electronic equipment for program tracking
CN104881343A (en) Testing method and testing system
CN111340232A (en) Online prediction service deployment method and device, electronic equipment and storage medium
US11269938B2 (en) Database systems and methods for conversational database interaction
CN110555550A (en) Online prediction service deployment method, device and equipment
CN106055375A (en) Application program installation method and device
CN102929646A (en) Application program production method and device
CN110389754A (en) Method for processing business, system, server, terminal, electronic equipment and storage medium
EP3627313B1 (en) Method and system for operating a software application on a processor of a mobile device
US11726778B2 (en) Translating clusters of a monolith application to microservices
CN109558192A (en) A kind of implementation method, device, storage medium and the computer equipment of video face label
US11797492B2 (en) Cognitive method to perceive storages for hybrid cloud management
CN116848580A (en) Structural self-aware model for utterance parsing for multiparty conversations
CN113506099A (en) Configuration system, method, computer device and storage medium for reporting service
CN112307305A (en) Service component preprocessing method, device and equipment
JP2014164309A (en) Screen program generation device, screen program generation method therefor, information processing device, and computer program
US20190057087A1 (en) Onboarding services
KR102361534B1 (en) Method and system for obfuscation using compiler

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant