CN107171859B - Encoding method, decoding method, server and terminal equipment - Google Patents
Encoding method, decoding method, server and terminal equipment Download PDFInfo
- Publication number
- CN107171859B CN107171859B CN201710502039.7A CN201710502039A CN107171859B CN 107171859 B CN107171859 B CN 107171859B CN 201710502039 A CN201710502039 A CN 201710502039A CN 107171859 B CN107171859 B CN 107171859B
- Authority
- CN
- China
- Prior art keywords
- target
- error code
- audio signal
- event
- characteristic information
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000005236 sound signal Effects 0.000 claims abstract description 93
- 230000001960 triggered effect Effects 0.000 claims abstract description 16
- 230000003287 optical effect Effects 0.000 claims description 39
- 238000013507 mapping Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000003745 diagnosis Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000002904 solvent Substances 0.000 description 1
- 238000013024 troubleshooting Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
The embodiment of the invention discloses a coding method, which comprises the following steps: detecting a target event, wherein the target event represents an event triggered when a server is in an error operation state; acquiring a target error code corresponding to the target event, wherein the target error code is associated with the target event so that the target event can be identified by using the target error code; coding a target error code corresponding to the target event to obtain an audio signal with target characteristic information, and outputting the audio signal; the target characteristic information is associated with the target error code, so that a terminal device acquiring the audio signal can determine the target error code indicated by the audio signal based on the target characteristic information of the audio signal. The embodiment of the invention also discloses a decoding method, a server and terminal equipment.
Description
Technical Field
The present invention relates to information processing technologies, and in particular, to an encoding method, a decoding method, a server, and a terminal device.
Background
The traditional diagnosis mode for performing fault diagnosis on the server has the problem of single feedback mode, for example, the feedback mode is single and is difficult to identify, and fault points are difficult to identify based on feedback, so that the fault identification difficulty is increased.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide an encoding method, a decoding method, a server, and a terminal device.
The technical scheme of the embodiment of the invention is realized as follows:
a first aspect of an embodiment of the present invention provides an encoding method, where the method includes:
detecting a target event, wherein the target event represents an event triggered when a server is in an error operation state;
acquiring a target error code corresponding to the target event, wherein the target error code is associated with the target event so that the target event can be identified by using the target error code;
coding a target error code corresponding to the target event to obtain an audio signal with target characteristic information, and outputting the audio signal; the target characteristic information is associated with the target error code, so that a terminal device acquiring the audio signal can determine the target error code indicated by the audio signal based on the target characteristic information of the audio signal.
A second aspect of the embodiments of the present invention provides a decoding method, where the method includes:
acquiring an audio signal;
decoding the audio signal to obtain target characteristic information of the audio signal; the target characteristic information is associated with a target error code, and the target error code is an error code associated with a target event triggered when the server is in an error operation state;
and determining the target error code indicated by the audio signal based on the target characteristic information of the audio signal so as to present the error operation state of the server characterized by the target event by using the target error code.
A third aspect of an embodiment of the present invention provides a server, including:
the system comprises a first processor, a second processor and a third processor, wherein the first processor is used for detecting a target event, and the target event represents an event triggered when a server is in an error operation state; acquiring a target error code corresponding to the target event, wherein the target error code is associated with the target event so that the target event can be identified by using the target error code; coding a target error code corresponding to the target event to obtain an audio signal with target characteristic information, wherein the target characteristic information is associated with the target error code, so that a terminal device acquiring the audio signal can determine the target error code indicated by the audio signal based on the target characteristic information of the audio signal;
an audio output component for outputting the audio signal.
A fourth aspect of embodiments of the present invention provides a first computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method applied to a server side.
A fifth aspect of the embodiments of the present invention provides a terminal device, where the terminal device includes:
a receiver for acquiring an audio signal;
the second processor is used for decoding the audio signal to obtain target characteristic information of the audio signal; the target characteristic information is associated with a target error code, and the target error code is an error code associated with a target event triggered when the server is in an error operation state; and determining the target error code indicated by the audio signal based on the target characteristic information of the audio signal so as to present the error operation state of the server characterized by the target event by using the target error code.
A sixth aspect of embodiments of the present invention provides a second computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, is applied to the steps of the method on the terminal device side.
According to the encoding method, the decoding method, the server and the terminal device, the target event can be detected by the server, the target error code corresponding to the target event is obtained, the target error code corresponding to the target event is encoded, and the audio signal is obtained.
Drawings
FIG. 1 is a schematic diagram of an implementation flow of a coding method according to an embodiment of the present invention;
fig. 2 is a schematic view illustrating an interaction flow between a server and a terminal device according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a signal processing flow of a server in an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a signal interaction flow between a server and a terminal device in a specific application according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a server according to an embodiment of the present invention;
fig. 6 is a diagram illustrating a composition result of a terminal device according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Example one
The embodiment provides an encoding method, which may be applied to a server side, or may be applied to a detection system, such as a detection system for troubleshooting a server cluster, where of course, the detection system may operate in a specific server in the server cluster, or may operate in other devices outside the server cluster. The present embodiment is described by taking an application to a server as an example, and specifically, fig. 1 is a schematic flow chart illustrating an implementation of an encoding method according to an embodiment of the present invention; as shown in fig. 1, the method includes:
step 101: the method comprises the steps that a server detects a target event, wherein the target event represents an event triggered when the server is in an error operation state;
in practical application, the server detects all hardware resources aimed at by the server, and when the server is in an error operation state due to the fact that a specific component is detected to be in a fault, a target event is generated, so that maintenance personnel can be reminded to process the fault component in time, and normal operation of the server is guaranteed. Of course, the server may also detect the software resource for which the server is directed, and when a specific software failure is detected, the server is in a faulty operation state, and a target event may also be generated.
Step 102: the server acquires a target error code corresponding to the target event, wherein the target error code is associated with the target event so that the target event can be identified by using the target error code;
in an embodiment, the association of the target error code with the target event may specifically refer to: the target error code has a one-to-one correspondence with the target event, thus facilitating unique indication of the target event by the target error code. Of course, in practical applications, there may not be a one-to-one correspondence, for example, the error codes and the events triggered when the server is in the wrong operation state are in a many-to-one relationship, or in a one-to-many relationship, that is, a plurality of different error codes may correspond to one event, or one error code corresponds to a plurality of different events, at this time, the target event corresponding to the error code may also be determined based on the target error code, which is not limited in this embodiment.
Step 103: the server carries out coding processing on a target error code corresponding to the target event to obtain an audio signal with target characteristic information, wherein the target characteristic information is associated with the target error code;
in an embodiment, the associating the target feature information with the target error code may specifically refer to: the target characteristic information and the target error code have a one-to-one correspondence relationship, so that the target error code can be conveniently identified according to the audio signal with the target characteristic information, and the target event can be further identified. Of course, in practical applications, the characteristic information of one audio signal may not be in a one-to-one correspondence relationship, for example, the characteristic information of one audio signal corresponds to a plurality of different error codes, and thus, the target characteristic information corresponding to the target error code can also be determined based on the correspondence relationship, which is not limited in this embodiment.
In a specific embodiment, the target error code may be encoded in a manner that, specifically, the server obtains feature information of the target error code, determines target feature information based on at least the feature information of the target error code, and encodes the target error code corresponding to the target event based on the target feature information to obtain an audio signal having the target feature information.
In practical applications, the target error code may be a group of numbers, or a group of letters, or a group of code numbers obtained by combining numbers and letters, and in this case, the characteristic information of the target error code may be a characteristic of numbers and/or letters. Accordingly, the feature information of the audio signal may be specifically an audio feature, such as a frequency, etc., that is, the target feature information represents the audio feature.
Further, in order to determine the feature information corresponding to the audio signal based on the target error code, the embodiment further establishes an association relationship between the error code and the feature information of the audio signal, and specifically, the server obtains at least two error codes, where the error codes correspond to events triggered by the server being in an error operation state, associates each error code of the at least two error codes with the feature information of the audio signal, and obtains a mapping table capable of characterizing a mapping relationship between the error codes and the feature information of the audio signal, so that the server can select the target feature information corresponding to the target error code by using the mapping table. Here, the mapping table may specifically characterize a correspondence between the characteristic information of the error code and the characteristic information of the audio signal.
Step 104: the server outputs the audio signal, so that the terminal equipment acquiring the audio signal can determine a target error code indicated by the audio signal based on the target characteristic information of the audio signal.
Correspondingly, the embodiment also provides a decoding method applied to the terminal device, and specifically, as shown in fig. 2, after the server encodes the audio signal and outputs the audio signal, the terminal device acquires the audio signal and decodes the audio signal to obtain the target characteristic information of the audio signal; here, since the target feature information is associated with a target error code, and the target error code is an error code associated with a target event triggered when the server is in an error operation state, the terminal device can determine the target error code indicated by the audio signal based on the target feature information of the audio signal, so that the terminal device can present the error operation state of the server characterized by the target event by using the target error code.
In this way, according to the method of the embodiment of the present invention, a target event is detected by a server, a target error code corresponding to the target event is obtained, and an audio signal is obtained by encoding the target error code corresponding to the target event, where the audio signal has target feature information, and the target feature information is associated with the target error code, so that after the audio signal is output, a receiving end, such as a terminal device side, can determine the target error code based on the target feature information of the audio signal, and further determine the target event based on the target error code, thereby achieving the purpose of identifying the target event based on the audio signal, and therefore, the problems that an existing feedback mode is single and is not easily identified are solved, and a foundation is laid for reducing the difficulty in identifying a fault.
Example two
Based on the method in the first embodiment, the present embodiment provides a trigger condition for acquiring the target error code corresponding to the target event, that is, the server may acquire the target error code corresponding to the target event only when the trigger condition is satisfied; in particular, the amount of the solvent to be used,
the server detects a trigger instruction, and acquires a target error code corresponding to the target event based on the trigger instruction, where the trigger instruction is generated by the server, such as the server is generated based on at least detected indication information indicating the target event, or the trigger instruction is acquired by the server after the terminal device is generated, such as the terminal device is generated based on at least detected indication information indicating the target event and sent to the server.
Further, in a specific embodiment, the indication information is a target light signal; correspondingly, the server detects the trigger instruction, which may specifically be:
the first method is as follows: the server generates a target optical signal used for indicating the target event based on the detected target event, and then generates a trigger instruction based on the target optical signal after the server detects the target optical signal; or,
the second method comprises the following steps: the server generates a target optical signal used for indicating the target event based on the detected target event, and further after the server detects the target optical signal, acquires a trigger instruction based on the target optical signal, wherein the trigger instruction is generated by the terminal device based on at least the detected target optical signal used for indicating the target event.
Or, in another specific embodiment, the indication information is a target optical signal; correspondingly, the server detects a trigger instruction, including:
the server generates a target optical signal used for indicating the target event based on the detected target event, and correspondingly, the terminal equipment transmits a first optical signal meeting a preset rule after detecting the target optical signal;
and after the server detects the first optical signal meeting a preset rule, generating a trigger instruction based on the first optical signal.
A specific application scenario is given below, and the embodiment of the present invention is further explained in detail; as shown in fig. 3, the server is provided with a super input/output chip (SIO), a Micro Control Unit (MCU), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Filter (Filter), an Amplifier (AMP), and a Speaker (Speaker). Here, a large number of error codes may be preset in the EEPROM, and then the MCU is used to encode the error codes to obtain audio signals with different audio characteristics (for example, obtain waveforms with specific frequencies), and the audio signals are integrated into the AMP through the Filter and then sent out through the Speaker. As shown in fig. 4, the server side detects a target event, and then controls a signal lamp, such as a (light emitting diode) LED, to emit light, so as to indicate the target event through the light emission of the LED; correspondingly, after the user of the terminal equipment observes that the LED lamp at the server side emits light, the user controls the flash lamp at the terminal equipment side to emit light, for example, the user controls the flash lamp to emit light through the application program APP, so as to trigger the server to acquire the target error code of the target event; furthermore, after the server senses a flash lamp on the side of the terminal device through the optical sensor, the server triggers the server to acquire a target error code of the target event, and then the MCU is used for coding the target error code, and the acquired audio signal is sent out through a spreader, so that the terminal device can analyze the audio signal to acquire the target error code and present the target error code. Therefore, the purpose of identifying the target event based on the audio signal is achieved, meanwhile, the problems that the existing feedback mode is single and not easy to identify are solved, and a foundation is laid for reducing the difficulty of fault identification.
EXAMPLE III
The present embodiment provides a server, as shown in fig. 5, the server includes:
a first processor 51, configured to detect a target event, where the target event represents an event triggered when the server is in an error operation state; acquiring a target error code corresponding to the target event, wherein the target error code is associated with the target event so that the target event can be identified by using the target error code; coding a target error code corresponding to the target event to obtain an audio signal with target characteristic information, wherein the target characteristic information is associated with the target error code, so that a terminal device acquiring the audio signal can determine the target error code indicated by the audio signal based on the target characteristic information of the audio signal;
an audio output component 52 for outputting the audio signal.
In an embodiment, the first processor 51 is further configured to:
acquiring characteristic information of the target error code;
determining target characteristic information at least based on the characteristic information of the target error code;
and coding a target error code corresponding to the target event based on the target characteristic information to obtain an audio signal with the target characteristic information.
In another embodiment, the first processor 51 is further configured to:
detecting a trigger instruction, wherein the trigger instruction is generated by the server at least based on the detected indication information for indicating the target event, or generated by a terminal device at least based on the detected indication information for indicating the target event and transmitted to the server;
and acquiring a target error code corresponding to the target event based on the trigger instruction.
In another embodiment, the indication information is a target light signal; correspondingly, the first processor 51 is further configured to:
detecting a target light signal, the target light signal being generated by the server based on detecting the target event and indicating the target event; generating a trigger instruction based on the target light signal; or,
detecting a target light signal, the target light signal being generated by the server based on detecting the target event and indicating the target event; acquiring a trigger instruction based on the target optical signal, wherein the trigger instruction is generated by the terminal device based on at least the detected target optical signal for indicating the target event.
In another embodiment, the indication information is a target light signal; correspondingly, the first processor 51 is further configured to:
detecting a target light signal, the target light signal being generated by the server based on detecting the target event and indicating the target event; so that the terminal device emits a first optical signal satisfying a preset rule based on the detection of the target optical signal;
and detecting the first optical signal meeting a preset rule, and generating a trigger instruction based on the first optical signal.
In another embodiment, the first processor 51 is further configured to:
acquiring at least two error codes, wherein the error codes correspond to events triggered by the server in an error operation state;
and associating each error code of the at least two error codes with the characteristic information of the audio signal to obtain a mapping table capable of representing the mapping relation between the error codes and the characteristic information of the audio signal, so that the server can select target characteristic information corresponding to the target error code by using the mapping table.
It should be noted that: the above description of the server embodiment is similar to the above description of the method embodiment, and has similar beneficial effects to the method embodiment, and therefore, the description thereof is omitted. For technical details that are not disclosed in the server embodiment of the present invention, please refer to the description of the method embodiment of the present invention for understanding, and therefore, for brevity, will not be described again.
Example four
This embodiment provides a terminal device, as shown in fig. 6, where the terminal device includes:
a receiver 61 for acquiring an audio signal;
a second processor 62, configured to decode the audio signal to obtain target feature information of the audio signal; the target characteristic information is associated with a target error code, and the target error code is an error code associated with a target event triggered when the server is in an error operation state; and determining the target error code indicated by the audio signal based on the target characteristic information of the audio signal so as to present the error operation state of the server characterized by the target event by using the target error code.
Here, it should be noted that: the description of the above terminal device embodiment is similar to the description of the above method, and has the same beneficial effects as the method embodiment, and therefore, the description is omitted. For technical details that are not disclosed in the terminal device embodiment of the present invention, those skilled in the art should refer to the description of the method embodiment of the present invention to understand that, for brevity, detailed description is omitted here.
The present embodiment also provides a first computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method steps applied to the server side.
The present embodiment also provides a second computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, realizes the method steps applied to the terminal device side.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (9)
1. A method of encoding, the method comprising:
sending out a target light signal; the target optical signal is used for indicating that a target event is detected, and the target event represents an event triggered when the server is in a wrong operation state;
receiving a trigger instruction generated by the terminal equipment aiming at the target optical signal;
acquiring a target error code corresponding to the target event according to the trigger instruction, wherein the target error code is associated with the target event so that the target event can be identified by using the target error code;
coding a target error code corresponding to the target event to obtain an audio signal with target characteristic information, and outputting the audio signal through a loudspeaker; the target characteristic information is associated with the target error code, so that a terminal device acquiring the audio signal can determine the target error code indicated by the audio signal based on the target characteristic information of the audio signal.
2. The method according to claim 1, wherein said encoding a target error code corresponding to the target event to obtain an audio signal with target characteristic information comprises:
acquiring characteristic information of the target error code;
determining target characteristic information at least based on the characteristic information of the target error code;
and coding a target error code corresponding to the target event based on the target characteristic information to obtain an audio signal with the target characteristic information.
3. The method according to claim 1 or 2, wherein the receiving of the trigger instruction generated by the terminal device for the target optical signal comprises:
and receiving an optical signal which returns aiming at the target optical signal and carries the trigger instruction.
4. The method of claim 3,
the optical signal is a first optical signal meeting a preset rule.
5. A method of decoding, the method comprising:
acquiring an audio signal output through a loudspeaker;
decoding the audio signal to obtain target characteristic information of the audio signal; wherein the target characteristic information is associated with a target error code; the target error code is acquired according to a trigger instruction, the trigger instruction is generated by terminal equipment aiming at a target optical signal for indicating a target event, and the target event represents an event triggered when a server is in an error operation state; the target error code is an error code associated with the target event;
and determining the target error code indicated by the audio signal based on the target characteristic information of the audio signal so as to present the error operation state of the server characterized by the target event by using the target error code.
6. A server, characterized in that the server comprises:
a first processor for emitting a target optical signal; the target optical signal is used for indicating that a target event is detected, and the target event represents an event triggered when the server is in a wrong operation state; receiving a trigger instruction generated by the terminal equipment aiming at the target optical signal; acquiring a target error code corresponding to the target event according to the trigger instruction, wherein the target error code is associated with the target event so that the target event can be identified by using the target error code; coding a target error code corresponding to the target event to obtain an audio signal with target characteristic information, wherein the target characteristic information is associated with the target error code, so that a terminal device acquiring the audio signal can determine the target error code indicated by the audio signal based on the target characteristic information of the audio signal;
an audio output component for outputting the audio signal through a speaker.
7. The server according to claim 6, wherein the receiving of the trigger instruction generated by the terminal device for the target optical signal comprises:
and receiving an optical signal which is returned aiming at the target optical signal and carries the trigger instruction.
8. The server according to claim 7,
the optical signal is a first optical signal meeting a preset rule.
9. A terminal device, characterized in that the terminal device comprises:
a receiver for acquiring an audio signal output through a speaker;
the second processor is used for decoding the audio signal to obtain target characteristic information of the audio signal; wherein the target characteristic information is associated with a target error code; the target error code is acquired according to a trigger instruction, the trigger instruction is generated by terminal equipment aiming at a target optical signal for indicating a target event, and the target event represents an event triggered when a server is in an error operation state; the target error code is an error code associated with the target event; and determining the target error code indicated by the audio signal based on the target characteristic information of the audio signal so as to present the error operation state of the server characterized by the target event by using the target error code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710502039.7A CN107171859B (en) | 2017-06-27 | 2017-06-27 | Encoding method, decoding method, server and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710502039.7A CN107171859B (en) | 2017-06-27 | 2017-06-27 | Encoding method, decoding method, server and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107171859A CN107171859A (en) | 2017-09-15 |
CN107171859B true CN107171859B (en) | 2021-01-15 |
Family
ID=59826297
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710502039.7A Active CN107171859B (en) | 2017-06-27 | 2017-06-27 | Encoding method, decoding method, server and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107171859B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111770154B (en) * | 2020-06-24 | 2023-12-05 | 百度在线网络技术(北京)有限公司 | Service detection method, device, equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008294989A (en) * | 2007-05-28 | 2008-12-04 | Panasonic Electric Works Co Ltd | Voice transmission system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8547200B2 (en) * | 2009-08-05 | 2013-10-01 | Lg Electronics Inc. | Home appliance and method for operating the same |
CN203719039U (en) * | 2013-09-23 | 2014-07-16 | 广东美的暖通设备有限公司 | Air conditioning system and fault diagnosis system for air conditioner |
CN104456862A (en) * | 2013-09-23 | 2015-03-25 | 广东美的暖通设备有限公司 | Air conditioner system, air conditioner fault diagnosis system and method |
CN105088647B (en) * | 2015-05-29 | 2018-04-20 | 无锡飞翎电子有限公司 | Washing machine and its failure information obtaining method and fault message obtain system |
CN106330491B (en) * | 2015-06-23 | 2020-08-11 | 中兴通讯股份有限公司 | Fault processing method and device |
CN105828055A (en) * | 2016-05-20 | 2016-08-03 | 海信集团有限公司 | Running control method and system of laser projection device |
-
2017
- 2017-06-27 CN CN201710502039.7A patent/CN107171859B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008294989A (en) * | 2007-05-28 | 2008-12-04 | Panasonic Electric Works Co Ltd | Voice transmission system |
Also Published As
Publication number | Publication date |
---|---|
CN107171859A (en) | 2017-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018113385A1 (en) | Method and system for dynamically tracking application of client, client, and server | |
CN108736981A (en) | It is a kind of wirelessly to throw screen method, apparatus and system | |
US20130159561A1 (en) | System and method for monitoring hard disk drives | |
CN110427324B (en) | Joint debugging system, joint debugging method, computer equipment and storage medium | |
KR102233841B1 (en) | Digital water meter that can determine whether a failure is based on weighing value analysis and operating method thereof | |
US9672396B1 (en) | RFID-enabled light bulb | |
CN105550101A (en) | Test method for application program, electronic device and system | |
CN107171859B (en) | Encoding method, decoding method, server and terminal equipment | |
CN110096413A (en) | A kind of disk localization method, system and electronic equipment and storage medium | |
CN103812535A (en) | Bluetooth equipment connecting method and Bluetooth equipment | |
CN102075844A (en) | Testing device and testing method | |
CN105635200A (en) | Information processing method, electronic equipment, server and information processing system | |
TWI576694B (en) | Hard disk drive operating status detection system | |
CN105825641A (en) | Service alarm method and apparatus | |
CN107958566A (en) | A kind of smoke alarm unit and method based on smoke alarm | |
CN104240492A (en) | Method, device and terminal for debugging infrared remote control signals | |
KR101585787B1 (en) | Remote Management System and Method of Applying the system to Remote Manage Bluetooth Beacon | |
CN105653228A (en) | Audio playing system and audio playing method | |
CN105912432A (en) | Failure detection method, device and system for server | |
CN103580953A (en) | Method and devices for detecting faults | |
WO2022061760A1 (en) | Can address assignment | |
CN109862511A (en) | Fence area monitoring method, device and computer readable storage medium | |
US10461856B2 (en) | Wireless transmission of server status information | |
CN108205104B (en) | Doorbell camera testing tool | |
CN107070910B (en) | Communication method 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 |