CN108111499B - Business processing performance optimization method and device, electronic equipment and storage medium - Google Patents

Business processing performance optimization method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108111499B
CN108111499B CN201711346007.9A CN201711346007A CN108111499B CN 108111499 B CN108111499 B CN 108111499B CN 201711346007 A CN201711346007 A CN 201711346007A CN 108111499 B CN108111499 B CN 108111499B
Authority
CN
China
Prior art keywords
service
items
business
client terminal
item
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
CN201711346007.9A
Other languages
Chinese (zh)
Other versions
CN108111499A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201711346007.9A priority Critical patent/CN108111499B/en
Publication of CN108111499A publication Critical patent/CN108111499A/en
Application granted granted Critical
Publication of CN108111499B publication Critical patent/CN108111499B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/16Implementing security features at a particular protocol layer
    • H04L63/168Implementing security features at a particular protocol layer above the transport layer
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/18Network architectures or network communication protocols for network security using different networks or channels, e.g. using out of band channels

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a business processing performance optimization method, a device, electronic equipment and a storage medium, wherein the method is applied to the business processing performance optimization device deployed on a client terminal, business items processed on the client terminal are issued by a background server, and the method comprises the following steps: acquiring service items to be processed by a client terminal from a background server, and carrying out protocol analysis on the service items to acquire the processing grade of the service items; if the service item is the emergency service item according to the processing grade, informing each service module which works at present on the client terminal to stop the service item which is currently processed, and triggering the service module corresponding to the emergency service item to execute the emergency service item. Therefore, the processing grade of the business items can be judged to realize priority processing of the emergency business items, the optimization capability of the business processing performance is improved, and the safety capability is ensured.

Description

Business processing performance optimization method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of internet security technologies, and in particular, to a method and an apparatus for optimizing service processing performance, an electronic device, and a storage medium.
Background
Generally, the office configuration of the client terminal in the enterprise intranet is low. However, for the security of the enterprise network, the client terminal in the enterprise intranet may configure a plurality of service modules for performing security processing.
In the prior art, each service module on the client terminal of the enterprise intranet independently obtains the service items to be processed from the background server for processing. Therefore, for a low-configuration client terminal, if a plurality of service modules simultaneously process a plurality of service items in parallel, the processing performance of the client terminal is seriously affected, so that the emergency important service is not processed in time, and potential safety hazards exist.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for optimizing service processing performance, an electronic device, and a storage medium, so as to solve the technical problem in the prior art that an enterprise client terminal is not configured highly, but processing performance of the client terminal is seriously affected by simultaneously processing multiple service events in parallel by multiple service modules, which results in failure to process emergency service events in time.
The embodiment of the invention provides a method for optimizing service processing performance, which comprises the following steps: acquiring service items to be processed of a client terminal from a background server; carrying out protocol analysis on the business items to obtain the processing grade of the business items; and if the service event is the emergency service event according to the processing grade, informing each service module which works at present on the client terminal to stop the currently processed service event, and triggering the service module corresponding to the emergency service event to execute the emergency service event.
Another embodiment of the present invention provides a device for optimizing service processing performance, including: the acquisition module is used for acquiring the business items to be processed of the client terminal from the background server; the analysis module is used for carrying out protocol analysis on the business items to obtain the processing grade of the business items; and the processing module is used for informing each service module which works at present on the client terminal to stop the service item which is processed at present and triggering the service module corresponding to the emergency service item to execute the emergency service item if the service item is known to be the emergency service item according to the processing grade.
Another embodiment of the present invention provides an electronic device, including: the invention relates to a service processing performance optimization method, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein when the processor executes the program, the service processing performance optimization method is realized.
Yet another embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for optimizing service processing performance according to an embodiment of the present invention.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the method comprises the steps of obtaining service items to be processed by a client terminal from a background server, carrying out protocol analysis on the service items to obtain the processing grade of the service items, informing each service module which works at present on the client terminal to stop the currently processed service items when the service items are acquired as emergency service items according to the processing grade, and triggering the service module corresponding to the emergency service items to execute the emergency service items. Therefore, the processing grade of the business items can be judged to realize priority processing of the emergency business items, the optimization capability of the business processing performance is improved, and the safety capability is ensured.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
FIG. 1 is a flow diagram of a method for business process performance optimization according to one embodiment of the invention;
FIG. 2 is a flow diagram of a method for business process performance optimization according to another embodiment of the present invention;
FIG. 3 is a flow diagram of a business process performance optimization method according to yet another embodiment of the invention;
FIG. 4 is a flow diagram of a method for business process performance optimization according to yet another embodiment of the present invention;
FIG. 5 is a flow diagram of a method for optimizing business process performance, in accordance with one embodiment of the present invention;
fig. 6 is a schematic structural diagram of a service processing performance optimization device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a service processing performance optimization apparatus according to another embodiment of the present invention;
fig. 8 is a schematic structural diagram of a service processing performance optimization apparatus according to another embodiment of the present invention;
fig. 9 is a schematic structural diagram of a service processing performance optimization apparatus according to still another embodiment of the present invention;
FIG. 10 is a block diagram of a business process performance optimization system according to one embodiment of the invention;
FIG. 11 is a block diagram of a business process performance optimization system according to another embodiment of the present invention;
fig. 12 is an interaction flow diagram of a business process performance optimization method according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The service processing performance optimization method, apparatus, electronic device, and storage medium according to the embodiments of the present invention are described below with reference to the accompanying drawings.
The method for optimizing the service processing performance can judge the processing grade of the service items to realize the priority processing of the emergency service items, and improves the capability of optimizing the service processing performance. The method comprises the following specific steps:
the service processing performance optimization method according to the embodiment of the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
It should be noted that the service processing performance optimization method of the embodiment of the present invention is applied to a service processing performance optimization device deployed on a client terminal, for example, to enterprise intranet security software, such as Tencent computer housekeeper enterprise edition, 360 network management, and the like.
Fig. 1 is a flowchart of a service processing performance optimization method according to an embodiment of the present invention, and as shown in fig. 1, the service processing performance optimization method includes:
step 101, obtaining the business items to be processed by the client terminal from the background server.
And 102, carrying out protocol analysis on the service items to obtain the processing level of the service items.
There are many types of business events, such as one or more of tasks, policies, etc. It can be understood that the obtaining of the service items from the background server may be obtained by actively sending a request to the background server, or may be obtained by actively pushing the background server.
It should be noted that, in the present application, service items processed on a client terminal are issued by a background server, and may be selectively set according to actual application needs, as an example, the background server actively pushes a task a to a specified service module, such as a virus scanning service module and a security management service module, for execution; as another example, the background service actively pushes policy B to all traffic modules for execution.
In practical application, a communication protocol can be defined between the background server and the background server so as to improve the communication efficiency. Communication protocols with different formats can be adopted, and as an example, the communication protocol interacts with the backend server through a json (javascript Object notification) format protocol. Therefore, the JSON format protocol can be used for arbitrarily increasing the protocol field at any time without changing the original interface, and the communication efficiency is further improved.
Therefore, the protocol analysis is carried out on the business items to judge the processing level of the business items, for example, whether the business items are emergency business items or not can be judged according to the protocol analysis result, the priority of the business items is determined when the business items are determined not to be the emergency business items, and the like.
Step 103, if the service item is an emergency service item according to the processing level, notifying each service module currently working on the client terminal to stop the currently processed service item, and triggering the service module corresponding to the emergency service item to execute the emergency service item.
When the business event is judged and known to be an emergency business event, the business event is required to be processed in time so as to meet the safety requirement. Therefore, it is necessary to notify each service module currently performing work to stop the service items being processed, and trigger the service module corresponding to the emergency service item to execute the emergency service item.
In summary, in the method for optimizing service processing performance according to the embodiment of the present invention, the service items to be processed by the client terminal are obtained from the background server, and the protocol of the service items is analyzed to obtain the processing level of the service items, so that when it is known that the service items are emergency service items according to the processing level, each service module currently working on the client terminal is notified to stop the currently processed service item, and the service module corresponding to the emergency service item is triggered to execute the emergency service item. Therefore, the processing grade of the business items can be judged to realize priority processing of the emergency business items, the optimization capability of the business processing performance is improved, and the safety capability is ensured.
Based on the embodiment, the emergency service events can be known to need to be processed preferentially, priority judgment can be further performed on the service events which are not the emergency service events, the service events are inserted into the task queue according to the priority sequence to wait for execution, random execution of the service events is avoided, and further effective unified management is performed on the service events. The details are described below with reference to fig. 2:
fig. 2 is a flowchart of a service processing performance optimization method according to another embodiment of the present invention, and as shown in fig. 2, the service processing performance optimization method includes:
step 201, if the service item is not an emergency service item according to the processing level, determining the priority of the service item.
Step 202, inserting the service items into the task queue of the client terminal according to the priority, and detecting the system state of the client terminal.
Step 203, when it is detected that the system state meets the preset service execution condition, triggering a service module corresponding to the first-ranked service item in the task queue to execute the service item.
There are many ways to determine the priority of the service items, and the priority can be selectively set according to the actual application requirements, for example, as follows:
in the first example, the protocol analysis is performed on the service transaction to obtain the priority level previously marked for the service transaction by the background server.
In the second example, the corresponding relation between the service item identifier and the priority pre-stored in the client terminal is queried, and the priority corresponding to the service item is obtained.
Therefore, after the priority of the business items is determined, each business item can be inserted into the task queue according to the corresponding priority.
Further, the system status is detected, for example, the current system usage status is calculated, and the main judgment indicators are processor usage, memory remaining condition, network status, and the like. Therefore, when it is detected that the system state meets the execution condition, the service module corresponding to the service event is triggered to execute the service event, that is, the current processor utilization rate, the memory and the like can meet the requirement that the service module executes the service event.
In summary, in the method for optimizing service processing performance according to the embodiment of the present invention, when it is known that the service item is not an emergency service item according to the processing level, the priority of the service item is determined, so that the service item is inserted into the task queue of the client terminal according to the priority, the system state of the client terminal is detected, and finally, when it is detected that the system state meets the preset service execution condition, the service module corresponding to the service item arranged first in the task queue is triggered to execute the service item. Therefore, random execution of business items is avoided, and further, the business items are effectively and uniformly managed.
Based on the above embodiment in fig. 2, after detecting the system status, a situation that the system status does not satisfy the execution condition may also occur, and further determination processing is required, which is described in detail with reference to fig. 3 as follows:
fig. 3 is a flowchart of a service processing performance optimization method according to another embodiment of the present invention, and as shown in fig. 3, the service processing performance optimization method includes:
step 301, when detecting that the system state does not satisfy the preset service execution condition, detecting whether the user is in working time.
Step 302, if it is detected that the user is working, selecting the target service item to be executed in a suspended manner according to the priority and the processing time consumption of the service item currently being processed on the client terminal.
Step 303, notifying the service module corresponding to the target service event to stop executing, and triggering the service module corresponding to the target service event to continue executing the target service event in a preset idle period.
Specifically, the current processor utilization, memory, etc. do not satisfy the business module to execute the business transaction. The method can further judge whether the user is in working time or not aiming at some time-consuming and non-urgent tasks, and the non-urgent tasks are put in a preset idle time period to be executed.
The preset idle time period can be selected and set according to actual application requirements.
In summary, in the method for optimizing service processing performance according to the embodiment of the present invention, when it is detected that the system state does not satisfy the preset service execution condition, it is detected whether the user is in working time, and when it is detected that the user is working, the target service item to be executed in a suspended manner is selected according to the priority and the processing time consumption of the service item currently being processed on the client terminal, so as to notify the service module corresponding to the target service item to stop executing, and trigger the service module to continue executing the target service item in a preset idle period. Therefore, the service items are reasonably arranged and executed through the actual state of the system, the unified management efficiency of the service items is further improved, the user requirements are met, and the user experience is improved.
In order to further realize the unified processing of the business items, the information of each processing stage of the business items can be processed and reported uniformly, so that the processing efficiency is improved. The details are described below with reference to fig. 4:
fig. 4 is a flowchart of a service processing performance optimization method according to still another embodiment of the present invention, and as shown in fig. 4, the service processing performance optimization method includes:
step 401, generating a report message according to each processing stage information of the service item by the client terminal.
And step 402, feeding the report message back to the background server so that an administrator can audit the service processing behavior of the client terminal according to the report message.
Specifically, a uniform reporting mode is adopted, a reporting interface can be registered for each business item, information of each processing stage of the business item, such as issuing, analyzing and distributing to execution, can be reported with specific tracking, and a message which is sufficiently complete is reported each time is fed back to the background server, so that an administrator can know the execution details of each business item through a control page of the background server, and the administrator can conveniently audit the security behavior.
In summary, in the method for optimizing service processing performance according to the embodiment of the present invention, the report message is generated according to the information of each processing stage of the service event by the client terminal, and the report message is fed back to the background server, so that the administrator audits the service processing behavior of the client terminal according to the report message. Therefore, by means of unified reporting, effective management of task realization is achieved, processing efficiency is improved, and an administrator can conveniently audit security behaviors. The safe working environment of the user is ensured, and the due safety capability is provided.
Based on the above embodiment, it can be understood that the corresponding callback interface is registered for each service module of the client terminal, so that each service module is controlled according to the callback interface. The unified callback interfaces can be registered and used for each network service module, when the push of the background server is received, each service item is carried out through the callback interfaces, and each network security function is controlled through the callback interfaces. Further, business items are effectively and uniformly managed.
Fig. 5 is a flowchart of a service processing performance optimization method according to an embodiment of the present invention, and as shown in fig. 5, the service processing performance optimization method includes:
and (1) judging whether the background server pushes new business items through a push channel.
And (2) acquiring the business items, and carrying out protocol analysis on the business items.
And (3) and (4) judging the processing level of the business item, namely judging whether the business item is an emergency business item or not, and determining the priority of the business item when the business item is determined not to be the emergency business item.
And (5) after determining the business items which are not the emergency business items, judging the priority, inserting the business items into a task queue according to the priority sequence and waiting for execution.
And (6) detecting the system state of the client terminal.
And (7) generating a report message according to the information of each processing stage of the business items, and feeding the report message back to the background server so that an administrator audits the security behavior according to the report message.
And (8) a service item concrete implementation module, for example, if the service item is judged to be an emergency service item, notifying each service module currently performing work to stop the service item being processed, and triggering the service module corresponding to the emergency service item to execute the emergency service item.
Therefore, when the system state meeting the execution condition is detected in the step (6), the system state meeting the execution condition is sent to the specified service module, namely, the step (8) is executed, for example, the service module corresponding to the service item is triggered to execute the service item.
And when the system state is detected not to meet the execution condition, the service event waits to be executed.
Therefore, centralized management and control of business items are adopted, when the business items pushed by the background server are obtained, tasks can be distributed according to the specific conditions of the current system state of the client terminal, normal working and use of the system can be fully guaranteed, meanwhile, an emergency channel is added, timely response and processing are carried out according to the priority of the business items, timely processing can be guaranteed when an emergency happens, the system is convenient for a user to use, user requirements are met, resource investment in deployment of a safe environment can be greatly reduced, and cost is saved for safety.
Corresponding to the service processing performance optimization methods provided in the foregoing embodiments, an embodiment of the present invention further provides a service processing performance optimization device, and since the service processing performance optimization device provided in the embodiment of the present invention corresponds to the service processing performance optimization methods provided in the foregoing embodiments, the implementation manner of the service processing performance optimization method described above is also applicable to the service processing performance optimization device provided in this embodiment, and is not described in detail in this embodiment.
Fig. 6 is a schematic structural diagram of a service processing performance optimization apparatus according to an embodiment of the present invention, and as shown in fig. 6, the service processing performance optimization apparatus includes: the device comprises an acquisition module 11, an analysis module 12 and a processing module 13.
The obtaining module 11 is configured to obtain, from the background server, service items to be processed by the client terminal.
And the analysis module 12 is configured to perform protocol analysis on the service items to obtain a processing level of the service items.
And the processing module 13 is configured to notify, if the service event is an emergency service event according to the processing level, each service module currently performing work on the client terminal to stop the currently-processed service event, and trigger a service module corresponding to the emergency service event to execute the emergency service event.
Optionally, in some embodiments, a communication protocol between the background server and the background server may be defined to improve communication efficiency. Communication protocols with different formats can be adopted, and as an example, the communication protocol interacts with the backend server through a json (javascript Object notification) format protocol. Therefore, the JSON format protocol can be used for arbitrarily increasing the protocol field at any time without changing the original interface, and the communication efficiency is further improved.
Further, in a possible implementation form, as shown in fig. 7, on the basis of fig. 6, the method further includes: a determination module 14 and a first detection module 15.
The determining module 14 is configured to determine a priority of the service item if it is known that the service item is not an emergency service item according to the processing level.
The first detection module 15 is configured to insert the service transaction into the task queue of the client terminal according to the priority, and detect a system state of the client terminal.
The processing module 13 is further configured to trigger a service module corresponding to the service item and arranged at the first position in the task queue to execute the service item when it is detected that the system state meets a preset service execution condition.
Optionally, in some embodiments, the determining module 14 is specifically configured to perform protocol analysis on the service item to obtain a priority that is marked by the background server for the service item in advance; or inquiring the corresponding relation between the service item identification prestored in the client terminal and the priority to obtain the priority corresponding to the service item.
Further, in a possible implementation form, as shown in fig. 8, on the basis of fig. 7, the method further includes: a second detection module 16 and a selection module 17.
The second detecting module 16 is configured to detect whether the user is in working time when it is detected that the system state does not meet the preset service execution condition.
And the selecting module 17 is configured to select the target service item to be executed in a suspended manner according to the priority and the processing time consumption of the service item currently being processed on the client terminal if it is detected that the user is working.
The processing module 13 is further configured to notify the service module corresponding to the target service event to stop executing, and trigger the service module corresponding to the target service event to continue executing the target service event in a preset idle period.
Further, in a possible implementation form, as shown in fig. 9, on the basis of fig. 6, the method further includes: a generation module 18 and a feedback module 19.
The generating module 18 is configured to generate a report message according to the information of each processing stage of the service item.
And the feedback module 19 is configured to feed the report back to the background server, so that an administrator audits the service processing behavior of the client terminal according to the report.
Based on the above embodiment, it can be understood that the corresponding callback interface is registered for each service module of the client terminal, so that each service module is controlled according to the callback interface. The unified callback interfaces can be registered and used for each network service module, when the push of the background server is received, each service item is carried out through the callback interfaces, and each network security function is controlled through the callback interfaces. Further, business items are effectively and uniformly managed.
In summary, the service processing performance optimization device according to the embodiment of the present invention obtains the service items from the background server, performs protocol analysis on the service items, and determines the processing levels of the service items, notifies the service modules currently performing work to stop the respective service items being processed when it is determined that the service items are emergency service items, and triggers the service modules corresponding to the emergency service items to execute the emergency service items. Therefore, the processing level of the business items can be judged to realize priority processing of the emergency business items, the business processing performance optimization capability is improved, and the safety capability is ensured.
In order to implement the foregoing embodiment, the present invention further provides a service processing performance optimization system, fig. 10 is a schematic structural diagram of the service processing performance optimization system according to an embodiment of the present invention, and as shown in fig. 10, the service processing performance optimization system includes: the service processing performance optimization device 10, the network transmission module 20 and the service module 30 described in the above embodiments.
Specifically, as shown in fig. 11, the network transport module 20 may obtain the service event from the background server, so as to send the service event to the service processing performance optimization device 10 for protocol analysis, determine the processing level of the service event, notify the currently operating service modules to stop the respective service event being processed when it is determined that the service event is an emergency service event, and trigger the service modules corresponding to the emergency service event to execute the emergency service event. Therefore, the processing grade of the business items can be judged to realize the priority processing of the emergency business items, and the optimization capability of the business processing performance is improved.
The service processing performance optimizing device 10 may further trigger the service module corresponding to the service item to execute the service item when it is detected that the system state satisfies the execution condition, by determining the priority of the service item when it is determined that the service item is not an emergency service item, inserting the service item into the task queue according to the priority, and detecting the system state. Therefore, random execution of business items is avoided, and further, the business items are effectively and uniformly managed.
The service processing performance optimizing device 10 may further detect whether the user is in working time when it is detected that the system state does not satisfy the execution condition, select a target service item to be executed temporarily from currently performed service items according to the priority of the service item and the processing time consumption when it is detected that the user is working, thereby notifying a service module corresponding to the target service item to stop executing, and triggering the service module to continue executing the target service item at a preset idle time period. Therefore, the service items are reasonably arranged and executed through the actual state of the system, the unified management efficiency of the service items is further improved, the user requirements are met, and the user experience is improved.
The service processing performance optimizing device 10 may further generate a report message according to information of each processing stage of the service item, and feed the report message back to the background server, so that an administrator can audit the security behavior according to the report message. Therefore, by means of unified reporting, effective management of task realization is achieved, processing efficiency is improved, and an administrator can conveniently audit security behaviors.
In summary, in the service processing performance optimization system according to the embodiment of the present invention, the service items to be processed by the client terminal are obtained from the background server, and the protocol of the service items is analyzed to obtain the processing level of the service items, so that when it is known that the service items are emergency service items according to the processing level, each service module currently working on the client terminal is notified to stop the currently processed service item, and the service module corresponding to the emergency service item is triggered to execute the emergency service item. Therefore, the processing grade of the business items can be judged to realize priority processing of the emergency business items, the optimization capability of the business processing performance is improved, and the safety capability is ensured.
In order to implement the above embodiments, the present invention further provides an electronic device. Fig. 12 is an interaction flow diagram of a service processing performance optimization method according to an embodiment of the present invention, which is described by taking an electronic device side as an example. The process of optimizing the service processing performance of the electronic equipment side comprises the following steps: the method comprises the steps of obtaining service items at a background server, then carrying out protocol analysis on the service items by a processor, judging the processing grade of the service items, informing each service module which works at present to stop the service items which are processed by the service modules when judging that the service items are emergency service items, and triggering the service modules corresponding to the emergency service items to execute the emergency service items.
In summary, in the electronic device according to the embodiment of the present invention, the service items to be processed by the client terminal are obtained from the background server, and the protocol of the service items is analyzed to obtain the processing level of the service items, so that when it is known that the service items are emergency service items according to the processing level, each service module currently working on the client terminal is notified to stop the currently processed service item, and the service module corresponding to the emergency service item is triggered to execute the emergency service item. Therefore, the processing grade of the business items can be judged to realize priority processing of the emergency business items, the optimization capability of the business processing performance is improved, and the safety capability is ensured.
In order to implement the foregoing embodiments, the present invention further provides a storage medium for storing an application program, where the application program is configured to execute the service processing performance optimization method according to any embodiment of the present invention.
In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the description of the specification, reference to the description of the term "one embodiment", "some embodiments", "an example", "a specific example", or "some examples", etc., means that a particular feature or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (8)

1. A business processing performance optimization method is characterized in that the method is applied to a business processing performance optimization device deployed on a client terminal, wherein business items processed on the client terminal are issued by a background server, a report message is generated according to information of each processing stage of the business items, and the report message is fed back to the background server, so that an administrator audits business processing behaviors of the client terminal according to the report message;
the method comprises the following steps:
acquiring service items to be processed of a client terminal from a background server; carrying out protocol analysis on the business items to obtain the processing grade of the business items;
if the service item is known to be an emergency service item according to the processing grade, informing each service module which works at present on the client terminal to stop the service item which is currently processed, and triggering the service module corresponding to the emergency service item to execute the emergency service item;
if the business item is not an emergency business item according to the processing level, determining the priority of the business item;
inserting the service items into a task queue of the client terminal according to the priority, and detecting the system state of the client terminal;
and when the system state is detected to meet the preset service execution condition, triggering a service module corresponding to the service item arranged at the first position in the task queue to execute the service item.
2. The method of claim 1, wherein said determining the priority of the traffic event comprises:
carrying out protocol analysis on the service items to acquire the priority of the background server marked for the service items in advance;
or,
and inquiring the corresponding relation between the service item identification prestored in the client terminal and the priority to acquire the priority corresponding to the service item.
3. The method of claim 1, wherein after said detecting the system state of the client terminal, further comprising:
when detecting that the system state does not meet the preset service execution condition, detecting whether a user is in working time;
if the user is detected to be working, selecting the target service item to be executed in a suspended mode according to the priority and the processing time consumption of the service item currently processed on the client terminal;
and informing a service module corresponding to the target service item to stop executing, and triggering the service module corresponding to the target service item to continue executing the target service item in a preset idle time period.
4. The method of claim 1, further comprising:
generating a report message according to the information of each processing stage of the business item by the client terminal;
and feeding back the report message to the background server so that an administrator audits the service processing behavior of the client terminal according to the report message.
5. A method according to any of claims 1-3, wherein prior to said obtaining the pending transaction from the backend server, further comprising:
and registering corresponding callback interfaces for all service modules of the client terminal so as to control all the service modules according to the callback interfaces.
6. A service processing performance optimization apparatus, wherein the service processing performance optimization apparatus is provided at a client terminal, and comprises:
the acquisition module is used for acquiring the business items to be processed of the client terminal from the background server; generating a report message according to the information of each processing stage of the business items, and feeding the report message back to the background server so that an administrator audits the business processing behavior of the client terminal according to the report message;
the analysis module is used for carrying out protocol analysis on the business items to obtain the processing grade of the business items;
the processing module is used for informing each service module which works at present on the client terminal to stop the service items which are processed at present and triggering the service module corresponding to the emergency service items to execute the emergency service items if the service items are acquired as the emergency service items according to the processing grade;
the determining module is used for determining the priority of the business item if the business item is known not to be an emergency business item according to the processing level;
the first detection module is used for inserting the service items into a task queue of the client terminal according to the priority and detecting the system state of the client terminal;
and the processing module is further configured to trigger a service module corresponding to a service item arranged at the first position in the task queue to execute the service item when it is detected that the system state meets a preset service execution condition.
7. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the method for optimizing the performance of a service processing according to any of claims 1 to 5 when executing the computer program.
8. A storage medium for storing an application program for executing the business process performance optimization method of any one of claims 1-5.
CN201711346007.9A 2017-12-15 2017-12-15 Business processing performance optimization method and device, electronic equipment and storage medium Active CN108111499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711346007.9A CN108111499B (en) 2017-12-15 2017-12-15 Business processing performance optimization method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711346007.9A CN108111499B (en) 2017-12-15 2017-12-15 Business processing performance optimization method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108111499A CN108111499A (en) 2018-06-01
CN108111499B true CN108111499B (en) 2021-07-16

Family

ID=62216111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711346007.9A Active CN108111499B (en) 2017-12-15 2017-12-15 Business processing performance optimization method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108111499B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109344164B (en) * 2018-10-31 2021-03-19 迈普通信技术股份有限公司 Data storage method and device
CN111209197B (en) * 2019-12-31 2023-08-04 京信网络系统股份有限公司 Application continuous integration test method, system, equipment and storage medium
CN114640579A (en) * 2020-11-30 2022-06-17 华为技术有限公司 Method, device and system for managing network device
CN115396827B (en) * 2021-05-24 2024-01-30 成都鼎桥通信技术有限公司 Information processing method, apparatus, device, storage medium, and program product
CN113660338A (en) * 2021-08-17 2021-11-16 中国农业银行股份有限公司 Data interaction method, device and system and server

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9754224B2 (en) * 2009-06-26 2017-09-05 International Business Machines Corporation Action based to-do list
US9298504B1 (en) * 2012-06-11 2016-03-29 Amazon Technologies, Inc. Systems, devices, and techniques for preempting and reassigning tasks within a multiprocessor system
US20140278640A1 (en) * 2013-03-15 2014-09-18 Companyons, Inc. Business workflow management systems and methods
CN105791254B (en) * 2014-12-26 2020-01-03 阿里巴巴集团控股有限公司 Network request processing method and device and terminal
CN106600082A (en) * 2015-10-14 2017-04-26 阿里巴巴集团控股有限公司 Processing method and device of task in service system, and service system construction system
CN105550051B (en) * 2015-12-25 2019-02-01 北京奇虎科技有限公司 The asynchronous processing method and device of service request
CN107391268A (en) * 2016-05-17 2017-11-24 阿里巴巴集团控股有限公司 service request processing method and device
CN106656557A (en) * 2016-10-31 2017-05-10 网易(杭州)网络有限公司 Service state processing method and device
CN106789726B (en) * 2016-12-20 2019-09-10 兴唐通信科技有限公司 A kind of high concurrent service resource allocation method based on service priority
CN107071057A (en) * 2017-05-19 2017-08-18 武汉票据交易中心有限公司 A kind of user's request processing method and system based on bank's API server
CN107273190A (en) * 2017-05-19 2017-10-20 武汉票据交易中心有限公司 A kind of batch scheduled service processing method and system

Also Published As

Publication number Publication date
CN108111499A (en) 2018-06-01

Similar Documents

Publication Publication Date Title
CN108111499B (en) Business processing performance optimization method and device, electronic equipment and storage medium
US9542291B2 (en) Self-monitoring event-based system and method
EP2800024B1 (en) System and methods for identifying applications in mobile networks
US10013271B2 (en) Management system and method for controlling management system
US9542177B1 (en) Peer configuration analysis and enforcement
CN110971485B (en) Service index monitoring system and method
CN104199819B (en) A kind of WEB system mistakes processing method and processing device
CN110336742B (en) Information sending method and device, computer equipment and storage medium
CN110704872B (en) Data query method and device, electronic equipment and computer readable storage medium
CN106487612A (en) A kind of server node monitoring method, monitoring server and system
CN105049509A (en) Cluster scheduling method, load balancer and clustering system
KR20070077449A (en) Terminal and method for pefforming device managemnt scheduled based on treshold thereof
CN111026606A (en) Alarm method and device based on hystrix fuse monitoring and computer equipment
CN111611057A (en) Distributed retry method, device, electronic equipment and storage medium
US9317355B2 (en) Dynamically determining an external systems management application to report system errors
KR101414994B1 (en) Server of monitoring for server resources and web service and method thereof
CN108781215B (en) Network service implementation method, service controller and communication system
US9575865B2 (en) Information processing system and monitoring method
CN110888790A (en) Log management method and device, electronic equipment and storage medium
US8589354B1 (en) Probe based group selection
CN114816914A (en) Data processing method, equipment and medium based on Kubernetes
CN102567470A (en) System-level performance data processing method and equipment utilizing same
CN112084090A (en) Server management method, server, management terminal, and storage medium
CN113377616B (en) Interface monitoring method, device and computer readable medium
CN109117644B (en) Method and system for adjusting running state, host and readable 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