CN116708564A - Service processing method, device, equipment and storage medium - Google Patents

Service processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN116708564A
CN116708564A CN202310667203.5A CN202310667203A CN116708564A CN 116708564 A CN116708564 A CN 116708564A CN 202310667203 A CN202310667203 A CN 202310667203A CN 116708564 A CN116708564 A CN 116708564A
Authority
CN
China
Prior art keywords
service
status code
key information
service status
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.)
Pending
Application number
CN202310667203.5A
Other languages
Chinese (zh)
Inventor
钟永杰
冯鹏超
黄维
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Douyin Vision Co Ltd
Original Assignee
Douyin Vision Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Douyin Vision Co Ltd filed Critical Douyin Vision Co Ltd
Priority to CN202310667203.5A priority Critical patent/CN116708564A/en
Publication of CN116708564A publication Critical patent/CN116708564A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the disclosure provides a service processing method, a device, equipment and a storage medium. Comprising the following steps: receiving a service status code application request; wherein the service status code application request includes at least one key information; verifying the at least one piece of key information; generating a service status code based on the at least one key information that passes the verification; and processing the data request service based on the service status code. According to the service processing method provided by the embodiment of the disclosure, the service status code is generated based on at least one piece of key information which passes the verification, and the data request service is processed based on the service status code, so that the problems existing in the data request service can be accurately and timely processed, and the reliability of the data request is improved.

Description

Service processing method, device, equipment and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of internet, in particular to a service processing method, device, equipment and storage medium.
Background
In a complex business scenario, a business request may have different results: success, failure, spam and the like, the common distinguishing mode returns to the front end through the service custom status code, and the front end displays different contents according to different status codes.
With the development of internet technology and the expansion of service scenes, the number of services is continuously increased, so that the number of service status codes is also continuously expanded, and the following situations exist: on the service call link, the state is continuously converted, most of the state is changed into a default unified state code, and too much information is lost; after the unified status code is formed, the normal early warning is not possible. Based on the above reasons, the execution of the service request cannot be processed correctly, and the problem of the data request service cannot be positioned accurately.
Disclosure of Invention
The embodiment of the disclosure provides a service processing method, a device, equipment and a storage medium, which are used for processing a data request service based on a service status code, so that the problem existing in the data request service can be accurately and timely processed, and the reliability of the data request is improved.
In a first aspect, an embodiment of the present disclosure provides a service processing method, including:
receiving a service status code application request; wherein the service status code application request includes at least one key information;
verifying the at least one piece of key information;
generating a service status code based on the at least one key information that passes the verification;
and processing the data request service based on the service status code.
In a second aspect, an embodiment of the present disclosure further provides a service processing apparatus, including:
the service status code application request receiving module is used for receiving a service status code application request; wherein the service status code application request includes at least one key information;
the key information verification module is used for verifying the at least one key information;
the business state code generation module is used for generating a business state code based on the at least one piece of key information which passes the verification;
and the service processing module is used for processing the data request service based on the service state code.
In a third aspect, embodiments of the present disclosure further provide an electronic device, including:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the business processing methods as described in embodiments of the present disclosure.
In a fourth aspect, the disclosed embodiments also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing the business processing method as described in the disclosed embodiments.
The embodiment of the disclosure discloses a service processing method, a device, equipment and a storage medium, which are used for receiving a service status code application request; wherein the service status code application request includes at least one key information; verifying at least one piece of key information; generating a service status code based on the at least one key information passing the verification; and processing the data request service based on the service status code. According to the service processing method provided by the embodiment of the disclosure, the service status code is generated based on at least one piece of key information which passes the verification, and the data request service is processed based on the service status code, so that the problems existing in the data request service can be accurately and timely processed, and the reliability of the data request is improved.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a flow chart of a service processing method according to an embodiment of the disclosure;
fig. 2 is a flow chart of a service processing method according to an embodiment of the disclosure;
fig. 3 is a flow chart of a service processing method according to an embodiment of the disclosure;
fig. 4 is a schematic structural diagram of a service processing device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
It will be appreciated that prior to using the technical solutions disclosed in the embodiments of the present disclosure, the user should be informed and authorized of the type, usage range, usage scenario, etc. of the personal information related to the present disclosure in an appropriate manner according to the relevant legal regulations.
For example, in response to receiving an active request from a user, a prompt is sent to the user to explicitly prompt the user that the operation it is requesting to perform will require personal information to be obtained and used with the user. Thus, the user can autonomously select whether to provide personal information to software or hardware such as an electronic device, an application program, a server or a storage medium for executing the operation of the technical scheme of the present disclosure according to the prompt information.
As an alternative but non-limiting implementation, in response to receiving an active request from a user, the manner in which the prompt information is sent to the user may be, for example, a popup, in which the prompt information may be presented in a text manner. In addition, a selection control for the user to select to provide personal information to the electronic device in a 'consent' or 'disagreement' manner can be carried in the popup window.
It will be appreciated that the above-described notification and user authorization process is merely illustrative and not limiting of the implementations of the present disclosure, and that other ways of satisfying relevant legal regulations may be applied to the implementations of the present disclosure.
It will be appreciated that the data (including but not limited to the data itself, the acquisition or use of the data) involved in the present technical solution should comply with the corresponding legal regulations and the requirements of the relevant regulations.
Fig. 1 is a schematic flow chart of a service processing method provided by an embodiment of the present disclosure, where the embodiment of the present disclosure is applicable to a case of processing a data request service, the method may be performed by a service processing apparatus, and the apparatus may be implemented in a form of software and/or hardware, and optionally, implemented by an electronic device, where the electronic device may be a mobile terminal, a PC side, a server, or the like.
As shown in fig. 1, the method includes:
s110, receiving a service status code application request.
Wherein the service status code application request includes at least one key information. The key information may be a status code name, text content, and whether to influence the service level indicator (Service Level Indicator, SLI). The text content may be understood as description information of a service state, and the service state may include a request success state, a request failure state, or a request spam state. The service level indicator may represent the quality of the business service, and the calculation formula may be expressed as: sli= (1-service unavailable time/service total time) ×100%; service unavailable time = sum (with service time window); service unavailable time = failure unavailable time U delays unavailable time, U represents a union; failure unavailable time=sum (time window satisfying the first setting condition: the power is smaller than a first set threshold value in a unit time window, and the success rate is the success rate of the data request; delay unavailable time=sum (time window satisfying the second setting condition: and Pct99 is greater than a second set threshold value in a non-failed unit time window, wherein the failure can be understood as the failure of the data request, and Pct99 is the time delay of the 99-minute request which is sequenced according to the ascending order of the time delay in the time window. Where sum represents the summation operation.
In this embodiment, the process of receiving the service status code application request may be: and the user opens a service status code application interface, inputs key information such as a status code name, text content, service level index influence or not and the like for generating the service status code in the application interface, clicks a confirmation button, and thus obtains a service status code application request.
S120, checking at least one piece of key information.
Wherein, verifying at least one key information can be understood as: and checking whether the writing specification of the status code name in the key information is compliant, and checking whether the text content in the key information has public opinion risk.
Specifically, the process of verifying at least one key information may be: generating a verification record based on the at least one key information; pushing the verification record to a verification object; and receiving a verification operation of the verification object on at least one piece of key information.
The verification object may be understood as a user who verifies the key information. The manner of pushing the verification record to the verification object may be: sending the verification record to a verification object in a mail mode; or sending the verification record to a verification group (an exchange group created by an instant chat tool) and reminding a verification object (reminding by means of the @ verification object) to verify. The verification of the at least one key information by the verification object may be: the key information is verified by adding remarks (which may also be referred to as annotations).
In this embodiment, in an application scenario, after key information such as a status code name, text content and whether to affect a service level indicator input by a user is received, a verification record is created based on the key information, the verification record is sent to a verification group, a verification object is reminded in a @ manner, the verification object verifies the key information in a remark adding manner, and a verification result is sent to the verification group. For example: the remarks added by the verification object may be: the field for identifying the service state needs to be added before the name of the state code, for example: field Err. In this embodiment, the verification of the key information is achieved by using the verification group as a medium, so that the communication cost can be reduced, and the generation efficiency of the service status code is improved.
S130, generating a service status code based on the at least one piece of key information passing the verification.
The service status code may be a program code capable of generating service status information, and by running the service status code, the service status information may be generated.
In this embodiment, the verification object sends the verification result to the verification group, and if the verification result is that the verification is passed, the application user corrects the key information according to the multiple in the verification result, so as to generate the service status code based on the corrected key information.
Optionally, the manner of generating the service status code based on the at least one key information that passes the verification may be: acquiring a service template according to a service status code application request; and combining at least one key information according to the service template to obtain the service status code.
Wherein the traffic templates may be pre-established. The business template prescribes the positions of the contents corresponding to the different fields. The service status code application request also carries a service identifier, and the service identifier is used for representing the service category. The mode of acquiring the service template according to the service status code application request can be as follows: and acquiring a corresponding service template according to the service identifier in the service status code application request. The manner of combining the at least one key information according to the service template may be: and adding at least one key information to the positions corresponding to the fields of the service template, thereby obtaining the service status code. In this embodiment, the service status code is generated based on the service template, so that the efficiency of generating the service status code can be improved.
And S140, processing the data request service based on the service status code.
In this embodiment, the service status code may represent a status of responding to the data request, including a status of failed request, successful request, or request spam. The problem of the data request service can be identified through the failure state in the service state code, and the processing of the data request service can be understood as follows: the problems in the data request service are processed, so that the user (service personnel) corrects the processed problems to improve the reliability of the data request.
Optionally, the manner of processing the data request service based on the service status code may be: acquiring a plurality of service status codes reported by a service system at intervals of set time length; extracting service state codes meeting set conditions from a plurality of service state codes to serve as target service state codes; creating an early warning rule for the target service state; and processing the data request service based on the early warning rule.
The service status code is called based on the data request, and the set conditions are as follows: no pre-warning rules are created and the service level indicators are affected. The set duration may be user-set, and may be any value greater than 0, for example: 5 minutes. The pre-warning rule can be preset, and the identification corresponding to the target service status code is added to the pre-warning rule which is preset, so that the pre-warning rule corresponding to the target service status code can be obtained. In this embodiment, the service system is configured to implement a data request service, where the data request service can be understood as: receiving a data request sent by a user, acquiring data corresponding to the data request, pushing the acquired data to the user if the data request is successful, calling a service state code corresponding to the successful request, if the data request is unsuccessful, calling the service state code corresponding to the unsuccessful request, analyzing the service state code, and pushing part or all of the analyzed key information to the user so as to prompt the user that the data request is unsuccessful; and reporting the service status code of the success or failure request.
Optionally, before processing the data request service based on the service status code, the method further comprises the following steps: the service status code is stored in a database such that the service system retrieves the service status code from the database based on the data request.
In this embodiment, after the service status code to be formed exists in the database, when the service system performs the data request service, the service status code is fetched from the database based on the data request sent by the user, so as to complete the data request service.
In this embodiment, if the processing task is executed for the first time, the reported full traffic status codes are obtained, and if the processing task is not executed for the first time, the traffic status codes reported in the latest set time period are obtained. And then extracting a service state code which does not create an early warning rule and affects the service level index from the service state codes as a target service state code, creating the early warning rule for the target service state code, and processing the data request service based on the early warning rule.
The early warning rule comprises at least one of the following: the rate of request failure in the service status code affecting the service level indicator is greater than a first set threshold; the ring ratio increase rate of request failure in the service status code affecting the service level indicator is greater than a second set threshold.
The request failure rate may be understood as the ratio of the service status code whose status is request failure in the set duration to the total service status code. The ring-to-ring rate of increase of request failure can be understood as: the state in the set duration is the growth rate of the service state code with failed request compared with the service state code with failed request in the time window.
Optionally, the method for processing the data request service based on the early warning rule may be: when the service status code corresponding to the data request service meets the early warning rule, generating early warning information; and sending the early warning information to the processing object.
Wherein the processing object may be a user of the data request service processing. In this embodiment, when the rate of request failure in the service status code affecting the service level indicator within the set duration is greater than a first set threshold or the ring ratio increase rate of request failure in the service status code affecting the service level indicator is greater than a second set threshold, early warning information is generated and sent to the processing object, so that the processing object performs subsequent processing.
Illustratively, fig. 2 is a flowchart of processing the data request service in the present embodiment, and as shown in fig. 2, the process includes the following steps:
s210, acquiring a plurality of service status codes reported by a service system at intervals of set time.
S220, extracting the business state code which does not create the early warning rule and affects the service level index from the business state codes as a target business state code.
S230, creating an early warning rule for the target service status code.
S240, when the rate of request failure in the business state code affecting the service level index in the set time length is larger than a first set threshold value or the ring ratio increase rate of request failure in the business state code affecting the service level index is larger than a second set threshold value, early warning information is generated.
S250, the early warning information is sent to the processing object.
Optionally, after processing the data request service based on the service status code, the method further comprises the following steps: determining a service level index of a service system according to the service status code; determining statistical information of the service status codes; and displaying the service level index and the statistical information.
Wherein the statistical information includes at least one of: the rate of request failure in the service status code, and the ring ratio increase rate of request failure in the service status code. The determining manner of the service level indicator may be determined according to the calculation formula in the foregoing embodiment, which is not described herein. In this embodiment, the manner of displaying the service level indicator and the statistical information may be: and displaying the service level index and the statistical information in a log form. In this embodiment, the service level index and the statistical information are displayed, so that the problems existing in the service system can be solved in a targeted manner
Optionally, the manner of processing the data request service based on the service status code may be: analyzing the service status code to obtain at least one key information; if the updated text content is received, updating the key information based on the updated text content; and processing the data request service based on the updated key information.
In this embodiment, when the text content in the service status code has public opinion risk, the user needs to update the text content, the service system obtains the updated text content, and replaces the text content in the parsed key information with the updated text content, so as to process the data request service based on the updated key information.
On the basis of the above embodiment, fig. 3 is a flowchart of a service processing method in an embodiment of the disclosure, and as shown in fig. 3, the method includes the following steps:
s310, at least one key information input by a user is received, and a service status code application request is obtained.
S320, generating a check record based on the at least one piece of key information, pushing the check record to a check object, and receiving a check operation of the check object on the at least one piece of key information.
S330, obtaining a service template according to the service status code application request, and combining the verification through at least one key information according to the service template to obtain the service status code.
S340, storing the service status code into a database so that the service system can retrieve the service status code from the database based on the data request.
S350, acquiring a plurality of service status codes reported by the service system at intervals of set time, and extracting the service status codes which do not create early warning rules and influence service level indexes from the service status codes as target service status codes.
S360, creating an early warning rule for the target service status code.
And S370, generating early warning information when the service status code corresponding to the data request service meets the early warning rule.
And S380, sending the early warning information to the processing object.
According to the technical scheme, a service status code application request is received; wherein the service status code application request includes at least one key information; verifying at least one piece of key information; generating a service status code based on the at least one key information passing the verification; and processing the data request service based on the service status code. According to the service processing method provided by the embodiment of the disclosure, the service status code is generated based on at least one piece of key information which passes the verification, and the data request service is processed based on the service status code, so that the problems existing in the data request service can be accurately and timely processed, and the reliability of the data request is improved.
Fig. 4 is a schematic structural diagram of a service processing apparatus according to an embodiment of the present disclosure, as shown in fig. 4, where the apparatus includes:
a service status code application request receiving module 410, configured to receive a service status code application request; wherein the service status code application request includes at least one key information;
a key information verification module 420, configured to verify the at least one key information;
a service status code generating module 430, configured to generate a service status code based on the at least one key information that passes the verification;
and a service processing module 440, configured to process the data request service based on the service status code.
Optionally, the key information verification module 420 is further configured to:
generating a verification record based on the at least one key information;
pushing the verification record to a verification object;
and receiving a verification operation of the verification object on the at least one piece of key information.
Optionally, the service status code generating module 430 is further configured to:
acquiring a service template according to the service status code application request;
and combining the at least one key information according to the service template to obtain a service status code.
Optionally, the service processing module 440 is further configured to:
acquiring a plurality of service status codes reported by a service system at intervals of set time length; wherein, the business status code is called based on the data request;
extracting service state codes meeting set conditions from the plurality of service state codes to serve as target service state codes; wherein, the setting conditions are as follows: no early warning rule is created and the service level index is influenced;
creating an early warning rule for the target service status code;
and processing the data request service based on the early warning rule.
Optionally, the method further comprises: the business state code storage module is used for:
storing the business state code in a database, so that the business system can call the business state code from the database based on a data request.
Optionally, the service processing module 440 is further configured to:
generating early warning information when the service status code corresponding to the data request service meets the early warning rule;
and sending the early warning information to a processing object.
Optionally, the method further comprises: a display module for:
determining a service level index of the service system according to the service status code;
determining statistical information of the service status code; wherein the statistical information includes at least one of: the rate of request failure in the service status code and the ring ratio increase rate of request failure in the service status code;
and displaying the service grade index and the statistical information.
Optionally, the early warning rule includes at least one of the following: the rate of request failure in the service status code affecting the service level indicator is greater than a first set threshold; the ring ratio increase rate of request failure in the service status code affecting the service level indicator is greater than a second set threshold.
Optionally, the key information is a status code name, text content and whether to influence the service level index.
Optionally, the service processing module 440 is further configured to:
analyzing the service status code to obtain the at least one key information;
if updated text content is received, updating the key information based on the updated text content;
and processing the data request service based on the updated key information.
The service processing device provided by the embodiment of the disclosure can execute the service processing method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that each unit and module included in the above apparatus are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for convenience of distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. Referring now to fig. 5, a schematic diagram of an electronic device (e.g., a terminal device or server in fig. 5) 500 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 5, the electronic device 500 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 501, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit/output (I/O) interface 505 is also connected to bus 504.
In general, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 507 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 508 including, for example, magnetic tape, hard disk, etc.; and communication means 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 shows an electronic device 500 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or from the storage means 508, or from the ROM 502. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 501.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The electronic device provided by the embodiment of the present disclosure and the service processing method provided by the foregoing embodiment belong to the same inventive concept, and technical details not described in detail in the present embodiment may be referred to the foregoing embodiment, and the present embodiment has the same beneficial effects as the foregoing embodiment.
The presently disclosed embodiments provide a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the business process XX method provided by the above embodiments.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a service status code application request; wherein the service status code application request includes at least one key information; verifying the at least one piece of key information; generating a service status code based on the at least one key information that passes the verification; and processing the data request service based on the service status code.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The name of the unit does not in any way constitute a limitation of the unit itself, for example the first acquisition unit may also be described as "unit acquiring at least two internet protocol addresses".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (13)

1. A method for processing a service, comprising:
receiving a service status code application request; wherein the service status code application request includes at least one key information;
verifying the at least one piece of key information;
generating a service status code based on the at least one key information that passes the verification;
and processing the data request service based on the service status code.
2. The method of claim 1, wherein verifying the at least one key information comprises:
generating a verification record based on the at least one key information;
pushing the verification record to a verification object;
and receiving a verification operation of the verification object on the at least one piece of key information.
3. The method of claim 1, wherein generating a service status code based on the at least one key information that passes the verification comprises:
acquiring a service template according to the service status code application request;
and combining the at least one key information according to the service template to obtain a service status code.
4. The method of claim 1, wherein processing the data request service based on the service status code comprises:
acquiring a plurality of service status codes reported by a service system at intervals of set time length; wherein, the business status code is called based on the data request;
extracting service state codes meeting set conditions from the plurality of service state codes to serve as target service state codes; wherein, the setting conditions are as follows: no early warning rule is created and the service level index is influenced;
creating an early warning rule for the target service status code;
and processing the data request service based on the early warning rule.
5. The method of claim 4, further comprising, prior to processing the data request service based on the service status code:
storing the business state code in a database, so that the business system can call the business state code from the database based on a data request.
6. The method of claim 4, wherein processing the data request traffic based on the pre-warning rules comprises:
generating early warning information when the service status code corresponding to the data request service meets the early warning rule;
and sending the early warning information to a processing object.
7. The method of claim 4, further comprising, after processing the data request service based on the service status code:
determining a service level index of the service system according to the service status code;
determining statistical information of the service status code; wherein the statistical information includes at least one of: the rate of request failure in the service status code and the ring ratio increase rate of request failure in the service status code;
and displaying the service grade index and the statistical information.
8. The method of claim 7, wherein the pre-warning rules include at least one of: the rate of request failure in the service status code affecting the service level indicator is greater than a first set threshold; the ring ratio increase rate of request failure in the service status code affecting the service level indicator is greater than a second set threshold.
9. The method of claim 1, wherein the key information is a status code name, text content, and whether to affect a service level indicator.
10. The method of claim 9, wherein processing the data request service based on the service status code comprises:
analyzing the service status code to obtain the at least one key information;
if updated text content is received, updating the key information based on the updated text content;
and processing the data request service based on the updated key information.
11. A service processing apparatus, comprising:
the service status code application request receiving module is used for receiving a service status code application request; wherein the service status code application request includes at least one key information;
the key information verification module is used for verifying the at least one key information;
the business state code generation module is used for generating a business state code based on the at least one piece of key information which passes the verification;
and the service processing module is used for processing the data request service based on the service state code.
12. An electronic device, the electronic device comprising:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the traffic processing method of any of claims 1-10.
13. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the business processing method of any of claims 1-10.
CN202310667203.5A 2023-06-06 2023-06-06 Service processing method, device, equipment and storage medium Pending CN116708564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310667203.5A CN116708564A (en) 2023-06-06 2023-06-06 Service processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310667203.5A CN116708564A (en) 2023-06-06 2023-06-06 Service processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116708564A true CN116708564A (en) 2023-09-05

Family

ID=87835157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310667203.5A Pending CN116708564A (en) 2023-06-06 2023-06-06 Service processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116708564A (en)

Similar Documents

Publication Publication Date Title
CN110908967B (en) Method, device, equipment and computer readable medium for storing log
CN112422409B (en) Instant messaging method, device, terminal and storage medium
CN115293657A (en) Carbon emission index information generation method, device, electronic device, and medium
CN113760503A (en) Task migration method and device, electronic equipment and computer readable medium
CN112506968A (en) Information aggregation method and device, electronic equipment and computer readable medium
CN110727558A (en) Information prompting method and device, storage medium and electronic equipment
CN116361121A (en) Abnormal interface alarm method, device, electronic equipment and computer readable medium
CN113807056B (en) Document name sequence error correction method, device and equipment
CN111460020B (en) Method, device, electronic equipment and medium for resolving message
CN116708564A (en) Service processing method, device, equipment and storage medium
CN114928603A (en) Client software upgrading method and device, electronic equipment and medium
CN112948341B (en) Method and apparatus for identifying anomalous network device logs
CN111092758A (en) Method and device for reducing alarm and recovering false alarm and electronic equipment
CN117294745B (en) Network connection state information sending method, device, electronic equipment and medium
CN110262756B (en) Method and device for caching data
CN116431523B (en) Test data management method, device, equipment and storage medium
CN116881097B (en) User terminal alarm method, device, electronic equipment and computer readable medium
CN116756418A (en) Data pushing method, device, equipment and storage medium
CN117132245B (en) Method, device, equipment and readable medium for reorganizing online article acquisition business process
CN115309612B (en) Method and device for monitoring data
CN111507734B (en) Method and device for identifying cheating request, electronic equipment and computer storage medium
CN113032266A (en) Code checking method, device, equipment and storage medium
CN112905455A (en) Interface information checking method, device, equipment and storage medium
CN115809083A (en) Automatic injection business alarming method and device, electronic equipment and storage medium
CN115729788A (en) Alarm message processing method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination