CN107357722A - A kind of social networking service SNS test systems and method based on a large amount of test users - Google Patents

A kind of social networking service SNS test systems and method based on a large amount of test users Download PDF

Info

Publication number
CN107357722A
CN107357722A CN201710482266.8A CN201710482266A CN107357722A CN 107357722 A CN107357722 A CN 107357722A CN 201710482266 A CN201710482266 A CN 201710482266A CN 107357722 A CN107357722 A CN 107357722A
Authority
CN
China
Prior art keywords
user
pond
customer relationship
test
pollution
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
CN201710482266.8A
Other languages
Chinese (zh)
Other versions
CN107357722B (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.)
Weimeng Chuangke Network Technology China Co Ltd
Original Assignee
Weimeng Chuangke Network Technology China 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 Weimeng Chuangke Network Technology China Co Ltd filed Critical Weimeng Chuangke Network Technology China Co Ltd
Priority to CN201710482266.8A priority Critical patent/CN107357722B/en
Publication of CN107357722A publication Critical patent/CN107357722A/en
Application granted granted Critical
Publication of CN107357722B publication Critical patent/CN107357722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Abstract

The embodiments of the invention provide a kind of social networking service SNS test systems and method based on a large amount of test users, the SNS test systems include:User's storage pool, including multiple subpools, and each subpool is stored with the user of corresponding customer relationship type and quantity according to predetermined volumes;User uses pond, for according to testing requirement, corresponding user being transferred from user's storage pool and is tested;Dirty user pond, the pollution user after the completion of the test of pond is used for placing user;Clean user pond, for being naked user by each pollution user cleaning, the restructuring of customer relationship type is carried out to each naked user, and be correspondingly assigned in each subpool.Each subpool that SNS test systems of the present invention based on a large amount of test users pass through user's storage pool stores the user of different user relationship type, by user using pond can direct calling and obtaining user, reduce and create the customer relationship time;By dirty user pond and clean user pond, dirty user is recycled, improves the repeat usage of customer relationship.

Description

A kind of social networking service SNS test systems and method based on a large amount of test users
Technical field
The present invention relates to software testing technology field, and system is tested more particularly to a kind of SNS based on a large amount of test users System and method.
Background technology
At present, surveyed in SNS (Social Network Site, social networking service, including social software and social network sites) , it is necessary to create user and structuring user's relation during examination, this is carried out in each test case, such as:One Test the case of microblogging homepage refresh function, it is necessary first to create a user A, and user B, user C, user D, this 4 User is not related isolated user, then needs to establish customer relationship, user A concern user B, C and D, B, C, D points of user Microblogging is not sent out, and then user A does refresh operation, finally detects each function point.
But such scheme has the following disadvantages:
First:Test the most of the time that case is performed, flower causes to survey on user creates and customer relationship constructs The examination execution time is very long, and in the case where test case is a lot, this mode influences very big on testing efficiency;
Second:The customer relationship established in measuring executing process, is just abandoned after the test is ended, and next use-case needs Want during same customer relationship, it is necessary to create again one time, to cause the repeat usage of customer relationship very low;
3rd:Existing implementation can not be managed collectively to user and customer relationship, in the mistake of software test It is easy to the problem of account pollution occur in journey.
In process of the present invention is realized, inventor has found that at least there are the following problems in the prior art:The test of SNS tests The customer relationship utilization rate that efficiency is low, creates is low.
The content of the invention
The embodiment of the present invention provides a kind of SNS test systems and method based on a large amount of test users, can improve test effect The repeat usage of rate and customer relationship.
On the one hand, the embodiments of the invention provide a kind of social networking service SNS based on a large amount of test users to test system System, the SNS test systems include:
User's storage pool, user's storage pool include multiple subpools, and each subpool characterizes different customer relationship classes respectively Type, and each subpool is stored with the user of corresponding customer relationship type and quantity according to predetermined volumes;
User uses pond, for according to testing requirement, corresponding user being transferred from user's storage pool and is tested;
Dirty user pond, it is connected using pond and clean user pond with the user, is tested for placing the user using pond After the completion of pollution user, and when meeting recovery condition by it is each pollution user send to clean user Chi Jinhang recycle;
Clean user pond, for being naked user by each pollution user cleaning of recovery, customer relationship is carried out to each naked user The restructuring of type, and be correspondingly assigned in each subpool of user's storage pool.
Optionally, the user is included using pond:
Module is transferred, for according to testing requirement, corresponding user to be transferred from user's storage pool;
First judge module, for judging to meet whether the customer relationship type of testing requirement is simple relation type, institute It is the unique customer relationship type of affiliated partner to state simple relation type;
First recombination module, module is transferred and the first judge module is connected with described respectively, for judging described first The judged result of module is customer relationship type when not being simple relation type, and calling and obtaining user is carried out according to testing requirement The restructuring of customer relationship type, obtain restructuring relation user;
Test module, respectively with first judge module, transfer module and the first recombination module is connected, for described The judged result of first judge module is customer relationship type when being simple relation type, based on testing requirement, according to institute Calling and obtaining user is stated to be tested;And first judge module judged result for the user type be not simple relation During type, based on testing requirement, tested according to the restructuring relation user.
Optionally, the dirty user pond includes:
Timing module, for record the user using pond it is adjacent twice from user's storage pool calling and obtaining user when Between, determine time interval;
Second judge module, for judging whether the time interval is more than time threshold, and it is described in judged result When time interval is more than time threshold, each pollution user is sent to the clean user pond.
Optionally, the dirty user pond includes:
Detection module, for detecting user's surplus current in user's storage pool;
3rd judge module, for judging whether user's surplus is less than surplus threshold value, and it is in judged result When user's surplus is less than surplus threshold value, each pollution user is sent to the clean user pond.
Optionally, the clean user pond includes:
Cleaning module, for each pollution user of recovery to be cleaned, obtain naked user;
Second recombination module, it is connected with the cleaning module, for the predetermined volumes according to each subpool or active user Each subpool surplus carries out naked user the restructuring of customer relationship type in storage pool, and the user after restructuring is assigned to correspondingly Subpool in.
Above-mentioned technical proposal has the advantages that:SNS test system of the present invention based on a large amount of test users passes through User's storage pool each subpool storage different user relationship type user, by user using pond can direct calling and obtaining user, Reduce and create the customer relationship time;By dirty user pond and clean user pond, dirty user is recycled, improves customer relationship Repeat usage.
On the other hand, the embodiments of the invention provide a kind of SNS method of testings based on a large amount of test users, the SNS Method of testing includes:
According to testing requirement, corresponding user is transferred from user's storage pool using pond by user and tested, it is described User's storage pool includes multiple subpools, and each subpool characterizes different customer relationship types respectively, and each subpool is according to predetermined volumes It is stored with the user of corresponding customer relationship type and quantity;
The user is placed using the pollution user after the completion of the test of pond by dirty user pond, and when meeting recovery condition Each pollution user is sent to clean user Chi Jinhang and recycled;
It is naked user to be cleaned each pollution user of recovery by clean user pond, and customer relationship class is carried out to each naked user The restructuring of type, and be correspondingly assigned in each subpool of user's storage pool.
Optionally, it is described transferred by user using pond from user's storage pool corresponding to user tested, specific bag Include:
According to testing requirement, corresponding user is transferred from user's storage pool;
Whether the customer relationship type for judging to meet testing requirement is simple relation type, and the simple relation type is pass Join the unique customer relationship type of object;
When the customer relationship type is not simple relation type, user pass is carried out to calling and obtaining user according to testing requirement The restructuring of set type, obtain restructuring relation user;Based on testing requirement, tested according to the restructuring relation user;
When the customer relationship type is simple relation type, based on testing requirement, carried out according to the calling and obtaining user Test.
Optionally, it is described that the user is placed using the pollution user after the completion of the test of pond by dirty user pond, and full Each pollution user is sent to clean user Chi Jinhang during foot recovery condition and recycled, is specifically included:
Record the user using pond it is adjacent twice from user's storage pool calling and obtaining user time, determine between the time Every;
Judge whether the time interval is more than time threshold;
When judged result is that the time interval is more than time threshold, each pollution user is sent to the clean user Pond.
Optionally, it is described that the user is placed using the pollution user after the completion of the test of pond by dirty user pond, and full Each pollution user is sent to clean user Chi Jinhang during foot recovery condition and recycled, is specifically included:
Detect user's surplus current in user's storage pool;
Judge whether user's surplus is less than surplus threshold value;
When judged result is that user's surplus is less than surplus threshold value, each pollution user is sent to described clean User pond.
Optionally, described cleaned each pollution user of recovery by clean user pond is naked user, and each naked user is entered The restructuring of row customer relationship type, and be correspondingly assigned in each subpool of user's storage pool, specifically include:
Each pollution user of recovery is cleaned, obtains naked user;
Naked user is carried out by user according to each subpool surplus in the predetermined volumes of each subpool or active user's storage pool The restructuring of relationship type;
User after restructuring is assigned in corresponding subpool.
Above-mentioned technical proposal has the advantages that:SNS method of testing of the present invention based on a large amount of test users passes through User's storage pool each subpool storage different user relationship type user, by user using pond can direct calling and obtaining user, Reduce and create the customer relationship time;By dirty user pond and clean user pond, dirty user is recycled, improves customer relationship Repeat usage.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the cellular construction schematic diagram of SNS test system of the embodiment of the present invention based on a large amount of test users;
Fig. 2 is the flow chart of SNS method of testing of the embodiment of the present invention based on a large amount of test users.
Symbol description:
User storage pool -1, user use pond -2, transfer module -21, the first judge module -22, the first restructuring mould Block -23, test module -24, dirty user pond -3, timing module -31, the second judge module -32, clean user pond -4, Cleaning module -41, the second recombination module -42.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
It is an object of the invention to provide a kind of SNS test systems based on a large amount of test users, pass through user's storage pool The user of each subpool storage different user relationship type, by user using pond can direct calling and obtaining user, reduce and create user The relation time;By dirty user pond and clean user pond, dirty user is recycled, improves the repeat usage of customer relationship.
User property:User carries attribute, including the pet name, numbering, state (orange V indigo plant V) etc. in itself.Customer relationship type: There is a variety of the type of customer relationship in SNS, wherein, customer relationship type includes:A unidirectionally pays close attention to B, A and B and mutually paid close attention to, A single lines B and B two-way concern C, A shielding B, A B interested, A concern a large number of users are paid close attention to, but is not therefore limited.According to affiliated partner Quantity is different, and each customer relationship type further is divided into simple relation type and complex relationship type.Wherein association includes closing Note, shield, be interested, loseing interest in, the simple relation type is the unique customer relationship type of affiliated partner, for example, A B is concerned only with, now A is without other any perpetual objects, also without shielding or object interested;Such as B only shields C.Institute State complex relationship type has multiple customer relationship types, such as A a large number of users, or A B interested and A passes for affiliated partner Note C.Clean user:The relation between user in user pond is deleted, makes independent clean user.Customer relationship type Restructuring, the restructuring of abbreviation relation:New customer relationship type is established to user, described user includes naked user and relational users, Relational users refer to the user for having established customer relationship type, and the new customer relationship type can be simple relation type or multiple Miscellaneous relationship type.
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is further detailed explanation.
As shown in figure 1, SNS test system of the present invention based on a large amount of test users includes user's storage pool 1, user uses Pond 2, dirty user pond 3 and clean user pond 4.
Wherein, user's storage pool 1 includes multiple subpools, and each subpool characterizes different customer relationship types respectively, and Each subpool is stored with the user of corresponding customer relationship type and quantity according to predetermined volumes.Wherein, user is only stored in each subpool, Do not store customer relationship.Preferably, the account of user is stored in each subpool.
The user is used for according to testing requirement using pond 2, and corresponding user is transferred from user's storage pool and is carried out Test;The dirty user pond 3 is connected with the user using pond 2 and clean user pond 4, and pond 2 is used for placing the user Pollution user after the completion of test, and each pollution user is sent to clean user pond 4 when meeting recovery condition and reclaimed Utilize;It is naked user that the clean user pond 4, which is used for each pollution user cleaning of recovery, and customer relationship is carried out to each naked user The restructuring of type, and be correspondingly assigned in each subpool of user's storage pool 1.
As shown in figure 1, the user includes transferring module 21, the first judge module 22, the first recombination module 23 using pond 2 And test module 24.
Wherein, the module 21 of transferring is used for according to testing requirement, and corresponding user is transferred from user's storage pool; Whether the customer relationship type that first judge module 22 is used to judge to meet testing requirement is simple relation type, the letter Single relationship type is the unique customer relationship type of affiliated partner;First recombination module 23 transfers module 21 with described respectively Connected with the first judge module 22, be not for the customer relationship type for the judged result in first judge module 22 During simple relation type, the restructuring of customer relationship type is carried out to calling and obtaining user according to testing requirement, obtains restructuring relation user; The test module 24 respectively with first judge module 22, transfer the recombination module 23 of module 21 and first and be connected, for The judged result of first judge module 22 is customer relationship type when being simple relation type, based on testing requirement, Tested according to the calling and obtaining user;And it is not for the user type in the judged result of first judge module 22 During simple relation type, based on testing requirement, tested according to the restructuring relation user.
The dirty user pond 3 includes the judge module 32 of timing module 31 and second;The timing module 31 records the use Family using pond 2 it is adjacent twice from user's storage pool 1 calling and obtaining user time, determine time interval;Described second judges Module 32 is used to judge whether the time interval is more than time threshold, and is that the time interval is more than the time in judged result During threshold value, each pollution user is sent to the clean user pond, so as to realize timing recovery pollution user.
In addition, present invention also offers another structure in the dirty user pond 3.Specifically, the dirty user Chi3Bao Include detection module and the 3rd judge module;The detection module is used to detect user current in user's storage pool 1 Surplus;3rd judge module is used to judge whether user's surplus is less than surplus threshold value, and in judged result When being less than surplus threshold value for user's surplus, each pollution user is sent to the clean user pond, so as to realize threshold Value recovery pollution user.
The clean user pond 4 includes the recombination module 42 of cleaning module 41 and second;The cleaning module 41 is used to return Each pollution user received is cleaned, and obtains naked user;Second recombination module 41 is connected with the cleaning module 41, is used for Naked user is carried out by customer relationship type according to each subpool surplus in the predetermined volumes of each subpool or active user's storage pool Restructuring, and by the user after restructuring be assigned to corresponding in subpool, so as to realize quota allocation or dynamically distributes.
Further, second recombination module 41 recombinates different passes according to each subpool surplus in active user's storage pool The user of system, specifically includes:Before recombinating customer relationship, detecting first in current user pond, the user of which class relation is exposed at most, Customer relationship is recombinated as priority and is assigned in corresponding subpool.
SNS test system of the present invention based on a large amount of test users simplifies the establishment process of customer relationship, reduces use The establishment cost of family relation, greatly improves testing efficiency, shortens the time of test execution, makes the focus of test case Concentrate on really test in logic.Complete all clean user afterwards simultaneously as performing every time, therefore will not produce The problem of raw account pollution.
In addition, the present invention also provides a kind of SNS method of testings based on a large amount of test users, testing efficiency and use can be improved The repeat usage of family relation.
As shown in Fig. 2 SNS method of testing of the present invention based on a large amount of test users includes:
Step 100:According to testing requirement, corresponding user is transferred from user's storage pool using pond by user and surveyed Examination.
User's storage pool includes multiple subpools, and each subpool characterizes different customer relationship types, and each subpool respectively The user of corresponding customer relationship type and quantity is stored with according to predetermined volumes.
Step 200:The user is placed using the pollution user after the completion of the test of pond by dirty user pond, and met back Each pollution user is sent to clean user Chi Jinhang during receipt part and recycled.
Step 300:It is naked user to be cleaned each pollution user of recovery by clean user pond, and each naked user is used The restructuring of family relationship type, and be correspondingly assigned in each subpool of user's storage pool.
In step 100, it is described that pond is used by user, corresponding user is transferred from user's storage pool and is tested, Specifically include:
Step 101:According to testing requirement, corresponding user is transferred from user's storage pool;
Step 102:Whether the customer relationship type for judging to meet testing requirement is simple relation type;The simple relation Type is the unique customer relationship type of affiliated partner;
Step 103:When the customer relationship type is not simple relation type, calling and obtaining user is entered according to testing requirement The restructuring of row customer relationship type, obtain restructuring relation user;Based on testing requirement, surveyed according to the restructuring relation user Examination;
Step 104:When the customer relationship type is simple relation type, based on testing requirement, transferred according to described User is tested.
In step 200, it is described that the user is placed using the pollution user after the completion of the test of pond by dirty user pond, and Each pollution user is sent to clean user Chi Jinhang when meeting recovery condition and recycled, is specifically included:
Step 201:Record the user using pond it is adjacent twice from user's storage pool calling and obtaining user time, really Fix time interval;
Step 202:Judge whether the time interval is more than time threshold;
Step 203:When judged result is that the time interval is more than time threshold, each pollution user is sent to described Clean user pond.
In addition, described place the user using the pollution user after the completion of the test of pond by dirty user pond, may also include:
Step 211:Detect user's surplus current in user's storage pool;
Step 212:Judge whether user's surplus is less than surplus threshold value;
Step 213:Judged result be user's surplus be less than surplus threshold value when, by it is each pollute user send to The clean user pond.
In step 300, it is described that the user is placed using the pollution user after the completion of the test of pond by dirty user pond, and Each pollution user is sent to clean user Chi Jinhang when meeting recovery condition and recycled, is specifically included:
Step 301:Each pollution user of recovery is cleaned, obtains naked user;
Step 302:According to each subpool surplus in the predetermined volumes of each subpool or active user's storage pool by naked user Carry out the restructuring of customer relationship type;
Step 303:User after restructuring is assigned in corresponding subpool.
Relative to prior art, SNS method of testing of the present invention based on a large amount of test users is with above-mentioned based on a large amount of tests The beneficial effect of the SNS test systems of user is identical, will not be repeated here.
It should be understood that the particular order or level of the step of during disclosed are the examples of illustrative methods.Based on setting Count preference, it should be appreciated that during the step of particular order or level can be in the feelings for the protection domain for not departing from the disclosure Rearranged under condition.Appended claim to a method gives the key element of various steps with exemplary order, and not It is to be limited to described particular order or level.
In above-mentioned detailed description, various features combine in single embodiment together, to simplify the disclosure.No This open method should be construed to reflect such intention, i.e. the embodiment of theme claimed needs to compare The more features of feature clearly stated in each claim.On the contrary, as appended claims is reflected Like that, the present invention is in the state fewer than whole features of disclosed single embodiment.Therefore, appended claims It is hereby expressly incorporated into detailed description, wherein each claim is alone as the single preferred embodiment of the present invention.
To enable any technical staff in the art to realize or using the present invention, disclosed embodiment being entered above Description is gone.To those skilled in the art;The various modification modes of these embodiments will be apparent from, and this The General Principle of text definition can also be applied to other embodiments on the basis of the spirit and scope of the disclosure is not departed from. Therefore, the disclosure is not limited to embodiments set forth herein, but most wide with principle disclosed in the present application and novel features Scope is consistent.
Described above includes the citing of one or more embodiments.Certainly, in order to above-described embodiment is described and description portion The all possible combination of part or method is impossible, but it will be appreciated by one of ordinary skill in the art that each implementation Example can do further combinations and permutations.Therefore, embodiment described herein is intended to fall into appended claims Protection domain in all such changes, modifications and variations.In addition, with regard to the term used in specification or claims "comprising", the mode that covers of the word are similar to term " comprising ", just as " including " solved in the claims as link word As releasing.In addition, the use of any one term "or" in the specification of claims is to represent " non-exclusionism Or ".
Those skilled in the art will also be appreciated that the various illustrative components, blocks that the embodiment of the present invention is listed (illustrativelogical block), unit, and step can pass through the combination of electronic hardware, computer software, or both Realized.To clearly show that the replaceability of hardware and software (interchangeability), above-mentioned is various illustrative Part (illustrativecomponents), unit and step universally describe their function.Such function It is that specific application and the design requirement of whole system are depended on to realize by hardware or software.Those skilled in the art can For every kind of specific application, various methods can be used to realize described function, but this realization is understood not to surpass Go out the scope of protection of the embodiment of the present invention.
Various illustrative logical blocks described in the embodiment of the present invention, or unit can by general processor, Digital signal processor, application specific integrated circuit (ASIC), field programmable gate array or other programmable logic devices, discrete gate Or the design of transistor logic, discrete hardware components, or any of the above described combination is come the function described by realizing or operate.General place It can be microprocessor to manage device, and alternatively, the general processor can also be any traditional processor, controller, microcontroller Device or state machine.Processor can also be realized by the combination of computing device, such as digital signal processor and microprocessor, Multi-microprocessor, one or more microprocessors combine a Digital Signal Processor Core, or any other like configuration To realize.
The step of method or algorithm described in the embodiment of the present invention can be directly embedded into hardware, computing device it is soft Part module or the combination of both.Software module can be stored in RAM memory, flash memory, ROM memory, EPROM storages Other any form of storaging mediums in device, eeprom memory, register, hard disk, moveable magnetic disc, CD-ROM or this area In.Exemplarily, storaging medium can be connected with processor, to allow processor to read information from storaging medium, and Write information can be deposited to storaging medium.Alternatively, storaging medium can also be integrated into processor.Processor and storaging medium can To be arranged in ASIC, ASIC can be arranged in user terminal.Alternatively, processor and storaging medium can also be arranged at use In different parts in the terminal of family.
In one or more exemplary designs, above-mentioned function described by the embodiment of the present invention can be in hardware, soft Part, firmware or any combination of this three are realized.If realized in software, these functions can store and computer-readable On medium, or with one or more instruction or code form be transmitted on the medium of computer-readable.Computer readable medium includes electricity Brain storaging medium and it is easy to so that allowing computer program to be transferred to other local telecommunication medias from a place.Storaging medium can be with It is that any general or special computer can be with the useable medium of access.For example, such computer readable media can include but It is not limited to RAM, ROM, EEPROM, CD-ROM or other optical disc storage, disk storage or other magnetic storage devices, or other What can be used for carrying or store with instruct or data structure and it is other can be by general or special computer or general or specially treated The medium of the program code of device reading form.In addition, any connection can be properly termed computer readable medium, example Such as, if software is to pass through a coaxial cable, fiber optic cables, double from a web-site, server or other remote resources Twisted wire, Digital Subscriber Line (DSL) or with defined in being also contained in of the wireless way for transmitting such as infrared, wireless and microwave In computer readable medium.Described disk (disk) and disk (disc) include Zip disk, radium-shine disk, CD, DVD, floppy disk And Blu-ray Disc, disk is generally with magnetic duplication data, and disk generally carries out optical reproduction data with laser.Combinations of the above It can also be included in computer readable medium.
Above-described embodiment, the purpose of the present invention, technical scheme and beneficial effect are carried out further Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention Protection domain, within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc., all should include Within protection scope of the present invention.

Claims (10)

  1. A kind of 1. social networking service SNS test systems based on a large amount of test users, it is characterised in that the SNS tests system System includes:
    User's storage pool, user's storage pool include multiple subpools, and each subpool characterizes different customer relationship types respectively, and Each subpool is stored with the user of corresponding customer relationship type and quantity according to predetermined volumes;
    User uses pond, for according to testing requirement, corresponding user being transferred from user's storage pool and is tested;
    Dirty user pond, it is connected using pond and clean user pond with the user, is completed for placing the user using pond test Pollution user afterwards, and each pollution user is sent to clean user Chi Jinhang when meeting recovery condition and recycled;
    Clean user pond, for being naked user by each pollution user cleaning of recovery, customer relationship type is carried out to each naked user Restructuring, and be correspondingly assigned in each subpool of user's storage pool.
  2. 2. the SNS test systems according to claim 1 based on a large amount of test users, it is characterised in that the user makes Included with pond:
    Module is transferred, for according to testing requirement, corresponding user to be transferred from user's storage pool;
    First judge module, for judging to meet whether the customer relationship type of testing requirement is simple relation type, the letter Single relationship type is the unique customer relationship type of affiliated partner;
    First recombination module, module is transferred and the first judge module is connected with described respectively, in first judge module Judged result for the customer relationship type be not simple relation type when, according to testing requirement to calling and obtaining user carry out user The restructuring of relationship type, obtain restructuring relation user;
    Test module, respectively with first judge module, transfer module and the first recombination module is connected, for described first The judged result of judge module is customer relationship type when being simple relation type, based on testing requirement, according to the tune Family is taken to be tested;And first judge module judged result for the user type be not simple relation type When, based on testing requirement, tested according to the restructuring relation user.
  3. 3. the SNS test systems according to claim 1 or 2 based on a large amount of test users, it is characterised in that the dirty use Family pond includes:
    Timing module, for record the user using pond it is adjacent twice from user's storage pool calling and obtaining user time, Determine time interval;
    Second judge module, it is the time for judging whether the time interval is more than time threshold, and in judged result When interval is more than time threshold, each pollution user is sent to the clean user pond.
  4. 4. the SNS test systems according to claim 1 or 2 based on a large amount of test users, it is characterised in that the dirty use Family pond includes:
    Detection module, for detecting user's surplus current in user's storage pool;
    3rd judge module, for judging whether user's surplus is less than surplus threshold value, and it is described in judged result When user's surplus is less than surplus threshold value, each pollution user is sent to the clean user pond.
  5. 5. the SNS test systems according to claim 1 or 2 based on a large amount of test users, it is characterised in that described clean User pond includes:
    Cleaning module, for each pollution user of recovery to be cleaned, obtain naked user;
    Second recombination module, it is connected with the cleaning module, is stored for the predetermined volumes according to each subpool or active user Each subpool surplus carries out naked user the restructuring of customer relationship type in pond, and the user after restructuring is assigned into corresponding son Chi Zhong.
  6. 6. a kind of social networking service SNS method of testings based on a large amount of test users, the SNS method of testings include:
    According to testing requirement, corresponding user is transferred from user's storage pool using pond by user and tested, the user Storage pool includes multiple subpools, and each subpool characterizes different customer relationship types respectively, and each subpool stores according to predetermined volumes There is the user of corresponding customer relationship type and quantity;
    The user is placed using the pollution user after the completion of the test of pond by dirty user pond, and will be each when meeting recovery condition Pollution user sends to clean user Chi Jinhang and recycled;
    It is naked user to be cleaned each pollution user of recovery by clean user pond, and customer relationship type is carried out to each naked user Restructuring, and be correspondingly assigned in each subpool of user's storage pool.
  7. 7. the SNS method of testings according to claim 6 based on a large amount of test users, it is characterised in that it is described by using Family is transferred corresponding user from user's storage pool using pond and tested, and specifically includes:
    According to testing requirement, corresponding user is transferred from user's storage pool;
    Whether the customer relationship type for judging to meet testing requirement is simple relation type, and the simple relation type is association pair As unique customer relationship type;
    When the customer relationship type is not simple relation type, customer relationship class is carried out to calling and obtaining user according to testing requirement The restructuring of type, obtain restructuring relation user;Based on testing requirement, tested according to the restructuring relation user;
    When the customer relationship type is simple relation type, based on testing requirement, tested according to the calling and obtaining user.
  8. 8. the SNS method of testings based on a large amount of test users according to claim 6 or 7, it is characterised in that described to pass through The user is placed using the pollution user after the completion of the test of pond in dirty user pond, and when meeting recovery condition by each pollution user Send to clean user Chi Jinhang and recycle, specifically include:
    Record the user using pond it is adjacent twice from user's storage pool calling and obtaining user time, determine time interval;
    Judge whether the time interval is more than time threshold;
    When judged result is that the time interval is more than time threshold, each pollution user is sent to the clean user pond.
  9. 9. the SNS method of testings based on a large amount of test users according to claim 6 or 7, it is characterised in that described to pass through The user is placed using the pollution user after the completion of the test of pond in dirty user pond, and when meeting recovery condition by each pollution user Send to clean user Chi Jinhang and recycle, specifically include:
    Detect user's surplus current in user's storage pool;
    Judge whether user's surplus is less than surplus threshold value;
    When judged result is that user's surplus is less than surplus threshold value, each pollution user is sent to the clean user Pond.
  10. 10. the SNS method of testings based on a large amount of test users according to claim 6 or 7, it is characterised in that described logical It is naked user that clean user pond, which is crossed, by each pollution user cleaning of recovery, and the restructuring of customer relationship type is carried out to each naked user, And be correspondingly assigned in each subpool of user's storage pool, specifically include:
    Each pollution user of recovery is cleaned, obtains naked user;
    Naked user is carried out by customer relationship according to each subpool surplus in the predetermined volumes of each subpool or active user's storage pool The restructuring of type;
    User after restructuring is assigned in corresponding subpool.
CN201710482266.8A 2017-06-22 2017-06-22 Social Network Service (SNS) testing system and method based on a large number of testing users Active CN107357722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710482266.8A CN107357722B (en) 2017-06-22 2017-06-22 Social Network Service (SNS) testing system and method based on a large number of testing users

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710482266.8A CN107357722B (en) 2017-06-22 2017-06-22 Social Network Service (SNS) testing system and method based on a large number of testing users

Publications (2)

Publication Number Publication Date
CN107357722A true CN107357722A (en) 2017-11-17
CN107357722B CN107357722B (en) 2020-03-31

Family

ID=60272994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710482266.8A Active CN107357722B (en) 2017-06-22 2017-06-22 Social Network Service (SNS) testing system and method based on a large number of testing users

Country Status (1)

Country Link
CN (1) CN107357722B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108427637A (en) * 2018-01-18 2018-08-21 平安科技(深圳)有限公司 Test cases recommends method, electronic device and readable storage medium storing program for executing

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004220356A (en) * 2003-01-15 2004-08-05 Nec Corp Test data management system, test data management method, data processing device, and data processing program
CN102567204A (en) * 2011-12-28 2012-07-11 云海创想信息技术(无锡)有限公司 Method for managing automatic testing data
CN103635885A (en) * 2011-06-28 2014-03-12 微软公司 Deploying environments for testing by providing instantaneous availability of prebuilt environments
CN103902456A (en) * 2014-04-09 2014-07-02 中国工商银行股份有限公司 Test script processing device, system and method
CN104615667A (en) * 2015-01-13 2015-05-13 联动优势电子商务有限公司 Basic data generation method and device and test data generation method and device
CN106059900A (en) * 2016-06-23 2016-10-26 北京星网联亿科技有限公司 Intelligent management platform based on social networking services (SNS)

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004220356A (en) * 2003-01-15 2004-08-05 Nec Corp Test data management system, test data management method, data processing device, and data processing program
CN103635885A (en) * 2011-06-28 2014-03-12 微软公司 Deploying environments for testing by providing instantaneous availability of prebuilt environments
CN102567204A (en) * 2011-12-28 2012-07-11 云海创想信息技术(无锡)有限公司 Method for managing automatic testing data
CN103902456A (en) * 2014-04-09 2014-07-02 中国工商银行股份有限公司 Test script processing device, system and method
CN104615667A (en) * 2015-01-13 2015-05-13 联动优势电子商务有限公司 Basic data generation method and device and test data generation method and device
CN106059900A (en) * 2016-06-23 2016-10-26 北京星网联亿科技有限公司 Intelligent management platform based on social networking services (SNS)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MARIO PIATTINI, ET AL.: "Automated generation of test oracles using a model-driven approach", 《INFORMATION AND SOFTWARE TECHNOLOGY》 *
韩茂等: "基于数据挖掘的测试工程数据整合分析平台", 《电子设计工程》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108427637A (en) * 2018-01-18 2018-08-21 平安科技(深圳)有限公司 Test cases recommends method, electronic device and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN107357722B (en) 2020-03-31

Similar Documents

Publication Publication Date Title
CN107911487A (en) Information-pushing method, device, server and readable storage medium storing program for executing
CN104169902B (en) Synchronous local and remote data
CN109542636A (en) A kind of method and device that data update
CN103345439B (en) A kind of full link monitoring method of health state of information system and device
CN108228452A (en) A kind of test method and test device based on simple factory mode
CN104714804A (en) Track traffic automatic fare collection system reader-writer middleware
CN104965876A (en) Method and apparatus for carrying out mining on work units of users on basis of position information
CN106803975A (en) Advertising testing method and apparatus, test platform
CN105955845A (en) Data recovery method and device
CN106101463A (en) Verification method based on gesture, mobile terminal and system in a kind of Mobile solution
CN106294387A (en) Data migration method and device
CN107729375A (en) A kind of method and device of daily record data sequence
CN108074123A (en) The distribution method and system of outgoing call list
CN107357722A (en) A kind of social networking service SNS test systems and method based on a large amount of test users
CN106598548A (en) Solution method and device for read-write conflict of storage unit
CN107436920A (en) Node.js authority control methods, storage medium, electronic equipment and system
CN107844515A (en) Data close rule inspection method and device
CN107729097A (en) Displayed page collocation method and relevant device
CN109634845A (en) A kind of method and device generating context record text
CN106484811A (en) A kind of media data management method based on the Internet and device
CN106878990A (en) A kind of information-pushing method and device
CN104778119B (en) A kind of LBS automated testing method and device based on simulator locating
CN109697310A (en) A kind of function verification method and system applied to ahb bus matrix design
CN109861903A (en) A kind of link sending method and device based on APP application
CN107786736A (en) A kind of intelligent control method and control system of refuse messages alerting pattern

Legal Events

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