CN108170540A - Battery cluster data processing method and battery cluster data processing system - Google Patents

Battery cluster data processing method and battery cluster data processing system Download PDF

Info

Publication number
CN108170540A
CN108170540A CN201711337636.5A CN201711337636A CN108170540A CN 108170540 A CN108170540 A CN 108170540A CN 201711337636 A CN201711337636 A CN 201711337636A CN 108170540 A CN108170540 A CN 108170540A
Authority
CN
China
Prior art keywords
data
battery cluster
processing
primary
clock signals
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
CN201711337636.5A
Other languages
Chinese (zh)
Inventor
容海林
袁虎
陈迪虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Clou Electronics Co Ltd
Original Assignee
Shenzhen Clou Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Clou Electronics Co Ltd filed Critical Shenzhen Clou Electronics Co Ltd
Priority to CN201711337636.5A priority Critical patent/CN108170540A/en
Publication of CN108170540A publication Critical patent/CN108170540A/en
Pending legal-status Critical Current

Links

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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]

Abstract

The invention discloses a kind of battery cluster data processing method and battery cluster data processing system, wherein, this method includes:Detection synchronizing clock signals are currently at low level and are in high level;If in low level, the primary data of at least one battery cluster of synchronous acquisition, and collected all primary datas are stored into default shared drive, the flag bit of each primary data is untreated;If in high level, after all primary datas are replicated from default shared drive, each primary data is handled to obtain data after a processing, and data after all processing are stored into default shared region, the flag bit of data is revised as processed after each processing.The present invention is under the control of synchronizing clock signals, by multiple thread synchronization gathered datas, so as to improve acquisition rate.In addition, the data of acquisition are different from data storage location after processing, it is achieved thereby that effective differentiation of the two, so that improving data-handling efficiency.

Description

Battery cluster data processing method and battery cluster data processing system
Technical field
The present invention relates to battery power management technical field more particularly to a kind of battery cluster data processing method and battery clusters Data processing system.
Background technology
After existing BAMS (battery stack management system) has acquired the data of BCMS (battery cluster management system), just into line number According to processing, therefore, data-handling efficiency is low.
Invention content
The purpose of the present invention is to provide a kind of battery cluster data processing method and battery cluster data processing system, to solve The technical issues of data-handling efficiency is low.
To solve the above-mentioned problems, the present invention provides a kind of battery cluster data processing method, including:
Detection synchronizing clock signals are currently at low level and are in high level;
If synchronizing clock signals are in low level, the primary data of at least one battery cluster of synchronous acquisition, and will collect All primary datas store into default shared drive, each battery cluster performs acquisition operations by thread, each The flag bit of a primary data is untreated;
If synchronizing clock signals are in high level, after all primary datas are replicated from default shared drive, processing is each A primary data is stored data after all processing into default shared region with obtaining data after a processing, each The flag bit of data is revised as processed after processing.
It is further improved as the present invention, the primary data of at least one battery cluster of synchronous acquisition further includes later:
When detecting that synchronizing clock signals are in rising edge, the primary data of each battery cluster is packaged, and uploads packing Data afterwards.
It is further improved as the present invention, data are stored into default shared region after all processing, are further included later:
Receive the call request of at least one process;
Data extremely initiate the target process of call request after interaction target processing corresponding with call request.
Be further improved as the present invention, process include monitoring process, host process, communication forwarding process, HDB processes and WEB processes.
It is further improved, further includes as the present invention:
Intercept the connection request for whether receiving at least one target battery cluster;
If receiving the connection request of at least one target battery cluster, at least one subject thread is created, subject thread is used In the primary data of acquisition target battery cluster, each subject thread corresponds to a target battery race.
A kind of battery cluster data processing system, including:
Detection module is currently at low level for detecting synchronizing clock signals and is in high level;
Acquisition module, if being in low level, the initial number of at least one battery cluster of synchronous acquisition for synchronizing clock signals According to, and collected all primary datas are stored into default shared drive, each battery cluster is performed by a thread Acquisition operations, the flag bit of each primary data is untreated;
Processing module if being in high level for synchronizing clock signals, replicates all initial numbers from default shared drive According to rear, each primary data is handled to obtain data after a processing, and data after all processing are stored to default shared In region, the flag bit of data is revised as processed after each processing.
It is further improved as the present invention, acquisition module further includes:
Packaged unit during for detecting that synchronizing clock signals are in rising edge, is packaged the initial number of each battery cluster According to, and upload data after packing.
It is further improved, further includes as the present invention:
Request receiving module, for receiving the call request of at least one process;
Interactive module, for data after interaction corresponding with call request target processing to initiation call request target into Journey.
Be further improved as the present invention, process include monitoring process, host process, communication forwarding process, HDB processes and WEB processes.
It is further improved, further includes as the present invention:
Module is intercepted, for intercepting the connection request for whether receiving at least one target battery cluster;
If thread creation module for receiving the connection request of at least one target battery cluster, creates at least one mesh Graticule journey, subject thread are used to acquire the primary data of target battery cluster, each subject thread corresponds to a target battery race.
Compared with prior art, the present invention is under the control of synchronizing clock signals, by multiple thread synchronization gathered datas, So as to improve acquisition rate.In addition, storing the data acquired to default shared drive, during asynchronous process data, will locate Data are stored to default shared region after reason, and therefore, the data of acquisition are different from data storage location after processing, it is achieved thereby that Effective differentiation of the two, so that improving data-handling efficiency.
Description of the drawings
Fig. 1 is the flow diagram of battery cluster data processing method one embodiment of the present invention;
Fig. 2 is the flow diagram of second embodiment of battery cluster data processing method of the present invention;
Fig. 3 is the flow diagram of battery cluster data processing method third embodiment of the present invention;
Fig. 4 is the high-level schematic functional block diagram of battery cluster data processing system one embodiment of the present invention;
Fig. 5 is the circuit theory schematic diagram of battery cluster data processing system one embodiment of the present invention;
Fig. 6 is the high-level schematic functional block diagram of second embodiment of battery cluster data processing system of the present invention;
Fig. 7 is the high-level schematic functional block diagram of battery cluster data processing system third embodiment of the present invention;
Fig. 8 is the high-level schematic functional block diagram of the 4th embodiment of battery cluster data processing system of the present invention.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used to limit the present invention.
Fig. 1 illustrates one embodiment of battery cluster data processing method of the present invention.In the present embodiment, the battery number of clusters Include the following steps according to processing method:
Step S1, detection synchronizing clock signals are currently at low level and are in high level.If at synchronizing clock signals In low level, step S2 is performed.If synchronizing clock signals are in high level, step S3 is performed.
In step sl, BAMS (battery stack management system) detections synchronizing clock signals are currently at low level and are in High level.
Step S2, the primary data of at least one battery cluster of synchronous acquisition, and collected all primary datas are stored Into default shared drive, each battery cluster performs acquisition operations, the flag bit of each primary data by a thread It is untreated.
In step s 2, the primary data of at least one battery cluster of BCMS (battery cluster management system) synchronous acquisitions, and will Collected all primary datas are stored into default shared drive.
Specifically, each thread acquires the primary data of a battery cluster, sets the flag bit of each primary data To be untreated, and will be in default shared drive of the collected primary data through network transmission to BAMS (battery stack management system) It is stored.Further, in order to promote network transmission speed, the present embodiment using 100M networks by initial data transfer extremely BAMS.Assuming that the primary data of a battery cluster is 4Kbyte, then it can complete to acquire within 1S and transmit, so as to improve Further improve acquisition rate and transmission rate.
Step S3 after all primary datas are replicated from default shared drive, handles each primary data to obtain one Data after a processing, and data after all processing are stored into default shared region, the flag bit of data after each processing It is revised as processed.
In step s3, after BAMS (battery stack management system) replicates all primary datas from default shared drive, place Each primary data is managed to obtain data after a processing, and data after all processing are stored into default shared region, The flag bit of data is revised as processed after each processing.
The present embodiment, by multiple thread synchronization gathered datas, is adopted under the control of synchronizing clock signals so as to improve Collect rate.In addition, storing the data acquired to default shared drive, during asynchronous process data, data after processing are stored To default shared region, therefore, the data of acquisition are different from data storage location after processing, it is achieved thereby that the effective district of the two Point, so that improving data-handling efficiency.
During battery cluster data processing method of the present invention is applied to the use of battery cluster data processing system, need Promoting transmission rate.Therefore, on the basis of above-described embodiment, in other embodiment, in the synchronous acquisition at least one of step S2 After the primary data of a battery cluster, including:
Step S10 when detecting that synchronizing clock signals are in rising edge, is packaged the primary data of each battery cluster, and Upload data after being packaged.It performs after completing step S10, performs and store collected all primary datas to default shared interior In depositing.
In step S10, when low level switchs to high level, BCMS (battery cluster management system) is to collected primary data Packing processing is carried out, to carry out uniform transmission processing.
The present embodiment carries out packing processing, just to collected primary data automatically when reaching acquisition end time point In subsequently carrying out uniform transmission processing and subsequently carrying out classification processing, both improve message transmission rate, also allow for subsequently into Row processing.
During battery cluster data processing method of the present invention is applied to the use of battery cluster data processing system, processing Data need interaction to be used to required process afterwards.Therefore, on the basis of above-described embodiment, in other embodiment, referring to Fig. 2, After step S3, further include:
Step S20 receives the call request of at least one process.
It should be noted that the process in the present embodiment includes monitoring process, host process, communication forwarding process, HDB processes With WEB processes.
Step S21, data extremely initiate the target process of call request after interaction target processing corresponding with call request.
The present embodiment uniformly stores data after processing to default shared region, therefore, please in the calling for receiving process When asking, data after direct interaction processing corresponding with the call request, so as to improve the data processing performance of system.
During battery cluster data processing method of the present invention is applied to the use of battery cluster data processing system, need The data harvesting request of the new battery cluster of real-time response, therefore, on the basis of above-described embodiment, in other embodiment, referring to Fig. 3, the battery cluster data processing method further include:
Step S30 intercepts the connection request for whether receiving at least one target battery cluster.If receive at least one mesh The connection request of battery cluster is marked, performs step S31.
Step S31 creates at least one subject thread, and subject thread is used to acquire the primary data of target battery cluster, often One subject thread corresponds to a target battery race.
When the present embodiment receives the connection request of new battery cluster, thread is automatically created, to acquire new electricity in real time The data of pond cluster, so as to further improve user experience.
Fig. 4 illustrates one embodiment of battery cluster data processing system of the present invention.In the present embodiment, the battery number of clusters Include detection module 10, acquisition module 11 and processing module 12 according to processing system.
Wherein, detection module 10 are currently at low level for detecting synchronizing clock signals and are in high level;Acquisition Module 11 if being in low level, the primary data of at least one battery cluster of synchronous acquisition for synchronizing clock signals, and will acquire To all primary datas store into default shared drive, each battery cluster performs acquisition operations by thread, often The flag bit of one primary data is untreated;Processing module 12, it is common from presetting if being in high level for synchronizing clock signals It enjoys after all primary datas are replicated in memory, handles each primary data to obtain data after a processing, and by all places Data are stored into default shared region after reason, and the flag bit of data is revised as processed after each processing.
Specifically, for technical scheme of the present invention detailed further, referring to Fig. 5, when in low level, battery pile Management system BAMS includes a preposition communication process, for acquiring the primary data of multiple battery cluster management system BCMS, and will Collected data are stored into default shared drive.When handling high level, battery stack management system BAMS is used for pre- from this If in shared drive, replicating all primary datas, and handled, in addition, storing data after processing to default shared region In, so that monitoring process, host process, communication forwarding process, HDB processes and WEB processes use.
On the basis of above-described embodiment, in other embodiment, referring to Fig. 6, which further includes packaged unit 110。
Wherein, packaged unit 110 during for detecting that synchronizing clock signals are in rising edge, are packaged each battery cluster Primary data, and upload packing after data.
On the basis of above-described embodiment, in other embodiment, referring to Fig. 7, which further includes Request receiving module 20 and interactive module 21.
Wherein, request receiving module 20, for receiving the call request of at least one process;Interactive module 21, for handing over Data extremely initiate the target process of call request after mutually target corresponding with call request is handled.
On the basis of above-described embodiment, in other embodiment, process includes monitoring process, host process, communication forward into Journey, HDB processes and WEB processes.
On the basis of above-described embodiment, in other embodiment, referring to Fig. 8, which further includes Intercept module 30 and thread creation module 31.
Wherein, module 30 is intercepted, for intercepting the connection request for whether receiving at least one target battery cluster;Thread is created Block 31 is modeled, if for receiving the connection request of at least one target battery cluster, creates at least one subject thread, score Journey is used to acquire the primary data of target battery cluster, each subject thread corresponds to a target battery race.
The specific embodiment of invention is described in detail above, but it is only used as example, the present invention is not intended to limit With specific embodiments described above.For a person skilled in the art, any equivalent modifications carried out to the invention Or substitute also all among scope of the invention, therefore, the equalization made in the case where not departing from the spirit and principles in the present invention range Transformation and modification, improvement etc., all should be contained within the scope of the invention.

Claims (10)

1. a kind of battery cluster data processing method, which is characterized in that it includes:
Detection synchronizing clock signals are currently at low level and are in high level;
If synchronizing clock signals are in low level, the primary data of at least one battery cluster of synchronous acquisition, and by collected institute There is primary data to store into default shared drive, each battery cluster performs acquisition operations by thread, at the beginning of each The flag bit of beginning data is untreated;
If synchronizing clock signals are in high level, after all primary datas are replicated from the default shared drive, processing Each primary data is stored data after all processing into default shared region with obtaining data after a processing, often The flag bit of data is revised as processed after one processing.
2. battery cluster data processing method according to claim 1, which is characterized in that at least one battery cluster of synchronous acquisition Primary data, further include later:
When detecting that the synchronizing clock signals are in rising edge, the primary data of each battery cluster is packaged, and uploads packing Data afterwards.
3. battery cluster data processing method according to claim 1, which is characterized in that data are stored to pre- after all processing If it in shared region, further includes later:
Receive the call request of at least one process;
Data are to the target process for initiating the call request after corresponding with the call request target of interaction is handled.
4. battery cluster data processing method according to claim 3, which is characterized in that the process include monitoring process, Host process, communication forwarding process, HDB processes and WEB processes.
5. battery cluster data processing method according to claim 1, which is characterized in that it is further included:
Intercept the connection request for whether receiving at least one target battery cluster;
If receiving the connection request of at least one target battery cluster, at least one subject thread is created, the subject thread is used In the primary data of acquisition target battery cluster, each subject thread corresponds to a target battery race.
6. a kind of battery cluster data processing system, which is characterized in that it includes:
Detection module is currently at low level for detecting synchronizing clock signals and is in high level;
Acquisition module, if being in low level for synchronizing clock signals, the primary data of at least one battery cluster of synchronous acquisition, and Collected all primary datas are stored into default shared drive, each battery cluster performs acquisition behaviour by a thread Make, the flag bit of each primary data is untreated;
Processing module if being in high level for synchronizing clock signals, replicates described all first from the default shared drive After beginning data, each primary data is handled to obtain data after a processing, and data after all processing are stored to default In shared region, the flag bit of data is revised as processed after each processing.
7. battery cluster data processing system according to claim 6, which is characterized in that the acquisition module further includes:
Packaged unit during for detecting that the synchronizing clock signals are in rising edge, is packaged the initial number of each battery cluster According to, and upload data after packing.
8. battery cluster data processing system according to claim 6, which is characterized in that it is further included:
Request receiving module, for receiving the call request of at least one process;
Interactive module, for data after interaction target processing corresponding with the call request to the mesh for initiating the call request Mark process.
9. battery cluster data processing system according to claim 7, which is characterized in that the process include monitoring process, Host process, communication forwarding process, HDB processes and WEB processes.
10. battery cluster data processing system according to claim 6, which is characterized in that it is further included:
Module is intercepted, for intercepting the connection request for whether receiving at least one target battery cluster;
If thread creation module for receiving the connection request of at least one target battery cluster, creates at least one score Journey, the subject thread are used to acquire the primary data of target battery cluster, each subject thread corresponds to a target battery race.
CN201711337636.5A 2017-12-13 2017-12-13 Battery cluster data processing method and battery cluster data processing system Pending CN108170540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711337636.5A CN108170540A (en) 2017-12-13 2017-12-13 Battery cluster data processing method and battery cluster data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711337636.5A CN108170540A (en) 2017-12-13 2017-12-13 Battery cluster data processing method and battery cluster data processing system

Publications (1)

Publication Number Publication Date
CN108170540A true CN108170540A (en) 2018-06-15

Family

ID=62525322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711337636.5A Pending CN108170540A (en) 2017-12-13 2017-12-13 Battery cluster data processing method and battery cluster data processing system

Country Status (1)

Country Link
CN (1) CN108170540A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165235A (en) * 2018-07-13 2019-01-08 深圳市科陆电子科技股份有限公司 Processing method, system and the storage medium of the charge and discharge data of battery pile

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050079418A1 (en) * 2003-10-14 2005-04-14 3M Innovative Properties Company In-line deposition processes for thin film battery fabrication
CN105226759A (en) * 2015-10-28 2016-01-06 北京新能源汽车股份有限公司 The synchronous sampling method of battery management system and sampling system
CN106100782A (en) * 2016-06-20 2016-11-09 福州台江区超人电子有限公司 A kind of signal synchronous collection system
CN106953787A (en) * 2017-03-28 2017-07-14 华南理工大学 A kind of battery management system multi-host communication method and device based on electrical level transfer
CN106997970A (en) * 2017-03-08 2017-08-01 深圳市科陆电子科技股份有限公司 A kind of battery pack data communication system
CN107133231A (en) * 2016-02-29 2017-09-05 中移(苏州)软件技术有限公司 A kind of data capture method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050079418A1 (en) * 2003-10-14 2005-04-14 3M Innovative Properties Company In-line deposition processes for thin film battery fabrication
CN105226759A (en) * 2015-10-28 2016-01-06 北京新能源汽车股份有限公司 The synchronous sampling method of battery management system and sampling system
CN107133231A (en) * 2016-02-29 2017-09-05 中移(苏州)软件技术有限公司 A kind of data capture method and device
CN106100782A (en) * 2016-06-20 2016-11-09 福州台江区超人电子有限公司 A kind of signal synchronous collection system
CN106997970A (en) * 2017-03-08 2017-08-01 深圳市科陆电子科技股份有限公司 A kind of battery pack data communication system
CN106953787A (en) * 2017-03-28 2017-07-14 华南理工大学 A kind of battery management system multi-host communication method and device based on electrical level transfer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165235A (en) * 2018-07-13 2019-01-08 深圳市科陆电子科技股份有限公司 Processing method, system and the storage medium of the charge and discharge data of battery pile

Similar Documents

Publication Publication Date Title
CN102088489B (en) Distributed data synchronizing system and method
CN104092719B (en) Document transmission method, device and distributed cluster file system
CN106503017A (en) A kind of distributed reptile system task grasping system and method
CN106657174A (en) Data synchronizing and updating methods and data synchronizing and updating devices
CN103955436B (en) A kind of data processing equipment and terminal
CN105721315A (en) Control method for centralized mac address learning
CN103488546A (en) Backup and recovery method capable of supporting online concurrency of multi-level data and database
US20230042747A1 (en) Message Processing Method and Device, Storage Medium, and Electronic Device
CN104954101B (en) Multiple terminals method of data synchronization based on synchronous ACK
CN107231400A (en) The synchronous method and device of a kind of data
CN107357630A (en) A kind of method, apparatus and storage medium for realizing that virtual machine is synchronous
CN104468163A (en) Method and device for disaster tolerant network construction, and disaster tolerant network
CN110730449A (en) Wireless sensor network communication method and system based on multiple block chains
CN101710856A (en) Method and equipment for detection processing of loopback of aggregation link
CN104301990B (en) A kind of method and device of data syn-chronization
CN103036760A (en) Topology convergence method and member equipment of stacking system
CN103701653B (en) The processing method of a kind of interface hot plug configuration data and network configuration server
CN104462562A (en) Data migration system and method based on data warehouse automation
CN109800081A (en) A kind of management method and relevant device of big data task
CN104866528A (en) Multi-platform data acquisition method and system
CN109215326A (en) A kind of parallel meter register method and device
CN108170540A (en) Battery cluster data processing method and battery cluster data processing system
CN106649702A (en) File storage method and apparatus of cloud storage system, and cloud storage system
CN104079663A (en) Distributed type real-time synchronizing network system and data annunciating method thereof
CN105630629B (en) Data backup method and system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180615