CN113051050B - Multithreading-based fusion terminal batch access method and system - Google Patents

Multithreading-based fusion terminal batch access method and system Download PDF

Info

Publication number
CN113051050B
CN113051050B CN202110270264.9A CN202110270264A CN113051050B CN 113051050 B CN113051050 B CN 113051050B CN 202110270264 A CN202110270264 A CN 202110270264A CN 113051050 B CN113051050 B CN 113051050B
Authority
CN
China
Prior art keywords
registration
data
modeling
file
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110270264.9A
Other languages
Chinese (zh)
Other versions
CN113051050A (en
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.)
Nari Technology Co Ltd
Original Assignee
Nari Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nari Technology Co Ltd filed Critical Nari Technology Co Ltd
Priority to CN202110270264.9A priority Critical patent/CN113051050B/en
Publication of CN113051050A publication Critical patent/CN113051050A/en
Application granted granted Critical
Publication of CN113051050B publication Critical patent/CN113051050B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • 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/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a multithreading-based fusion terminal batch access method and a multithreading-based fusion terminal batch access system, which comprise the following steps: (1) Uploading modeling and registration information files, and caching file data in a server; (2) Reading file data, performing line-by-line check operation according to rules preset by a system, judging whether the check is successful, and returning a check result to a user; (3) Establishing a model for the successfully verified data from top to bottom according to the equipment hierarchy, storing the model into a table corresponding to the database, and returning a modeling result to a user; (4) And packaging and sending the data successfully modeled to a batch registration interface, judging and returning a registration result to the user. The invention can simplify the operation steps, reduce the waste on cost, improve the success rate of modeling and registering of the fusion terminal, solve the problem of system resource waste to a certain extent by a batch operation mode, reduce the times of data requests and save the loss of network and hardware resources possibly caused by a large amount of logic operations.

Description

Multithreading-based fusion terminal batch access method and system
Technical Field
The invention relates to the technical field of electronics, in particular to a multithreading-based fusion terminal batch access method and a multithreading-based fusion terminal batch access system.
Background
With the continuous progress of distribution automation construction in recent years, more refined management requirements are put forward for power utilization management departments. At present, modeling of equipment such as stations, feeders, transformer stations, distribution transformers and the like and registration of side equipment are mainly completed by logging in one by field engineering personnel, and only one equipment can be reported each time. The operation mode has huge workload, consumes a great deal of time and wastes server resources; the system has no record of the completion result of modeling and registration, and is easy to miss and error. With the increasing data volume, the need for implementing batch access is becoming more urgent.
Disclosure of Invention
The invention aims to: the invention aims to provide a multithreading-based fusion terminal batch access method and a multithreading-based fusion terminal batch access system, which are used for realizing online batch verification, modeling and registration of terminal equipment and improving the working efficiency and the accuracy.
The technical scheme is as follows: the invention discloses a multithreading-based fusion terminal batch access method and a multithreading-based fusion terminal batch access system, which comprise the following steps of:
(1) Uploading the modeling and registration information files, and caching the file data in a server;
(21) Reading file data in a file containing modeling and registration information, performing line-by-line check operation according to a rule preset by a system, judging whether the check is successful, and returning a check result to a user;
(32) Establishing a model for the successfully verified data from top to bottom according to the equipment hierarchy, storing the model into a table corresponding to the database, and returning a modeling result to a user;
(43) And packaging and sending the data successfully modeled to the batch registration interface, judging whether the interface is successfully called, and if so, returning the registration result to the user.
The modeling and registration information file in the step (1) is a form file including model entry information and device registration information; the model entry information (i.e. data filled by the user) specifically includes at least one of the following: the method comprises the following steps: the method comprises the following steps of (1) area, substation name, line name, station name, terminal ID, PMSID, associated terminal type, whether JP cabinet exists or not and the number of outgoing line switches; comprising at least one of the following: the device registration information specifically includes the following: equipment name, ESN code, SIM card IP, and the manufacturer.
The step (1) specifically comprises: reading file data containing modeling and registration information files, comprising:
(101) Obtaining a modeling and registration information file uploaded by a user, caching file data in a server, and obtaining user data and file data according to a modeling and registration information file template prestored in a system;
(102) The system judges whether the transmitted file conforms to the excel format, if so, the step (103) is carried out, and if not, the user is prompted to accept the uploading of the excel file only;
(103) Uploading the file to a server;
(104) The system judges whether the file data is successfully received, if so, the system goes to step (105), and if not, the system prompts the user that the file uploading fails and the reason of the failure;
(105) And caching the uploaded file data in a server and prompting the user that the uploading is successful.
The checking operation process of the step (1) specifically comprises the following steps:
(111) The system receives a command of checking the file and reads the cached file data in the server;
(112) Converting each piece of data into a normalized Java Bean object and pressing the normalized Java Bean object into a list;
(113) Performing rule checking item by item, including non-null checking, whether the area name is wrongly filled or exceeds the administration range of the current account number, whether the serial numbers of the terminal ID and the PMS ID meet the naming specification, whether the switch number is a positive integer and whether the IP address of the SIM card is correctly filled;
(114) Judging whether each check item is successfully checked, if at least one item is successfully checked, turning to a step (115), and if the check item is failed, turning to a step (116);
(115) Querying additional data required for modeling and registration, the additional data including but not limited to at least one of a region ID, a vendor ID;
(116) Recording the reason of the verification failure;
(117) Saving additional data to the corresponding Bean object, including but not limited to at least one of the verification result, the failure reason;
(118) Caching all list data after verification and list data after verification are successful in verification in a server respectively;
(119) And counting the verification result, including the number data of successful verification and failure verification, and pushing the verification result to the user.
The step (2) specifically comprises:
(201) The system receives a modeling command and reads cache list data successfully verified;
(202) Judging whether the transformer substation name filled by the user is unique, if so, turning to the step (203), otherwise, recording the existing information of the transformer substation;
(203) Writing the transformer substation information into a database, judging whether the transformer substation information is successfully written into the database, if so, turning to the step (204), otherwise, turning to the step (209);
(204) (ii) a Judging whether the name of the feeder line filled by the user is unique, if so, turning to the step (205), otherwise, recording the existing information of the feeder line;
(205) Writing the feeder line information into a database, judging whether the feeder line information is successfully written into the database, if so, turning to a step (206), otherwise, turning to a step (209);
(206) Judging whether the name of the transformer area filled by the user is unique, if so, writing the information of the transformer area, the distribution transformer and the switch into a database, otherwise, turning to the step (309209);
(207) Judging whether the writing is successful, if so, turning to the step (208), otherwise, turning to the step (209);
(208) Storing the result of successful modeling in the corresponding Bean object, and turning to the step (211);
(209) Recording the reason of the failure of writing in the database or the existing information of the station area name, and turning to the step (210);
(210) Storing the result of the modeling failure and the failure reason in a corresponding Bean object;
(211) Caching all list data after modeling and list data after successful modeling in a server;
(212) And counting the modeling results including the quantity data of success and failure of modeling, and pushing the modeling results to the user.
The step (3) specifically comprises:
(31) The system receives the registration instruction, reads the cache list data successfully modeled, extracts the information needed by registration, and formats the data according to the interface requirements of batch registration;
(32) Storing data required by batch registration in an excel file and storing the data in a system temporary folder;
(33) Calling a batch registration interface and sending data;
(34) Judging whether the interface is successfully called, if so, turning to a step (35), otherwise, turning to a step (36);
(35) Judging whether the registration is successful according to the codes returned by the interfaces, if the batch registration is judged to be completely successful through the codes, storing the result of successful registration to the Bean object for transfer, if the batch registration is judged to be partially successful through the codes, matching the data returned by traversing the registration interfaces with list data successfully modeled in the system, and storing the registration result and the failure reason to the corresponding Bean object, otherwise, if the batch registration is completely failed, and turning to the step (36);
(36) Saving the reason of the registration failure in the Bean object;
(37) Caching all list data after registration in a server;
(38) And counting the registration result, including the number data of successful and failed registration, and pushing the registration result to the user.
In the steps (1) - (3), the system returns the result to the user, and the system has the export function of all records, and the export data in the step (3) also contains the form file of all registration information.
The ehCache plug-in is adopted to limit the number of caches, the size of the caches and the survival time of the caches.
The modeling in the step (2) is carried out in an asynchronous multithreading mode, and the method further comprises the following steps: and providing a function of finishing percentage by timing query modeling, and reminding a user in a progress bar mode.
The invention discloses a multithreading-based fusion terminal batch access system, which comprises:
the data acquisition unit is used for acquiring modeling and registration information file data;
the verifying unit is used for verifying the modeling and registration information file data according to a system preset rule;
the processing unit is used for establishing a model for the checked data from top to bottom according to the equipment hierarchy;
the registration unit is used for packaging and sending the data successfully modeled to the batch registration interface, judging whether the interface is successfully called or not, and if so, returning the registration result to the user;
and the server is used for storing data in the running process of the system.
Has the advantages that: compared with the prior art, the invention has the following remarkable advantages:
compared with the traditional single modeling and registering mode, the method can simplify the operation steps and reduce the waste of labor and time cost; secondly, the success rate of modeling and registering of the fusion terminal is improved, and errors caused by omission are avoided due to the addition of a verification step; thirdly, the batch operation mode solves the problem of system resource waste to a certain extent, reduces the data request times, and saves the loss of network and hardware resources possibly caused by a large amount of logic operations.
Drawings
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a flow chart of the uploading step of the present invention;
FIG. 3 is a flow chart of the verification step of the present invention;
FIG. 4 is a flow chart of the modeling steps of the present invention;
FIG. 5 is a flow chart of the registration step of the present invention.
Detailed Description
The technical scheme of the invention is further explained by combining the attached drawings.
Referring to fig. 1, a method and a system for accessing a converged terminal in batch based on multithreading specifically include:
step 1: and uploading a file, uploading the modeling and registration information file and caching the file data in a server.
The processing procedure of the file uploading step is explained with reference to fig. 2:
s1.1, a user downloads a modeling and registration information file template;
s1.2, a user fills in data;
s1.3, selecting a file to be uploaded by a user;
s1.4, providing file information preview by a system interface;
s1.5, judging whether the transmitted file conforms to an excel format or not by the system, if so, turning to the step S1.6, and if not, prompting a user to only accept the uploading of the excel file;
s1.6, uploading a file to a server;
s1.7, judging whether the file data is successfully received, if so, turning to the step S1.8, and if not, prompting the user that the file uploading fails and the reason of the failure;
s1.8, caching the uploaded file data in a server;
s1.9, prompting the user that the uploading is successful.
Step 2: and checking in batches, reading file data, checking and operating line by line according to a preset rule, and returning a checking result to a user.
The processing procedure of the batch verification step is explained with reference to fig. 3:
s2.1, a user issues an instruction for checking the file;
s2.2, reading file cache data uploaded by a user by a system;
s2.3, converting each piece of data into a normalized JavaBean object and pressing the JavaBean object into a list;
s2.4, rule checking is transferred item by item, wherein the rule checking comprises non-null checking, checking whether the area name is wrongly filled or exceeds the administration range of the current account, checking the numbering rules of the terminal ID and the PMS ID, checking whether the number of switches is a positive integer, checking whether the IP of the SIM card is correctly filled and the like;
s2.5, judging whether the verification is successful or not, if at least one item is successful, switching to the step S2.6, and if the verification is failed, switching to the step S2.7;
s2.6, inquiring extra data required by modeling and registration, wherein the extra data comprises an area ID, a manufacturer ID and the like;
s2.7, recording the reason of the verification failure;
s2.8, storing additional data to corresponding Bean objects, wherein the additional data comprises a verification result, failure reasons and the like;
s2.9, caching all list data after verification and list data which is successfully verified in a server;
s2.10, counting the verification results, including data such as verification success and failure quantity;
and S2.11, pushing the verification result to a user, and providing a function of exporting all verification records and verification failure records.
And step 3: and modeling in batches, namely modeling the successfully verified data from top to bottom according to the equipment level, storing the successfully verified data into a table corresponding to the database, and returning a modeling result to a user.
The processing of the batch modeling step is explained with reference to fig. 4:
s3.1, a user issues a modeling instruction;
s3.2, the system reads the cache list data successfully verified;
s3.3, judging whether the transformer substation name filled by the user is unique, if so, turning to the step S3.4, otherwise, turning to the step S3.5;
s3.4, writing the transformer substation information into a database;
s3.5, recording the existing information of the transformer substation;
s3.6, judging whether the transformer substation information is successfully written into the database, if so, turning to the step S3.7, otherwise, turning to the step S3.15;
s3.7, judging whether the name of the feeder line filled by the user is unique, if so, turning to the step S3.8, otherwise, turning to the step S3.9;
s3.8, writing the feeder line information into a database;
s3.9, recording the existing information of the feeder line;
s3.10, judging whether the feeder line information is successfully written into the database, if so, turning to the step S3.11, otherwise, turning to the step S3.15;
s3.11, judging whether the area name filled by the user is unique, if so, turning to the step S3.12, otherwise, turning to the step S3.15;
s3.12, writing information such as a transformer area, a distribution transformer, a switch and the like into a database;
s3.13, judging whether the writing is successful, if so, turning to the step S3.14, otherwise, turning to the step 3.15;
s3.14, storing the result of successful modeling in the corresponding Bean object, and turning to the step S3.17;
s3.15, recording the reason of the failure of writing in the database or the information of the existing platform area name, and turning to the step S3.16;
s3.16, storing the result of the modeling failure and the failure reason in a corresponding Bean object;
s3.17, caching all list data after modeling and list data after successful modeling in a server;
s3.18, counting modeling results, including data such as success and failure of modeling and the like;
and S3.19, pushing the modeling result to a user, and providing a function of exporting all modeling records and modeling failure records.
The modeling operation relates to multiple data tables of multiple devices, and in order to avoid response timeout of a front-end webpage caused by long time consumption of large-scale modeling, the method executes modeling steps in an asynchronous multithreading mode. In the batch modeling execution process, the modeling completion percentage is inquired at regular time, and the user is informed in a progress bar mode, so that the user experience is improved. The method limits the maximum number of threads, the thread active time, the thread closing during idle and the like, and avoids the shortage of system resources caused by the excessive thread opening.
And 4, step 4: and (4) batch registration, namely packaging and sending the data successfully modeled to a batch registration interface, and returning a registration result to the user.
The processing procedure of the batch registration step is explained with reference to fig. 5:
s4.1, the user sends a registration instruction;
s4.2, reading cache list data successfully modeled by the system;
s4.3, extracting information required to be used for registration, and formatting data according to interface requirements of batch registration;
s4.4, storing the data required by batch registration in an excel file and storing the data in a system temporary folder;
s4.5, calling a batch registration interface and sending data;
s4.6, judging whether the interface is successfully called, if so, switching to the step S4.7, otherwise, switching to the step S4.10;
s4.7, judging whether the registration is successful according to the codes returned by the interface, if the codes judge that the batch registration is completely successful, turning to the step S4.8, if the codes judge that the batch registration is partially successful, turning to the step S4.9, otherwise, turning to the step S4.10 if the batch registration is completely failed;
s4.8, storing the result of successful registration into the Bean object;
s4.9, matching data returned by traversing the registration interface with list data successfully modeled in the system, and storing a registration result and a failure reason into a corresponding Bean object;
s4.10, storing the reason of the registration failure into the Bean object;
s4.11, caching all list data which are registered in a server;
s4.12, counting the registration results, including data such as registration success and failure number;
s4.13, the registration result is pushed to the user, the export function of all the registration records and the registration failure records is provided, and meanwhile, the user can download the form file containing all the registration information, so that the user can conveniently re-register after modifying the entry which fails in registration.
The method uses the ehCache plug-in to make corresponding limitation on the quantity, the size and the survival time of the cache, and avoids the influence of the overlarge cache data on the system performance.
The uploading module, the batch verification module, the batch modeling module and the batch registration module are all deployed in the cloud master station.
The multithreading fusion terminal batch access system in the embodiment comprises:
the data acquisition unit is used for acquiring modeling and registration information file data;
the verifying unit is used for completing batch verification and verifying modeling and registration information file data according to a preset rule of the system;
the processing unit is used for completing batch modeling and establishing a model for the verified data from top to bottom according to the equipment level;
the registration unit is used for finishing batch registration, packaging and sending data successfully modeled to a batch registration interface, judging whether the interface is successfully called, and if so, returning a registration result to a user;
and the server is used for storing data in the running process of the system.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.

Claims (5)

1. A fusion terminal batch access method based on multithreading is characterized by comprising the following steps:
(1) Reading file data in the modeling and registration information file and carrying out check operation line by line according to a rule preset by a system; reading file data containing modeling and registration information files, comprising:
(101) Obtaining a modeling and registration information file uploaded by a user, caching file data in a server, and obtaining the file data according to a modeling and registration information file template prestored in a system;
(102) The system judges whether the file conforms to the excel format, if so, the step (103) is carried out, and if not, the user is prompted to accept only the excel file;
(103) Uploading the file to a server;
(104) The system judges whether the file data is successfully received, if so, the system goes to step (105), and if not, the system prompts the user that the file uploading fails and the reason of the failure;
(105) Caching the uploaded file data in a server and prompting a user that the uploading is successful;
the checking operation process of the step (1) comprises the following steps:
(111) The system receives a command of checking the file and reads file data cached in the server;
(112) Converting each piece of data into a normalized Java Bean object and pressing the normalized Java Bean object into a list;
(113) Performing rule checking item by item, including non-null checking, whether the area name is wrongly filled or exceeds the administration range of the current account number, whether the serial numbers of the terminal ID and the PMS ID meet the naming specification, whether the switch number is a positive integer and whether the IP address of the SIM card is correctly filled;
(114) Judging whether each check item is successfully checked, if at least one check item is successfully checked, turning to the step (115), and if the check item is failed, turning to the step (116);
(115) Querying additional data required by modeling and registration, wherein the additional data comprises at least one of an area ID and a manufacturer ID;
(116) Recording the reason of the verification failure;
(117) Saving additional data to the corresponding Bean object, wherein the additional data comprises at least one of a check result and a failure reason;
(118) Caching all list data after verification and list data after verification are successful in verification in a server respectively;
(119) Counting the verification results, including the quantity data of successful verification and failure verification, and pushing the verification results to the user;
(2) Establishing a model for the successfully verified data from top to bottom according to the equipment hierarchy;
the step (2) specifically comprises:
(201) The system receives a modeling command and reads cache list data successfully verified;
(202) Judging whether the transformer substation name filled by the user is unique, if so, turning to the step (203), otherwise, recording the existing information of the transformer substation;
(203) Writing the transformer substation information into a database, judging whether the transformer substation information is successfully written into the database, if so, turning to the step (204), otherwise, turning to the step (209);
(204) (ii) a Judging whether the name of the feeder line filled by the user is unique, if so, turning to the step (205), otherwise, recording the existing information of the feeder line;
(205) Writing the feeder line information into a database, judging whether the feeder line information is successfully written into the database, if so, turning to a step (206), otherwise, turning to a step (209);
(206) Judging whether the name of the transformer area filled by the user is unique, if so, writing the information of the transformer area, the distribution transformer and the switch into a database, otherwise, turning to the step (209);
(207) Judging whether the writing is successful, if so, turning to a step (208), otherwise, turning to a step (209);
(208) Saving the result of successful modeling in the corresponding Bean object, and turning to the step (211);
(209) Recording the reason of the failure of writing in the database or the existing information of the station area name, and turning to the step (210);
(210) Storing the result of the modeling failure and the failure reason in a corresponding Bean object;
(211) Caching all list data after modeling and list data after successful modeling in a server respectively;
(212) Counting the modeling results including quantity data of success and failure of modeling, and pushing the modeling results to a user;
(3) Packaging and sending the data successfully modeled to a batch registration interface, judging whether the interface is successfully called, and if so, returning a registration result to a user;
the step (3) specifically comprises:
(31) The system receives the registration instruction, reads the cache list data successfully modeled, extracts the information needed to be used by registration, and formats the data according to the interface requirements of batch registration;
(32) Storing data required by batch registration in an excel file and storing the data in a system temporary folder;
(33) Calling a batch registration interface and sending data;
(34) Judging whether the interface is successfully called, if so, switching to the step (35), otherwise, switching to the step (36);
(35) Judging whether the registration is successful according to the codes returned by the interfaces, if the batch registration is judged to be completely successful through the codes, storing the result of successful registration to the Bean object for transfer, if the batch registration is judged to be partially successful through the codes, matching the data returned by traversing the registration interfaces with list data successfully modeled in the system, and storing the registration result and the failure reason to the corresponding Bean object, otherwise, if the batch registration is completely failed, and turning to the step (36);
(36) Saving the reason of the registration failure in the Bean object;
(37) Caching all list data after registration in a server;
(38) And counting registration results including quantity data of successful and failed registration, and pushing the registration results to the user.
2. The multithreading-based converged terminal batch access method of claim 1, wherein the modeling and registration information file is a form file including model entry information and device registration information; the model entry information specifically includes at least one of the following: the method comprises the following steps of (1) area, substation name, line name, station name, terminal ID, PMSID, associated terminal type, whether JP cabinet exists or not and the number of outgoing line switches; comprising at least one of the following: equipment name, ESN code, SIM card IP, and the manufacturer.
3. The multithreading-based converged terminal batch access method according to claim 1, wherein in the steps (1) to (3), the result returned by the system to the user has a function of exporting all records, and the exportable data in the step (3) further comprises a form file of all registered information.
4. The multithreading-based converged terminal batch access method according to claim 1, wherein ehCache plug-in is adopted to limit the number of caches, the size of caches and the survival time of caches.
5. The fusion terminal batch access method based on multithreading according to claim 1, wherein the modeling in step (2) is performed in an asynchronous multithreading manner, and further comprising the following steps: and providing a function of finishing percentage by timing query modeling, and reminding a user in a progress bar mode.
CN202110270264.9A 2021-03-12 2021-03-12 Multithreading-based fusion terminal batch access method and system Active CN113051050B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110270264.9A CN113051050B (en) 2021-03-12 2021-03-12 Multithreading-based fusion terminal batch access method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110270264.9A CN113051050B (en) 2021-03-12 2021-03-12 Multithreading-based fusion terminal batch access method and system

Publications (2)

Publication Number Publication Date
CN113051050A CN113051050A (en) 2021-06-29
CN113051050B true CN113051050B (en) 2022-10-18

Family

ID=76511980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110270264.9A Active CN113051050B (en) 2021-03-12 2021-03-12 Multithreading-based fusion terminal batch access method and system

Country Status (1)

Country Link
CN (1) CN113051050B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884973B (en) * 2022-03-25 2023-11-17 徐工汉云技术股份有限公司 Batch registration method and device for vehicle positioning data and storage medium
CN114845421A (en) * 2022-03-25 2022-08-02 中盈优创资讯科技有限公司 Wireless access equipment management method and device
CN115102936B (en) * 2022-06-22 2023-11-21 苏州达家迎信息技术有限公司 Batch information uploading method and device, storage medium and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750608A (en) * 2012-05-22 2012-10-24 山西优府信息技术开发有限公司 Batch registering system
CN105450617B (en) * 2014-09-24 2019-07-09 阿里巴巴集团控股有限公司 A kind of payment verification method, apparatus and system

Also Published As

Publication number Publication date
CN113051050A (en) 2021-06-29

Similar Documents

Publication Publication Date Title
CN113051050B (en) Multithreading-based fusion terminal batch access method and system
CN103970903B (en) Large industrial system feedback data real-time processing method and system based on Web
CN202533519U (en) Fully automatic closed loop test system of protective relaying device
CN110705664A (en) Internet of things-based RFID (radio frequency identification) intelligent tool management system
CN107547606B (en) Data processing method, cluster manager, resource manager and data processing system
CN109254789A (en) The automatically controlled firmware programming method of smart machine, system, smart machine and server
CN111585344B (en) Substation intelligent checking method and device based on total station IED simulation
CN111309533B (en) Automatic test system
CN102855271A (en) Storage and traceable management method for multi-version power grid model
CN103312549A (en) Transaction management method, device and system
CN105701219A (en) Distributed cache implementation method
CN102929224A (en) Condition acquisition controller (CAC) for power transformer equipment and system control method
CN111913933B (en) Power grid historical data management method and system based on unified support platform
CN102750368A (en) High-speed importing method of cluster data in data base
CN106649530B (en) Cloud detail query management system and method
CN102724301B (en) Cloud database system and method and equipment for reading and writing cloud data
CN107800802A (en) A kind of Rack whole machine cabinets write-in and the method for reading UUID
CN109377143B (en) Operation trace acquisition system, acquisition method, management system and management method
CN110932393A (en) Substation information protection master station system and data initialization method thereof
CN109617654A (en) Industry internet big data service system data transmission method and data aggregate resolver
CN106557530A (en) Operation system, data recovery method and device
CN113297218B (en) Multi-system data interaction method, device and system
CN113220757A (en) Real-time warehouse automatic ETL method, system, equipment and computer storage medium
CN113222223A (en) Wind control linkage early warning method, system, equipment and storage medium for real-time warehouse
CN114819675A (en) Charging and battery replacing service management method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant