CN109739474A - A kind of processing method of service request, device, equipment and medium - Google Patents
A kind of processing method of service request, device, equipment and medium Download PDFInfo
- Publication number
- CN109739474A CN109739474A CN201811544581.XA CN201811544581A CN109739474A CN 109739474 A CN109739474 A CN 109739474A CN 201811544581 A CN201811544581 A CN 201811544581A CN 109739474 A CN109739474 A CN 109739474A
- Authority
- CN
- China
- Prior art keywords
- service
- service request
- field data
- extended field
- information list
- 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.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of processing method of service request, device, equipment and media, belong to computer field.The described method includes: receiving the service request of client package request condition;Obtain the corresponding information list of the service request;Extended field data and the information list are packaged into object, are filtered to the object;According to filtering as a result, handling the service request.The method that this specification embodiment provides configures service request by extended field data, can be realized dynamic, one-to-many business processing mode, so as to the different business scenario of quick response, reduces development cost.
Description
Technical field
This specification is related to computer field more particularly to a kind of processing method of service request, device, equipment and Jie
Matter.
Background technique
With the development of internet, traffic ingress battle is increasingly white-hot.Banner (Banner) stream important as one
Measure entrance, in the user interface for appearing in different terminals product, can be used as advertisement position show or as active ingress or
Person plays the role of traffic ingress as recommendation pop-up.
Currently, in the prior art, the method for generating banner is only able to satisfy single business demand, belong to static, one-to-one
Method.New banner is generated every time, is required to remake, and overlapping development process consumes more time and monetary cost.
Therefore, it is necessary to a kind of new methods, can shorten the time for generating banner and monetary cost, simplify development process.
Summary of the invention
This specification embodiment provides processing method, device, equipment and the medium of a kind of service request, following for solving
Technical problem: the method for generating banner at present is only able to satisfy single business demand, belongs to static, one-to-one method, every time
New banner is generated, is required to remake, overlapping development process consumes more time and monetary cost.
In order to solve the above technical problems, this specification embodiment is achieved in that
A kind of processing method for service request that this specification embodiment provides, comprising:
Receive the service request of client package request condition;
Obtain the corresponding information list of the service request;
Extended field data and the information list are packaged into object, are filtered to the object, wherein the extension
Field data is the extended field data of class of service belonging to the service request;
According to filtering as a result, handling the service request.
Preferably, the extended field data include:
The basic general character and individual needs of class of service belonging to the service request, wherein the individual needs are institute
State the essential attribute of class of service and the filtering rule of the class of service.
Preferably, the extended field data, specifically include:
Using information such as data type, input checking, enumeration definition, appearance form and application identities as the class of service
Basic general character, using information such as the data mode of the class of service, validity period, title and materials as the class of service
Essential attribute is advised information such as the white list of the class of service, channel, software versions as the filtering of the class of service
Then, extended field data are constituted.
Preferably, the corresponding information list of the service request is obtained, is specifically included:
Contain unique encodings in request condition included by the service request, according to the unique encodings, described in acquisition
The corresponding information list of service request.
Preferably, the extended field data and the information list are packaged into object, are filtered to the object, have
Body includes:
The corresponding extended field data of each information in the information list are traversed, are obtained and the information list
The matched extended field data and the information list are packaged into object by the extended field data matched;
Containing the required parameter being filtered in the request condition of the service request, according to the required parameter, to institute
Object is stated to be filtered.
A kind of processing unit for service request that this specification embodiment provides, comprising:
Receiving unit receives the service request of client package request condition;
Configuration unit is packaged the corresponding information list of service request, filters;
Service Processing Unit, according to filtering as a result, handling the service request.
Further, the corresponding information list of service request is packaged, filtered, specifically included:
Obtain the corresponding information list of the service request;
Extended field data and the information list are packaged into object, are filtered to the object, wherein the extension
Field data is the extended field data of class of service belonging to the service request.
Preferably, the extended field data include:
The basic general character and individual needs of class of service belonging to the service request, wherein the individual needs are institute
State the essential attribute of class of service and the filtering rule of the class of service.
Preferably, the extended field data, specifically include:
Using information such as data type, input checking, enumeration definition, appearance form and application identities as the class of service
Basic general character, using information such as the data mode of the class of service, validity period, title and materials as the class of service
Essential attribute is advised information such as the white list of the class of service, channel, software versions as the filtering of the class of service
Then, extended field data are constituted.
Preferably, the corresponding information list of the service request is obtained, is specifically included:
Contain unique encodings in request condition included by the service request, according to the unique encodings, described in acquisition
The corresponding information list of service request.
Preferably, the extended field data and the information list are packaged into object, are filtered to the object, have
Body includes:
The corresponding extended field data of each information in the information list are traversed, are obtained and the information list
The matched extended field data and the information list are packaged into object by the extended field data matched;
Containing the required parameter being filtered in the request condition of the service request, according to the required parameter, to institute
Object is stated to be filtered.
This specification embodiment also provides a kind of electronic equipment, comprising:
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
A processor executes so that at least one described processor can:
Receive the service request of client package request condition;
Obtain the corresponding information list of the service request;
Extended field data and the information list are packaged into object, are filtered to the object, wherein the extension
Field data is the extended field data of class of service belonging to the service request;
According to filtering as a result, handling the service request.
This specification embodiment also provides a kind of computer readable storage medium, for storing program, which is characterized in that institute
It states program to be performed, realizes the processing requirement of service request.
This specification embodiment use at least one above-mentioned technical solution can reach it is following the utility model has the advantages that
The present embodiment configures service request, can be realized dynamic, one-to-many industry by extended field data
Processing mode of being engaged in reduces development cost so as to the different business scenario of quick response.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or
Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
The some embodiments recorded in this specification, for those of ordinary skill in the art, in not making the creative labor property
Under the premise of, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram of the processing method for service request that this specification embodiment provides;
Fig. 2 is a kind of flow chart of the processing method for service request that this specification embodiment provides;
Fig. 3 is the configuration schematic diagram for the dynamic configuration attribute that this specification embodiment provides;
Fig. 4 is the schematic diagram for the data structure that this specification embodiment provides;
Fig. 5 is the service request treatment effect schematic diagram that this specification embodiment provides;
Fig. 6 is a kind of schematic diagram of the processing unit for service request that this specification embodiment provides.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation
Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described
Embodiment be merely a part but not all of the embodiments of the present application.Based on this specification embodiment, this field
Those of ordinary skill's every other embodiment obtained without creative efforts, all should belong to the application
The range of protection.
Fig. 1 is a kind of schematic diagram of the processing method for service request that this specification embodiment provides.This method comprises:
Step S101: the service request of client package request condition is received.
Business for being related to banner generation is required to re-start exploitation, ability every time for different business demands
New design element is added, different equipment ends, the equipment of different model, software version and different business fields are met
Scape.This static state, one-to-one generation skill method, is not able to satisfy the rapid development of internet.
The method that this specification embodiment provides can satisfy multiple business demand, specifically, it is necessary first to client's end seal
The service request for filling request condition sends service request to server-side, wherein request condition includes looking into for subsequent processing steps
The unique encodings for asking information list, further include the required parameter being filtered for subsequent processing steps according to filtering rule.
Step S103: the corresponding information list of service request is obtained.
According to the unique encodings in request condition included by the received service request of step S101, inquiry is in dispensing shape
The information list of state, wherein refer to information list before the deadline in the state of dispensing, and be in restocking state.Using this
Step can obtain the information list in dispensing state of whole corresponding to service request.
Step S105: extended field data and information list are packaged into object, are filtered to the object.
After abovementioned steps S103 obtains information list, the corresponding extended field number of each information in traversal information list
According to the extended field data of acquisition and aforementioned information list match, further by matched extended field data and information list
It is packaged into object.Wherein, extended field data include the basic general character and individual needs of class of service belonging to service request, will
Aforementioned base general character and individual needs carry out abstract definition, and then obtain extended field data.Specifically, by data type, defeated
Enter basic general character of the information such as inspection, enumeration definition, appearance form and application identities as the class of service, by class of service
The essential attribute of the information as the class of service such as data mode, validity period, title and material, by the white name of class of service
Filtering rule of the information such as list, channel, software version as the class of service constitutes extended field data.Since information arranges
Table is there are many business element, and by encapsulation, extended field data and information list are combined into an independent entirety, convenient for into
Row operation and maintenance.
According to preceding described, also contain filtering rule in the object that filtering rule is contained in extended field data, therefore is packaged into.
Further, the required parameter being filtered according to included in request condition, it is right using the filtering rule in aforementioned object
Information list included in aforementioned object is filtered.
Step S107: according to filtering as a result, processing business is requested.
Using the method for step S105, obtained filter result can be realized the corresponding information obtained to service request
The screening and filtering of list meets the need of different equipment ends, the equipment of different model, software version and different business scenarios
It asks.According to filtering as a result, processing business is requested.
Using method provided in this embodiment, processing business request is enable to respond quickly different business scenarios, less investment
It measures or without putting into development cost, significantly reduces time and the monetary cost of research and development, realize dynamic, one-to-many cross
The generation of width information.
The processing method provided in order to which present invention be described in more detail, Fig. 2 are one kind that this specification embodiment provides
The flow chart of the processing method of service request, specifically includes:
Step S201: the service request of client package request condition is received.
Although business demand may be different, the request condition of client encapsulation has general character, specifically includes: user
ID, device id, software version, channel, application numbers and business number.Wherein, device id is the number of equipment;Software version,
It refers specifically to, if software is the end PC, for the PC version of software, if software is mobile terminal, for the App version of software, such as
1.0 versions, 2.0 versions;The channel of channel, in particular to service request for display, can such as define the same service request
It only shows in some or certain several channels, specifically, can such as be shown only for the mobile phone A pp of certain brands;Application numbers
Refer to the number of the corresponding application of each business demand, which is uniquely that an application there can be multiple application versions
This, but an only application numbers;Business number refers to the corresponding number of different types of service, and business number is unique
's.
Step S203: the corresponding information list of service request is obtained.
In the received service request of above-mentioned steps S201, including request condition.In request condition, application numbers and business
Number is that uniquely, can be used as querying condition, requests corresponding information list for inquiry business.Specifically, according to application
Number and/or business number, obtain the information launched, obtain information list.
Step S205: extended field data are packaged with information list.
The information list obtained by step S203, the corresponding extended field data of every information in traversal information list,
Extended field data and information list are further packaged into object by acquisition and the matched extended field data of information list.Its
In, extended field data include the basic general character and individual needs of class of service belonging to service request.Specifically, individual needs
For the essential attribute of the class of service and the filtering rule of the class of service.
Extended field data in order to facilitate understanding, Fig. 3 are the configuration for the extended field data that this specification embodiment provides
Schematic diagram.
By taking banner as an example, the detailed process of configuration extended field data includes:
Step S301: creation application.
According to business scenario and business demand, create it is new apply App_N, which has unique application coding.It answers
It with coding but realizes multiple functions, is such as used as querying condition, request corresponding information list etc. for inquiry business.It can also be with
Different business function, or the unit as refined rights is isolated.Specifically, such as can be directed to certain advertisement position business, common one
It is a to apply App_1.
Step S303: creation type of service.
At new application App_N, type of service BIZ_N is further created.Type of service has operation code, the business
Coding has uniqueness, can be used as querying condition, requests corresponding information list etc. for inquiry business.Specifically, one
Under, multiple types of service can be created.Such as at the application App_1 of advertisement position business, 4 types of service are created, respectively
It is to guess that you like advertisement BIZ_1, signpost BIZ_2 before direct broadcasting room, activity diagram advertisement BIZ_3 and task center advertisement BIZ_4.
In addition, type of service BIZ_N further comprises optional configuration item, such as size of banner material picture, extension word
Section.Wherein, the size of material picture is depending on possible business demand and business scenario.Extended field is wrapped according to business
The business element that contains and define, a type of service may include multiple extended fields.
Step S305: the extended field of basic general character is defined.
As described in above mentioned step S3 03, extended field is the business element for being included according to business and defines.Due to one
A business can include multiple business elements, therefore, correspondingly, the extended field for needing to define is with multiple.Specifically, by one
Extended field is defined as ATTR_N, and extended field may include: data type, input checking, enumeration definition, appearance form and answer
With mark.Wherein, data type is index value, character string and array;Input checking refer to input business datum whether be must
Fill out item;Enumeration definition refers to the illustration to the possibility situation of business datum;Appearance form refers to the interface UI of business datum
Appearance form;Application identities refer to business datum in use, can according to different application ports, select corresponding data into
Row display, such as the pattern of the pattern of the banner of the display of mobile terminal, the banner shown at the end PC can be defined on.Such as extension
Field ATTR_1, if display advertisement tag, input checking are that must input, and enumeration definition is that 0 representative is not shown, 1 representative is aobvious
Show.Extended field defined above is the basic general character of business.
Step S307: addition banner information.
After above mentioned step S3 07 create extended field, it is also necessary to further add on extended field about banner information
Extended field.Banner information includes basic service attribute and filtering rule, the demand as business.Specifically, banner information
Basic service attribute may include the state (restocking/undercarriage) of banner, validity period/time, title, material etc..Specifically, it marks
Topic refers to that official documents and correspondence title, material refer to the picture materials for banner.Filtering rule may include user's white list, channel, soft
Part version etc., to achieve the purpose that show for different crowd, distinct device and different software versions.Specifically, white list
It may include the white list of User ID white list, device id.
Step S309: storage extended field data.
By above-mentioned steps S307, the field data that is expanded EXT_DATA, the extended field data include the base of business
Plinth general character and the banner information for representing business individual needs are further stored in the form of table.It specifically, will be every
A extended field carries out assignment, keeps extended field corresponding with numerical value, is stored.Since a banner information has multiple business
Attribute, therefore will include multiple extended fields.The extended field data for completing storage, may be implemented to add new design in banner
It when element, does not need to develop again, it is only necessary to according to extended field data, carry out corresponding configuration.
Described before comprehensive, so-called extended field data are the information for all business elements that class of service is included in fact
Set.Specifically, the business demand and business scenario, foundation for being included according to class of service are applied;Further, Mei Geying
With corresponding multiple types of service;Each type of service, corresponding multiple extended fields, specific data structure are as shown in Figure 4.Into
When row extended field data configuration, need to consider business demand and business scenario, involved all possible situation is comprehensive
Consider, then further extracts common feature and personal characteristics.In the specific implementation, it is as added an ad banner validity period
2018/11/20~2018/11/22,12 noon~13 point are launched, and need to show advertisement tag ATTR1, only in oppo channel,
1.8.0 the client push of version.When configuring extended field data, above-mentioned implementation condition can be defined to corresponding expand
Open up field data.
Step S207: filtering.
According to the required parameter for filtering included in request condition: User ID, device id, software version and canal
Road is filtered the object of step S205 encapsulation.Specifically, according to required parameter, utilize what is contained in aforementioned object
Filtering rule is filtered, and obtains the extended field data for meeting service request, that is, obtains the configuration rule for meeting service request
Then.
Step S209: according to filtering as a result, processing business is requested.
By the filtering of above-mentioned steps S207, the filter result of acquisition can be used for the processing of service request.According to filtering
As a result, processing business is requested, and processing result is returned into client.
In one embodiment of this specification, by taking banner as an example, handled according to process shown in Fig. 2.Open certain
When one App, client sends banner information acquisition request, which encapsulates request condition.Specifically, client can
Think mobile terminal, or the end PC, request condition include User ID, device id, software version, terminal channel, application numbers
And business number.Then, the banner information list for state of launching is obtained according to application numbers and/or device numbering.Into one
Step ground traverses the extended field EXT_DATA_N of each banner information according to the banner information list of aforementioned acquisition, obtains and cross
Then matched extended field data and banner information list are packaged into object by the extended field data of width information matches
Banner_VO.Finally, according to the User ID in request condition, device id, software version, terminal channel, to the object being packaged into
Banner_VO is filtered, and according to the filtering rule for including in object, filters out corresponding extended field data, and then answering
With the corresponding banner information of display.
The method that this specification provides, can be used for the end PC, can be used for mobile terminal or mobile terminal and embeds webpage
In mixed developing mode.
The method that this specification embodiment provides, in addition to can be used for banner, it may also be used for other static class pictures and text.
Fig. 5 is the service request treatment effect schematic diagram that this specification embodiment provides.
Specifically, as shown in Figure 5 a, it after user opens some mobile phone A pp, is provided using this specification embodiment
Method, can record according to the browsing of user and/or use habit, the content that conjecture user likes push, meanwhile, push
It is matched that the picture of content, which is with the software version of user, equipment etc., and can configure exposure frequency.
As shown in Figure 5 b, for advertisement pop-up, the method provided using this specification embodiment, when can configure display
Between, at the end of countdown, pop-up is automatically closed.
As shown in Figure 5 c, for content push, the method provided using this specification embodiment, according to different users,
Push different pop-ups.
A kind of processing method of service request is described in detail in above content, and corresponding, present invention also provides one
The processing unit of kind service request, as shown in fig. 6, specifically including:
Receiving unit 601 receives the service request of client package request condition;
Configuration unit 603 is packaged the corresponding information list of service request, filters;
Service Processing Unit 605, according to filtering as a result, handling the service request.
Based on same thinking, this specification embodiment also provides a kind of electronic equipment, comprising:
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
A processor executes so that at least one described processor can:
Receive the service request of client package request condition;
Obtain the corresponding information list of the service request;
Extended field data and the information list are packaged into object, are filtered to the object, wherein the extension
Field data is the extended field data of class of service belonging to the service request;
According to filtering as a result, handling the service request.
This specification embodiment also provides a kind of computer readable storage medium, for storing program, which is characterized in that institute
It states program to be performed, realizes the processing of service request.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device,
For electronic equipment, nonvolatile computer storage media embodiment, since it is substantially similar to the method embodiment, so description
It is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Device that this specification embodiment provides, electronic equipment, nonvolatile computer storage media with method are corresponding
, therefore, device, electronic equipment, nonvolatile computer storage media also have the Advantageous effect similar with corresponding method
Fruit, since the advantageous effects of method being described in detail above, which is not described herein again corresponding intrument,
The advantageous effects of electronic equipment, nonvolatile computer storage media.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can
Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller
Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited
Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to
Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic
Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it
The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions
For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when specification one or more embodiment.
It should be understood by those skilled in the art that, this specification embodiment can provide as method, system or computer program
Product.Therefore, this specification embodiment can be used complete hardware embodiment, complete software embodiment or combine software and hardware
The form of the embodiment of aspect.Moreover, it wherein includes that computer is available that this specification embodiment, which can be used in one or more,
It is real in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form for the computer program product applied.
This specification is referring to the method, equipment (system) and computer program product according to this specification embodiment
Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram
The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers
Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices
To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute
In the dress for realizing the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram
It sets.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
This specification can describe in the general context of computer-executable instructions executed by a computer, such as journey
Sequence module.Generally, program module include routines performing specific tasks or implementing specific abstract data types, programs, objects,
Component, data structure etc..Specification can also be practiced in a distributed computing environment, in these distributed computing environments,
By executing task by the connected remote processing devices of communication network.In a distributed computing environment, program module can
To be located in the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely this specification embodiments, are not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.
Claims (13)
1. a kind of processing method of service request, which is characterized in that the described method includes:
Receive the service request of client package request condition;
Obtain the corresponding information list of the service request;
Extended field data and the information list are packaged into object, are filtered to the object, wherein the extended field
Data are the extended field data of class of service belonging to the service request;
According to filtering as a result, handling the service request.
2. the method as described in claim 1, which is characterized in that the extended field data include:
The basic general character and individual needs of class of service belonging to the service request, wherein the individual needs are the industry
The essential attribute for classification of being engaged in and the filtering rule of the class of service.
3. method according to claim 1 or 2, which is characterized in that the extended field data specifically include:
Using information such as data type, input checking, enumeration definition, appearance form and application identities as the base of the class of service
Plinth general character, using information such as the data mode of the class of service, validity period, title and materials as the basic of the class of service
Attribute, using information such as the white list of the class of service, channel, software versions as the filtering rule of the class of service, structure
At extended field data.
4. the method as described in claim 1, which is characterized in that described to obtain the corresponding information list of the service request, tool
Body includes:
Contain unique encodings in request condition included by the service request, according to the unique encodings, obtains the business
Request corresponding information list.
5. the method as described in claim 1, which is characterized in that the extended field data and the information list are packaged into pair
As being filtered, specifically including to the object:
The corresponding extended field data of each information in the information list are traversed, are obtained matched with the information list
The matched extended field data and the information list are packaged into object by extended field data;
Containing the required parameter being filtered in the request condition of the service request, according to the required parameter, to described right
As being filtered.
6. a kind of processing unit of service request, which is characterized in that described device includes:
Receiving unit receives the service request of client package request condition;
Configuration unit is packaged the corresponding information list of service request, filters;
Service Processing Unit, according to filtering as a result, handling the service request.
7. device as claimed in claim 6, which is characterized in that it is described the corresponding information list of service request is packaged,
Filtering, specifically includes:
Obtain the corresponding information list of the service request;
Extended field data and the information list are packaged into object, are filtered to the object, wherein the extended field
Data are the extended field data of class of service belonging to the service request.
8. device as claimed in claim 7, which is characterized in that the extended field data include:
The basic general character and individual needs of class of service belonging to the service request, wherein the individual needs are the industry
The essential attribute for classification of being engaged in and the filtering rule of the class of service.
9. device as claimed in claims 6 or 7, which is characterized in that it is characterized in that, the extended field data, specific to wrap
It includes:
Using information such as data type, input checking, enumeration definition, appearance form and application identities as the base of the class of service
Plinth general character, using information such as the data mode of the class of service, validity period, title and materials as the basic of the class of service
Attribute, using information such as the white list of the class of service, channel, software versions as the filtering rule of the class of service, structure
At extended field data.
10. device as claimed in claim 7, which is characterized in that described to obtain the corresponding information list of the service request, tool
Body includes:
Contain unique encodings in request condition included by the service request, according to the unique encodings, obtains the business
Request corresponding information list.
11. device as claimed in claim 7, which is characterized in that it is characterized in that, the extended field data and the information
List is packaged into object, is filtered, specifically includes to the object:
The corresponding extended field data of each information in the information list are traversed, are obtained matched with the information list
The matched extended field data and the information list are packaged into object by extended field data;
Containing the required parameter being filtered in the request condition of the service request, according to the required parameter, to described right
As being filtered.
12. a kind of electronic equipment, comprising:
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
Manage device execute so that at least one described processor can:
Receive the service request of client package request condition;
Obtain the corresponding information list of the service request;
After extended field data and information list encapsulation, carried out according to the filtering rule that the extended field data are included
Filtering, wherein the extended field data are the extended field data of class of service belonging to the service request;
According to filtering as a result, handling the service request.
13. a kind of computer readable storage medium, for storing program, which is characterized in that described program is performed, and realizes power
Benefit require 1 to 5 described in service request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811544581.XA CN109739474B (en) | 2018-12-17 | 2018-12-17 | Service request processing method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811544581.XA CN109739474B (en) | 2018-12-17 | 2018-12-17 | Service request processing method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109739474A true CN109739474A (en) | 2019-05-10 |
CN109739474B CN109739474B (en) | 2022-05-10 |
Family
ID=66360326
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811544581.XA Active CN109739474B (en) | 2018-12-17 | 2018-12-17 | Service request processing method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109739474B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110430439A (en) * | 2019-07-30 | 2019-11-08 | 北京达佳互联信息技术有限公司 | Manage method and device, server and the storage medium in Media Stream room |
CN110489657A (en) * | 2019-07-05 | 2019-11-22 | 五八有限公司 | A kind of information filtering method, device, terminal device and storage medium |
CN113392093A (en) * | 2021-07-09 | 2021-09-14 | 中国建设银行股份有限公司 | Service processing method and device, electronic equipment and computer readable medium |
CN113810499A (en) * | 2021-09-18 | 2021-12-17 | 中国工商银行股份有限公司 | Distributed system service processing method, server and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150205699A1 (en) * | 2008-09-30 | 2015-07-23 | Interactive TKO, Inc | Service modeling and virtualization |
CN105653528A (en) * | 2014-11-11 | 2016-06-08 | 金蝶软件(中国)有限公司 | Business filed multi-modal display method and device |
CN105740259A (en) * | 2014-12-09 | 2016-07-06 | 阿里巴巴集团控股有限公司 | Method and device for processing incremental data |
CN107819827A (en) * | 2017-10-16 | 2018-03-20 | 阔视(北京)科技有限公司 | Put-on method, the apparatus and system of advertisement |
-
2018
- 2018-12-17 CN CN201811544581.XA patent/CN109739474B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150205699A1 (en) * | 2008-09-30 | 2015-07-23 | Interactive TKO, Inc | Service modeling and virtualization |
CN105653528A (en) * | 2014-11-11 | 2016-06-08 | 金蝶软件(中国)有限公司 | Business filed multi-modal display method and device |
CN105740259A (en) * | 2014-12-09 | 2016-07-06 | 阿里巴巴集团控股有限公司 | Method and device for processing incremental data |
CN107819827A (en) * | 2017-10-16 | 2018-03-20 | 阔视(北京)科技有限公司 | Put-on method, the apparatus and system of advertisement |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110489657A (en) * | 2019-07-05 | 2019-11-22 | 五八有限公司 | A kind of information filtering method, device, terminal device and storage medium |
CN110489657B (en) * | 2019-07-05 | 2022-08-26 | 五八有限公司 | Information filtering method and device, terminal equipment and storage medium |
CN110430439A (en) * | 2019-07-30 | 2019-11-08 | 北京达佳互联信息技术有限公司 | Manage method and device, server and the storage medium in Media Stream room |
CN113392093A (en) * | 2021-07-09 | 2021-09-14 | 中国建设银行股份有限公司 | Service processing method and device, electronic equipment and computer readable medium |
CN113810499A (en) * | 2021-09-18 | 2021-12-17 | 中国工商银行股份有限公司 | Distributed system service processing method, server and system |
CN113810499B (en) * | 2021-09-18 | 2022-10-21 | 中国工商银行股份有限公司 | Distributed system service processing method, server and system |
Also Published As
Publication number | Publication date |
---|---|
CN109739474B (en) | 2022-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109739474A (en) | A kind of processing method of service request, device, equipment and medium | |
CN107957831B (en) | Data processing method, device and processing equipment for displaying interface content | |
TW201821966A (en) | Information presentation method and apparatus | |
CN111782300B (en) | Data processing method, device, equipment and system | |
CN107644286A (en) | Workflow processing method and device | |
CN109597661A (en) | A kind of service function configuration method and device | |
CN110134668A (en) | Data migration method, device and equipment applied to block chain | |
CN107679700A (en) | Business flow processing method, apparatus and server | |
CN108282518A (en) | A kind of customer terminal webpage generation method and device | |
CN108549562A (en) | A kind of method and device of image load | |
CN109214193B (en) | Data encryption and machine learning model training method and device and electronic equipment | |
CN109241026A (en) | The method, apparatus and system of data management | |
CN108268289A (en) | Method for parameter configuration, the apparatus and system of web applications | |
CN107092475A (en) | The call method and device of a kind of interactive controls | |
CN107133502B (en) | A kind of processing method and processing device of application program | |
CN109947643B (en) | A/B test-based experimental scheme configuration method, device and equipment | |
CN109271587A (en) | A kind of page generation method and device | |
CN107463422A (en) | Code dispositions method and device, electronic equipment | |
CN108614693A (en) | It is a kind of for the processing method of page assembly, device and equipment | |
CN109325508A (en) | The representation of knowledge, machine learning model training, prediction technique, device and electronic equipment | |
CN109241749A (en) | Data encryption, machine learning model training method, device and electronic equipment | |
CN108491468A (en) | A kind of document processing method, device and server | |
CN108320071A (en) | A kind of Operational Risk management method, apparatus and equipment | |
CN109597678A (en) | Task processing method and device | |
CN111158650B (en) | Report template and report generation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
EE01 | Entry into force of recordation of patent licensing contract | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20190510 Assignee: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd. Assignor: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd. Contract record no.: X2021440000031 Denomination of invention: The invention relates to a service request processing method, a device, a device and a medium License type: Common License Record date: 20210125 |
|
GR01 | Patent grant | ||
GR01 | Patent grant |