CN112650964B - Service processing method, equipment and machine readable storage medium - Google Patents
Service processing method, equipment and machine readable storage medium Download PDFInfo
- Publication number
- CN112650964B CN112650964B CN202011581516.1A CN202011581516A CN112650964B CN 112650964 B CN112650964 B CN 112650964B CN 202011581516 A CN202011581516 A CN 202011581516A CN 112650964 B CN112650964 B CN 112650964B
- Authority
- CN
- China
- Prior art keywords
- target
- service
- website
- target service
- processing
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides a business processing method, equipment and a machine readable storage medium, wherein the method comprises the following steps: analyzing a target service processing parameter from the acquired target service website; searching a target processing object corresponding to the target service processing parameter from the configured service data structure; and sending the information corresponding to the target service website to the target processing object so that the target processing object determines the target service website based on the information corresponding to the target service website, determines a service to be processed according to the target service website, and processes the service to be processed. According to the technical scheme, the server automatically searches the target processing object, so that the working efficiency is improved, the communication cost is reduced, and the user experience is better.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a service processing method, device, and machine-readable storage medium.
Background
In the service processing process, the target service may be allocated to the user for processing, and after the target service processing is completed, the processing result of the target service needs to be sent to the target processing object, and the target processing object performs subsequent processing. For example, the target service is a target code writing service, the target service is allocated to the user 1, the user 1 completes the target code, after the user 1 completes the target code, the completed target code needs to be sent to a target processing object, and the target processing object may merge the target code into the global code.
In the above process, the user 1 needs to find the target processing object (e.g., the project principal) first, and then can send the completed object code to the target processing object, but the user 1 may not know the target processing object, which results in that the object code cannot be sent to the target processing object, and thus the work efficiency is very low, and the user experience is poor. For example, the user 1 is a company new co-worker and does not know the target processing object, or the user 1 does not know the target processing object after the target processing object is changed.
Disclosure of Invention
In a first aspect, the present application provides a service processing method, where the method includes:
analyzing a target service processing parameter from the acquired target service website;
searching a target processing object corresponding to the target service processing parameter from the configured service data structure;
and sending the information corresponding to the target service website to the target processing object so that the target processing object determines the target service website based on the information corresponding to the target service website, determines a service to be processed according to the target service website, and processes the service to be processed.
In one possible implementation, the target business processing parameter may include a target website identification and a target business processing type; alternatively, the target service processing parameter may include a target website identification, a target user group, and a target service processing type.
In a possible implementation manner, the service data structure is a tree structure, if the target service processing parameter includes a target website identifier and a target service processing type, the first level of the service data structure is the website identifier, the second level of the service data structure is the service processing type, and the third level of the service data structure is a processing object; the searching of the target processing object corresponding to the target service processing parameter from the configured service data structure includes: searching a first-level website identification corresponding to the target website identification in a first level under the service data structure by taking the target website identification as a keyword;
searching a second-stage service processing type corresponding to the target service processing type in a second stage under the first-stage website identification by taking the target service processing type as a keyword;
and searching the target processing object in the third level under the second-level service processing type.
In a possible implementation manner, the service data structure is a tree structure, if the target service processing parameter includes a target website identifier, a target user group, and a target service processing type, a first level of the service data structure is the website identifier, a second level of the service data structure is the user group, a third level of the service data structure is the service processing type, and a fourth level of the service data structure is a processing object; the searching of the target processing object corresponding to the target service processing parameter from the configured service data structure includes: searching a first-level website identification corresponding to the target website identification in a first level under the service data structure by taking the target website identification as a keyword;
searching a second-level user group corresponding to the target user group in a second level under the first-level website identification by taking the target user group as a keyword;
with the target service processing type as a keyword, searching a third-stage service processing type corresponding to the target service processing type in a third stage under the second-stage user group;
and searching the target processing object in a fourth stage under the third-stage service processing type.
Illustratively, the parsing out the target service processing parameter from the obtained target service website includes: analyzing the starting separator and the ending separator corresponding to the target service processing parameter from the target service website, and determining the content between the starting separator and the ending separator as the target service processing parameter. The start delimiter includes at least one of: backslash separators, comma separators, isocontour separators; the end separator includes at least one of: backslash separators, comma separators, equal-sign separators.
In a possible implementation manner, sending information corresponding to the target service website to the target processing object includes: acquiring a configured message sending mode of the target processing object; and sending the information corresponding to the target service website to the target processing object based on the message sending mode.
In a possible implementation manner, the sending the information corresponding to the target service website to the target processing object includes: acquiring an application identifier corresponding to the target processing object in the specified type of application; and sending the information corresponding to the target service website to the target processing object corresponding to the application identifier based on the instant communication message of the application of the specified type.
In a possible implementation, after parsing the target service processing parameter from the obtained target service website, the method further includes:
and if the service data structure does not have a target processing object corresponding to the target service processing parameter, sending information corresponding to the target service website to a designated processing object so that the designated processing object determines the target service website based on the information corresponding to the target service website, determines a service to be processed according to the target service website, and processes the service to be processed.
In a possible implementation manner, the information corresponding to the target service website includes the target service website; and/or description information of the target service website.
In a second aspect, the present application provides an electronic device, a processor, and a machine-readable storage medium storing machine-executable instructions executable by the processor; the processor is used for executing the machine executable instruction so as to realize the business processing method.
In a third aspect, the present application provides a machine-readable storage medium, where computer instructions are stored on the machine-readable storage medium, and when the computer instructions are executed, the service processing method is implemented.
According to the technical scheme, in the embodiment of the application, the user only needs to send the target service website to the server, and after the server obtains the target service website, the server can analyze the target service processing parameter from the target service website, namely, the target service processing parameter is automatically identified, and the target processing object corresponding to the target service processing parameter is searched in the service data structure, so that the information corresponding to the target service website can be sent to the target processing object. In the process, even if the user does not know the target processing object, the information corresponding to the target service website can be sent to the target processing object, so that the target processing object determines the target service website based on the information corresponding to the target service website, determines the service to be processed according to the target service website, and processes the service to be processed. By the method, the user is enabled to be concentrated in the service to be operated, the server automatically searches the target processing object, the working efficiency is improved, the communication cost is reduced, and the user experience is better.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required to be used in the embodiments of the present application or the technical solutions in the prior art are briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings of the embodiments of the present application.
FIG. 1 is a system architecture diagram according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for processing a service in one embodiment of the present application;
FIGS. 3A-3D are schematic diagrams of a service data structure in one embodiment of the present application;
fig. 4 is a flowchart of a service processing method according to another embodiment of the present application;
fig. 5 is a flowchart of a service processing method according to another embodiment of the present application;
fig. 6 is a block diagram of a service processing apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein is meant to encompass any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, the information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. Depending on the context, moreover, the word "if" may be used to be interpreted as "at 8230; \8230when" or "when 8230; \8230when" or "in response to a determination".
Referring to fig. 1, a schematic diagram of a system architecture shown in the embodiment of the present application is shown, where the system architecture may include a server 101, a network 102, a terminal device 103, a terminal device 104, and a terminal device 105, and certainly, fig. 1 takes 3 terminal devices as an example, and in an actual application, the number of the terminal devices may be greater than 3. The implementation process of each terminal device is the same, and the following description takes the terminal device 103 as an example.
The network 102 is used to provide a communication link between the server 101 and the terminal device 103, for example, the network 102 may be a wired link, a wireless link, or a fiber optic cable, and the like, and the type of the link is not limited.
The terminal device 103 is an electronic device having a display screen, including but not limited to a smart phone, a tablet computer, a laptop portable computer, a desktop computer, and the like, and the type of the terminal device 103 is not limited.
The server 101 is an electronic device with a management function, including but not limited to a server, a desktop computer, a management device, a service platform, and the like, and the type of the server 101 is not limited.
Illustratively, the user may complete the target service through the terminal device 103, obtain a processing result of the target service, send the processing result of the target service to the target processing object, and perform subsequent processing by the target processing object. In order to send the processing result of the target service to the target processing object, in this embodiment, the user only needs to send the target service website to the server 101 through the terminal device 103, after the server 101 obtains the target service website, the target service processing parameter is parsed from the target service website, and the target processing object corresponding to the target service processing parameter is searched from the service data structure, so that information corresponding to the target service website can be sent to the target processing object, so that the target processing object determines the target service website based on the information corresponding to the target service website, and obtains the processing result of the target service according to the target service website, and performs subsequent processing. In the process, even if the user does not know the target processing object, the information corresponding to the target service website can be sent to the target processing object, so that the working efficiency is improved.
The technical solutions of the embodiments of the present application are described below with reference to specific embodiments.
An embodiment of the present application provides a service processing method, which is shown in fig. 2 and is a schematic flow diagram of the service processing method, where the method may be applied to a server 101, and the method may include the following steps:
For example, after the user completes the target service through the terminal device 103, the processing result of the target service may be recorded in a certain web page, and the web address corresponding to the web page is referred to as a target service web address, so that the web page corresponding to the target service web address may include the processing result of the target service. For example, the target service is a target code writing service, after the user completes the target code writing service through the terminal device 103, the target code (i.e., a processing result of the target service) may be obtained, and the target code may be recorded in a certain web page, and a website corresponding to the web page is referred to as a target service website, that is, the web page corresponding to the target service website includes the target code.
On this basis, the user who completes the target service can acquire the target service website and send the target service website to the server 101, so that the server 101 can obtain the target service website. Or, the history processing object may also acquire the target service website and send the target service website to the server 101, so that the server 101 can obtain the target service website. The history processing object may be a superior user of a user who completes the target service, and may also access the target service website and acquire the target service website.
Of course, the above is only an example of sending the target service website to the server 101, and this is not limited thereto.
In one possible implementation, the target service website may include target service processing parameters, and the target service processing parameters may include a target website identifier and a target service processing type. The target website identifier is a unique identifier of the website, and the target service processing type is used for representing a processing type of the target service, and may also be referred to as an operation type of the target service. For example, the target service processing type may be a code merging type, a code modification type, a code creation type, and the like, and the target service processing type is not limited.
Illustratively, parsing out the target service processing parameter from the obtained target service website may include, but is not limited to: and analyzing a start separator and an end separator corresponding to the target service processing parameter from the target service website, and determining the content between the start separator and the end separator as the target service processing parameter. For example, two adjacent separators are used as a start separator and an end separator corresponding to the target service processing parameter, and the content between the two adjacent separators is determined as the target service processing parameter.
For the first target service processing parameter in the target service website, the target service processing parameter may not have a start separator before, that is, the start separator of the target service processing parameter is empty. For the last target traffic handling parameter in the target traffic web address, there may be no end delimiter following the target traffic handling parameter, i.e. the end delimiter of the target traffic handling parameter is empty.
Because the target service processing parameter includes the target website identifier and the target service processing type, the content between two adjacent separators can be determined as the keyword, and when the target service website includes a plurality of separators, the target service website can be divided into a plurality of keywords. Then, the target website identification and the target business processing type are identified from the keywords. For example, the first keyword in the target service website is the target website identifier, and the second keyword in the target service website is the target service processing type. The above-mentioned manner is only an example, and the identification manner of the target website identifier and the target service processing type is not limited.
Illustratively, the start delimiter may include, but is not limited to, at least one of: backslash separators (e.g., /), comma separators (e.g., =), equal-numbered separators (e.g., =); the ending delimiter may include, but is not limited to, at least one of: backslash separators (e.g., /), comma separators (e.g., /), and equal-sign separators (e.g., =).
In summary, the separators in the target service website may include, but are not limited to, at least one of the following: backslash separators (e.g., /), comma separators (e.g., /), and equal-sign separators (e.g., =).
For example, one example of the target service website may be https:// aaa, bbb, net/merge _ requests/28, where https:// this invalid field is removed first to obtain "aaa, bbb, net/merge _ requests/28", and then the "aaa, bbb, net/merge _ requests/28" is divided by using separators (/), separators (,), separators (=), and the like to obtain 3 keywords such as "aaa, bbb, net", "merge _ requests", and "28". Then, the first keyword "aaa, bbb, net" is determined as the target website identification (i.e., the target website name), and the second keyword "merge _ requests" is determined as the target business process type. For the third keyword "28", there is no meaning in this embodiment, and it does not belong to the target service processing parameter, and is not described herein again.
In another possible implementation, the target service website may include target service processing parameters, and the target service processing parameters may include a target website identification, a target user group, and a target service processing type. The target website identification is the unique identification of the website, and the target service processing type is used for representing the processing type of the target service. The target user group is a group to which the user belongs, such as a group identifier, and the group to which the user belongs can be uniquely determined by the group identifier. For example, there may be multiple groups in a company, such as a group in different departments, a group in different projects in the same department, etc., and the grouping manner is not limited as long as it is a group for a user. The target processing objects may be the same for users in the same group, or the target processing objects may be the same or different for users in different groups.
Illustratively, the target service processing parameters are parsed from the obtained target service website, including but not limited to: analyzing a start separator and an end separator corresponding to the target service processing parameter from the target service website (for example, two adjacent separators are used as the start separator and the end separator corresponding to the target service processing parameter), and determining the content between the start separator and the end separator as the target service processing parameter. Because the target service processing parameter includes the target website identification, the target user group and the target service processing type, the content between two adjacent separators is determined as the keyword, and when the target service website includes a plurality of separators, the target service website can be divided into a plurality of keywords. And identifying the target website identification, the target user group and the target service processing type from the plurality of keywords. For example, the first keyword in the target service website is a target website identifier, the second keyword in the target service website is a target user group, and the third keyword in the target service website is a target service processing type. The above-mentioned manner is only an example, and the identification manner of the target website identifier, the target user group and the target service processing type is not limited.
For example, the delimiters in the target service website may include, but are not limited to, at least one of the following: backslash separators (e.g., /), comma separators (e.g., /), and equal-sign separators (e.g., =).
For example, the target service website may be https:// aaa.bbb.net/wk _ offline/merge _ requests/28, removing https:// this invalid field first may obtain "aaa.bbb.net/wk _ offline/merge _ requests/28", and then dividing "aaa.bbb.net/wk _ offline/merge _ requests/28" using a separator (/), a separator (,), a separator (=), and the like, to obtain 4 keywords of "aaa.bbb.net", "wk _ offline", "merge _ requests", and "28". Then, the first keyword "aaa, bbb, net" is determined as the target website identification (i.e., the target website name), the second keyword "wk _ offline" is determined as the target user group, and the third keyword "merge _ requests" is determined as the target service processing type. For the fourth keyword "28", it has no meaning in this example, and does not belong to the target service processing parameter, and will not be described herein again.
Of course, the above are only two examples of the target service processing parameters, the target service processing parameters are not limited, and other parameters besides the target website identifier, the target user group, and the target service processing type may also be provided.
In summary, since the target service website includes the target service processing parameter, after obtaining the target service website, the server 101 may parse the target service processing parameter from the target service website, where the target service processing parameter may include the target website identifier and the target service processing type. Alternatively, the target traffic processing parameters may include a target website identification, a target user group, and a target traffic processing type.
For example, the service data structure may include a mapping relationship between a website identifier, a service processing type, and a processing object, and therefore, the service data structure may be queried through a target website identifier and a target service processing type to obtain a target processing object corresponding to the target website identifier and the target service processing type.
For another example, the service data structure may include a mapping relationship between a website identifier, a user group, a service processing type and a processing object (i.e., the service data structure includes more user groups), so that the service data structure may be queried by using a target website identifier, a target user group and a target service processing type to obtain a target processing object corresponding to the target website identifier, the target user group and the target service processing type.
In a possible implementation manner, a service data structure may be configured in advance, where the service data structure may include a mapping relationship between a website identifier, a service processing type, and a processing object, and the configuration manner of the service data structure is not limited, and the service data structure may have the mapping relationship. The service data structure may be a table structure, as shown in table 1, or a tree structure, as shown in fig. 3A. Of course, the above are only two examples of the service data structure, and the type of the service data structure is not limited.
TABLE 1
As can be seen from table 1, for the target service of the website identifier a1, if the target service is the target service of the service processing type b1, the processing object c1 needs to perform subsequent processing on the target service, that is, the processing result of the target service needs to be sent to the processing object c1. If the target service is the target service of the service processing type b2, the processing object c2 needs to perform subsequent processing on the target service, that is, the processing result of the target service needs to be sent to the processing object c2, and so on. For the target service of the website identifier a2, if the target service is the target service of the service processing type b1, the processing object c2 needs to perform subsequent processing on the target service, that is, the processing result of the target service needs to be sent to the processing object c2, and so on.
On this basis, in step 202, a target processing object corresponding to the target website identifier and the target service processing type may be obtained by querying the service data structure shown in table 1 through the target website identifier and the target service processing type. For example, if the target website identifier is the website identifier a1 and the target service processing type is the service processing type b1, the target processing object queried from table 1 is the processing object c1.
Referring to fig. 3A, when the service data structure is a tree structure, the first level of the service data structure is a website identifier, the second level of the service data structure is a service processing type, and the third level of the service data structure is a processing object. As can be seen from fig. 3A, for the target service of the website identifier a1, if the target service is the target service of the service processing type b1, the processing object c1 needs to perform subsequent processing on the target service. If the target service is the target service of the service processing type b2, the processing object c2 needs to perform subsequent processing on the target service, and so on, that is, the tree structure of fig. 3A is similar to the table structure of table 1.
On this basis, in step 202, if the target service processing parameter includes the target website identifier and the target service processing type, the first-level website identifier corresponding to the target website identifier is found in the first level of the service data structure by using the target website identifier as a keyword. And searching a second-stage service processing type corresponding to the target service processing type in a second stage under the first-stage website identification by taking the target service processing type as a keyword. And searching the target processing object in the third stage under the second-stage service processing type.
For example, if the target website id is a website id a1 and the target service processing type is a service processing type B1, as shown in fig. 3B, then: and with the target website identification a1 as a keyword, searching the first-level website identification (namely a 1) in the first level under the service data structure. And searching the second-stage service processing type (namely b 1) in the second stage under the first-stage website identification a1 by taking the target service processing type b1 as a keyword. And searching a target processing object, namely the processing object c1, in the third level under the second-level service processing type b 1.
In another possible implementation, a service data structure may be configured in advance, where the service data structure may include a mapping relationship between a website identifier, a user group, a service processing type, and a processing object, and the configuration manner of the service data structure is not limited as long as the service data structure has the mapping relationship. The service data structure may be a table structure, as shown in table 2, or a tree structure, as shown in fig. 3C. Of course, the above is only an example of the service data structure, and is not limited thereto.
TABLE 2
As can be seen from table 2, for the target service of the website identifier a1, if the user processing the target service belongs to the user group p1 and the target service is the target service of the service processing type b1, the processing object c1 performs subsequent processing on the target service. If the user belongs to the user group p2 and the target service is the target service of the service processing type b1, the processing object c4 performs subsequent processing on the target service, and so on.
On this basis, in step 202, the service data structure shown in table 2 may be queried to obtain a target processing object corresponding to the target website identifier, the target user group, and the target service processing type. For example, if the target website identifier is the website identifier a1, the target user group is the user group p1, and the target service processing type is the service processing type b1, the target processing object queried in table 2 is the processing object c1.
Referring to fig. 3C, when the service data structure is a tree structure, the first level of the service data structure is a website identifier, the second level of the service data structure is a user group, the third level of the service data structure is a service processing type, and the fourth level of the service data structure is a processing object. As can be seen from fig. 3C, for the target service of the website identifier a1, if the user processing the target service belongs to the user group p1, and the target service is the target service of the service processing type b1, the processing object C1 performs subsequent processing on the target service. If the user processing the target service belongs to the user group p2 and the target service is the target service of the service processing type b1, the processing object c4 performs subsequent processing on the target service, and so on.
On this basis, in step 202, if the target service processing parameter may include a target website identifier, a target user group, and a target service processing type, the first-level website identifier corresponding to the target website identifier is found in the first level under the service data structure by using the target website identifier as a keyword. And searching a second-level user group corresponding to the target user group in a second level under the first-level website identification by taking the target user group as a keyword. And searching a third-stage service processing type corresponding to the target service processing type in a third stage under the second-stage user grouping by taking the target service processing type as a keyword. And searching the target processing object in the fourth stage under the third-stage service processing type.
For example, if the target website identifier is a website identifier a1, the target user group is a user group p1, and the target service processing type is a service processing type b1, as shown in fig. 3D, then: and with the target website identification a1 as a keyword, searching the first-level website identification (namely a 1) in the first level under the service data structure. And searching a second-level user group (namely p 1) in a second level under the first-level website identification a1 by taking the target user group p1 as a keyword. And searching a third-stage service processing type (namely b 1) in a third stage under the second-stage user group p1 by taking the target service processing type b1 as a keyword. And finding a target processing object, namely a processing object c1, in the fourth stage under the third-stage service processing type b 1.
In summary, after the target service processing parameter is obtained, the target processing object corresponding to the target service processing parameter may be found from the service data structure, and this implementation process is referred to in the above embodiments.
For example, after obtaining the target processing object, the server 101 may send information corresponding to the target service website to the target processing object, and after obtaining the information corresponding to the target service website, the target processing object may determine the target service website based on the information corresponding to the target service website and may access a webpage corresponding to the target service website. Referring to the above embodiment, the web page corresponding to the target service website includes the processing result of the target service, so that the target processing object can obtain the processing result of the target service from the web page, determine the service to be processed that needs to be processed by the target processing object, and process the service to be processed.
For example, the target processing object may obtain an object code completed by the user from the web page, and assuming that the target service processing type is a code merging type, the service to be processed may be a code merging service, and the target processing object may merge the object code into a global code (the global code is an integral code composed of object codes of multiple users), so as to obtain a complete code. For another example, assuming that the target service processing type is a code modification type, the service to be processed may be a code modification service, and the target processing object may modify the target code and return the modified target code to the user. Of course, for different target service processing types, the target processing object may determine a service to be processed corresponding to the target service processing type, and process the service to be processed, without limiting the processing manner of the service to be processed.
For example, since the target service website includes the target service processing type, the target processing object may parse the target service processing type from the target service website, and then determine the service to be processed based on the target service processing type. Or, the server 101 may also send the target service processing type and the information corresponding to the target service website to the target processing object, so that the target processing object directly determines the target service processing type, and then determines the service to be processed based on the target service processing type.
In a possible implementation manner, in step 203, the server 101 may further obtain a message sending manner of the configured target processing object, and send information corresponding to the target service website to the target processing object based on the message sending manner. For example, the message sending mode may be a mailbox sending type and a mailbox address of the target processing object, and the information corresponding to the target service website is sent to the mailbox address through the mailbox sending type, so that the target processing object obtains the information corresponding to the target service website from the inbox. For another example, the message sending mode may be a short message sending type and a mobile phone number of the target processing object, and the information corresponding to the target service website is sent to the mobile phone number through the short message sending type, so that the target processing object obtains the information corresponding to the target service website from the short message. For another example, the message sending mode may be an instant messaging type and an instant messaging identifier of the target processing object, and the information corresponding to the target service website may be sent to the instant messaging identifier through the instant messaging type, so that the target processing object obtains the information corresponding to the target service website from the instant messaging message, and so on. Of course, the above are only a few examples of the message sending method, and the message sending method is not limited, and any message sending method may be adopted as long as the information corresponding to the target service website can be sent to the target processing object.
For example, when the service data structure is configured in advance, for each processing object in the service data structure, a message sending manner of the processing object may also be configured, where the message sending manner includes a message sending type (such as a mailbox sending type, a short message sending type, an instant messaging type, and the like) and recipient information (such as a mailbox address, a mobile phone number, an instant messaging identifier, and the like), the message sending type is used to indicate which manner is used to send information corresponding to the target service website, the recipient information is used to indicate received information of the target processing object, and the target processing object may receive information corresponding to the target service website through the received information.
For each processing object in the service data structure, the object identifier recorded in the service data structure may be an object identifier of the processing object, and the server 101 may further record a mapping relationship between the object identifier of the processing object and a message sending manner of the processing object. Based on this, after obtaining the target processing object, the server 101 can obtain the message sending mode of the target processing object through the mapping relationship.
For each processing object in the service data structure, the message sending mode of the processing object may be recorded in the service data structure, and based on this, when obtaining the target processing object, the server 101 may directly query the message sending mode of the target processing object from the service data structure.
In another possible implementation manner, in step 203, the server 101 may further obtain an application identifier corresponding to the target processing object in the specified type of application, and send information corresponding to the target service website to the target processing object corresponding to the application identifier based on the instant messaging message of the specified type of application.
For example, when the service data structure is configured in advance, for each processing object in the service data structure, an application identifier corresponding to the processing object in a specified type of application (which may be any instant messaging type application), that is, a unique identifier of the processing object in the specified type of application, may also be configured.
For each processing object in the service data structure, the object identifier of the processing object may be recorded in the service data structure, and the server 101 may further record a mapping relationship between the object identifier of the processing object and the application identifier of the processing object. Based on this, after obtaining the target processing object, the server 101 may obtain, through the mapping relationship, an application identifier corresponding to the target processing object in the specified type of application. Or, for each processing object in the service data structure, the application identifier recorded in the service data structure may be an application identifier of the processing object, and based on this, when obtaining the target processing object, the server 101 may directly query, from the service data structure, the application identifier corresponding to the target processing object in the application of the specified type.
After the application identifier corresponding to the target processing object in the specified type of application is obtained, the information corresponding to the target service website can be sent to the target processing object corresponding to the application identifier based on the instant messaging message (i.e., the message sent by the specified type of application) of the specified type of application, so that the target processing object can receive the information corresponding to the target service website through the specified type of application. Since the designated type application is an instant messaging application and the server 101 sends the information corresponding to the target service website through the instant messaging message, the target processing object can receive the information corresponding to the target service website in time.
In a possible implementation manner, in step 202, when the service data structure is searched for a target processing object corresponding to the target service processing parameter, if the service data structure does not have the target processing object corresponding to the target service processing parameter, the server 101 may directly send information corresponding to the target service website to a specified processing object (i.e., a preconfigured default processing object), so that the specified processing object determines a target service website based on the information corresponding to the target service website, determines a service to be processed according to the target service website, and processes the service to be processed.
For example, a designated processing object may be configured for all users, and after the server 101 parses the target service processing parameter from the target service website, if the target processing object corresponding to the target service processing parameter does not exist in the service data structure, the server 101 may send information corresponding to the target service website to the designated processing object, instead of sending information corresponding to the target service website to the target processing object.
For another example, a designated processing object may be configured for each user group, and the designated processing objects of different user groups may be the same or different, such as a designated processing object 1 configured for a user group 1 and a designated processing object 2 configured for a user group 2. Based on this, after the server 101 parses the target service processing parameter from the target service website, if there is no target processing object corresponding to the target service processing parameter in the service data structure, the server 101 determines the user group to which the user belongs, and sends the information corresponding to the target service website to the designated processing object corresponding to the user group, and if the user group to which the user belongs is the user group 1, the server 101 may send the information corresponding to the target service website to the designated processing object 1.
For example, the process of specifying the processing object to determine the service to be processed according to the target service website and processing the service to be processed is similar to the implementation process of the target processing object, and is not described herein again.
In the above embodiment, the information corresponding to the target service website may include, but is not limited to: a target service website; and/or, description information of the target service website. The description information indicates any information related to the target service website, for example, what type of code is recorded by the target service website, what type of code should be used to link to the target service website, what processing should be performed on the content of the target service website by the target processing object, and is used to prompt that the target service website has a task to be processed, and the like, which is not limited.
In summary, since the information corresponding to the target service website includes the target service website and/or description information of the target service website, the target processing object may determine the target service website based on the information corresponding to the target service website, and then access the target service website to obtain the service to be processed.
For example, the execution sequence is only an example given for convenience of description, and in practical applications, the execution sequence between steps may also be changed, and the execution sequence is not limited. Moreover, in other embodiments, the steps of the respective methods do not have to be performed in the order shown and described herein, and the methods may include more or less steps than those described herein. Moreover, a single step described in this specification may be broken down into multiple steps in other embodiments for description; multiple steps described in this specification may be combined into a single step in other embodiments.
It can be seen from the above technical solutions that, in the embodiment of the present application, a user only needs to send a target service website to a server, and after obtaining the target service website, the server can analyze a target service processing parameter from the target service website, that is, automatically identify the target service processing parameter, and search a target processing object corresponding to the target service processing parameter from a service data structure, so that information corresponding to the target service website can be sent to the target processing object. In the process, even if the user does not know the target processing object, the information corresponding to the target service website can be sent to the target processing object, so that the target processing object determines the target service website based on the information corresponding to the target service website, determines the target service to be processed according to the target service website, and processes the target service. By the method, the user is enabled to be concentrated in the service to be operated, the server automatically searches the target processing object, the working efficiency is improved, the communication cost is reduced, and the user experience is better.
Referring to fig. 4, a flow diagram of a service processing method is shown, where the method may include:
In step 403, the server 101 searches a target processing object (for example, a responsible person who needs to perform subsequent processing on the service) corresponding to the target website identifier and the target service processing type from the service data structure.
Referring to fig. 5, a flow diagram of a service processing method is shown, where the method may include:
Referring to fig. 3C, as an example of the service data structure, for each service processing type of the service data structure, an end (end) flag may be configured for the service processing type, which indicates that after the service processing type is hit, the matching process is ended, and a processing object in the service processing type is taken as a target processing object.
For example, for the target service website https:// aaa, bbb, net/wk _ offline/merge _ requests/28, removing https://, to obtain "aaa, bbb, net/wk _ offline/merge _ requests/28", using separators to divide, to obtain the following array (i.e. keywords): net, wk _ offline, merge _ requests and 28, which are respectively marked as A [0], A [1], A [2] and A [3], where the array A [0] represents the target website identifier, the array A [1] represents the target user group, and the array A [2] represents the target service processing type.
In step 503, the server 101 searches a target processing object corresponding to the target website identifier, the target user group and the target service processing type from a service data structure (i.e. a tree structure).
For example, a first level under a service data structure is firstly inquired through an array A [0], a first level website identification under the service data structure is matched, as the first level website identification has no end mark, matching is continued under the first level website identification (namely, the lower layer of the current tree-shaped branch), namely, a second level under the first level website identification is inquired through an array A [1], a second level user grouping under the first level website identification is matched, as the second level user grouping has no end mark, matching is continued under the second level user grouping (namely, the lower layer of the current tree-shaped branch), namely, a third level under the second level user grouping is inquired through an array A [2], a third level service processing type under the second level user grouping is matched, and as the third level service processing type has the end mark, a processing object under the third level service processing type is taken as a target processing object.
According to the technical scheme, in the embodiment of the application, the user only needs to send the target service website to the server, and after the server obtains the target service website, the server can analyze the target service processing parameter from the target service website, namely, the target service processing parameter is automatically identified, and the target processing object corresponding to the target service processing parameter is searched in the service data structure, so that the information corresponding to the target service website can be sent to the target processing object. In the process, even if the user does not know the target processing object, the information corresponding to the target service website can be sent to the target processing object, so that the target processing object determines the target service website based on the information corresponding to the target service website, determines the target service to be processed according to the target service website, and processes the target service. By the method, the user is enabled to be concentrated in the service to be operated, the server automatically searches the target processing object, the working efficiency is improved, the communication cost is reduced, and the user experience is better.
Based on the same application concept as the method, an embodiment of the present application further provides a service processing apparatus, which is applied to a server side, as shown in fig. 6, and is a structural diagram of the apparatus, where the apparatus includes: the acquisition module 61 is configured to parse target service processing parameters from the acquired target service website; the query module 62 is configured to search a configured service data structure for a target processing object corresponding to the target service processing parameter; a sending module 63, configured to send information corresponding to the target service website to the target processing object, so that the target processing object determines the target service website based on the information corresponding to the target service website, determines a service to be processed according to the target service website, and processes the service to be processed.
In a possible implementation manner, the target business processing parameter may include a target website identifier and a target business processing type; alternatively, the target service processing parameter may include a target website identification, a target user group, and a target service processing type.
In a possible implementation manner, the service data structure is a tree structure, if the target service processing parameter includes a target website identifier and a target service processing type, the first level of the service data structure is the website identifier, the second level of the service data structure is the service processing type, and the third level of the service data structure is a processing object; the query module 62 is specifically configured to, when searching for a target processing object corresponding to the target service processing parameter from the configured service data structure: searching a first-level website identification corresponding to the target website identification in a first level under the service data structure by taking the target website identification as a keyword; searching a second-stage service processing type corresponding to the target service processing type in a second stage under the first-stage website identification by taking the target service processing type as a keyword; and searching the target processing object in the third level under the second-level service processing type.
In a possible implementation manner, the service data structure is a tree structure, if the target service processing parameter includes a target website identifier, a target user group, and a target service processing type, the first level of the service data structure is the website identifier, the second level of the service data structure is the user group, the third level of the service data structure is the service processing type, and the fourth level of the service data structure is a processing object; the query module 62 is specifically configured to, when searching for a target processing object corresponding to the target service processing parameter from the configured service data structure: searching a first-level website identification corresponding to the target website identification in a first level under the service data structure by taking the target website identification as a keyword; searching a second-level user group corresponding to the target user group in a second level under the first-level website identification by taking the target user group as a keyword; with the target service processing type as a keyword, searching a third-stage service processing type corresponding to the target service processing type in a third stage under the second-stage user group; and searching the target processing object in a fourth stage under the third-stage service processing type.
In a possible implementation manner, the obtaining module 61 is specifically configured to, when parsing out the target service processing parameter from the obtained target service website: analyzing the starting separator and the ending separator corresponding to the target service processing parameter from the target service website, and determining the content between the starting separator and the ending separator as the target service processing parameter. Illustratively, the start delimiter may include, but is not limited to, at least one of: backslash separators, comma separators, equal-sign separators; and, the end separator may include, but is not limited to, at least one of: backslash separators, comma separators, isocontour separators.
In a possible implementation manner, when the sending module 63 sends the information corresponding to the target service website to the target processing object, the sending module is specifically configured to: acquiring a configured message sending mode of the target processing object; and sending the information corresponding to the target service website to the target processing object based on the message sending mode.
In a possible implementation manner, when the sending module 63 sends the information corresponding to the target service website to the target processing object, the sending module is specifically configured to: acquiring an application identifier corresponding to the target processing object in the specified type of application; and sending the information corresponding to the target service website to the target processing object corresponding to the application identifier based on the instant communication message of the application of the specified type.
In a possible implementation, the sending module 63 is further configured to: if the service data structure does not have a target processing object corresponding to the target service processing parameter, sending information corresponding to the target service website to a designated processing object, so that the designated processing object determines the target service website based on the information corresponding to the target service website, determines a service to be processed according to the target service website, and processes the service to be processed.
In a possible implementation manner, the information corresponding to the target service website includes the target service website; and/or description information of the target service website.
Based on the same application concept as the method, an electronic device is further provided in the embodiment of the present application, and as for the electronic device provided in the embodiment of the present application, in terms of a hardware level, a schematic diagram of a hardware architecture can be seen as shown in fig. 7. The method can comprise the following steps: a processor 71, a machine-readable storage medium 72, the machine-readable storage medium 72 storing machine-executable instructions executable by the processor 71; the processor 71 is configured to execute machine executable instructions to implement the service processing method disclosed in the above example of the present application.
Based on the same application concept as the method, embodiments of the present application further provide a machine-readable storage medium, where the machine-readable storage medium stores a plurality of computer instructions, and when the computer instructions are executed by a processor, the service processing method disclosed in the above example of the present application can be implemented.
The machine-readable storage medium may be, for example, any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (12)
1. A method for processing a service, the method comprising:
analyzing a target service processing parameter from the acquired target service website;
searching a target processing object corresponding to the target service processing parameter from the configured service data structure; the target service processing parameters comprise a target website identification and a target service processing type, and the service data structure comprises a mapping relation among the website identification, the service processing type and a processing object;
and sending the information corresponding to the target service website to the target processing object so that the target processing object determines the target service website based on the information corresponding to the target service website, determines a service to be processed according to the target service website, and processes the service to be processed.
2. The method of claim 1,
the target traffic handling parameters also include target user packets.
3. The method of claim 2, wherein the service data structure is a tree structure, and if the target service processing parameter includes a target website identifier and a target service processing type, a first level of the service data structure is a website identifier, a second level of the service data structure is a service processing type, and a third level of the service data structure is a processing object; the searching of the target processing object corresponding to the target service processing parameter from the configured service data structure includes:
searching a first-level website identification corresponding to the target website identification in a first level under the service data structure by taking the target website identification as a keyword;
searching a second-stage service processing type corresponding to the target service processing type in a second stage under the first-stage website identification by taking the target service processing type as a keyword;
and searching the target processing object in the third level under the second-level service processing type.
4. The method of claim 2,
the service data structure is a tree structure, if the target service processing parameter comprises a target website identification, a target user group and a target service processing type, the first level of the service data structure is the website identification, the second level of the service data structure is the user group, the third level of the service data structure is the service processing type, and the fourth level of the service data structure is a processing object; the searching of the target processing object corresponding to the target service processing parameter from the configured service data structure includes:
searching a first-level website identification corresponding to the target website identification in a first level under the service data structure by taking the target website identification as a keyword;
searching a second-level user group corresponding to the target user group in a second level under the first-level website identification by taking the target user group as a keyword;
searching a third-stage service processing type corresponding to the target service processing type in a third stage under the second-stage user grouping by taking the target service processing type as a keyword;
and searching the target processing object in a fourth stage under the third-stage service processing type.
5. The method according to any one of claims 1 to 4,
the analyzing of the target service processing parameters from the obtained target service website includes:
analyzing the starting separator and the ending separator corresponding to the target service processing parameter from the target service website, and determining the content between the starting separator and the ending separator as the target service processing parameter.
6. The method of claim 5, wherein the start delimiter comprises at least one of: backslash separators, comma separators, isocontour separators; and, the end separator comprises at least one of: backslash separators, comma separators, equal-sign separators.
7. The method according to any one of claims 1 to 4,
the sending the information corresponding to the target service website to the target processing object includes:
acquiring a configured message sending mode of the target processing object; and sending the information corresponding to the target service website to the target processing object based on the message sending mode.
8. The method according to any one of claims 1 to 4,
the sending the information corresponding to the target service website to the target processing object includes:
acquiring an application identifier corresponding to the target processing object in the specified type of application;
and sending the information corresponding to the target service website to the target processing object corresponding to the application identifier based on the instant communication message of the application of the specified type.
9. The method according to any one of claims 1 to 4, wherein after parsing the target service processing parameter from the obtained target service website, the method further comprises:
and if the service data structure does not have a target processing object corresponding to the target service processing parameter, sending information corresponding to the target service website to a designated processing object so that the designated processing object determines the target service website based on the information corresponding to the target service website, determines a service to be processed according to the target service website, and processes the service to be processed.
10. The method according to any one of claims 1-4, wherein the information corresponding to the target service website comprises the target service website; and/or description information of the target service website.
11. An electronic device, comprising: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor; the processor is configured to execute the machine-executable instructions to perform the method steps of any of claims 1-10.
12. A machine-readable storage medium comprising, in combination,
the machine-readable storage medium having stored thereon computer instructions which, when executed, implement the method steps of any of claims 1-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011581516.1A CN112650964B (en) | 2020-12-28 | 2020-12-28 | Service processing method, equipment and machine readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011581516.1A CN112650964B (en) | 2020-12-28 | 2020-12-28 | Service processing method, equipment and machine readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112650964A CN112650964A (en) | 2021-04-13 |
CN112650964B true CN112650964B (en) | 2023-02-03 |
Family
ID=75363571
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011581516.1A Active CN112650964B (en) | 2020-12-28 | 2020-12-28 | Service processing method, equipment and machine readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112650964B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114817357A (en) * | 2022-03-09 | 2022-07-29 | 北京中交兴路信息科技有限公司 | Data processing method, device, electronic equipment, storage medium and system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109428904A (en) * | 2017-08-22 | 2019-03-05 | 阿里巴巴集团控股有限公司 | The publication of business object, acquisition methods, apparatus and system |
CN108632074B (en) * | 2017-08-24 | 2020-10-02 | 新华三信息安全技术有限公司 | Service configuration file issuing method and device |
CN111163234B (en) * | 2019-12-31 | 2021-01-22 | 北京金山安全软件有限公司 | Service call processing method and device, electronic equipment and storage medium |
CN111339561B (en) * | 2020-02-28 | 2023-04-07 | 北京字节跳动网络技术有限公司 | Data processing method, electronic device and storage medium |
CN111598541A (en) * | 2020-05-14 | 2020-08-28 | 深圳易伙科技有限责任公司 | Enterprise business reporting method, device, equipment and storage medium |
CN112052414A (en) * | 2020-10-09 | 2020-12-08 | 腾讯科技(深圳)有限公司 | Data processing method and device and readable storage medium |
-
2020
- 2020-12-28 CN CN202011581516.1A patent/CN112650964B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112650964A (en) | 2021-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104104778B (en) | Mobile terminal short message processing method and device | |
CN105701096A (en) | Index generation method, data inquiry method, index generation device, data inquiry device and system | |
CN106997431B (en) | Data processing method and device | |
CN108566296B (en) | Network device layering method, network management device and computer readable storage medium | |
CN104572727A (en) | Data querying method and device | |
CN114911830B (en) | Index caching method, device, equipment and storage medium based on time sequence database | |
CN109447549B (en) | Method for determining material position and related device | |
CN108829650B (en) | Card number generation method, device, server and storage medium | |
US20180232452A1 (en) | Data retrieval method and system | |
CN113031951B (en) | Menu generation method, menu generation device, computer equipment and storage medium | |
CN108399175B (en) | Data storage and query method and device | |
CN112650964B (en) | Service processing method, equipment and machine readable storage medium | |
CN109783678B (en) | Image searching method and device | |
CN108876314B (en) | Career professional ability traceable method and platform | |
CN109739854A (en) | A kind of date storage method and device | |
CN111400301A (en) | Data query method, device and equipment | |
CN110555020B (en) | Mapping relation establishing and data querying methods, devices and equipment | |
CN107666431B (en) | Bookmark communication message acquisition method and device | |
US20170171128A1 (en) | Method and electronic device for email processing | |
CN107070987B (en) | Data acquisition method and system for distributed object storage system | |
CN110737662A (en) | data analysis method, device, server and computer storage medium | |
CN103856535B (en) | A kind of method and apparatus obtaining user data | |
CN110505238A (en) | The processing unit and method of message queue based on EDR | |
CN106446080B (en) | Data query method, query service equipment, client equipment and data system | |
CN106649678B (en) | Data processing method and system |
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 |