[go: up one dir, main page]

CN120223677A - Communication method and system for SCCB bus slave ID homogeneity - Google Patents

Communication method and system for SCCB bus slave ID homogeneity Download PDF

Info

Publication number
CN120223677A
CN120223677A CN202510395446.7A CN202510395446A CN120223677A CN 120223677 A CN120223677 A CN 120223677A CN 202510395446 A CN202510395446 A CN 202510395446A CN 120223677 A CN120223677 A CN 120223677A
Authority
CN
China
Prior art keywords
communication
equipment
homogeneous
address
conflict
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.)
Pending
Application number
CN202510395446.7A
Other languages
Chinese (zh)
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.)
Shenzhen Huiyuan Innovation Technology Co ltd
Original Assignee
Shenzhen Huiyuan Innovation Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Huiyuan Innovation Technology Co ltd filed Critical Shenzhen Huiyuan Innovation Technology Co ltd
Priority to CN202510395446.7A priority Critical patent/CN120223677A/en
Publication of CN120223677A publication Critical patent/CN120223677A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明涉及通讯设备技术领域,揭露了一种用于SCCB总线从机ID同质化通讯方法及系统,包括:获取SCCB总线上的从机设备的初始ID配置信息,从机设备中识别出同质ID设备,提取同质ID设备对应的地址分配规则;构建同质ID设备的动态ID映射模型,通过动态ID映射模型为同质ID设备生成虚拟地址,建立虚拟地址与同质ID设备的物理地址之间的实时映射关系;分析SCCB总线通讯时的信号健康度,计算同质ID设备对应的通信冲突频度;构建同质ID设备的质量评测矩阵,生成虚拟地址的动态调度策略;利用指令集执行虚拟地址与物理地址的实时切换,输出SCCB总线的通讯稳定结果。本发明可以提高SCCB总线从机ID同质化通讯效率。

The present invention relates to the technical field of communication equipment, and discloses a method and system for homogenous communication of slave ID of SCCB bus, including: obtaining initial ID configuration information of slave equipment on SCCB bus, identifying homogenous ID equipment from slave equipment, extracting address allocation rules corresponding to homogenous ID equipment; constructing dynamic ID mapping model of homogenous ID equipment, generating virtual addresses for homogenous ID equipment through dynamic ID mapping model, establishing real-time mapping relationship between virtual addresses and physical addresses of homogenous ID equipment; analyzing signal health during SCCB bus communication, calculating communication conflict frequency corresponding to homogenous ID equipment; constructing quality evaluation matrix of homogenous ID equipment, generating dynamic scheduling strategy of virtual addresses; using instruction set to execute real-time switching of virtual addresses and physical addresses, and outputting communication stability result of SCCB bus. The present invention can improve the efficiency of homogenous communication of slave ID of SCCB bus.

Description

Method and system for SCCB bus slave ID homogeneous communication
Technical Field
The invention relates to an ID (identity) homogenizing communication method and system for an SCCB (secondary control channel) bus slave, belonging to the technical field of communication equipment.
Background
In the current communication technology architecture, SCCB (SerialCameraControlBus) buses are used as a communication interface widely applied to devices such as image sensors and play a key role in the aspects of realizing device interconnection and data interaction, and along with the vigorous development of the fields such as the Internet of things, intelligent monitoring and the like, a large number of devices are connected to the same SCCB bus network, and the number of slave devices is exponentially increased, so that the effective management and homogeneous communication of slave IDs are becoming more important.
The traditional SCCB bus slave ID communication mode mainly depends on preset and relatively fixed ID allocation rules, slave devices produced by different manufacturers have obvious differences in ID formats, coding rules and communication protocol details, in the communication process, a host needs to respectively carry out complex adaptation and analysis operations aiming at the unique ID characteristics of each slave device, the process is usually realized through manual configuration and a driver based on specific devices, the efficiency is extremely low, and when a new slave device is accessed to a bus, due to the non-homogenization of the ID, a great deal of time and effort are required to adjust communication parameters and protocol adaptation, and the difficulty of system maintenance and expansion is greatly increased, so a method capable of improving the homogenization communication efficiency of the SCCB bus slave ID is needed.
Disclosure of Invention
The invention provides a method and a system for homogenizing and communicating an ID of an SCCB bus slave, and mainly aims to improve the homogenizing and communicating efficiency of the ID of the SCCB bus slave.
In order to achieve the above object, the present invention provides a method for homogenizing an SCCB bus slave ID, comprising:
Acquiring initial ID configuration information of slave equipment on an SCCB bus, identifying homogeneous ID equipment from the slave equipment based on the initial ID configuration information, and extracting an address allocation rule corresponding to the homogeneous ID equipment;
according to the address allocation rule, a dynamic ID mapping model of the homogeneous ID equipment is constructed, a virtual address is generated for the homogeneous ID equipment through the dynamic ID mapping model, and a real-time mapping relation between the virtual address and a physical address of the homogeneous ID equipment is established;
Acquiring time sequence signal data and conflict event records in the SCCB bus communication process based on the real-time mapping relation, analyzing the signal health degree of the SCCB bus communication based on the time sequence signal data, and calculating the communication conflict frequency corresponding to the homogeneous ID equipment according to the conflict event records;
Extracting response delay characteristics and bit error rate data of the same quality ID equipment, constructing a quality evaluation matrix of the same quality ID equipment by combining the response delay characteristics and the bit error rate data, and generating a dynamic scheduling strategy of the virtual address based on the quality evaluation matrix;
and generating a cooperative control instruction of the homogeneous ID equipment according to the communication conflict frequency and the dynamic scheduling strategy, executing real-time switching of the virtual address and the physical address by using the instruction set, and outputting a communication stability result of an SCCB bus.
Optionally, the identifying, based on the initial ID configuration information, a homogeneous ID device from the slave devices includes:
identifying an identification field in the initial ID configuration information to obtain a configuration identification field;
extracting key identification characters in the configuration identification field, and analyzing identification field semantics corresponding to the key identification field;
Calculating the Hamming distance similarity between the semantics of the identification fields;
And identifying the homogeneous ID equipment from the slave equipment when the Hamming distance similarity is larger than a preset similarity.
Optionally, the calculating the hamming distance similarity between the identification field semantics includes:
the Hamming distance similarity between the identification field semantics is calculated by the following formula:
Wherein α represents a hamming distance similarity between the identification field semantics, B i represents an i-th character in the identification field semantics, B i+1 represents an i+1th character in the identification field semantics, i represents a character sequence number in the identification field semantics, and q represents the number of characters of the identification field semantics.
Optionally, the constructing a dynamic ID mapping model of the homogeneous ID device according to the address allocation rule includes:
Performing topology analysis on the address allocation rule to obtain an address logic tree;
analyzing a hierarchical structure corresponding to the address logic tree, and designing a segmentation hash function corresponding to the address logic tree based on the hierarchical structure;
calculating a virtual address pool corresponding to the address logic tree based on the segmentation hash function;
Optimizing the virtual address pool to obtain an optimized virtual address pool;
and constructing a dynamic ID mapping model of the homogeneous ID equipment based on the optimized address pool.
Optionally, the establishing a real-time mapping relationship between the virtual address and the physical address of the homogeneous ID device includes:
Detecting address conflict between the virtual address and the physical address of the homogeneous ID equipment to obtain a conflict address list;
analyzing the address importance degree corresponding to each address in the conflict address list;
filtering the conflict address list based on the address importance degree to obtain a filtered address list;
updating the virtual address by using the filtered address list to obtain a target virtual address;
Analyzing the mapping association relation between the target virtual address and the physical address of the homogeneous ID equipment;
And based on the mapping association relation, establishing a real-time mapping relation between the target virtual address and the physical address of the homogeneous ID equipment.
Optionally, the analyzing the mapping association relationship between the target virtual address and the physical address of the homogeneous ID device includes:
inquiring the virtual equipment corresponding to the target virtual address, and analyzing equipment function attributes corresponding to the virtual equipment;
Analyzing the function attribute of the homogeneous equipment corresponding to the homogeneous ID equipment, and extracting the characterization function attribute in the function attribute of the equipment and the function attribute of the homogeneous equipment to obtain a first function attribute and a second function attribute;
calculating attribute association between the first functional attribute and the second functional attribute;
And analyzing the mapping association relation between the target virtual address and the physical address of the homogeneous ID equipment based on the attribute association degree.
Optionally, the analyzing the signal health degree of the SCCB bus when communicating based on the time sequence signal data includes:
performing data cleaning on the time sequence signal data to obtain pure signal data;
extracting the characteristics of the pure signal data to obtain a signal characteristic set;
inquiring a communication protocol specification of SCCB bus communication, and counting the number of the adaptive features in the signal feature set based on the communication protocol specification;
calculating a compliance ratio coefficient corresponding to the signal feature set based on the adaptation feature quantity;
And analyzing the signal health degree of the SCCB during bus communication according to the compliance ratio coefficient.
Optionally, the calculating, according to the conflict event record, the communication conflict frequency corresponding to the homogeneous ID device includes:
Based on the conflict event records, determining conflict event frequency and device communication records corresponding to the homogeneous ID devices;
Counting the active communication duration corresponding to each device in the homogeneous ID devices from the device communication record;
Collecting throughput data and communication blocking events of the homogeneous ID device in the device communication record;
and calculating the communication conflict frequency corresponding to the homogeneous ID equipment by combining the conflict event frequency, the active communication duration, the throughput data and the communication blocking event.
Optionally, the calculating, by combining the conflict event frequency, the active communication duration, the throughput data, and the communication blocking event, a communication conflict frequency corresponding to the homogeneous ID device includes:
Identifying successful throughput data in the throughput data, and counting throughput transmission time length corresponding to the successful throughput data;
identifying an event time stamp corresponding to the communication blocking event, and calculating the communication blocking time length of the communication blocking event based on the event time stamp;
And calculating the communication conflict frequency corresponding to the homogeneous ID equipment by combining the conflict event frequency, the active communication duration, the throughput transmission duration and the communication blocking duration through the following formula:
Wherein G d represents a communication collision frequency corresponding to a d-th device in the homogeneous ID devices, E d represents a collision event frequency corresponding to the d-th device in the homogeneous ID devices, F active-d represents an active communication duration corresponding to the d-th device in the homogeneous ID devices, F trans-d represents a throughput transmission duration corresponding to the d-th device in the homogeneous ID devices, F block-d represents a communication blocking duration corresponding to the d-th device in the homogeneous ID devices, and d represents a sequence number corresponding to the homogeneous ID devices.
In order to solve the above problems, the present invention also provides an SCCB bus slave ID homogenization communication system, including:
The address allocation rule extraction module is used for acquiring initial ID configuration information of slave equipment on the SCCB bus, identifying homogeneous ID equipment from the slave equipment based on the initial ID configuration information, and extracting an address allocation rule corresponding to the homogeneous ID equipment;
The real-time mapping relation establishing module is used for establishing a dynamic ID mapping model of the homogeneous ID equipment according to the address allocation rule, generating a virtual address for the homogeneous ID equipment through the dynamic ID mapping model, and establishing a real-time mapping relation between the virtual address and a physical address of the homogeneous ID equipment;
the communication conflict frequency calculation module is used for collecting time sequence signal data and conflict event records in the SCCB bus communication process based on the real-time mapping relation, analyzing the signal health degree of the SCCB bus communication based on the time sequence signal data, and calculating the communication conflict frequency corresponding to the homogeneous ID equipment according to the conflict event records;
The dynamic scheduling strategy generation module is used for extracting response delay characteristics and bit error rate data of the homogeneous ID equipment, constructing a quality evaluation matrix of the homogeneous ID equipment by combining the response delay characteristics and the bit error rate data, and generating a dynamic scheduling strategy of the virtual address based on the quality evaluation matrix;
And the communication optimization processing module is used for generating a cooperative control instruction of the homogeneous ID equipment according to the communication conflict frequency and the dynamic scheduling strategy, executing real-time switching between the virtual address and the physical address by utilizing the instruction set, and outputting a communication stability result of the SCCB bus.
Compared with the prior art, the method and the system have the advantages that the homogeneous ID equipment is identified from the slave equipment based on the initial ID configuration information, the communication flow of the SCCB bus can be effectively simplified, the time cost of adapting and analyzing different ID equipment by a host is reduced, further, the method and the system construct a dynamic ID mapping model of the homogeneous ID equipment according to the address allocation rule, the dynamic change of the number of the slave equipment can be flexibly dealt with, when the homogeneous ID equipment is newly added or removed, the mapping relation is quickly adjusted, the system communication stability and high efficiency are guaranteed, the signal health degree of the SCCB bus communication is analyzed based on the time sequence signal data, the influence range and degree of the SCCB bus communication can be judged through the signal anti-interference capability of the signal health degree, so that anti-interference measures can be pertinently adopted, the communication reliability is improved. Therefore, the method and the system for the ID homogenization communication of the SCCB bus slave can improve the ID homogenization communication efficiency of the SCCB bus slave.
Drawings
FIG. 1 is a flow chart of a method for SCCB bus slave ID homogenization communication according to an embodiment of the invention;
fig. 2 is a schematic block diagram of a method for implementing the slave ID homogenization communication method for SCCB according to an embodiment of the invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment of the application provides an ID (identity) homogenization communication method for an SCCB (stream control channel) bus slave. The execution main body for the SCCB bus slave ID homogenizing communication method comprises at least one of a server, a terminal and the like which can be configured to execute the method provided by the embodiment of the application. In other words, the method for the SCCB bus slave ID homogenization communication may be performed by software or hardware installed in a terminal device or a server device. The server side comprises, but is not limited to, a single server, a server cluster, a cloud server or a cloud server cluster and the like.
Example 1:
Referring to fig. 1, a flow chart of a method for homogenizing an SCCB bus slave ID according to an embodiment of the present invention is shown. In this embodiment, the method for the slave ID homogenization of the SCCB bus includes:
S1, acquiring initial ID configuration information of slave equipment on an SCCB bus, identifying homogeneous ID equipment from the slave equipment based on the initial ID configuration information, and extracting an address allocation rule corresponding to the homogeneous ID equipment.
The method and the system can effectively simplify the communication flow of the SCCB bus and reduce the time cost of adapting and analyzing different ID devices by a host through identifying the homogeneous ID devices from the slave devices based on the initial ID configuration information, and can be used for explaining that the SCCB bus is a serial communication bus used for devices such as a camera sensor and the like and is used for realizing control and data transmission between the host and the slave devices, the slave devices are various sensor devices such as the camera sensor and the like which are connected to the SCCB bus, the initial ID configuration information is unique identity information set by the slave devices when the slave devices leave a factory or are initialized and is used for distinguishing different slave devices, the homogeneous ID devices are devices with the same initial ID configuration information in the slave devices, the devices are similar in certain functions or properties, and the address allocation rule is a mode and a rule which are given different addresses when the homogeneous ID devices are communicated on the bus and is used for enabling the slave devices to accurately access and control the slave devices, and the address allocation rule can be further extracted from the corresponding address allocation rule.
In detail, the identifying the homogeneous ID device from the slave devices based on the initial ID configuration information includes:
identifying an identification field in the initial ID configuration information to obtain a configuration identification field;
extracting key identification characters in the configuration identification field, and analyzing identification field semantics corresponding to the key identification field;
Calculating the Hamming distance similarity between the semantics of the identification fields;
And identifying the homogeneous ID equipment from the slave equipment when the Hamming distance similarity is larger than a preset similarity.
It is to be explained that the configuration identification field is part of field content used for describing specific configuration attributes of the device in the initial ID configuration information, the key identification character is a character capable of highlighting key features of the device in the configuration identification field, the identification field semantics are meaning interpretations corresponding to the key identification field, the hamming distance similarity represents quantitative measurement of character difference degree between the identification field semantics, and the preset similarity is a similarity standard value used for comparison judgment and set in advance according to actual application scenes and requirements, for example, the preset similarity can be set to 0.8.
Further, identification fields in the initial ID configuration information can be identified through ocr identification technology to obtain configuration identification fields, key identification characters in the configuration identification fields can be extracted through TF-IDF algorithm, identification field semantics corresponding to the key identification fields can be analyzed through semantic analysis, when the Hamming distance similarity is larger than preset similarity, homogeneous ID equipment is identified from the slave equipment, for example, in the image sensor slave equipment, multiple groups of equipment with high Hamming distance similarity are found, and the equipment is identified as homogeneous ID equipment.
Further, as an optional embodiment of the present invention, the calculating the hamming distance similarity between the identifier field semantics includes:
the Hamming distance similarity between the identification field semantics is calculated by the following formula:
Wherein α represents a hamming distance similarity between the identification field semantics, B i represents an i-th character in the identification field semantics, B i+1 represents an i+1th character in the identification field semantics, i represents a character sequence number in the identification field semantics, and q represents the number of characters of the identification field semantics.
S2, constructing a dynamic ID mapping model of the homogeneous ID equipment according to the address allocation rule, generating a virtual address for the homogeneous ID equipment through the dynamic ID mapping model, and establishing a real-time mapping relation between the virtual address and a physical address of the homogeneous ID equipment.
According to the address allocation rule, the dynamic ID mapping model of the homogeneous ID equipment is constructed, the dynamic change of the number of the slave equipment can be flexibly dealt with, when the homogeneous ID equipment is added or removed, the mapping relation is quickly adjusted, the system communication is ensured to be stable and efficient, and the dynamic ID mapping model is constructed on the basis of the address allocation rule and can be used for adjusting and mapping the relation between the virtual address and the physical address in real time according to the actual situation in the running process of the equipment.
In detail, the constructing a dynamic ID mapping model of the homogeneous ID device according to the address allocation rule includes:
Performing topology analysis on the address allocation rule to obtain an address logic tree;
analyzing a hierarchical structure corresponding to the address logic tree, and designing a segmentation hash function corresponding to the address logic tree based on the hierarchical structure;
calculating a virtual address pool corresponding to the address logic tree based on the segmentation hash function;
Optimizing the virtual address pool to obtain an optimized virtual address pool;
and constructing a dynamic ID mapping model of the homogeneous ID equipment based on the optimized address pool.
The method is characterized in that the address logic tree is a logic expression form visually presented in a tree structure after the address allocation rule is subjected to topology analysis and is used for clearly showing a logic relation of address allocation, the hierarchical structure is a hierarchical organization structure formed from a root node to a leaf node corresponding to the address logic tree and reflects different levels and sequences of address allocation, the piecewise hash function is a special hash function designed according to the hierarchical structure and corresponding to the address logic tree and can be used for sectionally processing and mapping address related information into hash values, the virtual address pool is a set containing a plurality of virtual addresses and is obtained by calculating the piecewise hash function and corresponding to the address logic tree and is used for providing resources for subsequent address allocation, and the optimized virtual address pool is a virtual address set which is obtained by a series of processing operations such as unique verification, serial numbering and balanced dividing and the like of the virtual address pool, and is used for removing repeated addresses, optimizing the address arrangement sequence and meeting the requirement of homoid equipment allocation.
Further, topology analysis can be conducted on the address allocation rule through a graph theory algorithm to obtain an address logic tree, a hierarchical structure corresponding to the address logic tree can be analyzed through a depth-first search algorithm, a segmented hash function corresponding to the address logic tree can be designed through a customized algorithm combining hierarchical features and hash features based on the hierarchical structure, a virtual address pool corresponding to the address logic tree is calculated based on the segmented hash function, each node of the address logic tree is assumed to represent an address allocation condition or hierarchy, when the virtual address pool is calculated based on the segmented hash function, segmented extraction is conducted on each level information of the address logic tree, for example, node features of different levels are used as input segments, hash calculation is conducted on the input segments through the segmented hash function to obtain hash values corresponding to each segment, finally, the hash values are combined to form a virtual address pool, conflict optimization is conducted on the virtual address pool through an address rearrangement method to obtain an optimized virtual address pool, and a dynamic mapping model of the ID equipment is built based on the optimized address pool through mapping rule matching and an association algorithm.
The invention can realize the efficient and stable communication of the SCCB bus under different equipment environments by establishing the real-time mapping relation between the virtual address and the physical address of the homogeneous ID equipment, obviously improve the homogeneous communication efficiency of the slave ID, reduce the data transmission delay and ensure the accuracy and fluency of the data interaction between the equipment, and the virtual address is the identification of the homogeneous ID equipment for communication identification and addressing in a logic level, and is a corresponding rule which is continuously and dynamically updated and closely associated between the virtual address and the physical address of the homogeneous ID equipment according to the running state of the system.
In detail, the establishing the real-time mapping relationship between the virtual address and the physical address of the homogeneous ID device includes:
Detecting address conflict between the virtual address and the physical address of the homogeneous ID equipment to obtain a conflict address list;
analyzing the address importance degree corresponding to each address in the conflict address list;
filtering the conflict address list based on the address importance degree to obtain a filtered address list;
updating the virtual address by using the filtered address list to obtain a target virtual address;
Analyzing the mapping association relation between the target virtual address and the physical address of the homogeneous ID equipment;
And based on the mapping association relation, establishing a real-time mapping relation between the target virtual address and the physical address of the homogeneous ID equipment.
The method comprises the steps of determining a conflict address list, wherein the conflict address list is an address set of address conflicts caused by the fact that the virtual addresses and the physical addresses of the homogeneous ID equipment are overlapped or not matched, the address importance is a quantitative measurement index of relative importance degree or influence of each address in the conflict address list in the aspects of system operation, data transmission, equipment management and the like, the conflict address list is an address set obtained after the address importance is filtered, the target virtual address is a virtual address obtained after the virtual addresses are updated by the aid of the filtering address list, and the mapping association relation is a corresponding real-time and accurate relation established between the target virtual address and the physical addresses of the homogeneous ID equipment according to operation requirements of a system, data transmission logic and an address management strategy, and the relation can guarantee correct identification, positioning and use of the addresses in the communication and equipment management processes.
Further, address conflicts between the virtual addresses and physical addresses of the homogeneous ID devices can be detected through a conflict detection algorithm to obtain a conflict address list, the address importance corresponding to each address in the conflict address list can be analyzed through an evaluation model constructed by comprehensively considering the functional criticality, the data transmission quantity, the position in a system architecture and other factors of the devices related to the addresses, filtering is conducted on the conflict address list according to a preset importance threshold and a priority reservation principle based on the address importance to obtain a filtered address list, the content of conflict parts in the original virtual addresses can be replaced by address information in the filtered address list to conduct update processing on the virtual addresses to obtain a target virtual address, and a real-time mapping relation between the target virtual address and the physical addresses of the homogeneous ID devices is established by adopting a dynamic tracking and real-time adjustment mechanism and combining a system running state and device communication requirement based on the mapping association relation.
Further, as an optional embodiment of the present invention, the analyzing the mapping association relationship between the target virtual address and the physical address of the homogeneous ID device includes:
inquiring the virtual equipment corresponding to the target virtual address, and analyzing equipment function attributes corresponding to the virtual equipment;
Analyzing the function attribute of the homogeneous equipment corresponding to the homogeneous ID equipment, and extracting the characterization function attribute in the function attribute of the equipment and the function attribute of the homogeneous equipment to obtain a first function attribute and a second function attribute;
calculating attribute association between the first functional attribute and the second functional attribute;
And analyzing the mapping association relation between the target virtual address and the physical address of the homogeneous ID equipment based on the attribute association degree.
The virtual device is created by a software simulation or virtualization technology and is identified and interacted with a specific virtual address in a system, the device function attribute is an attribute set which corresponds to the virtual device and reflects various functional characteristics, capabilities, related parameters and the like of the virtual device, the homogeneous device function attribute is an attribute set which corresponds to the homogeneous ID device and corresponds to the device with the same identification characteristics, capabilities, related parameters and the like of the virtual device, the first function attribute and the second function attribute are representative function attributes in the device function attribute and the homogeneous device function attribute, and the attribute relativity represents quantitative measures of the similarity, the complementarity, the relativity and the like of functions between the first function attribute and the second function attribute and is used for reflecting the degree of tightness of the connection between the two function attributes.
Further, a virtual device corresponding to the target virtual address can be queried through a device address mapping table, device function attributes corresponding to the virtual device can be analyzed through a virtual device description file, homogeneous device function attributes corresponding to the homogeneous ID device can be analyzed through a homogeneous ID device information base, the device function attributes and the characterization function attributes in the homogeneous device function attributes can be extracted through a preset function feature screening algorithm to obtain a first function attribute and a second function attribute, the attribute association degree between the first function attribute and the second function attribute can be adjusted and calculated through a cosine similarity algorithm and domain knowledge weight, the mapping association relation between the target virtual address and the physical address of the homogeneous ID device is analyzed based on the attribute association degree, if the attribute association degree is higher than a set threshold, the strong mapping association relation exists between the device function attributes and the homogeneous device function attributes, otherwise, the association is weaker or no direct mapping relation exists.
S3, acquiring time sequence signal data and conflict event records in the SCCB bus communication process based on the real-time mapping relation, analyzing the signal health degree of the SCCB bus communication based on the time sequence signal data, and calculating the communication conflict frequency corresponding to the homogeneous ID equipment according to the conflict event records.
The invention analyzes the signal health degree of the SCCB bus communication based on the time sequence signal data, can know the signal anti-interference capability of the SCCB bus communication through the signal health degree, judges the influence range and degree of external interference on the signal so as to pertinently take anti-interference measures, improves the communication reliability, and is to be interpreted that the time sequence signal data and the conflict event record are key state information carriers in the SCCB bus communication process, the time sequence signal data and the conflict event record represent various signal parameter details in a time sequence form, the latter record the communication conflict related situation in detail and jointly reflect the bus operation condition, the signal health degree represents the quantitative evaluation results of the signal in the aspects of transmission stability, accuracy, standard protocol fit degree and the like in the SCCB bus communication, and is used for measuring the signal quality and the communication reliability.
In detail, the analyzing the signal health degree during the SCCB bus communication based on the time sequence signal data includes:
performing data cleaning on the time sequence signal data to obtain pure signal data;
extracting the characteristics of the pure signal data to obtain a signal characteristic set;
inquiring a communication protocol specification of SCCB bus communication, and counting the number of the adaptive features in the signal feature set based on the communication protocol specification;
calculating a compliance ratio coefficient corresponding to the signal feature set based on the adaptation feature quantity;
And analyzing the signal health degree of the SCCB during bus communication according to the compliance ratio coefficient.
It is to be explained that the clean signal data is data which can accurately reflect the real communication state of the SCCB bus after the time sequence signal data is processed by noise elimination, filtering and the like, so that interference and clutter are removed;
The signal feature set is a parameter set which is extracted by the pure signal data through a feature extraction algorithm and comprises the frequency, amplitude, rising edge time, falling edge time and the like of signals, the communication protocol specification is a series of regulations and standards of SCCB bus communication, the regulations and standards comprise data transmission formats, time sequence requirements, address coding rules, signal level standards and the like and are used for ensuring that data communication is carried out between devices accurately, the adaptive feature quantity is the quantity of feature parameters which meet all feature requirements specified by the communication protocol specification in the signal feature set, and the compliance ratio coefficient is the ratio of the feature quantity which corresponds to the signal feature set and meets the communication protocol specification to the total feature quantity and is used for measuring the compliance degree of the signal features and the communication protocol specification.
Further, the time sequence signal data can be subjected to data cleaning through a mean value filtering algorithm to obtain pure signal data, the pure signal data can be subjected to feature extraction through a Fourier transform algorithm and the like to obtain a signal feature set, a communication protocol specification of SCCB bus communication can be queried through accessing an SCCB bus official technical document database or related professional standard files, signal features and protocol specification requirements can be compared one by one through compiling a special feature matching program based on the communication protocol specification, the number of adapting features in the signal feature fitting set is counted, the number of adapting features is divided by the total feature number of the signal feature set based on the number of adapting features, a corresponding compliance ratio coefficient of the signal feature fitting set is calculated, signal health degree is analyzed according to the compliance ratio coefficient, if the compliance ratio coefficient is close to 1, the condition that signals are highly matched with the communication protocol specification is indicated, and the signal health degree is high, and the lower the signal health degree is the lower.
According to the conflict event record, the communication conflict frequency corresponding to the homogeneous ID equipment is calculated, so that the conflict condition in the equipment communication process can be quantified, a key basis is provided for rapidly positioning a communication bottleneck, optimizing network resource allocation and formulating a targeted fault elimination strategy, the stability and reliability of an SCCB bus communication system are obviously improved, and the explanation is that the communication conflict frequency represents the conflict occurrence frequency of the homogeneous ID equipment in the SCCB bus communication.
In detail, the calculating, according to the conflict event record, the communication conflict frequency corresponding to the homogeneous ID device includes:
Based on the conflict event records, determining conflict event frequency and device communication records corresponding to the homogeneous ID devices;
Counting the active communication duration corresponding to each device in the homogeneous ID devices from the device communication record;
Collecting throughput data and communication blocking events of the homogeneous ID device in the device communication record;
and calculating the communication conflict frequency corresponding to the homogeneous ID equipment by combining the conflict event frequency, the active communication duration, the throughput data and the communication blocking event.
It is to be explained that the conflict event frequency is statistics of the number of communication conflicts of the homogeneous ID devices in a certain period of time, the device communication record is detailed record of various information generated by the homogeneous ID devices in the communication process, including but not limited to starting and ending time of communication, data transmission content, communication state and the like, and is basic data for comprehensively knowing the device communication condition, the active communication duration is a sum of time when each device in the homogeneous ID devices is in an actual communication active state and is counted from the device communication record, the actual participation degree of the devices in the communication process is reflected, the throughput data is record of the data quantity transmitted by the homogeneous ID devices in the device communication record in unit time and reflects the capability and efficiency of device data transmission, and the communication blocking event is a record of the situation that the device communication cannot be normally performed due to various conflicts or interference in the device communication record and is an important basis for analyzing the device communication fault.
Further, based on the conflict event records, a specially designed event analysis program is utilized to sort, screen and count and determine conflict event frequencies and device communication records corresponding to the homogeneous ID devices according to device ID, active communication duration corresponding to each device in the homogeneous ID devices can be counted from the device communication records according to communication starting and ending timestamp information by compiling a time counting script, and throughput data and communication blocking events of the homogeneous ID devices in the device communication records can be collected according to data transmission related fields and communication state identifiers in the device communication records by developing a data extraction plug-in.
Further, as an optional embodiment of the present invention, the calculating, by combining the collision event frequency, the active communication duration, the throughput data, and the communication blocking event, the communication collision frequency corresponding to the homogeneous ID device includes:
Identifying successful throughput data in the throughput data, and counting throughput transmission time length corresponding to the successful throughput data;
identifying an event time stamp corresponding to the communication blocking event, and calculating the communication blocking time length of the communication blocking event based on the event time stamp;
And calculating the communication conflict frequency corresponding to the homogeneous ID equipment by combining the conflict event frequency, the active communication duration, the throughput transmission duration and the communication blocking duration through the following formula:
Wherein G d represents a communication collision frequency corresponding to a d-th device in the homogeneous ID devices, E d represents a collision event frequency corresponding to the d-th device in the homogeneous ID devices, F active-d represents an active communication duration corresponding to the d-th device in the homogeneous ID devices, F trans-d represents a throughput transmission duration corresponding to the d-th device in the homogeneous ID devices, F block-d represents a communication blocking duration corresponding to the d-th device in the homogeneous ID devices, and d represents a sequence number corresponding to the homogeneous ID devices.
It is to be explained that the successful throughput data is a data volume related record part of the throughput data, which is used for successfully completing transmission in a data transmission process, and represents a data result of effective transmission of equipment, the throughput transmission duration is a time length from starting transmission to successfully completing transmission and corresponding to the successful throughput data, reflects time spent for successfully transmitting the data, the event timestamp is information of a specific time point corresponding to the communication blocking event and used for accurately identifying the occurrence time of the event, and the communication blocking duration is a duration from starting communication blocking to recovering normal (or ending communication blocking) of the communication blocking event and is used for measuring the communication blocking duration.
Further, the successful throughput data can be determined by identifying Cyclic Redundancy Check (CRC) values of the throughput data, a sender calculates a CRC value according to data content and sends the CRC value together when sending the data, a receiver recalculates the CRC value after receiving the data and compares the CRC value with the received CRC value, if the CRC value is consistent with the CRC value, the partial data can be judged to be the successful throughput data, the throughput transmission time corresponding to the successful throughput data can be counted by extracting transmission start and end time stamps corresponding to the successful throughput data and calculating difference values, event time stamps corresponding to the communication blocking event can be identified by writing a time stamp extraction program aiming at a communication blocking event data structure, and the communication blocking time length of the communication blocking event can be calculated by subtracting a previous time stamp (if two time stamp records exist for starting and ending a blocking event) or according to difference value calculation of a blocking end time and the starting time stamp (if only the starting time stamp is recorded).
S4, extracting response delay characteristics and bit error rate data of the same-quality ID equipment, constructing a quality evaluation matrix of the same-quality ID equipment by combining the response delay characteristics and the bit error rate data, and generating a dynamic scheduling strategy of the virtual address based on the quality evaluation matrix.
The invention constructs the quality evaluation matrix of the homogeneous ID equipment by combining the response delay characteristics and the bit error rate data, can obtain a plurality of quality related dimension visualization tools, generates the dynamic scheduling strategy of the virtual address based on the quality evaluation matrix, can optimize virtual address allocation according to the actual running condition of the equipment, improves the overall running efficiency and the data transmission accuracy of the system, ensures the stable and efficient running of the system, has the characteristics that the response delay characteristics reflect the time consumed by the response of the homogeneous ID equipment after receiving a request, can be obtained by recording the time interval of the repeated response of the equipment and carrying out statistic analysis, the bit error rate data refer to the proportion of error codes generated by the equipment in the data transmission process, can be calculated by comparing the difference of sending data and receiving data, and the quality evaluation matrix is a tool for intuitively reflecting the comprehensive quality condition of the equipment by determining the weight of each factor, grading the characteristics and the data and constructing a two-dimensional matrix, can be used for measuring the performance of the equipment under the different quality, and has the characteristics, and the quality evaluation scheme of the dynamic scheduling strategy of the equipment according to the quality allocation has the dynamic scheduling strategy of the dynamic ID equipment has the same quality requirements as the dynamic allocation strategy.
The step of constructing the quality evaluation matrix of the homogeneous ID equipment by combining the response delay characteristics and the bit error rate data comprises the steps of determining the weight coefficient of response delay and bit error rate in quality evaluation according to equipment types and application scenes, such as the response delay weight is higher in video streaming scenes with extremely high real-time requirements, and in financial data transmission scenes with extremely strict requirements on data accuracy, bit error rate weight is higher, classifying the response delay characteristic values of the homogeneous ID equipment according to set response delay classification standards, such as the response delay is classified into extremely low delay, medium delay, high delay and extremely high delay, classifying bit error rate data according to bit error rate classification standards, such as the response delay is classified into extremely low bit error rate, medium bit error rate, high bit error rate and extremely high bit error rate, classifying the response delay into rows, constructing a two-dimensional matrix, such as the response delay is low in the response delay and low bit error rate crossing position, setting the response delay characteristic values of the homogeneous ID equipment to the set up the quality evaluation matrix, setting the response delay characteristic values of the homogeneous ID equipment to the quality evaluation matrix, and the quality evaluation matrix is set up the quality evaluation matrix according to the quality evaluation matrix, the weight coefficient is used for reflecting the relative importance degree of the influence of response delay and error rate on the quality of the equipment, the response delay grading standard and the error rate grading standard are demarcation limits preset according to the performance requirements of the equipment and the industry experience, and the quality evaluation grade is visual description of the comprehensive quality condition of the equipment.
The method comprises the steps of generating a dynamic scheduling strategy of a virtual address based on a quality evaluation matrix, wherein different quality evaluation levels in the quality evaluation matrix are associated with virtual address allocation priorities, such as homogeneous ID equipment with a quality evaluation level of 'excellent', the virtual address with the highest priority is allocated to ensure that the homogeneous ID equipment can acquire system resources preferentially and ensure efficient operation, equipment with a quality evaluation level of 'poor') is allocated with the lowest priority virtual address, monitoring and maintaining are carried out at the same time, the priority is adjusted after performance improvement, the virtual address allocation strategy is dynamically adjusted according to the current resource use condition and task requirement of a system, for example, when the system resources are tensed, the virtual address allocation of low-priority equipment is reduced, the requirement of high-priority equipment is preferentially met, when the system loads are lower, the resource allocation of the low-priority equipment is properly increased, the system resources are fully utilized, the response delay characteristics and bit error rate data of the homogeneous ID equipment are continuously monitored, the quality evaluation matrix is updated in real time according to new data, the dynamic scheduling strategy of the virtual address is correspondingly adjusted, and the system is ensured to always reasonably allocate the virtual address according to the actual quality of the equipment.
S5, generating a cooperative control instruction of the homogeneous ID equipment according to the communication conflict frequency and the dynamic scheduling strategy, executing real-time switching of the virtual address and the physical address by using the instruction set, and outputting a communication stability result of the SCCB bus.
According to the invention, the cooperative control instruction is generated according to the communication conflict frequency and the dynamic scheduling strategy, and further the real-time switching of the virtual address and the physical address is realized by utilizing the instruction set, so that the communication stability of the SCCB bus can be effectively improved, the high-efficiency operation of system communication is comprehensively ensured, and the cooperative control instruction is a series of control command sets for regulating and controlling the cooperative work of the homogeneous ID equipment so as to reduce the communication conflict and optimize the communication efficiency, and the generation of the cooperative control instruction sets depends on the accurate grasp of the communication conflict frequency and the reasonable application of the dynamic scheduling strategy.
According to the communication conflict frequency and the dynamic scheduling policy, generating a cooperative control instruction of the homogeneous ID equipment, which specifically includes the steps of deeply researching the change trend of the communication conflict frequency, judging whether the current conflict frequency is in a normal range, for example, if the communication conflict frequency continuously rises within a period of time and exceeds a preset normal threshold value, indicating that the communication condition is worsened, taking urgent measures, identifying the key homogeneous ID equipment causing high conflict frequency, finding out the equipment causing the most frequently of conflicts through detailed analysis of conflict event records, determining the virtual address priority to be allocated by the homogeneous ID equipment with different quality grades according to the dynamic scheduling policy generated by a quality evaluation matrix, for example, for the equipment with the quality evaluation grade of 'excellent', the corresponding virtual address should have higher priority to ensure that the transmission opportunity is obtained when the communication resource is tense, dynamically adjusting the allocation policy of the virtual address, when the system load is higher, carrying out proper allocation of the virtual address to the equipment with the low priority, limiting the communication requirement of the equipment with the same quality ID related to the low priority, when the virtual address allocation of the system load is properly carried out the virtual address, the virtual address allocation of the equipment with the priority is limited to be capable of generating the priority when the communication resource is met, the priority is limited by the equipment with the priority to be able to generate the communication resource, and the priority is limited when the communication resource is met, the priority is generated by the equipment with the priority is limited to have a certain priority to be able to be allocated to the communication resource, and the priority to the network equipment can be allocated to the communication equipment when the priority is limited to the priority is met, and the priority is generated when the priority is met, the method and the system ensure timeliness and stability of communication, develop communication coordination instructions among devices, for example, arrange certain devices to communicate in a specific time period, avoid a plurality of devices competing for communication resources at the same time, reduce conflict frequency, and explain that analysis of communication conflict frequency provides basis for determining problem devices and conflict severity, dynamic scheduling strategies combine system loads and device quality to provide guidance for reasonably distributing virtual addresses, and the generated cooperative control instructions are specific operation commands for standardizing communication behaviors of homogeneous ID devices and improving communication stability.
The invention uses the instruction set to execute the real-time switching of the virtual address and the physical address, outputs the communication stable result of the SCCB bus, and further obtains the communication optimizing result.
Compared with the prior art, the method and the system have the advantages that the homogeneous ID equipment is identified from the slave equipment based on the initial ID configuration information, the communication flow of the SCCB bus can be effectively simplified, the time cost of adapting and analyzing different ID equipment by a host is reduced, further, the method and the system construct a dynamic ID mapping model of the homogeneous ID equipment according to the address allocation rule, the dynamic change of the number of the slave equipment can be flexibly dealt with, when the homogeneous ID equipment is newly added or removed, the mapping relation is quickly adjusted, the system communication stability and high efficiency are guaranteed, the signal health degree of the SCCB bus communication is analyzed based on the time sequence signal data, the influence range and degree of the SCCB bus communication can be judged through the signal anti-interference capability of the signal health degree, so that anti-interference measures can be pertinently adopted, the communication reliability is improved. Therefore, the method and the system for the ID homogenization communication of the SCCB bus slave can improve the ID homogenization communication efficiency of the SCCB bus slave.
Example 2:
as shown in FIG. 2, a functional block diagram of an SCCB bus slave ID homogenizing communication system according to the present invention is shown.
The present invention provides an SCCB bus slave ID homogenization communication system 200 that can be installed in an electronic device. According to the implemented functions, the system for homogenizing the SCCB bus slave ID may include an address allocation rule extraction module 201, a real-time mapping relation establishment module 202, a communication collision frequency calculation module 203, a dynamic scheduling policy generation module 204, and a communication optimization processing module 205. The module of the invention, which may also be referred to as a unit, refers to a series of computer program segments, which are stored in the memory of the electronic device, capable of being executed by the processor of the electronic device and of performing a fixed function.
In the embodiment of the present invention, the functions of each module/unit are as follows:
The address allocation rule extraction module 201 is configured to obtain initial ID configuration information of a slave device on an SCCB bus, identify a homogeneous ID device from the slave device based on the initial ID configuration information, and extract an address allocation rule corresponding to the homogeneous ID device;
The real-time mapping relationship establishing module 202 is configured to establish a dynamic ID mapping model of the homogeneous ID device according to the address allocation rule, generate a virtual address for the homogeneous ID device through the dynamic ID mapping model, and establish a real-time mapping relationship between the virtual address and a physical address of the homogeneous ID device;
The communication conflict frequency calculating module 203 is configured to collect time sequence signal data and a conflict event record in an SCCB bus communication process based on the real-time mapping relationship, analyze signal health degree during SCCB bus communication based on the time sequence signal data, and calculate a communication conflict frequency corresponding to the homogeneous ID device according to the conflict event record;
The dynamic scheduling policy generating module 204 is configured to extract response delay characteristics and bit error rate data of the homogeneous ID device, construct a quality evaluation matrix of the homogeneous ID device in combination with the response delay characteristics and the bit error rate data, and generate a dynamic scheduling policy of the virtual address based on the quality evaluation matrix;
The communication optimization processing module 205 is configured to generate a cooperative control instruction of the homogeneous ID device according to the communication collision frequency and the dynamic scheduling policy, execute real-time switching between the virtual address and the physical address by using the instruction set, and output a communication stability result of the SCCB bus.
In detail, the modules in the SCCB bus slave ID homogenization communication system 200 in the embodiment of the present invention use the same technical means as the SCCB bus slave ID homogenization communication method described in fig. 1, and can produce the same technical effects, which are not described herein.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. A method for SCCB bus slave ID homogenization communication, the method comprising:
Acquiring initial ID configuration information of slave equipment on an SCCB bus, identifying homogeneous ID equipment from the slave equipment based on the initial ID configuration information, and extracting an address allocation rule corresponding to the homogeneous ID equipment;
according to the address allocation rule, a dynamic ID mapping model of the homogeneous ID equipment is constructed, a virtual address is generated for the homogeneous ID equipment through the dynamic ID mapping model, and a real-time mapping relation between the virtual address and a physical address of the homogeneous ID equipment is established;
Acquiring time sequence signal data and conflict event records in the SCCB bus communication process based on the real-time mapping relation, analyzing the signal health degree of the SCCB bus communication based on the time sequence signal data, and calculating the communication conflict frequency corresponding to the homogeneous ID equipment according to the conflict event records;
Extracting response delay characteristics and bit error rate data of the same quality ID equipment, constructing a quality evaluation matrix of the same quality ID equipment by combining the response delay characteristics and the bit error rate data, and generating a dynamic scheduling strategy of the virtual address based on the quality evaluation matrix;
and generating a cooperative control instruction of the homogeneous ID equipment according to the communication conflict frequency and the dynamic scheduling strategy, executing real-time switching of the virtual address and the physical address by using the instruction set, and outputting a communication stability result of an SCCB bus.
2. The method for SCCB bus slave ID homogenization communication of claim 1, wherein the identifying a homogeneous ID device from the slave devices based on the initial ID configuration information includes:
identifying an identification field in the initial ID configuration information to obtain a configuration identification field;
extracting key identification characters in the configuration identification field, and analyzing identification field semantics corresponding to the key identification field;
Calculating the Hamming distance similarity between the semantics of the identification fields;
And identifying the homogeneous ID equipment from the slave equipment when the Hamming distance similarity is larger than a preset similarity.
3. The method for SCCB bus slave ID homogeneity communication of claim 2, wherein said calculating hamming distance similarity between said identification field semantics comprises:
the Hamming distance similarity between the identification field semantics is calculated by the following formula:
Wherein α represents a hamming distance similarity between the identification field semantics, B i represents an i-th character in the identification field semantics, B i+1 represents an i+1th character in the identification field semantics, i represents a character sequence number in the identification field semantics, and q represents the number of characters of the identification field semantics.
4. The method for the SCCB bus slave ID homogenization communication of claim 1, wherein the constructing a dynamic ID mapping model of the homogenization ID device according to the address allocation rule includes:
Performing topology analysis on the address allocation rule to obtain an address logic tree;
analyzing a hierarchical structure corresponding to the address logic tree, and designing a segmentation hash function corresponding to the address logic tree based on the hierarchical structure;
calculating a virtual address pool corresponding to the address logic tree based on the segmentation hash function;
Optimizing the virtual address pool to obtain an optimized virtual address pool;
and constructing a dynamic ID mapping model of the homogeneous ID equipment based on the optimized address pool.
5. The method for SCCB bus slave ID homogenization communication of claim 1, wherein the establishing of the real-time mapping relationship between the virtual address and the physical address of the homogenization ID device includes:
Detecting address conflict between the virtual address and the physical address of the homogeneous ID equipment to obtain a conflict address list;
analyzing the address importance degree corresponding to each address in the conflict address list;
filtering the conflict address list based on the address importance degree to obtain a filtered address list;
updating the virtual address by using the filtered address list to obtain a target virtual address;
Analyzing the mapping association relation between the target virtual address and the physical address of the homogeneous ID equipment;
And based on the mapping association relation, establishing a real-time mapping relation between the target virtual address and the physical address of the homogeneous ID equipment.
6. The method for SCCB bus slave ID homogenization communication of claim 5, wherein the analyzing the mapping association between the target virtual address and the physical address of the homogenization ID device includes:
inquiring the virtual equipment corresponding to the target virtual address, and analyzing equipment function attributes corresponding to the virtual equipment;
Analyzing the function attribute of the homogeneous equipment corresponding to the homogeneous ID equipment, and extracting the characterization function attribute in the function attribute of the equipment and the function attribute of the homogeneous equipment to obtain a first function attribute and a second function attribute;
calculating attribute association between the first functional attribute and the second functional attribute;
And analyzing the mapping association relation between the target virtual address and the physical address of the homogeneous ID equipment based on the attribute association degree.
7. The method for SCCB bus slave ID homogenization communication of claim 1, wherein analyzing the signal health at the time of SCCB bus communication based on the timing signal data includes:
performing data cleaning on the time sequence signal data to obtain pure signal data;
extracting the characteristics of the pure signal data to obtain a signal characteristic set;
inquiring a communication protocol specification of SCCB bus communication, and counting the number of the adaptive features in the signal feature set based on the communication protocol specification;
calculating a compliance ratio coefficient corresponding to the signal feature set based on the adaptation feature quantity;
And analyzing the signal health degree of the SCCB during bus communication according to the compliance ratio coefficient.
8. The method for the SCCB bus slave ID homogenization communication of claim 1, wherein the calculating the communication collision frequency corresponding to the homogenization ID device according to the collision event record includes:
Based on the conflict event records, determining conflict event frequency and device communication records corresponding to the homogeneous ID devices;
Counting the active communication duration corresponding to each device in the homogeneous ID devices from the device communication record;
Collecting throughput data and communication blocking events of the homogeneous ID device in the device communication record;
and calculating the communication conflict frequency corresponding to the homogeneous ID equipment by combining the conflict event frequency, the active communication duration, the throughput data and the communication blocking event.
9. The method for SCCB bus slave ID homogenization communication of claim 8, wherein the calculating the communication collision frequency corresponding to the homogenization ID device in combination with the collision event frequency, the active communication duration, the throughput data, and the communication blocking event includes:
Identifying successful throughput data in the throughput data, and counting throughput transmission time length corresponding to the successful throughput data;
identifying an event time stamp corresponding to the communication blocking event, and calculating the communication blocking time length of the communication blocking event based on the event time stamp;
And calculating the communication conflict frequency corresponding to the homogeneous ID equipment by combining the conflict event frequency, the active communication duration, the throughput transmission duration and the communication blocking duration through the following formula:
Wherein G d represents a communication collision frequency corresponding to a d-th device in the homogeneous ID devices, E d represents a collision event frequency corresponding to the d-th device in the homogeneous ID devices, F active-d represents an active communication duration corresponding to the d-th device in the homogeneous ID devices, F trans-d represents a throughput transmission duration corresponding to the d-th device in the homogeneous ID devices, F block-d represents a communication blocking duration corresponding to the d-th device in the homogeneous ID devices, and d represents a sequence number corresponding to the homogeneous ID devices.
10. A system for SCCB bus slave ID homogenization communication, the system comprising:
The address allocation rule extraction module is used for acquiring initial ID configuration information of slave equipment on the SCCB bus, identifying homogeneous ID equipment from the slave equipment based on the initial ID configuration information, and extracting an address allocation rule corresponding to the homogeneous ID equipment;
The real-time mapping relation establishing module is used for establishing a dynamic ID mapping model of the homogeneous ID equipment according to the address allocation rule, generating a virtual address for the homogeneous ID equipment through the dynamic ID mapping model, and establishing a real-time mapping relation between the virtual address and a physical address of the homogeneous ID equipment;
the communication conflict frequency calculation module is used for collecting time sequence signal data and conflict event records in the SCCB bus communication process based on the real-time mapping relation, analyzing the signal health degree of the SCCB bus communication based on the time sequence signal data, and calculating the communication conflict frequency corresponding to the homogeneous ID equipment according to the conflict event records;
The dynamic scheduling strategy generation module is used for extracting response delay characteristics and bit error rate data of the homogeneous ID equipment, constructing a quality evaluation matrix of the homogeneous ID equipment by combining the response delay characteristics and the bit error rate data, and generating a dynamic scheduling strategy of the virtual address based on the quality evaluation matrix;
And the communication optimization processing module is used for generating a cooperative control instruction of the homogeneous ID equipment according to the communication conflict frequency and the dynamic scheduling strategy, executing real-time switching between the virtual address and the physical address by utilizing the instruction set, and outputting a communication stability result of the SCCB bus.
CN202510395446.7A 2025-03-31 2025-03-31 Communication method and system for SCCB bus slave ID homogeneity Pending CN120223677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510395446.7A CN120223677A (en) 2025-03-31 2025-03-31 Communication method and system for SCCB bus slave ID homogeneity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510395446.7A CN120223677A (en) 2025-03-31 2025-03-31 Communication method and system for SCCB bus slave ID homogeneity

Publications (1)

Publication Number Publication Date
CN120223677A true CN120223677A (en) 2025-06-27

Family

ID=96102225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510395446.7A Pending CN120223677A (en) 2025-03-31 2025-03-31 Communication method and system for SCCB bus slave ID homogeneity

Country Status (1)

Country Link
CN (1) CN120223677A (en)

Similar Documents

Publication Publication Date Title
CN107992398B (en) Monitoring method and monitoring system of service system
US9767006B2 (en) Deploying trace objectives using cost analyses
US8924941B2 (en) Optimization analysis using similar frequencies
US8843901B2 (en) Cost analysis for selecting trace objectives
US8997063B2 (en) Periodicity optimization in an automated tracing system
CN104007994B (en) Updating method, upgrading method and upgrading system based on strategy library interaction
CN110362473B (en) Method and device for optimizing test environment, storage medium, and terminal
CN118761745B (en) OA collaborative workflow optimization method applied to enterprise
US20130283240A1 (en) Application Tracing by Distributed Objectives
CN109684052B (en) Transaction analysis method, apparatus, device and storage medium
CN107220121B (en) A sandbox environment testing method and system under NUMA architecture
CN113949577A (en) Data attack analysis method applied to cloud service and server
CN111597550A (en) A kind of log information analysis method and related device
CN113297249A (en) Slow query statement identification and analysis method and device and query statement statistical method and device
CN112214316A (en) Data resource allocation method based on Internet of things and cloud computing server
CN113762377A (en) Network traffic identification method, device, equipment and storage medium
CN118802331A (en) Data processing method, device, equipment and storage medium
CN120223677A (en) Communication method and system for SCCB bus slave ID homogeneity
CN111917848A (en) Data processing method based on edge computing and cloud computing cooperation and cloud server
CN112688947B (en) Internet-based intelligent monitoring method and system for network communication information
CN112311679B (en) State detection method, device, electronic device and readable storage medium
CN110532253A (en) A kind of business diagnosis method, system and cluster
CN120236722B (en) Student psychological state identification method and system based on multidimensional data analysis
CN113434537A (en) Data processing method and device based on data acquisition
HK40059145A (en) Method and device for identifying and analyzing slow query statements, and method and device for counting query statements

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