CN105515887A - Application test method, server and system - Google Patents

Application test method, server and system Download PDF

Info

Publication number
CN105515887A
CN105515887A CN201410549466.7A CN201410549466A CN105515887A CN 105515887 A CN105515887 A CN 105515887A CN 201410549466 A CN201410549466 A CN 201410549466A CN 105515887 A CN105515887 A CN 105515887A
Authority
CN
China
Prior art keywords
application platform
server
login account
platform
application
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
CN201410549466.7A
Other languages
Chinese (zh)
Other versions
CN105515887B (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410549466.7A priority Critical patent/CN105515887B/en
Publication of CN105515887A publication Critical patent/CN105515887A/en
Application granted granted Critical
Publication of CN105515887B publication Critical patent/CN105515887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention relates to an application test method, a server and a system. The method comprises steps that an application platform sends a service registration request to the server, wherein the device registration request includes a registration ID of the application platform on the server; the server generates an ID related to the registration ID of the application platform according to the device registration request and generates a two-dimensional code based on the ID; the application platform scans an operation request of the two-dimensional code; and the server correlates the corresponding device information with the registration ID of the application platform according to the operation request. According to the invention, sensitive identification information can be prevented from being exposed to the third-party application platform, and following access joint debugging procedures in which identity of the device should be bonded can also be finished, thereby ensuring safety of data and integrity of test procedures at the same time.

Description

Application testing method, server and system
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of application testing method, server and system.
Background technology
At present, browser provides open ability to content supplier (developer), has and backstage, ability access procedure that terminal is relevant.When content supplier's access relates to the sensitive service of userspersonal information, service side is needed to provide resource (such as station number) to test, to ensure user service data fail safe.But this type of information relates to the identity state rule of user, and being therefore not easy to externally content supplier provides.
Summary of the invention
The embodiment of the present invention provides a kind of application testing method, server and system, is intended to ensure the integrality of application testing flow process and the fail safe of data.
The embodiment of the present invention proposes a kind of application testing method, comprising:
Application platform is to server transmitting apparatus registration request, and described facility registration request comprises described application platform login account on the server;
Described server, according to described facility registration request, generates the ID be associated with the login account of described application platform, and generates Quick Response Code based on described ID;
Described application platform carries out the operation requests scanning described Quick Response Code;
The login account of the facility information of correspondence with described application platform, according to described operation requests, associates by described server.
The embodiment of the present invention also proposes a kind of application testing method, comprising:
Server receives the facility registration request that application platform sends, and described facility registration request comprises described application platform login account on the server;
According to described facility registration request, generate the ID be associated with the login account of described application platform, and generate Quick Response Code based on described ID;
Receive the operation requests that described application platform carries out scanning described Quick Response Code;
According to described operation requests, the login account of the facility information of correspondence with described application platform is associated.
The embodiment of the present invention also proposes a kind of application testing server, comprising:
Registration request receiver module, for receiving the facility registration request that application platform sends, described facility registration request comprises described application platform login account on the server;
Processing module, for according to described facility registration request, generates the ID be associated with the login account of described application platform, and generates Quick Response Code based on described ID;
Operation requests receiver module, carries out scanning the operation requests of described Quick Response Code for receiving described application platform;
Relating module, for according to described operation requests, associates the login account of the facility information of correspondence with described application platform.
A kind of application test systems that the embodiment of the present invention also proposes, comprising: application platform and the server communicated to connect with described application platform, wherein:
Described server is the server as above described in any one;
Described application platform, for server transmitting apparatus registration request, described facility registration request comprises described application platform login account on the server, and according to the Quick Response Code that described server is shown, carries out the operation requests scanning described Quick Response Code.
A kind of application testing method that the embodiment of the present invention proposes, server and system, when application platform (i.e. external content providers) access server carries out application testing, by directly scanning the mode of Quick Response Code, equipment is registered, wherein equipment identity information is invisible to application platform, responsive identity information can be avoided thus to be exposed to as third-party application platform, and the follow-up access uniting and adjustment flow process relating to equipment identities binding also can continue, thus while the fail safe ensureing data, ensure that the integrality of testing process.
Accompanying drawing explanation
Fig. 1 is the application test systems configuration diagram that embodiment of the present invention scheme relates to;
Fig. 2 is that embodiment of the present invention server and application platform carry out mutual schematic flow sheet;
Fig. 3 is the server hardware running environment structural representation that embodiment of the present invention scheme relates to;
Fig. 4 is the schematic flow sheet of application testing method method first embodiment of the present invention;
Fig. 5 is the user interface schematic diagram that embodiment of the present invention server opening platform provides;
Fig. 6 is the Quick Response Code interface schematic diagram that embodiment of the present invention server opening platform provides;
Fig. 7 is that embodiment of the present invention application platform display device adds success page schematic diagram;
Fig. 8 is the schematic flow sheet of application testing method method second embodiment of the present invention;
Fig. 9 is the schematic flow sheet of application testing method method the 3rd embodiment of the present invention;
Figure 10 is the schematic flow sheet of application testing method method the 4th embodiment of the present invention;
Figure 11 is the schematic flow sheet of application testing method method the 5th embodiment of the present invention;
Figure 12 is the schematic flow sheet of application testing method method the 6th embodiment of the present invention;
Figure 13 is the high-level schematic functional block diagram of application testing server first embodiment of the present invention;
Figure 14 is the high-level schematic functional block diagram of application testing server second embodiment of the present invention;
Figure 15 is the high-level schematic functional block diagram of application testing server the 3rd embodiment of the present invention;
Figure 16 is the high-level schematic functional block diagram of application testing server the 4th embodiment of the present invention.
In order to make technical scheme of the present invention clearly, understand, be described in further detail below in conjunction with accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The primary solutions of the embodiment of the present invention is: application platform (i.e. external content providers) is when access server carries out application testing, by directly scanning the mode of Quick Response Code, equipment is registered, wherein equipment identity information is invisible to application platform, responsive identity information can be avoided thus to be exposed to as third-party application platform, and the follow-up access uniting and adjustment flow process relating to equipment identities binding also can continue, thus while the fail safe ensureing data, ensure the integrality of testing process.
As shown in Figure 1, Fig. 1 shows the application test systems configuration diagram that embodiment of the present invention scheme relates to.As shown in Figure 1, the application test systems that embodiment of the present invention scheme relates to, comprising: application platform 102 and the server 101 communicated to connect with described application platform 102, wherein:
Application platform 102 is as the operating platform of content supplier, can be carried on the network terminal, this network terminal can be smart mobile phone, panel computer, E-book reader, MP3 (MovingPictureExpertsGroupAudioLayerIII, dynamic image expert compression standard audio frequency aspect) player, MP4 (MovingPictureExpertsGroupAudioLayerIV, dynamic image expert compression standard audio frequency aspect) player, pocket computers etc. have the packaged type terminal equipment of Presentation Function, also can be PC network terminal, the present embodiment is illustrated with mobile terminal.On mobile terminals, application platform 102, by browser ingress access network, communicates with server 101.
Server 101 can be the network terminals such as PC, and this server 101 has front end open platform and background server.
Due to the content supplier as third-party application platform 102, when access relates to the sensitive service of userspersonal information, service side is needed to provide resource (such as station number) to test, to ensure user service data fail safe, but, this type of information relates to the identity state rule of user, and being therefore not easy to externally content supplier provides.The present embodiment scheme can be avoided being exposed to by responsive identity information as third-party application platform 102, and the follow-up access uniting and adjustment flow process relating to equipment identities binding also can continue, thus while the fail safe ensureing data, also ensure the integrality of testing process.
Particularly, the present embodiment server 101 and application platform 102 carry out mutual flow process as shown in Figure 2.
First, application platform 102, when carrying out application testing, needs the testing equipment used to server 101 registered application platform 102 self, thus, to server 101 transmitting apparatus registration request.
In this facility registration request, carry the login account of application platform 102 on server 101, this login account can be such as the various application accounts such as instant messaging account (as No. QQ), microblogging, community's account.
As previously mentioned, server 101 externally provides opening platform, and application platform 102 carries out account registration by this opening platform, and according to the login account registered from opening platform logon server 101.
When carrying out application testing, login account is carried in facility registration request and sends to server 101 by application platform 102.
Wherein, the triggering mode of facility registration request can have multiple, such as, the opening platform of server 101 provides user interface, user interface arranges interpolation device option, as shown in Figure 5, user can click interpolation device option, carrys out trigger equipment registration request with this.
Server 101 after receiving the facility registration request that application platform 102 sends, first, by background server stochastic generation ID be associated with the login account of application platform 102, this ID is single use, namely this ID is disposable ID, and after facility registration success, this ID lost efficacy.
After the ID that server 101 is associated with the login account of application platform 102 stochastic generation one, generate a URL based on this ID, form Quick Response Code, scan for application platform 102, as shown in Figure 6.
The URL example corresponding as Quick Response Code is as follows:
Http:// openn.html5.qq.com/ajax? action=addDevice & appId=user submits to content ID & userId=user QQ & qrId=subscriber equipment to mate numbering.
The Quick Response Code of the above-mentioned band ID attribute that application platform 102 scanning server 101 provides, trigger a http operation requests, server 101 resolves this operation requests, ID is obtained from http operation requests head, and the login account of the application platform 102 associated with described ID is found by this ID, the login account of the facility information of correspondence with application platform 102 is associated, finishing equipment registration is added, so that follow-up test uniting and adjustment operation, and this facility information can not be exposed to as third-party above-mentioned application platform 102, i.e. external content providers.
Wherein, facility information such as can comprise device number or miscellaneous equipment identify label, user account etc., and the present embodiment represents with GUID, and its structure can be as shown in table 1:
Table 1
The process that the facility information of correspondence and the login account of application platform 102 carry out associating can be described below by the present embodiment server 101:
Due to application, access side adopts the SDK of browser or directly develops under browser frames, now SDK or browser can get application platform 102 and hold equipment identity information, be called GUID, and when browser First Contact Connections, report the long-range background server of browser, i.e. server 101 background server alleged by the present embodiment.
When developer carries out Quick Response Code scanning, application is in opening.Application platform 102 holds equipment and server 101 backstage is in long connection status.Server 101 front end open platform is after application platform 102 carries out Quick Response Code scanning, get the ID that scan operation request is carried, this ID and application platform 102 are held equipment identity information GUID notification server 101 background server in the lump, carry out equipment coupling, now, server 101 can get the equipment identity information corresponding with ID.In addition, server 101 background server finds the login account of the application platform 102 associated with described ID by this ID, the equipment identity information of correspondence is carried out associating with the login account of application platform 102 and mates, thus, the equipment identity information of correspondence can be carried out associating with the login account of application platform 102 by the ID of stochastic generation and mate.
After being successfully associated, described ID lost efficacy by server 101.Meanwhile, server 101 returns to application platform 102 and is successfully associated message, and as shown in Figure 7, application platform 102 display device adds success page.
The present embodiment passes through such scheme, when application platform 102 (i.e. external content providers) access server 101 carries out application testing, by directly scanning the mode of Quick Response Code, equipment is registered, wherein equipment identity information is invisible to application platform 102, can avoid thus responsive identity information being exposed to as third-party application platform 102, and the follow-up access uniting and adjustment flow process relating to equipment identities binding also can continue, thus while the fail safe ensureing data, ensure that the integrality of testing process.
Further, after the login account of the facility information of correspondence and application platform 102 is successfully associated by server 101, the login account of server 101 according to application platform 102 and the facility information of correspondence, the Service Source of coupling correspondence carries out application testing access uniting and adjustment operation for application platform 102, thus, application platform 102 can the Service Source that provides of invoking server 101, carry out application testing access uniting and adjustment operation, while the fail safe ensureing data, also ensure that the integrality of testing process.
Embody rule scene is as follows:
If a certain application content provider, in order to push this application of weather information, relating to the sensitive service of userspersonal information when accessing browser, needing service side to provide resource (such as station number) to test this application, to ensure user service data fail safe.In order to avoid equipment identity information exposes, server 101 generates the Quick Response Code with ID attribute according to the operation requests of application platform 102, application platform 102 completes the registration of used equipment by this Quick Response Code of scanning, afterwards, server 101 provides corresponding Service Source, the Service Source that application platform 102 invoking server 101 provides, carries out application testing access uniting and adjustment operation, completes application testing.
The present embodiment passes through such scheme, when application platform 102 (i.e. external content providers) access server 101 carries out application testing, by directly scanning the mode of Quick Response Code, equipment is registered, wherein equipment identity information is invisible to application platform 102, can avoid thus responsive identity information being exposed to as third-party application platform 102, and the follow-up access uniting and adjustment flow process relating to equipment identities binding also can continue, thus while the fail safe ensureing data, ensure that the integrality of testing process.
Further, after being successfully associated, server 101 to succeed in registration the page at opening platform display device, so that attendant carries out corresponding attended operation.
As shown in Figure 3, Fig. 3 is the server hardware running environment structural representation that embodiment of the present invention scheme relates to.
As shown in Figure 3, this server can comprise: processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these assemblies of server.User interface 1003 can comprise display screen (Display), input unit such as keyboard (Keyboard), can be used for background maintenance personnel to carry out correlated inputs operation, optional user interface 1003 can also comprise wireline interface, the wave point of standard.Network interface 1004 optionally can comprise wireline interface, the wave point (as WI-FI interface) of standard.Memory 1005 can be high-speed RAM memory, also can be stable memory (non-volatilememory), such as magnetic disc store.Memory 1005 can also be optionally the storage device independent of aforementioned processor 1001.
Alternatively, this server can also comprise camera, RF (RadioFrequency, radio frequency) circuit, transducer, voicefrequency circuit, WiFi module etc.
It will be understood by those skilled in the art that the server architecture shown in Fig. 3 does not form the restriction to server, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.
As shown in Figure 3, operating system, network communication module, Subscriber Interface Module SIM and application testing program can be comprised as in a kind of memory 1005 of computer-readable storage medium.
In the server shown in Fig. 3, network interface 1004 is mainly used in connecting application platform, carries out data communication with application platform; User interface 1003 is mainly used in connecting background maintenance client, carries out data communication with client; And processor 1001 may be used for calling the application testing program stored in memory 1005, and perform following operation:
Receive the facility registration request that application platform sends, described facility registration request comprises described application platform login account on the server;
According to described facility registration request, generate the ID be associated with the login account of described application platform, and generate Quick Response Code based on described ID;
Receive the operation requests that described application platform carries out scanning described Quick Response Code;
According to described operation requests, the login account of the facility information of correspondence with described application platform is associated.
Further, processor 1001 can call the application testing program stored in memory 1005, also performs following operation:
Resolve described operation requests, therefrom obtain described ID;
Obtain the login account of the described application platform associated with described ID according to described ID, the login account of the facility information of correspondence with described application platform is associated.
Further, processor 1001 can call the application testing program stored in memory 1005, also performs following operation:
After being successfully associated, described ID was lost efficacy.
Further, processor 1001 can call the application testing program stored in memory 1005, also performs following operation:
After being successfully associated, returning to described application platform and be successfully associated message.
Further, processor 1001 can call the application testing program stored in memory 1005, also performs following operation:
After being successfully associated, according to the login account of described application platform and the facility information of correspondence, the Service Source of coupling correspondence carries out application testing access uniting and adjustment operation for described application platform.
Further, processor 1001 can call the application testing program stored in memory 1005, also performs following operation:
After being successfully associated, described server to succeed in registration the page at opening platform display device.
The present embodiment passes through such scheme, when application platform (i.e. external content providers) access server carries out application testing, by directly scanning the mode of Quick Response Code, equipment is registered, wherein equipment identity information is invisible to application platform, responsive identity information can be avoided thus to be exposed to as third-party application platform, and the follow-up access uniting and adjustment flow process relating to equipment identities binding also can continue, thus while the fail safe ensureing data, ensure that the integrality of testing process.
Based on said system framework and hardware configuration, application testing method embodiment of the present invention is proposed.
As shown in Figure 4, first embodiment of the invention proposes a kind of application testing method, comprising:
Step S201, application platform is to server transmitting apparatus registration request, and described facility registration request comprises described application platform login account on the server;
Due to the content supplier as third-party application platform, when access relates to the sensitive service of userspersonal information, service side is needed to provide resource (such as station number) to test, to ensure user service data fail safe, but, this type of information relates to the identity state rule of user, and being therefore not easy to externally content supplier provides.The present embodiment scheme can avoid responsive identity information to be exposed to as third-party application platform, and the follow-up access uniting and adjustment flow process relating to equipment identities binding also can continue, thus while the fail safe ensureing data, also ensure the integrality of testing process.
Particularly, application platform, when carrying out application testing, first, needs the testing equipment used to server registration application platform self, thus, to server transmitting apparatus registration request.
In this facility registration request, carry application platform login account on the server, this login account can be such as the various application accounts such as instant messaging account (as No. QQ), microblogging, community's account.
As previously mentioned, server externally provides opening platform, and application platform carries out account registration by this opening platform, and according to the login account registered from opening platform logon server.
When carrying out application testing, login account is carried in facility registration request and sends to server by application platform.
Wherein, the triggering mode of facility registration request can have multiple, such as, the opening platform of server provides user interface, user interface arranges interpolation device option, as shown in Figure 5, user can click interpolation device option, carrys out trigger equipment registration request with this.
Step S202, described server, according to described facility registration request, generates the ID be associated with the login account of described application platform, and generates Quick Response Code based on described ID;
Server is after receiving the facility registration request that application platform sends, and first, by background server stochastic generation ID be associated with the login account of application platform, this ID is single use, and after facility registration success, this ID can lose efficacy.
After the ID that server is associated with the login account of application platform stochastic generation one, generate a URL based on this ID, form Quick Response Code, for application platform scanner, as shown in Figure 6.
The URL example corresponding as Quick Response Code is as follows:
Http:// openn.html5.qq.com/ajax? action=addDevice & appId=user submits to content ID & userId=user QQ & qrId=subscriber equipment to mate numbering.
Step S203, described application platform carries out the operation requests scanning described Quick Response Code;
Step S204, the login account of the facility information of correspondence with described application platform, according to described operation requests, associates by described server.
The Quick Response Code of the above-mentioned band ID attribute that application platform scanning server provides, trigger a http operation requests, this operation requests of server parses, ID is obtained from http operation requests head, and the login account of the application platform associated with described ID is found by this ID, the facility information of correspondence is associated with the login account of application platform, finishing equipment registration is added, so that follow-up test uniting and adjustment operation, and this facility information can not be exposed to as third-party above-mentioned application platform, i.e. external content providers.
Wherein, facility information such as can comprise device number or miscellaneous equipment identify label, user account etc., and the present embodiment represents with GUID, and its structure can be as shown in table 1:.
The process that the facility information of correspondence and the login account of application platform carry out associating can be described below by the present embodiment server:
Due to application, access side adopts the SDK of browser or directly develops under browser frames, now SDK or browser can get application platform and hold equipment identity information, be called GUID, and when browser First Contact Connections, report the long-range background server of browser, i.e. server background service end alleged by the present embodiment.
When developer carries out Quick Response Code scanning, application is in opening.Application platform holds equipment and server background is in long connection status.Server front end open platform is after application platform carries out Quick Response Code scanning, get the ID that scan operation request is carried, this ID and application platform are held equipment identity information GUID notification server background server in the lump, carry out equipment coupling, now, server can get the equipment identity information corresponding with ID.In addition, server background service end finds the login account of the application platform associated with described ID by this ID, the equipment identity information of correspondence is carried out associating with the login account of application platform and mates, thus, the equipment identity information of correspondence can be carried out associating with the login account of application platform by the ID of stochastic generation and mate.
After being successfully associated, described ID lost efficacy by server.Meanwhile, server returns to application platform and is successfully associated message, and as shown in Figure 7, application platform display device adds success page.
The present embodiment passes through such scheme, when application platform (i.e. external content providers) access server carries out application testing, by directly scanning the mode of Quick Response Code, equipment is registered, wherein equipment identity information is invisible to application platform, responsive identity information can be avoided thus to be exposed to as third-party application platform, and the follow-up access uniting and adjustment flow process relating to equipment identities binding also can continue, thus while the fail safe ensureing data, ensure that the integrality of testing process.
As shown in Figure 8, second embodiment of the invention proposes a kind of application testing method, on the basis of the first embodiment shown in above-mentioned Fig. 4, also comprises:
Step S205, after being successfully associated, the login account of described server according to described application platform and the facility information of correspondence, the Service Source of coupling correspondence carries out application testing access uniting and adjustment operation for described application platform;
Step S206, described application platform calls the Service Source that described server provides, and carries out application testing access uniting and adjustment operation.
After the facility information of correspondence and the login account of application platform are successfully associated by server, the login account of server according to application platform and the facility information of correspondence, the Service Source of coupling correspondence carries out application testing access uniting and adjustment operation for application platform, thus, application platform can the Service Source that provides of invoking server, carry out application testing access uniting and adjustment operation, while the fail safe ensureing data, also ensure that the integrality of testing process.
Embody rule scene is as follows:
If a certain application content provider, in order to push this application of weather information, relating to the sensitive service of userspersonal information when accessing browser, needing service side to provide resource (such as station number) to test this application, to ensure user service data fail safe.In order to avoid equipment identity information exposes, server generates the Quick Response Code with ID attribute according to the operation requests of application platform, application platform completes the registration of used equipment by this Quick Response Code of scanning, afterwards, server provides corresponding Service Source, the Service Source that application platform invoking server provides, carries out application testing access uniting and adjustment operation, completes application testing.
The present embodiment passes through such scheme, when application platform (i.e. external content providers) access server carries out application testing, by directly scanning the mode of Quick Response Code, equipment is registered, wherein equipment identity information is invisible to application platform, responsive identity information can be avoided thus to be exposed to as third-party application platform, and the follow-up access uniting and adjustment flow process relating to equipment identities binding also can continue, thus while the fail safe ensureing data, ensure that the integrality of testing process.
As shown in Figure 9, third embodiment of the invention proposes a kind of application testing method, on the basis of the first embodiment shown in above-mentioned Fig. 4, also comprises:
Step S207, after being successfully associated, described server to succeed in registration the page at opening platform display device.
After being successfully associated, server to succeed in registration the page at opening platform display device, so that attendant carries out corresponding attended operation.
As shown in Figure 10, fourth embodiment of the invention proposes a kind of application testing method, comprising:
Step S301, server receives the facility registration request that application platform sends, and described facility registration request comprises described application platform login account on the server;
Step S302, according to described facility registration request, generates the ID be associated with the login account of described application platform, and generates Quick Response Code based on described ID;
Step S303, receives the operation requests that described application platform carries out scanning described Quick Response Code;
Step S304, according to described operation requests, associates the login account of the facility information of correspondence with described application platform.
As shown in figure 11, fifth embodiment of the invention proposes a kind of application testing method, on the basis of the embodiment shown in above-mentioned Figure 10, also comprises:
Step S305, after being successfully associated, the login account of described server according to described application platform and the facility information of correspondence, the Service Source of coupling correspondence carries out application testing access uniting and adjustment operation for described application platform.
It should be noted that, above-described embodiment can also combine enforcement, and therefore not to repeat here.
As shown in figure 12, sixth embodiment of the invention proposes a kind of application testing method, on the basis of the embodiment shown in above-mentioned Figure 10, also comprises:
Step S306, after being successfully associated, described server to succeed in registration the page at opening platform display device.
Accordingly, as shown in figure 13, first embodiment of the invention also proposes a kind of application testing server, comprising: registration request receiver module 401, processing module 402, operation requests receiver module 403 and relating module 404, wherein:
Registration request receiver module 401, for receiving the facility registration request that application platform sends, described facility registration request comprises described application platform login account on the server;
Processing module 402, for according to described facility registration request, generates the ID be associated with the login account of described application platform, and generates Quick Response Code based on described ID;
Operation requests receiver module 403, carries out scanning the operation requests of described Quick Response Code for receiving described application platform;
Relating module 404, for according to described operation requests, associates the login account of the facility information of correspondence with described application platform.
Due to the content supplier as third-party application platform, when access relates to the sensitive service of userspersonal information, service side is needed to provide resource (such as station number) to test, to ensure user service data fail safe, but, this type of information relates to the identity state rule of user, and being therefore not easy to externally content supplier provides.The present embodiment scheme can avoid responsive identity information to be exposed to as third-party application platform, and the follow-up access uniting and adjustment flow process relating to equipment identities binding also can continue, thus while the fail safe ensureing data, also ensure the integrality of testing process.
Particularly, application platform, when carrying out application testing, first, needs the testing equipment used to server registration application platform self, thus, to server transmitting apparatus registration request.
In this facility registration request, carry application platform login account on the server, this login account can be such as the various application accounts such as instant messaging account (as No. QQ), microblogging, community's account.
As previously mentioned, server externally provides opening platform, and application platform carries out account registration by this opening platform, and according to the login account registered from opening platform logon server.
When carrying out application testing, login account is carried in facility registration request and sends to server by application platform.
Wherein, the triggering mode of facility registration request can have multiple, such as, the opening platform of server provides user interface, user interface arranges interpolation device option, as shown in Figure 5, user can click interpolation device option, carrys out trigger equipment registration request with this.
Server is after receiving the facility registration request that application platform sends, and first, by background server stochastic generation ID be associated with the login account of application platform, this ID is single use, and after facility registration success, this ID can lose efficacy.
After the ID that server is associated with the login account of application platform stochastic generation one, generate a URL based on this ID, form Quick Response Code, for application platform scanner, as shown in Figure 6.
The URL example corresponding as Quick Response Code is as follows:
Http:// openn.html5.qq.com/ajax? action=addDevice & appId=user submits to content ID & userId=user QQ & qrId=subscriber equipment to mate numbering.
The Quick Response Code of the above-mentioned band ID attribute that application platform scanning server provides, trigger a http operation requests, this operation requests of server parses, ID is obtained from http operation requests head, and the login account of the application platform associated with described ID is found by this ID, the facility information of correspondence is associated with the login account of application platform, finishing equipment registration is added, so that follow-up test uniting and adjustment operation, and this facility information can not be exposed to as third-party above-mentioned application platform, i.e. external content providers.
Wherein, facility information such as can comprise device number or miscellaneous equipment identify label, user account etc., and the present embodiment represents with GUID, and its structure can be as shown in table 1.
The process that the facility information of correspondence and the login account of application platform carry out associating can be described below by the present embodiment server:
Due to application, access side adopts the SDK of browser or directly develops under browser frames, now SDK or browser can get application platform and hold equipment identity information, be called GUID, and when browser First Contact Connections, report the long-range background server of browser, i.e. server background service end alleged by the present embodiment.
When developer carries out Quick Response Code scanning, application is in opening.Application platform holds equipment and server background is in long connection status.Server front end open platform is after application platform carries out Quick Response Code scanning, get the ID that scan operation request is carried, this ID and application platform are held equipment identity information GUID notification server background server in the lump, carry out equipment coupling, now, server can get the equipment identity information corresponding with ID.In addition, server background service end finds the login account of the application platform associated with described ID by this ID, the equipment identity information of correspondence is carried out associating with the login account of application platform and mates, thus, the equipment identity information of correspondence can be carried out associating with the login account of application platform by the ID of stochastic generation and mate.
After being successfully associated, described ID lost efficacy by server.Meanwhile, server returns to application platform and is successfully associated message, and as shown in Figure 7, application platform display device adds success page.
The present embodiment passes through such scheme, when application platform (i.e. external content providers) access server carries out application testing, by directly scanning the mode of Quick Response Code, equipment is registered, wherein equipment identity information is invisible to application platform, responsive identity information can be avoided thus to be exposed to as third-party application platform, and the follow-up access uniting and adjustment flow process relating to equipment identities binding also can continue, thus while the fail safe ensureing data, ensure that the integrality of testing process.
Further, as shown in figure 14, second embodiment of the invention also proposes a kind of application testing server, based on the embodiment shown in above-mentioned Figure 13, also comprises:
Failed module 405, for after being successfully associated, lost efficacy described ID.
Further, as shown in figure 15, third embodiment of the invention also proposes a kind of application testing server, based on the embodiment shown in above-mentioned Figure 13, also comprises:
Sending module 406, for after being successfully associated, returning to described application platform and is successfully associated message.
Further, as shown in figure 16, fourth embodiment of the invention also proposes a kind of application testing server, based on the embodiment shown in above-mentioned Figure 13, also comprises:
Resource matched module 407, for after being successfully associated, according to the login account of described application platform and the facility information of correspondence, the Service Source of coupling correspondence carries out application testing access uniting and adjustment operation for described application platform.
After the facility information of correspondence and the login account of application platform are successfully associated by server, the login account of server according to application platform and the facility information of correspondence, the Service Source of coupling correspondence carries out application testing access uniting and adjustment operation for application platform, thus, application platform can the Service Source that provides of invoking server, carry out application testing access uniting and adjustment operation, while the fail safe ensureing data, also ensure that the integrality of testing process.
Embody rule scene is as follows:
If a certain application content provider, in order to push this application of weather information, relating to the sensitive service of userspersonal information when accessing browser, needing service side to provide resource (such as station number) to test this application, to ensure user service data fail safe.In order to avoid equipment identity information exposes, server generates the Quick Response Code with ID attribute according to the operation requests of application platform, application platform completes the registration of used equipment by this Quick Response Code of scanning, afterwards, server provides corresponding Service Source, the Service Source that application platform invoking server provides, carries out application testing access uniting and adjustment operation, completes application testing.
The present embodiment passes through such scheme, when application platform (i.e. external content providers) access server carries out application testing, by directly scanning the mode of Quick Response Code, equipment is registered, wherein equipment identity information is invisible to application platform, responsive identity information can be avoided thus to be exposed to as third-party application platform, and the follow-up access uniting and adjustment flow process relating to equipment identities binding also can continue, thus while the fail safe ensureing data, ensure that the integrality of testing process.
It should be noted that, above-described embodiment can also combine enforcement, and therefore not to repeat here.
Also it should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
The foregoing is only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or flow process conversion; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.

Claims (12)

1. an application testing method, is characterized in that, comprising:
Application platform is to server transmitting apparatus registration request, and described facility registration request comprises described application platform login account on the server;
Described server, according to described facility registration request, generates the ID be associated with the login account of described application platform, and generates Quick Response Code based on described ID;
Described application platform carries out the operation requests scanning described Quick Response Code;
The login account of the facility information of correspondence with described application platform, according to described operation requests, associates by described server.
2. method according to claim 1, is characterized in that, the step that the facility information of correspondence and the login account of described application platform carry out associating, according to described operation requests, comprises by described server:
Operation requests described in described server parses, therefrom obtains described ID;
Corresponding facility information is obtained according to described ID, and the login account of the described application platform associated with described ID, the login account of the facility information of correspondence with described application platform is associated.
3. method according to claim 1, is characterized in that, also comprises:
After being successfully associated, described server returns to described application platform and is successfully associated message;
Described application platform display device succeeds in registration the page.
4. the method according to any one of claim 1-3, is characterized in that, also comprises:
After being successfully associated, the login account of described server according to described application platform and the facility information of correspondence, the Service Source of coupling correspondence carries out application testing access uniting and adjustment operation for described application platform;
Described application platform calls the Service Source that described server provides, and carries out application testing access uniting and adjustment operation.
5. the method according to any one of claim 1-3, is characterized in that, also comprises:
After being successfully associated, described server to succeed in registration the page at opening platform display device.
6. an application testing server, is characterized in that, comprising:
Registration request receiver module, for receiving the facility registration request that application platform sends, described facility registration request comprises described application platform login account on the server;
Processing module, for according to described facility registration request, generates the ID be associated with the login account of described application platform, and generates Quick Response Code based on described ID;
Operation requests receiver module, carries out scanning the operation requests of described Quick Response Code for receiving described application platform;
Relating module, for according to described operation requests, associates the login account of the facility information of correspondence with described application platform.
7. server according to claim 6, is characterized in that,
Described relating module, also for resolving described operation requests, therefrom obtains described ID; Corresponding facility information is obtained according to described ID, and the login account of the described application platform associated with described ID, the login account of the facility information of correspondence with described application platform is associated.
8. server according to claim 6, is characterized in that, also comprises:
Sending module, for after being successfully associated, returning to described application platform and is successfully associated message.
9. the server according to any one of claim 6-8, is characterized in that, also comprises:
Resource matched module, for after being successfully associated, according to the login account of described application platform and the facility information of correspondence, the Service Source of coupling correspondence carries out application testing access uniting and adjustment operation for described application platform.
10. an application test systems, is characterized in that, comprising: application platform and the server communicated to connect with described application platform, wherein:
The server of described server according to any one of claim 6-9;
Described application platform, for server transmitting apparatus registration request, described facility registration request comprises described application platform login account on the server, and according to the Quick Response Code that described server is shown, carries out the operation requests scanning described Quick Response Code.
11. systems according to claim 10, is characterized in that,
Described application platform, also for after being successfully associated, what receive that described server returns is successfully associated message, and display device succeeds in registration the page.
12. systems according to claim 11, is characterized in that,
Described application platform, also for calling the Service Source that described server provides, carries out application testing access uniting and adjustment operation.
CN201410549466.7A 2014-10-16 2014-10-16 application testing method, server and system Active CN105515887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410549466.7A CN105515887B (en) 2014-10-16 2014-10-16 application testing method, server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410549466.7A CN105515887B (en) 2014-10-16 2014-10-16 application testing method, server and system

Publications (2)

Publication Number Publication Date
CN105515887A true CN105515887A (en) 2016-04-20
CN105515887B CN105515887B (en) 2019-12-06

Family

ID=55723546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410549466.7A Active CN105515887B (en) 2014-10-16 2014-10-16 application testing method, server and system

Country Status (1)

Country Link
CN (1) CN105515887B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280672A (en) * 2017-01-06 2018-07-13 北大方正集团有限公司 Media promotion method and device
CN108632089A (en) * 2018-05-07 2018-10-09 平安普惠企业管理有限公司 Test management method, device, equipment and the computer storage media of terminal
CN108768770A (en) * 2018-05-24 2018-11-06 郑州云海信息技术有限公司 A kind of the server capability detection device and detection method of full-automation
CN110113305A (en) * 2019-03-25 2019-08-09 视联动力信息技术股份有限公司 A kind of processing method and system regarding networking service
CN110879779A (en) * 2019-10-18 2020-03-13 苏宁云计算有限公司 Joint debugging test method and system
WO2023245583A1 (en) * 2022-06-23 2023-12-28 北京小米移动软件有限公司 Function testing method and apparatus, electronic device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110246764A1 (en) * 2010-04-05 2011-10-06 Juan Gamez User authentication system
CN103338276A (en) * 2013-06-09 2013-10-02 武汉传神信息技术有限公司 Method for data transmission between network terminals
CN103841140A (en) * 2012-11-22 2014-06-04 北京百度网讯科技有限公司 Inter-terminal information mutual-transmission method, system and device
CN104092811A (en) * 2013-07-09 2014-10-08 腾讯科技(深圳)有限公司 Mobile terminal information download method, system, terminal device and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110246764A1 (en) * 2010-04-05 2011-10-06 Juan Gamez User authentication system
CN103841140A (en) * 2012-11-22 2014-06-04 北京百度网讯科技有限公司 Inter-terminal information mutual-transmission method, system and device
CN103338276A (en) * 2013-06-09 2013-10-02 武汉传神信息技术有限公司 Method for data transmission between network terminals
CN104092811A (en) * 2013-07-09 2014-10-08 腾讯科技(深圳)有限公司 Mobile terminal information download method, system, terminal device and server

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280672A (en) * 2017-01-06 2018-07-13 北大方正集团有限公司 Media promotion method and device
CN108632089A (en) * 2018-05-07 2018-10-09 平安普惠企业管理有限公司 Test management method, device, equipment and the computer storage media of terminal
CN108768770A (en) * 2018-05-24 2018-11-06 郑州云海信息技术有限公司 A kind of the server capability detection device and detection method of full-automation
CN108768770B (en) * 2018-05-24 2021-06-29 郑州云海信息技术有限公司 Full-automatic server function detection device and detection method
CN110113305A (en) * 2019-03-25 2019-08-09 视联动力信息技术股份有限公司 A kind of processing method and system regarding networking service
CN110879779A (en) * 2019-10-18 2020-03-13 苏宁云计算有限公司 Joint debugging test method and system
CN110879779B (en) * 2019-10-18 2022-11-18 苏宁云计算有限公司 Joint debugging test method and system
WO2023245583A1 (en) * 2022-06-23 2023-12-28 北京小米移动软件有限公司 Function testing method and apparatus, electronic device, and storage medium

Also Published As

Publication number Publication date
CN105515887B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
CN105515887A (en) Application test method, server and system
CN104967997B (en) A kind of Wi-Fi cut-in method, Wi-Fi equipment, terminal device and system
CN104574057B (en) Online payment method and related equipment and system
US11134035B2 (en) Method and device for securely sending message
US10863312B2 (en) Moving track sharing method and apparatus, and storage medium
CN103309728B (en) Asynchronous Request processing method and equipment
CN104516918A (en) User identity information maintenance method and device, server and system
CN112135186B (en) Screen projection method, device, equipment and storage medium based on small program
WO2016188181A1 (en) Test method, mobile terminal, server and computer storage medium
CN106549989B (en) Data transmission method and system, user terminal and application server
CN108574721B (en) Login method, device, server, user terminal and readable storage medium
CN104601433A (en) Method, client, server and system for displaying application information window
CN102904765A (en) Method and equipment for data reporting
CN114090921A (en) Page display method and device, storage medium and electronic device
CN114338793A (en) Message pushing method and device, electronic equipment and readable storage medium
CN108574878B (en) Data interaction method and device
CN106357654B (en) Remote procedure calling method, device and communication system
CN107067244B (en) Service implementation method, payment method, service implementation device and payment server
CN108037989B (en) SDK component identification method and device
CN106685914B (en) Information verification method, server and client
CN110704498A (en) Data extraction method, device, equipment and computer readable storage medium
CN110933070A (en) User identification method, system, equipment and computer readable storage medium
CN105743879A (en) Smart TV identity recognition method and smart TV identity recognition system
CN105488199A (en) Mixed form processing method, device and mobile terminal
CN105933339B (en) A kind of application login method and mobile terminal

Legal Events

Date Code Title Description
C06 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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210917

Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.