Method, system and medium for increasing android system computing power based on mainboard

文档序号:1963586 发布日期:2021-12-14 浏览:17次 中文

阅读说明:本技术 一种基于主板增加安卓系统算力的方法、系统及介质 (Method, system and medium for increasing android system computing power based on mainboard ) 是由 王红娟 孙长安 胡焱 安静 于 2021-09-24 设计创作,主要内容包括:本发明公开了一种基于主板增加安卓系统算力的方法、系统及介质,所述方法包括以下步骤:配置若干计算棒;配置数据处理服务;将控件和若干计算棒分别与主板进行连接;获取所述控件的数据,并对所述数据执行数据划分操作;根据所述数据划分操作的结果对若干所述计算棒执行数据分发操作;根据所述数据分发操作的结果执行数据计算操作;通过所述数据处理服务对所述数据计算操作的结果执行数据归集操作,得到数据处理结果;将所述数据处理结果通过所述数据处理服务发送至所述控件;通过上述方式,本发明通过在主板上连接多根计算棒,对与主板连接控件的数据进行分发处理,提高系统的算力,进而提高系统的运行速度,提升了用户对安卓系统的体验。(The invention discloses a method, a system and a medium for increasing android system computing power based on a mainboard, wherein the method comprises the following steps: configuring a plurality of computing rods; configuring a data processing service; respectively connecting the control and the plurality of computing rods with the main board; acquiring data of the control and executing data division operation on the data; performing data distribution operation on a plurality of computing sticks according to the result of the data division operation; executing data calculation operation according to the result of the data distribution operation; performing data collection operation on the result of the data calculation operation through the data processing service to obtain a data processing result; sending the data processing result to the control through the data processing service; through the mode, the plurality of computing rods are connected on the mainboard, and the data of the control connected with the mainboard are distributed and processed, so that the computing power of the system is improved, the running speed of the system is further improved, and the experience of a user on the android system is improved.)

1. A method for increasing android system computing power based on a mainboard is characterized by comprising the following steps:

initialization: configuring a plurality of computing rods; configuring a data processing service;

configuring connection: respectively connecting the control and the plurality of computing rods with the main board;

data processing: acquiring data of the control, and executing data division connection operation on the data; performing data distribution operation on a plurality of computing sticks according to the result of the data division operation; executing data calculation operation according to the result of the data distribution operation; performing data collection operation on the result of the data calculation operation through the data processing service to obtain a plurality of data processing results;

and (4) returning a result: and sending a plurality of data processing results to the control through the data processing service.

2. The method for increasing android computing power based on main board according to claim 1, characterized in that: the step of data processing further comprises:

processing the initial data: acquiring data to be processed and address data of the control, and executing the data dividing and connecting operation on the data to be processed and the address data to obtain a plurality of subdata;

distributing data: acquiring information of a plurality of computing sticks; distributing a plurality of the subdata to a plurality of the computing sticks according to the information;

and (3) data calculation: executing the data calculation operation on each subdata through the calculation rod to obtain a plurality of sub calculation results;

data is classified into sets: and executing the data collection operation on the plurality of sub-calculation results to obtain a plurality of data processing results.

3. The method for increasing android computing power based on main board according to claim 1, characterized in that: the step of configuring the connection further comprises:

connecting a computing rod: executing a first connection operation on a plurality of computing rods and the main board;

connecting a control: and executing second connection operation on the control and the mainboard.

4. The method for increasing android computing power based on main board according to claim 2, characterized in that: the step of configuring a plurality of computing sticks further comprises:

configuring a plurality of computing sticks and IP addresses with the same number as the computing sticks; and performing corresponding matching operation on a plurality of computing sticks and a plurality of IP addresses.

5. The method for increasing android computing power based on mainboard of claim 4, wherein: the step of processing the initial data further comprises:

acquiring the data to be processed and the address data, and performing data division operation on the data to be processed to obtain a plurality of temporary data;

and respectively executing data connection operation on the temporary data and the address data to obtain the subdata.

6. The method for increasing android computing power based on mainboard of claim 5, wherein: the computing state comprises a first computing state and a second computing state; the step of distributing data further comprises:

acquiring the calculation states of a plurality of calculation rods, and respectively judging the calculation state of each calculation rod:

if the computing state of the computing stick is the first computing state, setting the computing stick as an available computing stick;

if the calculation state of the calculation stick is the second calculation state, setting the calculation stick as an unavailable calculation stick;

distributing a plurality of the subdata to a plurality of the available computing sticks, and binding the IP addresses of the available computing sticks with the address data in the subdata.

7. The method for increasing android computing power based on mainboard of claim 5, wherein: the step of data calculation further comprises:

executing sub-data splitting operation on each sub-data to obtain the temporary data and the address data; executing the data calculation operation on the temporary data through the calculation stick to obtain a temporary calculation result;

and executing the data connection operation on the temporary calculation result and the address data to obtain the sub-calculation result.

8. The method for increasing android computing power based on main board of claim 7, characterized in that: the step of aggregating the data further comprises:

respectively executing sub-calculation result splitting operation on the plurality of sub-calculation results to obtain a plurality of temporary calculation results and a plurality of address data;

according to the address data, collecting a plurality of temporary calculation results to obtain a plurality of temporary data processing results;

and respectively executing the data connection operation on the temporary data processing results and the address data to obtain a plurality of data processing results.

9. The utility model provides a system for increasing tall and erect system computing power based on mainboard which characterized in that includes: the device comprises an initialization module, a configuration connection module, a data processing module and a result returning module;

the initialization module is used for configuring a plurality of computing rods; configuring a data processing service;

the configuration connecting module is used for respectively connecting the control and the plurality of computing rods with the mainboard;

the data processing module is used for acquiring the data of the control and executing data division connection operation on the data; performing data distribution operation on a plurality of computing sticks according to the result of the data division operation; executing data calculation operation according to the result of the data distribution operation; performing data collection operation on the result of the data calculation operation through the data processing service to obtain a plurality of data processing results;

the result returning module is used for sending a plurality of data processing results to the control through the data processing service;

the configuration connecting module comprises a connecting computing rod unit and a connecting control unit;

the connecting computing rod unit is used for executing first connecting operation on a plurality of computing rods and the main board;

the connection control unit is used for executing second connection operation on the control and the mainboard;

the data processing module comprises an initial data processing unit, a data distribution unit, a data calculation unit and a data aggregation unit;

the processing initial data unit is used for acquiring data to be processed and address data of the control, and executing the data dividing and connecting operation on the data to be processed and the address data to obtain a plurality of subdata;

the distribution data unit is used for acquiring information of a plurality of computing sticks; distributing a plurality of the subdata to a plurality of the computing sticks according to the information;

the data calculation unit is used for executing the data calculation operation on each subdata through the calculation rod to obtain a plurality of sub calculation results;

the data collection unit is used for executing the data collection operation on the sub-calculation results to obtain the data processing results.

10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the method steps of any one of claims 1 to 8 for increasing computing power of an android system based on a motherboard.

Technical Field

The invention relates to the technical field of android system computing power, in particular to a method, a system and a medium for increasing android system computing power based on a mainboard.

Background

At present, with the high-speed development of the electronic industry, the demand of industrial mainboards is increasing day by day; in addition, with the rapid development of scientific technology, various algorithms and model calculations are popularized, for example, a collection terminal integrates a related face algorithm, which requires a mainboard to provide higher computing power to meet the requirements of users.

Some existing motherboards include multiple computing sticks, for example, the RK3399 motherboard has multiple computing sticks based on the Linux system, but there is no case of multiple computing sticks under the android system.

The development of current science and technology is combined, and the computing power of the android system is increased on the basis of the main board.

Disclosure of Invention

The invention aims to improve the computing power of an android system by increasing the number of computing rods of a main board.

In order to achieve the purpose, the invention adopts a technical scheme that: the method for increasing android system computing power based on the mainboard comprises the following steps:

initialization: configuring a plurality of computing rods; configuring a data processing service;

configuring connection: respectively connecting the control and the plurality of computing rods with the main board;

data processing: acquiring data of the control, and executing data division connection operation on the data; performing data distribution operation on a plurality of computing sticks according to the result of the data division operation; executing data calculation operation according to the result of the data distribution operation; performing data collection operation on the result of the data calculation operation through the data processing service to obtain a plurality of data processing results;

and (4) returning a result: and sending a plurality of data processing results to the control through the data processing service.

Further, the step of data processing further comprises:

processing the initial data: acquiring data to be processed and address data of the control, and executing the data dividing and connecting operation on the data to be processed and the address data to obtain a plurality of subdata;

distributing data: acquiring information of a plurality of computing sticks; distributing a plurality of the subdata to a plurality of the computing sticks according to the information;

and (3) data calculation: executing the data calculation operation on each subdata through the calculation rod to obtain a plurality of sub calculation results;

data is classified into sets: and executing the data collection operation on the plurality of sub-calculation results to obtain a plurality of data processing results.

Further, the step of configuring the connection further comprises:

connecting a computing rod: executing a first connection operation on a plurality of computing rods and the main board;

connecting a control: and executing second connection operation on the control and the mainboard.

Further, the step of configuring a number of computing sticks further comprises:

configuring a plurality of computing sticks and the same number of IP addresses as the computing sticks; and performing corresponding matching operation on a plurality of computing sticks and a plurality of IP addresses.

Further, the step of processing the initial data further comprises:

acquiring the data to be processed and the address data, and performing data division operation on the data to be processed to obtain a plurality of temporary data;

and respectively executing data connection operation on the temporary data and the address data to obtain the subdata.

Further, the computation state comprises a first computation state and a second computation state; the step of distributing data further comprises:

acquiring the calculation states of a plurality of calculation rods, and respectively judging the calculation state of each calculation rod:

if the computing state of the computing stick is the first computing state, setting the computing stick as an available computing stick;

if the calculation state of the calculation stick is the second calculation state, setting the calculation stick as an unavailable calculation stick;

distributing a plurality of the subdata to a plurality of the available computing sticks, and binding the IP addresses of the available computing sticks with the address data in the subdata.

Further, the step of data calculation further comprises:

executing sub-data splitting operation on each sub-data to obtain the temporary data and the address data; executing the data calculation operation on the temporary data through the calculation stick to obtain a temporary calculation result;

and executing the data connection operation on the temporary calculation result and the address data to obtain the sub-calculation result.

Further, the step of aggregating the data further comprises:

respectively executing sub-calculation result splitting operation on the plurality of sub-calculation results to obtain a plurality of temporary calculation results and a plurality of address data;

according to the address data, collecting a plurality of temporary calculation results to obtain a plurality of temporary data processing results;

and respectively executing the data connection operation on the temporary data processing results and the address data to obtain a plurality of data processing results.

A system for increasing android computing power based on a motherboard, comprising: the device comprises an initialization module, a configuration connection module, a data processing module and a result returning module;

the initialization module is used for configuring a plurality of computing rods; configuring a data processing service;

the configuration connecting module is used for respectively connecting the control and the plurality of computing rods with the mainboard;

the data processing module is used for acquiring the data of the control and executing data division connection operation on the data; performing data distribution operation on a plurality of computing sticks according to the result of the data division operation; executing data calculation operation according to the result of the data distribution operation; performing data collection operation on the result of the data calculation operation through the data processing service to obtain a plurality of data processing results;

the result returning module is used for sending a plurality of data processing results to the control through the data processing service;

the configuration connecting module comprises a connecting computing rod unit and a connecting control unit;

the connecting computing rod unit is used for executing first connecting operation on a plurality of computing rods and the main board;

the connection control unit is used for executing second connection operation on the control and the mainboard;

the data processing module comprises an initial data processing unit, a data distribution unit, a data calculation unit and a data aggregation unit;

the processing initial data unit is used for acquiring data to be processed and address data of the control, and executing the data dividing and connecting operation on the data to be processed and the address data to obtain a plurality of subdata;

the distribution data unit is used for acquiring information of a plurality of computing sticks; distributing a plurality of the subdata to a plurality of the computing sticks according to the information;

the data calculation unit is used for executing the data calculation operation on each subdata through the calculation rod to obtain a plurality of sub calculation results;

the data collection unit is used for executing the data collection operation on the sub-calculation results to obtain the data processing results.

The invention also provides a computer readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of the method for increasing the computing power of the android system based on the mainboard are realized.

The invention has the beneficial effects that:

1. according to the method for increasing the computing power of the android system based on the mainboard, the purpose that a plurality of computing rods are added on the mainboard to distribute and process data of a control connected with the mainboard can be achieved, the computing power of the system is improved, the stability of the system is guaranteed, the running speed of the system is improved, and the user experience is improved;

2. according to the system for increasing the computing power of the android system based on the mainboard, the data of the control can be subjected to decentralized processing through different computing rods, the processed data are transmitted back to the corresponding control according to the address data of the control, and the computing efficiency of the system is greatly improved through decentralized processing;

3. according to the medium for increasing the computing power of the android system based on the main board, the computing power of the android system can be increased, the smoothness of the operation of the whole android system is improved, and the experience of a user on the android system is further improved.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.

Fig. 1 is a flowchart of a method for increasing computing power of an android system based on a motherboard according to embodiment 1 of the present invention;

fig. 2 is a flowchart of configuration connection steps of a method for increasing computing power of an android system based on a motherboard according to embodiment 1 of the present invention;

fig. 3 is a flowchart of data processing steps of a method for increasing computing power of an android system based on a motherboard according to embodiment 1 of the present invention;

fig. 4 is a diagram of a connection relationship among a main board, 14 computing sticks, and a camera control provided in an embodiment of the present invention;

fig. 5 is an architecture diagram of a system for increasing computing power of an android system based on a motherboard according to embodiment 2 of the present invention;

fig. 6 is a schematic diagram of a configuration connection module of a system for increasing computing power of an android system based on a motherboard according to embodiment 2 of the present invention;

fig. 7 is a schematic diagram of a data processing module of a system for increasing computing power of an android system based on a motherboard according to embodiment 2 of the present invention.

It should be noted that, in the description of the present invention,

USB (Universal Serial bus) is an external bus standard;

PCIe (peripheral Component Interconnect express) is a high-speed serial computer expansion bus standard.

Detailed Description

The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

In the description of the present invention, it is to be noted that, unless explicitly specified or limited otherwise, "initialization", "calculation stick", "data processing service", "control", "data division connection operation", "data distribution operation", "data calculation operation", "data aggregation operation", "data processing result", "data to be processed", "address data", "sub calculation result", "first connection operation", "second connection operation", "correspondence matching operation", "data division operation", "temporary data", "first calculation state", "second calculation state", "available calculation stick", "unavailable calculation stick", "sub data splitting operation", "sub calculation result splitting operation", "traversal classification operation", "address data set", "temporary data processing result" The terms "initialization module", "configuration connection module", "data processing module", "result feedback module", "connection calculation rod unit", "connection control unit", "processing initial data unit", "distribution data unit", "data calculation unit", "data collection unit", and the like, should be understood in a broad sense. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.

Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.

Example 1

It should be noted that, in the embodiment of the present invention, the selected motherboard is an RK3399 motherboard commonly used in the android system, the selected computing stick is a TB-RK1808M0 computing stick, and the execution process of the present invention is explained by using the RK3399 motherboard and the TB-RK1808M0 computing stick.

The embodiment of the invention provides a method for increasing android system computing power based on a mainboard, and with reference to fig. 1 to 4, the method comprises the following steps:

s100, initialization:

configuring a plurality of TB-RK1808M0 computing rods, numbering each computing rod, configuring IP addresses with the same number as the TB-RK1808M0 computing rods, and carrying out one-to-one corresponding matching on the TB-RK1808M0 computing rods and the IP addresses.

For the purpose of more clearly explaining the present invention, it is exemplified here that TB-RK1808M0 has a number of 14 counting rods, which are numbered M0-1, M0-2, M0-3 … … M0-14; and (3) configuring 14 IP addresses, wherein the IP addresses are 192.168.122.1 and 192.168.122.2 … … 192.168.122.14, and correspondingly matching 14 TB-RK1808M0 computing sticks with the 14 IP addresses, namely the IP address of an M0-1 computing stick is 192.168.122.1, and the IP address of an M0-2 computing stick is 192.168.122.2 … … M0-14 computing stick is 192.168.122.14.

And configuring the data processing service and setting the data processing service as a starting service.

S200, configuration connection:

s201, connecting a computing rod:

a plurality of TB-RK1808M0 computing sticks are connected with an RK3399 main board in a USB interface connection mode, a PCIe connection mode and the like.

In order to explain the invention more clearly, a plurality of TB-RK1808M0 computing sticks are connected with an RK3399 mainboard through a USB interface by way of example.

S202, connecting a control:

and connecting the control with the RK3399 mainboard through the USB interface, distributing address data for the control, and writing the corresponding relation between the address data and the control into a data processing service.

In order to explain the present invention more clearly, it is illustrated here that the control is a camera, the camera is connected to the RK3399 motherboard through a USB interface, the IP address of the camera is 192.168.122.255, and the 192.168.122.255 correspondence with the camera control is written into the data processing service.

S300, data processing:

s301, processing initial data:

starting a control, acquiring data to be processed and address data of the control, and dividing the data to be processed, wherein the division can be performed according to a division strategy built in the control, can be performed according to functions, and can also be performed according to capacity size, so as to obtain a plurality of temporary data; and adding the address data of the control before the temporary data respectively to obtain a plurality of subdata.

In order to explain the present invention more clearly, the example in the step of continuing S202 to connect the control is illustrated here, the camera control is started, the camera captures the portrait data, the portrait data is divided according to the number of frames, the first frame is divided into first temporary data, and the second frame is divided into second temporary data; and then the IP address 192.168.122.255 of the camera control is added before the first temporary data and the second temporary data, respectively, to obtain two subdata.

S302, data distribution:

acquiring the calculation states of a plurality of TB-RK1808M0 calculation rods, and respectively judging the calculation state of each TB-RK1808M0 calculation rod:

if the computing state of the TB-RK1808M0 computing rod is the first computing state, namely the current TB-RK1808M0 computing rod is in an idle state, setting the current TB-RK1808M0 computing rod as an available computing rod;

if the calculation state of the TB-RK1808M0 calculation stick is a second calculation state, namely the current TB-RK1808M0 calculation stick is in a busy state, setting the current TB-RK1808M0 calculation stick as an unavailable calculation stick;

distributing a plurality of subdata to an available computing bar for computing, and binding the IP address of the computing bar for distributing the subdata with the address data in the subdata.

For a more clear explanation of the invention, continuing with the example in the step of S301 processing the initial data, computing states of 14 TB-RK1808M0 computing sticks are obtained, and if at the current time the computing states of the TB-RK1808M0 computing sticks numbered M0-1, M0-2 and M0-3 are idle and the computing states of the other TB-RK1808M0 computing sticks are busy, the TB-RK1808M0 computing sticks numbered M0-1, M0-2 and M0-3 are available computing sticks; according to the numbering sequence, two subdata of the camera control are distributed to TB-RK1808M0 computing sticks with the numbers of M0-1 and M0-2 for computing, the IP address 192.168.122.255 of the camera control is bound with the IP address 192.168.122.1 of the M0-1 computing stick, and the IP address 192.168.122.255 of the camera control is bound with the IP address 192.168.122.2 of the M0-2 computing stick.

S303, data calculation:

splitting one subdata to obtain temporary data and address data; calculating the temporary data split from the subdata by the calculating rod where the subdata is located to obtain a temporary calculating result; and adding the address data split from the subdata in front of the temporary calculation result to obtain the sub-calculation result of the subdata.

According to the steps, the same processing is carried out on other sub data, and a plurality of sub calculation results can be obtained.

S304, data collection:

splitting the sub-calculation results respectively to obtain a plurality of temporary calculation results and a plurality of address data; according to the address data, a plurality of temporary calculation results are collected, namely temporary calculation results with the same address data are collected into the same data set, so that a plurality of temporary data processing results can be obtained; and then adding the address data to the front end of the corresponding temporary data processing result to obtain a plurality of data processing results.

S400, result returning:

acquiring a plurality of data processing results, and splitting the plurality of data processing results respectively to obtain a plurality of temporary data processing results and a plurality of address data; searching a corresponding control through data processing service according to the address data; and sending the temporary data processing result corresponding to the address data to the corresponding control through the data processing service.

To explain the present invention more clearly, it is illustrated here that a plurality of data processing results are set to { [ (192.168.122.175), (11011011101) ], [ (192.168.122.255), (1100110110110), (1011100110100) ] }, and the plurality of data processing results are split to obtain (192.168.122.175): (11011011101) and (192.168.122.255): [ (1100110110110), (1011100110100) ], as in the previous step, it can be seen that the control corresponding to address data 192.168.122.255 is a camera, and the data processing service will pass [ (1100110110110), (1011100110100) ] to the camera firmware.

It should be noted that the above examples are only for explaining the implementation of the present invention, and do not limit the protection scope of the present invention.

Example 2

It should be noted that, in the embodiment of the present invention, the selected motherboard is an RK3399 motherboard commonly used in the android system, the selected computing stick is a TB-RK1808M0 computing stick, and the execution process of the present invention is explained by using the RK3399 motherboard and the TB-RK1808M0 computing stick.

An embodiment of the present invention further provides a system for increasing computing power of an android system based on a motherboard, please refer to fig. 4 to 7, including: the device comprises an initialization module, a configuration connection module, a data processing module and a result returning module;

an initialization module:

the initialization module is used for configuring a plurality of computing rods; configuring a data processing service;

specifically, the initialization module is provided with a plurality of TB-RK1808M0 computing sticks, each computing stick is numbered, IP addresses with the same number as the TB-RK1808M0 computing sticks are configured, and the TB-RK1808M0 computing sticks are matched with the IP addresses in a one-to-one correspondence mode.

For the purpose of more clearly explaining the present invention, it is exemplified here that TB-RK1808M0 has a number of 14 counting rods, which are numbered M0-1, M0-2, M0-3 … … M0-14; and (3) configuring 14 IP addresses, wherein the IP addresses are 192.168.122.1 and 192.168.122.2 … … 192.168.122.14, and correspondingly matching 14 TB-RK1808M0 computing sticks with the 14 IP addresses, namely the IP address of an M0-1 computing stick is 192.168.122.1, and the IP address of an M0-2 computing stick is 192.168.122.2 … … M0-14 computing stick is 192.168.122.14.

And configuring the data processing service and setting the data processing service as a starting service.

Configuring a connection module:

the configuration connecting module is used for respectively connecting the control and the plurality of computing rods with the mainboard; the configuration connection module comprises a connection computing rod unit and a connection control unit;

connecting a computing rod unit:

the connecting computing rod unit is used for executing first connecting operation on the computing rods and the main board;

specifically, the computing stick connection unit connects a plurality of TB-RK1808M0 computing sticks with an RK3399 mainboard, and the connection mode can be USB interface connection, PCIe connection and the like.

In order to explain the invention more clearly, a plurality of TB-RK1808M0 computing sticks are connected with an RK3399 mainboard through a USB interface by way of example.

Connecting a control unit:

the connection control unit is used for executing second connection operation on the control and the main board;

specifically, the connecting control unit connects the control with the RK3399 motherboard through the USB interface, allocates address data for the control, and writes the correspondence between the address data and the control into the data processing service.

In order to explain the present invention more clearly, it is illustrated here that the control is a camera, the camera is connected to the RK3399 motherboard through a USB interface, the IP address of the camera is 192.168.122.255, and the 192.168.122.255 correspondence with the camera control is written into the data processing service.

A data processing module:

the data processing module is used for acquiring data of the control and executing data division connection operation on the data; performing data distribution operation on the plurality of computing sticks according to the result of the data division operation; performing a data calculation operation according to a result of the data distribution operation; performing data collection operation on the result of the data calculation operation through a data processing service to obtain a plurality of data processing results; the data processing module comprises an initial data processing unit, a data distribution unit, a data calculation unit and a data aggregation unit;

processing the initial data unit:

the processing initial data unit is used for acquiring data to be processed and address data of the control, and executing data division connection operation on the data to be processed and the address data to obtain a plurality of subdata;

specifically, the control is started, the initial data processing unit obtains data to be processed and address data of the control, and the data to be processed is divided, wherein the division can be performed according to a division strategy built in the control, can be performed according to functions, and can also be performed according to capacity size, so that a plurality of temporary data are obtained; and adding the address data of the control before the temporary data respectively to obtain a plurality of subdata.

In order to explain the invention more clearly, the example in the connection control unit is continued, the camera control is started, the camera captures the portrait data, the portrait data is divided according to the number of frames, the first frame is divided into first temporary data, and the second frame is divided into second temporary data; and then the IP address 192.168.122.255 of the camera control is added before the first temporary data and the second temporary data, respectively, to obtain two subdata.

Distributing the data unit:

the distribution data unit is used for acquiring information of a plurality of computing sticks; distributing the plurality of subdata to the plurality of computing rods according to the information;

specifically, the data distribution unit acquires the calculation states of a plurality of TB-RK1808M0 calculation rods, and respectively judges the calculation state of each TB-RK1808M0 calculation rod:

if the computing state of the TB-RK1808M0 computing rod is the first computing state, namely the current TB-RK1808M0 computing rod is in an idle state, setting the current TB-RK1808M0 computing rod as an available computing rod;

if the calculation state of the TB-RK1808M0 calculation stick is a second calculation state, namely the current TB-RK1808M0 calculation stick is in a busy state, setting the current TB-RK1808M0 calculation stick as an unavailable calculation stick;

distributing a plurality of subdata to an available computing bar for computing, and binding the IP address of the computing bar for distributing the subdata with the address data in the subdata.

To explain the invention more clearly, the example in the continuation processing of the initial data unit is illustrated here, where the computing states of 14 TB-RK1808M0 computing sticks are obtained, and the computing states of TB-RK1808M0 computing sticks numbered M0-1, M0-2, M0-3 are idle and the computing states of the other TB-RK1808M0 computing sticks numbered M0-1, M0-2, M0-3 are busy at the current time, and the TB-RK1808M0 computing sticks numbered M0-1, M0-2, M0-3 are available computing sticks; according to the numbering sequence, two subdata of the camera control are distributed to TB-RK1808M0 computing sticks with the numbers of M0-1 and M0-2 for computing, the IP address 192.168.122.255 of the camera control is bound with the IP address 192.168.122.1 of the M0-1 computing stick, and the IP address 192.168.122.255 of the camera control is bound with the IP address 192.168.122.2 of the M0-2 computing stick.

A data calculation unit:

the data calculation unit is used for performing data calculation operation on the sub-data through the calculation rod to obtain a plurality of sub-calculation results;

specifically, the data calculation unit performs sub-data splitting on one of the sub-data to obtain temporary data and address data; calculating the temporary data split from the subdata by the calculating rod where the subdata is located to obtain a temporary calculating result; and adding the address data split from the subdata in front of the temporary calculation result to obtain the sub-calculation result of the subdata.

According to the steps, the same processing is carried out on other sub data, and a plurality of sub calculation results can be obtained.

A data aggregation unit:

the data collecting unit is used for carrying out data collecting operation on the sub-calculation results to obtain a plurality of data processing results;

specifically, the data collection unit splits the sub-calculation results of the plurality of sub-calculation results respectively to obtain a plurality of temporary calculation results and a plurality of address data; according to the address data, a plurality of temporary calculation results are collected, namely temporary calculation results with the same address data are collected into the same data set, so that a plurality of temporary data processing results can be obtained; and then adding the address data to the front end of the corresponding temporary data processing result to obtain a plurality of data processing results.

A result returning module:

the result returning module is used for sending a plurality of data processing results to the control through the data processing service;

specifically, the result returning module obtains a plurality of data processing results, and splits the plurality of data processing results respectively to obtain a plurality of temporary data processing results and a plurality of address data; searching a corresponding control through data processing service according to the address data; and sending the temporary data processing result corresponding to the address data to the corresponding control through the data processing service.

To explain the present invention more clearly, it is illustrated here that a plurality of data processing results are set to { [ (192.168.122.175), (11011011101) ], [ (192.168.122.255), (1100110110110), (1011100110100) ] }, and the plurality of data processing results are split to obtain (192.168.122.175): (11011011101) and (192.168.122.255): [ (1100110110110), (1011100110100) ], as in the previous step, it can be seen that the control corresponding to address data 192.168.122.255 is a camera, and the data processing service will pass [ (1100110110110), (1011100110100) ] to the camera firmware.

It should be noted that the above examples are only for explaining the implementation of the present invention, and do not limit the protection scope of the present invention.

Example 3

This embodiment 3 has a computer-readable storage medium, where the storage medium is used to store computer software instructions for implementing the method for increasing android system computing based on a motherboard according to embodiment 1, and the storage medium contains a program configured to be used in the method for increasing android system computing based on a motherboard; specifically, the executable program may be embedded in the system for increasing computing power of the android system based on the motherboard in embodiment 2, so that the system for increasing computing power of the android system based on the motherboard can implement the method for increasing computing power of the android system based on the motherboard in embodiment 1 by executing the embedded executable program.

The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.

It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, and a program that can be implemented by the hardware and can be instructed by the program to be executed by the relevant hardware may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic or optical disk, and the like.

The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:基于MPI+X的DSMC并行计算方法、设备及介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!