CN107911406B - Network-based task flow method, equipment and storage medium - Google Patents
Network-based task flow method, equipment and storage medium Download PDFInfo
- Publication number
- CN107911406B CN107911406B CN201710916532.3A CN201710916532A CN107911406B CN 107911406 B CN107911406 B CN 107911406B CN 201710916532 A CN201710916532 A CN 201710916532A CN 107911406 B CN107911406 B CN 107911406B
- Authority
- CN
- China
- Prior art keywords
- task
- layer service
- network
- cooperation request
- task cooperation
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
- H04L63/0227—Filtering policies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Telephonic Communication Services (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a network-based task flow method, equipment and a storage medium, wherein the method comprises the following steps: the handling layer service receives a task cooperation request sent by a first user from a client, transmits the task cooperation request to an agent layer service in an enterprise through a first network by asynchronous calling, and forwards the received task cooperation request to a core service system in the enterprise through a second network by the agent layer service in an asynchronous calling mode; and the acceptance layer service receives the processing result fed back by the proxy layer service and feeds the processing result back to the first user. The method can realize the circulation of the work task among the service personnel and ensure the safety of the task in the process of the cooperative operation circulation.
Description
Technical Field
The present invention relates to the field of data processing, and in particular, to a method and apparatus for task flow based on a network, and a computer-readable storage medium.
Background
At present, with the increase of the scale of a company, business personnel and business types of the company are diversified, and work tasks often need to be transferred among different business personnel, so that resources are fully utilized.
For example, companies having branches all over the country have first business personnel who engage in remote electric sales/services, and are easy to manage, low in cost, highly trained, and highly professional for the company, and second business personnel who work at branches all over the country are familiar with local customs and customer preferences, and are more likely to obtain customer confidence. Because the advantages of the two types of business personnel are different, in the actual operation process, in order to improve the business level of a company, the sales task which cannot be completed by the first business personnel can be handed over to the second staff of branch organizations in various places to assist in completing the sales task, so a system flow is needed to support the work mode.
Disclosure of Invention
The invention provides a network-based task flow method, equipment and a computer-readable storage medium, and aims to realize the flow of a work task among business personnel and guarantee the safety of the task in the cooperative operation flow process.
In order to achieve the above object, a first aspect of the present invention provides a network-based task flow method, applied to a client, where the client includes an acceptance layer service, and the method includes:
the method comprises the following steps: the handling layer service receives a task cooperation request sent by a first user from a client, transmits the task cooperation request to an agent layer service in an enterprise through a first network by asynchronous calling, and forwards the received task cooperation request to a core service system in the enterprise through a second network by the agent layer service in an asynchronous calling mode; and
a receiving step: and the acceptance layer service receives the processing result fed back by the proxy layer service and feeds the processing result back to the first user.
In addition, the invention also provides a task flow method based on network, which is applied to a server, the server comprises a proxy layer service, and the method comprises the following steps:
the proxy step: the proxy layer service receives a task cooperation request of a first user sent by an acceptance layer service of a client through a first network, and forwards the received task cooperation request to a core business system in an enterprise through a second network in an asynchronous calling mode; and
a receiving step: and the proxy layer service receives a processing result of the core business system responding to the task cooperation request and distributing the task in the task cooperation request to a second user of the client, and sends the processing result to the acceptance layer service through the first network, and the acceptance layer service feeds back the processing result to the first user.
The second aspect of the present invention further provides a client, including a processor, a memory, and an acceptance layer service, where the acceptance layer service is stored in the memory and includes at least one computer readable instruction, and the at least one computer readable instruction is executable by the processor to implement the following operations:
the method comprises the following steps: the handling layer service receives a task cooperation request sent by a first user from a client, transmits the task cooperation request to an agent layer service in an enterprise through a first network by asynchronous calling, and forwards the received task cooperation request to a core service system in the enterprise through a second network by the agent layer service in an asynchronous calling mode; and
a receiving step: and the acceptance layer service receives the processing result fed back by the proxy layer service and feeds the processing result back to the first user.
To achieve the above object, a third aspect of the present invention further provides a server, which includes a processor, a memory, a display, and a proxy layer service, the proxy layer service being stored in the memory and including at least one computer readable instruction, the at least one computer readable instruction being executable by the processor to implement the following operations:
the proxy step: the proxy layer service receives a task cooperation request of a first user sent by an acceptance layer service of a client through a first network, and forwards the received task cooperation request to a core business system in an enterprise through a second network in an asynchronous calling mode; and
a receiving step: and the proxy layer service receives a processing result of the core business system responding to the task cooperation request and distributing the task in the task cooperation request to a second user of the client, and sends the processing result to the acceptance layer service through the first network, and the acceptance layer service feeds back the processing result to the first user.
Furthermore, the fourth aspect of the present invention also provides a computer-readable storage medium, which stores at least one computer-readable instruction thereon, and can be executed by a processor to implement any steps of the above-mentioned network-based task flow method.
According to the network-based task flow method, device and computer-readable storage medium, the acceptance layer service and the proxy layer service are established between the client system and the enterprise core business system, so that the flow of the work task among business personnel can be realized, and the safety of the task in the cooperative operation flow process can be ensured.
Drawings
FIG. 1 is a diagram of an application environment of a preferred embodiment of the task flow method based on network according to the present invention.
Fig. 2 is a schematic diagram of the client in fig. 1 according to a preferred embodiment.
Fig. 3 is a diagram of the preferred embodiment of the proxy server shown in fig. 1.
FIG. 4 is a flowchart of a preferred embodiment of the network-based task flow method of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a diagram of an application environment of a preferred embodiment of the task flow method based on network according to the present invention.
In the present embodiment, the proxy layer service 40 is disposed on the proxy server 1, the core business system 30 is disposed on the core server 4, and the client system 10 and the reception layer service 20 are installed on the client 31 and the client 32. The proxy server 1 is connected to the clients 31 and 32 via a first network 21, and is connected to the core server 4 via a second network 22.
The acceptance layer service 20 and the proxy layer service 40 perform data transmission through a first network 21, and the core service system 30 and the proxy layer service 40 perform data transmission through a second network 22. The first network 21 is an external network (Internet) and the second network 22 is a company Intranet (Intranet).
For example, the core business system 30 is a sales system installed in the enterprise internal server 4 by company a, and the client system 10 is a client version of the core business system 30. The sales staff of company a can access and use the sales system of the server 4 through the internal network while working inside the company. The client system 10 is a client version of the sales system of the server 4, and can be installed on a mobile terminal (such as a tablet, a mobile phone and the like) of a salesperson of company a, and the salesperson of company a can use the client version to work when going out for office or work hours.
The first Network 21 and the second Network 22 may be Local Area Networks (LANs), Wide Area Networks (WANs), Metropolitan Area Networks (MANs), Wired networks (Wired networks), Optical Fiber networks (Optical Fiber networks), or wireless networks (wireless networks), and the like.
The clients 31 and 32 may be desktop computers, notebooks, tablet computers, smart phones, and other terminal devices that can communicate with the proxy server 1 via a network.
Fig. 2 is a schematic diagram of a preferred embodiment of the clients 31 and 32 shown in fig. 1.
In the present embodiment, the clients 31 and 32 include, but are not limited to, the memory 11, the processor 12, the display 13, the client system 10 stored in the memory 11, and the reception layer service 20.
The clients 31 and 32 may be desktop computers, notebooks, tablet computers, smart phones, e-book readers, MP3(Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3) players, MP4(Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4) players, and portable computers, which are terminal devices having display functions.
The memory 11 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory).
The storage 11 may in some embodiments be an internal storage unit of the client 31, 32, such as a hard disk or a memory of the client 31, 32. The memory 11 may also be an external memory of the client 31, 32 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital Card (SD), a Flash memory Card (Flash Card), and the like provided on the client 31, 32. Further, the memory 11 may also include both the internal storage unit of the client 31, 32 and the external memory 11. The memory 11 may be used to store not only application software and various types of data, such as codes of the client system 10 and the acceptance layer service 20, but also temporarily store data that has been output or is to be output.
The processor 12 may be a Central Processing Unit (CPU) 12, a microprocessor 12 or other data Processing chip, and is used for reading the stored programs of the client system 10 and the acceptance layer service 20 from the memory 11 and running the programs.
The display 13 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, and the like. The display 13 is used for displaying a visual user interface, and may also be used for displaying the results obtained by the processor 12 executing the client system 10 and the acceptance layer service 20.
Preferably, the clients 31, 32 may also comprise a user interface. Optionally, the user interface may also include a standard wired interface, a wireless interface. The user interface may include an input unit such as a Keyboard (Keyboard), a Mouse (Mouse). Optionally, the mouse may be a mechanical mouse, an optical mouse, or an optical mouse. Optionally, the mouse may also be a wired mouse or a wireless mouse.
Fig. 2 shows only clients 31, 32 with components 11-13 and the client system 10, the acceptance layer service 20, but it is understood that not all of the shown components are required and that more or fewer components may be implemented instead.
The processor 12 runs the acceptance layer service 20 stored in the memory 11, and can realize the following operations:
the acceptance layer service 20 receives a task cooperation request sent by a first user from a first client 31, transmits the task cooperation request to an agent layer service 40 in an enterprise through a first network 21 by asynchronous calling, the agent layer service 40 forwards the received task cooperation request to a core business system 30 in the enterprise through a second network 22 by asynchronous calling, and the core business system 30 distributes a task in the task cooperation request to a second user of a second client 32 and feeds back a processing result to the agent layer service 40; the receiving layer service 20 receives the processing result fed back by the proxy layer service 40, and feeds back the processing result to the first user.
The embodiments of the clients 31 and 32 of the present invention are described in detail in the following embodiments of the task flow method based on the network.
In this embodiment, the acceptance layer service 20 is configured on the client terminals 31 and 32, the proxy layer service 40 is configured on the proxy server 1, and the first network 21 and the second network 22 are combined to realize the flow of the work task between the service personnel and ensure the safety of the task in the process of the cooperative work flow.
Fig. 3 is a schematic diagram of the preferred embodiment of the proxy server 1 shown in fig. 1.
In the present embodiment, the proxy server 1 includes, but is not limited to, a memory 11, a processor 12, and a proxy layer service 40 stored in the memory 11. The server 1 is connected to the client 3 via a first network 21, and is connected to the core server 4 via a second network 22.
The client 3 is provided with a client system 10 and an acceptance layer service 20, and the core server 4 is provided with a core service system 30.
The memory 11 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 11 may be an internal storage unit of the terminal, such as a hard disk or a memory of the terminal, and may optionally be a storage device independent of the processor 12.
The storage 11 may in some embodiments be an internal storage unit of the proxy server 1, such as a hard disk or a memory of the proxy server 1. The memory 11 may also be an external memory of the proxy server 1 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital Card (SD), a Flash memory Card (Flash Card), and the like, which are provided on the proxy server 1. Further, the memory 11 may also include both an internal storage unit and an external memory of the proxy server 1. The memory 11 may be used not only to store application software and various types of data, such as codes of the proxy layer service 40, but also to temporarily store data that has been output or is to be output.
The processor 12 may be a Central Processing Unit (CPU) 12, a microprocessor 12 or other data Processing chip, and is used for reading the stored program of the proxy layer service 40 from the memory 11 and running the program.
Fig. 3 only shows the proxy server 1 with components 11-12 and proxy layer service 40, but it should be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
The processor 12 runs the program of the proxy layer service 40 stored in the memory 11, and can realize the following operations:
the agent layer service 40 receives a task cooperation request of a first user sent by the acceptance layer service 20 of the client 31 through the first network 21, and forwards the received sales task cooperation request to the core business system 30 in the enterprise through the second network 22 in an asynchronous calling mode; the proxy layer service 40 receives a processing result of the core business system 30 responding to the task cooperation request and allocating the task in the task cooperation request to the second user of the client 32, and sends the processing result to the acceptance layer service 20 through the first network 21, and the acceptance layer service 20 feeds back the processing result to the first user.
The embodiment of the proxy server 1 of the present invention is described in detail with reference to the following embodiment of the task flow method based on the network.
In this embodiment, the proxy server 1 of the present invention is configured with the proxy layer service 40, the clients 31 and 32 are configured with the receiving layer service 20, and the first network 21 and the second network 22 are combined to realize the flow of the job task between the service personnel and ensure the safety of the task in the process of the cooperative job flow.
Fig. 4 is a flowchart of a preferred embodiment of the task flow method based on network according to the present invention.
In this embodiment, the task flow method based on the network is applied to the clients 31 and 32, and includes: step S10 and step S20.
Step S10, the acceptance layer service 20 receives a task cooperation request sent by a first user from a first client 31, and transmits the task cooperation request to an agent layer service 40 inside the enterprise through a first network 21 by asynchronous call, the agent layer service 40 forwards the received task cooperation request to a core business system 30 inside the enterprise through a second network 22 by asynchronous call, the core business system 30 distributes a task in the task cooperation request to a second user of a second client 32, and feeds back a processing result to the agent layer service 40; and
in step S20, the receiving layer service 20 receives the processing result fed back by the proxy layer service 40, and feeds back the processing result to the first user.
Taking the sales business of an insurance company as an example, the core business system 30 is installed in the company core server 1, and the client system 10 is installed in the clients 31 and 32. The first user refers to a first service person who is engaged in telephone sales/service of the company, the client 31 refers to a terminal which is used by the first service person and is provided with the client system 10, the first network 21 is an external network of the company, the second user refers to a second service person who is located at a branch office of the company, the client 32 refers to a terminal which is used by the second service person and is provided with the client system 10, and the second network 22 refers to an internal network of the company.
A proxy layer service 40 is created for the company's core business system 30 and an acceptance layer service 20 is created for the company's client system 10. The core business system 30 and the client system 10 perform data transmission through the acceptance layer service 20 and the proxy layer service 40.
When the first service personnel cannot complete one or more sales services, a task cooperation request of the one or more sales services is sent from the client terminal 31 to the acceptance layer service 20, and the acceptance layer service 20 receives the task cooperation through the external network of the company and sends the task cooperation request to the agent layer service 40 in an asynchronous calling mode.
Specifically, the acceptance layer service 20 further filters out malicious requests from the requests sent by the client 31 according to a preset filtering mechanism. The access request in any form carries the access trigger information, and the identification information carried in the access trigger information can explicitly represent the type of the access request, so that malicious requests can be quickly and effectively distinguished according to the access trigger information. After the acceptance layer service 20 receives all requests sent from the client 31, judging whether the requests belong to malicious requests according to the access trigger information carried by each request; if the request belongs to a malicious request, filtering the request; if the request is not a malicious request, the request is saved. The step can effectively prevent the core service system from being attacked maliciously from an external network.
Specifically, the step S20 further includes:
the acceptance layer service 20 stores the task collaboration request issued by the first user using a set of acceptance queues.
The acceptance layer service 20 calls a group of threads to read unprocessed task cooperation requests from the acceptance queue, and forwards the unprocessed task cooperation requests to the proxy layer service 40 for processing.
For example, the reception layer service 20 receives 40 task cooperation requests sent from the client 31, and stores the 40 task cooperation requests in the reception queue in a message manner and chronological order. The accept layer service 20 invokes a set of threads (e.g., 10 threads), sequentially extracts the 40 unprocessed messages in the accept queue, and forwards the messages to the proxy layer service 40.
Further, the acceptance layer service 20 processes the task cooperation request sent by the first user from the client 31 at a preset frequency. The acceptance layer service 20 calls a thread to process the messages in the acceptance queue at predetermined intervals (e.g., 5 seconds).
The proxy layer service 40 receives the task cooperation request in the form of a message sent by the acceptance layer service 20, and forwards the task cooperation request to the core business system 30.
After the core business system 30 receives the task cooperation request in the form of a message sent by the agent layer service 40, the core business system 30 allocates the task in the task cooperation request to the second business person, and after the second business person feeds back the processing result (such as successful sale and failure sale) of the allocated task to the core business system 30 through the client 32, the core business system 30 sends the processing result to the agent layer service 40.
Specifically, the core business system 30 allocates the request in the task collaboration to the second user according to a preset allocation rule. The preset allocation rule refers to selectively allocating the task to the second business personnel according to the characteristics of the task in the task cooperation request, such as the address, economic condition, favorite and family condition of the client in the sales task. In terms of addresses, the core business system 30 can distribute the task to the business personnel working at the branch office in Shenzhen Futian region or select the second business personnel working at the branch office nearby from the second business personnel consistent with or nearby the address of the client if the client is in Shenzhen Futian region. In the economic case where the customer is of a roomed model, the core business system 30 will assign the task to a second business person skilled in servicing the roomed customer.
Specifically, the core service system 30 processes the task cooperation request at a preset frequency, and records and updates a processing state of the task cooperation request in real time. The core service system 30 allocates the task cooperation request every 5 seconds, and records the processing state of the task in the task cooperation request in real time. And marking the distributed tasks as 'distributed', and updating the label of the tasks marked with 'distributed' to be 'successful' when receiving the processing result (successful sale) fed back by the second service personnel.
The proxy layer service 40 sends the processing result (successful sale) to the receiving layer service 20, and the receiving layer service 20 feeds back the processing result to the first user through the display interface of the client 31.
In this embodiment, the network-based task flow method of the present invention configures the proxy layer service 40 on the proxy server 1, installs the acceptance layer service 20 on the clients 31 and 32, and combines the first network 21 and the second network 22 to realize the flow of the work task among the service personnel and ensure the safety of the task in the cooperative task flow process; in addition, the task cooperation request is processed in an asynchronous calling mode, so that the condition that the core service system 30 is abnormal due to high concurrency caused by a large number of requests is effectively avoided.
In addition, the invention also provides a task flow method based on network, which is applied to the server 1, the server 1 comprises a proxy layer service 40, the method comprises the following steps:
and an agent step, in which the agent layer service 40 receives a task cooperation request of the first user sent by the acceptance layer service 20 of the client 31 through the first network 21, and forwards the received sales task cooperation request to the core business system 30 in the enterprise through the second network 22 in an asynchronous calling mode.
Receiving, by the proxy layer service 40, a processing result of the core business system 30 responding to the task cooperation request and allocating a task in the task cooperation request to a second user of the client 32, sending the processing result to the acceptance layer service 20 through the first network 21, and feeding back the processing result to the first user by the acceptance layer service 20.
The specific implementation of the network-based task flow method of the present invention is substantially the same as the specific implementation of the network-based task flow method, and is not described herein again.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where at least one computer-readable instruction is stored on the computer-readable storage medium and is executable by a processor to implement any step of the above network-based task flow method.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (8)
1. A task flow method based on network is applied to a client, and is characterized in that the client comprises an acceptance layer service, and the method comprises the following steps:
the method comprises the following steps: the method comprises the steps that an acceptance layer service receives a task cooperation request sent by a first user from a first client, and after the acceptance layer service receives all task cooperation requests sent by the first client, whether the task cooperation requests belong to malicious requests or not is judged according to access trigger information carried by each task cooperation request; if the task cooperation request belongs to a malicious request, filtering the task cooperation request; if the task cooperation request is not a malicious request, storing the task cooperation request, and transmitting the stored task cooperation request to an agent layer service inside an enterprise through a first network by asynchronous calling, wherein the first network is an external network, the agent layer service is configured on an agent server, the agent layer service forwards the received task cooperation request to a core service system inside the enterprise through a second network by asynchronous calling, the core service system is a sales system installed in the server inside the enterprise, the second network is a network inside the enterprise, the core service system distributes a task in the task cooperation request to a second user of a second client according to a preset distribution rule and feeds back a processing result to the agent layer service, and the preset distribution rule refers to characteristics of the task in the task cooperation request, selectively distributing the task to the second user, wherein the second user refers to a second business person of a branch office of the company in each place, and the characteristics of the task comprise the address, the economic condition, the preference and the family condition of a client in the task; and
a receiving step: and the acceptance layer service receives the processing result fed back by the proxy layer service and feeds the processing result back to the first user.
2. The network-based task flow method of claim 1, wherein the accepting step further comprises:
storing the task cooperation request by utilizing a group of acceptance queues; and
and calling a group of threads to read unprocessed requests from the acceptance queue and forwarding the unprocessed requests to the proxy layer service processing.
3. A task flow method based on network is applied to a server, and is characterized in that the server comprises a proxy layer service, and the method comprises the following steps:
the proxy step: the agent layer service receives a task cooperation request of a first user sent by an acceptance layer service of a first client through a first network, forwards the received task cooperation request to a core service system in an enterprise through a second network in an asynchronous calling mode, the core service system is a sales system of a server in the enterprise installed in the enterprise, the first network is an external network, the second network is an internal network of the enterprise, the core service system distributes a task in the task cooperation request to a second user of a second client according to a preset distribution rule, the preset distribution rule refers to that the task is selectively distributed to the second user according to the characteristics of the task in the task cooperation request, the second user refers to a second service staff of a branch organization of the enterprise at each place, and the characteristics of the task include the address of the client in the task, the number of the client in the task, and the number of the client in the task, Economic, hobby and family situations; and
a receiving step: the proxy layer service receives a processing result of the core business system responding to the task cooperation request and distributing the task in the task cooperation request to a second user of a second client, the processing result is sent to the acceptance layer service through a first network, and the acceptance layer service feeds back the processing result to the first user;
the proxy step further includes:
before the acceptance layer service sends a task cooperation request of a first user to the agent layer service through a first network, after the acceptance layer service receives all task cooperation requests sent from a first client, whether the task cooperation requests belong to malicious requests or not is judged according to access trigger information carried by each task cooperation request; if the task cooperation request belongs to a malicious request, filtering the task cooperation request; and if the task cooperation request is not a malicious request, storing the task cooperation request, and transmitting the stored task cooperation request to an agent layer service in the enterprise through a first network by asynchronous calling.
4. The network-based task flow method of claim 3, wherein the proxy step further comprises:
storing the task cooperation request by utilizing a group of acceptance queues; and
and calling a group of threads to read unprocessed requests from the acceptance queue and forwarding the unprocessed requests to the proxy layer service processing.
5. A client comprising a processor, a memory, a display, and an acceptance layer service, the acceptance layer service stored in the memory comprising at least one computer readable instruction executable by the processor to:
the method comprises the following steps: the method comprises the steps that an acceptance layer service receives a task cooperation request sent by a first user from a first client, and after the acceptance layer service receives all task cooperation requests sent by the first client, whether the task cooperation requests belong to malicious requests or not is judged according to access trigger information carried by each task cooperation request; if the task cooperation request belongs to a malicious request, filtering the task cooperation request; if the task cooperation request is not a malicious request, storing the task cooperation request, and transmitting the stored task cooperation request to an agent layer service inside an enterprise through a first network by asynchronous calling, wherein the first network is an external network, the agent layer service is configured on an agent server, the agent layer service forwards the received task cooperation request to a core service system inside the enterprise through a second network by asynchronous calling, the core service system is a sales system installed in the server inside the enterprise, the second network is a network inside the enterprise, the core service system distributes a task in the task cooperation request to a second user of a second client according to a preset distribution rule and feeds back a processing result to the agent layer service, and the preset distribution rule refers to characteristics of the task in the task cooperation request, selectively distributing the task to the second user, wherein the second user refers to a second business person of a branch office of the company in each place, and the characteristics of the task comprise the address, the economic condition, the preference and the family condition of a client in the task; and
a receiving step: and the acceptance layer service receives the processing result fed back by the proxy layer service and feeds the processing result back to the first user.
6. A server comprising a processor, a memory, a display, and a proxy layer service, the proxy layer service stored in the memory comprising at least one computer readable instruction executable by the processor to:
the proxy step: the agent layer service receives a task cooperation request of a first user sent by an acceptance layer service of a first client through a first network, forwards the received task cooperation request to a core service system in an enterprise through a second network in an asynchronous calling mode, the core service system is a sales system of a server in the enterprise installed in the enterprise, the first network is an external network, the second network is an internal network of the enterprise, the core service system distributes a task in the task cooperation request to a second user of a second client according to a preset distribution rule, the preset distribution rule refers to that the task is selectively distributed to the second user according to the characteristics of the task in the task cooperation request, the second user refers to a second service staff of a branch organization of the enterprise at each place, and the characteristics of the task include the address of the client in the task, the number of the client in the task, and the number of the client in the task, Economic, hobby and family situations; and
a receiving step: the proxy layer service receives a processing result of the core business system responding to the task cooperation request and distributing the task in the task cooperation request to a second user of a second client, the processing result is sent to the acceptance layer service through a first network, and the acceptance layer service feeds back the processing result to the first user;
the proxy step further includes:
before the acceptance layer service sends a task cooperation request of a first user to the agent layer service through a first network, after the acceptance layer service receives all task cooperation requests sent from a first client, whether the task cooperation requests belong to malicious requests or not is judged according to access trigger information carried by each task cooperation request; if the task cooperation request belongs to a malicious request, filtering the task cooperation request; and if the task cooperation request is not a malicious request, storing the task cooperation request, and transmitting the stored task cooperation request to an agent layer service in the enterprise through a first network by asynchronous calling.
7. A computer-readable storage medium having stored thereon at least one computer-readable instruction executable by a processing device to perform operations comprising:
the method comprises the following steps: the method comprises the steps that an acceptance layer service receives a task cooperation request sent by a first user from a first client, and after the acceptance layer service receives all task cooperation requests sent by the first client, whether the task cooperation requests belong to malicious requests or not is judged according to access trigger information carried by each task cooperation request; if the task cooperation request belongs to a malicious request, filtering the task cooperation request; if the task cooperation request is not a malicious request, storing the task cooperation request, and transmitting the stored task cooperation request to an agent layer service inside an enterprise through a first network by asynchronous calling, wherein the first network is an external network, the agent layer service is configured on an agent server, the agent layer service forwards the received task cooperation request to a core service system inside the enterprise through a second network by asynchronous calling, the core service system is a sales system installed in the server inside the enterprise, the second network is a network inside the enterprise, the core service system distributes a task in the task cooperation request to a second user of a second client and feeds back a processing result to the agent layer service, and the preset distribution rule refers to characteristics of the task in the task cooperation request, selectively distributing the task to the second user, wherein the second user refers to a second business person of a branch office of the company in each place, and the characteristics of the task comprise the address, the economic condition, the preference and the family condition of a client in the task; and
a receiving step: and the acceptance layer service receives the processing result fed back by the proxy layer service and feeds the processing result back to the first user.
8. A computer-readable storage medium having stored thereon at least one computer-readable instruction executable by a processing device to perform operations comprising:
the proxy step: the agent layer service receives a task cooperation request of a first user sent by an acceptance layer service of a first client through a first network, forwards the received task cooperation request to a core service system in an enterprise through a second network in an asynchronous calling mode, the core service system is a sales system of a server in the enterprise installed in the enterprise, the first network is an external network, the second network is an internal network of the enterprise, the core service system distributes a task in the task cooperation request to a second user of a second client according to a preset distribution rule, the preset distribution rule refers to that the task is selectively distributed to the second user according to the characteristics of the task in the task cooperation request, the second user refers to a second service staff of a branch organization of the enterprise at each place, and the characteristics of the task include the address of the client in the task, the number of the client in the task, and the number of the client in the task, Economic, hobby and family situations; and
a receiving step: the proxy layer service receives a processing result of the core business system responding to the task cooperation request and distributing the task in the task cooperation request to a second user of a second client, the processing result is sent to the acceptance layer service through a first network, and the acceptance layer service feeds back the processing result to the first user;
the proxy step further includes:
before the acceptance layer service sends a task cooperation request of a first user to the agent layer service through a first network, after the acceptance layer service receives all task cooperation requests sent from a first client, whether the task cooperation requests belong to malicious requests or not is judged according to access trigger information carried by each task cooperation request; if the task cooperation request belongs to a malicious request, filtering the task cooperation request; and if the task cooperation request is not a malicious request, storing the task cooperation request, and transmitting the stored task cooperation request to an agent layer service in the enterprise through a first network by asynchronous calling.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710916532.3A CN107911406B (en) | 2017-09-30 | 2017-09-30 | Network-based task flow method, equipment and storage medium |
PCT/CN2018/089130 WO2019062180A1 (en) | 2017-09-30 | 2018-05-31 | Network-based task transfer method, and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710916532.3A CN107911406B (en) | 2017-09-30 | 2017-09-30 | Network-based task flow method, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107911406A CN107911406A (en) | 2018-04-13 |
CN107911406B true CN107911406B (en) | 2021-03-23 |
Family
ID=61841037
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710916532.3A Active CN107911406B (en) | 2017-09-30 | 2017-09-30 | Network-based task flow method, equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107911406B (en) |
WO (1) | WO2019062180A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107911406B (en) * | 2017-09-30 | 2021-03-23 | 平安科技(深圳)有限公司 | Network-based task flow method, equipment and storage medium |
CN111831921B (en) * | 2019-04-16 | 2024-04-12 | 阿里巴巴集团控股有限公司 | Information collaborative processing method, device and system |
CN110493095B (en) * | 2019-07-26 | 2021-12-03 | 广州至真信息科技有限公司 | VPN service processing method, device, server and storage medium |
CN110611583B (en) * | 2019-08-14 | 2023-06-30 | 中国平安财产保险股份有限公司 | System service method, server and storage medium |
CN112596865B (en) * | 2020-12-22 | 2024-08-16 | 航天信息股份有限公司企业服务分公司 | System for pushing message to be handled based on workflow transaction |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101719153A (en) * | 2009-12-09 | 2010-06-02 | 中国工商银行股份有限公司 | Device and method for carrying out transmission processing on massive data files |
CN104408552A (en) * | 2014-11-13 | 2015-03-11 | 华为技术有限公司 | Method, device and system for cooperatively processing task |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104967589B (en) * | 2014-05-27 | 2019-02-05 | 腾讯科技(深圳)有限公司 | A kind of safety detecting method, device and system |
CN105471866A (en) * | 2015-11-23 | 2016-04-06 | 深圳市联软科技有限公司 | Protection method and apparatus for mobile application |
CN106874730A (en) * | 2015-12-11 | 2017-06-20 | 平安科技(深圳)有限公司 | The method of calibration and client of bank server login certificate |
CN107911406B (en) * | 2017-09-30 | 2021-03-23 | 平安科技(深圳)有限公司 | Network-based task flow method, equipment and storage medium |
-
2017
- 2017-09-30 CN CN201710916532.3A patent/CN107911406B/en active Active
-
2018
- 2018-05-31 WO PCT/CN2018/089130 patent/WO2019062180A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101719153A (en) * | 2009-12-09 | 2010-06-02 | 中国工商银行股份有限公司 | Device and method for carrying out transmission processing on massive data files |
CN104408552A (en) * | 2014-11-13 | 2015-03-11 | 华为技术有限公司 | Method, device and system for cooperatively processing task |
Also Published As
Publication number | Publication date |
---|---|
WO2019062180A1 (en) | 2019-04-04 |
CN107911406A (en) | 2018-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107911406B (en) | Network-based task flow method, equipment and storage medium | |
CN110535831B (en) | Kubernetes and network domain-based cluster security management method and device and storage medium | |
TWI733647B (en) | Method and device for processing call request | |
CN107682576B (en) | Customer incoming line distribution method, system, computer equipment and storage medium | |
CN110866709A (en) | Order combination method and device | |
CN103051733B (en) | Data downloading method, terminal and system | |
CN109582873A (en) | Method and apparatus for pushed information | |
CN110851248A (en) | Asynchronous task data processing method and device and computer readable storage medium | |
US9628939B2 (en) | Data calling method and device | |
WO2016168206A1 (en) | Method and server for securing communication number | |
CN109391658B (en) | Account data synchronization method and equipment, storage medium and terminal thereof | |
CN111341039A (en) | Card-retaining processing method and system, client and server | |
CN116975794B (en) | Software activation method, device and storage medium | |
CN107679871B (en) | List management method, device, system and computer readable storage medium | |
CN110266596B (en) | Message processing method, device, equipment and computer readable storage medium | |
JP7118305B1 (en) | Apparatus, method and program for managing use of multiple applications in enterprise | |
CN111460501A (en) | Method, server and computer readable medium for sharing user information | |
CN108830441B (en) | Resource query method and device | |
JP5386050B1 (en) | Computing that distributes SMS by repeatedly issuing SMS transmission requests to the SMS transmission agency system based on a distribution list received from a client | |
CN110659916A (en) | Order amount splitting method and device | |
JP2021153316A (en) | Mobile terminal, system, access method, and program | |
CN107682386B (en) | Method and device for monitoring installation and uninstallation information and storage medium | |
CN107682385A (en) | Method and apparatus, storage medium based on on-line off-line Integrated service | |
CN113535439A (en) | Service request processing method, device, equipment and storage medium | |
CN113765983A (en) | Site service deployment method and device |
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 |