CN108647102A - Service request processing method, device and the electronic equipment of heterogeneous system - Google Patents

Service request processing method, device and the electronic equipment of heterogeneous system Download PDF

Info

Publication number
CN108647102A
CN108647102A CN201810446676.1A CN201810446676A CN108647102A CN 108647102 A CN108647102 A CN 108647102A CN 201810446676 A CN201810446676 A CN 201810446676A CN 108647102 A CN108647102 A CN 108647102A
Authority
CN
China
Prior art keywords
interface
invocation
user identifier
service request
pattern
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
CN201810446676.1A
Other languages
Chinese (zh)
Other versions
CN108647102B (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810446676.1A priority Critical patent/CN108647102B/en
Publication of CN108647102A publication Critical patent/CN108647102A/en
Application granted granted Critical
Publication of CN108647102B publication Critical patent/CN108647102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/549Remote execution

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

This application discloses a kind of service request processing method of heterogeneous system, device and electronic equipment, this method to include:The initial call interface of reception service request, the service request carrying user identifier and destination service in heterogeneous system;Determine the corresponding interface invocation pattern of the user identifier;Based on the initial call interface and the interface invocation pattern, the corresponding object invocation interface of destination service interface invocation pattern described in heterogeneous system is called.

Description

Service request processing method, device and the electronic equipment of heterogeneous system
Technical field
This application involves computer software technical field more particularly to a kind of service request processing method of heterogeneous system, Device and electronic equipment.
Background technology
Heterogeneous system model is needed due to the increase of the quantity and type of the business of access in original heterogeneous system mould Upgrading is carried out on the basis of type, with the access for preferably supporting business and more model indexs.
The process that tradition carries out original heterogeneous system model upgrading mainly includes the following steps that:
Former service is called, the service taboo that peripheral dependence system provides is write, and confirmed service is to prohibit to write and enter into force;
Data Migration is proceeded by, migration data on stock, and the consistency that verification data migration is front and back are completed;
It is switched over external interface, and one by one after the switching of confirmation completion interface, what releasing provided peripheral dependence system Service, which is prohibited, to be write;
Call new demand servicing.
Wherein, above procedure needs shutdown operation, poor user experience;User can obviously perceive the switching of service, unfavorable In the upgrading of heterogeneous system model.
Invention content
The embodiment of the present application provides a kind of service request processing method of heterogeneous system, device and electronic equipment, to realize Convenient for carrying out upgrading to heterogeneous system model.
The embodiment of the present application uses following technical proposals:
In a first aspect, providing a kind of service request processing method of heterogeneous system, this method includes:
Service request is received, the service request carries user identifier and destination service connects in the initial call of heterogeneous system Mouthful;
Determine the corresponding interface invocation pattern of the user identifier;
Based on the initial call interface and the interface invocation pattern, destination service institute in heterogeneous system is called State the corresponding object invocation interface of interface invocation pattern.
Second aspect, provides a kind of service request handling device of heterogeneous system, which includes:
Receiving unit, receives service request, and the service request carries user identifier and destination service in heterogeneous system Initial call interface;
Determination unit determines the corresponding interface invocation pattern of the user identifier;
Call unit is based on the initial call interface and the interface invocation pattern, calls the destination service different The corresponding object invocation interface of interface invocation pattern described in construction system.
The third aspect provides a kind of electronic equipment, which includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed It manages device and executes following operation:
Service request is received, the service request carries user identifier and destination service connects in the initial call of heterogeneous system Mouthful;
Determine the corresponding interface invocation pattern of the user identifier;
Based on the initial call interface and the interface invocation pattern, destination service institute in heterogeneous system is called State the corresponding object invocation interface of interface invocation pattern.
Fourth aspect provides a kind of computer readable storage medium, the computer-readable recording medium storage one Or multiple programs, one or more of programs by the electronic equipment including multiple application programs when being executed so that the electricity Sub- equipment executes following operation:
Service request is received, the service request carries user identifier and destination service connects in the initial call of heterogeneous system Mouthful;
Determine the corresponding interface invocation pattern of the user identifier;
Based on the initial call interface and the interface invocation pattern, destination service institute in heterogeneous system is called State the corresponding object invocation interface of interface invocation pattern.
Above-mentioned at least one technical solution that the embodiment of the present application uses can reach following advantageous effect:
The user identifier carried based on service request can determine interface invocation pattern, be based on interface invocation pattern and service Ask carry initial call interface, can with invocation target service in heterogeneous system the corresponding object invocation of interface invocation pattern Interface.In this way, by the way that initial call interface is switched to object invocation interface, the calling to different services can be completed, entirely Process does not need shutdown operation, promotes user experience, and user will not perceive the calling of service, can be in user's unaware The upgrading to heterogeneous system model is completed under state.
Description of the drawings
Attached drawing described herein is used for providing further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please do not constitute the improper restriction to the application for explaining the application.In the accompanying drawings:
Fig. 1 is the schematic flow chart of the service request processing method of the heterogeneous system of one embodiment of the application;
Fig. 2 be the heterogeneous system of one embodiment of the application service request processing method in interface switch signal Figure;
Fig. 3 is the implement scene schematic diagram of the service request processing method of the heterogeneous system of one embodiment of the application;
Fig. 4 is the structural schematic diagram of the electronic equipment of one embodiment of the application;
Fig. 5 is the structural schematic diagram of the service request handling device of the heterogeneous system of one embodiment of the application.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, shall fall in the protection scope of this application.
Below in conjunction with attached drawing, the technical solution that each embodiment of the application provides is described in detail.
Fig. 1 is the service request processing method schematic flow chart of the heterogeneous system of the application one embodiment.Shown in Fig. 1 The executive agent of method is not limited to heterogeneous system server device.
As shown in Figure 1, at S102, service request is received, service request carries user identifier and destination service in isomery The initial call interface of system.
Service request can be sent to server device by ustomer premises access equipment.The service request can be that request server-side is set It is standby that corresponding data are handled based on heterogeneous system model, can also be that request server device carries out instruction or data Transmission and processing etc..Service request is usually sent out by ustomer premises access equipment, and relevant clothes are called after being received by server device Business handles service request.
Ustomer premises access equipment send service request can carry user identifier and destination service heterogeneous system initial tune Use interface.User identifier can be the mark of ustomer premises access equipment itself, including the account letter that user is registered by ustomer premises access equipment Breath etc..User identifier can also be other identification informations related to user.Server device upon receipt of a service request may be used To call initial call interface to handle service request.Initial call interface, which determines, handles the service request When, service that server device is called.
At S104, the corresponding interface invocation pattern of user identifier is determined.
Based on user identifier, server device may determine that corresponding interface invocation pattern.It is set in heterogeneous system server-side In standby, during carrying out upgrading, server device can be based on it is former service or new demand servicing to service request at Reason.Former service be relative to new demand servicing in contrast.Former service can be some services reached the standard grade, and new demand servicing can be not Some services reached the standard grade, new demand servicing usually require just to can decide whether to reach the standard grade after test.Server device can be with Service request is handled by the former service before non-upgrading.Server device is during upgrading, if needs It calls new demand servicing to handle service request, can be judged by user identifier.The corresponding interface tune of user identifier Can be that former service is called to handle service request with pattern, can also be call new demand servicing to service request at Reason.
At step S106, it is based on initial call interface and interface invocation pattern, invocation target service is in heterogeneous system The corresponding object invocation interface of interface invocation pattern.
Based on interface invocation pattern, server device can determine the former service of calling or new demand servicing.It is connect based on initial call Mouthful, server device can determine the corresponding object invocation interface of destination service interface invocation pattern in heterogeneous system.Target Service can be former service or new demand servicing, and former service or new demand servicing can be called by object invocation interface.
Optionally, as an example, when destination service is former service, initial call interface can connect with object invocation Mouth is identical, can directly invoke former service and handle service request.When destination service is new demand servicing, initial call interface Can be different from object invocation interface, initial call interface can be switched to object invocation interface, to call new demand servicing to clothes Business request is handled.
The user identifier carried based on service request can determine interface invocation pattern, be based on interface invocation pattern and service Ask carry initial call interface, can with invocation target service in heterogeneous system the corresponding object invocation of interface invocation pattern Interface.In this way, by the way that initial call interface is switched to object invocation interface, the calling to different services can be completed, entirely Process does not need shutdown operation, promotes user experience, and user will not perceive the calling of service, can be in user's unaware The upgrading to heterogeneous system model is completed under state.
Optionally, as an example, same service can externally provide identical calling interface in heterogeneous system.Example Such as, for the calculating of the indices of finance product, such as income volume, earning rate, these indexs are required to call corresponding clothes Business is calculated, and the same calling interface provided in heterogeneous system that services is identical, can be in initial call interface and target It achieves accurate switching between calling interface.
Optionally, in some embodiments, it when determining the corresponding interface invocation pattern of user identifier, can be based on local Subscriber identity data determines the corresponding interface invocation pattern of user identifier.Local user identifier can be that heterogeneous system changes in upgrading The stored local user identifier data of server device before making.
Optionally, as an example, determine that the corresponding interface of user identifier calls mould based on local user identifier data When formula, when user identifier be local user identifier data, and not in the white list of setting when, it may be determined that first interface call Pattern;Wherein, first interface invocation pattern is for being called initial call interface.When the non-local user identifier of user identifier Data, or when user identifier is local user identifier data, and when in the white list of setting, it may be determined that second interface tune With pattern, wherein second interface invocation pattern is used for being called by the object invocation interface after initial call interface conversion.
Optionally, as an example, white list can record some users mark of setting as a kind of screening rule Know.When user identifier be local user identifier data, and not in the white list of setting when, server device can be by initial Calling interface calls former service to handle service request.When user identifier is not marked in local user identifier data or user When knowing in local user identifier data and white list, server device can be by switching to target tune by initial call interface With interface, then new demand servicing is called to handle service request by object invocation interface.
Optionally, as an example, for the user identifier being added in white list, if object invocation interface calls When new demand servicing is abnormal the processing of service request, including program or data processing mistake, server device can be returned (Rollback) operation is rolled, i.e., program or error in data is handled, program or data is restored to last correct status. Therefore, rolling back action may be implemented by white list.
Since the quantity for the user identifier being added in white list can be controlled, server device can be controlled Make the percentage handled service request by new demand servicing.For example, can successively be passed by 5%, 10% etc. by white list Local user identifier data are added in white list by the mode of increasing, and the percentage of new demand servicing is issued to realize control to user Than.For example, it is assumed that white list includes 5% local user identifier data.When these 5% user identifiers can be by newly taking When often processing service request of doing honest work, then the user identifier quantity in white list can be further increased.On the contrary, then can be to newly taking Business is detected maintenance.A gray scale publication can be formed by white list, realizes the smooth transition for function of not reaching the standard grade.
Optionally, as an example, a part can be selected from the user of " the poly- precious finance product of ant ", such as selected One any active ues.These users of selection can be by calling new demand servicing to handle service request.Pass through subsequent number The service condition of new demand servicing can be determined according to collection and a large amount of data analysis and investigation.For example, passing through real time data inspecting The data such as server device stability, access times, frequency of use can be monitored and legacy data compares, so that it is determined that newly The scope of release of service, and whether large area launches new demand servicing.
Wherein, when interface invocation pattern is second interface invocation pattern, in the embodiment of the present application, optionally, Fig. 1 institutes The method shown further includes:
Service request is converted to for by the service request of object invocation interface;
Transformed service request is handled based on object invocation interface.
Optionally, as an example, as shown in Fig. 2, can be converted to service request for by mesh based on adaptation layer Mark the service request that calling interface receives.There are one object invocation interface can at least have, adaptation layer can pass through service code It configures to be adapted to the conversion of the corresponding object invocation interface of different business scene.As shown in Fig. 2, service request can be converted to Corresponding A interface requests, B interface request or C interface request.New demand servicing can be called to transformed based on object invocation interface Service request is handled, such as corresponding A processing, B processing or C processing.
In the embodiment of the present application, optionally, method shown in FIG. 1 further includes:
The handling result of object invocation interface is converted into the handling result for being initially invoked interface;
Based on initial call interface, transformed handling result is returned into user.
Optionally, as an example, handling result can be converted based on adaptation layer.For being connect by A interfaces, B The handling result that mouth or C interface return after being converted by adaptation layer, can return to user by initial call interface.
Adaptation layer can between initial call interface and object invocation interface service request and handling result carry out Conversion, so as to use new demand servicing with making user's unaware.
In the embodiment of the present application, optionally, method shown in FIG. 1 further includes:
Based on initial call interface, feedback information of the user to transformed handling result is received;
Feedback information is converted to for by the feedback information of object invocation interface;
Transformed feedback information is handled based on object invocation interface;
Based on the handling result to transformed feedback information, white list is adjusted.
Optionally, as an example, adaptation layer can be converted to feedback information for by object invocation interface Feedback information, by object invocation interface call new demand servicing transformed feedback information can be handled.For example, feedback Information can be access times, frequency of use etc., these and legacy data or the target data of design are compared, if It meets the requirements, then can increase the user identifier quantity in white list, expand the scope of release of new demand servicing, otherwise, can reduce The scope of release of new demand servicing, or further determine whether to cancel the new demand servicing.
Based on the implement scene as shown in Figure 3, the tool of the service request processing method of heterogeneous system described further below Body flow.When ustomer premises access equipment sends service request to server device, which can carry user identifier and initial Calling interface, server device can determine that the corresponding interface of user identifier calls based on local user identifier data and white list Pattern can be called directly by initial call interface former if interface invocation pattern is the calling to initial call interface Service handles service request;If interface invocation pattern is to by the object invocation interface after initial call interface conversion Calling, server device, which is then converted to service request, to pass through target tune by the service request of object invocation interface Call new demand servicing that can handle transformed service request with interface.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the action recorded in detail in the claims or step can be come according to different from the sequence in embodiment It executes and desired result still may be implemented.In addition, the process described in the accompanying drawings not necessarily require show it is specific suitable Sequence or consecutive order could realize desired result.In some embodiments, multitasking and parallel processing be also can With or it may be advantageous.
Below in conjunction with Fig. 4 detailed descriptions according to the electronic equipment of one embodiment of the application.With reference to figure 4, in hardware Level, electronic equipment include processor, optionally, including internal bus, network interface, memory.Wherein, memory may wrap Containing memory, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-volatile Memory (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that The required hardware of other business.
Processor, network interface and memory can be connected with each other by internal bus, which can be industry Standard architecture (Industry Standard Architecture, ISA) bus, Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, Controlling bus etc..It for ease of indicating, is only indicated with a four-headed arrow in Fig. 4, but table 4 does not only have a bus or a type The bus of type.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from then operation in corresponding computer program to memory is read in nonvolatile memory, in logical layer The service request handling device of heterogeneous system is formed on face.Processor executes the program that memory is stored, and specifically for holding The following operation of row:
Service request is received, the service request carries user identifier and destination service connects in the initial call of heterogeneous system Mouthful;
Determine the corresponding interface invocation pattern of the user identifier;
Based on the initial call interface and the interface invocation pattern, destination service institute in heterogeneous system is called State the corresponding object invocation interface of interface invocation pattern.
The service request processing method of heterogeneous system disclosed in the above-mentioned embodiment illustrated in fig. 1 such as the application, can be applied to In processor, or realized by processor.Processor may be a kind of IC chip, the processing capacity with signal. During realization, each step of the above method can pass through the integrated logic circuit of the hardware in processor or software form Instruction is completed.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processor, DSP), it is application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device are divided Vertical door or transistor logic, discrete hardware components.It may be implemented or execute and is in the embodiment of the present application disclosed each Method, step and logic diagram.General processor can be microprocessor or the processor can also be any conventional place Manage device etc..The step of method in conjunction with disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and execute At, or in decoding processor hardware and software module combination execute completion.Software module can be located at random access memory, This fields such as flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register maturation In storage medium.The storage medium is located at memory, and processor reads the information in memory, and above-mentioned side is completed in conjunction with its hardware The step of method.
Certainly, other than software realization mode, other realization methods are not precluded in the electronic equipment of the application, for example patrol Collect the mode etc. of device or software and hardware combining, that is to say, that the executive agent of following process flow is not limited to each patrol Unit is collected, can also be hardware or logical device.
The embodiment of the present application also proposed a kind of computer readable storage medium, the computer-readable recording medium storage one A or multiple programs, the one or more program include instruction, which works as is held by the electronic equipment including multiple application programs When row, the method that the electronic equipment can be made to execute embodiment illustrated in fig. 1, and specifically for executing following methods:
Service request is received, the service request carries user identifier and destination service connects in the initial call of heterogeneous system Mouthful;
Determine the corresponding interface invocation pattern of the user identifier;
Based on the initial call interface and the interface invocation pattern, destination service institute in heterogeneous system is called State the corresponding object invocation interface of interface invocation pattern.
Fig. 5 is the structural schematic diagram of the service request handling device of the heterogeneous system of one embodiment of the application.It please join Fig. 5 is examined, in a kind of Software Implementation, the service request handling device 500 of heterogeneous system includes:Receiving unit 502 determines Unit 504 and call unit 506, wherein:
Receiving unit 502, receives service request, and service request carries user identifier and destination service in the first of heterogeneous system Beginning calling interface;
Determination unit 504 determines the corresponding interface invocation pattern of user identifier;
Call unit 506, is based on initial call interface and interface invocation pattern, and invocation target service connects in heterogeneous system The corresponding object invocation interface of mouth invocation pattern.
The user identifier carried based on service request can determine interface invocation pattern, be based on interface invocation pattern and service Ask carry initial call interface, can with invocation target service in heterogeneous system the corresponding object invocation of interface invocation pattern Interface.In this way, by the way that initial call interface is switched to object invocation interface, the calling to different services can be completed, entirely Process does not need shutdown operation, promotes user experience, and user will not perceive the calling of service, can be in user's unaware The upgrading to heterogeneous system model is completed under state.
Optionally, as one embodiment, same service externally provides identical calling interface in the heterogeneous system.
Optionally, as one embodiment, determination unit 504,
The corresponding interface invocation pattern of the user identifier is determined based on local user identifier data.
Optionally, as one embodiment, determination unit 504,
When the user identifier be the local user identifier data, and not in the white list of setting when, determine first Interface invocation pattern;Wherein, the first interface invocation pattern is for being called the initial call interface.
Optionally, as one embodiment, determination unit 504,
When the non-local user identifier data of the user identifier, or when the user identifier is the local user Mark data, and when in the white list of setting, determine second interface invocation pattern;Wherein, the second interface invocation pattern For to being called by the object invocation interface after the initial call interface conversion.
Optionally, as one embodiment, the service request handling device 500 of heterogeneous system further includes:
First converting unit turns the service request when the interface invocation pattern is second interface invocation pattern It is exchanged for by the service request of the object invocation interface;
First processing units are handled the transformed service request based on the object invocation interface.
Optionally, as one embodiment, the service request handling device 500 of heterogeneous system further includes:
Second converting unit is converted to the handling result of the object invocation interface for by the initial call The handling result of interface;
Returning unit is based on the initial call interface, and the transformed handling result is returned to user.
Optionally, as one embodiment, the service request or handling result are converted based on adaptation layer.
Optionally, as one embodiment, wherein the object invocation interface at least has one;
The adaptation layer is adapted to the conversion of the corresponding object invocation interface of different business scene by the configuration of service code.
Optionally, as one embodiment, the service request handling device 500 of heterogeneous system further includes:
Receiving unit is based on the initial call interface, receives feedback letter of the user to the transformed handling result Breath;
Third converting unit is converted to the feedback information for by the feedback letter of the object invocation interface Breath;
Second processing unit is handled the transformed feedback information based on the object invocation interface;
Adjustment unit is adjusted the white list based on the handling result to the transformed feedback information.
The method that the service request handling device 500 of heterogeneous system can also carry out embodiment illustrated in fig. 1, and realize isomery system The function of the service request handling device embodiment shown in Fig. 1 of system, details are not described herein for the embodiment of the present application.
In short, the foregoing is merely the preferred embodiment of the application, it is not intended to limit the protection domain of the application. Within the spirit and principles of this application, any modification, equivalent replacement, improvement and so on should be included in the application's Within protection domain.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment The combination of equipment.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described There is also other identical elements in the process of element, method, commodity or equipment.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method Part explanation.

Claims (13)

1. a kind of service request processing method of heterogeneous system, including:
The initial call interface of reception service request, the service request carrying user identifier and destination service in heterogeneous system;
Determine the corresponding interface invocation pattern of the user identifier;
Based on the initial call interface and the interface invocation pattern, the destination service is called to be connect described in heterogeneous system The corresponding object invocation interface of mouth invocation pattern.
2. according to the method described in claim 1, same service externally provides identical calling interface in the heterogeneous system.
3. according to the method described in claim 1,
The corresponding interface invocation pattern of the determination user identifier, including:
The corresponding interface invocation pattern of the user identifier is determined based on local user identifier data.
4. according to the method described in claim 3,
The corresponding interface invocation pattern of the user identifier is determined based on local user identifier data, including:
When the user identifier be the local user identifier data, and not in the white list of setting when, determine first interface Invocation pattern;Wherein, the first interface invocation pattern is for being called the initial call interface.
5. according to the method described in claim 4,
The corresponding interface invocation pattern of the user identifier is determined based on local user identifier data, further includes:
When the non-local user identifier data of the user identifier, or when the user identifier is the local user identifier Data, and when in the white list of setting, determine second interface invocation pattern;Wherein, the second interface invocation pattern For to being called by the object invocation interface after the initial call interface conversion.
6. according to the method described in claim 5,
When the interface invocation pattern is second interface invocation pattern, the method further includes:
The service request is converted to for by the service request of the object invocation interface;
The transformed service request is handled based on the object invocation interface.
7. according to the method described in claim 6, further including:
The handling result of the object invocation interface is converted to for by the processing knot of the initial call interface Fruit;
Based on the initial call interface, the transformed handling result is returned into user.
8. according to the method described in claim 7,
The service request or handling result are converted based on adaptation layer.
9. according to the method described in claim 8,
Wherein, the object invocation interface at least has one;
The adaptation layer is adapted to the conversion of the corresponding object invocation interface of different business scene by the configuration of service code.
10. according to the method described in claim 7, further including:
Based on the initial call interface, feedback information of the user to the transformed handling result is received;
The feedback information is converted to for by the feedback information of the object invocation interface;
The transformed feedback information is handled based on the object invocation interface;
Based on the handling result to the transformed feedback information, the white list is adjusted.
11. a kind of service request handling device of heterogeneous system, including:
Receiving unit, receives service request, and the service request carries user identifier and destination service in the initial of heterogeneous system Calling interface;
Determination unit determines the corresponding interface invocation pattern of the user identifier;
Call unit is based on the initial call interface and the interface invocation pattern, calls the destination service in isomery system The corresponding object invocation interface of interface invocation pattern described in system.
12. a kind of electronic equipment, including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the processor when executed Execute following operation:
The initial call interface of reception service request, the service request carrying user identifier and destination service in heterogeneous system;
Determine the corresponding interface invocation pattern of the user identifier;
Based on the initial call interface and the interface invocation pattern, the destination service is called to be connect described in heterogeneous system The corresponding object invocation interface of mouth invocation pattern.
13. a kind of computer readable storage medium, the computer-readable recording medium storage one or more program, described one A or multiple programs by the electronic equipment including multiple application programs when being executed so that the electronic equipment executes following behaviour Make:
The initial call interface of reception service request, the service request carrying user identifier and destination service in heterogeneous system;
Determine the corresponding interface invocation pattern of the user identifier;
Based on the initial call interface and the interface invocation pattern, the destination service is called to be connect described in heterogeneous system The corresponding object invocation interface of mouth invocation pattern.
CN201810446676.1A 2018-05-11 2018-05-11 Service request processing method and device of heterogeneous system and electronic equipment Active CN108647102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810446676.1A CN108647102B (en) 2018-05-11 2018-05-11 Service request processing method and device of heterogeneous system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810446676.1A CN108647102B (en) 2018-05-11 2018-05-11 Service request processing method and device of heterogeneous system and electronic equipment

Publications (2)

Publication Number Publication Date
CN108647102A true CN108647102A (en) 2018-10-12
CN108647102B CN108647102B (en) 2022-05-13

Family

ID=63754503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810446676.1A Active CN108647102B (en) 2018-05-11 2018-05-11 Service request processing method and device of heterogeneous system and electronic equipment

Country Status (1)

Country Link
CN (1) CN108647102B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324654A (en) * 2020-02-18 2020-06-23 深圳壹账通智能科技有限公司 Interface calling method, system, computer device and computer readable storage medium
CN113395180A (en) * 2021-06-11 2021-09-14 上海企翔智能科技有限公司 Industrial real-time big data acquisition and release method and industrial real-time big data platform
WO2023216604A1 (en) * 2022-05-07 2023-11-16 Oppo广东移动通信有限公司 Service scheduling method and system, electronic device, and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110010724A1 (en) * 2009-07-13 2011-01-13 Sudhindra Kumar Thokur Lakshminarayanan Communication bridge
CN102571550A (en) * 2010-12-30 2012-07-11 北京亿阳信通软件研究院有限公司 General information interaction platform and method
US8271889B1 (en) * 2007-11-26 2012-09-18 Adobe Systems Incorporated Automatically updated user interfaces for a mobile device
CN103778026A (en) * 2012-10-24 2014-05-07 阿里巴巴集团控股有限公司 Object calling method and device
CN105871911A (en) * 2016-06-02 2016-08-17 浪潮通用软件有限公司 Service calling engine, method and system
CN106487557A (en) * 2015-08-31 2017-03-08 腾讯科技(深圳)有限公司 A kind of service updating method of application, device, server and terminal unit
CN107733922A (en) * 2017-11-20 2018-02-23 百度在线网络技术(北京)有限公司 Method and apparatus for calling service

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8271889B1 (en) * 2007-11-26 2012-09-18 Adobe Systems Incorporated Automatically updated user interfaces for a mobile device
US20110010724A1 (en) * 2009-07-13 2011-01-13 Sudhindra Kumar Thokur Lakshminarayanan Communication bridge
CN102571550A (en) * 2010-12-30 2012-07-11 北京亿阳信通软件研究院有限公司 General information interaction platform and method
CN103778026A (en) * 2012-10-24 2014-05-07 阿里巴巴集团控股有限公司 Object calling method and device
CN106487557A (en) * 2015-08-31 2017-03-08 腾讯科技(深圳)有限公司 A kind of service updating method of application, device, server and terminal unit
CN105871911A (en) * 2016-06-02 2016-08-17 浪潮通用软件有限公司 Service calling engine, method and system
CN107733922A (en) * 2017-11-20 2018-02-23 百度在线网络技术(北京)有限公司 Method and apparatus for calling service

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324654A (en) * 2020-02-18 2020-06-23 深圳壹账通智能科技有限公司 Interface calling method, system, computer device and computer readable storage medium
CN113395180A (en) * 2021-06-11 2021-09-14 上海企翔智能科技有限公司 Industrial real-time big data acquisition and release method and industrial real-time big data platform
CN113395180B (en) * 2021-06-11 2023-04-18 上海企翔智能科技有限公司 Industrial real-time big data acquisition and release method and industrial real-time big data platform
WO2023216604A1 (en) * 2022-05-07 2023-11-16 Oppo广东移动通信有限公司 Service scheduling method and system, electronic device, and computer readable storage medium

Also Published As

Publication number Publication date
CN108647102B (en) 2022-05-13

Similar Documents

Publication Publication Date Title
CN113840012B (en) Block chain-based screen recording evidence obtaining method and system and electronic equipment
CN106339222B (en) A kind of service implementing method and device
US20160142369A1 (en) Service addressing in distributed environment
CN110768912A (en) API gateway current limiting method and device
CN108647102A (en) Service request processing method, device and the electronic equipment of heterogeneous system
CN110909373A (en) Access control method, device, system and storage medium
CN108737132A (en) A kind of alarm information processing method and device
CN110633900A (en) Virtual resource allocation method and device and electronic equipment
CN113242297A (en) Service system and service state adjusting method
CN109376927A (en) A kind of age of user prediction technique, device and equipment
CN109428682A (en) A kind of Message Processing confirmation method and device
CN111611572A (en) Real-name authentication method and device based on face authentication
CN107808199A (en) A kind of method and device of article recovery
CN114528126A (en) Service processing method and device
CN112035676B (en) User operation behavior knowledge graph construction method and device
CN109542775B (en) Test script generation and execution method and device
CN109857450A (en) A kind of verification service orchestration method and device
CN111143327B (en) Data processing method and device
US10783020B2 (en) Method for invoking component, and terminal
CN113676377A (en) Online user number evaluation method, device, equipment and medium based on big data
CN112182502A (en) Compliance auditing method, device and equipment
CN113742664B (en) Monitoring and auditing method, equipment and system
CN111930620B (en) Application running environment data processing method and device
CN111405685B (en) Network resource processing method, device, radio frequency communication system and storage medium
CN112115132B (en) Data association method, device, equipment and storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant
GR01 Patent grant