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

Method, device and system for testing and comparing main domain and standby domain of recommendation platform

A domain testing and main domain technology, applied in the field of computer information processing, can solve the problem that the result comparison and matching scheme is not suitable for the result verification of the personalized system.

Active Publication Date: 2021-03-30
GUANGZHOU PINWEI SOFTWARE
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Based on the fact that certain error information can be allowed for the return interface comparison, the traditional result comparison and matching scheme is not suitable for the result verification of the personalized system

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, device and system for testing and comparing main domain and standby domain of recommendation platform
  • Method, device and system for testing and comparing main domain and standby domain of recommendation platform
  • Method, device and system for testing and comparing main domain and standby domain of recommendation platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] combine figure 1 As shown, this embodiment provides a method for testing and comparing the primary domain and the standby domain of the recommended platform, and the method at least includes the following steps:

[0060] S1. Create an entry object, which includes the group goods list information of the target recommendation platform at the current test moment and the user information of any designated user.

[0061] Specifically, the creation of the input object includes the following sub-steps:

[0062] S11. Extract the user information of any specified user on the target recommendation platform, where the user information includes a user ID.

[0063] In order to facilitate the comparison of test results, the user information used as one of the input parameters in a test is a fixed value, that is, when the user information is a user ID, the same user ID is used as one of the input parameters of the primary domain and the backup domain.

[0064] S12. Invoking the grou...

Embodiment 2

[0094] In order to implement the method for testing and comparing the primary domain and the standby domain of the recommended platform in the first embodiment above, this embodiment provides a corresponding device for testing and comparing the primary domain and the standby domain of the recommended platform, such as figure 2 As shown, the device includes at least:

[0095] Creation module is used to create the entry object, and the entry object includes the group goods list information of the current test moment target recommendation platform and the user information of any designated user;

[0096] The acquisition module is used to call the interface services of the main domain and the backup domain based on the input object to obtain the recommendation information of the main domain and the recommendation information of the backup domain respectively;

[0097] A processing module, configured to respectively sort the recommended information of the main domain and the recomme...

Embodiment 3

[0121] Corresponding to the above method and device, this embodiment provides a computer system, including:

[0122] one or more processors; and

[0123] A memory associated with the one or more processors, the memory is used to store program instructions, and when the program instructions are read and executed by the one or more processors, the following operations are performed:

[0124] Create the entry object, and the entry object includes the group goods list information of the target recommendation platform at the current test moment and the user information of any designated user;

[0125] Call the interface services of the main domain and the backup domain respectively based on the input object to obtain the recommendation information of the main domain and the recommendation information of the backup domain;

[0126] Sorting the recommended information of the main domain and the recommended information of the backup domain according to the commodity identifiers, and ...

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 for testing and comparing a main domain and a standby domain of a recommendation platform. The method comprises the following steps of: creating an input parameter object; calling interface services of a main domain and a standby domain respectively based on the parameter entry object to obtain main domain recommendation information and standby domain recommendation information respectively; sorting the main domain recommendation information and the standby domain recommendation information according to the commodity identifiers and grouping the information insequence; calculating error information of the commodity group; and when the error information of any commodity group exceeds a preset range, determining that the commodity group is an abnormal commodity group. According to the method, when test comparison is executed, a main domain and a standby domain are grouped based on a return result of the same input parameter to obtain corresponding commodity groups, error information between the corresponding main domain and standby domain commodity groups is compared, and when the error information exceeds a preset range, it is judged that the commodity groups are abnormal commodity groups. Return results of the main domain and the standby domain are allowed to have reasonable errors caused by different versions, and the defect of large judgmenterrors is effectively avoided.

Description

technical field [0001] The present invention relates to the technical field of computer information processing, in particular to a method, device and system for testing and comparing the main domain and backup domain of a recommendation platform. Background technique [0002] With the continuous development of network technology at any time, testing is a key link to ensure the reliability and stability of network equipment. The general recommendation platform uses the deployment method of primary-standby-disaster recovery domain. In this method, there are some scenarios where there are different versions of recommendation methods in the primary domain and backup domain, and the products recommended by the recommendation platform are personalized products. , the same input parameters may get different interface returns. [0003] Based on the fact that the return interface comparison can allow certain error information, the traditional result comparison and matching scheme is...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26G06F16/9535
CPCH04L43/0876H04L43/0805G06F16/9535
Inventor 张扬
Owner GUANGZHOU PINWEI SOFTWARE
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