CN118283108A - Service processing method, system, device, medium and program product - Google Patents
Service processing method, system, device, medium and program product Download PDFInfo
- Publication number
- CN118283108A CN118283108A CN202211708871.XA CN202211708871A CN118283108A CN 118283108 A CN118283108 A CN 118283108A CN 202211708871 A CN202211708871 A CN 202211708871A CN 118283108 A CN118283108 A CN 118283108A
- Authority
- CN
- China
- Prior art keywords
- service data
- service
- data
- processing method
- business
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 33
- 238000012545 processing Methods 0.000 claims abstract description 45
- 238000000034 method Methods 0.000 claims abstract description 37
- 238000004590 computer program Methods 0.000 claims description 3
- 238000012550 audit Methods 0.000 abstract description 38
- 238000011161 development Methods 0.000 abstract description 8
- 238000001514 detection method Methods 0.000 description 23
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 6
- 238000012827 research and development Methods 0.000 description 6
- 238000012360 testing method Methods 0.000 description 4
- 235000013305 food Nutrition 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 150000001413 amino acids Chemical class 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000008451 emotion Effects 0.000 description 2
- 239000008267 milk Substances 0.000 description 2
- 210000004080 milk Anatomy 0.000 description 2
- 235000013336 milk Nutrition 0.000 description 2
- 239000004480 active ingredient Substances 0.000 description 1
- 239000002537 cosmetic Substances 0.000 description 1
- 238000013499 data model Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000035622 drinking Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to the field of computer data processing, in particular to a business processing method, which comprises a business data acquisition step, wherein business data in a preset format is acquired through a first MQ message queue; a step of identifying service data, wherein the service data is analyzed, and the routing information of the service data is determined; a step of processing service data, which is to call a corresponding processing model to process the service data based on the routing information; and a step of sending the service data, wherein the processed service data is sent through a second MQ message queue. The invention also relates to a service processing system, a device, a medium and a program product. The invention can be configured to access a new audit scene, realizes zero code development, saves human resources and improves audit access efficiency.
Description
Technical Field
The present invention relates to the field of computer data processing, and in particular, to a service processing method, system, device, medium, and program product.
Background
In the prior art, when the auditing system accesses a new auditing service scenario, a series of steps such as demand analysis, scheduling, development, joint debugging, testing, online and the like are required to be performed by a plurality of departments such as a service product, an auditing product, a service system research and development, an auditing system research and development, a testing and the like, so that the access of the auditing service scenario can be completed. For example, when accessing a short-term activity scene, in order to avoid content security risk, the activity needs to be accessed into an auditing system, and auditing personnel can conduct compliance auditing on activity content issued by a user, so that the content passing auditing can be normally displayed. Under the current situation, the service product, the auditing product, the service research and development, the auditing system research and development and the like are needed to access the activity, and the two parties need to develop workload, so that the service access cost is improved intangibly.
The invention can realize a new audit service access system only through configuration, realizes a new audit scene access through zero code development, greatly reduces service access cost and rapidly supports audit service online.
Disclosure of Invention
The invention aims to provide a service processing method, a system, equipment, a medium and a program product.
The embodiment of the invention discloses a service processing method, which comprises the following steps:
a step of acquiring service data, wherein the service data in a preset format is acquired through a first MQ message queue;
a step of identifying service data, wherein the service data is analyzed, and the routing information of the service data is determined;
A step of processing service data, which is to call a corresponding processing model to process the service data based on the routing information;
And a step of sending the service data, wherein the processed service data is sent through a second MQ message queue.
Optionally, the method further comprises a step of updating a routing structure, wherein the routing information is updated by a predetermined updating rule based on the traffic data.
Optionally, the predetermined format is set to json format.
Optionally, the corresponding processing model is invoked based on the service type and the service id.
Alternatively, the processing model may process text, pictures, and combinations thereof.
Optionally, the predetermined update rule includes updating the routing information based on a grammar rule.
The embodiment of the invention discloses a service processing system, which is characterized by comprising the following components:
The service data acquisition module acquires service data in a preset format through a first MQ message queue;
a service data identifying module analyzes the service data and determines the routing information of the service data;
the business data processing module is used for calling a corresponding processing model to process the business data based on the routing information;
And the service data sending module sends the processed service data through the second MQ message queue.
An embodiment of the invention discloses an electronic device, which is characterized in that the device comprises a processor and a memory storing computer executable instructions, the processor being configured to execute the instructions to implement the above-mentioned business processing method.
The embodiment of the invention discloses a computer readable storage medium, which is characterized in that at least one computer instruction is stored in the computer readable storage medium, and the at least one instruction is loaded and executed by a processor to realize the service processing method.
Embodiments of the present invention disclose a computer program product comprising computer instructions which, when executed, implement the task processing method described above.
The invention provides a business processing method, a system, equipment, a medium and a program product, which reduce the development amount in the access process of a business system by analyzing data and routing the data to a corresponding processing model.
Compared with the prior art, the embodiment of the invention has the main differences and effects that: by developing the service processing system, the service system, the first auditing system, the second auditing system and the disposal assembly are reasonably and effectively linked, so that the requirements of rapid access to the auditing system of a new scene are finally met, wherein the requirements of data access standardization, data model identification assembly, second auditing system assembly plug-in and disposal result query service are realized. The routing component can realize different model combination logics aiming at different service scenes, can be configured to access a new auditing scene, realizes zero code development, saves human resources and improves auditing access efficiency.
Drawings
Fig. 1 is a schematic view of a scenario in which a service processing method according to an embodiment of the present invention is applied;
Fig. 2 is a flowchart of a service processing method according to an embodiment of the present invention;
FIG. 3 is a flow chart of a service data routing according to an embodiment of the present invention;
FIG. 4 is a flow chart of a business processing system according to an embodiment of the present invention;
fig. 5 is a block diagram of a service processing system according to an embodiment of the present invention;
Fig. 6 is a block diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The invention will be further described with reference to specific examples and figures. It is to be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. Furthermore, for convenience of description, only some, but not all, structures or processes related to the present invention are shown in the drawings. It should be noted that in the present specification, like reference numerals and letters denote like items in the following drawings.
It will be understood that, although the terms "first," "second," etc. may be used herein to describe various features, these features should not be limited by these terms. These terms are used merely for distinguishing and are not to be construed as indicating or implying relative importance. For example, a first feature may be referred to as a second feature, and similarly a second feature may be referred to as a first feature, without departing from the scope of the example embodiments.
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic view of a scenario in which a service processing method according to an embodiment of the present invention is applied.
As shown in fig. 1, the application scenario of the present invention includes a client 100 and a server 200, where the client 100 and the server 200 implement communication through connection of a wired network or a wireless network.
It should be noted that, as one skilled in the art can understand, the number of the clients 100 may be one or more, and the number of the clients 100 should not be taken as a limitation of the present invention, where the number of the clients 100 is based on actual requirements in a service application scenario, for example, in an audit system for batch data processing, where data sources are from different clients 100, and at least one client 100 sends data to the audit system. The client 100 may be a computer device such as a smart phone, a tablet computer, a notebook computer, or a desktop computer, and has an operation capability, an input/output function, and a network connection function. The server 200 may be a single server device, or may be a server cluster, a cloud server, or other computer device equipped with a service for providing game applications to the outside.
When the auditing system on the market is accessed to a new auditing service scene, a series of steps such as demand analysis, scheduling, development, joint debugging, testing, online and the like are required to be carried out by a plurality of departments such as a service product, an auditing product, a service system research and development, an auditing system research and development, a testing and the like, so that the access to the auditing service scene can be completed, and the service access cost is increased intangibly.
In view of the above problems, the present invention provides a service processing method, system, device, medium and program product, which can quickly realize that a new service scenario is accessed to an audit system, and is realized through a configured scheme, that is, the whole new service access audit system can be completed after a certain configuration, and the whole service processing method, system, device and program product integrally comprises functions of service system data access, first audit, second audit system access, second audit label display, audit result disposal notification, service system disposal result query and the like, wherein the first audit can be machine audit, and the second audit can be manual audit and other audit programs for supplementing the machine audit defects.
Fig. 2 is a flowchart of a service processing method according to an embodiment of the present invention.
As shown in fig. 2, a service processing method according to an embodiment of the present invention needs to be implemented by matching the client 100 and the server 200 in fig. 1, where the method includes:
and a step S100 of acquiring service data, wherein the service data in a preset format is acquired through a first MQ message queue.
As an embodiment, a service access component is created on the server 200, the component being configured to define a unified data format, the server 200 creating a first MQ message queue, receiving service data from the client 100 via the first MQ message queue, and processing the data in a predetermined format.
As one embodiment, the predetermined format is set to json format. It should be noted that, the unified definition of data as json type is not intended to limit the data type form of the present invention, and the predetermined data type of the present invention is intended to facilitate the expansion of a subsequent new service type, so json format should not be taken as a limitation of the present invention, and the predetermined format includes, but is not limited to, json format, and it will be understood by those skilled in the art that the predetermined format should be in order to facilitate the expansion of the data type in a practical application scenario.
In an example, after a user of the short video publishing platform publishes a short video, in a service scenario of short video auditing, a service access component receives data from a mobile device of the short video published by the user through a producer in a message queue-M1, wherein the mobile device is an electronic device with operation capability, input and output functions and network connection functions, and can include a mobile phone, a tablet, a notebook computer and the like, the short video data can include pictures, characters, address information and user information, and a first MQ message queue uniformly receives the short video data and converts the pictures, the characters, the address information and the user information in the short video into json format.
The data format is defined as json type, which is favorable for data expansion, and the unified data format can unify all service systems, so that the subsequent new service type can be conveniently expanded.
And a step S200 of identifying service data, wherein the service data is analyzed, and the routing information of the service data is determined.
As one embodiment, the first MQ message queue receives traffic data from the client 100, processes the data in a predetermined format, and sends the data to the first auditing system downstream of the traffic access system. The first audit system may be a machine audit system.
As an embodiment, the service data pushed by the client 100 and received by the real-time service data receiving component is consumed through the consumption logic of the first MQ message queue.
As an implementation manner, the service data may include text and pictures, and it should be noted that, as those skilled in the art can understand, the content of the service data is not limited to text and pictures, but may also include the case of graphic splicing, the content of the service data is not limited to static active content, may include a video form, the type of the service data is based on the content that needs to be checked in practice, and should not be taken as a limitation condition of the present invention, and the service data may specifically include a name of a service scene, a service id, a service content to be checked, a push check time, and the like.
The routing information is information for distinguishing the service scene type, and can be extracted from the analyzed keywords of the service data information.
In one example, a user issues a text for popularizing a cleansing product, the text is entitled "amino acid cleansing milk", the general title is cosmetic, cleansing and plain price, the text content introduces amino acid active ingredients of the cleansing milk, and the sense of use of the user, after the text content is issued through the client 100 used by the user, the server 200 receives data such as the text title, the text topic, the user id, the text content, etc., and the server 200 performs predetermined format processing on the issued data related to the text content through the first MQ message queue, uniformly defines json format, and sends the related data to the first auditing system.
The consumption logic of the first MQ message queue may be to prioritize the textual content.
According to the defined unified format, analyzing the data related to the text content of the json type, including analyzing the name of the text of the promoted and washed product, releasing the content id and the text content, and realizing the time schedule of pushing and auditing according to the consumption logic of the message queue.
In an example, a user issues a plurality of pictures for viewing delicious foods, the contents on the pictures are various delicious foods, the issued contents use topics of delicious foods, good things sharing and eating and drinking, after the picture contents are issued through a client 100 used by the user, the server 200 receives data such as a picture title, a picture topic, a user id, the picture contents and the like, the server 200 processes the data related to the issued picture contents in a preset format through a first MQ message queue, uniformly defines json format, and sends the related data to a first auditing system.
The consumption logic of the first MQ message queue may be to prioritize the picture content.
According to the defined unified format, analyzing data related to picture content of json type, including analyzing names of pictures, publishing content id and text content, the time schedule of pushing and auditing can be realized according to the consumption logic of the message queue.
In another example, a user issues a document sharing text with a plurality of pictures, the text title is "four-six-level english examination document sharing", the general title is learning, document, booklet, stationery, the text content introduces examination books and examination work and rest arrangement plans, the content on the picture is various booklets for four-six-level learning, after the text and picture content is issued through a client 100 used by the user, the server 200 receives data such as text titles, text topics, user ids, text content, picture titles, picture topics, picture content and the like, the server 200 processes the issued data related to the picture content in a predetermined format through a first MQ message queue, the data related to the picture content is uniformly defined as json format, and the content related data spliced by the pictures and the texts is sent to a first examination system.
The consumption logic of the first MQ message queue may be to prioritize the content of the teletext splice.
According to the defined unified format, analyzing the data related to the content spliced by the json type graphics and texts, wherein the data comprise the names of the graphics and texts, the id of the released content, the text content, the topic of the graphics, the user id, the text title, the topic of the text, the user id, the text content and the like, and the time schedule of pushing and auditing can be realized according to the consumption logic of the message queue.
In another example, the user publishes the video discussed by emotion, the user shares the picture in the video for multiple times and prepares text comments, the text comments are the key highlighting part of the topic that the user wants to discuss, the user performs the graphic and text comments on the text contents in the video, the server 200 performs reservation format processing on the received data of the video contents published by the user on the client 100 through the first MQ message queue, the reservation format is uniformly defined as json format, and the related data of the video contents are sent to the first auditing system.
The consumption logic of the first MQ message queue may be to prioritize dynamic video content.
According to the defined unified format, analyzing data related to the dynamic video content of json type, including analyzing the name, video id, video content, user id, picture content and the like of the video, the time schedule of pushing and auditing can be realized according to the consumption logic of the message queue.
And a step S300 of processing the service data, wherein a corresponding processing model is called to process the service data based on the routing information.
The routing information is information for distinguishing the type of the service scene, the routing information can be extracted from the analyzed keywords of the service data information, the conditions of text, picture-text splicing and the like in the service scene are distinguished, and corresponding processing models related to the text, picture and picture-text splicing are called based on the routing information.
As an embodiment, the processing model may process text, pictures, and combinations thereof.
The invention can carry out compliance detection on service data, and the server 200 creates a general text content detection model, a general picture content detection model and a configurable model detection component.
As one embodiment, text compliance detection may include politics, yellow, riot, etc., and picture compliance detection may include pornography violence, politics violations, riot violations, text detection, etc.
The technical scheme of the application obtains, stores, uses, processes and the like the data, which all meet the relevant regulations of national laws and regulations.
As an implementation mode, the service processing method of the invention calls the corresponding processing model based on the service type and the service id, the configurable model detection component can realize different model detection logics according to different service access scenes, for example, the text detection model realizes the detection of texts, the picture detection model realizes the detection of pictures, and the text detection model component and the picture model detection component can be used for detecting the scene of picture-text splicing in a combined detection mode, thereby realizing the first audit of the service scene of picture-text splicing.
In an example, a user publishes a video of emotion discussion, the user shares pictures in the video for multiple times and is provided with text explanation, the text explanation content is an important salient part of a topic which the user wants to discuss currently, the user performs a picture-in-picture explanation on the text content in the video, the server 200 performs reservation format processing on received data of the video content published by the user on the client 100 through a first MQ message queue, the data are uniformly defined as json format, and related data of the video content are sent to a first auditing system. Analyzing data related to the json type dynamic video content, identifying text data and picture data contained in the released video content, and determining a processing model for calling the combination of the text detection model component and the picture model detection component.
And a step S400 of sending the service data, wherein the processed service data is sent through a second MQ message queue.
As one embodiment, after the service model is identified, the data passed by the machine, the data intercepted by the machine, and the data not specified by the machine are respectively configured. And carrying out combined configuration according to different service scenes and model interception results to realize different processing effects. The machine sends the first audit uncertainty message to the second audit system component through the second MQ message queue by directly invoking a pass-through method of the handling component, intercepting by the machine a reject process invoking the handling component. It is noted that the second audit system may be a human audit system, or may be an audit program that fills up any machine audit void.
Fig. 3 is a flow chart of a service data routing according to an embodiment of the present invention.
As shown in fig. 3, the routing component is mainly used for implementing different model combinational logic processes for different service scenarios, including a start node, a policy node, a model node, and an end node, and a complete service routing component is a structure of a directed acyclic graph.
As one embodiment, the service processing method of the present invention further includes a step of updating a routing structure, and the routing information is updated by a predetermined update rule based on the service data.
As one embodiment, the predetermined update rule is in a prescribed syntax format, and the predetermined update rule includes updating the routing information based on the syntax rule.
The routing component specifically comprises:
Creating a lexical analyzer, performing traversing operation on file contents according to defined lexical files through a visitor mode, analyzing lexical keyword information in the lexical files, extracting node keyword identifiers in the files, identifying key information such as a start node, an end node, a strategy node, a model node and the like, identifying data information of corresponding nodes, calling functions by the model method, strategy method information and the like, and caching the data.
Creating a grammar parser, parsing grammar files, parsing grammar trees through visitor patterns, parsing grammar logic through lexical keywords defined in the files, generating a parsed data structure, creating a topological structure of the whole model detection network according to defined node sequences, node relationships, node parallelism, serial relationship networks and other information, detecting the validity of the network topological structure, and caching the final network structure into a memory.
After the complete model detection routing network topology diagram is created, a corresponding model detection network can be selected through the service type of the service data and the service id, and a first check logic processing process is performed.
With the updating of the service scene data, the built model detection routing network can be dynamically adjusted, and the node information in the model detection network diagram is modified according to a specified grammar format, stored and the cached network structure is refreshed.
Fig. 4 is a flow chart of a business processing system according to an embodiment of the present invention.
As shown in fig. 4, fig. 4 shows the development steps of the whole audit access system, and after the development of the whole access system is completed, a configured audit service access can be realized by using a subsequent online configuration scheme.
When a new service scene needs to be accessed to the auditing system, the service needs to uniformly send the data to be audited into the service access system according to the agreed uniform data format.
And configuring a first audit type, plain text, plain picture, picture-text mixture and other services of the current service according to the accessed service type, and combining a corresponding model strategy and a strategy for transmitting a second audit.
And creating a display area of the second audit background in the second audit background system, and configuring a display module of the current service, for example: a user information display area, a user auditing labeling area, a user auxiliary information display area and the like.
The processing center configures, configures the processing type and the message notification type of the current service, receives the result of the second audit, and sends the processing result message out through the message queue.
After the business receives the auditing result, the business can carry out corresponding treatment or obtain the current auditing result through the unified auditing result inquiry service and carry out the next treatment.
The configuration can complete business system data access, first audit, second audit system access, second audit mark display, audit result disposal notification and business system disposal result query
Fig. 5 is a block diagram of a service processing system according to an embodiment of the present invention.
As shown in fig. 5, the service processing system 500 includes: an acquire service data module 510, an identify service data module 520, a process service data module 530, a send service data module 540;
The service data acquisition module 510 acquires service data in a predetermined format through the first MQ message queue;
the service data identifying module 520 analyzes the service data and determines the routing information of the service data;
a processing service data module 530, for calling a corresponding processing model to process the service data based on the routing information;
the send service data module 540 sends the processed service data through the second MQ message queue.
The present embodiment corresponds to the foregoing embodiment, and may be implemented in cooperation with the foregoing embodiment. The related technical details mentioned in the foregoing embodiments are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the related technical details mentioned in the present embodiment can also be applied to the foregoing embodiments.
According to some embodiments of the present invention, an electronic device is disclosed, the device comprising a memory storing computer executable instructions and a processor configured to execute the instructions to implement a business processing method.
Fig. 6 is a block diagram of a hardware architecture for implementing an electronic device according to an embodiment of the invention.
As shown in FIG. 6, the electronic device 600 may include one or more processors 602, a system motherboard 608 coupled to at least one of the processors 602, a system memory 604 coupled to the system motherboard 608, a non-volatile memory (NVM) 606 coupled to the system motherboard 608, and a network interface 610 coupled to the system motherboard 608.
The processor 602 may include one or more single-core or multi-core processors. The processor 602 may include any combination of general-purpose and special-purpose processors (e.g., graphics processor, application processor, baseband processor, etc.). In an embodiment of the invention, the processor 602 may be configured to perform a method of traffic handling according to the one shown in fig. 2.
In some embodiments, system motherboard 608 may include any suitable interface controller to provide any suitable interface to at least one of processors 602 and/or any suitable device or component in communication with system motherboard 608.
In some embodiments, system motherboard 608 may include one or more memory controllers to provide an interface to system memory 604. The system memory 604 may be used to load and store data and/or instructions. The system memory 604 of the electronic device 600 may comprise any suitable volatile memory in some embodiments, such as a suitable Dynamic Random Access Memory (DRAM).
The non-volatile memory NVM 606 may include one or more tangible, non-transitory computer-readable media for storing data and/or instructions. In some embodiments, nonvolatile memory NVM 606 may include any suitable nonvolatile memory, such as flash memory, and/or any suitable nonvolatile storage device, such as at least one of a HDD (HARD DISK DRIVE ), CD (Compact Disc) drive, DVD (DIGITAL VERSATILE DISC ) drive.
The non-volatile memory NVM 606 may include a portion of a storage resource installed on an apparatus of the electronic device 600, or it may be accessed by, but not necessarily a portion of, the device. For example, nonvolatile memory NVM 606 may be accessed over a network via network interface 610.
In particular, system memory 604 and non-volatile memory NVM 606 may each include: a temporary copy and a permanent copy of instruction 620. The instructions 620 may include: instructions that, when executed by at least one of the processors 602, cause the electronic device 600 to implement the business processing method as shown in fig. 2. In some embodiments, instructions 620, hardware, firmware, and/or software components thereof may additionally/alternatively be disposed in system motherboard 608, network interface 610, and/or processor 602.
The network interface 610 may include a transceiver to provide a radio interface for the electronic device 600 to communicate with any other suitable device (e.g., front end module, antenna, etc.) over one or more networks. In some embodiments, the network interface 610 may be integrated with other components of the electronic device 600. For example, the network interface 610 may be integrated into at least one of the processor 602, the system memory 604, the non-volatile memory NVM 606, and a firmware device (not shown) having instructions that, when executed by at least one of the processor 602, the electronic device 600 implements one or more of the various embodiments shown in fig. 2.
The network interface 610 may further include any suitable hardware and/or firmware to provide a multiple-input multiple-output radio interface. For example, network interface 610 may be a network adapter, a wireless network adapter, a telephone modem, and/or a wireless modem.
In one embodiment, at least one of the processors 602 may be packaged together with one or more controllers for the system motherboard 608 to form a system package (SiP). In one embodiment, at least one of the processors 602 may be integrated on the same die as one or more controllers for the system motherboard 608 to form a system on a chip (SoC).
The electronic device 600 may further include: input/output (I/O) devices 612 are connected to the system motherboard 608. The I/O device 612 may include a user interface to enable a user to interact with the electronic device 600; the design of the peripheral component interface enables the peripheral component to also interact with the electronic device 600. In some embodiments, the electronic device 600 further comprises a sensor for determining at least one of environmental conditions and location information associated with the electronic device 600.
In some embodiments, input/output (I/O) devices 612 may include, but are not limited to, a display (e.g., a liquid crystal display, a touch screen display, etc.), speakers, a microphone, one or more cameras (e.g., still image cameras and/or video cameras), a flashlight (e.g., light emitting diode flash), and a keyboard.
In some embodiments, the peripheral component interface may include, but is not limited to, a non-volatile memory port, an audio jack, and a power interface.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 600. In other embodiments of the application, electronic device 600 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Program code may be applied to input instructions to perform the functions described herein and generate output information. The output information may be applied to one or more output devices in a known manner. For purposes of this disclosure, a system for processing instructions including processor 602 includes any system having a processor such as a Digital Signal Processor (DSP), a microcontroller, an Application Specific Integrated Circuit (ASIC), or a microprocessor.
The program code may be implemented in a high level procedural or object oriented programming language to communicate with a processing system. Program code may also be implemented in assembly or machine language, if desired. Indeed, the mechanisms described in the present invention are not limited in scope by any particular programming language. In either case, the language may be a compiled or interpreted language.
According to an embodiment of the present invention, there is also provided a computer-readable storage medium having stored therein at least one computer instruction that is loaded and executed by a processor to implement the foregoing service processing method.
According to an embodiment of the invention, a computer program product is also presented, comprising computer instructions which, when executed, implement the aforementioned business processing method.
Illustrative embodiments of the invention include, but are not limited to, a business processing method, system, device, medium, and program product.
Various aspects of the illustrative embodiments will be described using terms commonly employed by those skilled in the art to convey the substance of their work to others skilled in the art. However, it will be apparent to those skilled in the art that some alternative embodiments may be practiced using the features described in part. For purposes of explanation, specific numbers and configurations are set forth in order to provide a more thorough understanding of the illustrative embodiments. However, it will be apparent to one skilled in the art that the alternative embodiments may be practiced without the specific details. In some other instances, well-known features are omitted or simplified in order not to obscure the illustrative embodiments of the invention.
Furthermore, various operations will be described as multiple discrete operations, in a manner that is most helpful in understanding the illustrative embodiments;
However, the order of description should not be construed as to imply that these operations are necessarily order dependent, and that many of the operations 5 be performed in parallel, concurrently or with other operations. Furthermore, the order of the operations may also be rearranged. When the described operations are completed, the process may be terminated, but may also have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
References in the specification to "one example," "in an example," "one embodiment," "one implementation," etc., mean that the reference is made to
The described embodiments may include a particular feature, structure, or property, but each embodiment may or may not include the particular feature, structure, or property. Moreover, such phrases are not necessarily referring to the same embodiment. In addition, when combined with concrete
Embodiments describe certain features, and the knowledge of one skilled in the art can influence combinations of these features with other embodiments, whether or not such embodiments are explicitly described.
The terms "comprising," "having," and "including" are synonymous, unless the context dictates otherwise. The phrase "A and/or B"
Represents "(A), (B) or (A and B)".
5 As used herein, the term "module" may refer to, be part of, or include: for operating one
A memory (shared, dedicated, or group) of one or more software or firmware programs, an Application Specific Integrated Circuit (ASIC), an electronic circuit and/or processor (shared, dedicated, or group), a combinational logic circuit, and/or other suitable components that provide the described functionality.
In the drawings, some structural or methodological features may be shown in a particular arrangement and/or order. However, it should be understood that such a particular arrangement and/or ordering is not required. Rather, in some embodiments, these features may be illustrated in a different manner and/or order than that shown in the illustrative figures. In addition, the structures or methods contained in the specific drawings
Features do not necessarily require that all embodiments include such features, and in some embodiments may not include such features or may be combined with other features.
In the description provided herein, numerous specific details are set forth. However, it will be appreciated that embodiments of the invention
May be practiced without these specific details. In some instances, well-known methods, structures 5, and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
Claims (10)
1. A service processing method for an electronic device, comprising:
a step of acquiring service data, wherein the service data in a preset format is acquired through a first MQ message queue;
a step of identifying service data, wherein the service data is analyzed, and the routing information of the service data is determined;
A step of processing service data, which is to call a corresponding processing model to process the service data based on the routing information;
And a step of sending the service data, wherein the processed service data is sent through a second MQ message queue.
2. The traffic processing method according to claim 1, further comprising a step of updating a routing structure, the routing information being updated by a predetermined updating rule based on the traffic data.
3. The service processing method according to claim 1, wherein the predetermined format is set to json format.
4. The service processing method according to claim 1, wherein the corresponding processing model is invoked based on a service type, a service id.
5. The business processing method of claim 1, wherein the processing model can process text, pictures and combinations thereof.
6. The traffic processing method according to claim 1, wherein the predetermined update rule includes updating the routing information based on a grammar rule.
7. A business processing system, comprising:
The service data acquisition module acquires service data in a preset format through a first MQ message queue;
a service data identifying module analyzes the service data and determines the routing information of the service data;
the business data processing module is used for calling a corresponding processing model to process the business data based on the routing information;
And the service data sending module sends the processed service data through the second MQ message queue.
8. An electronic device comprising a memory storing computer executable instructions and a processor configured to execute the instructions to implement the business processing method of any of claims 1-6.
9. A computer readable storage medium having stored therein at least one computer instruction that is loaded and executed by a processor to implement the business processing method of any of claims 1-6.
10. A computer program product comprising computer instructions which, when executed, implement the business processing method of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211708871.XA CN118283108A (en) | 2022-12-29 | 2022-12-29 | Service processing method, system, device, medium and program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211708871.XA CN118283108A (en) | 2022-12-29 | 2022-12-29 | Service processing method, system, device, medium and program product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118283108A true CN118283108A (en) | 2024-07-02 |
Family
ID=91634191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211708871.XA Pending CN118283108A (en) | 2022-12-29 | 2022-12-29 | Service processing method, system, device, medium and program product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118283108A (en) |
-
2022
- 2022-12-29 CN CN202211708871.XA patent/CN118283108A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111221521B (en) | Method, device, computer system and readable storage medium for generating log code | |
CN109062563B (en) | Method and device for generating page | |
US8849854B2 (en) | Method and system for providing detailed information in an interactive manner in a short message service (SMS) environment | |
US8073887B2 (en) | Representational state transfer (REST) service import editor | |
CN110764760B (en) | Method, apparatus, computer system, and medium for drawing program flow chart | |
US10235427B2 (en) | Entity-driven logic for improved name-searching in mixed-entity lists | |
CN110716866B (en) | Code quality scanning method, device, computer equipment and storage medium | |
CN113419740B (en) | Program data stream analysis method and device, electronic equipment and readable storage medium | |
WO2023216857A1 (en) | Multi-agent chatbot with multi-intent recognition | |
CN117407414A (en) | Method, device, equipment and medium for processing structured query statement | |
CN110399459B (en) | Online document searching method, device, terminal, server and storage medium | |
CN113761871A (en) | Rich text rendering method and device, electronic equipment and storage medium | |
CN113760242B (en) | Data processing method, device, server and medium | |
CN110489326B (en) | IDS-based HTTPAPI debugging method device, medium and equipment | |
CN114064712A (en) | Data access method and device, electronic equipment and computer readable storage medium | |
CN110807535A (en) | Construction method and construction device of unified reservation platform and unified reservation platform system | |
CN113254819A (en) | Page rendering method, system, equipment and storage medium | |
CN111352741B (en) | Interface calling method and device, intelligent terminal and storage device | |
CN112328841A (en) | Document processing method and device, electronic equipment and storage medium | |
GB2503696A (en) | Finding services in a service registry system of a service-oriented architecture | |
CN118283108A (en) | Service processing method, system, device, medium and program product | |
CN112491943A (en) | Data request method, device, storage medium and electronic equipment | |
CN116756016A (en) | Multi-browser testing method, device, equipment, medium and program product | |
CN110806967A (en) | Unit testing method and device | |
CN110471708B (en) | Method and device for acquiring configuration items based on reusable components |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |