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

Method and system for soa service conversion language to maintain functional consistency

A language conversion and consistency technology, applied in the direction of multi-program device, inter-program communication, program control design, etc., can solve the problems of not being able to quickly locate service responses well, and not being able to well guarantee system framework reconstruction, etc. Achieve the effect of reducing manual testing, ensuring correctness, and ensuring stability

Active Publication Date: 2020-04-07
CTRIP TRAVEL NETWORK TECH SHANGHAI0
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to overcome the need to rely on a large number of manual comparison tests in the prior art, which cannot quickly locate the difference in service response, cannot well ensure that the system framework can be refactored, and cannot well ensure the new language The defect that the developed SOA service is quickly put into production provides a method and system for SOA service conversion language to maintain functional consistency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for soa service conversion language to maintain functional consistency
  • Method and system for soa service conversion language to maintain functional consistency
  • Method and system for soa service conversion language to maintain functional consistency

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] The method for maintaining functional consistency in the SOA service transformation language of this embodiment, such as figure 1 shown, including:

[0060] Step 101, the old language SOA service and the new language SOA service are deployed in the same production environment at the same time, and the old language SOA service receives the service request message from the client;

[0061] In this embodiment, in view of the nearly ten million service requests of the client every day, in order to ensure service accuracy, in the step 101, the new language SOA service does not receive and process the service request of the client temporarily, only the old language SOA service receives and Handle client service requests.

[0062] Step 102, the old language SOA service sends the received service request message to the new language SOA service according to a first preset ratio;

[0063] In the specific implementation of this embodiment, the first preset ratio in step 102 can ...

Embodiment 2

[0070] The method for maintaining functional consistency in the SOA service transformation language in Embodiment 2 includes steps 101-105 in Embodiment 1, and the difference is that, as figure 2 as shown,

[0071] The step 105 specifically includes: after the new language SOA service is launched, the new language SOA service receives and processes the service request message of the client according to a second preset ratio;

[0072] In the actual implementation of this embodiment, in view of nearly ten million service requests per day from the client, in order to ensure service accuracy and stability, the SOA service in the old language still receives and processes the service request from the client, and in step 105 In this method, after the new language SOA service is launched, the new language SOA service receives and processes the service request message of the client according to a second preset ratio. For example, since the new language SOA service has just been launch...

Embodiment 3

[0085] The system used for SOA service conversion language in this embodiment to maintain functional consistency, such as image 3 As shown, it includes old language SOA service 1, new language SOA service 2, recording module 3, first judgment module 4,

[0086] The old language SOA service 1 and the new language SOA service 2 are deployed in the same production environment at the same time, the old language SOA service 1 is used to receive the service request message from the client, and convert the received service request message according to a first preset ratio The service request message is sent to the new language SOA service 2;

[0087] The old language SOA service 1 and the new language SOA service 2 respectively respond to the same service request message and generate corresponding service response messages;

[0088] The recording module 3 is used to record the service request message sent by the old language SOA service 1 to the new language SOA service 2, and the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and system for keeping the functional consistency of an SOA service conversion language. The method comprises the steps that 1, new and old language services are deployed to the same production environment, and old language service receives a service request message of a client; 2, the old language service sends the service request message to the new language service according to the first preset proportion; 3, the new and old language services respond to the same service request message separately and generate the corresponding service response messages, and the same service request message and the corresponding service response messages are recorded; 4, whether or not the same service request message is matched with the corresponding service response messages in the step 3 is judged, if not, a new language service is optimized, and then the step 1 is executed again; 5, the new language service is online, and the service request messages of a client are received and processed. Accordingly, the service response difference can be positioned rapidly, manual testing can be greatly reduced, the system framework reconstruction correctness is guaranteed, and it is guaranteed that the new language service is put on production rapidly.

Description

technical field [0001] The invention relates to the field of software information systems, in particular to a method and system for SOA service conversion language to maintain functional consistency. Background technique [0002] With the development of information system business, enterprises may consider replacing the programming language of the existing system from the perspective of cost and language openness, such as changing from C# to Java. The replacement of programming language, in addition to the replacement of language syntax In most cases, developers will also upgrade the framework to improve code quality and readability, but no matter how much the change is, the final result of the transformation is: the business functions provided by the new language service must be consistent with the old The business functions provided by the language service remain consistent. [0003] As a mature software system development architecture, SOA (Service Oriented Architecture)...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36G06F9/54
CPCG06F9/546G06F11/3688G06F11/3692G06F2209/541G06F2209/548
Inventor 杨秦旭
Owner CTRIP TRAVEL NETWORK TECH SHANGHAI0
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products