CN107092540B - Processing method, device and equipment - Google Patents

Processing method, device and equipment Download PDF

Info

Publication number
CN107092540B
CN107092540B CN201710231108.5A CN201710231108A CN107092540B CN 107092540 B CN107092540 B CN 107092540B CN 201710231108 A CN201710231108 A CN 201710231108A CN 107092540 B CN107092540 B CN 107092540B
Authority
CN
China
Prior art keywords
events
sequence
event
processing
interface
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
Application number
CN201710231108.5A
Other languages
Chinese (zh)
Other versions
CN107092540A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710231108.5A priority Critical patent/CN107092540B/en
Publication of CN107092540A publication Critical patent/CN107092540A/en
Application granted granted Critical
Publication of CN107092540B publication Critical patent/CN107092540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0796Safety measures, i.e. ensuring safe condition in the event of error, e.g. for controlling element
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2247Verification or detection of system hardware configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The disclosure provides a processing method, a processing device and processing equipment. The processing method comprises the following steps: obtaining at least two events, forming a first sequence of events, wherein the events are used for characterizing the hardware state of the electronic device; and processing the first event sequence, and notifying the application program of the specific event meeting the specific condition so as to enable the application program to obtain the hardware state corresponding to the specific event.

Description

Processing method, device and equipment
Technical Field
The present disclosure generally relates to a processing method, apparatus, and device. In particular to a method, a device and equipment for processing an event representing the hardware state of electronic equipment.
Background
In recent years, with the rapid development of communication and electronic technologies, the degree of miniaturization, integration, and multi-functionalization of electronic devices has been changing day by day. As such, various hardware integrated in the electronic device is increasingly complicated, which puts higher demands on the electronic device to obtain accurate hardware states of various hardware in time for fast and effective processing.
In the past, the electronic device represents the hardware state, and the current states of various hardware are obtained in a time sequence, an event sequence according to the time sequence is formed, and then the electronic device is notified of the event sequence and is processed by the electronic device one by one. For example, in a case where the electronic device only needs to process hardware that is being turned on, even if a certain hardware is turned off after being turned on, the above-mentioned one-by-one processing still needs to process the turn-on and turn-off of the certain hardware in the above-mentioned event sequence one by one, and unnecessary processing is performed, so that the processing efficiency is reduced. Moreover, when some electronic devices only need to pay attention to the finally turned-on hardware state, the above-mentioned one-by-one processing may cause the electronic devices to fail to correctly determine the occurrence of the error processing of the concerned hardware state because the finally turned-off of other hardware other than the concerned hardware occurs in time.
Disclosure of Invention
One aspect of the present disclosure provides a processing method, including: obtaining at least two events, forming a first sequence of events, wherein the events are used for characterizing the hardware state of the electronic device; and processing the first event sequence, and notifying the application program of the specific event meeting the specific condition so as to enable the application program to obtain the hardware state corresponding to the specific event.
Optionally, forming a second sequence of events different from the first sequence of events according to the specific condition; and at least notifying an end event in the second event sequence to an application program according to the second event sequence so that the application program obtains the hardware state corresponding to the end event.
Optionally, obtaining at least two events comprises: monitoring the connection state of at least one interface of the electronic equipment, and obtaining at least two events when the connection state of the at least one interface is changed, wherein the events are used for representing the connection state of the at least one interface.
Optionally, obtaining at least two events comprises: monitoring a connection state of a specified interface in the at least one interface of the electronic device, wherein the specified interface has at least three connection states; if the connection state of the prescribed interface changes at least twice, at least two events corresponding to each connection state change are obtained.
Optionally, obtaining at least two events, forming the first sequence of events comprises: respectively obtaining the at least two events according to the time sequence; forming the first sequence of events in the temporal order when the at least two events both characterize a hardware state of a same component of the electronic device and/or a time interval between any two of the at least two events is less than a prescribed time and/or an elapsed time since an earliest of the at least two events was obtained exceeds a prescribed threshold.
Optionally, obtaining at least two events, forming the first sequence of events comprises: monitoring the connection state of an audio interface of the electronic equipment, wherein the audio interface supports at least two different types of connector connection, and the connection and disconnection state of each type of interface can be detected; if the connection state of the audio interface changes at least twice, at least two events corresponding to each connection state change are obtained.
Optionally, processing the first sequence of events, and obtaining a second sequence of events different from the first sequence of events comprises: grouping events in the first sequence of events according to a predetermined rule; if the first event sequence has a specific event which cannot be grouped according to the predetermined rule, setting the position of the specific event as an end; forming the second sequence of events ending with the particular event.
Optionally, obtaining at least two events, forming a first sequence of events; processing the first sequence of events, obtaining a second sequence of events different from the first sequence of events comprising: monitoring the connection state of an audio interface of the electronic equipment to obtain a first event sequence, wherein the first event sequence comprises at least three events with odd connection state changes; pairing odd events in the first event sequence according to the connection and disconnection states of each type of interface; obtaining an unpaired event as a specific event for a specific type of audio device connection, forming the second sequence of events ending with the specific event.
Optionally, according to the second event sequence, notifying at least an end event in the second event sequence to an application program includes: notifying the application of the specific event in the second sequence of events, and enabling the application to obtain information that a specific type of audio device is connected if the specific event is an event indicating that the specific type of audio device is connected.
Another aspect of the present disclosure provides a processing apparatus comprising: the electronic equipment comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring at least two events to form a first event sequence, and the events are used for representing the hardware state of the electronic equipment; and the processing unit is used for processing the first event sequence and notifying a specific event meeting a specific condition to an application program so as to enable the application program to obtain the hardware state corresponding to the specific event.
Optionally, the processing unit forms a second event sequence different from the first event sequence according to the specific condition, and the processing apparatus further includes: and the notification unit is used for notifying at least the terminal event in the second event sequence to an application program according to the second event sequence so that the application program can obtain the hardware state corresponding to the terminal event.
Optionally, the obtaining unit includes a detecting unit, where the detecting unit monitors a connection state of at least one interface of the electronic device, and obtains at least two events when the connection state of the at least one interface changes, where the events are events for characterizing the connection state of the at least one interface.
Optionally, the detection unit monitors a connection state of a specified interface in the at least one interface of the electronic device, where the specified interface has at least three connection states; if the connection state of the prescribed interface changes at least twice, at least two events corresponding to each connection state change are obtained.
Optionally, the obtaining unit includes a first sequence generating unit, and the first sequence generating unit obtains the at least two events respectively according to a time sequence; forming the first sequence of events in the temporal order when the at least two events both characterize a hardware state of a same component of the electronic device and/or a time interval between any two of the at least two events is less than a prescribed time and/or an elapsed time since an earliest of the at least two events was obtained exceeds a prescribed threshold.
Optionally, the obtaining unit includes a first sequence generating unit, which monitors a connection state of an audio interface of the electronic device, where the audio interface supports at least two different types of connector connections, and can detect connection and disconnection states of each type of interface; if the connection state of the audio interface changes at least twice, at least two events corresponding to each connection state change are obtained.
Optionally, the processing unit includes a second sequence generating unit, which groups the events in the first sequence of events according to a predetermined rule; if the first event sequence has a specific event which cannot be grouped according to the predetermined rule, setting the position of the specific event as an end; forming the second sequence of events ending with the particular event.
Optionally, the processing unit includes a second sequence generating unit, which monitors a connection state of an audio interface of the electronic device, and obtains a first sequence of events, where the first sequence of events includes an odd number of at least three events with a connection state changed; pairing odd events in the first event sequence according to the connection and disconnection states of each type of interface; obtaining an unpaired event as a specific event for a specific type of audio device connection, forming the second sequence of events ending with the specific event.
Optionally, the notifying unit includes a connection state notifying unit that notifies the application of the specific event in the second sequence of events, and if the specific event is an event indicating that a specific type of audio device is connected, the application can be enabled to obtain state information that the specific type of audio device is connected.
Yet another aspect of the present disclosure provides a processing apparatus comprising: a processor; and a memory storing machine readable instructions which, when executed by the processor, cause the processor to perform the processing method described above.
Yet another aspect of the present disclosure provides a computer-readable storage medium storing machine-readable instructions, which, when executed by a processor, cause the processor to perform the above-described processing method.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
fig. 1 schematically shows a block diagram of an electronic device of an embodiment of the present disclosure.
FIG. 2 schematically illustrates a flow diagram of a processing method of an embodiment of the disclosure.
Fig. 3(a) schematically shows a schematic structural diagram of a 4-segment audio plug corresponding to an audio interface used in the processing method of the embodiment of the disclosure.
Fig. 3(b) schematically shows a schematic structural diagram of a 3-segment audio plug corresponding to an audio interface used in the processing method of the embodiment of the present disclosure.
Fig. 4 schematically shows a block diagram of a processing apparatus corresponding to the processing method of the embodiment of the present disclosure.
Fig. 5 schematically shows a schematic view of a case where the processing method of the embodiment of the present disclosure is an application installed outside the system.
Detailed Description
For the purpose of promoting a better understanding of the objects, aspects and advantages of the present disclosure, reference is made to the following detailed description taken in conjunction with the accompanying drawings.
It should be noted that the embodiments described herein are only for illustration and are not intended to limit the disclosure. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. However, it will be apparent to one of ordinary skill in the art that: these specific details need not be employed to practice the present disclosure.
Throughout the specification, reference to "one embodiment," "an embodiment," "one example," or "an example" means: the particular features, structures, or characteristics described in connection with the embodiment or example are included in at least one embodiment of the present disclosure. Thus, the appearances of the phrases "in one embodiment," "in an embodiment," "one example" or "an example" in various places throughout this specification are not necessarily all referring to the same embodiment or example. Furthermore, the particular features, structures, or characteristics may be combined in any suitable combination and/or sub-combination in one or more embodiments or examples. Further, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and are not necessarily drawn to scale. Like reference numerals designate like elements. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items. The terms "include" and "comprise," as well as derivatives thereof, mean inclusion without limitation; the term "or" is inclusive, meaning and/or.
In this specification, the various embodiments described below which are used to describe the principles of the present disclosure are by way of illustration only and should not be construed in any way to limit the scope of the disclosure. The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of exemplary embodiments of the present disclosure as defined by the claims and their equivalents. The following description includes various specific details to aid understanding, but such details are to be regarded as illustrative only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Moreover, descriptions of well-known functions and constructions are omitted for clarity and conciseness. Moreover, throughout the drawings, the same reference numerals are used for similar functions and operations.
Embodiments of the present disclosure provide a processing method, apparatus, and device for generating a new event sequence by reprocessing a time-ordered event sequence, thereby enabling an application to obtain at least a portion of events (e.g., end events). Therefore, the processing speed and efficiency are improved, and the occurrence of error processing can be avoided.
First, a structure of an electronic apparatus according to an embodiment of the present disclosure will be described.
Fig. 1 schematically shows a block diagram of an electronic device of an embodiment of the present disclosure.
As shown in fig. 1, the electronic device 1100 includes: a processing component 1101 comprising at least one processor 1110 to control the actions of other components in the electronic device 1100; a memory 1102 for storing instructions or data; and a power supply unit 1103 that supplies power to the electronic apparatus 1100 from the outside or the inside. It is to be appreciated that the electronic device 1100 may also include any other number of components (e.g., the various components and interfaces thereof shown in dashed lines in fig. 1, etc.) according to particular needs.
The processing component 1101 of the electronic device 1100 performs unified control on each component connected thereto, and before performing control processing, first obtains a current hardware state of each component, that is, first, an event representing the hardware state of each component occurs. In the past, electronic devices have had room for further improvement in processing speed and efficiency by acquiring the current hardware state of each component in chronological order, forming a sequence of events in the chronological order, and then processing one by one (even if there are events in the off state that are not necessary to be processed).
A flowchart of a processing method according to an embodiment of the present disclosure is described below with reference to fig. 2 and fig. 1.
A video component 1104 for processing video signals, including at least one video interface 1104a for input and output of video signals; an audio component 1105 for processing of video signals, including at least one audio interface 1105a for input and output of audio signals; a communication component 1106 for processing communication signals, wherein the communication component comprises at least one communication interface 1106a for communication signal input and output; a sensor component 1107 for processing sensor signals, which includes at least one sensor interface 1107a for input and output of sensor signals; as well as other components, etc.
For example, as shown in FIG. 1, electronic device 1100 also includes multimedia component (i.e., video component 1104 and/or audio component 1105), communication component 1106, and sensor component 1107.
As shown in fig. 2, first, in step S11, events characterizing the hardware state, i.e., the hardware state of each component connected to the processing component 1101, such as ON4 of the video component 1104, ON5 of the audio component 1105, OFF6 of the communication component 1106, OFF7 of the sensor component 1107 are obtained by the processing component 1101 of the electronic device 1100, forming a first sequence of events ON4 → ON5 → OFF6 → OFF 7.
Here, the first sequence of events is shown as being obtained in chronological order as in the prior art, but it is needless to say that other methods of forming the first sequence of events that are not obtained in chronological order may be employed.
Furthermore, the function obtained by the event in step S11 may be a function integrated in the system of the electronic device 1100, that is, as described above, the function may be obtained by a function block in the processing component 1101 of the electronic device 1100, so that the processing effect and compatibility are good. It may also be a function of an application installed outside the system of the electronic apparatus 1100, for example, an event representing a hardware state transmitted to an application program in the system is monitored, and when detected, the event is intercepted (for example, ON4 of the video component 1104, ON5 of the audio component 1105, OFF6 of the communication component 1106, OFF7 of the sensor component 1107) to form a first sequence of events ON4 → ON5 → OFF6 → OFF7, so that the function is not limited to a system having the function, but can be provided for all systems.
Here, it goes without saying that, considering that not all events are monitored/intercepted and need to be processed, if the predetermined condition is not satisfied, even if monitored, no processing or even no interception is performed (for example, when the predetermined condition is for only the multimedia component, events of hardware states of the communication component 1106 and the sensor component 1107 are not intercepted). Therefore, it is also possible to set: the first sequence of events is formed if at least two events satisfying the predetermined condition are intercepted or if at least two events satisfying the predetermined condition are detected.
Next, in step S12, a first sequence of events ON4 → ON5 → OFF6 → OFF7 is processed, which includes: grouping events of the same type (e.g., one set of ON events, one set of OFF events); a second sequence of events in groups is formed. For example, placing both OFF state events OFF6, OFF7 before the ON state event, that is, placing both ON state events ON4, ON5 after the ON state event, at the end of the sequence, forms a second sequence of events OFF6 → OFF7 → ON4 → ON 5.
Further, the grouping may also be grouped according to the operational status of the components (e.g., enabled group and disabled group), and forming the second sequence of events may include: the enable group is set before the disable group, or the disable group is set before the enable group.
Then, in step S13, the application of the processing component 1101 is notified of only the events ON4, ON5 in the second event sequence OFF6 → OFF7 → ON4 → ON5 in the ON state of the terminal for processing.
In this way, the processing component 1101 of the electronic device 1100 does not need to know two events of the communication component 1106 and the sensor component 1107 that have been in an OFF state (OFF), and only two events of the video component 1104 and the audio component 1105 need to be processed.
Therefore, the processing method disclosed by the embodiment of the disclosure saves unnecessary processing, and improves the processing speed and efficiency.
Here, it is needless to say that, considering that there is a case where only the end event notification application is provided, it may be set to: notifying an application of at least an end event in the second sequence of events.
It should be noted that the above-described processing method is merely an example, and in this example, 4 events are obtained to form the first event sequence, and it is needless to say that the number of events may be at least two or more. For example, in step S11, the ON4 of the video component 1104 and the OFF5 of the audio component 1105 are obtained by the processing component 1101 of the electronic device 1100, forming a first sequence of events ON4 → OFF 5. In step S12, the first sequence of events ON4 → OFF5 is processed to place the OFF state event OFF5 before the ON state event ON4, i.e., to place the ON state event ON4 at the end, forming a second sequence of events OFF5 → ON 4. Then, in step S13, the application of the processing component 1101 is notified only of the event ON4 of the ON state of the end in the second event sequence OFF5 → ON4 to perform the processing.
In this way, the same advantageous technical effects as in the above example can be obtained as well.
In addition, the same component may be turned on and then off.
At this time, the processing manner may include: identifying an opposite state switching event for the same component in a first sequence of events; rejecting the opposite state switching event to form a second event sequence; the application is then notified of the second sequence of events.
For example, in step S11, the turn-ON 4 of the video component 1104, the turn-ON 5 of the audio component 1105, and the turn-OFF 4 of the video component 1104 are obtained by the processing component 1101 of the electronic device 1100, forming a first sequence of events ON4 → ON5 → OFF 4.
Next, in step S12, the opposite state switching events ON4, OFF4 of the same component in the first event sequence ON4 → ON5 → OFF4 are culled, forming a second event sequence ON 5.
Then, in step S13, the application of the processing component 1101 is notified of the second event sequence ON 5.
Alternatively, the processing mode may include: identifying an opposite state switching event for the same component in a first sequence of events; transplanting the opposite state switching event as a front-end subsequence of a second event sequence; taking the remaining events without the opposite state switching event as an end subsequence of the second sequence of events; the application is notified of the terminal subsequence.
For example, in step S11, the turn-ON 4 of the video component 1104, the turn-ON 5 of the audio component 1105, and the turn-OFF 4 of the video component 1104 are obtained by the processing component 1101 of the electronic device 1100, forming a first sequence of events ON4 → ON5 → OFF 4.
Next, in step S12, the first event sequence ON4 → ON5 → OFF4 is processed in accordance with a predetermined rule, for example, a second event sequence ON4 → OFF4 → ON5 is formed by pairing events of the same component, i.e., the video component 1104, into a group ON4 and OFF4, and setting a position of the event ON5 which does not meet the predetermined rule, i.e., cannot be paired into a group, as an end.
Then, in step S13, since the event ON4 → OFF4 of the paired grouped video component 1104 ends with OFF (OFF), only the event ON5 of the unpaired grouped audio component 1105 at the end of the second event sequence ON4 → OFF4 → ON5 may be notified to the application of the processing component 1101.
In this way, the processing component 1101 of the electronic apparatus 1100 does not need to know the two events of the video component 1104 that has been turned OFF (OFF), and only needs to process the event ON5 of one audio component 1105.
Thus, the grouped shut-down events can be ignored, and the processing speed and efficiency can be further improved.
Furthermore, as can be seen in fig. 1, at least one interface, e.g., video interface 1104a, audio interface 1105a, communication interface 1106a, may also be included in video component 1104, audio component 1105, communication component 1106, respectively. It goes without saying that the above-described processing method of the embodiments of the present disclosure can be applied to these interfaces as well. That is, in the above-described step S11, the processing component 1101 of the electronic apparatus 1100 may obtain not only the hardware states of the respective components but also connection states of interfaces in the respective components of the electronic apparatus 1100, for example, insertion (ON) and extraction (OFF) of an interface in and out insert, by detection. Also as described above, in step S11, at least two events may be obtained to form a first sequence of events when a change in the connection state of the interface is detected, and the processing method is the same as in the above example.
In addition, since the formation of the first event sequence involves each component and a plurality of interfaces in each component, regarding the processing method of the above embodiment, the influence of the standby, delay, and other factors of the components or interfaces on the processing speed of the whole processing method is considered, and here, it is also preferable to set a certain condition on the formation of the first event sequence to speed up the formation of the first event sequence and improve the whole processing speed.
First, it is considered that the certain condition is obtained only for the hardware state of the same component in the electronic device 1100 in the step S11, for example, only the hardware state of the audio component 1105 and the interface 1105a thereof, or even only the connection state of the interface 1105a is detected, so as to form the first event sequence quickly.
Thus, the problem that the system resource is possibly wasted due to the detection of the opposite state of a single component can be solved.
Here, since the system of simultaneous or near-simultaneous events may register as AB or BA, the time intervals of a and B must be very close; but only one order may be applicable, so such sequences need to be processed, requiring close time intervals to define events. Therefore, it is also conceivable that the certain condition is obtained only for events in which the time interval between the events is smaller than the predetermined time in step S11, so that a first time series in which the time interval between any two events is smaller than the predetermined time (for example, 1 second, 0.5 second, or less) is formed quickly.
Also, events cannot be responded to all the time, so if a predetermined time is elapsed after the first event occurs, the response is performed within a certain time regardless of whether other events exist. This is also to prevent the user from thinking that the device is in an abnormal state. Therefore, the above-mentioned certain condition may be considered that the whole time for forming the first sequence of events is limited in the above-mentioned step S11, and for example, when the time elapsed since the first event was obtained exceeds a predetermined threshold (for example, 1 second, 2 seconds or more), the formation of the first sequence of events is ended.
It is to be understood that the above-mentioned certain conditions may be adopted alone or simultaneously. Thus, the speed and efficiency of the treatment method can be further improved.
Next, a description will be given specifically of an example of a single interface (i.e., a prescribed interface among a plurality of interfaces) of the electronic apparatus 1100, for example, the audio interface 1105a, using the processing method described above.
As a common hardware, the earphones currently on the market are mainly classified into a 4-segment Headset (Headset) with a microphone and a 3-segment Headset (Headset) without a microphone.
The plug structure of Headset is shown in FIG. 3(a), and the plug structure of Headphone is shown in FIG. 3 (b).
As shown in fig. 3(a), the plug structure of Headset is a 4-segment plug H4, including: a left channel segment L; a right channel segment R; a ground segment G; a microphone section M.
As shown in fig. 3(b), the plug structure of the headset is a 3-segment plug H3, which includes: a left channel segment L; a right channel segment R; and a ground segment G.
Accordingly, the Audio interface 1105a of the electronic device 1100, such as a headphone or a headset Jack (Audio Jack), is more diversified, and includes not only 3-segment type and 4-segment type, but also 5 pins and 6 pins. And the hardware position of each pin is different, and the pin can be divided into different models. However, the headphone or headphone jack as the audio interface 1105a is at least 3-segment type, that is, has at least 3 connection states, and the headphone jack as the audio interface 1105a can support a variety of plugs that match or do not match its segment type.
Due to the many-to-many mapping relationship between the earphone or the headset plug and the earphone or the headset hole, the problem that 4 sections of earphone jacks are not matched with some Audio jacks (mismatching) can occur on the existing electronic equipment (for example, Android equipment and the like). For example, when a Headset plug is slowly inserted into the 3 rd segment, sound is output from the Headset, and when the Headset plug is continuously and slowly inserted into the Headset plug (i.e. 4 segments are completely inserted), the sound in the Headset stops, and the Headset cannot produce sound.
The main reason for this kind of problem is that, in some Audio Jack hardware, after the first physical connection, the electronic device reports the electrical signal, i.e. the connection event ON3 of a 3-segment headphone plug, to the application program, for example, and when the physical connection signal is reported for the second time, the electronic device generates a connection event ON4 of a 4-segment headphone plug and a disconnection event OFF3 of a 3-segment headphone plug, i.e. a sequence of events ON3 → ON4 → OFF3 is formed, and at this time, the electronic device only processes the last event OFF3, i.e. it is regarded as that a 3-segment headphone plug is disconnected. Therefore, the electronic device and the application program cannot obtain a connection event of the 4-segment headset plug.
In order to solve the above problem, as in the above processing method, for example, in step S11, the processing component 1101 of the electronic device 1100 detects the connection state of the audio interface 1105a (i.e., a prescribed interface of the plurality of interfaces) of the audio component 1105, and obtains a first sequence of events including at least three events in which the connection state changes by an odd number. Next, in step S12, pairing odd events in the first sequence of events according to the connection and disconnection state of each type of interface; obtaining an unpaired event as a specific event for a specific type of audio device connection, forming the second sequence of events ending with the specific event. Then, in step S13, the application is notified of the end event in the second sequence of events.
Here, the event acquisition before forming the first sequence of events may include: monitoring a connection state of a predetermined interface (e.g., a headphone Jack Audio Jack as the Audio interface 1105 a) among the plurality of interfaces of the electronic apparatus, wherein the predetermined interface has at least three connection states (e.g., states "ON 3, ON4, OFF 3" or "ON 3, ON4, OFF3, OFF 4" corresponding to the 3-segment headphone and the 4-segment headphone); if the connection state of the above-described prescribed interface changes at least twice (e.g., ON3 → ON4 or ON3 → ON4 → OFF3, etc.), at least two events corresponding to each connection state change are obtained (e.g., ON3 → ON4 or ON3 → ON4 → OFF3, etc.).
Specific steps for solving the technical problem by using the processing method of the embodiment of the present disclosure are illustrated in fig. 1 and fig. 2.
As shown in fig. 2, in step S11, the connection state of the audio interface 1105a (i.e., a prescribed interface among the plurality of interfaces) of the audio component 1105 is detected by the processing component 1101 of the electronic device 1100 to obtain events representing the connection state, forming the above-described first event sequence ON3 → ON4 → OFF3 (odd number of events), as described above. As shown in fig. 3(b), the audio interface 1105a as the predetermined interface has at least 3 kinds of connection states corresponding to the plug shown in fig. 3. Also, the headphone jack as the audio interface 1105a may support a variety of plugs that may or may not match their pattern.
Next, in step S12, the first event sequence ON3 → ON4 → OFF3 is processed in accordance with a predetermined rule, for example, in which events representing the connection state of the same type interface (i.e., the same segment) are paired into a group of ON3 and OFF3, and a position of the event ON4 which does not meet the predetermined rule, i.e., cannot be paired into a group, is set as an end, forming a second event sequence ON3 → OFF3 → ON 4.
Then, in step S13, only the unpaired grouped event ON4 at the tip among the second event sequence ON3 → OFF3 → ON4 is notified to the application of the processing component 1101, thereby causing the electronic apparatus 1100 to correctly obtain the state information that the 4-piece plug is connected.
In this way, the electronic device 1100 can accurately obtain the connected state information of a specific type of audio device (i.e., a headphone plug that does not match the headphone jack of the audio interface 1105a of the electronic device 1100), preventing the above-described mis-handling situation from occurring because the system only processes the last event.
Therefore, the processing method of the embodiment of the disclosure saves unnecessary processing and improves processing speed and efficiency.
Here, "obtaining at least three events including an odd number of connection state changes for a prescribed interface" may also be a predetermined condition to become a first sequence of events.
Furthermore, the above processing method is only an example, and it is shown in this example that 3 events are obtained to form a first event sequence, which is for the technical problem that the system only processes the last event. As described above, when the system does not process only the last event, it is needless to say that the number of connection state events of the single interface may be at least two or more.
Furthermore, the processing methods of the embodiments of the present disclosure may be stored as machine readable instructions in the memory 1102 of the electronic device 1100 shown in fig. 1, so that the processing component 1101 (or the processor 1110) of the electronic device 1100 executes the processing methods.
Furthermore, the above-described processing methods of embodiments of the present disclosure may each be stored as machine-readable instructions in a computer-readable storage medium (e.g., a floppy disk, a hard drive, a Compact Disc (CD), a Digital Versatile Disc (DVD), a digital tape, a computer memory, etc.), which when executed by the processing component 1101 (or the processor 1110) of the electronic device 1100, cause the processing component 1101 (or the processor 1110) of the electronic device 1100 to perform the above-described processing methods.
The foregoing detailed description has set forth embodiments of the processing methods of the present disclosure through the use of block diagrams, flowcharts, and/or examples. Insofar as such block diagrams, flowcharts, and/or examples contain one or more functions and/or operations, it will be understood by those within the art that each function and/or operation within such block diagrams, flowcharts, or examples can be implemented, individually and/or collectively, by a wide range of hardware, software, firmware, or virtually any combination thereof. In one embodiment, portions of the subject matter described in embodiments of the present disclosure may be implemented by Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs), Digital Signal Processors (DSPs), or other integrated formats. However, those skilled in the art will recognize that some aspects of the embodiments disclosed herein, in whole or in part, can be equivalently implemented in integrated circuits, as one or more computer programs running on one or more computers (e.g., as one or more programs running on one or more computer systems), as one or more programs running on one or more processors (e.g., as one or more programs running on one or more microprocessors), as firmware, or as virtually any combination thereof, and that designing the circuitry and/or writing the code for the software and or firmware would be well within the skill of one of skill in the art in light of this disclosure. In addition, those skilled in the art will appreciate that the mechanisms of the subject matter described herein are capable of being distributed as a program product in a variety of forms, and that an illustrative embodiment of the subject matter described herein applies regardless of the particular type of signal bearing media used to actually carry out the distribution. Examples of signal bearing media include, but are not limited to: recordable type media such as floppy disks, hard disk drives, Compact Disks (CDs), Digital Versatile Disks (DVDs), digital tape, computer memory, etc.; and a transmission type medium such as a digital and/or an analog communication medium (e.g., a fiber optic cable, a waveguide, a wired communications link, a wireless communication link, etc.).
Next, a processing apparatus that implements the processing method described above in hardware will be described by taking fig. 4 as an example.
Fig. 4 schematically shows a block diagram of a processing apparatus corresponding to the processing method of the embodiment of the present disclosure.
As shown in fig. 4, the processing apparatus 200 includes an acquisition unit 201, a processing unit 202, and a notification unit 203.
In the acquisition unit 201, the hardware state of each component connected to the processing component 1101, i.e. events representing the hardware state, such as ON4 of the video component 1104, ON5 of the audio component 1105, OFF6 of the communication component 1106, OFF7 of the sensor component 1107 are obtained by the processing component 1101 of the electronic device 1100, forming a first sequence of events ON4 → ON5 → OFF6 → OFF 7.
Here, the first sequence of events is shown as being obtained in chronological order as in the prior art, but it is needless to say that another form of the first sequence of events that is not obtained in chronological order may be used.
Furthermore, the event acquisition function in the acquisition unit 201 may be a function integrated in the system of the electronic device 1100, that is, as described above, the event acquisition function may be acquired by a functional block in the processing component 1101 of the electronic device 1100, so that the processing effect and the compatibility are good. It may also be a function of an application installed outside the system of the electronic apparatus 1100, for example, an event representing a hardware state transmitted to an application program in the system is monitored, and when detected, the event is intercepted (for example, ON4 of the video component 1104, ON5 of the audio component 1105, OFF6 of the communication component 1106, OFF7 of the sensor component 1107) to form a first sequence of events ON4 → ON5 → OFF6 → OFF7, so that the function is not limited to a system having the function, but can be provided for all systems.
Here, it goes without saying that, considering that not all events are monitored/intercepted and need to be processed, if the predetermined condition is not satisfied, even if monitored, no processing or even no interception is performed (for example, when the predetermined condition is for only the multimedia component, events of hardware states of the communication component 1106 and the sensor component 1107 are not intercepted). Therefore, it is also possible to set: the first sequence of events is formed if at least two events satisfying the predetermined condition are intercepted or if at least two events satisfying the predetermined condition are detected.
In the processing unit 202, the first sequence of events ON4 → ON5 → OFF6 → OFF7 is processed, which includes: grouping events of the same type (e.g., one set of ON events, one set of OFF events); a second sequence of events in groups is formed. For example, placing both OFF state events OFF6, OFF7 before the ON state event, that is, placing both ON state events ON4, ON5 after the ON state event, at the end of the sequence, forms a second sequence of events OFF6 → OFF7 → ON4 → ON 5.
Further, the grouping may also be grouped according to the operational status of the components (e.g., enabled group and disabled group), and forming the second sequence of events may include: the enable group is set before the disable group, or the disable group is set before the enable group.
In the notification unit 203, only the second event sequence OFF6 → OFF7 → ON4 → ON events ON4, ON5 of the ON state of the terminal in the ON5 may be notified to the application of the processing component 1101 for processing.
In this way, the system of electronic device 1100 does not need to know the two events of communication component 1106 and sensor component 1107 that have been in an OFF state (OFF), but only processes the two events of video component 1104 and audio component 1105.
Thus, the processing apparatus 200 of the disclosed embodiment saves unnecessary processing, and improves processing speed and efficiency.
Here, it is needless to say that, considering that there is a case where only the end event notification application is provided, it may be set to: notifying an application of at least an end event in the second sequence of events.
Note that the processing device 200 described above is merely an example, and in this example, 4 events are obtained to form a first event sequence, and it goes without saying that the number of events may be at least two or more. For example, in the acquisition unit 201, the ON4 of the video component 1104 and the OFF5 of the audio component 1105 are obtained by the processing component 1101 of the electronic device 1100, forming a first sequence of events ON4 → OFF 5. In the processing unit 202, the first sequence of events ON4 → OFF5 is processed to place the OFF state event OFF5 before the ON state event ON4, i.e. to place the ON state event ON4 at the end, forming a second sequence of events OFF5 → ON 4. In the notification unit 203, only the event ON4 of the second event sequence OFF5 → the ON state of the end in ON4 may be notified to the application of the processing component 1101 for processing.
In this way, the same advantageous technical effects as in the above example can be obtained as well.
In addition, the same component may be turned on and then off.
At this time, the processing manner may include: identifying an opposite state switching event for the same component in a first sequence of events; rejecting the opposite state switching event to form a second event sequence; the application is then notified of the second sequence of events.
For example, in the acquisition unit 201, the processing component 1101 of the electronic device 1100 obtains the ON4 of the video component 1104, the ON5 of the audio component 1105, and the OFF4 of the video component 1104, forming a first sequence of events ON4 → ON5 → OFF 4.
Next, in the processing unit 202, the opposite state switching events ON4, OFF4 of the same component in the first sequence of events ON4 → ON5 → OFF4 are culled to form a second sequence of events ON 5.
Then, the notification unit 203 may notify the application program of the processing component 1101 of the second event sequence ON 5.
Alternatively, the processing mode may include: identifying an opposite state switching event for the same component in a first sequence of events; transplanting the opposite state switching event as a front-end subsequence of a second event sequence; taking the remaining events without the opposite state switching event as an end subsequence of the second sequence of events; the application is notified of the terminal subsequence.
For example, in the acquisition unit 201, the processing component 1101 of the electronic device 1100 obtains the ON4 of the video component 1104, the ON5 of the audio component 1105, and the OFF4 of the video component 1104, forming a first sequence of events ON4 → ON5 → OFF 4.
In the processing unit 202, the first sequence of events ON4 → ON5 → OFF4 is processed in accordance with a predetermined rule, for example, a second sequence of events ON4 → OFF4 → ON5 is formed by pairing events of the same component, i.e., the video component 1104, into groups ON4 and OFF4, and setting a position of event ON5, which does not comply with the predetermined rule, i.e., cannot be paired into a group, as an end.
In the notification unit 203, since the event ON4 → OFF4 of the paired grouped video component 1104 is an OFF (OFF) end, only the event ON5 of the unpaired grouped audio component 1105 in the second event sequence ON4 → OFF4 → ON5 may be notified to the application of the processing component 1101.
In this way, the system of the electronic device 1100 does not need to know the two events of the video component 1104 that has been turned OFF (OFF), and only processes the event ON5 of one audio component 1105.
Thus, the grouped shut-down events can be ignored, and the processing speed and efficiency can be further improved.
Furthermore, as can be seen in fig. 1, at least one interface, e.g., video interface 1104a, audio interface 1105a, communication interface 1106a, may also be included in video component 1104, audio component 1105, communication component 1106, respectively. It goes without saying that the processing device 200 of the embodiment of the present disclosure described above can be applied to these interfaces as well. That is, in the above-described step S11, the processing component 1101 of the electronic apparatus 1100 may obtain not only the hardware states of the respective components but also connection states of interfaces in the respective components of the electronic apparatus 1100, for example, insertion (ON) and extraction (OFF) of an interface in and out insert, by detection. Also as described above, in step S11, at least two events may be obtained to form a first sequence of events when a change in the connection state of the interface is detected, and the processing is performed in the same manner as in the above example.
In addition, since the formation of the first event sequence involves each component and a plurality of interfaces in each component, regarding the processing apparatus 200 of the above embodiment, the influence of the standby, delay, and other factors of the components or interfaces on the processing speed of the entire processing apparatus 200 is considered, and here, it is also preferable to set a certain condition on the formation of the first event sequence to speed up the formation of the first event sequence and improve the entire processing speed.
First, the certain condition may be considered that, in the obtaining unit 201, obtaining is performed only for the hardware state of the same component in the electronic device 1100, for example, only the hardware state of the audio component 1105 and the interface 1105a thereof, or even only the connection state of the interface 1105a is detected, so as to form the first event sequence quickly.
Thus, the problem that the system resource is possibly wasted due to the detection of the opposite state of a single component can be solved.
Here, since the system of simultaneous or near-simultaneous events may register as AB or BA, the time intervals of a and B must be very close; but only one order may be applicable, so such sequences need to be processed, requiring close time intervals to define events. Therefore, the certain condition may be obtained only for events having a time interval between events smaller than a predetermined time in the acquisition unit 201, so that a first time series having a time interval between any two events smaller than a predetermined time (for example, 1 second, 0.5 second, or less) is quickly formed.
Also, events cannot be responded to all the time, so if a predetermined time is elapsed after the first event occurs, the response is performed within a certain time regardless of whether other events exist. This is also to prevent the user from thinking that the device is in an abnormal state. Therefore, the above-mentioned certain condition may be considered that the acquisition unit 201 limits the overall time for forming the first sequence of events, and for example, when the time elapsed since the first event was obtained exceeds a predetermined threshold (for example, 1 second, 2 seconds, or more), the formation of the first sequence of events is ended.
It is to be understood that the above-mentioned certain conditions may be adopted alone or simultaneously. Thus, the speed and efficiency of the processing apparatus 200 can be further improved.
In addition, the above-described embodiments of the present disclosure mainly explain in detail the case where the system integrates the functions of the processing method of the present disclosure. It goes without saying that the functions of the processing method of the present disclosure are equally applicable to a case where the system itself does not provide the functions of the processing method of the present disclosure, but the application is installed outside the system.
Fig. 5 schematically shows a schematic view of a case where the processing method of the embodiment of the present disclosure is an application installed outside the system.
Corresponding to the above-described fig. 4, a portion 300 (i.e., an application installed outside the system) enclosed with a broken line in fig. 5 corresponds to the processing apparatus 200 in fig. 4, an event interceptor 301 in fig. 5 corresponds to the acquisition unit 201 in fig. 4, an event queueing device 302 in fig. 5 corresponds to the processing unit 202 in fig. 4, and a status reporter 303 in fig. 5 corresponds to the notification unit 203 in fig. 4.
Specifically, as in fig. 4, the event interceptor 301 intercepts and acquires the connection state of the audio device interface 500 to form a first sequence of events S, the first sequence of events S is processed by the event queue according to any method (policy) described in the above processing method to form a new second sequence of events, and the state reporter 303 acquires the events of the second sequence of events and notifies the events to the other application APP as the upper application.
In this way, the same technical effects as described above can be achieved, and the processing function can be provided for all the systems.
As can be seen from fig. 5, when notifying other application programs APP as upper layer applications, the notification may be performed in a broadcast manner, that is, all the upper layer applications are allowed to obtain the notification. In this way, a simplification of the overall mechanism is achieved.
Furthermore, it may also be preferable to make available only upper layer applications having the hardware support service, for example, upper layer applications having an audio output/output function for an audio interface. For example, the system has a corresponding list of hardware and applications that are notified by screening. In this way, the processing can be made more targeted.
Furthermore, it is to be understood that given that a particular sequence of status reporter events is encountered reporting only the last event, in which case the existing status reporter need not be externally new. Therefore, the status reporter may be provided in the existing system.
In addition, as a variation of the above-described processing method of the present disclosure, a case where the second event sequence is not formed may also be considered.
For example, one can consider: processing the first sequence of events to notify the application of the particular event that satisfies the particular condition includes: according to any method (policy) described in the above processing method, a specific event is selected from the first event sequence, and the application program is notified of the specific event.
Specifically, for example, a first event sequence ON4 → OFF5 → OFF6 is formed, and the application program is notified of an event ON4 that satisfies the ON condition.
In this way, the technical effect of improving the processing speed and efficiency can be obtained as well.
For another example, the connection state of the predetermined interface may be considered: detecting a connection state of an audio interface (a specified interface) of the electronic equipment, and obtaining a first event sequence, wherein the first event sequence comprises at least three events with odd connection state changes; pairing odd events in the first event sequence according to the connection and disconnection states of each type of interface; obtaining an event which cannot be paired as a specific event of a specific type of audio device connection; and notifying the application program of the specific event.
Specifically, for example, the connection state of the audio interface 1105a of the audio component 1105 is detected, the above-described first event sequence ON3 → ON4 → OFF3 (odd number of events) is formed, then, the first event sequence ON3 → ON4 → OFF3 is paired into the group ON3 and OFF3 in accordance with an event representing the connection state of the same type interface (i.e., the same segment), and the application of the processing component 1101 is notified of the event ON4 that cannot be paired into the group, so that the electronic device 1100 correctly obtains the state information that the 4-segment plug has been connected.
In this way, the technical effect of preventing the erroneous processing can be obtained as well.
As will be understood by those skilled in the art, for any and all purposes, such as in terms of providing a written description, all ranges disclosed herein also encompass any and all possible subranges and combinations of subranges thereof. Any listed range can be easily identified as a sufficient description and enabling the same range to be at least broken down into equal halves, thirds, quarters, fifths, tenths, etc. As a non-limiting example, each range discussed in this application can be readily broken down into a lower third, a middle third, and an upper third, among others. As those skilled in the art will also appreciate, all language such as "up to," "at least," "greater than," "less than," or the like, includes the recited quantity and refers to a range that can be subsequently broken down into subranges as discussed above. Finally, as will be understood by those skilled in the art, a range includes each individual component. So, for example, a group having 1-3 cells refers to a group having 1, 2, or 3 cells. Similarly, a group having 1-5 cells refers to groups having 1, 2, 3, 4, or 5 cells, and so forth.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.

Claims (8)

1. A method of processing, comprising:
obtaining at least two events according to a time sequence to form a first event sequence, wherein the events are used for representing the hardware state of the electronic equipment;
processing the first event sequence while keeping the number of events in the first event sequence unchanged, and notifying a specific event meeting a specific condition to an application program so that the application program obtains the hardware state corresponding to the specific event,
processing the first sequence of events includes:
forming a second event sequence different from the first event sequence according to the specific condition;
notifying an application of at least an end event in the second sequence of events based on the second sequence of events,
processing the first sequence of events to form a second sequence of events different from the first sequence of events includes:
grouping events in the first sequence of events according to a predetermined rule;
if the first event sequence has a specific event which cannot be grouped according to the predetermined rule, setting the position of the specific event as an end;
forming the second sequence of events ending with the particular event,
such that the application only processes the particular event in the first sequence of events.
2. The method of claim 1, wherein,
obtaining at least two events includes:
monitoring the connection state of at least one interface of the electronic equipment, and obtaining at least two events when the connection state of the at least one interface is changed, wherein the events are used for representing the connection state of the at least one interface.
3. The method of claim 2, wherein,
obtaining at least two events includes:
monitoring a connection state of a specified interface in the at least one interface of the electronic device, wherein the specified interface has at least three connection states;
if the connection state of the prescribed interface changes at least twice, at least two events corresponding to each connection state change are obtained.
4. The method of claim 1, wherein,
obtaining at least two events, forming a first sequence of events comprising:
respectively obtaining the at least two events according to the time sequence;
forming the first sequence of events in the temporal order when the at least two events both characterize a hardware state of a same component of the electronic device and/or a time interval between any two of the at least two events is less than a prescribed time and/or an elapsed time since an earliest of the at least two events was obtained exceeds a prescribed threshold.
5. The method of claim 3, wherein,
obtaining at least two events, forming a first sequence of events comprising:
monitoring the connection state of an audio interface of the electronic equipment, wherein the audio interface supports at least two different types of connector connection, and the connection and disconnection state of each type of interface can be detected;
if the connection state of the audio interface changes at least twice, at least two events corresponding to each connection state change are obtained.
6. The method of claim 5, wherein,
obtaining at least two events, forming a first sequence of events; processing the first sequence of events to form a second sequence of events different from the first sequence of events includes:
monitoring the connection state of an audio interface of the electronic equipment to obtain a first event sequence, wherein the first event sequence comprises at least three events with odd connection state changes;
pairing odd events in the first event sequence according to the connection and disconnection states of each type of interface;
obtaining an unpaired event as a specific event for a specific type of audio device connection, forming the second sequence of events ending with the specific event.
7. The method of claim 6, wherein,
according to the second event sequence, at least notifying the application program of the end event in the second event sequence comprises:
notifying the application of the specific event in the second sequence of events, and enabling the application to obtain state information that a specific type of audio device is connected if the specific event is an event indicating that the specific type of audio device is connected.
8. A processing apparatus, comprising:
the electronic equipment comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit acquires at least two events according to a time sequence to form a first event sequence, and the events are used for representing the hardware state of the electronic equipment; and
a processing unit, which processes the first event sequence while keeping the number of events in the first event sequence unchanged, and notifies an application program of a specific event meeting a specific condition, so that the application program obtains the hardware state corresponding to the specific event,
processing the first sequence of events includes:
forming a second event sequence different from the first event sequence according to the specific condition;
notifying an application of at least an end event in the second sequence of events based on the second sequence of events,
processing the first sequence of events to form a second sequence of events different from the first sequence of events includes:
grouping events in the first sequence of events according to a predetermined rule;
if the first event sequence has a specific event which cannot be grouped according to the predetermined rule, setting the position of the specific event as an end;
forming the second sequence of events ending with the particular event,
such that the application only processes the particular event in the first sequence of events.
CN201710231108.5A 2017-04-10 2017-04-10 Processing method, device and equipment Active CN107092540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710231108.5A CN107092540B (en) 2017-04-10 2017-04-10 Processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710231108.5A CN107092540B (en) 2017-04-10 2017-04-10 Processing method, device and equipment

Publications (2)

Publication Number Publication Date
CN107092540A CN107092540A (en) 2017-08-25
CN107092540B true CN107092540B (en) 2020-08-25

Family

ID=59636937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710231108.5A Active CN107092540B (en) 2017-04-10 2017-04-10 Processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN107092540B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107784238A (en) * 2017-10-31 2018-03-09 江苏神州信源系统工程有限公司 A kind of method and apparatus for controlling hardware device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946410A (en) * 2012-10-15 2013-02-27 北京奇虎科技有限公司 Method and device for network synchronization
CN104572329A (en) * 2014-12-31 2015-04-29 杭州华为企业通信技术有限公司 Fault determination method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946410A (en) * 2012-10-15 2013-02-27 北京奇虎科技有限公司 Method and device for network synchronization
CN104572329A (en) * 2014-12-31 2015-04-29 杭州华为企业通信技术有限公司 Fault determination method and device

Also Published As

Publication number Publication date
CN107092540A (en) 2017-08-25

Similar Documents

Publication Publication Date Title
CN102404666B (en) Audio connector detection device and method
CN203457123U (en) Apparatus and system for clock arrangement
US9234930B2 (en) Determination of physical connectivity status of devices based on electrical measurement
CN105302755A (en) PCIE board card with monitoring function and monitoring method therefor
US9749748B2 (en) Electronic device and method for detecting plug type of audio device inserted into electronic device
US8976033B2 (en) Controller coupled to visual indicator
CN104267924A (en) Mobile terminal and audio processing method thereof
CN104375908A (en) Method and equipment for detecting electric leakage of server
TW201401062A (en) Active cable management
CN107092540B (en) Processing method, device and equipment
CN110399276A (en) A kind of control method and relevant apparatus of hard disk indication lamp
CN104298583A (en) Mainboard management system and method based on baseboard management controller
CN105373371A (en) Method and system for controlling volume of windows equipment through browser
CN112799985A (en) USB interface control method, USB control circuit and intelligent networking equipment mainboard
CN110824387B (en) Device and method for detecting cable connection
CN103096167A (en) Starting method and starting system of intelligent television
CN108667515B (en) Port configuration method and communication equipment
CN113868042B (en) Server case intrusion detection circuit, method and device and storage medium
CN109147861A (en) A kind of hard disk is in level detecting apparatus and method
CN104093104A (en) Circuit and method for eliminating POP sound of earphone
CN115098294B (en) Abnormal event processing method, electronic equipment and management terminal
CN104105046A (en) Detection circuit
CN105354491A (en) Intelligent terminal standby state detection method and device
CN112379763B (en) Method, system, equipment and medium for preventing electric leakage
US20080168161A1 (en) Systems and methods for managing faults within a high speed network employing wide ports

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