Search

CN-122026205-A - Automatic electric connection method for tablet personal computer and sound equipment based on support platform

CN122026205ACN 122026205 ACN122026205 ACN 122026205ACN-122026205-A

Abstract

The invention discloses an automatic electric connection method of a tablet personal computer and a sound based on a support platform, which relates to the technical field of electronic information and comprises the following steps that when an initial contact is detected between the tablet personal computer and an electric interface of the support platform, the support platform collects contact establishment information of multiple contact channels of the electric interface, and performs time reference alignment on a collection result to form an electric trigger original sequence; and the support platform executes multi-contact arrival sequence verification based on the electrical trigger original sequence, and extracts contact arrival sequence characteristics of the multi-contact channel when verification passes. According to the invention, when the tablet personal computer and the support platform form initial electrical contact, contact establishment information of the multi-contact channel is acquired and time reference alignment is executed, so that an electrical trigger original sequence which can be used for subsequent judgment is formed, and the contact arrival sequence characteristic and the stable section characteristic are further extracted based on the original sequence.

Inventors

  • FU QIAN
  • LAI YUMING
  • HOU RUI
  • FAN XUEJIN
  • MEI WENZHONG

Assignees

  • 深圳市德立通智能科技有限公司

Dates

Publication Date
20260512
Application Date
20260408

Claims (9)

  1. 1. The automatic electrical connection method of the tablet personal computer and the sound equipment based on the support platform is characterized by comprising the following steps of: step one, when initial contact is detected to be formed between the tablet personal computer and an electrical interface of a support platform, the support platform collects contact establishment information of a multi-contact channel of the electrical interface, and time reference alignment is carried out on a collection result to form an electrical triggering original sequence; Step two, the support platform executes multi-contact arrival sequence verification based on an electrical trigger original sequence, and when verification passes, the contact arrival sequence characteristics of the multi-contact channel are extracted; Step three, the support platform executes debouncing segmentation and intra-segment consistency verification based on an electrical trigger original sequence, and determines stable segment characteristics when verification passes; Step four, the support platform generates a connection control mark based on the contact arrival sequence feature and the stable segment feature, writes the connection control mark into a connection control table, and simultaneously applies one-time effective constraint and aging constraint to the connection control mark; Step five, under the condition that the connection control identifier is in an effective state, the support platform establishes a connection establishment link of an electrical interface, performs link parameter locking based on the characteristic of a stable segment in the connection establishment link, performs main audio channel occupation locking based on the characteristic of a contact arrival sequence, and uniquely binds audio channel resources with the connection control identifier; and step six, the support platform sends audio output path switching control information to the tablet personal computer based on the connection control identifier, and sends audio processing link activation control information to the sound equipment, and after the audio channel resource finishes one grant, the connection control identifier is updated to a consumed state.
  2. 2. The automatic electrical connection method of a tablet personal computer and a sound device based on a support platform according to claim 1, wherein the multi-contact channel is a plurality of mutually independent physical electrical contacts arranged in an electrical interface, and the plurality of physical electrical contacts are respectively used for collecting contact establishment information when the tablet personal computer and the support platform form initial contact.
  3. 3. The automatic electrical connection method of a tablet personal computer and a sound device based on a support platform according to claim 1, wherein the characteristics of the stable section comprise starting and stopping moments of the stable section and stability constraint conditions met by electrical information in the stable section.
  4. 4. The automatic electrical connection method of a tablet personal computer and a sound device based on a stand platform according to claim 1, wherein the step two of extracting the contact arrival sequence feature comprises the following steps: The support platform determines the contact arrival sequence of each physical electric contact in the multi-contact channel based on the electrical trigger original sequence, and forms a corresponding actual arrival sequence; the support platform calls a preset legal arrival sequence set, and performs matching verification on the actual arrival sequence and the legal arrival sequence set; After the matching verification is passed, the support platform repeatedly generates a corresponding actual arrival sequence in a plurality of continuous sampling periods, and executes sequence consistency verification on the actual arrival sequence corresponding to each sampling period; when the sequence consistency check passes, the support platform determines the actual arrival sequence as a contact arrival sequence feature and writes the contact arrival sequence feature into a feature record area associated with the electrical trigger original sequence; And when the sequence consistency check is not passed, the support platform updates the sequence state in the characteristic record area and re-executes the matching check and the sequence consistency check until the contact arrival sequence characteristic is determined.
  5. 5. The method for automatically and electrically connecting a tablet personal computer and a sound device based on a stand platform according to claim 4, wherein the step three of determining the characteristics of the stable segment based on the original sequence of the electrical trigger comprises the following steps: Firstly, after the extraction of the multi-contact arrival sequence features is completed, determining a stable segment judgment constraint parameter corresponding to the sequence features based on the contact arrival sequence features, wherein the stable segment judgment constraint parameter is used for limiting the analysis window length for stable segment judgment and the intra-segment consistency judgment conditions; The support platform judges constraint parameters according to the stable segments, selects corresponding analysis windows from the electrical trigger original sequence, and respectively determines contact states of a plurality of physical electrical contacts in the analysis windows; the support platform performs in-segment consistency checking on the contact states of the plurality of physical electrical contacts within the analysis window to determine whether the contact states of the plurality of physical electrical contacts remain unchanged during the analysis window; under the condition that the consistency check in the section of the support platform passes, determining an analysis window as a candidate stable section; And repeatedly executing in-segment consistency check on the candidate stable segment by the support platform in a plurality of continuous analysis windows based on the stable segment judgment constraint parameters, and determining a corresponding time interval as the stable segment and generating stable segment characteristics under the condition that the candidate stable segment meets the stable segment judgment constraint parameters in the plurality of continuous analysis windows.
  6. 6. The automatic electrical connection method of a tablet personal computer and a sound device based on a stand platform according to claim 1, wherein the process of generating a connection control identifier and applying a constraint in the fourth step comprises the following steps: The support platform respectively carries out coding treatment on the contact arrival sequence characteristics and the stable segment characteristics, and combines the contact arrival sequence characteristics after coding with the stable segment characteristics after coding to form a connection characteristic combination value; the support platform generates a connection control identifier based on the connection characteristic combination value, and generates a constraint parameter record corresponding to the connection control identifier one by one, wherein the constraint parameter record comprises a disposable effective state field, an aging starting time field, an aging ending time field and an occupied state field; before attempting to write the connection control identifier and the constraint parameter record corresponding to the connection control identifier into the connection control table, the support platform detects whether an existing record taking the connection characteristic combination value as a key value and the occupied state field in the occupied state exists in the connection control table; under the condition that no existing record exists is detected, the support platform writes the connection control identifier and the constraint parameter record corresponding to the connection control identifier into the connection control table in an atomic writing mode, and initializes an occupied state field into an occupied state in the atomic writing process, so that the connection control identifier obtains unique validity constraint when writing is completed; under the condition that the existing record is detected to exist, the support platform refuses to generate a new connection control identifier; The support platform manages the available state of the connection control identifier based on the one-time valid state field and the time-of-initiation time field and the time-of-termination time field.
  7. 7. The automatic electrical connection method of a tablet personal computer and a sound device based on a support platform as claimed in claim 1, wherein the step five of establishing a connection between the stable segment feature and the contact arrival sequence feature comprises the following steps: Before a link is established by the support platform, generating a link parameter locking configuration based on the characteristic of the stable segment, wherein the link parameter locking configuration at least comprises a parameter locking window and a parameter locking set which are associated with the characteristic of the stable segment; the support platform establishes a connection establishment link of the electrical interface, writes the link parameter locking configuration into a link control context in the connection establishment link, and simultaneously executes non-changeable locking on the link parameter written in the parameter locking window; After the link parameter is locked unchangeable, the support platform generates a main audio channel occupation locking rule based on the contact arrival sequence characteristics, and executes conflict detection based on the main audio channel occupation locking rule so as to judge whether an occupation control record or a resource binding record which conflicts with the contact arrival sequence characteristics or the existing connection control identification exists or not; Under the condition that conflict detection does not detect the conflict, the support platform atomically applies an exclusive occupation state to the main audio channel, simultaneously generates an audio channel resource description record, and carries out one-to-one binding writing on the audio channel resource description record and the connection control identifier into a resource binding table; and under the condition that the conflict is detected by the conflict detection, the support platform terminates the execution of the locking rule occupied by the main audio channel and maintains the link parameter locking configuration and the connection establishment link in an unbound state.
  8. 8. The automatic electrical connection method of a tablet pc and a sound equipment based on a stand platform according to claim 1, wherein after the connection control identifier is generated in the fourth step and before the connection establishment link is established in the fifth step, the step of performing cross-connection consistency determination based on the connection control identifier includes: the support platform determines at least two connection control identifiers which are in an effective state at the same time in a connection control table, and respectively acquires contact arrival sequence characteristics and stable section characteristics corresponding to the at least two connection control identifiers; The support platform executes consistency judgment on at least two connection control identifiers according to a preset cross-connection consistency rule set; The cross-connection consistency rule set includes rules for preventing audio channel resource conflicts, which contain at least any one of the following rules: Prohibiting multiple connection control identifiers having the same contact arrival order characteristic from entering a connection establishment link stage at the same time; A plurality of connection control identifiers which are used for prohibiting the time intervals corresponding to the stable segment characteristics from being overlapped trigger the main audio channel to occupy and lock; multiple connection control identifications whose stability constraint levels are inconsistent are prohibited while maintaining the occupied state field in the occupied state.
  9. 9. The method for automatically and electrically connecting a tablet pc and a sound box based on a stand-alone platform according to claim 8, wherein when detecting that at least two connection control identifiers violate any one of a set of cross-connection consistency rules, the method comprises: The support platform selects at least one connection control identifier from connection control identifiers violating a cross-connection consistency rule set as a limited connection control identifier according to preset conflict processing rules, and updates an occupied state field corresponding to the limited connection control identifier into a limited state so as to prevent the limited connection control identifier from entering a subsequent connection establishment link flow; after the limited connection control identifier is updated to be in a limited state, the bracket platform keeps a one-time effective state field of the limited connection control identifier in an unconsumed state, and inhibits the limited connection control identifier from triggering the audio channel resource binding operation; and after detecting that the violation conditions corresponding to the cross-connection consistency rule set are released, the support platform restores the occupied state field of the limited connection control identifier to an occupied state and allows the occupied state field to participate in the subsequent connection establishment link flow again.

Description

Automatic electric connection method for tablet personal computer and sound equipment based on support platform Technical Field The invention relates to the technical field of electronic information, in particular to an automatic electric connection method of a tablet personal computer and a sound box based on a support platform. Background With the wide application of tablet computers in video and audio playing, conference displaying, home entertainment and other scenes, when a user uses the tablet computer in cooperation with external sound equipment, the tablet computer is usually required to be physically supported by a bracket platform, and audio signals are output and played in a wired or wireless mode; In the prior art, the connection mode between the tablet personal computer and the sound equipment mainly comprises two types of wired connection and wireless connection, wherein the wired connection mode generally requires a user to manually plug in an audio cable or a data wire after the tablet personal computer is placed, and an operating system completes equipment identification and audio path switching; With diversification of use scenes, higher requirements are put on continuity, stability and system level management of a connection process by users, for example, in the process that a tablet personal computer is placed on a support platform, contact sequence, contact stability and concurrent management of multiple connection behaviors of an electrical interface can possibly influence the reliability of subsequent audio connection, and in the prior art, electrical contact information generated in the process of placing the tablet personal computer is usually only used as a basic condition of physical connection and lacks a unified mechanism for systematically collecting, judging and controlling the electrical contact information. Disclosure of Invention The invention aims to provide an automatic electric connection method of a tablet personal computer and a sound based on a support platform, so as to solve the problems in the background art. The invention can be realized by the following technical scheme that the automatic electric connection method of the tablet personal computer and the sound equipment based on the bracket platform comprises the following steps: step one, when initial contact is detected to be formed between the tablet personal computer and an electrical interface of a support platform, the support platform collects contact establishment information of a multi-contact channel of the electrical interface, and time reference alignment is carried out on a collection result to form an electrical triggering original sequence; Step two, the support platform executes multi-contact arrival sequence verification based on an electrical trigger original sequence, and when verification passes, the contact arrival sequence characteristics of the multi-contact channel are extracted; Step three, the support platform executes debouncing segmentation and intra-segment consistency verification based on an electrical trigger original sequence, and determines stable segment characteristics when verification passes; Step four, the support platform generates a connection control mark based on the contact arrival sequence feature and the stable segment feature, writes the connection control mark into a connection control table, and simultaneously applies one-time effective constraint and aging constraint to the connection control mark; Step five, under the condition that the connection control identifier is in an effective state, the support platform establishes a connection establishment link of an electrical interface, performs link parameter locking based on the characteristic of a stable segment in the connection establishment link, performs main audio channel occupation locking based on the characteristic of a contact arrival sequence, and uniquely binds audio channel resources with the connection control identifier; and step six, the support platform sends audio output path switching control information to the tablet personal computer based on the connection control identifier, and sends audio processing link activation control information to the sound equipment, and after the audio channel resource finishes one grant, the connection control identifier is updated to a consumed state. The invention further technically improves that the multi-contact channel is a plurality of mutually independent physical electrical contacts arranged in the electrical interface, and the physical electrical contacts are respectively used for collecting contact establishment information when the tablet personal computer and the bracket platform form initial contact. The invention further technically improves that the characteristics of the stable section comprise the starting and stopping time of the stable section and the stability constraint condition met by the electrical information in the stable section. The in