CN114756286A - TBOX end data acquisition method and device, electronic equipment and storage medium - Google Patents

TBOX end data acquisition method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114756286A
CN114756286A CN202210505329.8A CN202210505329A CN114756286A CN 114756286 A CN114756286 A CN 114756286A CN 202210505329 A CN202210505329 A CN 202210505329A CN 114756286 A CN114756286 A CN 114756286A
Authority
CN
China
Prior art keywords
vehicle
data acquisition
tbox
ecu
data
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
CN202210505329.8A
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.)
Weichai Power Co Ltd
Weifang Weichai Power Technology Co Ltd
Original Assignee
Weichai Power Co Ltd
Weifang Weichai Power 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 Weichai Power Co Ltd, Weifang Weichai Power Technology Co Ltd filed Critical Weichai Power Co Ltd
Priority to CN202210505329.8A priority Critical patent/CN114756286A/en
Publication of CN114756286A publication Critical patent/CN114756286A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/30076Arrangements for executing specific machine instructions to perform miscellaneous control operations, e.g. NOP
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5021Priority

Abstract

The invention discloses a TBOX end data acquisition method, a TBOX end data acquisition device, electronic equipment and a storage medium. The TBOX end data acquisition method comprises the following steps: establishing connection between a vehicle-mounted TBOX and a vehicle, and sending a data acquisition switch starting instruction to a vehicle ECU through the vehicle-mounted TBOX; and after the vehicle ECU starts a data acquisition switch according to the data acquisition switch starting instruction, the vehicle ECU sends a data packet corresponding to the data flow request to the vehicle-mounted TBOX at fixed time according to the data flow request sent by the vehicle-mounted TBOX. The problem of the data acquisition request that TBOX end initiative was carried out, there is the probability to lead to the operation interrupt that is going on, simultaneously, ECU frequent response increases ECU's burden is solved, avoided ECU frequent response data acquisition request, reduce bus occupation rate, avoid with other processes conflict, improve ECU service stability's beneficial effect has been got.

Description

TBOX end data acquisition method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of data acquisition, in particular to a TBOX end data acquisition method, a TBOX end data acquisition device, electronic equipment and a storage medium.
Background
Under the condition that vehicle-mounted equipment is developed, the bus occupancy rate is greatly improved, and the bus resource is greatly consumed while the ECU response is waited by means of an active request. When a vehicle performs a service diagnosis function (such as data flashing and service testing), the TBOX terminal actively performs data acquisition requests, and there is a probability that ongoing operation is interrupted, and meanwhile, the ECU frequently responds, and the burden of the ECU is increased.
Disclosure of Invention
The invention provides a TBOX end data acquisition method, a TBOX end data acquisition device, electronic equipment and a storage medium, and aims to solve the problems that the probability of an ongoing operation interruption exists in an active data acquisition request of a TBOX end, and meanwhile, an ECU (electronic control unit) frequently responds to increase the burden of the ECU.
According to an aspect of the present invention, there is provided a TBOX end data acquisition method including:
establishing connection between a vehicle-mounted TBOX and a vehicle, and sending a data acquisition switch starting instruction to a vehicle ECU through the vehicle-mounted TBOX;
and after the vehicle ECU starts a data acquisition switch according to the data acquisition switch starting instruction, the vehicle ECU sends a data packet corresponding to the data flow request to the vehicle-mounted TBOX at fixed time according to the data flow request sent by the vehicle-mounted TBOX.
Optionally, after sending a data acquisition switch start command to the vehicle ECU through the on-vehicle TBOX, the method further includes:
and setting the data acquisition switch identification position of the vehicle ECU into a first identification for controlling a data acquisition switch.
Optionally, the TBOX end data acquisition method further includes:
and the vehicle ECU sets the identification position of the data acquisition switch into a first identification for controlling the data acquisition switch according to the starting instruction of the data acquisition switch.
Optionally, the end-data acquiring method further includes:
and after the vehicle ECU receives a data acquisition switch closing instruction sent by the vehicle-mounted TBOX, the vehicle ECU stops sending data packets to the vehicle-mounted TBOX.
Optionally, after receiving a data acquisition switch closing instruction sent by the vehicle-mounted TBOX, the vehicle ECU further includes:
and setting the data acquisition switch identification position of the vehicle ECU as a second identification for controlling a data acquisition switch.
Optionally, the end-data acquiring method further includes:
the vehicle ECU judges that the priority of the current unified diagnostic service of the vehicle is higher than the priority of sending a data packet to the vehicle-mounted TBOX, and generates the data flow interruption information;
And after the vehicle ECU sends data flow interruption information to the vehicle-mounted TBOX, stopping sending data packets to the vehicle-mounted TBOX.
Optionally, the end-data acquiring method further includes:
and after the vehicle ECU judges that the current unified diagnosis service of the vehicle is finished, the vehicle ECU restarts to send data packets to the vehicle-mounted TBOX.
According to another aspect of the present invention, there is provided a TBOX end data acquisition apparatus including:
the data acquisition switch starting instruction sending module is used for establishing connection between the vehicle-mounted TBOX and the vehicle and sending a data acquisition switch starting instruction to the vehicle ECU through the vehicle-mounted TBOX;
and the data packet sending module is used for sending a data packet corresponding to the data flow request to the vehicle-mounted TBOX at regular time according to the data flow request sent by the vehicle-mounted TBOX after the vehicle ECU starts a data acquisition switch according to the data acquisition switch starting instruction.
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 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, the computer program being executable by the at least one processor to enable the at least one processor to perform the TBOX end data acquisition method of any embodiment of the present invention.
According to another aspect of the present invention, a computer-readable storage medium is provided, and computer instructions are stored in the computer-readable storage medium, and when the computer instructions are executed, a processor is used for implementing the TBOX end data acquisition method according to any one embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the vehicle-mounted TBOX is connected with the vehicle, and a data acquisition switch starting instruction is sent to the vehicle ECU through the vehicle-mounted TBOX; and after the vehicle ECU starts a data acquisition switch according to the data acquisition switch starting instruction, the vehicle ECU sends a data packet corresponding to the data flow request to the vehicle-mounted TBOX at fixed time according to the data flow request sent by the vehicle-mounted TBOX. The problem of the data acquisition request that TBOX end initiative was carried out, there is the probability and leads to the operation interruption that is going on, simultaneously, ECU frequent response increases ECU's burden is solved, avoided ECU frequent response data acquisition request, reduce the bus occupation rate, avoid conflicting with other processes, improve ECU service stability's beneficial effect has been got.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present invention, nor are they intended to 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 in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a TBOX end data acquisition method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a TBOX-end data acquisition method provided by a second embodiment of the invention;
FIG. 3 is a diagram of the architecture of a TBOX-end data acquisition method according to a second embodiment of the invention;
FIG. 4 is a schematic structural diagram of a TBOX-end data acquisition device according to a third embodiment of the invention;
fig. 5 is a schematic structural diagram of an electronic device implementing the TBOX end data acquisition method according to the embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, 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 obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, 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 other sequences 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 flowchart of a TBOX-side data acquisition method according to an embodiment of the present invention, which is applicable to a case where data acquisition is performed by an actual vehicle-mounted TBOX, where the TBOX-side data acquisition method may be executed by a TBOX-side data acquisition device, and the TBOX-side data acquisition device may be implemented in hardware and/or software, and the TBOX-side data acquisition device may be configured in an electronic device of a vehicle or an electronic device for detecting vehicle performance. As shown in fig. 1, the TBOX-side data acquisition method includes:
and S110, connecting the vehicle-mounted TBOX with the vehicle, and sending a data acquisition switch starting instruction to the vehicle ECU through the vehicle-mounted TBOX.
The vehicle-mounted TBOX terminal is provided with a dual-core processing OBD module and a dual-core processing CPU framework, bus data and private protocol reverse control related to vehicle buses DCAN, KCAN and PTCAN are respectively acquired, the related data are transmitted to a cloud server through a GPRS network, and data information such as vehicle condition reports, driving reports, oil consumption statistics, fault reminding, violation inquiry, position tracks, driving behaviors, safety theft prevention, reservation service, remote vehicle finding, vehicle door, window, lamp, lock, loudspeaker, double flash, reflector folding, skylight, monitoring central control warning, airbag states and the like is provided.
When a vehicle performs a diagnostic service function, the vehicle-mounted TBOX acquires relevant data information, and in the prior art, the data acquisition of the vehicle-mounted TBOX is a continuous process, so that the vehicle-mounted TBOX always needs to send a request message to a vehicle ECU (electronic control unit), the vehicle ECU needs to process and respond to the request message, the ECU responds frequently, the burden of the ECU is increased, and bus resources are greatly consumed.
In the embodiment, a data acquisition switch is arranged in the vehicle ECU and is used for controlling the on or off of data acquisition of the vehicle TBOX to the vehicle ECU, and specifically, the vehicle TBOX sends a data acquisition switch starting command to the vehicle ECU so as to turn on the data acquisition switch arranged in the vehicle ECU, so that the vehicle ECU feeds back data packets required by the vehicle TBOX to the vehicle TBOX.
Further, the vehicle-mounted TBOX sends a data collection switch closing command to the vehicle ECU so as to close a data collection switch arranged in the vehicle ECU, and the vehicle ECU stops sending data packets to the vehicle-mounted TBOX.
And S120, after the vehicle ECU starts a data acquisition switch according to the data acquisition switch starting command, the vehicle ECU sends a data packet corresponding to the data flow request to the vehicle TBOX at regular time according to the data flow request sent by the vehicle TBOX.
The vehicle ECU sends the data packet corresponding to the data flow request to the vehicle TBOX at regular time, that is, the vehicle ECU repeatedly sends the corresponding data packet to the vehicle TBOX at intervals of a certain time length, and the specific time length interval may be set by a person skilled in the art according to actual needs, which is not limited in this embodiment.
In the embodiment, the vehicle ECU automatically sends the corresponding data packet to the vehicle TBOX at regular time, so that the vehicle TBOX does not actively request the data acquisition of the vehicle ECU any more, the frequent response of the vehicle ECU during the data acquisition of the vehicle TBOX is effectively avoided, and the burden of the vehicle ECU is reduced.
On the basis, the vehicle ECU configures a data packet corresponding to the data flow request at a corresponding platform end according to the data flow request sent by the vehicle-mounted TBOX, wherein the platform end is connected with the vehicle ECU, the platform end may be a platform terminal with data storage and data processing functions, and optionally, the platform end may be a vehicle background server or a PC terminal.
Further, on the basis of the above embodiment, after the vehicle-mounted TBOX actively sends a data acquisition switch off command to the vehicle ECU, the vehicle ECU stops sending data packets to the vehicle-mounted TBOX.
When the vehicle ECU judges that the priority of the current unified diagnostic service of the vehicle is higher than the priority of sending a data packet to the vehicle-mounted TBOX, the data flow interruption information is generated; and after the vehicle ECU sends the data flow interruption information to the vehicle-mounted TBOX, stopping sending the data packet to the vehicle-mounted TBOX. Meanwhile, after the vehicle ECU judges that the current unified diagnosis service of the vehicle is finished, the vehicle ECU restarts to send data packets to the vehicle-mounted TBOX.
According to the technical scheme of the embodiment of the invention, the vehicle-mounted TBOX is connected with the vehicle, and a data acquisition switch starting instruction is sent to the vehicle ECU through the vehicle-mounted TBOX; and after the vehicle ECU starts a data acquisition switch according to the data acquisition switch starting instruction, the vehicle ECU sends a data packet corresponding to the data flow request to the vehicle-mounted TBOX at fixed time according to the data flow request sent by the vehicle-mounted TBOX. The problem of the data acquisition request that TBOX end initiative was carried out, there is the probability to lead to the operation interrupt that is going on, simultaneously, ECU frequent response increases ECU's burden is solved, avoided ECU frequent response data acquisition request, reduce bus occupation rate, avoid with other processes conflict, improve ECU service stability's beneficial effect has been got.
Example two
Fig. 2 is a flowchart of a TBOX end data acquisition method according to a second embodiment of the present invention, and fig. 3 is an architecture diagram of a TBOX end data acquisition method according to a second embodiment of the present invention. As shown in fig. 2 and 3, the TBOX end data acquisition method includes:
and S210, connecting the vehicle-mounted TBOX with the vehicle, and sending a data acquisition switch starting command to a vehicle ECU through the vehicle-mounted TBOX.
And S220, the vehicle ECU sets the identification position of the data acquisition switch as a first identification for controlling the data acquisition switch according to the starting instruction of the data acquisition switch.
In the embodiment, a data acquisition switch identification bit is arranged in the vehicle ECU to control data transmission between the vehicle-mounted TBOX and the vehicle ECU.
Specifically, the vehicle-mounted TBOX is connected with a vehicle, and a data acquisition switch starting instruction is sent to the vehicle ECU through the vehicle-mounted TBOX and used for setting a data acquisition switch identification position of the vehicle ECU to be a first identification for controlling a data acquisition switch.
The data acquisition switch identification bit may be adjusted in two different states through two different binary numbers (e.g., 0 and 1), for example, the first identification of the data acquisition switch may be 1, that is, the data acquisition switch is turned on.
At this time, the vehicle ECU may automatically send a packet corresponding to the data flow request to the on-vehicle TBOX at a regular time according to the data flow request sent by the on-vehicle TBOX.
And S230, after the vehicle ECU starts a data acquisition switch according to the data acquisition switch starting command, the vehicle ECU sends a data packet corresponding to the data flow request to the vehicle TBOX at regular time according to the data flow request sent by the vehicle TBOX.
And S240, after the vehicle ECU receives a data acquisition switch closing instruction sent by the vehicle-mounted TBOX, the vehicle ECU stops sending data packets to the vehicle-mounted TBOX.
And S250, setting the data acquisition switch identification position of the vehicle ECU as a second identification for controlling a data acquisition switch.
On the basis, the second identifier of the data acquisition switch may be 0, that is, the data acquisition switch is turned off.
Specifically, a data acquisition switch identification bit of the vehicle ECU is set as a second identification for controlling the data acquisition switch, that is, the second identification may be 0, the data acquisition switch is turned off, and the vehicle ECU stops sending the corresponding data packet to the vehicle-mounted TBOX.
On the basis of the above embodiment, when the vehicle ECU judges that the priority of the current unified diagnostic service of the vehicle is higher than the priority of sending a packet to the on-vehicle TBOX, the data flow interruption information is generated; and after the vehicle ECU sends the data flow interruption information to the vehicle-mounted TBOX, stopping sending the data packet to the vehicle-mounted TBOX. Meanwhile, after the vehicle ECU judges that the current unified diagnosis service of the vehicle is finished, the vehicle ECU restarts to send data packets to the vehicle-mounted TBOX.
The current unified diagnosis service of the vehicle can be a diagnosis service for quickly detecting the vehicle fault so as to improve the safety and the maintenance efficiency of the vehicle. Optionally, the current unified diagnostic service may be a vehicle ECU data flash, a vehicle ECU service test, or the like.
In the embodiment, the current unified diagnosis service of the vehicle is a task with higher priority than the on-board TBOX data acquisition task, namely when the vehicle performs the current unified diagnosis service, the vehicle ECU needs to be suspended to issue a data packet to the on-board TBOX data.
The data flow interruption information is request information for controlling the vehicle ECU to suspend issuing data packets to the vehicle TBOX data.
Further, when the vehicle finishes the current unified diagnosis service, the operation that the vehicle ECU issues the data packet to the vehicle-mounted TBOX data is resumed.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a TBOX-end data acquisition device according to a third embodiment of the present invention. As shown in fig. 4, the TBOX end data acquisition apparatus includes:
the data acquisition switch starting instruction sending module 310 is used for establishing connection between a vehicle-mounted TBOX and a vehicle and sending a data acquisition switch starting instruction to a vehicle ECU through the vehicle-mounted TBOX;
And a data packet sending module 320, configured to execute that after the vehicle ECU starts a data acquisition switch according to the data acquisition switch start instruction, the vehicle ECU sends a data packet corresponding to the data flow request to the vehicle TBOX at regular time according to the data flow request sent by the vehicle TBOX.
Optionally, the TBOX end data acquisition apparatus further includes:
and setting the data acquisition switch identification position of the vehicle ECU into a first identification for controlling a data acquisition switch.
Optionally, the TBOX end data acquisition apparatus further includes:
and the vehicle ECU sets the identification position of the data acquisition switch into a first identification for controlling the data acquisition switch according to the starting instruction of the data acquisition switch.
Optionally, the TBOX end data acquisition apparatus further includes:
and after the vehicle ECU receives a data acquisition switch closing instruction sent by the vehicle-mounted TBOX, the vehicle ECU stops sending data packets to the vehicle-mounted TBOX.
Optionally, after receiving a data acquisition switch closing instruction sent by the vehicle-mounted TBOX, the vehicle ECU further includes:
and setting the data acquisition switch identification position of the vehicle ECU as a second identification for controlling a data acquisition switch.
Optionally, the TBOX end data acquisition apparatus further includes:
the vehicle ECU judges that the priority of the current unified diagnostic service of the vehicle is higher than the priority of sending a data packet to the vehicle-mounted TBOX, and generates the data flow interruption information;
and after the vehicle ECU sends data flow interruption information to the vehicle-mounted TBOX, stopping sending data packets to the vehicle-mounted TBOX.
Optionally, the TBOX end data acquisition apparatus further includes:
and after the vehicle ECU judges that the current unified diagnosis service of the vehicle is finished, the vehicle ECU restarts to send data packets to the vehicle-mounted TBOX.
The TBOX end data acquisition device provided by the embodiment of the invention can execute the TBOX end data acquisition method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the TBOX end data acquisition method.
Example four
FIG. 5 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. 5, 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 the 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 the 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, 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.
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 dedicated Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. Processor 11 performs the various methods and processes described above, such as the TBOX-end data acquisition method.
In some embodiments, the TBOX end data acquisition method can be implemented as a computer program that is 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 loaded into RAM 13 and executed by processor 11, the computer program may perform one or more of the steps of the TBOX end data acquisition method described above. Alternatively, in other embodiments, processor 11 may be configured to perform the TBOX end data acquisition method by any other suitable means (e.g., by way 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 portable 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 can 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, reordering, adding or deleting steps, may be used. 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 result 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 TBOX-end data acquisition method, comprising:
establishing connection between a vehicle-mounted TBOX and a vehicle, and sending a data acquisition switch starting instruction to a vehicle ECU through the vehicle-mounted TBOX;
and after the vehicle ECU starts a data acquisition switch according to the data acquisition switch starting instruction, the vehicle ECU sends a data packet corresponding to the data flow request to the vehicle-mounted TBOX at fixed time according to the data flow request sent by the vehicle-mounted TBOX.
2. The TBOX end data acquisition method of claim 1, further including, after sending a data acquisition switch activation command to a vehicle ECU via the onboard TBOX:
and setting the data acquisition switch identification position of the vehicle ECU into a first identification for controlling a data acquisition switch.
3. The TBOX end data acquisition method of claim 2, further comprising:
and the vehicle ECU sets the identification position of the data acquisition switch into a first identification for controlling the data acquisition switch according to the starting instruction of the data acquisition switch.
4. The TBOX end data acquisition method of claim 2, further comprising:
and after the vehicle ECU receives a data acquisition switch closing instruction sent by the vehicle-mounted TBOX, the vehicle ECU stops sending data packets to the vehicle-mounted TBOX.
5. The TBOX end data collection method according to claim 4, wherein the vehicle ECU further comprises, after receiving a data collection switch closing command sent by the vehicle-mounted TBOX:
and setting the data acquisition switch identification position of the vehicle ECU as a second identification for controlling a data acquisition switch.
6. The TBOX end data acquisition method of claim 1, further comprising:
the vehicle ECU judges that the priority of the current unified diagnostic service of the vehicle is higher than the priority of sending a data packet to the vehicle-mounted TBOX, and data flow interruption information is generated;
and after the vehicle ECU sends data flow interruption information to the vehicle-mounted TBOX, stopping sending data packets to the vehicle-mounted TBOX.
7. The TBOX end data acquisition method of claim 6, further comprising:
and after the vehicle ECU judges that the current unified diagnosis service of the vehicle is finished, the vehicle ECU restarts to send data packets to the vehicle-mounted TBOX.
8. A TBOX end data acquisition apparatus, comprising:
the data acquisition switch starting instruction sending module is used for establishing connection between the vehicle-mounted TBOX and the vehicle and sending a data acquisition switch starting instruction to the vehicle ECU through the vehicle-mounted TBOX;
and the data packet sending module is used for sending a data packet corresponding to the data flow request to the vehicle-mounted TBOX at regular time according to the data flow request sent by the vehicle-mounted TBOX after the vehicle ECU starts a data acquisition switch according to the data acquisition switch starting instruction.
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, the computer program being executable by the at least one processor to enable the at least one processor to perform the TBOX end data acquisition method of any one of claims 1-4.
10. A computer readable storage medium having stored thereon computer instructions for causing a processor to execute the TBOX end data acquisition method of any one of claims 1-4.
CN202210505329.8A 2022-05-10 2022-05-10 TBOX end data acquisition method and device, electronic equipment and storage medium Pending CN114756286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210505329.8A CN114756286A (en) 2022-05-10 2022-05-10 TBOX end data acquisition method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210505329.8A CN114756286A (en) 2022-05-10 2022-05-10 TBOX end data acquisition method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114756286A true CN114756286A (en) 2022-07-15

Family

ID=82334269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210505329.8A Pending CN114756286A (en) 2022-05-10 2022-05-10 TBOX end data acquisition method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114756286A (en)

Similar Documents

Publication Publication Date Title
WO2021227677A1 (en) Scene pushing method, scene executing method, scene pushing device, scene executing device, terminal, server, and system
CN115309462A (en) Equipment awakening method, device, system, electronic equipment and storage medium
CN110457176A (en) For the monitoring method of distributed system, device, storage medium and electronic equipment
WO2023222109A1 (en) Network wakeup management method and apparatus, electronic device, and storage medium
CN114756286A (en) TBOX end data acquisition method and device, electronic equipment and storage medium
CN116112342A (en) Alarm information processing method, device, electronic equipment and storage medium
CN116090780A (en) Control method, device, equipment and medium of weather forecast flow
CN115817585A (en) Positive line screening-free method, device and equipment based on vehicle-to-vehicle communication and storage medium
CN115484216A (en) Message transmission method and device, electronic equipment and automatic driving vehicle
CN114909059A (en) Vehicle window control method and device, vehicle body controller, vehicle and medium
CN114993486A (en) New energy automobile early warning method and system
CN113867145A (en) Application control method and device, electronic equipment and storage medium
CN115225556A (en) Detection method, device, equipment and storage medium
CN116279286B (en) Unlocking method, device, equipment and medium of engine
CN115755859A (en) Network fault diagnosis method, device and medium based on local network
CN114590246B (en) Dual-channel communication automatic parking method, device, equipment and storage medium
CN117389254A (en) Vehicle diagnosis method, system and storage medium
CN109150241A (en) Communication means and device between a kind of single-chip microcontroller
CN115437343A (en) Vehicle ECU awakening detection method and device, domain controller and vehicle
CN117421140A (en) Data processing method, device, equipment and medium
CN115174447B (en) Network communication method, device, system, equipment and storage medium
CN116366394A (en) Network management method and device of vehicle-mounted electronic control unit and control unit
CN113055472B (en) Internet of things data control method and device based on security authentication
CN117032585A (en) CAN data processing method
CN115439076A (en) Vehicle state data processing method and device, 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