CN109862107A - Multithread scheduling specifies upgrade method, server-side and client - Google Patents
Multithread scheduling specifies upgrade method, server-side and client Download PDFInfo
- Publication number
- CN109862107A CN109862107A CN201910162932.9A CN201910162932A CN109862107A CN 109862107 A CN109862107 A CN 109862107A CN 201910162932 A CN201910162932 A CN 201910162932A CN 109862107 A CN109862107 A CN 109862107A
- Authority
- CN
- China
- Prior art keywords
- task
- upgrading
- module
- data
- upgrade
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
A kind of multithread scheduling specifies upgrade method, server-side and client, comprising: at least two task service units is enabled to compete to obtain a host node service unit;Upgrading task schedule data are received, host node service unit assigns upgrading task to remaining task service unit according to upgrading task schedule data and carries out updating operation;The task service unit of non-master service unit obtains upgrade maintenance management information, and host node service unit updates task schedule data according to upgrade maintenance management information;Maintenance management information is sent to task management platform, present invention tool can carry out lot size scheduling, solve that time delay existing in the prior art is longer, the lower technical problem of the continuity and applicability of updating operation.
Description
Technical field
The present invention relates to a kind of online upgrading methods, specify upgrade method, service more particularly to a kind of multithread scheduling
End, engine end and client.
Background technique
With the increasingly improvement of national life level, motor vehicles are possessed in entire society's rapid proliferation, China's motor vehicle
Amount persistently rises, and people drives to go on a journey increasingly frequent.In the driving process of vehicle, the control of various vehicle-mounted equipment and vehicles
System requires to maintain the version updating of itself application software in vehicle use process, when vehicle control apparatus such as vehicle systems
And its software of subsystem, when version occur and not updating, each subfunction operation that will lead to onboard system is restricted, so that
Vehicle traveling and the normal operation of all kinds of mobile units are adversely affected, and can lead to vehicle safety problem when serious.How
The efficiency upgraded automatically and the degree of automation for being directed to all kinds of mobile units are improved, the important side of vehicle technology research and development is had become
To.It since the software upgrading scheduling mode of existing mobile unit is more single, and is affected, is risen by network transfer speeds
Grade effect stability is lower, and upgrading scheduling mode is single, there are problems that software upgrade job low efficiency.Meanwhile the prior art
In vehicle-mounted on-line software updating by be distributed, bandwidth, server performance are influenced.
In conclusion the vehicle-mounted software upgrading of traditional technology is prolonged by because of distribution, bandwidth, the access of server performance bring
The influence of slow problem, it is more single to be applicable in scene.When encountering the crowded situation of Internet network, the response speed of upgrading and at
Power is lower.Upgrade package continuity when forwarding, transmission, link flapping is poor, and mobile unit in the prior art is soft
Part upgrade method there are time delays longer, the lower technical problem of the continuity and applicability of updating operation.
Summary of the invention
The shortcomings that in view of the above prior art, the purpose of the present invention is to provide a kind of multithread schedulings to specify upgrading side
Method, server-side, engine end and client are applied to mobile unit and upgrade, longer to solve time delay existing in the prior art, rise
The continuity and the lower technical problem of applicability of grade operation, the present invention provide multithread scheduling specify upgrade method, server-side,
Engine end and client, a kind of specified upgrade method of multithread scheduling, method includes: that at least two task service units is enabled to compete
Obtain a host node service unit;Upgrading task schedule data are received, host node service unit is according to upgrading task schedule data
Assign upgrading task to remaining task service unit and carries out updating operation;The task service unit of non-master service unit obtains
Upgrade maintenance management information, host node service unit update task schedule data according to upgrade maintenance management information;Send maintenance
Management information is to task management platform.
In one embodiment of the present invention, at least two task service units is enabled to compete to obtain a host node service list
Member, further includes: define service unit and compete logic;Logic, which is competed, according to the service unit generates the host node TU task unit
Data are dispatched to assign;Setting non-master task service unit is TU task unit to execute updating operation.
In one embodiment of the present invention, upgrading task schedule data are received, host node service unit is appointed according to upgrading
Business scheduling data assign upgrading task to remaining task service unit and carry out updating operation, comprising: extract upgrading task schedule number
Upgrade status data and updating and management data in;Host node service unit assigns upgrading task extremely according to updating and management data
TU task unit;TU task unit carries out multithreading updating operation according to upgrade status data and generates upgrade maintenance management information.
In one embodiment of the present invention, the task service unit of non-master service unit obtains upgrade maintenance
Management information, the host node service unit update the task schedule data according to the upgrade maintenance management information, comprising:
Extract batch execution data, upgrading address date and the upgrading recognized list in upgrade maintenance management information;According to batch processing
Data, upgrading address date and upgrading recognized list update task schedule data.
In one embodiment of the present invention, it includes: host node competition mould that a kind of multithread scheduling, which specifies upgrading service end,
Block, scheduling upgraded module, upgrade maintenance update module and maintenance information sending module;Host node competes module, for enabling at least
Two task service units compete to obtain a host node service unit;Upgraded module is dispatched, for receiving upgrading task schedule number
According to host node service unit assigns upgrading task to remaining task service unit according to upgrading task schedule data and carries out upgrading behaviour
Make, scheduling upgraded module is connect with host node competition module;Upgrade maintenance update module, for non-master service unit
Task service unit obtains upgrade maintenance management information, and host node service unit is according to upgrade maintenance management information more new task tune
Degree evidence, upgrade maintenance update module are connect with host node competition module, and upgrade maintenance update module and scheduling upgraded module connect
It connects;It safeguards information sending module, for sending maintenance management information to task management platform, safeguards information sending module and upgrading
Safeguard update module connection.
In one embodiment of the present invention, host node competition module includes: competition definition module, host node generation module
With TU task unit setting module;Definition module is competed, for defining service unit competition logic;Host node generation module, is used for
Compete logic according to the service unit and generate the host node TU task unit to assign scheduling data, host node generation module with
Compete definition module connection;TU task unit setting module is TU task unit to hold for setting non-master task service unit
Row updating operation, TU task unit setting module are connect with competition definition module.
In one embodiment of the present invention, upgraded module is dispatched, comprising: upgrading data extraction module, upgrading data point
Send module and multithreading operation module;Upgrade data extraction module, for extracting the upgrade status in upgrading task schedule data
Data and updating and management data;Upgrade data dispatch module, for assigning with host node service unit according to updating and management data
Upgrading task upgrades data dispatch module and connect with upgrading data extraction module to TU task unit;Multithreading operation module, is used for
Multithreading updating operation is carried out according to upgrade status data with TU task unit and generates upgrade maintenance management information, multithreading operation
Module is connect with upgrading data dispatch module.
In one embodiment of the present invention, upgrade maintenance update module, comprising: batch data extraction module and scheduling number
According to update module;Batch data extraction module, for extracting the batch execution data in upgrade maintenance management information, upgrading address
Data and upgrading recognized list;Data update module is dispatched, for knowing according to batch execution data, upgrading address date and upgrading
Other list update task schedule data, scheduling data update module are connect with batch data extraction module.
In one embodiment of the present invention, a kind of specified upgrading O&M client realization method method of multithread scheduling,
It include: reception maintenance management information;The batch extracted in maintenance management information creates data;According to batch creation data creation batch
Measure upgrading task;Batch upgrade task is sent to server end.
In one embodiment of the present invention, a kind of specified mobile client that upgrades of multithread scheduling includes: maintenance information
Receiving module, client batch extracting module, upgrading task creation module and batch tasks sending module;Safeguard that information receives mould
Block, for receiving maintenance management information;Client batch extracting module, for extracting the creation number of the batch in maintenance management information
According to client batch extracting module is connect with maintenance information receiving module;Upgrade task creation module, for creating according to batch
Data creation batch upgrade task, upgrading task creation module are connect with client batch extracting module;Batch tasks send mould
Block, for sending batch upgrade task to server end, batch tasks sending module is connect with upgrading task creation module.
As described above, a kind of multithread scheduling provided by the invention specifies upgrade method, server-side, engine end and client
End, has the advantages that a kind of multithread scheduling provided by the invention specifies upgrade method, server-side, engine end and visitor
It is avoided in vehicle-mounted software upgrading operating process by because of distribution, bandwidth, server performance bring access delay problem at family end
It influences, it is more to be applicable in scene.Improve the response speed and successfully of the upgrading when encountering the situation of Intemet network congestion
Rate.Upgrade package is more coherent when forwarding, transmission, link flapping.
To sum up, the present invention solves the task execution existing in the prior art that issues and controls less, mobile unit software liter
Grade method there are time delays longer, the lower technical problem of the continuity and applicability of updating operation.
Detailed description of the invention
The multithread scheduling that Fig. 1 is shown as of the invention specifies upgrade method step schematic diagram.
Fig. 2 is shown as the specific flow chart of step S1 in one embodiment in Fig. 1.
Fig. 3 is shown as the specific flow chart of step S2 in one embodiment in Fig. 1.
Fig. 4 is shown as the specific flow chart of step S3 in one embodiment in Fig. 1.
The multithread scheduling that Fig. 5 is shown as of the invention specifies upgrading service end module diagram.
Fig. 6 is shown as the specific module diagram of host node competition module in one embodiment in Fig. 4.
Fig. 7 is shown as dispatching the specific module diagram of upgraded module in one embodiment in Fig. 4.
Fig. 8 is shown as the specific module diagram of upgrade maintenance update module in one embodiment in Fig. 4.
Fig. 7 is shown as a kind of vehicle remote diagnosis engine end implementation method step schematic diagram based on cloud of the invention.
Fig. 8 is shown as the vehicle remote diagnosis engine end module diagram of the invention based on cloud.
Fig. 9 is shown as the specified upgrading O&M client realization method step schematic diagram of multithread scheduling of the invention.
Figure 10 is shown as the specified upgrading O&M client modules schematic diagram of multithread scheduling of the invention.
Component label instructions
1 multithread scheduling specifies upgrading service end
11 host nodes compete module
12 scheduling upgraded modules
13 upgrade maintenance update modules
14 maintenance information sending modules
111 competition definition modules
112 host node generation modules
113 TU task unit setting modules
121 upgrading data extraction modules
122 upgrading data dispatch modules
123 multithreading operation modules
131 batch data extraction modules
132 scheduling data update modules
The specified upgrading mobile client of 1 ' multithread scheduling
11 ' maintenance information receiving modules
12 ' client batch extracting modules
13 ' upgrading task creation modules
14 ' batch tasks sending modules
Step numbers explanation
Fig. 1 S1~S4
Fig. 2 S11~S13
Fig. 3 S21~S23
Fig. 4 S31~S32
Fig. 9 S1 '~S4 '
Specific embodiment
Embodiments of the present invention are illustrated by particular specific embodiment below, those skilled in the art can be by this explanation
Content disclosed by book is understood other advantages and efficacy of the present invention easily.
Fig. 1 is please referred to Figure 10, it should however be clear that this specification structure depicted in this specification institute accompanying drawings, only to cooperate specification
Revealed content is not intended to limit the invention enforceable restriction item so that those skilled in the art understands and reads
Part, therefore do not have technical essential meaning, the modification of any structure, the change of proportionate relationship or the adjustment of size are not influencing
Under the effect of present invention can be generated and the purpose that can reach, should all still fall in disclosed technology contents can contain
In the range of lid.Meanwhile in this specification it is cited such as " on ", " under ", " left side ", " right side ", " centre " and " one " term,
It is merely convenient to being illustrated for narration, rather than to limit the scope of the invention, relativeness is altered or modified,
It is changed under technology contents without essence, when being also considered as the enforceable scope of the present invention.
Referring to Fig. 1, being shown as multithread scheduling of the invention specifies upgrade method step schematic diagram, as shown in Figure 1, one
Kind multithread scheduling specifies upgrade method, comprising: the present invention provides multithread scheduling and specifies upgrade method, server-side, engine end
And client, a kind of specified upgrade method of multithread scheduling, method include:
S1, at least two task service units are enabled to compete to obtain a host node service unit;
S2, upgrading task schedule data are received, host node service unit is assigned upgrading according to upgrading task schedule data and appointed
Business to remaining task service unit carries out updating operation, and user's request not only identifies that the request is sent out from which vehicle
Out, if there is access authority, and also authenticate the load right and access authority of user simultaneously.This mode can be bigger
It guarantees safety in degree;
The task service unit acquisition upgrade maintenance management information of S3, non-master service unit, host node service unit
According to upgrade maintenance management information update task schedule data, CDN full name: Content Delivery Network or
Content Ddistribute Network, i.e. content distributing network.It avoids being possible to influence data biography on internet as far as possible
The bottleneck and link of defeated speed and stability, make content transmission faster, it is more stable, CDN system can be in real time according to network
The connection of flow and each node, load state and to the integrated informations such as the distance of user and response time by the request weight of user
Newly it is oriented on the service node nearest from user;
S4, maintenance management information is sent to task management platform, solve to visit because of distribution, bandwidth, server performance bring
It asks delay issue, is suitable for scenes, the delay of control such as website acceleration, program request, live streaming and is undoubtedly the important finger of present information science and technology
Mark, the intention of CDN are exactly the company for reducing resource as far as possible and smoothly ensureing information when forwarding, transmission, link flapping
Coherence needs unique ID list and task processor address information by the related data of batch processing to submit to task management
Platform is to create batch tasks.
Referring to Fig. 2, it is shown as the specific flow chart of step S1 in one embodiment in Fig. 1, as shown in Fig. 2, step S1,
The task service unit for enabling number be no less than two competes to obtain a host node service unit, further includes:
S11, define service unit and compete logic, by network place that node server constituted everywhere existing
One layer of intelligent virtual network on Internet basic makes user that can obtain required content nearby, solves Internet network and gathers around
Crowded situation improves response speed and success rate that user accesses website, sees entire Campaign by task service on the whole
Device (main and subordinate node), Zookeeper registration center, Kafka message center, task processor, database, Mission Monitor management
Service a few part compositions;
S12, the logic generation host node TU task unit is competed according to the service unit to assign scheduling data, at present
Campain function has been used to that Remote configuration issues, OTA upgrading message batch pushes, and Timing Processing, timing mail is sent, and is appointed
Business server is on startup host node by Zookeeper competition, only one task server can compete as host node, master
Node is mainly responsible for the reception of task, creates, distribution, the work such as management;
S13, to set non-master task service unit be TU task unit to execute updating operation, is mainly responsible for from node logical
It crosses from Kafka and consumes task, micro services are handled according to the task that the specific business module of task configuration access provides, realize task
Processing, need batch tasks handle each business module need by task processor interface requirement realize task processing patrols
Volume, and in the form of micro services to task processing module provide task processing service, task server only be responsible for management role with
And the state of task detail itself, the relevant state of business are responsible for maintenance and management by business module.
Referring to Fig. 3, it is shown as the specific flow chart of step S2 in one embodiment in Fig. 1, as shown in figure 3, step S2,
Upgrading task schedule data are received, host node service unit assigns upgrading task to remaining task according to upgrading task schedule data
Service unit carries out updating operation, comprising:
S21, the upgrade status data and updating and management data upgraded in task schedule data are extracted, the present invention designs one
For the application program of batch data timing or batch processing in real time, batch tasks, periodic task and task are supported in batches
And monitoring management;
S22, host node service unit are assigned upgrading task according to updating and management data and are used in OTA to TU task unit
Software package to be downloaded is placed into the publication of dispersion caching, the resource and bandwidth of having saved server in OTA and accounted for by CDN technology
With improving performance;
S23, TU task unit carry out multithreading updating operation according to upgrade status data and generate upgrade maintenance management information.
Referring to Fig. 4, it is shown as the specific flow chart of step S3 in one embodiment in Fig. 1, as shown in figure 4, step S3,
Task service unit obtains upgrade maintenance management information, and host node service unit is according to upgrade maintenance management information more new task tune
Degree evidence, comprising:
S31, the batch execution data in extraction upgrade maintenance management information, upgrading address date and upgrading recognized list,
In conversational traffic, there are some long time treatments for high-volume data, as Remote configuration issues, OTA upgrading message batch
Amount push, Timing Processing, the demands such as timing mail transmission;
S32, task schedule data are updated according to batch execution data, upgrading address date and upgrading recognized list.
Referring to Fig. 5, being shown as multithread scheduling of the invention specifies upgrading service end module diagram, as shown in figure 5,
A kind of multithread scheduling specify upgrading service end 1 include: host node competition module 11, scheduling upgraded module 12, upgrade maintenance more
New module 13 and maintenance information sending module 14;Host node competes module 11, for enabling at least two task service units compete
A host node service unit is obtained, sees entire Campaign by task server (main and subordinate node), Zookeeper note on the whole
Volume center, Kafka message center, task processor, database, a few part compositions of Mission Monitor management service;Scheduling upgrading mould
Block 12, for receiving upgrading task schedule data, host node service unit assigns upgrading task according to upgrading task schedule data
Updating operation is carried out to remaining task service unit, user's request not only identifies that the request is issued from which vehicle
, if there is access authority, and also authenticate the load right and access authority of user simultaneously.This mode being capable of more great Cheng
It guarantees safety on degree, scheduling upgraded module 12 is connect with host node competition module 11;Upgrade maintenance update module 13, for
The task service unit of non-master service unit obtains upgrade maintenance management information, and host node service unit is according to upgrade maintenance
Management information updates task schedule data, and upgrade maintenance update module is connect with host node competition module, CDN full name: Content
Delivery Network or Content Ddistribute Network, i.e. content distributing network.Internet is avoided as far as possible
On be possible to influence data transmission bauds and stability bottleneck and link, make content transmission faster, more stable, CDN system
It can be integrated in real time according to the connection of network flow and each node, load state and to the distance of user and response time etc.
Information re-directs the request of user on the service node nearest from user, upgrade maintenance update module 13 and scheduling upgrading mould
Block 12 connects;Maintenance information sending module 14 is needed for sending maintenance management information to task management platform by batch processing
Related data unique ID list and task processor address information submit to task management platform to create batch tasks,
Maintenance information sending module 14 is connect with upgrade maintenance update module 13.
Referring to Fig. 6, being shown as the specific module diagram of host node competition module in one embodiment, such as Fig. 6 in Fig. 5
Shown, host node competition module 11 includes: competition definition module 111, host node generation module 112 and TU task unit setting module
113;Definition module 111 is competed, for defining service unit competition logic, by placing node server institute structure everywhere in network
At one on existing Internet basic layer intelligent virtual network, make user that can obtain required content nearby, solve
The situation of Intemet network congestion improves response speed and success rate that user accesses website;Host node generation module 112 is used
Logic is competed according to the service unit in root and generates the host node TU task unit to assign scheduling data, at present Campain
Function has been used to that Remote configuration issues, OTA upgrading message batch pushes, and Timing Processing, timing mail is sent, task server
It is on startup host node by Zookeeper competition, only one task server can compete as host node, and host node is main
It is responsible for the reception of task, creates, distribution, the work host node generation module 112 such as management is connect with competition definition module 111;Appoint
Business unit setting module 113, is TU task unit to execute updating operation for setting non-master task service unit, from node
It is mainly responsible for by consuming task from Kafka, micro services is handled according to the task that the specific business module of task configuration access provides
The processing of realization task, each business module for needing batch tasks to handle need to realize task by task processor interface requirement
Logic is handled, and provides task processing service to task processing module in the form of micro services, task server is only responsible for management
The state of task and task detail itself, the relevant state of business are responsible for maintenance and management by business module, and TU task unit is set
Cover half block 113 is connect with competition definition module 111.
Referring to Fig. 7, being shown as dispatching the specific module diagram of upgraded module in one embodiment in Fig. 5, such as Fig. 7 institute
Show, dispatch upgraded module 12, comprising: upgrading data extraction module 121, upgrading data dispatch module 122 and multithreading operation mould
Block 123;Upgrade data extraction module 121, for extracting upgrade status data and updating and management in upgrading task schedule data
Data, the present invention design an application program for batch data timing or batch processing in real time, support batch tasks, period
Property task and task are in batches and monitoring management;Upgrade data dispatch module 122, is used for host node service unit according to upgrading
It manages data assignment upgrading task and uses CDN technology in OTA to TU task unit and be placed into software package to be downloaded
The publication of dispersion caching, has saved the resource and bandwidth occupancy of server in OTA, improves performance, upgrades data dispatch module
122 connect with upgrading data extraction module 121;Multithreading operation module 123 is used for TU task unit according to upgrade status data
It carries out multithreading updating operation and generates upgrade maintenance management information, multithreading operation module 123 and upgrading data dispatch module
122 connections.
Referring to Fig. 8, being shown as the specific module diagram of upgrade maintenance update module in one embodiment in Fig. 5, such as
Shown in Fig. 8, upgrade maintenance update module 13, comprising: batch data extraction module 131 and scheduling data update module 132;Batch
Data extraction module 131 is measured, for extracting the batch execution data in upgrade maintenance management information, upgrading address date and upgrading
Recognized list, in conversational traffic, there are some long time treatments for high-volume data, as Remote configuration issues, OTA liter
The demands such as grade message batch pushes, Timing Processing, and timing mail is sent;Data update module 132 is dispatched, at according to batch
It manages data, upgrading address date and upgrading recognized list and updates task schedule data, dispatch data update module 132 and lot number
It is connected according to extraction module 131.
Referring to Fig. 9, being shown as the specified upgrading O&M client realization method step signal of multithread scheduling of the invention
Figure, as shown in figure 9, a kind of specified upgrading O&M client realization method of multithread scheduling, method, comprising:
S1 ', maintenance management information is received;
S2 ', the batch extracted in maintenance management information create data;
S3 ', data creation batch upgrade task is created according to batch;
S4 ', batch upgrade task is sent to server end.
Referring to Fig. 10, being shown as the specified upgrading O&M client modules schematic diagram of multithread scheduling of the invention, such as scheme
Shown in 10, a kind of specified mobile client 1 ' that upgrades of multithread scheduling includes: maintenance information receiving module 11 ', client batch
Extraction module 12 ', upgrading task creation module 13 ' and batch tasks sending module 14 ';It safeguards information receiving module 11 ', is used for
Receive maintenance management information;Client batch extracting module 12 ', for extracting the creation data of the batch in maintenance management information,
Client batch extracting module 12 ' is connect with maintenance information receiving module 11 ';Upgrade task creation module 13 ', for basis batch
Amount creation data creation batch upgrade task, upgrading task creation module 13 ' are connect with client batch extracting module 12 ';Batch
Amount task sending module 14 ' is appointed for sending batch upgrade task to server end, batch tasks sending module 14 ' and upgrading
Creation module 13 ' of being engaged in connects.
In conclusion a kind of multithread scheduling provided by the invention specifies upgrade method, server-side, engine end and client
End, has the advantages that a kind of multithread scheduling provided by the invention specifies upgrade method, server-side, engine end and visitor
The planned processing of batch tasks is supported at family end, is supported the processing of periodical timed task, is supported the batch processing capacity of task
Limitation, support monitoring and management of batch tasks etc., avoided in vehicle-mounted software upgrading operating process by because distribution, bandwidth,
It is more to be applicable in scene for the influence of server performance bring access delay problem.It improves to encounter Internet network crowded
Situation when upgrading response speed and success rate.Upgrade package is more coherent when forwarding, transmission, link flapping,
It so that the software of OTA pushes, can be carried out in a manner of smooth multithreading, and be able to know that a certain specific execution for issuing task
Situation.
To sum up, the present invention solves the task execution existing in the prior art that issues and controls less, mobile unit software liter
Grade method there are time delays longer, the lower technical problem of the continuity and applicability of updating operation, has very high commercial value
And practicability.
Claims (10)
1. a kind of multithread scheduling specifies upgrade method, which is characterized in that the described method includes:
At least two task service units are enabled to compete to obtain a host node service unit;
Upgrading task schedule data are received, the host node service unit is assigned upgrading according to the upgrading task schedule data and appointed
Business to remaining task service unit carries out updating operation;
The task service unit of non-master service unit obtains upgrade maintenance management information, the host node service unit
The task schedule data are updated according to the upgrade maintenance management information;
The maintenance management information is sent to task management platform.
2. multithread scheduling according to claim 1 specifies upgrade method, which is characterized in that described to enable at least two tasks
Service unit competes to obtain a host node service unit, further includes:
It defines service unit and competes logic;
Logic, which is competed, according to the service unit generates the host node TU task unit to assign scheduling data;
Setting non-master task service unit is TU task unit to execute updating operation.
3. multithread scheduling according to claim 1 specifies upgrade method, which is characterized in that the reception upgrading task tune
Degree evidence, the host node service unit are assigned upgrading task to task described in remaining according to the upgrading task schedule data and are taken
Business unit carries out updating operation, comprising:
Extract the upgrade status data and updating and management data in the upgrading task schedule data;
The host node service unit assigns upgrading task to TU task unit according to the updating and management data;
The TU task unit carries out multithreading updating operation according to the upgrade status data and generates upgrade maintenance management information.
4. multithread scheduling according to claim 1 specifies upgrade method, which is characterized in that the non-master service is single
The task service unit of member obtains upgrade maintenance management information, and the host node service unit is according to the upgrade maintenance pipe
Manage task schedule data described in information update, comprising:
Extract batch execution data, upgrading address date and the upgrading recognized list in upgrade maintenance management information;
The task schedule number is updated according to the batch execution data, the upgrading address date and the upgrading recognized list
According to.
5. a kind of multithread scheduling specifies upgrading service end characterized by comprising host node competes module, scheduling upgrading mould
Block, upgrade maintenance update module and maintenance information sending module;
The host node competes module, for enabling at least two task service units compete to obtain a host node service unit;
The scheduling upgraded module, for receiving upgrading task schedule data, the host node service unit is according to the upgrading
Task schedule data assign upgrading task to remaining task service unit and carry out updating operation;
The upgrade maintenance update module, for obtaining upgrade maintenance with the task service unit of non-master service unit
Management information, the host node service unit update the task schedule data according to the upgrade maintenance management information;
The maintenance information sending module, for sending the maintenance management information to task management platform.
6. multithread scheduling according to claim 5 specifies upgrading service end, which is characterized in that the host node competes mould
Block includes: competition definition module, host node generation module and TU task unit setting module;
The competition definition module, for defining service unit competition logic;
The host node generation module generates the host node TU task unit for competing logic according to the service unit to divide
Group's scheduling data;
The TU task unit setting module, for setting non-master task service unit as TU task unit to execute upgrading behaviour
Make.
7. multithread scheduling according to claim 5 specifies upgrading service end, which is characterized in that the scheduling upgrades mould
Block, comprising: upgrading data extraction module, upgrading data dispatch module and multithreading operation module;
The upgrading data extraction module, for extracting upgrade status data and upgrading pipe in the upgrading task schedule data
Manage data;
The upgrading data dispatch module upgrades for being assigned with the host node service unit according to the updating and management data
Task is to TU task unit;
The multithreading operation module, for carrying out multithreading upgrading behaviour according to the upgrade status data with the TU task unit
Make and generates upgrade maintenance management information.
8. multithread scheduling according to claim 5 specifies upgrading service end, which is characterized in that the upgrade maintenance updates
Module, comprising: batch data extraction module and scheduling data update module;
The batch data extraction module, for extracting the batch execution data in upgrade maintenance management information, upgrading number of addresses
According to upgrading recognized list;
The scheduling data update module, for according to the batch execution data, the upgrading address date and the upgrading
Recognized list updates the task schedule data.
9. a kind of specified upgrading O&M client realization method of multithread scheduling, which is characterized in that the method, comprising:
Receive the maintenance management information;
Extract the batch creation data in the maintenance management information;
Data creation batch upgrade task is created according to the batch;
The batch upgrade task is sent to server end.
10. a kind of specified upgrading mobile client of multithread scheduling characterized by comprising maintenance information receiving module, client
Hold batch extracting module, upgrading task creation module and batch tasks sending module;
The maintenance information receiving module, for receiving the maintenance management information;
The client batch extracting module, for extracting the creation data of the batch in the maintenance management information;
The upgrading task creation module, for creating data creation batch upgrade task according to the batch;
The batch tasks sending module, for sending the batch upgrade task to server end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910162932.9A CN109862107B (en) | 2019-03-05 | 2019-03-05 | Multithreading scheduling designated upgrading method, server and client |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910162932.9A CN109862107B (en) | 2019-03-05 | 2019-03-05 | Multithreading scheduling designated upgrading method, server and client |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109862107A true CN109862107A (en) | 2019-06-07 |
CN109862107B CN109862107B (en) | 2022-09-16 |
Family
ID=66899842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910162932.9A Active CN109862107B (en) | 2019-03-05 | 2019-03-05 | Multithreading scheduling designated upgrading method, server and client |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109862107B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113608767A (en) * | 2021-08-10 | 2021-11-05 | 掌阅科技股份有限公司 | Service upgrade processing method, electronic device and storage medium |
WO2022061843A1 (en) * | 2020-09-27 | 2022-03-31 | 华为技术有限公司 | Vehicle upgrading method and apparatus |
CN114546445A (en) * | 2022-02-24 | 2022-05-27 | 重庆长安汽车股份有限公司 | Finished automobile OTA controller upgrading system and method based on micro-service architecture |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110029965A1 (en) * | 2009-07-31 | 2011-02-03 | Lamba Jaideep S | Method and system for distributing an upgrade among nodes in a network |
CN102761599A (en) * | 2012-05-10 | 2012-10-31 | Ut斯达康通讯有限公司 | Scalable file distribution method used in distributed system |
CN103516735A (en) * | 2012-06-20 | 2014-01-15 | 中兴通讯股份有限公司 | Method and apparatus for upgrading network node |
CN105912401A (en) * | 2016-04-08 | 2016-08-31 | 中国银行股份有限公司 | Distributed data batch processing system and method |
CN107465709A (en) * | 2016-06-03 | 2017-12-12 | 阿里巴巴集团控股有限公司 | Distributed mirror image structure multitask method and device, system |
CN107995038A (en) * | 2017-12-05 | 2018-05-04 | 福建升腾资讯有限公司 | A kind of centralized management method and system of ip intelligent peripherals |
-
2019
- 2019-03-05 CN CN201910162932.9A patent/CN109862107B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110029965A1 (en) * | 2009-07-31 | 2011-02-03 | Lamba Jaideep S | Method and system for distributing an upgrade among nodes in a network |
CN102761599A (en) * | 2012-05-10 | 2012-10-31 | Ut斯达康通讯有限公司 | Scalable file distribution method used in distributed system |
CN103516735A (en) * | 2012-06-20 | 2014-01-15 | 中兴通讯股份有限公司 | Method and apparatus for upgrading network node |
CN105912401A (en) * | 2016-04-08 | 2016-08-31 | 中国银行股份有限公司 | Distributed data batch processing system and method |
CN107465709A (en) * | 2016-06-03 | 2017-12-12 | 阿里巴巴集团控股有限公司 | Distributed mirror image structure multitask method and device, system |
CN107995038A (en) * | 2017-12-05 | 2018-05-04 | 福建升腾资讯有限公司 | A kind of centralized management method and system of ip intelligent peripherals |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022061843A1 (en) * | 2020-09-27 | 2022-03-31 | 华为技术有限公司 | Vehicle upgrading method and apparatus |
CN113608767A (en) * | 2021-08-10 | 2021-11-05 | 掌阅科技股份有限公司 | Service upgrade processing method, electronic device and storage medium |
CN114546445A (en) * | 2022-02-24 | 2022-05-27 | 重庆长安汽车股份有限公司 | Finished automobile OTA controller upgrading system and method based on micro-service architecture |
CN114546445B (en) * | 2022-02-24 | 2024-05-24 | 重庆长安汽车股份有限公司 | Whole-vehicle OTA controller upgrading system and method based on micro-service architecture |
Also Published As
Publication number | Publication date |
---|---|
CN109862107B (en) | 2022-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105979009B (en) | A kind of increase load automatic balancing method for cloud application container | |
Peng et al. | Random task scheduling scheme based on reinforcement learning in cloud computing | |
US11070488B2 (en) | System and method to control a cross domain workflow based on a hierarchical engine framework | |
CN109862107A (en) | Multithread scheduling specifies upgrade method, server-side and client | |
CN108737463A (en) | A kind of software deployment method, server and system | |
CN104735095B (en) | A kind of cloud computing platform job scheduling method and device | |
WO2019184445A1 (en) | Service resource allocation | |
CN110658794B (en) | Manufacturing execution system | |
CN103810023A (en) | Distributed application intelligent deployment method and system in cloud platform | |
CN103257871B (en) | The optimization method and equipment of the data renewal of the operation approval software application of aircraft | |
CN105635283A (en) | Organization and management and using method and system for cloud manufacturing service | |
JP2000076211A (en) | Simulation executing device and simulation executing method | |
CN110245003A (en) | A kind of machine learning uniprocessor algorithm arranging system and method | |
CN106533806B (en) | Method for providing cross-layer QoS based on application awareness in multi-tenant SDN network | |
CN104092756A (en) | Cloud storage system resource dynamic allocation method based on DHT mechanism | |
CN102945175A (en) | Terminal software online upgrading system and method based on cloud computing environment | |
CN103118076A (en) | Upgraded server cluster system and load balancing method thereof | |
CN113011678A (en) | Virtual operation platform operation control method based on edge calculation | |
CN102299959A (en) | Load balance realizing method of database cluster system and device | |
CN107659494A (en) | Data processing method and intelligent vehicle-carried gateway | |
CN110632857B (en) | Control performance verification method for large-scale hierarchical control system | |
CN105812480A (en) | Remote management device and remote management method for intelligent bulk grain carrier vehicle | |
CN103795793A (en) | Road vehicle monitoring platform system based on double server clusters | |
CN112291728A (en) | Private industry application platform implementation architecture based on 5G network | |
CN111324460B (en) | Power monitoring control system and method based on cloud computing platform |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210628 Address after: Room 1153, building 10, 1630 Yecheng Road, Jiading Industrial Zone, Jiading District, Shanghai, 201822 Applicant after: SHANGHAI PATEO INTERNET TECHNOLOGY SERVICE Co.,Ltd. Applicant after: SAIC GM WULING AUTOMOBILE Co.,Ltd. Address before: Room 1153, building 10, 1630 Yecheng Road, Jiading Industrial Zone, Jiading District, Shanghai, 201822 Applicant before: SHANGHAI PATEO INTERNET TECHNOLOGY SERVICE Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |