CN113765860A - Background management method and background management system - Google Patents

Background management method and background management system Download PDF

Info

Publication number
CN113765860A
CN113765860A CN202010506500.8A CN202010506500A CN113765860A CN 113765860 A CN113765860 A CN 113765860A CN 202010506500 A CN202010506500 A CN 202010506500A CN 113765860 A CN113765860 A CN 113765860A
Authority
CN
China
Prior art keywords
service
job
client
instruction
business
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
CN202010506500.8A
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.)
Anpac Bio Medical Science Lishui Co Ltd
Original Assignee
Changhe Bio Medical Science Yangzhou 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 Changhe Bio Medical Science Yangzhou Co Ltd filed Critical Changhe Bio Medical Science Yangzhou Co Ltd
Priority to CN202010506500.8A priority Critical patent/CN113765860A/en
Publication of CN113765860A publication Critical patent/CN113765860A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a background management method and a background management system, comprising a server side receiving a service instruction, wherein the service instruction comprises a service name and a service parameter corresponding to the service name; the server identifies the business name and sends the business parameter to an execution window to form a job task, and the execution window executes the job task and generates a job result; and the server side sends the operation result of the operation task to the client side. The main business operation process is transferred to the server side, and the maintenance cost and the upgrading frequency of the software matched with the management system are greatly reduced.

Description

Background management method and background management system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a background management method and a background management system.
Background
With the development of technology, the business projects of companies are more and more, and the configuration requirements on the background management system are higher and higher. Correspondingly, background management supporting software is more and more complex, and the maintenance and upgrading cost and the operation difficulty of the background management supporting software are continuously improved. Therefore, the probability of operating errors and the cost of repair are also increasing, further increasing the operating cost of the company.
Disclosure of Invention
In order to solve the above problems, the present invention provides a background management method and a management system, which can transfer a main service operation process to a server, and greatly reduce the maintenance cost and the upgrade frequency of the supporting software of the management system.
Specifically, the background management method of the invention comprises the following steps,
s1, the server receives a service instruction, wherein the service instruction comprises a service name and a service parameter corresponding to the service name;
s2, the service end identifies the service name and sends the service parameter to an execution window to form a job task, and the execution window executes the job task and generates a job result;
and S3, the server side sends the job result of the job task to the client side.
Preferably, the S2 further includes that each service name corresponds to a feature value, and the plurality of service parameters are respectively sent to corresponding execution windows according to the feature value of the service name, so as to form a plurality of job tasks.
Preferably, the S2 further includes sending the service parameters with the same characteristic value to the same execution window in time sequence, arranging a plurality of job tasks in the same execution window in sequence to form a job queue, executing the job tasks in the job queue in sequence by the execution window, and generating corresponding job results, where a plurality of execution windows can execute the job tasks at the same time.
Preferably, the S1 further includes that the server receives a service command, where the service command includes a customer service command and a regular service command; the client business instruction originates from a client and is sent to the server by the client, and the conventional business instruction originates from the server and is stored by the server.
Preferably, the background management method further comprises,
and S4, the client acquires the operation result, sends the operation result of the client service instruction to a service instruction initiating module, and sends the operation result of the conventional service instruction to a conventional service receiving module.
In another aspect of the present invention, a background management system is provided, including a server and a client, where the server includes:
the receiving module is used for receiving a service instruction, wherein the service instruction comprises a service name and a service parameter corresponding to the service name;
the execution module is used for identifying the business name and sending the business parameter to an execution window to form a job task, and the execution window executes the job task and generates a job result;
and the communication module is used for sending the operation result to the client.
Preferably, the execution module identifies the service names, wherein each service name corresponds to a feature value, and sends the plurality of service parameters to corresponding execution windows respectively according to the feature value of the service name, so as to form a plurality of job tasks.
Preferably, the execution module further sends the service parameters with the same characteristic value to the same execution window according to a time sequence, multiple job tasks in the same execution window are sequentially arranged to form a job queue, the execution window sequentially executes the job tasks in the job queue and generates corresponding job results, wherein multiple execution windows can execute the job tasks simultaneously.
Preferably, the receiving module is configured to receive a service instruction, where the service instruction includes a client service instruction and a conventional service instruction; the client business instruction originates from a client and is sent to the server by the client, and the conventional business instruction originates from the server and is stored by the server.
Preferably, the client comprises an obtaining module, a service instruction initiating module and a conventional service receiving module, wherein the service instruction initiating module is used for obtaining a client service instruction and receiving an operation result of the client service instruction; the conventional service receiving module is used for receiving the operation result of the conventional service instruction; the acquisition module is used for acquiring a job result, sending the job result of the client service instruction to the service instruction initiating module and sending the job result of the conventional service instruction to the conventional service receiving module.
Compared with the prior art, the invention has the advantages that:
1. the service operation process is transferred to the server side, and the client side is only used for sending instructions, receiving results and the like, so that the method is more convenient and faster, and the maintenance cost of background management supporting software is reduced;
2. the server can execute multiple services simultaneously, avoid data disorder, misoperation and the like caused by the operation of the same data, and realize accurate and rapid processing of multiple services.
Drawings
FIG. 1 is a schematic diagram illustrating an operation flow of a background management method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another exemplary background management method consistent with the present invention;
FIG. 3 is a diagram illustrating an execution window executing a job task in the embodiment of FIG. 2;
fig. 4 is a schematic structural diagram of a background management system according to an embodiment of the present invention.
Detailed Description
The technical scheme of the invention is described in detail, clearly and completely in the following by combining the drawings and the specific embodiments. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, belong to the scope of the present invention.
Fig. 1 is a schematic view of an operation flow of a background management method provided in an embodiment of the present invention, including:
s1, the server receives a service instruction, wherein the service instruction comprises a service name and a service parameter corresponding to the service name;
s2, the service end identifies the service name and sends the service parameter to an execution window to form a job task, and the execution window executes the job task and generates a job result;
and S3, the server side sends the job result of the job task to the client side.
When the service end receives the service instruction, corresponding dynamic connection is called in a dynamic connection library of the service end according to the service name contained in the service instruction, and the service parameter is sent to an execution window through the dynamic connection to form an operation task.
The service name may be set according to a service function, such as "delete an invoice", "print a file", or may be set according to a user habit, such as letters, numbers, emoticons, and the like, which may all be set manually, and the present invention is not limited specifically herein.
The service parameter is a parameter required for executing the service instruction, and a service instruction may include multiple parameters or only include one parameter, which is not limited in this disclosure.
Furthermore, each service name corresponds to a characteristic value, each execution window also has a window characteristic value, and when an operation task is formed, the service parameters are sent to the corresponding execution window according to the characteristic value of the service name, so that the services can be classified and executed correspondingly.
Wherein the characteristic values can be set artificially. Preferably, in order to avoid the conflict of the service functions, the same feature value may be set for the service name where the conflict of the service functions occurs, so that the two services cannot be executed at the same time, for example, two service names of "warehouse in" and "warehouse out", and since the functions of the two services may conflict, the two service names may be set to the same feature value.
Further, in another embodiment consistent with the present invention, as shown in fig. 2, when the server receives a plurality of service instructions, the service names are first identified, and the service parameters with the same characteristic value are sent to the same execution window according to a time sequence, if the service instructions contain service names with different characteristic values, the service parameters are sent to different execution windows, and each execution window executes the job task in sequence.
Further, when a plurality of service parameters with the same feature value are sent to the same execution window, the formed job tasks are sequentially arranged according to a time sequence to form a job queue, and the execution window sequentially executes the job tasks, as shown in fig. 3. Also, multiple execution windows may execute job tasks simultaneously. There are 4 execution windows shown in fig. 3, and the number of execution windows is not limited thereto, and the present invention is not particularly limited thereto.
Further, in this embodiment, the service instruction includes a client service instruction sent by the client to the server and a normal service instruction stored by the server.
The conventional business instruction is a business instruction stored in the server, and may also include a subsequent job task of a client business instruction acquired from the client. Further, in order to meet the actual requirement, the conventional service instruction may be executed at regular time, such as monthly settlement, or within a specified time, such as being set to be executed at seven to twelve points per day, and the conventional service instruction may be set according to the actual requirement and stored at the server, and the client is not required to send a service instruction separately, thereby reducing the operation steps. In addition, the regular business instruction can also be set to be updated regularly, for example, a certain customer business instruction changes the stock quantity, at this time, the stock quantity in the database needs to be updated, and the updating process is a regular business instruction, so that the data and operation in the management system are more accurate.
Preferably, after acquiring the job result, the client in this embodiment sends the job result of the client service instruction to the service instruction initiating module, and calls the callback function of the initiating module; and sending the operation result of the conventional service instruction to a conventional service receiving module.
The service instruction initiating module may be an independent application program, or may be an operation button in a certain application program, and the service instruction may be triggered, which is not limited herein. The operation result may be whether the service instruction is successfully executed, whether abnormal information exists, corresponding information of the query, required subsequent steps, and the like.
Because the conventional service instruction is stored in the server, a conventional service receiving module is specially arranged in the client, and whether the operation result of the conventional service instruction is displayed or not can be set according to actual requirements.
Corresponding to the foregoing method embodiment, an embodiment of the present invention further provides a background management system, including a server and a client, where the server includes:
the receiving module is used for receiving a service instruction, wherein the service instruction comprises a service name and a service parameter corresponding to the service name;
the execution module is used for identifying the business name and sending the business parameter to an execution window to form a job task, and the execution window executes the job task and generates a job result;
and the communication module is used for sending the operation result of the operation task to the client.
When the execution module identifies the business name, calling corresponding dynamic connection in a dynamic connection library of the server side according to the business name, and sending the business parameter to an execution window through the dynamic connection to form an operation task.
The service name may be set according to a service function, such as "delete an invoice", "print a file", or may be set according to a user habit, such as letters, numbers, emoticons, and the like, which may all be set manually, and the present invention is not limited specifically herein.
The service parameter is a parameter required for executing the service instruction, and a service instruction may include multiple parameters or only include one parameter, which is not limited in this disclosure.
Furthermore, each service name corresponds to a characteristic value, each execution window also has a window characteristic value, and when an operation task is formed, the service parameters are sent to the corresponding execution window according to the characteristic value of the service name, so that the services can be classified and executed correspondingly.
Wherein the characteristic values can be set artificially. Preferably, in order to avoid the conflict of the service functions, the same characteristic value can be set for the service name of the service function, so that the two services cannot be executed simultaneously.
Further, in another embodiment consistent with the present invention, after the receiving module receives a plurality of service instructions, the executing module first identifies the service names, and sends the service parameters having the same characteristic value to the same executing window according to a time sequence, and if the service instructions include service names having different characteristic values, sends the service parameters to different executing windows, and each executing window sequentially executes job tasks.
Further, when a plurality of service parameters with the same characteristic value are sent to the same execution window, the formed job tasks are arranged in sequence according to the time sequence to form a job queue, as shown in fig. 3. Also, multiple execution windows may execute job tasks simultaneously. There are 4 execution windows shown in fig. 3, and the number of execution windows is not limited thereto, and the present invention is not particularly limited thereto.
Further, in this embodiment, the service instruction includes a client service instruction sent by the client to the server and a normal service instruction stored by the server.
The conventional business instruction is a business instruction stored in the server, and may also include a subsequent job task of a client business instruction acquired from the client. Further, in order to meet the actual requirement, the conventional service instruction may be executed at regular time, such as monthly settlement, or within a specified time, such as being set to be executed at seven to twelve points per day, and the conventional service instruction may be set according to the actual requirement and stored at the server, and the client is not required to send a service instruction separately, thereby reducing the operation steps. In addition, the regular business instruction can also be set to be updated regularly, for example, a certain customer business instruction changes the stock quantity, at this time, the stock quantity in the database needs to be updated, and the updating process is a regular business instruction, so that the data and operation in the management system are more accurate.
Further, as shown in fig. 4, the client in this embodiment includes an obtaining module, a service instruction initiating module, and a conventional service receiving module;
the service instruction initiating module is used for acquiring a client service instruction and receiving an operation result of the client service instruction;
the conventional service receiving module is used for receiving the operation result of the conventional service instruction;
the acquisition module is used for acquiring a job result, sending the job result of the client service instruction to the service instruction initiating module and sending the job result of the conventional service instruction to the conventional service receiving module.
The service instruction initiating module may be an independent application program, or may be an operation button in a certain application program, and the service instruction may be triggered, which is not limited herein. The operation result may be whether the service instruction is successfully executed, whether abnormal information exists, corresponding information of the query, required subsequent steps, and the like.
Because the conventional service instruction is stored in the server, a conventional service receiving module is specially arranged in the client, and whether the operation result of the conventional service instruction is displayed or not can be set according to actual requirements.
By using the background management method and the system, the business operation process can be transferred to the server, and the client is only used for sending instructions, receiving results and the like, so that the method and the system are more convenient and faster, and the maintenance cost of background management supporting software is reduced; the server can execute multiple services simultaneously, avoid data disorder, misoperation and the like caused by the operation of the same data, and realize accurate and rapid processing of multiple services.
It is understood that the various embodiments described in this disclosure are described in a related manner and that like parts are referred to one another.

Claims (10)

1. A background management method is characterized by comprising the following steps,
s1, the server receives a service instruction, wherein the service instruction comprises a service name and a service parameter corresponding to the service name;
s2, the service end identifies the service name and sends the service parameter to an execution window to form a job task, and the execution window executes the job task and generates a job result;
and S3, the server side sends the job result of the job task to the client side.
2. A background management method as recited in claim 1,
said S2 may further include the step of,
and each business name corresponds to a characteristic value, and the plurality of business parameters are respectively sent to corresponding execution windows according to the characteristic values of the business names to form a plurality of job tasks.
3. A background management method as recited in claim 2,
said S2 may further include the step of,
the service parameters with the same characteristic value are sent to the same execution window according to a time sequence, a plurality of job tasks in the same execution window are sequentially arranged to form a job queue, the execution window sequentially executes the job tasks in the job queue and generates corresponding job results, and a plurality of execution windows can simultaneously execute the job tasks.
4. A background management method as recited in claim 1,
said S1 may further include the step of,
a service end receives a service instruction, wherein the service instruction comprises a client service instruction and a conventional service instruction;
the client business instruction originates from a client and is sent to the server by the client, and the conventional business instruction originates from the server and is stored by the server.
5. A background management method as recited in claim 4,
further comprising the steps of (a) further comprising,
and S4, the client acquires the operation result, sends the operation result of the client service instruction to a service instruction initiating module, and sends the operation result of the conventional service instruction to a conventional service receiving module.
6. A background management system comprises a server and a client, and is characterized in that the server comprises,
the receiving module is used for receiving a service instruction, wherein the service instruction comprises a service name and a service parameter corresponding to the service name;
the execution module is used for identifying the business name and sending the business parameter to an execution window to form a job task, and the execution window executes the job task and generates a job result;
and the communication module is used for sending the operation result to the client.
7. A background management system as recited in claim 6,
and the execution module identifies the business names, wherein each business name corresponds to a characteristic value, and the business parameters are respectively sent to corresponding execution windows according to the characteristic values of the business names to form a plurality of job tasks.
8. A background management system as recited in claim 7,
the execution module further sends the service parameters with the same characteristic value to the same execution window according to a time sequence, a plurality of job tasks in the same execution window are sequentially arranged to form a job queue, the execution window sequentially executes the job tasks in the job queue and generates corresponding job results, and a plurality of execution windows can simultaneously execute the job tasks.
9. A background management system as recited in claim 6,
the receiving module is used for receiving a service instruction, wherein the service instruction comprises a client service instruction and a conventional service instruction;
the client business instruction originates from a client and is sent to the server by the client, and the conventional business instruction originates from the server and is stored by the server.
10. Background management system according to claim 9,
the client comprises an acquisition module, a service instruction initiating module and a conventional service receiving module,
the service instruction initiating module is used for acquiring a client service instruction and receiving an operation result of the client service instruction;
the conventional service receiving module is used for receiving the operation result of the conventional service instruction;
the acquisition module is used for acquiring a job result, sending the job result of the client service instruction to the service instruction initiating module and sending the job result of the conventional service instruction to the conventional service receiving module.
CN202010506500.8A 2020-06-05 2020-06-05 Background management method and background management system Pending CN113765860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010506500.8A CN113765860A (en) 2020-06-05 2020-06-05 Background management method and background management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010506500.8A CN113765860A (en) 2020-06-05 2020-06-05 Background management method and background management system

Publications (1)

Publication Number Publication Date
CN113765860A true CN113765860A (en) 2021-12-07

Family

ID=78785017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010506500.8A Pending CN113765860A (en) 2020-06-05 2020-06-05 Background management method and background management system

Country Status (1)

Country Link
CN (1) CN113765860A (en)

Similar Documents

Publication Publication Date Title
US7644055B2 (en) Rule-based database object matching with comparison certainty
CN109597853B (en) Business scene element serial number generation method, device, medium and computer equipment
CN110427252B (en) Task scheduling method, device and storage medium based on task dependency relationship
US8185624B2 (en) Efficient on-demand provisioning of servers for specific software sets
CN110457260B (en) File processing method, device, equipment and computer readable storage medium
US8738966B2 (en) Change management system and method
JP4880376B2 (en) Support apparatus, program, information processing system, and support method
CN110795479A (en) Method and device for distributed ETL scheduling based on data
CN114930785B (en) System and method for implementing an orchestration engine
CN113127564A (en) Parameter synchronization method and device
CN110389976B (en) Multi-interface data scheduling method and device
US10789265B2 (en) Data migration system
CN114168297A (en) Method, device, equipment and medium for scheduling collection tasks
CN112102099A (en) Policy data processing method and device, electronic equipment and storage medium
CN113765860A (en) Background management method and background management system
CN111212112A (en) Information processing method and device
CN114020368A (en) Information processing method and device based on state machine and storage medium
CN113468446B (en) Method, system and equipment for supporting identification of third party two-dimensional code data
CN115829266A (en) Method and device for job cooperation of cross-scheduling system, electronic equipment and storage medium
CN110971664B (en) Interface service management system
CN114328579A (en) System, method, electronic device, and storage medium for automatically creating and assigning tasks
KR100445916B1 (en) Method for processing business processes using workflow technique
CN113326052A (en) Method and device for upgrading service component, computer equipment and storage medium
CN109725994B (en) Method and device for executing data extraction task, terminal and readable storage medium
CN112836479A (en) Data report generation method, system and storage device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20221031

Address after: 323006 801 Bi Xing street, Bi Hu Town, Liandu District, Lishui, Zhejiang.

Applicant after: AnPac Bio-Medical Science (Lishui) Co.,Ltd.

Address before: 200025 room 316, 105 Sinan Road, Huangpu District, Shanghai

Applicant before: CHANG HE BIO-MEDICAL SCIENCE (YANGZHOU) CO.,LTD.

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination