CN115048213A - Data processing method, long hanging system, storage medium and electronic equipment - Google Patents

Data processing method, long hanging system, storage medium and electronic equipment Download PDF

Info

Publication number
CN115048213A
CN115048213A CN202210453013.9A CN202210453013A CN115048213A CN 115048213 A CN115048213 A CN 115048213A CN 202210453013 A CN202210453013 A CN 202210453013A CN 115048213 A CN115048213 A CN 115048213A
Authority
CN
China
Prior art keywords
request text
text
target request
processing
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210453013.9A
Other languages
Chinese (zh)
Inventor
程嘉俊
林鑫
张炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202210453013.9A priority Critical patent/CN115048213A/en
Publication of CN115048213A publication Critical patent/CN115048213A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing

Abstract

The application provides a data processing method, a long hanging system, a storage medium and an electronic device, which can be used in the field of mobile interconnection or other fields, wherein the method comprises the following steps: and the TF server judges whether a request text with a text state of unprocessed state exists in the request texts included in the flow chart according to a first time period, if so, each request text with the text state of unprocessed state is taken as a target request text, service processing is carried out on each target request text, a processing result corresponding to each target request text is obtained, and each processing result is stored to a designated path of the TF server, so that the IPS system can obtain the processing result from the designated path and feed the processing result back to an external system. Therefore, according to the scheme of the application, the TF server performs service processing on the multiple request texts in batch according to the first time period, so that the occupation of computer resources is reduced, and the service processing efficiency is improved.

Description

Data processing method, long hanging system, storage medium and electronic equipment
Technical Field
The present application relates to the field of computer applications, and in particular, to a data processing method, a long hang system, a storage medium, and an electronic device.
Background
At present, for a request text which is sent by an external system and has low real-time requirement, service processing is carried out on the request text in real time, and a service processing result is fed back to the external system. Because the request text has low requirements on real-time performance, real-time processing causes occupation of a large amount of computer resources, and under the condition of high concurrency, the service processing efficiency is low.
Disclosure of Invention
The application provides a data processing method, a long hanging system, a storage medium and electronic equipment, and aims to solve the problems that a large amount of computer resources are occupied due to real-time processing, and the service processing efficiency is low under the condition of high concurrency.
In order to achieve the above object, the present application provides the following technical solutions:
a data processing method is applied to a long-hang system, the long-hang system comprises an IPS system and a TF server, and the method comprises the following steps:
the IPS system writes a request text sent by an external system into a flow table of the TF server, and sets the text state of the written request text as an unprocessed state in the flow table;
the TF server judges whether a request text with an unprocessed text state exists in the request texts included in the flow table according to a preset first time period, if so, each request text with the unprocessed text state is used as a target request text, the text state corresponding to each target request text in the flow table is changed into a processing state, each target request text is subjected to service processing, a processing result corresponding to each target request text is obtained, each processing result is stored to a designated path of the TF server, and the IPS system can conveniently obtain the processing result from the designated path and feed the processing result back to the external system.
Optionally, the method for performing service processing on each target request text to obtain a processing result corresponding to each target request text includes:
analyzing each target request text to obtain an analysis result of each target request text;
preprocessing each target request text based on the analysis result of each target request text to obtain a preprocessing result corresponding to each target request text;
triggering a preset online transaction process based on the preprocessing result corresponding to each target request text, and performing service processing on each target request text under the condition that the online transaction process is successfully triggered to obtain the processing result corresponding to each target request text.
The above method, optionally, further includes:
if the online transaction process is not successfully triggered, counting the counter and adding one;
judging whether the current counting result of the counter is larger than a preset threshold value or not;
and if the current counting result of the counter is not greater than the preset threshold, returning to execute the preprocessing result corresponding to each target request text, triggering a preset online transaction process, performing service processing on each target request text, and obtaining a processing result corresponding to each target request text until the online transaction process is successfully triggered or the current counting result of the counter is greater than the preset threshold.
Optionally, the method for writing, by the IPS system, the request text sent by the external system into the flow table of the TF server includes:
and the IPS system writes a request text sent by an external system into the flow chart of the TF server according to a preset second time period.
Optionally, the aforementioned method, where the IPS system obtains the processing result from the designated path and feeds the processing result back to the external system, includes:
and the IPS system acquires a processing result from the specified path according to a preset third time period and feeds the acquired processing result back to the external system.
A long hang system comprising:
the IPS system is used for writing a request text sent by an external system into a flow table of the TF server and setting the text state of the written request text into an unprocessed state in the flow table;
the TF server is configured to determine, according to a preset first time period, whether a request text with an unprocessed text state exists in the request texts included in the flow chart, if so, use each request text with the unprocessed text state as a target request text, change a text state corresponding to each target request text in the flow chart to a processing state, perform service processing on each target request text, obtain a processing result corresponding to each target request text, and store each processing result in a designated path of the TF server, so that the IPS system obtains the processing result from the designated path and feeds the processing result back to the external system.
Optionally, in the system, when the TF server performs service processing on each target request text to obtain a processing result corresponding to each target request text, the TF server is specifically configured to:
analyzing each target request text to obtain an analysis result of each target request text;
preprocessing each target request text based on the analysis result of each target request text to obtain a preprocessing result corresponding to each target request text;
triggering a preset online transaction process based on the preprocessing result corresponding to each target request text, and performing service processing on each target request text under the condition of successfully triggering the online transaction process to obtain a processing result corresponding to each target request text.
Optionally, in the above system, the TF server is further configured to:
if the online transaction process is not successfully triggered, counting the counter and adding one;
judging whether the current counting result of the counter is larger than a preset threshold value or not;
and if the current counting result of the counter is not greater than the preset threshold, returning to execute the preprocessing result corresponding to each target request text, triggering a preset online transaction process, performing service processing on each target request text, and obtaining a processing result corresponding to each target request text until the online transaction process is successfully triggered or the current counting result of the counter is greater than the preset threshold.
A storage medium storing a set of instructions, wherein the set of instructions, when executed by a processor, implement the data processing method described above.
An electronic device, comprising:
a memory for storing at least one set of instructions;
and the processor is used for executing the instruction set stored in the memory and realizing the data processing method by executing the instruction set.
Compared with the prior art, the method has the following advantages:
the application provides a data processing method, a long hanging system, a storage medium and an electronic device, wherein the method comprises the following steps: the method comprises the steps that an IPS system writes a request text sent by an external system into a flow table of a TF server, the text state of the written request text is set to be in an unprocessed state, the TF server judges whether the request text with the text state of being in the unprocessed state exists in the request text included in the flow table according to a preset first time period, if yes, each request text with the text state of being in the unprocessed state serves as a target request text, the text state corresponding to each target request text in the flow table is changed to be in a processing state, service processing is conducted on each target request text, processing results corresponding to each target request text are obtained, the processing results are stored in a designated path of the IPS system, and the IPS system can obtain the processing results from the designated path and feed the processing results back to the external system. Therefore, according to the scheme, the TF server performs service processing on the plurality of request texts in batches according to the first time period, so that the occupation of computer resources is reduced, and the efficiency of service processing is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method of data processing provided herein;
FIG. 2 is a flow chart of another method of a data processing method provided herein;
FIG. 3 is a schematic structural diagram of a long hanging system provided by the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. 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 application.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the disclosure of the present application are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in the disclosure herein are exemplary rather than limiting, and those skilled in the art will understand that "one or more" will be understood unless the context clearly dictates otherwise.
The application is operational with numerous general purpose or special purpose computing device environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multi-processor appliances, distributed computing environments that include any of the above devices or equipment, and the like.
The data processing method and device, the storage medium and the electronic equipment can be used for the mobile internet or other fields. The other fields are any fields other than the field of mobile internet, for example, the financial field. The foregoing is merely an example, and does not limit the application fields of the data processing method and apparatus, the storage medium, and the electronic device provided in the present application.
In the present embodiment, for convenience of understanding, the terms related to the present application are described as follows:
trickle Feed: the method is one of Long Run (Long Run) applications, and is a process for calling data processing such as online service and the like in a large batch and initiated by an external system.
Dubbo: the remote service call method is a distributed service framework and is used for providing a RPC remote service call scheme with high performance and transparency and an SOA service governance scheme.
IPS system: is an intermediate system for processing the length and format of data text.
Referring to fig. 1, a method flow chart of the data processing method is shown in fig. 1, and the method may be applied to a long-hang system, where the long-hang system includes an IPS system and a TF server, and specifically includes:
s101, the IPS system writes the request text sent by the external system into a flow table of the TF server, and sets the text state of the written request text to be an unprocessed state in the flow table.
In this embodiment, the IPS system receives a request text sent by an external system, and writes the request text sent by the external system into a flow table of the TF server, where the flow table is stored in a specified path of the TF server.
It should be noted that the request text is message data assembled according to a preset format.
In this embodiment, a process of the IPS system writing a request text sent by an external system into a flow table of the TF server specifically includes the following steps:
and the IPS system writes the request text sent by the external system into the flow chart of the TF server according to a preset second time period.
In this embodiment, the IPS system may write the request text sent by the external system into the flow chart of the TF server at regular time, that is, write the request text sent by the patching system into the TF server according to a preset second time period, where the second time period may be set according to a requirement, and preferably, the second time period may be an interval of 300S.
Optionally, before the IPS system writes the request text sent by the external system into the flow chart of the TF server, the IPS system may further include: and converting the length and the code system of the request text sent by the external system.
According to the method provided by the embodiment of the application, the request texts sent by the external system are written into the flow table of the TF server at regular time, so that the request texts are written into the flow table in batches, consumption of computing resources is reduced, and writing efficiency is improved.
In this embodiment, after writing the request text into the flow table of the TF server, the IPS system sets the text state of the currently written request text in the flow table as an unprocessed state, which may be represented by the user NEW, for example.
And S102, the TF server judges whether a request text with a text state of an unprocessed state exists in the request text included in the flow chart according to a preset first time period, if so, S103 is executed, and if not, the TF server directly returns to the step S102.
In this embodiment, the TF server determines whether a request text in which a text state is an unprocessed state exists in the request text included in the flow chart according to a preset first time period, if so, performs step S103, and if not, performs step S102 in a feedback manner.
S103, the TF server takes each request text with the text state in an unprocessed state as a target request text, and changes the text state corresponding to each target request text in the flow chart into a processing state.
In this embodiment, when determining that there is a request text with a text state of unprocessed state in the request text included in the flow table, the TF server takes each request text with a text state of unprocessed state as a target request text, and changes a text state corresponding to each target request text in the flow table to a processing state, which may be represented by RUNNING, for example.
And S104, the TF server performs service processing on each target request text to obtain a processing result corresponding to each target request text, and stores each processing result to a self designated path.
In this embodiment, the TF server performs service processing on each target request text, thereby obtaining a processing result corresponding to each target request text.
In this embodiment, the TF server stores each processing result to its own specified path, that is, to the specified path of the TF server.
It should be noted that the designated path for storing the processing result is a storage path of the flow table, that is, the processing result and the flow table are stored in the same path, and the path may be accessed by the IPS system.
Referring to fig. 2, the process of the TF server performing service processing on each target request text to obtain a processing result corresponding to each target request text and storing each processing result to a specified path of the TF server includes the following steps:
s201, analyzing each target request text to obtain an analysis result of each target request text.
In this embodiment, the TF server parses each target request text, specifically, the target request text is parsed according to a parsing rule corresponding to a preset format corresponding to the target request text, so as to obtain a parsing result of each target request text by doo.
Optionally, the parsing result of each target request text may be stored in a preset original record table.
S202, preprocessing each target request text based on the analysis result of each target request text to obtain a preprocessing result corresponding to each target request text.
In this embodiment, the TF server preprocesses each target request text based on the analysis result of each target request text to obtain a preprocessing result corresponding to each target request text, and specifically, invokes the home group for preprocessing through the distributed service framework Dubbo.
Optionally, the preprocessing result of each target request text may be stored in a preset transaction record table.
S203, triggering a preset online transaction process based on the preprocessing result corresponding to each target request text.
In this embodiment, the TF server triggers a preset online transaction process based on the preprocessing result of each target request text.
And S204, judging whether the online transaction process is successfully triggered, if so, executing S205, and if not, executing S206.
In this embodiment, after the preset online transaction process is triggered, it is further determined whether the online process is successfully triggered.
In this embodiment, if the online transaction process is successfully triggered, step S205 is executed, and if the online transaction process is not successfully triggered, step S206 is executed.
S205, performing service processing on each target request text to obtain a processing result corresponding to each target request text.
In this embodiment, if the online transaction process is successfully triggered, service processing is performed on each target request text, so as to obtain a processing result corresponding to each target request text.
It should be noted that, after the online transaction process is successfully triggered, the online transaction process automatically executes service processing based on the preprocessing result of each target text, so as to obtain a processing result corresponding to each target request text.
And S206, counting the counter and adding one, judging whether the current counting result of the counter is greater than a preset threshold value, if not, returning to execute the S203, and if so, directly ending.
In this embodiment, if the online transaction process is successfully triggered, the counter is counted and incremented by one, in this embodiment, the initial count of the counter is 0, and the counter is counted and incremented by one each time the online transaction process is not triggered.
In this embodiment, it is determined whether the current counting result of the counter is greater than a preset threshold, where the preset threshold may be modified according to a requirement, and preferably, the preset threshold is 5.
In this embodiment, if the current counting result of the counter is greater than the preset threshold, the process is directly ended, and if the current counting result of the counter is not greater than the preset threshold, the process returns to step S203.
S105, the IPS system acquires the processing result from the designated path and feeds the processing result back to the external system.
In this embodiment, the IPS system obtains the processing result from the designated path and feeds the processing result back to the external system.
Specifically, the IPS system obtains a processing result from the designated path according to a preset third time period, and feeds back the obtained processing result to the external system.
In the method provided by the embodiment of the application, the IPS system acquires the processing results from the designated path in batches at regular time and feeds the acquired processing results back to the external system, so that the efficiency of acquiring the processing results is improved.
In the data processing method provided by the embodiment of the application, the IPS system writes the request text sent by the external system into the flow chart of the TF server, and setting the text state of the written request text to be in an unprocessed state, the TF server judges whether the request text with the text state of the unprocessed state exists in the request text included in the flow chart according to a preset first time period, if so, each request text with the text state of unprocessed state is taken as the target request text, and the text state corresponding to each target request text in the flow chart is changed into the processing state, performing service processing on each target request text to obtain a processing result corresponding to each target request text, and storing each processing result to the own designated path so that the IPS system can acquire the processing result from the designated path and feed the processing result back to an external system. Therefore, according to the scheme of the application, the TF server performs service processing on the multiple request texts in batch according to the preset first time period, so that the occupation of computer resources is reduced, and the service processing efficiency is improved.
The specific implementation process of the above-mentioned data processing method is exemplified as follows, and specifically includes the following steps:
step 1: the List text (i.e., the request text mentioned above) is crawled to the TF server. And scanning the server every 300S, if the LIST text exists, modifying the LIST name, uploading the LIST name to the server through the capture service, and simultaneously, reading the text name in the LIST and writing the text name into a corresponding flow chart.
Step 2: and scanning the flow chart table every 30S, and if the text with the state of NEW exists, updating the text state of RUNNING.
And step 3: on-line processing is performed and the resulting text is downloaded to the grab service (i.e. the above mentioned specified path of the TF server).
Step 3-1: the record read from the text is written into the TF original record table (i.e., the preset original record table mentioned above).
Step 3-2: reading records from the TF original record table, calling the affiliation group for preprocessing in a Dubbo mode, writing the processed data into the TF transaction record table (namely the transaction record table mentioned above), and updating the state of the TF file state table.
Step 3-3: initiating online transaction of the processed data, and receiving the return; the special processing text calls each group through the Dubbo to perform the processing of the return text.
Step 3-4: and generating a return text according to the online transaction result and transmitting the return text to the designated path.
And 4, step 4: timeout retries, partial error retries, a maximum number of retries of 5 are supported.
It should be noted that while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments disclosed herein may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the disclosure is not limited in this respect.
Corresponding to the method described in fig. 1, an embodiment of the present application further provides a long hanging system, a schematic structural diagram of which is shown in fig. 3, and the long hanging system specifically includes:
the IPS system 301 is configured to write a request text sent by an external system into a flow table of the TF server, and set a text state of the written request text in the flow table as an unprocessed state;
the TF server 302 is configured to determine, according to a preset first time period, whether a request text with an unprocessed text state exists in the request texts included in the flow chart, if so, use each request text with the unprocessed text state as a target request text, change a text state corresponding to each target request text in the flow chart to a processing state, perform service processing on each target request text, obtain a processing result corresponding to each target request text, and store each processing result in a specific path of the IPS system, so that the IPS system obtains the processing result from the specific path and feeds the processing result back to the external system.
In the long-hanging system provided by the embodiment of the application, the IPS system writes the request text sent by the external system into the flow table of the TF server, setting the text state of the written request text as an unprocessed state, judging whether the request text with the text state as the unprocessed state exists in the request text included in the flow chart by the TF server according to a preset first time period, if so, then each request text with the text state of unprocessed state is taken as the target request text, and the text state corresponding to each target request text in the flow chart is changed into the processing state, performing service processing on each target request text to obtain a processing result corresponding to each target request text, and storing each processing result to the own designated path so that the IPS system can acquire the processing result from the designated path and feed the processing result back to an external system. Therefore, according to the scheme of the application, the TF server performs service processing on the multiple request texts in batch according to the preset first time period, so that the occupation of computer resources is reduced, and the service processing efficiency is improved.
In an embodiment of the present application, based on the foregoing scheme, when performing service processing on each target request text and obtaining a processing result corresponding to each target request text, the TF server 302 is specifically configured to:
analyzing each target request text to obtain an analysis result of each target request text;
preprocessing each target request text based on the analysis result of each target request text to obtain a preprocessing result corresponding to each target request text;
triggering a preset online transaction process based on the preprocessing result corresponding to each target request text, and performing service processing on each target request text under the condition that the online transaction process is successfully triggered to obtain the processing result corresponding to each target request text.
In an embodiment of the present application, based on the foregoing scheme, the TF server 302 is further configured to:
if the online transaction process is not successfully triggered, counting the counter and adding one;
judging whether the current counting result of the counter is larger than a preset threshold value or not;
and if the current counting result of the counter is not greater than the preset threshold, returning to execute the preprocessing result corresponding to each target request text, triggering a preset online transaction process, performing service processing on each target request text, and obtaining a processing result corresponding to each target request text until the online transaction process is successfully triggered or the current counting result of the counter is greater than the preset threshold.
In an embodiment of the present application, based on the foregoing scheme, when the IPS system 301 writes the request text sent by the external system into the flow chart of the TF server, the IPS system is specifically configured to:
and writing a request text sent by an external system into the flow chart of the TF server according to a preset second time period.
In an embodiment of the present application, based on the foregoing solution, when the IPS system 301 obtains the processing result from the designated path and feeds the processing result back to the external system, the IPS system is specifically configured to:
and acquiring a processing result from the specified path according to a preset third time period, and feeding back the acquired processing result to the external system.
The embodiment of the present application further provides a storage medium, where an instruction set is stored in the storage medium, and when the instruction set is executed, the data processing method disclosed in any of the above embodiments is executed.
An electronic device is further provided in the embodiments of the present application, and a schematic structural diagram of the electronic device is shown in fig. 4, and specifically includes a memory 401 for storing at least one group of instruction sets; a processor 402 for executing the set of instructions stored in the memory, the data processing method as disclosed in any of the above embodiments being implemented by executing the set of instructions.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
While several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
The foregoing description is only exemplary of the preferred embodiments disclosed herein and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the disclosure. For example, the above features and (but not limited to) technical features having similar functions disclosed in the present disclosure are mutually replaced to form the technical solution.

Claims (10)

1. A data processing method is applied to a long-hanging system, wherein the long-hanging system comprises an IPS system and a TF server, and the method comprises the following steps:
the IPS system writes a request text sent by an external system into a flow table of the TF server, and sets the text state of the written request text as an unprocessed state in the flow table;
the TF server judges whether a request text with an unprocessed text state exists in the request texts included in the flow table according to a preset first time period, if so, each request text with the unprocessed text state is used as a target request text, the text state corresponding to each target request text in the flow table is changed into a processing state, each target request text is subjected to service processing, a processing result corresponding to each target request text is obtained, each processing result is stored to a designated path of the TF server, and the IPS system can obtain the processing result from the designated path and feed the processing result back to the external system.
2. The method according to claim 1, wherein the performing service processing on each target request text to obtain a processing result corresponding to each target request text comprises:
analyzing each target request text to obtain an analysis result of each target request text;
preprocessing each target request text based on the analysis result of each target request text to obtain a preprocessing result corresponding to each target request text;
triggering a preset online transaction process based on the preprocessing result corresponding to each target request text, and performing service processing on each target request text under the condition that the online transaction process is successfully triggered to obtain the processing result corresponding to each target request text.
3. The method of claim 1, further comprising:
if the online transaction process is not successfully triggered, counting the counter and adding one;
judging whether the current counting result of the counter is larger than a preset threshold value or not;
and if the current counting result of the counter is not greater than the preset threshold, returning to execute the preprocessing result corresponding to each target request text, triggering a preset online transaction process, performing service processing on each target request text, and obtaining a processing result corresponding to each target request text until the online transaction process is successfully triggered or the current counting result of the counter is greater than the preset threshold.
4. The method of claim 1, wherein the IPS system writes the request text sent by the external system into the flow table of the TF server, comprising:
and the IPS system writes a request text sent by an external system into the flow chart of the TF server according to a preset second time period.
5. The method of claim 1, wherein the IPS system obtaining the processing result from the designated path and feeding back the processing result to the external system comprises:
and the IPS system acquires a processing result from the specified path according to a preset third time period and feeds the acquired processing result back to the external system.
6. A long hang system, comprising:
the IPS system is used for writing a request text sent by an external system into a flow table of the TF server and setting the text state of the written request text into an unprocessed state in the flow table;
the TF server is configured to determine, according to a preset first time period, whether a request text with an unprocessed text state exists in the request texts included in the flow chart, if so, use each request text with the unprocessed text state as a target request text, change a text state corresponding to each target request text in the flow chart to a processing state, perform service processing on each target request text, obtain a processing result corresponding to each target request text, and store each processing result in a designated path of the TF server, so that the IPS system obtains the processing result from the designated path and feeds the processing result back to the external system.
7. The system according to claim 6, wherein the TF server, when performing service processing on each target request text and obtaining a processing result corresponding to each target request text, is specifically configured to:
analyzing each target request text to obtain an analysis result of each target request text;
preprocessing each target request text based on the analysis result of each target request text to obtain a preprocessing result corresponding to each target request text;
triggering a preset online transaction process based on the preprocessing result corresponding to each target request text, and performing service processing on each target request text under the condition that the online transaction process is successfully triggered to obtain the processing result corresponding to each target request text.
8. The system of claim 6, wherein the TF server is further configured to:
if the online transaction process is not successfully triggered, counting the counter and adding one;
judging whether the current counting result of the counter is larger than a preset threshold value or not;
and if the current counting result of the counter is not greater than the preset threshold, returning to execute the preprocessing result corresponding to each target request text, triggering a preset online transaction process, performing service processing on each target request text, and obtaining a processing result corresponding to each target request text until the online transaction process is successfully triggered or the current counting result of the counter is greater than the preset threshold.
9. A storage medium storing a set of instructions, wherein the set of instructions when executed by a processor implement the data processing method of any one of claims 1-5.
10. An electronic device, comprising:
a memory for storing at least one set of instructions;
a processor for executing a set of instructions stored in said memory, said set of instructions being executable to implement the data processing method of any one of claims 1 to 5.
CN202210453013.9A 2022-04-27 2022-04-27 Data processing method, long hanging system, storage medium and electronic equipment Pending CN115048213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210453013.9A CN115048213A (en) 2022-04-27 2022-04-27 Data processing method, long hanging system, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210453013.9A CN115048213A (en) 2022-04-27 2022-04-27 Data processing method, long hanging system, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115048213A true CN115048213A (en) 2022-09-13

Family

ID=83157029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210453013.9A Pending CN115048213A (en) 2022-04-27 2022-04-27 Data processing method, long hanging system, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115048213A (en)

Similar Documents

Publication Publication Date Title
CN111666490A (en) Information pushing method, device, equipment and storage medium based on kafka
CN112162965B (en) Log data processing method, device, computer equipment and storage medium
US20170102919A1 (en) Systems and methods for low interference logging and diagnostics
CN115455058A (en) Cache data processing method and device, computer equipment and storage medium
CN111552463A (en) Page jump method and device, computer equipment and storage medium
CN115357761A (en) Link tracking method and device, electronic equipment and storage medium
CN110888972A (en) Sensitive content identification method and device based on Spark Streaming
CN110727523A (en) Service request processing method, processing device and readable storage medium
CN114153703A (en) Micro-service exception positioning method and device, electronic equipment and program product
CN111026945B (en) Multi-platform crawler scheduling method, device and storage medium
CN113010542A (en) Service data processing method and device, computer equipment and storage medium
CN117215867A (en) Service monitoring method, device, computer equipment and storage medium
CN115048213A (en) Data processing method, long hanging system, storage medium and electronic equipment
CN113111078A (en) Resource data processing method and device, computer equipment and storage medium
CN110309121B (en) Log processing method and device, computer readable medium and electronic equipment
CN113779122A (en) Method and apparatus for exporting data
CN111258676A (en) Module preloading method, device, equipment and readable storage medium
CN112257004B (en) Method, device, server and storage medium for page backup
CN112035425B (en) Log storage method and device and computer system
CN117272077A (en) Data processing method, device, computer equipment and storage medium
CN117873831A (en) SQL performance monitoring method, SQL performance monitoring device, SQL performance monitoring computer equipment and SQL performance storage medium
CN114356689A (en) Workflow monitoring method, device and equipment
CN115600029A (en) Method, device, system, equipment and storage medium for displaying webpage
CN116795511A (en) Unique identifier generation method, device, computer equipment and storage medium
CN116894736A (en) Mail management method, device, computer 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