CN115914327A - Control method, device, equipment and storage medium - Google Patents

Control method, device, equipment and storage medium Download PDF

Info

Publication number
CN115914327A
CN115914327A CN202211385383.XA CN202211385383A CN115914327A CN 115914327 A CN115914327 A CN 115914327A CN 202211385383 A CN202211385383 A CN 202211385383A CN 115914327 A CN115914327 A CN 115914327A
Authority
CN
China
Prior art keywords
communication
module
data
chip
communication module
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.)
Granted
Application number
CN202211385383.XA
Other languages
Chinese (zh)
Other versions
CN115914327B (en
Inventor
王德平
王强
于长虹
田辉
吴茜
廖波
焦育成
宋金海
王泽尉
赵晓雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202211385383.XA priority Critical patent/CN115914327B/en
Publication of CN115914327A publication Critical patent/CN115914327A/en
Application granted granted Critical
Publication of CN115914327B publication Critical patent/CN115914327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The invention discloses a control method, a control device, control equipment and a storage medium. The method comprises the following steps: acquiring an error rate; if the error rate is smaller than a first threshold value, the communication is carried out through the PHY function module; if the error rate is greater than or equal to the first threshold value, communication is carried out through the external expansion PHY chip.

Description

Control method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of vehicles, in particular to a control method, a control device, control equipment and a storage medium.
Background
In recent years, the demand of communication chips has increased greatly, and new vitality is injected into the global semiconductor industry, so that the communication chips are widely applied to the industries of mobile communication, wireless internet and wireless data transmission, which will become the largest application market of the global semiconductor chip industry in the beginning of the 21 st century.
With the vehicle-scale communication chip entering the market, the communication chip may fail due to the PHY function caused by the error of the analog circuit, and the communication timeliness cannot be guaranteed.
Disclosure of Invention
Embodiments of the present invention provide a control method, an apparatus, a device, and a storage medium, to solve a problem that a communication chip cannot guarantee communication failure, and enable communication through a PHY function module inside the communication chip when an error rate is smaller than a first threshold, and enable communication through an externally-extended PHY chip when the error rate is greater than or equal to the first threshold, thereby guaranteeing communication timeliness.
According to an aspect of the present invention, there is provided a control method applied to a communication apparatus including: the control method comprises the following steps that a communication chip and an externally-extended PHY chip are adopted, wherein the communication chip comprises a PHY functional module, and the control method comprises the following steps:
acquiring an error rate;
if the error rate is smaller than a first threshold value, the communication is carried out through the PHY function module;
and if the error rate is greater than or equal to a first threshold value, communication is carried out through the external expansion PHY chip.
Further, the method also comprises the following steps:
receiving communication information sent by the TBOX through a vehicle-mounted Ethernet interface;
checking according to the communication information;
and if the verification fails, discarding the communication information.
Further, the method also comprises the following steps:
acquiring temperature data of a communication chip;
and if the temperature data of the communication chip is greater than or equal to the temperature threshold, reducing the main frequency and/or the workload of the communication chip.
Further, the method also comprises the following steps:
and sending the data of the communication chip to a data recorder through the Ethernet diagnosis interface so that the data recorder records the data of the communication chip.
Further, the communication chip further includes: at least one first communication module and at least one second communication module;
the control method further comprises the following steps:
when the total load rate of the first communication module and the second communication module is greater than a load rate threshold value, receiving target information sent by a CPU (Central processing Unit) through the first communication module, and sending the target information to the second communication module;
and sending the target information to the CPU through the second communication module so that the CPU determines the full-load time delay of the communication chip according to the time for receiving the target information and the timestamp carried by the target information.
Further, the method also comprises the following steps:
sending data to the streaming instrument through the first communication module so that the streaming instrument sends the received data to the second communication module;
and determining the full-load error rate of the communication chip according to the data sent to the flow meter by the first communication module and the data received by the second communication module.
Further, the method also comprises the following steps:
receiving data sent by the streaming instrument through the second communication module, and sending the received data to the first communication module;
and sending the received data to the flow meter through the first communication module, so that the flow meter determines the full load error rate of the communication chip according to the data sent to the second communication module and the received data sent by the first communication module.
According to another aspect of the present invention, there is provided a control apparatus configured in a communication device including: communication chip and external expansion PHY chip, wherein, communication chip includes PHY functional module, control module includes:
the acquisition module is used for acquiring the error rate;
the first control module is used for carrying out communication through the PHY function module if the error rate is smaller than a first threshold value;
and the second control module is used for carrying out communication through the external expansion PHY chip if the error rate is greater than or equal to the first threshold value.
Further, the method also comprises the following steps:
the receiving module is used for receiving communication information sent by the TBOX through a vehicle-mounted Ethernet interface;
the checking module is used for checking according to the communication information;
and the information screening module is used for discarding the communication information if the verification fails.
Further, the method also comprises the following steps:
the temperature data acquisition module is used for acquiring the temperature data of the communication chip;
and the third control module is used for reducing the main frequency and/or the working load of the communication chip if the temperature data of the communication chip is greater than or equal to the temperature threshold.
Further, the method also comprises the following steps:
and the recording module is used for sending the communication chip data to the data recorder through the Ethernet diagnosis interface so that the data recorder records the communication chip data.
Further, the communication chip further includes: at least one first communication module and at least one second communication module;
the control device further includes:
the information sending module is used for receiving target information sent by the CPU through the first communication module and sending the target information to the second communication module when the total load rate of the first communication module and the second communication module is greater than a load rate threshold value;
and the first determining module is used for sending the target information to the CPU through the second communication module so that the CPU determines the full-load time delay of the communication chip according to the time for receiving the target information and the time stamp carried by the target information.
Further, the method also comprises the following steps:
the first data sending module is used for sending data to the streaming instrument through the first communication module so that the streaming instrument sends the received data to the second communication module;
and the second determining module is used for determining the full-load bit error rate of the communication chip according to the data sent to the streaming instrument by the first communication module and the data received by the second communication module.
Further, the method also comprises the following steps:
the second data sending module is used for receiving the data sent by the streaming instrument through the second communication module and sending the received data to the first communication module;
and the third determining module is used for sending the received data to the flow meter through the first communication module so that the flow meter can determine the full load error rate of the communication chip according to the data sent to the second communication module and the received data sent by the first communication module.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the control method according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the control method according to any one of the embodiments of the present invention when the computer instructions are executed.
According to the embodiment of the invention, when the error rate is less than a first threshold value, the communication is carried out through the PHY function module; when the error rate is greater than or equal to the first threshold value, communication is carried out through the external expansion PHY chip, and the communication timeliness can be guaranteed.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of a communication apparatus in an embodiment of the present invention;
FIG. 2 is a flow chart of a control method in an embodiment of the present invention;
FIG. 3 is a PCB calibration schematic of a clock edge;
FIG. 4 is a schematic diagram of the traces of the clock lines and the data lines on the PCB according to the embodiment of the invention;
fig. 5 is a schematic diagram of a communication information verification flow in the embodiment of the present invention;
FIG. 6 is a schematic diagram of a heat dissipation structure according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of self-collection and diagnosis of data of a communication chip in a full vehicle test according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a method for testing a full-load delay of a communication chip according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a full-load bit error rate testing method for a communication chip according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of another method for testing full-load bit error rate of a communication chip according to an embodiment of the present invention;
FIG. 11 is a schematic structural diagram of a control device in an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an electronic device in the embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a schematic structural diagram of a communication device, which includes: the communication chip comprises a PHY functional module and a core. The kernel is used for obtaining the error rate and switching to the external expansion PHY chip for communication when the error rate is larger than or equal to a first threshold value.
It should be noted that the home-made switch chip selected by the gateway controller has a PHY function, and normal communication can be performed through the PHY function module, and once the data volume is increased, the system kernel counts the hundred mega giga bit error rate and increases to more than 30%, and the communication requirement of the whole vehicle cannot be met, the switch is made to the external PHY chip, so as to ensure the communication timeliness.
Fig. 2 is a flowchart of a control method provided in an embodiment of the present invention, where the present embodiment is applicable to a case of controlling a communication chip, and the method may be executed by a control device in an embodiment of the present invention, where the control device may be implemented in a software and/or hardware manner, as shown in fig. 2, the method specifically includes the following steps:
and S110, acquiring the error rate.
Wherein the error rate is a hundred mega giga error rate.
Specifically, the method for obtaining the bit error rate may be: and counting the hundred mega gigabit error rate by the kernel of the communication equipment.
And S120, if the error rate is smaller than a first threshold value, performing communication through the PHY function module.
The first threshold may be 30%, or may be other values, which is not limited in the embodiments of the present invention.
Specifically, during normal communication, communication is performed through the PHY function module inside the communication chip. It should be noted that, the manner of determining whether normal communication is performed may be: and when the error rate is smaller than a first threshold value, determining that the communication chip is in a normal communication state.
And S130, if the error rate is greater than or equal to a first threshold value, performing communication through the external expansion PHY chip.
Specifically, if the bit error rate is detected to be greater than or equal to the first threshold, the communication mode is switched to the communication through the external expansion PHY chip.
As shown in fig. 3, fig. 3 is a schematic diagram of PCB calibration of a clock edge, and a design scheme of using the delay of the PCB to match the delay of a high-speed signal is used. When reaching giga, the vehicle gauge communication chip faces the influence of high-voltage signals and electromagnetic radiation on a vehicle, the situation that clock signals and data signals are not matched can occur, and in order to prevent signal faults, signal lines are delayed on a PCB to be matched with the clock signals. As shown in fig. 3, the predetermined clock signal is 1G signal, and since the interference of the on-board signal is received, the signal changes from 1G to 900M, so that the clock signal and the data signal cannot be matched at the rising edge, and the data failure requires the delay processing of the signal on the PCB. As shown in fig. 4, fig. 4 is a schematic diagram of routing of clock lines and data lines on a PCB, and when a PCB board to which a communication chip belongs is routed in a manner that the data lines are routed around the clock lines, the data lines can be longer than the clock lines, delay is consumed, and signals are required to be symmetrical to prevent interference.
Optionally, the method further includes:
receiving communication information sent by the TBOX through a vehicle-mounted Ethernet interface;
checking according to the communication information;
and if the verification fails, discarding the communication information.
Specifically, the checking according to the communication information may be performed in a manner that: and determining a check code according to the last 5 bits of the communication information, and checking according to the check code.
As shown in fig. 5, fig. 5 is a schematic diagram of a communication information checking process, a component TBOX in the vehicle, which is in communication with a gateway controller, transfers communication information to a communication chip through a vehicle-mounted ethernet interface, the last 5 bits of the communication information are check codes obtained by a cyclic redundancy algorithm, a kernel checks after receiving data, the data is used if the check is correct, and the data is discarded if the check is wrong. The scheme solves the problem that the error rate of a domestic vehicle-scale chip communication signal, especially a gigabit Ethernet signal, is high. The automobile controller does not check and identify data errors due to the importance of the data, so the scheme is the Ethernet communication of the vehicle-mounted entertainment system, a certain error rate is allowed, and the data can be checked.
Optionally, the method further includes:
acquiring temperature data of a communication chip;
and if the temperature data of the communication chip is greater than or equal to the temperature threshold, reducing the main frequency and/or the workload of the communication chip.
It should be noted that, in order to prevent the vehicle-scale communication chip from overheating, two special processes are required, first, active heat dissipation is performed, and the heat dissipation area and the heat dissipation fluidity are increased. And secondly, monitoring the temperature of the communication chip, and reducing the main frequency workload of the communication chip when the temperature is too high.
In a specific example, as shown in fig. 6, fig. 6 includes: gateway controller, vent valve and air conditioning system, the gateway controller includes: communication chip, soC, ventilation valve drive and board temperature sensor, wherein, the SoC is the outer chip that expands, and the communication chip includes: temperature IP and internal CPU.
It should be noted that, in order to ensure the radiation emission, conduction emission and anti-interference performance of the chip, EMC scanning is performed on the chip to identify EMC risks, and because the communication chip is internally IP integrated, the radiation emission exceeds the standard at the interface, and a shielding circuit can be arranged in advance to reduce the emission exceeding the standard and the anti-interference capability.
Optionally, the method further includes:
and sending the data of the communication chip to a data recorder through the Ethernet diagnosis interface so that the data recorder records the data of the communication chip.
In a specific example, as shown in fig. 7, fig. 7 is a schematic diagram illustrating self-collection and diagnosis of chip data in a vehicle test, which is used for verifying the capability of an exchange chip, strengthening the workload of the chip, providing data required for chip state analysis, implementing chip diagnosis and information transfer through an on-board core of the exchange chip, transferring the data to a data recorder through an ethernet diagnosis port TX of a vehicle for data recording, and performing summary statistics on core temperature, core voltage, core power, data frames sent and received by ethernet, data delay, and the like. In the existing automobile controller scheme, the diagnosis information comes from the interface state, and the technical scheme provided by the embodiment of the invention mainly aims at diagnosing the fault of the chip, so that the chip can normally operate even if the chip is in fault.
Optionally, the communication chip further includes: at least one first communication module and at least one second communication module;
when the total load rate of the first communication module and the second communication module is greater than a load rate threshold value, receiving target information sent by a CPU (Central processing Unit) through the first communication module, and sending the target information to the second communication module;
and sending the target information to the CPU through the second communication module so that the CPU determines the full-load time delay of the communication chip according to the time for receiving the target information and the timestamp carried by the target information.
Wherein the communication chip includes: at least two communication modules, it should be noted that, if the communication chip includes 3 communication modules: the communication module 1, the communication module 2, and the communication module 3 determine the communication module 1 as the first communication module and the communication module 2 as the second communication module. Alternatively, the communication module 1 is determined as the first communication module, and the communication module 3 is determined as the second communication module. Alternatively, the communication module 2 is determined as the first communication module, and the communication module 3 is determined as the second communication module. The embodiments of the present invention are not limited in this regard.
In a specific example, as shown in fig. 8, fig. 8 is a schematic diagram of a full load delay testing method for a communication chip, first, an ETH0 module is selected to communicate with an ETH1 module inside the communication chip, on a communication bus of the communication chip, a communication rate reaches giga, a bus load rate reaches 95%, that is, 95% of a data bus is busy, part of information in communication contents of the ETH0 module and the ETH1 module includes a time stamp, that is, the CPU transmits data to the ETH0 module, and the data includes time information using the electrical time as a reference zero point, the ETH0 module and the ETH1 module perform vehicle-mounted gigabit ethernet communication with a bus load of 95%, the ETH0 module transmits the received data to the ETH1 module, and after the transmitted data reaches the ETH1 module, the ETH1 module transmits information including the time stamp to the CPU, and the CPU makes a difference between the time of receiving the information and the time in the information, thereby obtaining the full load delay of the communication chip.
Optionally, the method further includes:
sending data to the streaming instrument through the first communication module so that the streaming instrument sends the received data to the second communication module;
and determining the full-load error rate of the communication chip according to the data sent to the flow meter by the first communication module and the data received by the second communication module.
In a specific example, as shown in fig. 9, fig. 9 is a schematic diagram of a full bit error rate testing method for a communication chip; the kernel controls the ETH0 to send data to the flow meter, the flow meter completely delivers the data to the ETH1, the ETH1 transmits the data to the kernel for verification, the kernel compares the sent data with the received data, and the error rate of the transmitted data is calculated.
Optionally, the method further includes:
receiving data sent by the streaming instrument through the second communication module, and sending the received data to the first communication module;
and sending the received data to the flow meter through the first communication module, so that the flow meter determines the full load error rate of the communication chip according to the data sent to the second communication module and the received data sent by the first communication module.
In a specific example, as shown in fig. 10, fig. 10 is a schematic diagram of another method for testing a full bit error rate of a communication chip; the data are sent to the ETH1 by the stream playing instrument, the two Ethernet communication modules are in direct communication through the routing table, the ETH1 sends the received data to the ETH0, the ETH0 transmits the data back to the stream playing instrument, and the error rate of the transmitted data is obtained by comparing the sent data with the received data by the stream playing instrument.
According to the technical scheme of the embodiment, when the error rate is smaller than a first threshold value, communication is carried out through the PHY function module; when the error rate is greater than or equal to the first threshold value, communication is carried out through the external expansion PHY chip, and the communication timeliness can be guaranteed.
Example two
Fig. 11 is a schematic structural diagram of a control device according to an embodiment of the present invention. The present embodiment may be applicable to the case of controlling a communication chip, the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be integrated in any device providing a control function, as shown in fig. 11, where the control apparatus specifically includes: an acquisition module 210, a first control module 220, and a second control module 230.
The device comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring an error rate;
the first control module is used for carrying out communication through the PHY function module if the error rate is smaller than a first threshold value;
and the second control module is used for carrying out communication through the external expansion PHY chip if the error rate is greater than or equal to the first threshold value.
Optionally, the method further includes:
the receiving module is used for receiving communication information sent by the TBOX through a vehicle-mounted Ethernet interface;
the checking module is used for checking according to the communication information;
and the information screening module is used for discarding the communication information if the verification fails.
Optionally, the method further includes:
the temperature data acquisition module is used for acquiring the temperature data of the communication chip;
and the third control module is used for reducing the main frequency and/or the working load of the communication chip if the temperature data of the communication chip is greater than or equal to the temperature threshold.
Optionally, the method further includes:
and the recording module is used for sending the communication chip data to the data recorder through the Ethernet diagnosis interface so that the data recorder records the communication chip data.
Optionally, the communication chip further includes: at least one first communication module and at least one second communication module;
the control device further includes:
the information sending module is used for receiving target information sent by the CPU through the first communication module and sending the target information to the second communication module when the total load rate of the first communication module and the second communication module is greater than a load rate threshold value;
and the first determining module is used for sending the target information to the CPU through the second communication module so that the CPU determines the full-load time delay of the communication chip according to the time for receiving the target information and the time stamp carried by the target information.
Optionally, the method further includes:
the first data sending module is used for sending data to the streaming instrument through the first communication module so that the streaming instrument sends the received data to the second communication module;
and the second determining module is used for determining the full-load error rate of the communication chip according to the data sent to the flow meter by the first communication module and the data received by the second communication module.
Optionally, the method further includes:
the second data sending module is used for receiving the data sent by the streaming instrument through the second communication module and sending the received data to the first communication module;
and the third determining module is used for sending the received data to the flow meter through the first communication module so that the flow meter can determine the full load error rate of the communication chip according to the data sent to the second communication module and the received data sent by the first communication module.
The product can execute the method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
According to the technical scheme of the embodiment, when the error rate is smaller than a first threshold value, communication is carried out through the PHY function module; when the error rate is greater than or equal to the first threshold value, communication is carried out through the external expansion PHY chip, and communication timeliness can be guaranteed.
EXAMPLE III
FIG. 12 illustrates a block diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 12, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 may also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 executes the respective methods and processes described above, such as the control method.
In some embodiments, the control method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the control method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the control method by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A control method applied to a communication device, the communication device comprising: the control method comprises the following steps that a communication chip and an externally-extended PHY chip are adopted, wherein the communication chip comprises a PHY functional module, and the control method comprises the following steps:
acquiring an error rate;
if the error rate is smaller than a first threshold value, the communication is carried out through the PHY function module;
and if the error rate is greater than or equal to a first threshold value, communication is carried out through the external expansion PHY chip.
2. The method of claim 1, further comprising:
receiving communication information sent by the TBOX through a vehicle-mounted Ethernet interface;
checking according to the communication information;
and if the verification fails, discarding the communication information.
3. The method of claim 1, further comprising:
acquiring temperature data of a communication chip;
and if the temperature data of the communication chip is greater than or equal to the temperature threshold, reducing the main frequency and/or the workload of the communication chip.
4. The method of claim 1, further comprising:
and sending the data of the communication chip to a data recorder through the Ethernet diagnosis interface so that the data recorder records the data of the communication chip.
5. The method of claim 1, wherein the communication chip further comprises: at least one first communication module and at least one second communication module;
the control method further comprises the following steps:
when the total load rate of the first communication module and the second communication module is greater than a load rate threshold value, receiving target information sent by a CPU (Central processing Unit) through the first communication module, and sending the target information to the second communication module;
and sending the target information to the CPU through the second communication module so that the CPU determines the full-load time delay of the communication chip according to the time for receiving the target information and the timestamp carried by the target information.
6. The method of claim 5, further comprising:
sending data to the streaming instrument through the first communication module so that the streaming instrument sends the received data to the second communication module;
and determining the full-load bit error rate of the communication chip according to the data sent to the flow meter by the first communication module and the data received by the second communication module.
7. The method of claim 5, further comprising:
receiving data sent by the streaming instrument through the second communication module, and sending the received data to the first communication module;
and sending the received data to the flow meter through the first communication module, so that the flow meter determines the full load error rate of the communication chip according to the data sent to the second communication module and the received data sent by the first communication module.
8. A control apparatus, provided in a communication device, the communication device comprising: the communication chip and extend PHY chip outward, wherein, the communication chip includes PHY functional module, the control module includes:
the acquisition module is used for acquiring the error rate;
the first control module is used for carrying out communication through the PHY function module if the error rate is smaller than a first threshold value;
and the second control module is used for carrying out communication through the external expansion PHY chip if the error rate is greater than or equal to the first threshold value.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the control method of any one of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to implement the control method of any one of claims 1-7 when executed.
CN202211385383.XA 2022-11-07 2022-11-07 Control method, device, equipment and storage medium Active CN115914327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211385383.XA CN115914327B (en) 2022-11-07 2022-11-07 Control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211385383.XA CN115914327B (en) 2022-11-07 2022-11-07 Control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115914327A true CN115914327A (en) 2023-04-04
CN115914327B CN115914327B (en) 2024-03-26

Family

ID=86477741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211385383.XA Active CN115914327B (en) 2022-11-07 2022-11-07 Control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115914327B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984030A (en) * 2012-12-06 2013-03-20 盛科网络(苏州)有限公司 Chip-level method and device for realizing Ethernet OAM frame delay measurement
CN105406998A (en) * 2015-11-06 2016-03-16 天津津航计算技术研究所 Dual-redundancy gigabit ethernet media access controller IP core based on FPGA
CN110995533A (en) * 2019-11-22 2020-04-10 配天机器人技术有限公司 Ethernet streaming test system
CN112788651A (en) * 2019-11-07 2021-05-11 Oppo(重庆)智能科技有限公司 Control method, terminal and storage medium
CN213585817U (en) * 2020-12-21 2021-06-29 沈阳东信创智科技有限公司 RTL9047 AA-based automobile gateway hardware platform
CN214202082U (en) * 2020-12-15 2021-09-14 中国第一汽车股份有限公司 Vehicle-mounted network system and automobile
US20220286829A1 (en) * 2021-03-03 2022-09-08 Realtek Semiconductor Corporation Bluetooth mesh network system and connection method having communication range extending mechanism
CN115168253A (en) * 2021-04-06 2022-10-11 合肥杰发科技有限公司 USB working mode switching method and electronic equipment
CN115185364A (en) * 2022-09-09 2022-10-14 北京智芯微电子科技有限公司 Intelligent device and power consumption management method thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984030A (en) * 2012-12-06 2013-03-20 盛科网络(苏州)有限公司 Chip-level method and device for realizing Ethernet OAM frame delay measurement
CN105406998A (en) * 2015-11-06 2016-03-16 天津津航计算技术研究所 Dual-redundancy gigabit ethernet media access controller IP core based on FPGA
CN112788651A (en) * 2019-11-07 2021-05-11 Oppo(重庆)智能科技有限公司 Control method, terminal and storage medium
CN110995533A (en) * 2019-11-22 2020-04-10 配天机器人技术有限公司 Ethernet streaming test system
CN214202082U (en) * 2020-12-15 2021-09-14 中国第一汽车股份有限公司 Vehicle-mounted network system and automobile
CN213585817U (en) * 2020-12-21 2021-06-29 沈阳东信创智科技有限公司 RTL9047 AA-based automobile gateway hardware platform
US20220286829A1 (en) * 2021-03-03 2022-09-08 Realtek Semiconductor Corporation Bluetooth mesh network system and connection method having communication range extending mechanism
CN115168253A (en) * 2021-04-06 2022-10-11 合肥杰发科技有限公司 USB working mode switching method and electronic equipment
CN115185364A (en) * 2022-09-09 2022-10-14 北京智芯微电子科技有限公司 Intelligent device and power consumption management method thereof

Also Published As

Publication number Publication date
CN115914327B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
CN110213143B (en) 1553B bus IP core and monitoring system
US8527714B2 (en) Secure avionics equipment and associated method of making secure
EP4191905A1 (en) Test method and device
CN105589772A (en) Method and apparatus for detecting logic crash of FPGA chip
CN111581043A (en) Server power consumption monitoring method and device and server
CN110764585A (en) Universal independent BMC board card
CN115757483A (en) Automatic testing method and device, electronic equipment and storage medium
US9529377B2 (en) Adaptive voltage scaling circuit and chip
CN115914327B (en) Control method, device, equipment and storage medium
CN111464637B (en) Unmanned vehicle data processing method, device, equipment and medium
CN115792583B (en) Method, device, equipment and medium for testing vehicle-gauge chip
CN108647124A (en) A kind of method and its device of storage skip signal
CN110554929A (en) Data verification method and device, computer equipment and storage medium
CN116192534A (en) Train control data communication transmission method, device, equipment and storage medium
CN105067994A (en) Method and application for positioning system-on-chip temporal logic error, and error rate calculation method
CN115482869A (en) Error injection testing method and device, electronic equipment and storage medium
CN117850396A (en) Test method and device of vehicle-mounted platform, electronic equipment and storage medium
CN115996410B (en) Method, device, equipment and storage medium for testing wireless communication protocol stack
CN117110707B (en) SOC integrated chip, frequency measurement circuit and frequency measurement method
CN114721895B (en) Verification method, platform, equipment and medium for design to be tested
CN102769461B (en) Method and system for improving output reliability of direct digital frequency synthesizer (DDS) signal source
CN114785717A (en) Method, apparatus, device and medium for determining maximum time delay of time-sensitive network
CN101419281B (en) Radar data true north fan moveout monitoring method
CN117707107A (en) Response time testing system and method
CN117527545A (en) Abnormality monitoring method and device for vehicle-mounted Ethernet, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant