CN107566211A - Access the method, apparatus and system of test equipment - Google Patents

Access the method, apparatus and system of test equipment Download PDF

Info

Publication number
CN107566211A
CN107566211A CN201710729285.6A CN201710729285A CN107566211A CN 107566211 A CN107566211 A CN 107566211A CN 201710729285 A CN201710729285 A CN 201710729285A CN 107566211 A CN107566211 A CN 107566211A
Authority
CN
China
Prior art keywords
terminal
domain name
test equipment
radio reception
test
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
CN201710729285.6A
Other languages
Chinese (zh)
Other versions
CN107566211B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710729285.6A priority Critical patent/CN107566211B/en
Publication of CN107566211A publication Critical patent/CN107566211A/en
Application granted granted Critical
Publication of CN107566211B publication Critical patent/CN107566211B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The disclosure belongs to field of computer technology on a kind of method, apparatus and system for accessing test equipment.Methods described includes:The access request that terminal is sent is obtained, the access request includes the domain name of the network service of the terminal request;When domain name is the designated domain name, the first device address is redirected to according to the corresponding relation of storage;First device address is sent to the terminal, first device address is used to access the test equipment by the radio reception device for the terminal;Solve when accessing test equipment by changing the system file in terminal come triggering terminal, due to the problem of causing terminal can not access test equipment without the authority for changing system file;Improve the versatility of access test equipment method.

Description

Access the method, apparatus and system of test equipment
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of method, apparatus and system for accessing test equipment.
Background technology
Generally, the network service that network server device provides needs to update with the renewal of operating system in terminal.More Network service after new not only needs to use for the terminal after operating system update, also to make for the terminal before operating system update With.So, the network service after renewal needs the operating system of compatible different editions.Wherein, network service can be webpage, net Network interface etc..
At present, detect whether network service can run in the operating system of different editions by test equipment.This When, it is necessary to the connection established between terminal and test equipment, the terminal is used to ask network service of the issue in test equipment.
The content of the invention
To solve the problems, such as in correlation technique, present disclose provides a kind of method, apparatus and system for accessing test equipment.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method for accessing test equipment, methods described include:
Radio reception device obtains the access request that terminal is sent, and the access request includes the network of the terminal request The domain name of service;
When being the designated domain name of the network service of test equipment test in domain name, the radio reception device is according to depositing The corresponding relation of storage is redirected to the first device address, and the corresponding relation is used for device address corresponding to the designated domain name First device address is revised as by the second device address, second device address is to provide the network of the network service The address of service equipment;
The radio reception device sends first device address to the terminal, and first device address is used to supply The terminal accesses the test equipment by the radio reception device.
Alternatively, methods described also includes:
When the device identification is designated equipment mark, it in domain name is to survey that the radio reception device, which performs described, When trying the designated domain name of the network service of equipment test, the radio reception device is redirected to the according to the corresponding relation of storage The step of one device address;
Wherein, the designated equipment mark is to test the device identification of terminal, and the test terminal refers to be accessed described The terminal of test equipment.
Alternatively, methods described also includes:
The radio reception device receives the safety certificate that the test equipment is sent, and the safety certificate is pre-installed in In the test equipment;
The radio reception device sends the safety certificate to the terminal, and the safety certificate is used to supply the end Hold and the security of the test equipment is verified, and the survey is accessed by the radio reception device when verification passes through Try equipment.
Alternatively, the safety certificate and the safety certificate phase in the network server device that the test equipment is sent Together.
Alternatively, methods described also includes:
The radio reception device receives the network service request that the terminal is sent, and the network service request includes institute State the first device address;
The radio reception device sends the network service request to the test according to first device address Equipment.
Alternatively, methods described also includes:
When domain name is not the designated domain name, the radio reception device sends domain name to dns server, The 3rd device address as corresponding to the dns server determines domain name, the 3rd device address are to provide domain name The address of other network server devices of corresponding network service;
The radio reception device receives the 3rd device address;
The radio reception device sends the 3rd device address to the terminal, and the 3rd device address is used for Other network server devices are accessed by the radio reception device for the terminal.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of device for accessing test equipment, described device include:
Acquisition module, it is configured as obtaining the access request that terminal is sent, the access request includes the terminal request Network service domain name;
Redirection module, it is configured as when domain name is the designated domain name of the network service of test equipment test, root The first device address is redirected to according to the corresponding relation of storage, the corresponding relation is used for equipment corresponding to the designated domain name First device address is revised as in address by the second device address, and second device address is to provide the network service The address of network server device;
First sending module, it is configured as sending first device address, first device address to the terminal For accessing the test equipment by the radio reception device for the terminal.
Alternatively, the redirection module, it is additionally configured to, when the device identification is designated equipment mark, perform institute State when domain name is the designated domain name, the step of the first device address is determined according to the corresponding relation of storage, the finger Locking equipment mark is the device identification of the test terminal.
Alternatively, described device also includes:
First receiving module, it is configured as receiving the safety certificate that the test equipment is sent, the safety certificate is advance In the test equipment;
Second sending module, it is configured as sending the safety certificate to the terminal, the safety certificate is used to supply The security of test equipment is verified described in the terminal-pair, and is accessed when verification passes through by the radio reception device The test equipment.
Alternatively, the safety certificate and the safety certificate phase in the network server device that the test equipment is sent Together.
Alternatively, described device also includes:
Second receiving module, it is configured as receiving the network service request that the terminal is sent, the network service request Including first device address;
3rd sending module, it is configured as, according to first device address, the network service request being sent to institute State test equipment.
Alternatively, described device also includes:
4th sending module, it is configured as when domain name is not the designated domain name, to described in dns server transmission Domain name, the 3rd device address as corresponding to the dns server determines domain name, the 3rd device address are to provide described The address of other network server devices of network service corresponding to domain name;
3rd receiving module, it is configured as receiving the 3rd device address;
5th sending module, it is configured as sending the 3rd device address to the terminal, the 3rd equipment Location is used to access other network server devices by the radio reception device for the terminal.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of system for accessing test equipment, the system include:Eventually End, radio reception device and test equipment;
The terminal is used to send access request to the radio reception device;
The radio reception device includes the device that second aspect provides;
Whether the test equipment is supported to run in the terminal for test network service, the test equipment installation There is safety certificate.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of device for accessing test equipment, described device include place Manage device;The memory being connected with the processor;And the programmed instruction on the memory is stored in, the computing device Described program realizes the access test equipment that first aspect provides method when instructing.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable medium, described program instruction are processed Device realizes the access test equipment that first aspect provides method when performing.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By setting the corresponding relation between designated domain name and the device address of test equipment in radio reception device, make Terminal is obtained when asking network service corresponding to the designated domain name, radio reception device will can trigger according to the corresponding relation Terminal accesses test equipment;Solve when accessing test equipment by changing the system file in terminal come triggering terminal, by In without modification system file authority cause terminal can not access test equipment the problem of;Due to without the system to terminal File is modified with regard to energy triggering terminal access test equipment, it is thereby achieved that the system file in without modification terminal Under authority scene also can triggering terminal access test equipment, improve access test equipment method versatility.
It should be appreciated that the general description and following detailed description of the above are only exemplary, this can not be limited It is open.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms a part for present disclosure specification, shows and meets the disclosure Embodiment, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of structural representation of the system of access test equipment according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the method for access test equipment according to an exemplary embodiment.
Fig. 3 is a kind of schematic diagram of corresponding relation according to an exemplary embodiment.
Fig. 4 is a kind of flow chart of the method for access test equipment according to another exemplary embodiment.
Fig. 5 is a kind of block diagram of the device of access test equipment according to an exemplary embodiment.
Fig. 6 is a kind of structural representation of radio reception device according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
First, pair this disclosure relates to several nouns be introduced.
Radio reception device:For for terminal access Wireless Fidelity (Wireless Fidelity, WiFi) network.
Alternatively, radio reception device can be router, have the mobile phone of wireless sharing function, be tablet personal computer, above-knee The electronic equipment such as type pocket computer and desktop computer.
Network service:It is the service that terminal provides to refer to network server device.Alternatively, network server device is service Device.Such as:Network service is that the web page access service that browser server provides or network interface service, e-commerce server carry Instant messaging service that the electronic transaction service of confession, instant communication server provide etc..
Alternatively, different network server devices provides different network services or identical network service for terminal.
The operating system installed in terminal may update, and now, network server device is the network service that terminal provides Need to be adapted with the operating system of the terminal, just can guarantee that the normal operation of terminal network service.That is, network service needs Updated with the renewal of operating system.Need to be published to test in advance before network service is published to network server device and set In standby, to detect whether the network service is supported to run in different terminals.
Test equipment:The equipment of the beta version of network service is installed.Test equipment is used for the network clothes for detecting installation Whether business is supported to run on different terminals.
Alternatively, different terminals is provided with the operating system of different editions, such as:The version of the operating system of terminal 1 For 4.0, the version of the operating system of terminal 2 is 4.2;And/or the unit type of different terminals is different, such as:Terminal 1 Unit type is x rice 6, and the unit type of terminal 2 is x rice 6plus;And/or the device type of different terminals is different, such as: Terminal 1 is mobile phone, and terminal 2 is tablet personal computer.
Test equipment can be mobile phone, tablet personal computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio aspect 4) it is player, on knee portable The electronic equipments such as computer, desktop computer and server.
Alternatively, test equipment can install a kind of beta version of network service;Or installation at least two networks clothes The beta version of business.
Alternatively, network service of the network service of the beta version in test equipment with issue in network server device Can be with identical, can also be different.
In one example, if the network service of the beta version of installation in a test device can be in the behaviour of different editions Make to run in system, and developer does not optimize the network service of the beta version, then the network of the beta version Service identical with issuing the network service in network server device.
In another example, if the network service of the beta version of installation in a test device is only capable of in part version Run in operating system, now, developer needs to optimize the network service of the beta version, then the beta version Network service is different from issuing the network service in network server device.
The domain name (Domain Name) of the network service of the beta version of issue in a test device takes with issue in network The domain name of network service in equipment of being engaged in is identical, and the device address of test equipment is different from the device address of network server device.
Alternatively, device address is Internet protocol (Internet Protocol, IP) address.
When whether supporting running in different terminals by the service of test equipment test network, it is necessary to will be at least one Terminal accesses test equipment.Alternatively, in the present embodiment, the terminal of test equipment to be accessed is referred to as to test terminal.
In correlation technique, by test terminal system file in, by device address corresponding to the domain name of network service It is revised as testing the device address of terminal, to realize test terminal access test equipment.Because system file is only specific It could be changed under scene, such as:In the case where getting the scene of ROOT authorities of operating system, therefore, it is for that can not change The scene of system file, can not realize test equipment accessing test equipment.Based on above-mentioned technical problem, the embodiment of the present disclosure provides Following technical scheme.
Fig. 1 is a kind of structural representation of the system of access test equipment according to an exemplary embodiment, and this is System includes at least one terminal 110, radio reception device 120 and test equipment 130.
At least one terminal 110 accesses the wireless network of the offer of radio reception device 120 in advance.Terminal 110 has request The function of network service.
Terminal 110 sends access request before network service is asked by radio reception device 120, and the access request is used The equipment that the network service is provided is accessed in request.The domain name of the network service of the request of terminal 110 is carried in access request.
Radio reception device 120 obtains the access request that terminal 110 is sent.
Alternatively, in the present embodiment, the device address of designated domain name and test equipment is preset with radio reception device 120 Between corresponding relation.Wherein, designated domain name is the domain name for the network service that test equipment needs are tested.
Alternatively, the quantity of designated domain name is at least one in radio reception device 120.
Whether the domain name that radio reception device 120 is used to detect in access request is designated domain name, and is being designated domain name When, device address corresponding to the designated domain name is sent to terminal 110.
Terminal 110 accesses test equipment 130 according to the device address received by radio reception device 120.Now, eventually End 110 is test terminal.
Wherein, establish and connect beforehand through wireless network between radio reception device 120 and test equipment 130.
Alternatively, the network service that the possible request for test equipment of terminal 110 need not test, now, radio reception device 120 do not store device address corresponding to the domain name of the network service, and radio reception device 120 determines that the domain name is not specified Domain name to domain name system (Domain Name System, DNS) server, it is necessary to ask corresponding to the domain name of this network service Device address, and the device address is sent to terminal 110.
The present embodiment illustrates so that the executive agent of following each embodiments is radio reception device 120 as an example.
Fig. 2 is a kind of flow chart of the method for access test equipment according to an exemplary embodiment, and this method can With including the following steps.
In step 201, the access request that terminal is sent is obtained.
The equipment that access request is used for the network service for asking access to provide terminal request.Access request includes terminal request Network service domain name.
Alternatively, the network service of terminal request is probably the network service of test equipment test, it is also possible to need not The network service of test equipment test.
Terminal before network service is asked, it is necessary to obtain provide the network service equipment address, now, can pass through Radio reception device sends access request to dns server.Correspondingly, radio reception device can get the access request.
Wherein, dns server is used to parse domain name, obtains device identification corresponding to the domain name.
In step 202, when domain name is the designated domain name for the network service that test equipment is tested, according to the correspondence of storage Relation is redirected to the first device address.
Designated domain name is the domain name of the network service of test equipment test.Test equipment is used to detect test equipment test Whether network service is supported to run in different test terminals, and test terminal is to refer to the accession to the terminal of test equipment.
Such as:The network service of test equipment test is the web page access service that xx websites provide, then designated domain name is xx The domain name of website.
Alternatively, at least one designated domain name is stored with radio reception device.Radio reception device is stored by detecting At least one designated domain name in, if the designated domain name to match with the domain name in access request be present, come detect access please Whether the domain name in asking is designated domain name.
Match when existing at least one designated domain name stored in radio reception device with the domain name in access request Designated domain name when, it is designated domain name to determine the domain name in access request.
Wherein, corresponding relation includes the corresponding relation between designated domain name and the first device address of test equipment.It is corresponding Relation is used to device address corresponding to designated domain name being revised as the first device address, the second device address by the second device address It is to provide the address of the network server device of the network service of test equipment test.
Alternatively, there is provided the network server device of the network service of test equipment test provides identical net with test equipment Network service.
Alternatively, corresponding relation is arranged in radio reception device by developer;Or corresponding relation is wireless access Default storage when equipment is dispatched from the factory;Or corresponding relation is that the second device address is repaiied as corresponding to developer by designated domain name It is changed to what is obtained behind the first device address, now, in radio reception device is previously stored with designated domain name and the second device address Between corresponding relation.
When domain name is designated domain name, it is the network clothes that test equipment needs are tested to illustrate network service corresponding to the domain name Business, therefore, it is necessary to terminal is accessed into test equipment.
Alternatively, the corresponding pass being stored with radio reception device between designated domain name and the device address of test equipment System, by inquiring about the corresponding relation, it may be determined that the first device address corresponding to the domain name gone out in access request.
With reference to figure 3, it is assumed that the domain name in the access request that radio reception device is got is domain.com, in storage Corresponding relation 300 includes domain.com, and now, then the domain name is designated domain name, it can be seen from the corresponding relation 300, First device address corresponding to domain.com is 166.111.1.11.
In step 203, the first device address is sent to terminal, the first device address is used to pass through wireless access for terminal Equipment accesses test equipment.
After radio reception device inquires the first device address corresponding to domain name in access request, to terminal send this One device address, terminal can access test equipment according to first device address.
Alternatively, terminal access test equipment refers to:Terminal sends network to test equipment by radio reception device and taken Business request, the network service request carry the first device address;Radio reception device is according to the first device address by the network Service request is forwarded to test equipment;Test equipment provides network service according to the network service request for terminal.
Schematically, when the network service of terminal request is accesses the service of webpage, the network service request is super literary This host-host protocol (Hyper Text Transfer Protocol, HTTP) is asked, and the first equipment is carried in the HTTP request Address.
In summary, the method for the access test equipment that the disclosure provides, specified by being set in radio reception device Corresponding relation between domain name and the device address of test equipment so that terminal is asking network service corresponding to the designated domain name When, radio reception device can will access test equipment according to the corresponding relation, triggering terminal;Solve by changing terminal In system file come triggering terminal access test equipment when, due to without modification system file authority cause terminal can not The problem of accessing test equipment;Due to accessing test equipment without just energy triggering terminal of being modified to the system file of terminal, It is thereby achieved that without modification terminal in system file authority scene under also can triggering terminal access test equipment, Improve the versatility of access test equipment method.
Alternatively, the network service of terminal request may not be the network service that test equipment needs to test, now, in step In rapid 202, the domain name of radio reception device is not designated domain name.
Based on the embodiment shown in Fig. 2, a kind of side of access test equipments of the Fig. 4 according to another exemplary embodiment The flow chart of method, after step 201, if the domain name in access request is not designated domain name, this method comprises the following steps.
In step 204, access request is sent to dns server.
When domain name is not designated domain name, radio reception device do not store the domain name corresponding to device address, then wirelessly connect Enter domain name of the equipment into dns server transmission access request, the 3rd device address as corresponding to dns server determines domain name. Dns server sends the 3rd device address determined to radio reception device.
3rd device address is to provide the mark of other network server devices of network service corresponding to domain name.
In step 205, the 3rd device address is received.
Radio reception device receives the 3rd device address that dns server is sent.
In step 206, the 3rd device address is sent to terminal.
Terminal accesses other network server devices according to the 3rd device address.
In summary, the method for the access test equipment that the disclosure provides, is not referred to by the domain name in access request During localization name, the domain name is sent to dns server, the 3rd device identification, makes as corresponding to dns server parses the domain name Obtaining does not ask the terminal of network service corresponding to designated domain name to get the 3rd device identification, and according to the 3rd equipment mark Know and access other network server devices, expand the application of radio reception device.
Alternatively, based on above-mentioned each embodiment, radio reception device is stored with least one designated equipment mark, and this refers to Locking equipment is identified as the device identification of test terminal, before step 202, the equipment in radio reception device detection access request Identify whether to identify for designated equipment;When device identification is designated equipment mark, it is survey to illustrate the terminal for sending access request Terminal is tried, now, radio reception device performs step 202.
In this case, the device identification of the terminal is carried in the access request that terminal is sent.
Alternatively, when device identification is not designated equipment mark, it is not that test is whole to illustrate the terminal for sending access request End, now, whether the domain name that radio reception device need not be detected in access request is designated domain name, directly sends access request To DSN servers, the domain name in access request is parsed by DSN servers, obtains the 3rd device identification.
Alternatively, device identification can be media access control (Media Access Control, MAC) address;Or It is equipment identification code (Equipment Identification Code, EIC).
The present embodiment by detection domain name whether with designated domain name before, whether detection terminal tests terminal so that nothing Line access device, without being detected to the domain name in access device, saves the money of terminal when terminal is not test terminal Source.
Alternatively, after test equipment receives the network service request of terminal transmission, by radio reception device to end End sends preassembled safety certificate, so as to which the security for terminal-pair test equipment is verified.
Correspondingly, radio reception device receives the safety certificate that test equipment is sent;Radio reception device is by safety certificate Sending to terminal, terminal receives the safety certificate, and the security of test equipment is verified according to the safety certificate, and Test equipment is accessed by radio reception device when verification passes through.
The safety certificate that test equipment is sent is identical with the safety certificate in network server device.
Terminal verifies according to safety certificate to the security of test equipment, includes but is not limited to:Detect safety certificate It is whether expired;And/or whether detection safety certificate is default version.
The present embodiment by installing safety certificate in a test device so that test equipment can disguise oneself as first network clothes Equipment of being engaged in is the network service that terminal provides, and both ensure that terminal can normally access the network service of test equipment offer, again The security during network service of terminal access test equipment offer is provided.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.It is real for disclosure device The details not disclosed in example is applied, refer to embodiments of the present disclosure.
Fig. 5 is a kind of block diagram of operation performs device according to an exemplary embodiment.The device, which has, to be realized The function of method example is stated, the function can be realized by hardware, and corresponding software can also be performed by hardware and is realized.The device Applied in first terminal equipment, the device can include:Acquisition module 510, the sending module of redirection module 520 and first 530。
Acquisition module 510, it is configured as obtaining the access request that terminal is sent, the access request please including the terminal The domain name for the network service asked;
Redirection module 520, it is configured as when domain name is the designated domain name of the network service of test equipment test, The radio reception device is redirected to the first device address according to the corresponding relation of storage, and the corresponding relation is used for by described in First device address is revised as in device address corresponding to designated domain name by the second device address, and second device address is The address of the network server device of the network service is provided;
First sending module 530, it is configured as sending first device address to the terminal, first equipment Location is used to access the test equipment by the radio reception device for the terminal.
Alternatively, the redirection module, it is additionally configured to, when the device identification is designated equipment mark, perform institute State when domain name is the designated domain name of the network service of test equipment test, the radio reception device is according to pair of storage The step of being redirected to the first device address should be related to;
Wherein, the designated equipment mark is to test the device identification of terminal, and the test terminal refers to be accessed described The terminal of test equipment.
Alternatively, described device also includes:First receiving module and the second sending module.
First receiving module, it is configured as receiving the safety certificate that the test equipment is sent, the safety certificate is advance In the test equipment;
Second sending module, it is configured as sending the safety certificate to the terminal, the safety certificate is used to supply The security of test equipment is verified described in the terminal-pair, and is accessed when verification passes through by the radio reception device The test equipment.
Alternatively, the safety certificate that the test equipment is sent and the safe-conduct in the first network service equipment Book is identical.
Alternatively, described device also includes:Second receiving module and the 3rd sending module.
Second receiving module, it is configured as receiving the network service request that the terminal is sent, the network service request Including first device address;
3rd sending module, it is configured as, according to first device address, the network service request being sent to institute State test equipment.
Alternatively, described device also includes:4th sending module, the 3rd receiving module and the 5th sending module.
4th sending module, it is configured as when domain name is not the designated domain name, to domain name system DNS server Domain name is sent, the 3rd device address as corresponding to the dns server determines domain name, the 3rd device address is The address of other network server devices of network service corresponding to domain name is provided;
3rd receiving module, it is configured as receiving the 3rd device address;
5th sending module, it is configured as sending the 3rd device address to the terminal, the 3rd equipment Location is used to access other network server devices by the radio reception device for the terminal.
It should be noted is that above-described embodiment provide device when realizing its function, only with above-mentioned each function The division progress of module for example, in practical application, can according to be actually needed and by above-mentioned function distribution by different work( Energy module is completed, i.e., the content structure of equipment is divided into different functional modules, to complete whole described above or portion Divide function.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The exemplary embodiment of the disclosure one additionally provides a kind of operation performs device, can realize the access that the disclosure provides The method of test equipment, the device are used in radio reception device, and the device includes processor, is deposited with what the processor was connected Reservoir, and the programmed instruction being stored on the memory, following step is realized when the computing device described program instructs Suddenly:
Radio reception device obtains the access request that terminal is sent, and the access request includes the network of the terminal request The domain name of service;
When being the designated domain name of the network service of test equipment test in domain name, the radio reception device is according to depositing The corresponding relation of storage is redirected to the first device address, and the corresponding relation is used for device address corresponding to the designated domain name First device address is revised as by the second device address, second device address is to provide the network of the network service The address of service equipment;
The radio reception device sends first device address to the terminal, and first device address is used to supply The terminal accesses the test equipment by the radio reception device.
The exemplary embodiment of the disclosure one additionally provides a kind of computer-readable medium, is stored thereon with programmed instruction, institute State the method that the access test equipment that above-mentioned each embodiment of the method provides is realized when programmed instruction is executed by processor.
Fig. 6 is refer to, the structural representation of the radio reception device provided it illustrates an illustrative embodiment of the invention Figure.The radio reception device 600 includes:Processor 611, communication bus 612, memory 613.
Processor 611 can include one or more than one CPU (English:Central Processing Unit, abbreviation:CPU).
Memory 613 is connected by communication bus 612 with processor 611.
Memory 613 is instructed for storage program, and the programmed instruction is performed by processor 611 to realize above-mentioned each method The method for the access test equipment that embodiment provides.
Alternatively, radio reception device 600 also includes communication interface 614.Communication interface 614 passes through bus 612 and processing Device 611 is connected.
Alternatively, memory 613 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static to access memory (SRAM) at any time, Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Communication interface 614 can include wired network interface, such as Ethernet interface, can also be connect comprising wireless network Mouthful.The communication interface 614 be used for receive superior/inferior equipment transmission packet, and/or, forward the packet to higher level/under Level equipment.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only by appended claim.

Claims (15)

  1. A kind of 1. method for accessing test equipment, it is characterised in that methods described includes:
    Radio reception device obtains the access request that terminal is sent, and the access request includes the network service of the terminal request Domain name;
    When being the designated domain name of the network service of test equipment test in domain name, the radio reception device is according to storage Corresponding relation is redirected to the first device address, and the corresponding relation is used for device address corresponding to the designated domain name by the First device address is revised as in two device addresses, and second device address is to provide the network service of the network service The address of equipment;
    The radio reception device sends first device address to the terminal, and first device address is used for described in confession Terminal accesses the test equipment by the radio reception device.
  2. 2. according to the method for claim 1, it is characterised in that methods described also includes:
    When the device identification is designated equipment mark, it in domain name is that test is set that the radio reception device, which performs described, During the designated domain name of the network service of standby test, the radio reception device is redirected to first according to the corresponding relation of storage and set The step of standby address;
    Wherein, the designated equipment mark is to test the device identification of terminal, and the test terminal refers to the test to be accessed The terminal of equipment.
  3. 3. according to the method for claim 1, it is characterised in that methods described also includes:
    The radio reception device receives the safety certificate that the test equipment is sent, and the safety certificate is pre-installed in described In test equipment;
    The radio reception device sends the safety certificate to the terminal, and the safety certificate is used to supply the terminal-pair The security of the test equipment is verified, and is accessed the test by the radio reception device when verification passes through and set It is standby.
  4. 4. according to the method for claim 3, it is characterised in that the safety certificate that the test equipment is sent with it is described Safety certificate in network server device is identical.
  5. 5. method according to any one of claims 1 to 4, it is characterised in that methods described also includes:
    The radio reception device receives the network service request that the terminal is sent, and the network service request includes described the One device address;
    The network service request is sent to the test and set according to first device address by the radio reception device It is standby.
  6. 6. method according to any one of claims 1 to 4, it is characterised in that methods described also includes:
    When domain name is not the designated domain name, described in the radio reception device to domain name system DNS server transmission Domain name, the 3rd device address as corresponding to the dns server determines domain name, the 3rd device address are to provide described The address of other network server devices of network service corresponding to domain name;
    The radio reception device receives the 3rd device address;
    The radio reception device sends the 3rd device address to the terminal, and the 3rd device address is used to supply institute State terminal and other network server devices are accessed by the radio reception device.
  7. 7. a kind of device for accessing test equipment, it is characterised in that described device includes:
    Acquisition module, it is configured as obtaining the access request that terminal is sent, the access request includes the net of the terminal request The domain name of network service;
    Redirection module, it is configured as when domain name is the designated domain name of the network service of test equipment test, according to depositing The corresponding relation of storage is redirected to the first device address, and the corresponding relation is used for device address corresponding to the designated domain name First device address is revised as by the second device address, second device address is to provide the network of the network service The address of service equipment;
    First sending module, it is configured as sending first device address to the terminal, first device address is used for The test equipment is accessed by the radio reception device for the terminal.
  8. 8. device according to claim 7, it is characterised in that described device also includes:
    The redirection module, it is additionally configured to, when the device identification is designated equipment mark, perform described in the domain When name is the designated domain name of the network service of test equipment test, the first device address is redirected to according to the corresponding relation of storage The step of;
    Wherein, the designated equipment mark is to test the device identification of terminal, and the test terminal refers to the test to be accessed The terminal of equipment.
  9. 9. device according to claim 7, it is characterised in that described device also includes:
    First receiving module, it is configured as receiving the safety certificate that the test equipment is sent, the safety certificate is installed in advance In the test equipment;
    Second sending module, it is configured as sending the safety certificate to the terminal, the safety certificate is for described in confession The security of test equipment described in terminal-pair is verified, and when verification passes through by described in radio reception device access Test equipment.
  10. 10. device according to claim 9, it is characterised in that the safety certificate and institute that the test equipment is sent The safety certificate stated in network server device is identical.
  11. 11. according to any described device of claim 7 to 10, it is characterised in that described device also includes:
    Second receiving module, it is configured as receiving the network service request that the terminal is sent, the network service request includes First device address;
    3rd sending module, it is configured as, according to first device address, the network service request being sent to the survey Try equipment.
  12. 12. according to any described device of claim 7 to 10, it is characterised in that described device also includes:
    4th sending module, it is configured as when domain name is not the designated domain name, is sent to domain name system DNS server Domain name, the 3rd device address as corresponding to the dns server determines domain name, the 3rd device address are to provide The address of other network server devices of network service corresponding to domain name;
    3rd receiving module, it is configured as receiving the 3rd device address;
    5th sending module, it is configured as sending the 3rd device address to the terminal, the 3rd device address is used Other network server devices are accessed in supplying the terminal to pass through the radio reception device.
  13. 13. a kind of system for accessing test equipment, it is characterised in that the system includes:Terminal, radio reception device and test Equipment;
    The terminal is used to send access request to the radio reception device;
    The radio reception device includes any described device of claim 7 to 12;
    Whether the test equipment is supported to run in the terminal for test network service, and the test equipment is provided with Full certificate.
  14. 14. a kind of device for accessing test equipment, it is characterised in that described device includes processor;It is connected with the processor Memory;And the programmed instruction on the memory is stored in, realized such as when the computing device described program instructs The method of any described access test equipment of claim 1 to 6.
  15. 15. a kind of computer-readable medium, it is characterised in that be stored thereon with programmed instruction, described program is instructed by processor The method that the access test equipment as described in claim 1 to 6 is any is realized during execution.
CN201710729285.6A 2017-08-23 2017-08-23 Method, device and system for accessing test equipment Active CN107566211B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710729285.6A CN107566211B (en) 2017-08-23 2017-08-23 Method, device and system for accessing test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710729285.6A CN107566211B (en) 2017-08-23 2017-08-23 Method, device and system for accessing test equipment

Publications (2)

Publication Number Publication Date
CN107566211A true CN107566211A (en) 2018-01-09
CN107566211B CN107566211B (en) 2020-10-09

Family

ID=60976645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710729285.6A Active CN107566211B (en) 2017-08-23 2017-08-23 Method, device and system for accessing test equipment

Country Status (1)

Country Link
CN (1) CN107566211B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371638A (en) * 2020-02-18 2020-07-03 深圳市晨北科技有限公司 Intelligent equipment testing method and device, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095865A (en) * 2013-02-21 2013-05-08 无锡豪居智能科技有限公司 Intelligent main controlling system of internet of things based on multiple controlling modes
CN103581213A (en) * 2012-07-19 2014-02-12 阿里巴巴集团控股有限公司 Shared Hosts file application method, equipment and system
CN103973704A (en) * 2014-05-23 2014-08-06 北京奇虎科技有限公司 Domain name resolution method, device and system based on WIFI device
US20150271132A1 (en) * 2012-09-17 2015-09-24 Netsweeper Inc. Network address and hostname mapping in policy service
CN105391811A (en) * 2014-08-29 2016-03-09 腾讯科技(深圳)有限公司 DNS (domain name resolution) method, access method for application server, and terminal
CN105430108A (en) * 2014-08-25 2016-03-23 腾讯科技(深圳)有限公司 Test environment accessing method and proxy server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581213A (en) * 2012-07-19 2014-02-12 阿里巴巴集团控股有限公司 Shared Hosts file application method, equipment and system
US20150271132A1 (en) * 2012-09-17 2015-09-24 Netsweeper Inc. Network address and hostname mapping in policy service
CN103095865A (en) * 2013-02-21 2013-05-08 无锡豪居智能科技有限公司 Intelligent main controlling system of internet of things based on multiple controlling modes
CN103973704A (en) * 2014-05-23 2014-08-06 北京奇虎科技有限公司 Domain name resolution method, device and system based on WIFI device
CN105430108A (en) * 2014-08-25 2016-03-23 腾讯科技(深圳)有限公司 Test environment accessing method and proxy server
CN105391811A (en) * 2014-08-29 2016-03-09 腾讯科技(深圳)有限公司 DNS (domain name resolution) method, access method for application server, and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371638A (en) * 2020-02-18 2020-07-03 深圳市晨北科技有限公司 Intelligent equipment testing method and device, server and storage medium

Also Published As

Publication number Publication date
CN107566211B (en) 2020-10-09

Similar Documents

Publication Publication Date Title
US9967366B2 (en) Internet of things (IoT) API platform
CN104519050B (en) Login method and login system
US8122130B2 (en) Access control system and method for wireless application provisioning
JP4938128B2 (en) A method for managing and managing communications between an electronic token and a remote web server
US8028089B2 (en) On-deck detection for a web site
CN108270882A (en) The analysis method and device of domain name, storage medium, electronic device
CN104333548B (en) The method and system of local service are accessed in https webpages
CN104735066A (en) Single sign-on method, device and system oriented to web page applications
CN109586969A (en) Content distributing network disaster recovery method, device, computer equipment and storage medium
US20140150055A1 (en) Data reference system and application authentication method
CN104394133A (en) Login method and login system
CN106506503B (en) System and method for promoting uniform user terminal behaviors of B/S and C/S mixed architecture
CN102934101A (en) Transparent access mechanism for local and remote data
CN104158818A (en) Single sign-on method and system
CN104079683B (en) A kind of authoritative domain name server directly in response to domain name analytic method and system
CN104836812A (en) Portal authentication method, device and system
CN106686038A (en) Method and device for calling cloud desktop
CN109819033A (en) A kind of resource file loading method and system
CN108259457A (en) A kind of WEB authentication methods and device
US11395139B1 (en) Network profile anti-spoofing on wireless gateways
CN101800758B (en) Mobile terminal network visiting method, system and gateway
CN113239308A (en) Page access method, device, equipment and storage medium
CN107566211A (en) Access the method, apparatus and system of test equipment
US8996607B1 (en) Identity-based casting of network addresses
CN111935092A (en) Information interaction method and device based on third-party application and electronic equipment

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