CN109714418A - The comparison method of interface returned data calculates equipment - Google Patents

The comparison method of interface returned data calculates equipment Download PDF

Info

Publication number
CN109714418A
CN109714418A CN201811611936.2A CN201811611936A CN109714418A CN 109714418 A CN109714418 A CN 109714418A CN 201811611936 A CN201811611936 A CN 201811611936A CN 109714418 A CN109714418 A CN 109714418A
Authority
CN
China
Prior art keywords
data
interface
hierarchy
type
returned
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.)
Pending
Application number
CN201811611936.2A
Other languages
Chinese (zh)
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 longzhixin Technology Co.,Ltd.
Original Assignee
Beijing Panda Mutual Entertainment 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 Panda Mutual Entertainment Technology Co Ltd filed Critical Beijing Panda Mutual Entertainment Technology Co Ltd
Priority to CN201811611936.2A priority Critical patent/CN109714418A/en
Publication of CN109714418A publication Critical patent/CN109714418A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of comparison methods of interface returned data, and suitable for executing in calculating equipment, method is comprising steps of send same request to first server and second server respectively;The first data that the first server returns are obtained, the second data that the second server returns are obtained;First data and second data are compared according to data hierarchy.The invention also discloses corresponding readable storage medium storing program for executing and calculate equipment.

Description

The comparison method of interface returned data calculates equipment
Technical field
The present invention relates to net application technology fields more particularly to a kind of comparison method of interface returned data, calculating to set It is standby.
Background technique
With the development of network technology, the application of computing technique also enters the stage of ripeness, and Network Computing Platform obtains more next More extensive use.Network Computing Platform includes multiple functions, and most function can pass through API (Application Programming Interface, application programming interface) it is accessed.Since the function upgrading or user volume of platform are continuous Increase, in order to meet the more flexible demands of reply or improve performance, can optimize or reconstructed on line with the language of better performances Some interface codes, interface function is constant, only changes implementation method or language, needs to guarantee that the interface newly write returns at this time It is remained exactly the same on data and line.For example, the underlying services interface of legacy version uses PHP (Hypertext Preprocessor, HyperText Preprocessor) write, as platform user is continuously increased, in order to meet better concurrency performance Carrying, is write again using the better go language of performance (The Go Programming Language), in this case, in order to Guarantee not influencing have business on line after new interface is online, it is necessary to assure new interface is consistent with having interface returned data on line.
For above situation, the requestor of interface must obtain the interface of currently used Network Computing Platform in advance, and The data type of the returned data of relevant interface is hard coded into program.In the prior art, it generally connects two environment are same The Json data that mouth returns carry out order traversal, and field and value are compared.But when a project is related to interface quantity When more and each interface returned data amount is more, each field of each interface is compared in turn, and workload is too big, and works Efficiency is too low.
Summary of the invention
For this purpose, the present invention provides a kind of comparison method of interface returned data, calculate equipment, with try hard to solve or extremely It is few to alleviate at least one existing problem above.
According to an aspect of an embodiment of the present invention, a kind of comparison method of interface returned data is provided, suitable for counting It calculates and is executed in equipment, method includes: to send same request to first server and second server respectively;Obtain first server The first data returned obtain the second data that second server returns;The first data and the second number are compared according to data hierarchy According to.
Optionally, in the method according to the invention, the step of the first data and the second data being compared according to data hierarchy It again include: the data specifying-information for comparing the first data and the second data under current data level, if unanimously, more next number According to the data specifying-information of the first data and the second data under level, repeat the above process until comparing the first number in lowest level According to the data content with the second data;Wherein, when the data description for determining the first data and the second data in any data hierarchy Information is inconsistent, or lowest level determine the first data and second data data content it is inconsistent when, determine One data and the second data difference.
Optionally, in the method according to the invention, in the data that lowest level compares the first data and the second data The step of appearance includes: the numerical value for comparing the first data and the second data;And/or compare the character of the first data and the second data String.
Optionally, in the method according to the invention, data specifying-information includes data type and length.
Optionally, in the method according to the invention, data type includes: dictionary dict, chained list list, integer int, word Symbol string string.
Optionally, in the method according to the invention, the step of the first data and the second data being compared according to data hierarchy In, it further comprises the steps of: and the first data and the second data, specific function and the first data and the second data is handled according to specific function Data type it is related, for eliminating since receiving time sequence difference is influenced caused by the first data and the second data.
Optionally, in the method according to the invention, the step of the first data and the second data being handled according to specific function If again including: the first data and the second data are all dict type, the first data are compared according to has_key function or in function With the key of the second data, then compare the value of the first data and the second data;If the first data and the second data are all List type is ranked up the first data and the second data according to sorted function;Data after sequence are packaged into respectively Tuple elements, wherein the first data and the second data are compared under the form of tuple elements.
Optionally, it further comprises the steps of: according to the method for the present invention and comparison result is returned into user.
Other side according to an embodiment of the present invention provides a kind of readable storage medium storing program for executing, is suitable for storage one or more A program, one or more programs are configured as executing the ratio of interface returned data according to an embodiment of the present invention by calculating equipment To method.
According to an embodiment of the present invention there are one aspects, provide a kind of calculating equipment, comprising: one or more processing Device;Memory;And one or more programs, wherein one or more programs are stored in memory and are configured as by one Or multiple processors execute the comparison method of interface returned data according to an embodiment of the present invention.
The comparison method of interface returned data according to an embodiment of the present invention obtains interface returned data from varying environment, And layered comparison is carried out to the data of two environment, comparison efficiency is improved, can quickly determine the interface of Network Computing Platform Whether changed.
Detailed description of the invention
To the accomplishment of the foregoing and related purposes, certain illustrative sides are described herein in conjunction with following description and drawings Face, these aspects indicate the various modes that can practice principles disclosed herein, and all aspects and its equivalent aspect It is intended to fall in the range of theme claimed.Read following detailed description in conjunction with the accompanying drawings, the disclosure it is above-mentioned And other purposes, feature and advantage will be apparent.Throughout the disclosure, identical appended drawing reference generally refers to identical Component or element.
Fig. 1 is exemplarily illustrated the structural block diagram for calculating equipment 100;
Fig. 2 is exemplarily illustrated the process of the control methods 200 of interface returned data according to an embodiment of the invention Figure;
Fig. 3-Fig. 8 is exemplarily illustrated the engineering of the control methods of interface returned data according to an embodiment of the invention Realize schematic diagram.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Fig. 1 is the Example Computing Device 100 for being arranged as realizing the comparison method of interface returned data according to the present invention Block diagram.In basic configuration 102, calculates equipment 100 and typically comprise system storage 106 and one or more processor 104.Memory bus 108 can be used for the communication between processor 104 and system storage 106.
Depending on desired configuration, processor 104 can be any kind of processing, including but not limited to: microprocessor ((μ P), microcontroller (μ C), digital information processor (DSP) or any combination of them.Processor 104 may include all Cache, processor core such as one or more rank of on-chip cache 110 and second level cache 112 etc 114 and register 116.Exemplary processor core 114 may include arithmetic and logical unit (ALU), floating-point unit (FPU), Digital signal processing core (DSP core) or any combination of them.Exemplary Memory Controller 118 can be with processor 104 are used together, or in some implementations, and Memory Controller 118 can be an interior section of processor 104.
Depending on desired configuration, system storage 106 can be any type of memory, including but not limited to: easily The property lost memory (RAM), nonvolatile memory (ROM, flash memory etc.) or any combination of them.System storage Device 106 may include operating system 120, one or more program 122 and program data 124.In some embodiments, Program 122 can be configured as to be referred to by one or more processor 104 using the execution of program data 124 on an operating system It enables.
Calculating equipment 100 can also include facilitating from various interface equipments (for example, output equipment 142, Peripheral Interface 144 and communication equipment 146) to basic configuration 102 via the communication of bus/interface controller 130 interface bus 140.Example Output equipment 142 include graphics processing unit 148 and audio treatment unit 150.They can be configured as facilitate via One or more port A/V 152 is communicated with the various external equipments of such as display or loudspeaker etc.Outside example If interface 144 may include serial interface controller 154 and parallel interface controller 156, they, which can be configured as, facilitates Via one or more port I/O 158 and such as input equipment (for example, keyboard, mouse, pen, voice-input device, touch Input equipment) or the external equipment of other peripheral hardwares (such as printer, scanner etc.) etc communicated.Exemplary communication is set Standby 146 may include network controller 160, can be arranged to convenient for via one or more communication port 164 and one A or multiple other calculate communication of the equipment 162 by network communication link.
Network communication link can be an example of communication media.Communication media can be usually presented as in such as carrier wave Or computer readable instructions, data structure, program module in the modulated data signal of other transmission mechanisms etc, and can To include any information delivery media." modulated data signal " can such signal, one in its data set or more It is a or it change can the mode of encoded information in the signal carry out.As unrestricted example, communication media can be with Wired medium including such as cable network or private line network etc, and it is such as sound, radio frequency (RF), microwave, infrared (IR) the various wireless mediums or including other wireless mediums.Term computer-readable medium used herein may include depositing Both storage media and communication media.
Calculating equipment 100 can be implemented as a part of portable (or mobile) electronic equipment of small size, these electronics are set The standby such as cellular phone, personal digital assistant (PDA), personal media player device, wireless network browsing apparatus, a of can be People's helmet, application specific equipment or may include any of the above function mixing apparatus.Calculating equipment 100 can be with Be embodied as include desktop computer and notebook computer configuration personal computer.
Wherein, the one or more programs 122 for calculating equipment 100 include returning to number for executing interface according to the present invention According to comparison method instruction.
Fig. 2 illustrates the flow chart of the comparison method 200 of interface returned data according to an embodiment of the invention. As shown in Fig. 2, the comparison method 200 of interface returned data starts from step S210.
In step S210, same request is sent to first server and second server respectively, can specifically be passed through Proxy in the request module of python, agency test the old code service of environment on the fresh code server and line of environment Device (being denoted as dst on test src and line respectively) sends same HTTP (Hyper Text Transfer Protocol, hypertext Transport protocol) request.
In step S220, the old code clothes of environment on the fresh code server and line of test environment are obtained with Json format The content of business device response, the json data (being denoted as src_data and dst_data respectively) returned.
Further, the json data of return may include four kinds of data types: dictionary dict, chained list list, integer int, Character string string.
In step S230, the first data and the second data are compared according to data hierarchy.In an alternative embodiment, data Layer The level for the nested data that the secondary json data for referring to return include, wherein using string/int type as minimum data Level, if some data type directly contains string/int, then it is assumed that there are two levels for the data type, if some Data type is further nested above-mentioned directly to contain the data type of string/int, then it is assumed that there are three level, according to this Analogize.Dict and list data type according to an embodiment of the present invention, directly can not clearly learn the data hierarchy for including Number, for example, dict data can only include two parameters of character key and integer value, it can also nesting dict or list; List data also may include nested list data or dict data.The data more for this class hierarchy, should not word for word section Ground directly compares, and will lead to the problem that comparison efficiency is low, error-prone.Therefore, the present invention proposes a kind of side compared by different level Method, in an alternative embodiment, this method description are as follows:
Compare the data specifying-information of the first data and the second data under current data level, if unanimously, it is more next The data specifying-information of first data and the second data under data hierarchy repeats the above process until comparing first in lowest level The data content of data and the second data;Wherein, when determining that the first data and the data of the second data are retouched in any data hierarchy State that information is inconsistent, or lowest level determine the first data and the second data data content it is inconsistent when, determine first Data and the second data difference.
According to a kind of embodiment, data specifying-information includes: data type and length.If the first data and the second data Data type it is inconsistent, then the inconsistent comparison result of direct returned data;If the length of the first data and the second data It is inconsistent, the also inconsistent comparison result of direct returned data.
According to a kind of embodiment, in the step of lowest level compares the data content of the first data and the second data, comprising: In the numerical value of int level first data and second data;And/or in string level more described first The character string of data and second data.
By way of layered comparison, the problem of being able to solve the current word for word inefficiency of section alignments;Specifically, The variation of some interface frequently can lead to the variation of data type or data length, word for word section contrast number or character it Before, the data type or data length of two data are first integrally compared, it is whether varied that interface can be quickly detected.
The prior art there is a problem in that: the multiple other services of some interface bottom tune lead to final interface Return value is that the multiple service return values of bottom are spliced, and the time that multiple services of bottom tune return sometimes can have any different, and is led The position for causing interface to return to field is out-of-order, at this point, comparison result may be unequal, but actually if word for word comparing to section Interface is still consistent, to cause wrong report.
In order to solve the above technical problems, according to a kind of embodiment, in the implementation procedure of step S230 further include: according to specific Function handles the first data and the second data, and specific function is for eliminating since receiving time sequence difference is to the first data and the It is influenced caused by two data;In brief, the first data and the second data are compared according to data hierarchy and specific function.
According to a kind of embodiment, the step of first data and second data are handled according to specific function, comprising: If the first data and the second data are all dict type, the first data and second are compared according to has_key function or in function The key of data, then the value of first data and second data;If first data and described second Data are all list type, are ranked up according to sorted function to first data and second data;After sorting Data be packaged into tuple elements respectively, wherein first data and second data under the form of tuple elements into Row compares.In above-mentioned steps, has_key function, in function, sorted function can be eliminated due to receiving time sequence not It is influenced with caused by the first data and the second data, certainly, the embodiment of the present invention is not only restricted to this, in other test environment Under, key, value value in data can also be obtained using other function or method, and data are ranked up etc. Reason, to realize according to the method for the embodiment of the present invention 200, details are not described herein again.
Further include step S240 after step S230 according to a kind of embodiment: comparison result is returned into user.
Below with reference to engineering implementation method, step S230 is described further.
First, it is determined that whether src_data is consistent with the data type of dst_data, using type functional query src_ The data type of data and dst_data, and judge whether data type is consistent with assert function, inconsistent then direct return Src_data and dst_data is inconsistent as a result, step terminates.
In the present embodiment, data type is divided into three kinds, is dict, list, string/int respectively, wherein String/int indicates not including nested data hierarchy, and dict, list then need to make Recursion process, until being broken down into String/int type.For different types of data, different control methods is taken:
If one, data type is consistent and is string/int, direct comparison data.
If two, data type is consistent and is dict, whether consistent, if data length one if first comparing data length It causes, then has_key method using the in method or python version of python3 less than 2.7 judges the key in src_data With the presence or absence of in dst_data, there is no different and specific unequal information is then returned, exists, continue comparison and correspond to Value, successively recurrence is until fall on string/int branch.
Example is as follows: the dict data that test src is returned are as shown in figure 3, dict data such as Fig. 4 institute that dst is returned on line Show, it can be seen that field adjust_ratio and base_ratio sequence of positions is different in the data returned in two environment, figure Tested in the data that src is returned in 3, adjust_ratio in preceding, base_ratio rear, and the number that dst is returned on Fig. 4 middle line In, base_ratio is in preceding, adjust_ratio rear.Judged with has_key method, only judges adjust_ in src This key of ratio whether there is in dst, and whether if existing, then to compare the corresponding value value " 1.2 " of two key equal, If equal, continue to compare base_ratio with same principle, two data of final judgement are equal if equal.
It should be noted that the element of the dict in the example is fairly simple key-value form, if dict is first Element is more complicated, and e.g., the dict of list or nesting then continue to be split in the branch of corresponding type type, and further compare Whether data type is consistent with length, until falling on string/int branch.
If three, data type is consistent and is list, whether consistent, if data length one if first comparing data length It causes, sorted sorting operation is carried out to two list, and (e.g., zip is packaged) is packaged to the data after sequence, obtain tuple List, circulation takes tuple elements, carries out recurrence comparison, until falling on string/int branch.
Example is as follows: the list data that test src is returned are as shown in figure 5, list data such as Fig. 6 institute that dst is returned on line Show, it can be seen that src_data and dst_data is list, second He of the list there are three dict element, in src_data The data (i.e. corresponding data under " { } 1 " and " { } 2 ") of the third place respectively correspond the third place and second in dst_data The data (i.e. corresponding data under " { } 1 " and " { } 2 ") of position.
As it was noted above, first determining whether the length of data is equal.A kind of embodiment according to the present invention, by such as Under type judges whether data length is equal:
0lif isinstance(src_data,list):
Assert len (src_data)=len (dst_data), " list len: ' { } '!=' { } ' " .format (len (src_data),len(dst_data))
If length is unequal, directly return.The equal length of data shown in Fig. 5 and Fig. 6, then arranged in next step Sequence.According to an embodiment of the invention, src_data Data Position is constant after data sorting, dst_data data pass through sorted After sequence, data sequence is consistent with src_data, as shown in fig. 7, " dst " indicates initial dst_data data in figure, " sorted (dst) " indicates the dst_data data after sequence, and being directed toward according to arrow in figure can see, dst_data data warp After crossing sorted sequence, data sequence is changed, and is consistent with the sequence of src_data data.
Next, the data after sequence, which are carried out zip, is packaged into tuple, wherein src_data [0] and dst_data [0], Src_data [1] and dst_data [1], src_data [2] have separately constituted three elements of tuple with dst_data [2], often A element is bracketed with () round bracket, as shown in Figure 8.
Finally, successively taking tuple elements, compare, if tuple elements are dict, in the branch of recurrence to dict, directly To falling on string/int branch.When data type is string/int, whether direct correlation data is equal.
In three kinds of above-mentioned comparative approach, any one step finds that data type, length or content be not identical, directly Inconsistent comparison result is returned, for not comparing field, is no longer compared, improves efficiency, if all identical, return to one The comparison result of cause.Thus judge interface return value whether with it is consistent on line, achieve the purpose that regression test.
It should be appreciated that various technologies described herein are realized together in combination with hardware or software or their combination.From And some aspects or part of the process and apparatus of the present invention or the process and apparatus of the present invention can take the tangible matchmaker of insertion It is situated between, such as the program code in floppy disk, CD-ROM, hard disk drive or other any machine readable storage mediums (refers to Enable) form, wherein when program is loaded into the machine of such as computer etc, and when being executed by the machine, which becomes real Trample equipment of the invention.
In the case where program code executes on programmable computers, calculates equipment and generally comprise processor, processor Readable storage medium (including volatile and non-volatile memory and or memory element), at least one input unit, and extremely A few output device.Wherein, memory is configured for storage program code;Processor is configured for according to the memory Instruction in the program code of middle storage executes various methods of the invention.
By way of example and not limitation, computer-readable medium includes computer storage media and communication media.It calculates Machine readable medium includes computer storage media and communication media.Computer storage medium storage such as computer-readable instruction, The information such as data structure, program module or other data.Communication media is generally modulated with carrier wave or other transmission mechanisms etc. Data-signal processed passes to embody computer readable instructions, data structure, program module or other data including any information Pass medium.Above any combination is also included within the scope of computer-readable medium.
It should be appreciated that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, it is right above In the description of exemplary embodiment of the present invention, each feature of the invention be grouped together into sometimes single embodiment, figure or In person's descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. claimed hair Bright requirement is than feature more features expressly recited in each claim.More precisely, as the following claims As book reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows specific real Thus the claims for applying mode are expressly incorporated in the specific embodiment, wherein each claim itself is used as this hair Bright separate embodiments.
Those skilled in the art should understand that the module of the equipment in example disclosed herein or unit or groups Part can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned at and the equipment in the example In different one or more equipment.Module in aforementioned exemplary can be combined into a module or furthermore be segmented into multiple Submodule.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
In addition, be described as herein can be by the processor of computer system or by executing by some in the embodiment The combination of method or method element that other devices of the function are implemented.Therefore, have for implementing the method or method The processor of the necessary instruction of element forms the device for implementing this method or method element.In addition, Installation practice Element described in this is the example of following device: the device be used for implement as in order to implement the purpose of the invention element performed by Function.
As used in this, unless specifically stated, come using ordinal number " first ", " second ", " third " etc. Description plain objects, which are merely representative of, is related to the different instances of similar object, and is not intended to imply that the object being described in this way must Must have the time it is upper, spatially, sequence aspect or given sequence in any other manner.
Although the embodiment according to limited quantity describes the present invention, above description, the art are benefited from It is interior it is clear for the skilled person that in the scope of the present invention thus described, it can be envisaged that other embodiments.Additionally, it should be noted that Language used in this specification primarily to readable and introduction purpose and select, rather than in order to explain or limit Determine subject of the present invention and selects.Therefore, without departing from the scope and spirit of the appended claims, for this Many modifications and changes are obvious for the those of ordinary skill of technical field.For the scope of the present invention, to this Invent done disclosure be it is illustrative and not restrictive, it is intended that the scope of the present invention be defined by the claims appended hereto.

Claims (10)

1. a kind of comparison method of interface returned data, suitable for being executed in calculating equipment, which comprises
Same request is sent to first server and second server respectively;
The first data that the first server returns are obtained, and obtain the second data that the second server returns;
First data and second data are compared according to data hierarchy.
2. the method for claim 1, wherein comparing first data and second data according to data hierarchy Step, comprising:
Compare the data specifying-information of first data and second data under current data level, if unanimously, compared The data specifying-information of first data and second data under next data hierarchy repeats the above process until minimum The data content of level first data and second data;
Wherein, when determining that the data specifying-information of first data and second data is inconsistent in any data hierarchy, Or lowest level determine first data and second data data content it is inconsistent when, determine it is described first number According to different with second data.
3. method according to claim 2, wherein in the number of lowest level first data and second data The step of according to content, comprising:
Compare the numerical value of first data and second data;And/or
Compare the character string of first data and second data.
4. method according to claim 2, wherein the data specifying-information includes: data type and length.
5. method as claimed in claim 4, wherein the data type include: dictionary dict, chained list list, integer int, Character string string.
6. the method for claim 1, wherein comparing first data and second data according to data hierarchy In step, further comprise the steps of:
First data and second data, the specific function and first data and institute are handled according to specific function The data type for stating the second data is related, for eliminating since receiving time sequence difference is to first data and described second It is influenced caused by data.
7. method as claimed in claim 6, wherein handle first data and second data according to specific function Step, comprising:
If first data and second data are all dict type, institute is compared according to has_key function or in function State the key of the first data and second data, then the value of first data and second data;
If first data and second data are all list type, according to sorted function to first data and Second data are ranked up;Data after sequence are packaged into tuple elements respectively, wherein first data and described Second data are compared under the form of tuple elements.
8. the method according to claim 1 to 7, wherein further comprise the steps of:
Comparison result is returned into user.
9. a kind of readable storage medium storing program for executing, is suitable for storing one or more programs, one or more of programs are configured as by counting Calculate the comparison method that equipment executes such as interface returned data of any of claims 1-8.
10. a kind of calculating equipment, comprising:
One or more processors;
Memory;And
One or more programs, wherein one or more of programs are stored in the memory and are configured as by described one A or multiple processors execute the comparison method such as interface returned data of any of claims 1-8.
CN201811611936.2A 2018-12-27 2018-12-27 The comparison method of interface returned data calculates equipment Pending CN109714418A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811611936.2A CN109714418A (en) 2018-12-27 2018-12-27 The comparison method of interface returned data calculates equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811611936.2A CN109714418A (en) 2018-12-27 2018-12-27 The comparison method of interface returned data calculates equipment

Publications (1)

Publication Number Publication Date
CN109714418A true CN109714418A (en) 2019-05-03

Family

ID=66258670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811611936.2A Pending CN109714418A (en) 2018-12-27 2018-12-27 The comparison method of interface returned data calculates equipment

Country Status (1)

Country Link
CN (1) CN109714418A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667500A (en) * 2020-12-23 2021-04-16 北京焦点新干线信息技术有限公司 Regression testing method and device
CN112988269A (en) * 2021-03-19 2021-06-18 银清科技有限公司 Central server configuration parameter comparison method and device
CN114168565A (en) * 2021-12-10 2022-03-11 北京宇信科技集团股份有限公司 Backtracking test method, device and system of business rule model and decision engine
CN112988269B (en) * 2021-03-19 2024-06-04 银清科技有限公司 Central server configuration parameter comparison method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159928A (en) * 2015-08-05 2015-12-16 深圳联友科技有限公司 Method and system for converting JSON data into model data
US9646092B2 (en) * 2014-10-10 2017-05-09 Adp, Llc Centralized application programming interface monitoring tool
CN106776324A (en) * 2016-12-19 2017-05-31 广州酷狗计算机科技有限公司 Interface test method and device
CN108021952A (en) * 2017-12-29 2018-05-11 广州品唯软件有限公司 A kind of rich text control methods and device
CN108733689A (en) * 2017-04-18 2018-11-02 北京京东尚科信息技术有限公司 A kind of comparison method and device of JSON texts
CN108829584A (en) * 2018-05-24 2018-11-16 携程计算机技术(上海)有限公司 service logic interface Mock test method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9646092B2 (en) * 2014-10-10 2017-05-09 Adp, Llc Centralized application programming interface monitoring tool
CN105159928A (en) * 2015-08-05 2015-12-16 深圳联友科技有限公司 Method and system for converting JSON data into model data
CN106776324A (en) * 2016-12-19 2017-05-31 广州酷狗计算机科技有限公司 Interface test method and device
CN108733689A (en) * 2017-04-18 2018-11-02 北京京东尚科信息技术有限公司 A kind of comparison method and device of JSON texts
CN108021952A (en) * 2017-12-29 2018-05-11 广州品唯软件有限公司 A kind of rich text control methods and device
CN108829584A (en) * 2018-05-24 2018-11-16 携程计算机技术(上海)有限公司 service logic interface Mock test method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667500A (en) * 2020-12-23 2021-04-16 北京焦点新干线信息技术有限公司 Regression testing method and device
CN112988269A (en) * 2021-03-19 2021-06-18 银清科技有限公司 Central server configuration parameter comparison method and device
CN112988269B (en) * 2021-03-19 2024-06-04 银清科技有限公司 Central server configuration parameter comparison method and device
CN114168565A (en) * 2021-12-10 2022-03-11 北京宇信科技集团股份有限公司 Backtracking test method, device and system of business rule model and decision engine

Similar Documents

Publication Publication Date Title
US10963292B2 (en) Techniques to manage virtual classes for statistical tests
US10789252B2 (en) Efficient evaluation of aggregate functions
WO2019180702A1 (en) Method and system for assessing future execution of a smart contract based on previous executions on a blockchain-based platform
EP2580677B1 (en) Web site implementation by mapping expression evaluation
US20200264866A1 (en) Caching build graphs
US20200279187A1 (en) Model and infrastructure hyper-parameter tuning system and method
Falch et al. Machine learning‐based auto‐tuning for enhanced performance portability of OpenCL applications
US11521076B2 (en) Architecture-independent approximation discovery
JP2005182784A (en) Determining maximal set of dependent software update valid for installation
US11216281B2 (en) Facilitating data processing using SIMD reduction operations across SIMD lanes
US11113176B2 (en) Generating a debugging network for a synchronous digital circuit during compilation of program source code
Phillips et al. A CUDA implementation of the High Performance Conjugate Gradient benchmark
CN109714418A (en) The comparison method of interface returned data calculates equipment
CN107241237B (en) A kind of method and calculating equipment of the identification affiliated component of message
CN107870862B (en) Construction method, traversal testing method and computing device of new control prediction model
US20230229896A1 (en) Method and computing device for determining optimal parameter
WO2022160863A1 (en) Program data level parallelism analysis method and apparatus, and related device
US20190018793A1 (en) Systems and methods for transforming large data into a smaller representation and for re-transforming the smaller representation back to the original large data
CN108173716A (en) A kind of method and computing device for identifying network equipment vendor
US20210248492A1 (en) Learning and Using Property Signatures for Computer Programs
Badawy et al. Optimizing thin client caches for mobile cloud computing: Design space exploration using genetic algorithms
CN106357468A (en) Method and device for judging service specification of network server
CN108229572A (en) A kind of parameter optimization method and computing device
Curtis et al. An efficient solution to the subset‐sum problem on GPU
US8949249B2 (en) Techniques to find percentiles in a distributed computing environment

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

Effective date of registration: 20210319

Address after: 101300 309, 3rd floor, 60 Fuqian 1st Street, Tianzhu District, Shunyi District, Beijing

Applicant after: Beijing longzhixin Technology Co.,Ltd.

Address before: 100041 room a-1123, 2nd floor, building 3, yard 30, Shixing street, Shijingshan District, Beijing

Applicant before: BEIJING PANDA MUTUAL ENTERTAINMENT TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190503

WD01 Invention patent application deemed withdrawn after publication