CN113395327B - Data processing method, device, electronic equipment and medium - Google Patents
Data processing method, device, electronic equipment and medium Download PDFInfo
- Publication number
- CN113395327B CN113395327B CN202110565101.3A CN202110565101A CN113395327B CN 113395327 B CN113395327 B CN 113395327B CN 202110565101 A CN202110565101 A CN 202110565101A CN 113395327 B CN113395327 B CN 113395327B
- Authority
- CN
- China
- Prior art keywords
- data
- transmitted
- level signal
- vehicle
- signal sequence
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 20
- 108010076504 Protein Sorting Signals Proteins 0.000 claims abstract description 68
- 238000000034 method Methods 0.000 claims abstract description 27
- 238000004590 computer program Methods 0.000 claims description 23
- 230000005540 biological transmission Effects 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 abstract description 4
- 230000004044 response Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/18—Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/38—Services specially adapted for particular environments, situations or purposes for collecting sensor information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The application is applicable to the technical field of computers, and provides a data processing method, which comprises the following steps: acquiring data to be transmitted; generating a level signal sequence adapted to the data to be transmitted; the sequence of level signals is transmitted to the target data receiving device. According to the method and the device, the data to be transmitted, which are required to be transmitted to the target data receiving device, are converted into the level signals suitable for being recognized by the target data receiving device, so that the target data receiving device can accurately recognize and process the data to be transmitted.
Description
Technical Field
The application belongs to the technical field of computers, and particularly relates to a data processing method, a data processing device, electronic equipment and a medium.
Background
With the development of technology, sensors are increasingly used. In practical applications, a sensor, such as a tire pressure sensor, typically transmits detected data to a data receiving device, such as a vehicle, after detecting the data.
Since there may be a plurality of manufacturers for the same type of sensor, there may be a difference in the format of the data output from the sensors produced by the respective manufacturers, and there may be a difference between the format of the data output from the sensors produced by the respective manufacturers and the data format that can be accurately recognized by the data receiving apparatus, which may cause the data receiving apparatus to fail to recognize the data transmitted from the sensors.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device, electronic equipment and a medium, and aims to solve the problem that the existing data receiving equipment can not recognize data output by a sensor.
In a first aspect, an embodiment of the present application provides a data processing method, including:
acquiring data to be transmitted;
generating a level signal sequence adapted to the data to be transmitted;
the sequence of level signals is transmitted to the target data receiving device.
Further, generating a level signal sequence adapted to data to be transmitted, comprising:
converting data to be transmitted into binary data;
the level signals for the respective bits of the binary data are generated in order from the upper bits to the lower bits, resulting in a level signal sequence.
Further, generating a level signal for each bit of binary data includes:
for each bit in binary data, generating a first level signal if the value of the bit is 1, and generating a second level signal if the value of the bit is 0; wherein,,
the first level signal is high level-low level, and the second level signal is low level-high level.
Further, after acquiring the data to be transmitted, the method further comprises: storing the data to be transmitted into a data set to be transmitted; and
transmitting the sequence of level signals to the target data receiving device, comprising:
if the data to be transmitted is more than one, the level signal sequences corresponding to the data to be transmitted are transmitted to the data receiving equipment according to the sequence from front to back of the time when the data to be transmitted is stored in the data set to be transmitted.
Further, if the data to be transmitted is more than one, the level signal sequences corresponding to the data to be transmitted are transmitted to the data receiving device according to the sequence of the time when the data to be transmitted is stored in the data set from front to back, including:
combining the level signal sequences corresponding to the data to be transmitted according to the sequence from front to back of the time when the data to be transmitted is stored in the data set to be transmitted, so as to obtain a total level signal sequence aiming at the data set to be transmitted;
the total level signal sequence is transmitted to the data receiving device.
Further, generating a level signal sequence adapted to data to be transmitted, comprising:
and generating a level signal sequence adapted to the data to be transmitted in response to the preset condition being met.
Further, the preset conditions include any one or more of the following: the number of data to be transmitted reaches the preset number, and reaches the data transmission period.
In a second aspect, an embodiment of the present application provides a data processing apparatus, including:
a data acquisition unit for acquiring data to be transmitted;
a signal generating unit for generating a level signal sequence adapted to data to be transmitted;
and a data transmitting unit for transmitting the level signal sequence to the target data receiving apparatus.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the data processing method described above when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program, where the computer program implements the steps of the data processing method described above when executed by a processor.
In a fifth aspect, embodiments of the present application provide a computer program product for, when run on an electronic device, causing the electronic device to perform the data processing method of any one of the first aspects described above.
Compared with the related art, the embodiment of the application has the beneficial effects that: by converting the data to be transmitted, which is required to be transmitted to the target data receiving device, in the sensor into a level signal suitable for being recognized by the target data receiving device, accurate recognition and processing of the data to be transmitted by the target data receiving device can be realized.
It will be appreciated that the advantages of the second to fifth aspects may be found in the relevant description of the first aspect, and are not described here again.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly introduce the drawings that are needed in the embodiments or the related technical descriptions, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a system architecture diagram of an application of a data processing method according to an embodiment of the present application;
FIG. 2 is a flow chart of a data processing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a data processing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
In order to explain the technical aspects of the present application, the following examples are presented.
Referring to fig. 1, a system architecture diagram to which a data processing method according to an embodiment of the present application is applied is shown.
As shown in fig. 1, the system architecture may include a terminal device 101, a sensor 102, and an electronic device 103.
The terminal apparatus 101 may be various vehicles. For example, unmanned vehicles, cars, trucks, etc. It is noted that the terminal device 101 may also be a variety of other vehicles. Such as aircraft, ship. The terminal device 101 of the embodiment of the present application mainly refers to a vehicle.
The sensor 102 is typically provided on the terminal device 101. The sensor 102 may collect various data of the terminal device 101, such as tire pressure data, and transmit the collected data to the terminal device 101 through the electronic device 103.
The electronic device 103 may be various electronic devices, for example, may be an in-vehicle terminal device. In practice, the electronic device 103 may be implemented as a chip. The electronic device 103 may be a separate entity in communication with the sensor 102, or the electronic device 103 may be provided in the sensor 102 as part of the sensor 102. In practice, the electronic device 103 may acquire the data to be transmitted of the sensor 102; generating a level signal sequence adapted to the data to be transmitted; the sequence of level signals is transmitted to the communicatively connected terminal device 101.
It should be noted that, the data processing method provided in this embodiment is generally executed by the electronic device 103. In addition, when the electronic device 103 is provided in the sensor 102 as a part of the sensor 102, the data processing method is also performed by the sensor 102.
It should be understood that the number of terminal devices 101, sensors 102 and electronic devices 103 in fig. 1 is merely illustrative. There may be any number of terminal devices 101, sensors 102 and electronic devices 103, as desired for implementation.
Referring to fig. 2, a flow chart of a data processing method according to an embodiment of the present application, where the data processing method shown in fig. 2 includes:
in step 201, data to be transmitted is acquired.
The data to be transmitted may be various data to be transmitted. In practice, the data to be transmitted is typically data to be output in the target sensor. The object sensor is typically a sensor communicatively coupled to the electronic device.
In the present embodiment, the execution subject of the data processing method is typically an electronic device (e.g., the electronic device 103 shown in fig. 1). In practical applications, the target sensor may collect data and send the collected data to the electronic device as data to be sent. In this way, the electronic device can obtain the data to be transmitted.
In practical applications, there may be a plurality of object sensors. At this time, the electronic device may be connected to the plurality of target sensors, and the electronic device may acquire data to be transmitted of the plurality of target sensors. The plurality of target sensors share one electronic device so as to convert the data to be transmitted in each target sensor into the data in the format suitable for being recognized by the same target data receiving device, thereby reducing the number of the electronic devices and being beneficial to saving the resources of the electronic devices.
Here, the execution body may generate the level signal sequence corresponding to the data to be transmitted according to a preset level signal generation rule. The level signal generation rule may be a rule set in advance for generating a level signal. As an example, the level signal generation rule may be: if the data to be transmitted is 1, a high level-low level is generated, and if the data to be transmitted is 2, a high level-low level is generated, and so on.
Wherein the target data receiving device is typically a preset data receiving device. In practice, the target data receiving device may be a vehicle.
Here, the execution subject may transmit the generated level signal sequence to the target data reception apparatus by a wired connection method or a wireless connection method.
According to the method provided by the embodiment, the data to be transmitted, which is required to be transmitted to the target data receiving device, in the sensor is converted into the level signal suitable for being recognized by the target data receiving device, so that the target data receiving device can accurately recognize the data to be transmitted, and the accuracy of recognizing the data output by the sensor by the target data receiving device can be improved.
In some optional implementations of the present embodiment, generating the level signal sequence adapted to the data to be transmitted may include: the data to be transmitted is converted into binary data. The level signals for the respective bits of the binary data are generated in order from the upper bits to the lower bits, resulting in a level signal sequence.
Here, the execution body may directly convert the data to be transmitted into a binary form, resulting in binary data. Then, the level signals corresponding to the respective bits are generated in order from the upper bits to the lower bits, thereby obtaining a level signal sequence for the data to be transmitted. The implementation can realize the conversion of the data to be transmitted into a level signal sequence.
For example, if the data to be transmitted is 7, the corresponding binary data may be 0000 0111. At this time, 0000 is high, 0111 is low, and level signals for the respective bits are sequentially generated in order from high to low. If a high level is generated for 1 and a low level is generated for 0, a level signal sequence of: low level-low-high.
In some alternative implementations, the generating the level signal for each bit of binary data includes: for each bit in the binary data, a first level signal is generated if the value of the bit is 1, and a second level signal is generated if the value of the bit is 0.
The first level signal is high level-low level, and the second level signal is low level-high level.
For example, for the least significant bit in the binary data 0000 0111, the execution body may generate the first level signal because the bit is 1. For the most significant bit in the binary data 0000 0111, the execution body may generate the second level signal since the bit is 0.
In practice, the coding scheme of coding 1 into high level-low level and coding 0 into low level-high level is a non-return to zero (Non Return to Zero, NRZ) coding scheme. Because the NRZ coding mode does not need to return to zero, the whole data transmission period can be used for transmitting data during data transmission, and the high-speed transmission of the coded data is facilitated, so that the efficiency of transmitting the level signal sequence to the target data receiving equipment is improved.
In some optional implementations of the present embodiment, after acquiring the data to be sent, the method may further include: and storing the data to be transmitted into a data set to be transmitted. At this time, the transmitting the level signal sequence to the target data receiving apparatus may include: and if the data to be transmitted is more than one, transmitting the level signal sequences corresponding to the data to be transmitted to the target data receiving equipment according to the sequence of the time when the data to be transmitted is stored in the data set to be transmitted from front to back.
Here, the execution body may store the received plurality of pieces of data to be transmitted in the data set to be transmitted. In practice, the data set to be transmitted may be implemented as a number of groups. Wherein an array is typically a data structure in which data is arranged linearly.
When data is transmitted, the executing body may transmit the level signal sequence corresponding to the stored data to be transmitted to the target data receiving device. For example, if three data to be transmitted are stored in the data set to be transmitted, A, B and C, respectively, wherein a is stored first, B is stored second, and C is stored last. At this time, the execution body may first send the level signal sequence corresponding to a to the target data receiving apparatus, then send the level signal sequence corresponding to B to the target data receiving apparatus, and finally send the level signal sequence corresponding to C to the target data receiving apparatus.
It should be noted that since the data that is first stored is typically the data that is first acquired by the sensor. And according to the sequence of the stored data, the level signal sequences corresponding to the data are sent to the target data receiving equipment, so that the level signal sequences of the data can be sent in time.
In some optional implementations, if the data to be sent is more than one, the sending, in order of time of storing each data to be sent in the data set from front to back, the level signal sequence corresponding to each data to be sent to the target data receiving device includes: and combining the level signal sequences corresponding to the data to be transmitted according to the sequence of the time when the data to be transmitted is stored in the data set to be transmitted from front to back, so as to obtain the total level signal sequence aiming at the data set to be transmitted. The total level signal sequence is transmitted to the target data receiving device.
Here, the execution body may sequentially combine the level signal sequence corresponding to the data stored earliest, the level signal sequence corresponding to the data stored second earliest, and so on until the level signal sequence corresponding to the data stored last, in a serial connection manner, to obtain the total level signal sequence. The resulting total level signal sequence is then transmitted to the target data receiving device. Aiming at a data set to be transmitted, only one data is required to be transmitted to target data receiving equipment, so that the level signal sequences of all data can be transmitted in time, and meanwhile, the data transmission efficiency is improved.
In an alternative implementation manner of various embodiments of the present application, generating a level signal sequence adapted to data to be transmitted may include: and generating a level signal sequence adapted to the data to be transmitted in response to the preset condition being met.
The preset conditions may be various preset conditions.
Optionally, the preset conditions may include, but are not limited to, any one or more of the following: the number of data to be transmitted reaches the preset number, and reaches the data transmission period.
Wherein, the preset number is usually a preset value. The preset number is typically an integer greater than 1. The data transmission period is generally a predetermined period value, for example, 1 minute.
It should be noted that, only if the current situation meets the preset condition, the generation of the level signal sequence adapted to the data to be sent is performed, so that the corresponding computing resources can be avoided from being occupied all the time, and the resource utilization rate and the data processing efficiency can be improved.
With further reference to fig. 3, corresponding to the data processing method of the above embodiment, fig. 3 is a block diagram of a data processing apparatus 300 provided in an embodiment of the present application, and for convenience of explanation, only a portion related to the embodiment of the present application is shown.
Referring to fig. 3, the apparatus includes:
a data acquisition unit 301, configured to acquire data to be transmitted;
a signal generating unit 302, configured to generate a level signal sequence adapted to data to be transmitted;
a data transmitting unit 303 for transmitting the level signal sequence to the target data receiving apparatus.
In some embodiments, the signal generating unit 302 is specifically configured to:
converting data to be transmitted into binary data;
the level signals for the respective bits of the binary data are generated in order from the upper bits to the lower bits, resulting in a level signal sequence.
In some embodiments, generating a level signal for each bit of binary data includes:
for each bit in binary data, generating a first level signal if the value of the bit is 1, and generating a second level signal if the value of the bit is 0; wherein,,
the first level signal is high level-low level, and the second level signal is low level-high level.
In some embodiments, the apparatus further comprises a data caching unit, configured to store the data to be transmitted in a data set to be transmitted; the data transmission unit 303 is specifically configured to:
and if the data to be transmitted is more than one, transmitting the level signal sequences corresponding to the data to be transmitted to the target data receiving equipment according to the sequence of the time when the data to be transmitted is stored in the data set to be transmitted from front to back.
In some embodiments, if the data to be transmitted is more than one, the sending, in order of time of storing each data to be transmitted in the data set from front to back, the level signal sequence corresponding to each data to be transmitted to the target data receiving device includes:
combining the level signal sequences corresponding to the data to be transmitted according to the sequence from front to back of the time when the data to be transmitted is stored in the data set to be transmitted, so as to obtain a total level signal sequence aiming at the data set to be transmitted;
the total level signal sequence is transmitted to the target data receiving device.
In some embodiments, the signal generating unit 302 is specifically configured to:
and generating a level signal sequence adapted to the data to be transmitted in response to the preset condition being met.
In some embodiments, the preset conditions include any one or more of the following: the number of data to be transmitted reaches the preset number, and reaches the data transmission period.
According to the device provided by the embodiment, the data to be transmitted, which is required to be transmitted to the target data receiving equipment, in the sensor is converted into the level signal suitable for being recognized by the target data receiving equipment, so that the target data receiving equipment can accurately recognize the data to be transmitted, and the accuracy of recognizing the data output by the sensor by the target data receiving equipment can be improved.
It should be noted that, because the content of information interaction and execution process between the above devices/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein again.
With further reference to fig. 4, fig. 4 is a schematic structural diagram of an electronic device 400 according to an embodiment of the present application. As shown in fig. 4, the electronic apparatus 400 of this embodiment includes: at least one processor 401 (only one processor is shown in fig. 4), a memory 402, and a computer program 403, such as a data processing program, stored in the memory 402 and executable on the at least one processor 401. The steps of any of the various method embodiments described above are implemented by processor 401 when executing computer program 403. The steps in the embodiments of the respective data processing methods described above are implemented when the processor 401 executes the computer program 403. The processor 401, when executing the computer program 403, implements the functions of the modules/units in the above-described device embodiments, such as the functions of the units 301 to 303 shown in fig. 3.
By way of example, the computer program 403 may be partitioned into one or more modules/units, which are stored in the memory 402 and executed by the processor 401 to complete the present application. One or more of the modules/units may be a series of computer program instruction segments capable of performing particular functions for describing the execution of the computer program 403 in the electronic device 400. For example, the computer program 403 may be divided into a data acquisition unit, a signal generation unit, and a data transmission unit, and specific functions of each unit are described in the above embodiments, which are not described herein.
The electronic device 400 may be a computing electronic device such as a server, desktop computer, tablet computer, cloud server, mobile terminal, and the like. Electronic device 400 may include, but is not limited to, a processor 401, a memory 402. It will be appreciated by those skilled in the art that fig. 4 is merely an example of an electronic device 400 and is not intended to limit the electronic device 400, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., an electronic device may also include input-output electronics, network access electronics, buses, etc.
The processor 401 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 402 may be an internal storage unit of the electronic device 400, such as a hard disk or a memory of the electronic device 400. The memory 402 may also be an external storage electronic device of the electronic device 400, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device 400. Further, the memory 402 may also include both internal storage units of the electronic device 400 and external storage electronic devices. The memory 402 is used to store computer programs and other programs and data required by the electronic device. The memory 402 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/electronic device and method may be implemented in other manners. For example, the apparatus/electronic device embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the jurisdiction's jurisdiction and the patent practice, for example, in some jurisdictions, the computer readable medium does not include electrical carrier signals and telecommunication signals according to the jurisdiction and the patent practice.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.
Claims (8)
1. The data processing method is characterized in that the method is applied to electronic equipment, wherein the electronic equipment is vehicle-mounted terminal equipment, and the method comprises the following steps:
acquiring data to be transmitted of a vehicle, wherein the data to be transmitted of the vehicle are acquired by a plurality of sensors in the vehicle;
generating a level signal sequence adapted to each data to be transmitted under the condition that a preset condition is met, wherein the level signal sequence is a data format which can be identified by the vehicle, and the meeting of the preset condition comprises: the data to be transmitted reaches a preset number and/or reaches a data transmission period;
and transmitting the level signal sequence of each data to be transmitted to the vehicle.
2. The method according to claim 1, wherein generating a level signal sequence adapted to each of the data to be transmitted in case a preset condition is satisfied comprises:
converting each data to be transmitted into binary data;
generating a level signal for each bit of each binary data in order from the upper bit to the lower bit, to obtain the level signal sequence.
3. The method of claim 2, wherein the generating a level signal for each bit of the binary data comprises:
for each bit in the binary data, generating a first level signal if the value of the bit is 1, and generating a second level signal if the value of the bit is 0; wherein,,
the first level signal is high level-low level, and the second level signal is low level-high level.
4. The method of claim 1, wherein after acquiring data to be transmitted of a vehicle acquired by a plurality of sensors in the vehicle, further comprising: storing each data to be transmitted into a data set to be transmitted; and
the transmitting the level signal sequence of each data to be transmitted to the vehicle includes:
and sending the level signal sequences corresponding to the data to be sent to the transportation means according to the sequence of the time when the data to be sent is stored in the data set to be sent from front to back.
5. The method of claim 4, wherein the transmitting the respective corresponding level signal sequences of each of the data to be transmitted to the vehicle in the order of the time when each of the data to be transmitted is stored in the data set to be transmitted from front to back comprises:
combining the level signal sequences corresponding to the data to be transmitted according to the sequence of the time when the data to be transmitted is stored in the data set to be transmitted from front to back, so as to obtain a total level signal sequence aiming at the data set to be transmitted;
the total level signal sequence is transmitted to the vehicle.
6. A data processing apparatus, characterized in that it is applied to an electronic device, the electronic device being a vehicle-mounted terminal device, the apparatus comprising:
the data acquisition unit is used for acquiring data to be transmitted of the vehicles, which are acquired by a plurality of sensors in the vehicles;
the signal generating unit is configured to generate a level signal sequence adapted to each piece of data to be transmitted, where the level signal sequence is in a data format that can be identified by the vehicle, where the preset condition is satisfied, and the signal generating unit includes: the data to be transmitted reaches a preset number and/or reaches a data transmission period;
and the data transmitting unit is used for transmitting the level signal sequence of each data to be transmitted to the vehicle.
7. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 5 when executing the computer program.
8. A computer readable storage medium storing a computer program, which when executed by a processor implements the method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110565101.3A CN113395327B (en) | 2021-05-24 | 2021-05-24 | Data processing method, device, electronic equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110565101.3A CN113395327B (en) | 2021-05-24 | 2021-05-24 | Data processing method, device, electronic equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113395327A CN113395327A (en) | 2021-09-14 |
CN113395327B true CN113395327B (en) | 2023-07-04 |
Family
ID=77618991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110565101.3A Active CN113395327B (en) | 2021-05-24 | 2021-05-24 | Data processing method, device, electronic equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113395327B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104597875A (en) * | 2014-12-24 | 2015-05-06 | 山东新大洋电动车有限公司 | Man-car interaction system of electric automobile |
CN104753551A (en) * | 2013-12-31 | 2015-07-01 | 中国移动通信集团公司 | Vehicle-mounted terminal device, driving consumption data acquiring method and system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012195687A (en) * | 2011-03-15 | 2012-10-11 | Tokai Rika Co Ltd | Transmitter, receiver, and communication system |
CN102386977A (en) * | 2011-10-20 | 2012-03-21 | 航天科工深圳(集团)有限公司 | Data transmitting and receiving method, device and equipment for optical fiber transmission |
US10608778B2 (en) * | 2016-11-24 | 2020-03-31 | Tendyron Corporation | Data transmission method and terminal |
CN107347001B (en) * | 2016-11-24 | 2019-10-22 | 天地融科技股份有限公司 | A kind of data transmission method and terminal |
CN111858084B (en) * | 2020-06-02 | 2023-07-25 | 深圳市鼎盛光电有限公司 | Data transmission method and device, electronic equipment and storage medium |
CN112491763B (en) * | 2020-11-30 | 2022-09-27 | 杭州海康威视数字技术股份有限公司 | Decoding method and device for Manchester encoding |
-
2021
- 2021-05-24 CN CN202110565101.3A patent/CN113395327B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104753551A (en) * | 2013-12-31 | 2015-07-01 | 中国移动通信集团公司 | Vehicle-mounted terminal device, driving consumption data acquiring method and system |
CN104597875A (en) * | 2014-12-24 | 2015-05-06 | 山东新大洋电动车有限公司 | Man-car interaction system of electric automobile |
Also Published As
Publication number | Publication date |
---|---|
CN113395327A (en) | 2021-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113852563B (en) | Message data transmission method and device, terminal equipment and readable storage medium | |
CN112182036A (en) | Data sending and writing method and device, electronic equipment and readable storage medium | |
CN111177358B (en) | Intention recognition method, server and storage medium | |
CN115965657A (en) | Target tracking method, electronic device, storage medium, and vehicle | |
CN113395327B (en) | Data processing method, device, electronic equipment and medium | |
CN113177014B (en) | Serial port communication method and serial port chip based on inspection mode | |
CN109829004B (en) | Data processing method, device and equipment based on unmanned vehicle and storage medium | |
CN111726260B (en) | Method, device and system for testing format conversion of network request reply information | |
CN113542360B (en) | Information association method, association device, electronic equipment and readable storage medium | |
CN115022418B (en) | Data interaction method, device and system for electric booster bicycle and storage medium | |
CN114489009A (en) | Configuration information writing method and device, electronic equipment and storage medium | |
CN116389585A (en) | Method and device for NFC data caching and electronic equipment | |
CN108872999B (en) | Object identification method, device, identification equipment and storage medium | |
CN112702068B (en) | Method, device, equipment and storage medium for processing coded data | |
CN115834281B (en) | Data transmission method, device, electronic equipment and storage medium | |
CN117499334B (en) | Intelligent vehicle communication method, terminal equipment and storage medium | |
CN116088488B (en) | Multi-channel-based communication method and system and electronic equipment | |
CN114900390B (en) | Data transmission method, device, electronic equipment and storage medium | |
CN116582772B (en) | Electric energy data acquisition method, system, electronic equipment and medium | |
CN116467096B (en) | Data transmission method and system for inter-core communication and communication core | |
CN114710450B (en) | Flow control method, device, equipment and computer storage medium | |
CN114302425B (en) | Equipment network distribution method and device, storage medium and electronic equipment | |
CN110385996B (en) | Electric feedback braking method, device and equipment for electric bus | |
US20210263706A1 (en) | Processing radar signals | |
CN118778587A (en) | Vehicle detection method, device and diagnosis equipment |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20221013 Address after: 518000 Guangdong province Shenzhen Longgang District Bantian Street five and Avenue North 4012 Yuan Zheng Industrial Park. Applicant after: LAUNCH TECH Co.,Ltd. Address before: 518000 522, headquarters office building of Yuanzheng technology plant, No. 4012, North Wuhe Avenue, Bantian street, Longgang District, Shenzhen, Guangdong Province Applicant before: Shenzhen Yuanzheng Future Automobile Technology Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |