Disclosure of Invention
In view of the above technical problems, an embodiment of the present specification provides a method and an apparatus for detecting a playback device, and a technical scheme is as follows:
according to a first aspect of embodiments of the present specification, there is provided a playback device detection method, including:
the method comprises the steps that a user client determines target equipment and a detection type which are specified by detection operation triggering under the condition that the user client receives the detection operation triggering, and determines a target detection strategy corresponding to the detection operation triggering according to a preset corresponding relation between the detection type and the detection strategy; the detection strategy comprises the following steps: at least one play material for detection and at least one hardware index to be detected;
the user client sends a detection instruction for specifying the target equipment and the target detection strategy to a server;
after receiving a detection instruction sent by a user client, the server informs the device client corresponding to the target device of carrying out playing device detection according to the target detection strategy;
after receiving an equipment detection notice of a server, an equipment client acquires data of hardware indexes in the target detection strategy and plays playing materials in the target detection strategy through the target equipment;
the equipment client returns the collected hardware index data and the material playing record data to the server;
after receiving data returned by the equipment client, the server sends a detection result notification to the user client according to the received data;
and after receiving the detection result notification sent by the server, the user client determines the detection result of the target equipment according to the notification.
According to a second aspect of the embodiments of the present specification, there is provided a playback device detection method, applied to a user client, the method including:
under the condition of receiving detection operation trigger, determining target equipment and a detection type which are specified by the detection operation trigger, and determining a target detection strategy corresponding to the detection operation trigger according to a preset corresponding relation between the detection type and the detection strategy; the detection strategy comprises the following steps: at least one play material for detection and at least one hardware index to be detected;
sending a detection instruction for designating the target equipment and the target detection strategy to a server, so that the server informs an equipment client corresponding to the target equipment to detect the playing equipment according to the target detection strategy according to the detection instruction;
after receiving a detection result notification sent by a server, determining a detection result of the target equipment according to the notification; and the detection result notification is obtained by the server according to the collected hardware index data and the material playing record data returned by the equipment client.
According to a third aspect of the embodiments of the present specification, there is provided a method for detecting a playback device, which is applied to a server, the method including:
after receiving a detection instruction sent by a user client, determining target equipment and a target detection strategy in the instruction;
informing an equipment client corresponding to the target equipment to carry out playing equipment detection according to the target detection strategy so that the equipment client acquires data of hardware indexes in the target detection strategy and plays playing materials in the target detection strategy through the target equipment;
and after receiving the data returned by the equipment client, sending a detection result notification to the user client according to the received data, so that the user client determines the detection result of the target equipment according to the notification.
According to a fourth aspect of the embodiments of the present specification, there is provided a playback device detection method, applied to a device client, the method including:
receiving a device detection notification sent by a server, and determining a target detection policy in the notification, wherein the target detection policy comprises: at least one play material for detection and at least one hardware index to be detected;
collecting data of hardware indexes in the target detection strategy, and playing the playing materials in the target detection strategy through the target equipment;
and returning the collected hardware index data and the material playing record data to the server.
According to a fifth aspect of embodiments herein, there is provided a playback device detection system, including: the system comprises a user client, an equipment client and a server;
the method comprises the steps that a user client determines target equipment and a detection type which are specified by detection operation triggering under the condition that the user client receives the detection operation triggering, and determines a target detection strategy corresponding to the detection operation triggering according to a preset corresponding relation between the detection type and the detection strategy; the detection strategy comprises the following steps: at least one play material for detection and at least one hardware index to be detected;
the user client sends a detection instruction for specifying the target equipment and the target detection strategy to a server;
after receiving a detection instruction sent by a user client, the server informs the device client corresponding to the target device of carrying out playing device detection according to the target detection strategy;
after receiving an equipment detection notice of a server, an equipment client acquires data of hardware indexes in the target detection strategy and plays playing materials in the target detection strategy through the target equipment;
the equipment client returns the collected hardware index data and the material playing record data to the server;
after receiving data returned by the equipment client, the server sends a detection result notification to the user client according to the received data;
and after receiving the detection result notification sent by the server, the user client determines the detection result of the target equipment according to the notification.
According to a sixth aspect of the embodiments of the present specification, there is provided a playback device detection apparatus, applied to a user client, the apparatus including:
the system comprises a strategy obtaining module, a target detection module and a target detection module, wherein the strategy obtaining module is used for determining a target device and a detection type which are appointed by detection operation triggering under the condition of receiving the detection operation triggering, and determining a target detection strategy corresponding to the detection operation triggering according to a preset corresponding relation between the detection type and the detection strategy; the detection strategy comprises the following steps: at least one play material for detection and at least one hardware index to be detected;
the instruction sending module is used for sending a detection instruction for designating the target equipment and the target detection strategy to the server so that the server informs an equipment client corresponding to the target equipment to detect the playing equipment according to the target detection strategy according to the detection instruction;
the result obtaining module is used for determining the detection result of the target equipment according to the notification after receiving the detection result notification sent by the server; and the detection result notification is obtained by the server according to the collected hardware index data and the material playing record data returned by the equipment client.
According to a seventh aspect of the embodiments of the present specification, there is provided a playback device detection apparatus, applied to a server, the apparatus including:
the strategy determining module is used for determining target equipment and a target detection strategy in a detection instruction sent by a user client after receiving the detection instruction;
the detection notification module is used for notifying an equipment client corresponding to the target equipment to perform playing equipment detection according to the target detection strategy so that the equipment client acquires data of hardware indexes in the target detection strategy and plays playing materials in the target detection strategy through the target equipment;
and the result sending module is used for sending a detection result notification to the user client according to the received data after receiving the data returned by the device client, so that the user client determines the detection result of the target device according to the notification.
According to an eighth aspect of the embodiments of the present specification, there is provided a playback device detection apparatus, applied to a device client, the apparatus including:
a notification receiving module, configured to receive a device detection notification sent by a server, and determine a target detection policy in the notification, where the target detection policy includes: at least one play material for detection and at least one hardware index to be detected;
the data acquisition module is used for acquiring data of hardware indexes in the target detection strategy and playing the playing materials in the target detection strategy through the target equipment;
and the data sending module is used for returning the collected hardware index data and the material playing record data to the server.
According to the technical scheme provided by the embodiment of the specification, a tester can be remotely connected to the server through the user client, so that the server and the equipment client complete playing of specified advertising materials according to a customized detection strategy, play record data such as a play log of the target equipment and response of whether the advertising materials are played normally are obtained, and hardware index data of the target equipment are collected, so that the tester can detect the playing condition of the target equipment on the target materials without confirming the target equipment on site, and more efficient and convenient equipment detection is realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of embodiments of the invention.
In addition, any one of the embodiments in the present specification is not required to achieve all of the effects described above.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present specification, the technical solutions in the embodiments of the present specification will be described in detail below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of protection.
To solve the problems in the prior art, an embodiment of the present disclosure provides a playback device detection scheme, where a corresponding playback device detection process relates to a user client, a device client, and a server, and a corresponding system architecture diagram is shown in fig. 1 and includes a user client device 10, a device client device (i.e., a playback device) 20, and a server device 30.
The user client device may be a terminal device such as a computer, a mobile phone, or a dedicated testing device used by a detection person, and the user client may be an application installed in the terminal device. The target device is an advertising material playing device to be detected, such as an electronic screen or a sound box device at a station, an outer wall of a building, a staircase and the like, and the device client can be an application program installed in the playing device. The specific form of the server device may be a specific server or a server cluster.
The user client device 10, the device client device 20, and the server device 30 may be communicatively connected through various types of networks, which is not limited in this specification.
Fig. 2 is an interaction flowchart of a playback device detection method provided in an embodiment of the present specification, which may specifically include the following steps:
s201, a user client determines a target device and a detection type specified by detection operation triggering under the condition of receiving the detection operation triggering, and determines a target detection strategy corresponding to the detection operation triggering according to a preset corresponding relation between the detection type and the detection strategy; the detection strategy comprises the following steps: at least one play material for detection and at least one hardware index to be detected;
in the solution provided in the embodiment of the present specification, a detection person may send a detection operation trigger to a user client by operating a device in which the user client is installed, and the trigger may be triggered manually by the detection person or automatically by setting. For example, after the playing device is installed, a detection person may send a detection operation trigger to the user client, so as to start detecting the playing device; as another example, a periodic check may be set for the playback device, such as setting a certain time of day to automatically check.
In the embodiment of the present specification, when detecting the playback device, the playback device may be used to play the material, so as to determine whether an abnormal situation exists according to the playback record data, and therefore, a playback material library may be preset, where the playback material library includes a plurality of materials prepared in advance for playback during detection, and different types of playback materials cover possible use situations of the playback device in an actual use process, for example, the playback material library may include materials of different formats, sizes, resolutions, and the like.
In addition, hardware of the playback device may also be detected, for example, frequency, voltage, and the like of the hardware such as a CPU, a motherboard, and a memory, or a current hardware environment such as temperature and humidity, and whether an abnormal condition exists may be determined according to data of the hardware index.
And in the detection operation trigger received by the user client, the target equipment and the detection type of the detection are specified. The specific form of the detection type is not limited in the embodiments of the present specification, and those skilled in the art can set the detection type according to actual requirements.
In a specific implementation of the embodiments of the present specification, the detection type may include a device type of the target device. Correspondingly, when determining the target detection strategy corresponding to the detection operation trigger according to the preset corresponding relationship between the detection type and the detection strategy, a plurality of preset playing materials (such as the playing material library) for detection and a plurality of hardware indexes to be detected may be first determined, and at least one playing material capable of being used for detecting the target device and at least one hardware index capable of being detected by the target device may be determined according to the device type in the detection type.
For example, if the type of the playback device is an electronic display device without an external speaker, it may be determined that the playback material in the picture format that is used for detecting the electronic display device in the preset playback material library is available, and it may be determined that the hardware index that can be detected by the electronic display device is an index such as voltage and frequency of the CPU, the motherboard, the memory, and the graphics card.
After the playing material and the hardware index are determined, a target detection strategy corresponding to the detection operation trigger can be formed based on the determined playing material and the hardware index.
In another specific implementation manner of the embodiments of the present specification, the detection type may include a scene type, which is used to indicate a scene in which the current detection is located, for example, the current detection is a detection after the device is installed, or a detection of a device playing daily, and the scene type may also be described by a scene feature value.
Correspondingly, when the target detection policy corresponding to the detection operation trigger is determined according to the preset corresponding relationship between the detection type and the detection policy, a plurality of preset scene characteristics, such as time characteristics, cycle characteristics, and the like, may be first determined, and then the scene characteristic value specified by the current detection operation trigger is obtained according to the determined scene characteristics. For example, a periodic characteristic value of 1, representing periodic detection, and a temporal characteristic value of 6 am per day; for another example, a periodic characteristic value of 0 represents aperiodic detection, and a time characteristic value is 1 minute later; and so on.
In addition, a plurality of preset playing materials for detection and a plurality of hardware indexes to be detected are determined, and then at least one playing material and at least one hardware index are determined according to the preset corresponding relation between each scene characteristic value and each playing material and hardware index.
For example, the scene types described by the plurality of scene features such as the periodic feature, the time feature, and the like may include post-installation detection and daily periodic detection of the device, and if it is determined that the scene feature value is the daily periodic detection, the generally played material is an advertisement material played by the device in daily, that is, as long as the device plays the specific advertisement material without an abnormal condition, the specific advertisement material may be determined as the played material, and a hardware index related to the playing of the specific advertisement material is determined; and if the device is detected after installation by obtaining the scene characteristic value, determining one or more playing materials from a preset material library.
And forming a target detection strategy corresponding to the detection operation trigger based on the determined playing materials and the hardware indexes.
In another specific implementation manner of the embodiment of this specification, abnormal situations occurring during the detection and use of the playback device may be collected, and described by different abnormal types, and corresponding playback materials and hardware indicators that can detect the abnormal situations are set for the different abnormal types, for example, if a certain abnormal situation is that a playback video is silent, corresponding hardware indicators such as playback materials with sound and the voltage of a sound card may be set for detecting whether the abnormal situation of the type exists in the playback device.
Therefore, the detection type may include an exception type, which is used to indicate an exception that the target device may have, and a corresponding relationship exists between the detection type and a tag of the preset playback material and the hardware index, where the tag is used to indicate a detectable exception type. Correspondingly, when the target detection strategy corresponding to the detection operation trigger is determined according to the preset corresponding relationship between the detection type and the detection strategy, a plurality of preset playing materials for detection and a plurality of hardware indexes to be detected can be firstly determined, labels of the playing materials and the hardware indexes are obtained, and then the playing materials and the hardware indexes corresponding to the abnormal type included in the detection type are determined according to the obtained labels, so that the target detection strategy corresponding to the detection operation trigger is formed based on the determined playing materials and the hardware indexes.
It should be understood that the specific form of the detection type in the embodiment of the present specification is not limited to the above three types, and correspondingly, the target detection policy corresponding to the detection operation trigger is determined according to the preset corresponding relationship between the detection type and the detection policy, and is also not limited to the above three manners.
For example, the detection type may also be a first type, a second type, a third type, and the like, and respectively correspond to a first detection strategy, a second detection strategy, a third detection strategy, and the like, where each detection strategy includes one or more broadcast materials and hardware indicators, and after the detection type specified by the detection trigger operation is determined, the corresponding detection strategy and the broadcast materials and hardware indicators included in the strategy may be determined.
For example, when the detection policy is determined, a specific material may be determined to be played or a material may be selected from a material library according to the scene type, if the specific material is selected from the material library, a playing material and a hardware index that can be used for detecting the target device may be further determined according to the device type, and the exception type may be determined according to an exception condition that may exist in the device of the type, so as to further screen the playing material and the hardware index.
In addition, the detection strategy may further include, in addition to the broadcast material and the hardware index, a relationship between acquisition time of the hardware index and broadcast time of the broadcast material, which is used to indicate that the hardware index is acquired before, during and/or after the broadcast material is broadcast, for example, the temperature, frequency, etc. of hardware such as a CPU, a motherboard, etc. during the broadcast process of the broadcast material are acquired.
S202, the user client sends a detection instruction for designating the target equipment and the target detection strategy to a server;
s203, after receiving a detection instruction sent by a user client, the server informs the device client corresponding to the target device to detect the playing device according to the target detection strategy;
s204, after receiving an equipment detection notice of a server, an equipment client acquires data of hardware indexes in the target detection strategy and plays the playing materials in the target detection strategy through the target equipment;
s205, the equipment client returns the collected hardware index data and the material playing record data to the server;
for convenience of description, S204 and S205 are explained in combination.
After receiving the device detection notification from the server, the device client may determine the playing material to be played and the hardware index data to be collected according to the target detection policy, or further, as described above, may determine a relationship between the collection time of the hardware index and the playing time of the playing material, that is, determine that the hardware index is collected before, during, and/or after the playing material is played.
For example, data such as temperature and frequency of hardware such as a CPU and a motherboard may be collected during the material playing process, and temperature changes of the hardware such as the CPU and the motherboard may be continuously collected within a period of time (e.g., 5 minutes) after the material playing is received, or data of each hardware index may be continuously collected during the daily use of the device, and the data and the material playing data are sent to the server after the detection.
In addition, in the embodiments of the present specification, a specific form of the material playing record data is not limited, for example, the material playing record data may be recorded in detail in a form of a playing log, or may be a response of whether the material playing record data is played normally, and the like, and those skilled in the art may flexibly set the material playing record data according to actual requirements.
S206, after receiving the data returned by the equipment client, the server sends a detection result notification to the user client according to the received data;
and S207, after receiving the detection result notification sent by the server, the user client determines the detection result of the target device according to the notification.
For convenience of description, S206 and 207 are explained in combination.
After receiving the data returned by the device client, the server can determine whether the detected device has an abnormal condition according to the received data, and notify the user client. The data may also be directly forwarded to the user client, and the user client or a detector determines whether an abnormal condition exists according to data analysis, which is not limited in the embodiments of the present specification.
In addition, as described above, after receiving data returned by the device client, if the server determines whether the target device detects an abnormal condition according to the received data, the server may also determine, when it is determined that an abnormal condition is detected, a play item that can be used for detecting the abnormal condition from among a plurality of preset play items for detection; and determining the hardware index of data abnormality in the abnormal condition from a plurality of preset hardware indexes to be detected. Adding a label corresponding to the abnormal condition to the determined playing material, wherein the label is used for indicating that the playing material can be used for detecting the abnormal condition; and adding a label corresponding to the abnormal condition to the determined hardware index, wherein the label is used for indicating that the hardware index needs to be detected under the abnormal condition.
By adding the label corresponding to the abnormal condition for the playing material and the hardware index, when the subsequent equipment is detected, the playing material and the hardware index corresponding to the detection operation trigger can be determined according to the abnormal type included in the detection type.
In order to more clearly describe the playback device detection scheme in the embodiment of the present specification, the following describes the playback device detection method executed by the user client, the device client, and the server, from a single-side perspective, respectively:
fig. 3 is a flowchart illustrating a method for detecting a playback device executed by a user client, which may specifically include the following steps:
s301, under the condition of receiving detection operation trigger, determining target equipment and a detection type specified by the detection operation trigger, and determining a target detection strategy corresponding to the detection operation trigger according to a preset corresponding relation between the detection type and the detection strategy; the detection strategy comprises the following steps: at least one play material for detection and at least one hardware index to be detected;
s302, sending a detection instruction for designating the target equipment and the target detection strategy to a server, so that the server informs an equipment client corresponding to the target equipment to detect the playing equipment according to the target detection strategy according to the detection instruction;
s303, after receiving a detection result notification sent by a server, determining a detection result of the target device according to the notification; and the detection result notification is obtained by the server according to the collected hardware index data and the material playing record data returned by the equipment client.
Fig. 4 is a flowchart illustrating a method for detecting a playback device executed by a server, which may specifically include the following steps:
s401, after receiving a detection instruction sent by a user client, determining target equipment and a target detection strategy in the instruction;
s402, informing the device client corresponding to the target device to perform playing device detection according to the target detection strategy, so that the device client acquires data of hardware indexes in the target detection strategy and plays playing materials in the target detection strategy through the target device;
and S403, after receiving the data returned by the device client, sending a detection result notification to the user client according to the received data, so that the user client determines the detection result of the target device according to the notification.
Fig. 5 is a flowchart illustrating a method for detecting a playback device executed by a device client, which may specifically include the following steps:
s501, receiving a device detection notification sent by a server, and determining a target detection policy in the notification, wherein the target detection policy comprises: at least one play material for detection and at least one hardware index to be detected;
s502, collecting data of hardware indexes in the target detection strategy, and playing the playing materials in the target detection strategy through the target equipment;
and S503, returning the collected hardware index data and the material playing record data to the server.
For details of the single-side execution method of the user client, the device client, and the server, reference may be made to the description of the foregoing embodiment, which is not described herein again.
The following describes a playback device detection method provided in this specification with reference to a more specific example.
After the administrator of a certain playing device completes device installation, the administrator can bind the playing device through the detection device (assumed to be a tablet computer) of the installed user client, and perform detection operation before online after the playing device is installed.
After receiving the detection operation trigger, the user client determines that the bound playing equipment is the target equipment, determines the equipment type according to the equipment model input during binding, assumes the equipment is the electronic display equipment for playing the audio video advertisement, determines the playing material from a preset playing material library for single detection according to the scene type, and determines a plurality of playing materials and hardware indexes corresponding to the equipment type, the scene type and the abnormal type by black screen, stuck, no sound and the like.
The preset playing material library can store a plurality of picture, sound and video advertisement materials with different sizes (duration), formats, resolutions and the like in advance, so that the use conditions of various playing devices in the actual application process are exhausted as much as possible.
After determining the playing material and hardware indexes and forming a detection strategy, the user client sends a detection instruction for specifying the target equipment and the target detection strategy to the server, and the server receives the detection instruction and informs the equipment client corresponding to the target equipment to detect the playing equipment according to the target detection strategy. The equipment client receives the equipment detection notice of the server, collects the data of the hardware index in the target detection strategy, plays the playing material in the target detection strategy through the target equipment, records the playing log, and sends the collected data of the hardware index and the playing log of the material to the server. And after receiving the data returned by the equipment client, the server checks the data, determines whether the target equipment has abnormal conditions according to whether the abnormal data exists, and sends the result to the user client for the equipment management personnel to check.
By applying the scheme, the test manager of the advertisement material playing equipment can be remotely connected to the server through the user client, so that the server and the equipment client can complete playing of the specified advertisement material according to a customized detection strategy, play record data such as a play log of the target equipment and response of whether the advertisement material is played normally are obtained, and hardware index data of the target equipment are collected, so that the test personnel does not need to confirm on site of the equipment, the playing condition of the target equipment on the target material can be detected, and more efficient and convenient equipment detection is realized.
Corresponding to the foregoing method embodiment, an embodiment of the present specification further provides a playback device detection apparatus, which is applied to a user client, and as shown in fig. 6, the apparatus may include:
a policy obtaining module 110, configured to determine, when a detection operation trigger is received, a target device and a detection type specified by the detection operation trigger, and determine, according to a preset correspondence between the detection type and a detection policy, a target detection policy corresponding to the detection operation trigger; the detection strategy comprises the following steps: at least one play material for detection and at least one hardware index to be detected;
an instruction sending module 120, configured to send a detection instruction specifying the target device and the target detection policy to a server, so that the server notifies a device client corresponding to the target device to perform playback device detection according to the target detection policy according to the detection instruction;
a result obtaining module 130, configured to, after receiving a detection result notification sent by a server, determine a detection result of the target device according to the notification; and the detection result notification is obtained by the server according to the collected hardware index data and the material playing record data returned by the equipment client.
An embodiment of the present specification further provides a playback device detection apparatus, which is applied to a server, and as shown in fig. 7, the apparatus may include:
the policy determining module 210 is configured to determine, after receiving a detection instruction sent by a user client, a target device and a target detection policy in the instruction;
a detection notification module 220, configured to notify an equipment client corresponding to the target equipment to perform playback equipment detection according to the target detection policy, so that the equipment client collects data of hardware indexes in the target detection policy and plays playback materials in the target detection policy through the target equipment;
the result sending module 230 is configured to, after receiving data returned by the device client, send a detection result notification to the user client according to the received data, so that the user client determines the detection result of the target device according to the notification.
An embodiment of the present specification further provides a playback device detection apparatus, which is applied to a device client, and as shown in fig. 8, the apparatus may include:
a notification receiving module 310, configured to receive a device detection notification sent by a server, and determine a target detection policy in the notification, where the target detection policy includes: at least one play material for detection and at least one hardware index to be detected;
a data obtaining module 320, configured to collect data of hardware indexes in the target detection policy, and play the playing material in the target detection policy through the target device;
and the data sending module 330 is configured to return the acquired hardware index data and the playing record data of the material to the server.
The implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
The embodiment of the present specification further provides a computer device, which at least includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the foregoing playback device detection method when executing the program. The method at least comprises the following steps:
a playback device detection method, the method comprising:
the method comprises the steps that a user client determines target equipment and a detection type which are specified by detection operation triggering under the condition that the user client receives the detection operation triggering, and determines a target detection strategy corresponding to the detection operation triggering according to a preset corresponding relation between the detection type and the detection strategy; the detection strategy comprises the following steps: at least one play material for detection and at least one hardware index to be detected;
the user client sends a detection instruction for specifying the target equipment and the target detection strategy to a server;
after receiving a detection instruction sent by a user client, the server informs the device client corresponding to the target device of carrying out playing device detection according to the target detection strategy;
after receiving an equipment detection notice of a server, an equipment client acquires data of hardware indexes in the target detection strategy and plays playing materials in the target detection strategy through the target equipment;
the equipment client returns the collected hardware index data and the material playing record data to the server;
after receiving data returned by the equipment client, the server sends a detection result notification to the user client according to the received data;
and after receiving the detection result notification sent by the server, the user client determines the detection result of the target equipment according to the notification.
Fig. 9 is a schematic diagram illustrating a more specific hardware structure of a computing device according to an embodiment of the present disclosure, where the computing device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 1050 includes a path that transfers information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Embodiments of the present specification further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for detecting a playback device is implemented. The method at least comprises the following steps:
a playback device detection method, the method comprising:
the method comprises the steps that a user client determines target equipment and a detection type which are specified by detection operation triggering under the condition that the user client receives the detection operation triggering, and determines a target detection strategy corresponding to the detection operation triggering according to a preset corresponding relation between the detection type and the detection strategy; the detection strategy comprises the following steps: at least one play material for detection and at least one hardware index to be detected;
the user client sends a detection instruction for specifying the target equipment and the target detection strategy to a server;
after receiving a detection instruction sent by a user client, the server informs the device client corresponding to the target device of carrying out playing device detection according to the target detection strategy;
after receiving an equipment detection notice of a server, an equipment client acquires data of hardware indexes in the target detection strategy and plays playing materials in the target detection strategy through the target equipment;
the equipment client returns the collected hardware index data and the material playing record data to the server;
after receiving data returned by the equipment client, the server sends a detection result notification to the user client according to the received data;
and after receiving the detection result notification sent by the server, the user client determines the detection result of the target equipment according to the notification.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
From the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present disclosure can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, and the modules described as separate components may or may not be physically separate, and the functions of the modules may be implemented in one or more software and/or hardware when implementing the embodiments of the present disclosure. And part or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is only a specific embodiment of the embodiments of the present disclosure, and it should be noted that, for those skilled in the art, a plurality of modifications and decorations can be made without departing from the principle of the embodiments of the present disclosure, and these modifications and decorations should also be regarded as the protection scope of the embodiments of the present disclosure.