CN108960612A - Method for processing business and business processing micro services - Google Patents

Method for processing business and business processing micro services Download PDF

Info

Publication number
CN108960612A
CN108960612A CN201810681468.XA CN201810681468A CN108960612A CN 108960612 A CN108960612 A CN 108960612A CN 201810681468 A CN201810681468 A CN 201810681468A CN 108960612 A CN108960612 A CN 108960612A
Authority
CN
China
Prior art keywords
inventory
information
user
business
reservation
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
Application number
CN201810681468.XA
Other languages
Chinese (zh)
Other versions
CN108960612B (en
Inventor
尚振平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taikang Insurance Group Co Ltd
Original Assignee
Taikang Insurance Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Taikang Insurance Group Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN201810681468.XA priority Critical patent/CN108960612B/en
Publication of CN108960612A publication Critical patent/CN108960612A/en
Application granted granted Critical
Publication of CN108960612B publication Critical patent/CN108960612B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure provides a kind of method for processing business and device.Method for processing business includes: to obtain multiple reservation inventories, generates the first inventory according to the multiple reservation inventory, first inventory records the multiple row number information for subscribing inventory;Correspond to the multiple field feedback for subscribing inventory according to the row number acquisition of information, the field feedback is recorded in the second inventory;It is obtained according to the field feedback and corresponds to the multiple user's assessment information for subscribing inventory, the user is recorded in third inventory and assesses information;Determined whether to generate order to the reservation inventory according to first inventory, second inventory, the third inventory, if so, generating order according to second inventory.The method for processing business that the disclosure provides can externally provide unified business processing entrance, internally provide complete service tracks record, and be easily modified.

Description

Method for processing business and business processing micro services
Technical field
This disclosure relates to which field of computer technology, is realized by micro services in particular to one kind, passes through single service Identification code carries out servicing associated method for processing business and device.
Background technique
With the development of network technology, more and more operation flows are handled by network, such as flourishing in recent years The endowment community row number of development selects room business.
In the related art, house system is selected to select room business to handle the row number often through endowment community row number.? Endowment community row number selects in house system, and multiple sub-processes are provided with multiple external interfaces to receive user's input, information change etc. Message, and each business subflow journey is both needed to record the information such as user information, related service sub-process processing result, once some is believed Breath changes, then the information recorded to craft to each business subflow journey is needed to modify.Interface is numerous, information is difficult more Newly, network processes row number is made to select room business that there is certain inconvenience.
Single face is capable of providing, convenient for information update and with the business processing solution of more preferable framework therefore, it is necessary to a kind of Certainly scheme.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The disclosure is designed to provide a kind of method for processing business and business processing device, at least to a certain degree On overcome the limitation and defect due to the relevant technologies and lead to problems such as system maintenance low efficiency, business processing flow complicated.
According to the first aspect of the embodiments of the present disclosure, a kind of method for processing business is provided, comprising: obtain multiple subscribe clearly It is single, the first inventory is generated according to the multiple reservation inventory, first inventory records the multiple row number letter for subscribing inventory Breath;Correspond to the multiple field feedback for subscribing inventory according to the row number acquisition of information, is recorded in the second inventory The field feedback;It is obtained according to the field feedback and corresponds to the multiple user's assessment letter for subscribing inventory Breath records the user in third inventory and assesses information;It is clear according to first inventory, second inventory, the third Singly determine whether to generate order to the reservation inventory, if so, generating order according to second inventory.
Optionally, described to include: according to the multiple reservation inventory the first inventory of generation
The addition and deletion of real-time update reservation inventory;
It is that the reservation inventory generates row number according to each lower single time for subscribing inventory;
The corresponding relationship of each order number for subscribing inventory and the row number is recorded in first inventory.
It is optionally, described that the multiple field feedback for subscribing inventory is corresponded to according to the row number acquisition of information, The field feedback is recorded in the second inventory includes:
The corresponding user identifier of the reservation inventory is sequentially obtained according to the row number information;
The field feedback is obtained according to the user identifier;
The user identifier and the field feedback are recorded by the row number information in second inventory.
Optionally, further includes:
It responds feedback information and modifies message, update the field feedback in second inventory.
Optionally, the method for processing business is realized in the form of micro services.
Optionally, before obtaining the multiple reservation inventory, comprising:
User login information is obtained, obtains the user information of default type from server according to the user login information;
When the user information meets registration conditions, the reservation inventory that the user sends is obtained.
According to the second aspect of an embodiment of the present disclosure, a kind of business processing device is provided, comprising:
Row number information generating module, is set as obtaining multiple reservation inventories, generates first according to the multiple reservation inventory Inventory, first inventory record the multiple row number information for subscribing inventory;
Feedback information obtains module, is set as corresponding to the multiple use for subscribing inventory according to the row number acquisition of information Family feedback information records the field feedback in the second inventory;
Data obtaining module is assessed, is set as being obtained according to the field feedback corresponding to the multiple reservation inventory User assess information, the user is recorded in third inventory and assesses information;
Order generation module is set as being determined whether according to first inventory, second inventory, the third inventory Order is generated to the reservation inventory, if so, generating order according to second inventory.
Optionally, the business processing device is realized by micro services form.
According to the third aspect of the disclosure, a kind of electronic equipment is provided, comprising: memory;And it is coupled to affiliated storage The processor of device, the processor is configured to the instruction based on storage in the memory, executes such as above-mentioned any one The method.
According to the fourth aspect of the disclosure, a kind of computer readable storage medium is provided, program is stored thereon with, the program The method for processing business as described in above-mentioned any one is realized when being executed by processor.
The method for processing business that the disclosure provides, by the way that in different inventories, inventory is to arrange in numerical order by different maintenances of information Core is associated with entire operation flow, externally provides unified data access interface, internally provides convenient for service tracks, data The data management scheme of modification provides the platform of a unified operation, maintenance, management to business personnel.By using micro- This method is realized in service, is optimized system structure, is reduced maintenance cost, improves the efficiency of operation of service process platform.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 schematically shows the flow chart of method for processing business in disclosure exemplary embodiment.
Fig. 2 schematically shows the sub-process figure of method for processing business in disclosure exemplary embodiment.
Fig. 3 schematically shows the sub-process figure of method for processing business in disclosure exemplary embodiment.
Fig. 4 schematically shows the sub-process figure of method for processing business in disclosure exemplary embodiment.
Fig. 5 schematically shows the schematic diagram of micro services framework in disclosure exemplary embodiment.
Fig. 6 schematically shows the schematic diagram that management is logged in disclosure exemplary embodiment.
Fig. 7 schematically shows a kind of block diagram of business processing device in one exemplary embodiment of the disclosure.
Fig. 8 schematically shows the block diagram of a kind of electronic equipment in one exemplary embodiment of the disclosure.
Fig. 9 schematically shows the schematic diagram of readable storage medium storing program for executing in one exemplary embodiment of the disclosure.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.In the following description, it provides perhaps More details fully understand embodiment of the present disclosure to provide.It will be appreciated, however, by one skilled in the art that can It is omitted with technical solution of the disclosure one or more in the specific detail, or others side can be used Method, constituent element, device, step etc..In other cases, be not shown in detail or describe known solution to avoid a presumptuous guest usurps the role of the host and So that all aspects of this disclosure thicken.
In addition, attached drawing is only the schematic illustrations of the disclosure, identical appended drawing reference indicates same or similar portion in figure Point, thus repetition thereof will be omitted.Some block diagrams shown in the drawings are functional entitys, not necessarily necessary and object The entity managed or be logically independent is corresponding.These functional entitys can be realized using software form, or in one or more These functional entitys are realized in hardware module or integrated circuit, or in heterogeneous networks and/or processor device and/or microcontroller These functional entitys are realized in device.
Disclosure example embodiment is described in detail with reference to the accompanying drawing.
Fig. 1 schematically shows the flow chart of method for processing business in disclosure exemplary embodiment.With reference to Fig. 1, at business Reason method 100 may include:
Step S102 obtains multiple reservation inventories, generates the first inventory according to the multiple reservation inventory, described first is clear The multiple row number information for subscribing inventory of unirecord;
Step S104 corresponds to the multiple field feedback for subscribing inventory according to the row number acquisition of information, The field feedback is recorded in second inventory;
Step S106 is obtained according to the field feedback and is corresponded to the multiple user's assessment letter for subscribing inventory Breath records the user in third inventory and assesses information;
Step S108 determines whether according to first inventory, second inventory, the third inventory to the reservation Inventory generates order, if so, generating order according to second inventory.
The method for processing business that the disclosure provides, by the way that in different inventories, inventory is to arrange in numerical order by different maintenances of information Core is associated with entire operation flow, externally provides unified data access interface, internally provides convenient for service tracks, data The data management scheme of modification provides the platform of a unified operation, maintenance, management to business personnel.
In the following, each step to method for processing business 100 is described in detail.
In step S102, obtain multiple reservation inventories, according to the multiple reservation inventory generate the first inventory, described first Inventory records the multiple row number information for subscribing inventory.
Fig. 2 is the sub-process figure of step S102.With reference to Fig. 2, in some embodiments of the present disclosure, step S102 be can wrap It includes:
Step S1022, real-time update subscribe the addition and deletion of inventory.
Step S1024 is that the reservation inventory generates row number according to each lower single time for subscribing inventory.
Step S1026 records pair of each order number for subscribing inventory and the row number in first inventory It should be related to.
The method that the embodiment of the present disclosure provides for example can be applied to endowment community row number and select room.Predetermined inventory can recorde The registration information of user.Registration information refers to the information that intention product is selected by website.It can be the registration of each user account Information generate a predetermined inventory, which may include predetermined information of multiple users to multiple rooms, only these Information is sent to transaction processing system by once placing an order, and therefore, system can be multiple by obtaining multiple predetermined inventories acquisitions The registration information of user account, and row number is generated according to lower single time of predetermined inventory.In the embodiments of the present disclosure, a row number A predetermined inventory is only corresponded to, regardless of the reservation inventory is related to how many people and how many reservation targets.
It can constantly be connected to reservation order when due to open system, will can generate row in real time for new reservation order Number, and the corresponding relationship of row number and the order number of predetermined inventory is recorded in the first inventory.
Table 1 is the example of the first inventory.
Table 1
Field name Description Field type Whether major key Non-empty
id Row number char(36) TRUE TRUE
list_id Arrange in numerical order inventory ID char(36) FALSE TRUE
status_id Processing status id int FALSE FALSE
sn Serial number int FALSE TRUE
customer_id User id char(36) FALSE TRUE
customer_name Address name varchar(100) FALSE TRUE
customer_class Class of subscriber varchar(10) FALSE TRUE
book_id Subscribe id char(36) FALSE TRUE
book_time Ticket reserving time date FALSE TRUE
sales_uid Sales manager id varchar(50) FALSE TRUE
sales_name Sales manager's name varchar(100) FALSE TRUE
create_by_time Creation time datetime FALSE TRUE
update_by_time Renewal time datetime FALSE TRUE
is_active Whether effectively bool FALSE FALSE
In the example of table 1, the first inventory describes the multiple information for subscribing inventory, but not including that subscribing ordering for inventory Single details.
In the related art, often multiple subscription informations for subscribing inventory are maintained in a tables of data.Due to data Table often has fixed format, when information is more complex, it is difficult to realize flexible modification.Therefore, in the embodiments of the present disclosure, Different types of information is recorded in different tables of data, by arranging in numerical order, information is associated, to realize to complex data kind The flexible maintenance of class.
Step S104 corresponds to the multiple field feedback for subscribing inventory according to the row number acquisition of information, The field feedback is recorded in second inventory.
Fig. 3 is the sub-process figure of step S104.With reference to Fig. 3, in some embodiments of the present disclosure, step S104 be can wrap It includes:
Step S1042 sequentially obtains the corresponding user identifier of the reservation inventory according to the row number information;
Step S1044 obtains the field feedback according to the user identifier;
Step S1046 records the user identifier and the user by the row number information in second inventory Feedback information.
After the order number of arrange in numerical order information and reservation inventory is charged to the first inventory, the content for subscribing inventory can be read, The order details such as the reservation target being directed to, predetermined people and other subscription informations are recorded in the second inventory by row number, The same content for subscribing inventory is corresponding with the row number of inventory is subscribed.
Next, obtaining one or more user identifiers in predetermined inventory content by row number sequence, identified according to user Symbol obtains field feedback.Field feedback for example may include whether cancel a reservation, whether adjust subscribe target, whether Adjust reservation number etc..After getting field feedback, the second inventory can be updated.Since the second inventory only records order Details and field feedback, format fixation are not influenced by business processing flow, therefore even if the order for subscribing inventory is detailed Feelings are varied widely, and are also only influenced the increasing contracting of the second inventory, are not needed adjustment other information.
The feedback information of user can be manually recorded in the preset address of database by business personnel, obtain user feedback Address need to be only read when information.In some other embodiment, field feedback, this public affairs can also be read by other means It opens and is not limited.
In addition to actively obtaining feedback information at preset timed intervals after generating row number information and updating the second inventory, some In embodiment, further includes response feedback information modification message, update the field feedback in second inventory.It can be with Setting information updates monitoring in the database of storage field feedback, to occur in field feedback, that is, order detail Operation system is notified when variation in time, operation system is allow to adjust the second inventory in time according to newest field feedback, Reduce cost of labor.
Table 2 is the example of field feedback record sheet;Table 3 is the example of the second inventory.
Table 2
Table 3
Field name Description Field type Whether major key Non-empty
id Arrange in numerical order inventory ID char(36) TRUE TRUE
is_active Whether effectively bool FALSE TRUE
community_code Community's coding char(36) FALSE TRUE
name Active stage varchar(20) FALSE TRUE
queue_type Row number mode varchar(32) FALSE TRUE
room_count Room quantity numeric(8,0) FALSE FALSE
description Remarks varchar(200) FALSE FALSE
create_by_time Creation time datetime FALSE TRUE
create_by_uid Founder varchar(50) FALSE TRUE
update_by_time Renewal time datetime FALSE TRUE
update_by_uid More new person varchar(50) FALSE TRUE
Step S106 is obtained according to the field feedback and is corresponded to the multiple user's assessment letter for subscribing inventory Breath records the user in third inventory and assesses information.
It after obtaining field feedback, can determine whether user cancels a reservation according to field feedback, not cancel such as, The user identifier that the second inventory record can be read obtains user according to user identifier and assesses information.
In some embodiments, after user feedback is moved in, assessment task, the assessment task can be sent to assessment system It may include Physical evaluation and the economic evaluation etc. of user.Assessing data can be by business personnel's hand filling, can also be by being System confirms whether the user passes through assessment further according to preset rules according to the user information Auto-writing recorded.
User can be obtained by predetermined period and assess information, to be recorded in assessment result when getting assessment result In third inventory.In some embodiments, it is also possible to which assessment result is returned to business system by message queue by assessment system System, so that operation system is found the corresponding row number letter of the user by the user identifier in each assessment result in the second inventory Breath records assessment result in third inventory further according to row number information.
Table 4 is the signal of economic evaluation table;Table 5 is the signal of Physical evaluation table.
Table 4
Field name Description Field type Whether major key Non-empty
id Assess id char(36) TRUE TRUE
fc_id Move in feedback user id char(36) FALSE FALSE
result Assessment result varchar(32) FALSE FALSE
est_ime Assess the time datetime FALSE FALSE
est_user_name Evaluator name varchar(100) FALSE FALSE
est_user_id Evaluator work number varchar(100) FALSE FALSE
income_salary Wage income varchar(50) FALSE FALSE
income_real_estate House property income varchar(50) FALSE FALSE
income_none_real_estate Non- house property class income varchar(50) FALSE FALSE
income_other Miscellaneous receipt varchar(50) FALSE FALSE
description Remarks varchar(500) FALSE FALSE
create_by_time Creation time datetime FALSE TRUE
create_by_uid Founder varchar(50) FALSE TRUE
update_by_time Renewal time datetime FALSE TRUE
update_by_uid More new person varchar(50) FALSE TRUE
Table 5
Step S108 determines whether according to first inventory, second inventory, the third inventory to the reservation Inventory generates order, if so, generating order according to second inventory.
After getting assessment result, third inventory can be read, it is true according to unified corresponding multiple assessment results of arranging in numerical order Whether the fixed corresponding reservation inventory of the row number passes through assessment.If so, into order product process.
The newest order detail that can be recorded according to the second inventory generates order.For example, can be true according to the second inventory The corresponding alternative room of the row number information is recognized, after user selects room, according to the type of user, the discount coupon possessed And the price in all kinds of rooms determines order price.
Further, it is also possible to generate the order user detail record of equivalent according to a corresponding number of users of information of arranging in numerical order.
During determining order price, single visitor can be determined according to the payout status of the corresponding multiple users of the order Price.If there is the scenes such as preferential are paid, the information such as discount coupon can also be sent to financial system for its confirmation, confirmed When information is effective, order price is adjusted according to the payment favor information.
Table 6 is the signal of order;Table 7 is the signal of order favor information;Table 8 is the signal of order commodity;Table 9 is order The signal of user's detail;Table 10 is the signal of order detail.
6 order of table
7 order of table is preferential
Field name Description Field type Whether major key Non-empty
coupon_id Preferential id int TRUE TRUE
charge_id Order charge id int FALSE FALSE
order_customer_id Order user id int FALSE FALSE
customer_id User id varchar(36) FALSE TRUE
standard_price_id The preferential id of commodity varchar(36) FALSE FALSE
coupon_price Favourable price decimal(12,2) FALSE TRUE
create_by_uid Founder varchar(50) FALSE TRUE
create_by_time Creation time datetime FALSE TRUE
8 order commodity of table
Field name Description Field type Whether major key Non-empty
charge_id Order charge id int TRUE TRUE
order_customer_id Order user id int FALSE FALSE
standard_price_id Mark the price id varchar(36) FALSE FALSE
customer_id User id varchar(36) FALSE TRUE
product_id Commodity id varchar(36) FALSE TRUE
product_class Merchandise classification varchar(20) FALSE TRUE
product_name Product name varchar(100) FALSE TRUE
standard_price Standard price decimal(12,2) FALSE TRUE
adjust_money Adjust the amount of money decimal(12,2) FALSE TRUE
paid_money The paid amount of money decimal(12,2) FALSE TRUE
discount_money The preferential amount of money decimal(12,2) FALSE FALSE
create_by_uid Founder varchar(50) FALSE TRUE
create_by_time Creation time datetime FALSE TRUE
9 order user detail of table
Field name Description Field type Whether major key Non-empty
order_customer_id Order user id int TRUE TRUE
detail_id Order detail id char(36) FALSE TRUE
customer_id User id varchar(36) FALSE TRUE
customer_name Address name varchar(100) FALSE TRUE
sex Gender varchar(10) FALSE FALSE
customer_class Class of subscriber varchar(10) FALSE FALSE
nursing_class Nursing grades varchar(32) FALSE FALSE
relation_name Relationship varchar(20) FALSE FALSE
create_by_time Creation time datetime FALSE TRUE
create_by_uid Founder varchar(50) FALSE TRUE
10 order detail of table
It, can also will be at business for convenience of being docked with external system in step S102~step S108 implementation procedure Scheduled maintenance is managed in a state table.Since the first inventory, the second inventory, third inventory are associated according to row number information, State table can also be associated with these tables as major key to arrange in numerical order information, to facilitate business process monitoring and observation.
Table 11 is the signal of state table, the meaning of numerical value in 12 record sheet 11 of table.
Table 11
Field name Description Field type Whether major key Non-empty
id Row number state id int TRUE TRUE
status_name State name varchar(50) FALSE TRUE
view_name Status display name varchar(50) FALSE TRUE
ops State respective operations varchar(200) FALSE FALSE
next_op_name Corresponding subsequent name to be operated varchar(50) FALSE FALSE
Table 12
State id State name Status display name Respective operations To operation indicating
7 Room is selected to complete Room is selected Terminate
6 Select room pending Room is selected It is pending
5 Assessment does not pass through It has assessed Assessment confirmation It is to be assessed
4 Assessment passes through It has assessed Select room Room to be selected
3 Feedback is not moved in It has fed back Move in feedback It is to be feedback
2 Feedback is moved in It has fed back Move in feedback, assessment confirmation It is to be assessed
1 It does not feed back It does not feed back Move in feedback It is to be feedback
Optionally, the method for processing business is realized in the form of micro services.
Fig. 4 is a kind of sub-process figure of exemplary embodiment of the disclosure.With reference to Fig. 4, when method for processing business is with micro services When form is realized, in some embodiments of the present disclosure, before obtaining the information for intention that user sends, comprising:
Step S402 obtains user login information, obtains default type from server according to the user login information User information;
Step S404 obtains the reservation inventory that the user sends when the user information meets registration conditions.
Micro services are a kind of emerging software architectures, one large-scale application program/service can be split as multiple auxiliary Micro services.Micro services strategy can allow work to become more easy, its expansible single component rather than entire application program Storehouse, to meet service-level agreement.
In the embodiments of the present disclosure, the above business processing flow is realized using micro services framework.By by Web layers and field Layer separation makes field layer that can service more business scene, and Web layers can be more convenient synthesis using other basic micro services, such as Customer center, customer center, permission center, master data, manage the business datum of multi-source concentratedly, externally provide unified business Entrance.
Fig. 5 is the schematic diagram of micro services framework in the embodiment of the present disclosure.
With reference to Fig. 6, community's micro services of supporting parents can be mainly divided into 3 layers, sequentially consist of integrated platform industry service, Application service and application front end, wherein integrated platform service is divided into infrastructure service, data center and support public service 3 again Point;System provides interface service since the integrated platform industry service of bottommost upwards in layer;Wherein the disclosure provides Business processing micro services belong to application front end service, page front end passes through unified login system and accesses background service.
The business processing micro services that the disclosure provides can be developed using Spring Cloud frame, be used In Spring Cloud frame with lower component: Eureka, Ribbon and Hystrix, the relevant spring- of springboot Boot-devtools heat deployment.
Eureka is made of two components of Eureka Server and Eureka Client.Eureka Server is service Registrar, Eureka Client are Java user terminal, for the simplified interaction with server, as poll load balancing Device, and the failover for providing service is supported.
Due to each having differences property of business micro services and complexity, in the embodiments of the present disclosure, by the way that Eureka is arranged Distributed login management module is arranged in user terminal, and unified logentry can be provided for user, to simplify user with after The docking of platform system (user information center, rights management center).
Fig. 6 is the schematic diagram that management is logged in the embodiment of the present disclosure.
With reference to Fig. 6, after Eureka user terminal gets user login information, the customer center of accessible server, Obtain the user information of default type.Server can store full dose user information and call for logging in manager.Log in manager The micro services needs are obtained from server further according to the difference of micro services type firstly the need of the micro services for judging that user logs in User information.Following access authority center carries out login authentication according to user's information, is tested in user by logging in After card, the user information of default type is sent to the micro services of user's login by modes such as jar packets, is directly read for it.
By the way that unified login management module is arranged for multiple micro services, it can permit that each micro services are customized to meet business The registration conditions of demand are unified for making by oneself for each micro services offer various components realization login management using management module is logged in Justice improves the business processing efficiency of each micro services, mitigates the letter of user so that the data read time of each micro services be effectively reduced Breath provides burden, makes user's user experience with simple flow when logging in a variety of micro services.
Ribbon is mainly used for providing the software load equalization algorithm of user side, provides load balancing for each server.It is logical Setting load-balancing mechanism is crossed, system treatment effeciency can be improved when unified ingress for service pours in a large number of services data.
Hystrix is that one kind can fuse (turning on the switch) automatically when remote service is unavailable, and extensive in remote service Automatically restore the fuse of (closure switch) when multiple.By the way that fuse is arranged, can prevent cascading failure in distributed system, Quickly failure provides the monitoring, early warning and operation control ability of near real-time with fast quick-recovery, for service.
Spring-boot-devtools is heat deployment module, can automatically be updated the change of application code to newest Application program, to improve code update efficiency.
After micro services framework, when users log on, the static file of preservation user access, acquisition log in mouth first It enables, entry password is transmitted to the micro services of user's login by modes such as url.All pages of the micro services, which uniformly pass through, to be stepped on Record password calls user information and custom menu list, confirmation user right, verification interface data to determine whether to use Family logs in.
Row number selects room to extract Message Processing and Timing Processing as an independent project, message sink is sent, the tool of timing Body is realized and business decoupling: row number selects room to interact with message, periodically by http rest, realizes load balancing using ribbon It calls;Message entries do routing mapping table by message event code, calling path, can support the integrated of other business;
In conclusion using micro services framework can according to field modeling, establish multiple fields sharpness of border, high cohesion, Lower coupling and the functional module for being convenient for quickly modification and iteration.Simultaneously as service, convenient for multiplexing, micro services framework can be convenient Ground is supported different using form, no longer need complicated data synchronous, and easy to removeization while improves the reliable of system Property, reduce the workload of exploitation and system maintenance, is convenient for data fusion and business integration.
Corresponding to above method embodiment, the disclosure also provides a kind of business processing device, can be used for executing above-mentioned side Method embodiment.
Fig. 7 schematically shows a kind of block diagram of business processing device in one exemplary embodiment of the disclosure.
With reference to Fig. 7, business processing device 700 may include:
It arranges in numerical order information generating module 702, is set as obtaining multiple reservation inventories, according to the multiple reservations inventory generation the One inventory, first inventory record the multiple row number information for subscribing inventory;
Feedback information obtains module 707, is set as corresponding to the multiple reservation inventory according to the row number acquisition of information Field feedback, the field feedback is recorded in the second inventory;
Data obtaining module 706 is assessed, is set as being obtained according to the field feedback corresponding to the multiple reservation The user of inventory assesses information, and the user is recorded in third inventory and assesses information;
Order generation module 708 is set as being determined according to first inventory, second inventory, the third inventory Whether order is generated to the reservation inventory, if so, generating order according to second inventory.
Optionally, row number information generating module 702 includes:
Information updating unit 7022 is set as addition and deletion that real-time update subscribes inventory;
Row number generation unit 7027 is set as according to each lower single time for subscribing inventory being that the reservation inventory is raw At row number;
Information recording unit 7026, be set as recording in first inventory each order number for subscribing inventory with The corresponding relationship of the row number.
Optionally, feedback information acquisition module 707 includes:
User's confirmation unit 7072 is set as sequentially obtaining the corresponding user of the reservation inventory according to the row number information Identifier;
Acquiring unit 7077 is fed back, is set as obtaining the field feedback according to the user identifier;
Feedback record unit 7076 is set as in second inventory recording user's identification by the row number information Symbol and the field feedback.
Optionally, feedback information obtains module 707 further include:
Updating unit 7078 is fed back, response feedback information modification message is set as, in second inventory described in update Field feedback.
Optionally, business processing device is realized in the form of micro services.
Optionally, can also include:
Management module 710 is logged in, is set as obtaining user login information, be obtained according to the user login information from server Take the user information of default type;When the user information meets registration conditions, the reservation inventory that the user sends is obtained.
Since each function of device 700 has been described in detail in its corresponding embodiment of the method, the disclosure in this not It repeats again.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
In an exemplary embodiment of the disclosure, a kind of electronic equipment that can be realized the above method is additionally provided.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 800 of this embodiment according to the present invention is described referring to Fig. 8.The electronics that Fig. 8 is shown Equipment 800 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 8, electronic equipment 800 is showed in the form of universal computing device.The component of electronic equipment 800 can wrap It includes but is not limited to: at least one above-mentioned processing unit 810, at least one above-mentioned storage unit 820, the different system components of connection The bus 830 of (including storage unit 820 and processing unit 810).
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 810 Row, so that various according to the present invention described in the execution of the processing unit 810 above-mentioned " illustrative methods " part of this specification The step of illustrative embodiments.For example, the processing unit 810 can execute step S102 as shown in fig. 1: obtaining more A reservation inventory generates the first inventory according to the multiple reservation inventory, and first inventory records the multiple reservation inventory Row number information;Step S104: corresponding to the multiple field feedback for subscribing inventory according to the row number acquisition of information, The field feedback is recorded in the second inventory;Step S106: it is obtained according to the field feedback described in corresponding to Multiple users for subscribing inventory assess information, and the user is recorded in third inventory and assesses information;Step S108: according to described First inventory, second inventory, the third inventory determine whether to the reservation inventory generate order, if so, according to Second inventory generates order.
Storage unit 820 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 8201 and/or cache memory unit 8202, it can further include read-only memory unit (ROM) 8203.
Storage unit 820 can also include program/utility with one group of (at least one) program module 8205 8204, such program module 8205 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 830 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 800 can also be with one or more external equipments 900 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 800 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 800 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 850.Also, electronic equipment 800 can be with By network adapter 860 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.As shown, network adapter 860 is communicated by bus 830 with other modules of electronic equipment 800. It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 800, including but not Be limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and Data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server, terminal installation or network equipment etc.) is executed according to disclosure embodiment Method.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, energy is stored thereon with Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also In the form of being embodied as a kind of program product comprising program code, when described program product is run on the terminal device, institute Program code is stated for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to this hair The step of bright various illustrative embodiments.
Refering to what is shown in Fig. 9, describing the program product for realizing the above method of embodiment according to the present invention 1000, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope of the disclosure and design are wanted by right It asks and points out.

Claims (10)

1. a kind of method for processing business characterized by comprising
Multiple reservation inventories are obtained, the first inventory are generated according to the multiple reservation inventory, first inventory records described more A row number information for subscribing inventory;
Correspond to the multiple field feedback for subscribing inventory according to the row number acquisition of information, is recorded in the second inventory The field feedback;
It is obtained according to the field feedback and corresponds to the multiple user's assessment information for subscribing inventory, in third inventory It records the user and assesses information;
Determined whether to generate order to the reservation inventory according to first inventory, second inventory, the third inventory, If so, generating order according to second inventory.
2. method for processing business as described in claim 1, which is characterized in that described to generate the according to the multiple reservation inventory One inventory includes:
The addition and deletion of real-time update reservation inventory;
It is that the reservation inventory generates row number according to each lower single time for subscribing inventory;
The corresponding relationship of each order number for subscribing inventory and the row number is recorded in first inventory.
3. method for processing business as described in claim 1, which is characterized in that described to be corresponded to according to the row number acquisition of information The multiple field feedback for subscribing inventory, the field feedback is recorded in the second inventory includes:
The corresponding user identifier of the reservation inventory is sequentially obtained according to the row number information;
The field feedback is obtained according to the user identifier;
The user identifier and the field feedback are recorded by the row number information in second inventory.
4. method for processing business as claimed in claim 3, which is characterized in that further include:
It responds feedback information and modifies message, update the field feedback in second inventory.
5. method for processing business as described in claim 1, which is characterized in that the method for processing business is real in the form of micro services It is existing.
6. method for processing business as claimed in claim 5, which is characterized in that before obtaining the multiple reservation inventory, packet It includes:
User login information is obtained, obtains the user information of default type from server according to the user login information;
When the user information meets registration conditions, the reservation inventory that the user sends is obtained.
7. a kind of business processing device characterized by comprising
Row number information generating module, is set as obtaining multiple reservation inventories, generates the first inventory according to the multiple reservation inventory, First inventory records the multiple row number information for subscribing inventory;
Feedback information obtains module, and the user for being set as corresponding to according to the row number acquisition of information the multiple reservation inventory is anti- Feedforward information records the field feedback in the second inventory;
Data obtaining module is assessed, is set as obtaining the use for corresponding to the multiple reservation inventory according to the field feedback Information is assessed at family, and the user is recorded in third inventory and assesses information;
Order generation module is set as being determined whether according to first inventory, second inventory, the third inventory to institute It states and subscribes inventory generation order, if so, generating order according to second inventory.
8. business processing device as claimed in claim 7, which is characterized in that the business processing device passes through micro services form It realizes.
9. a kind of electronic equipment characterized by comprising
Memory;And
The processor of memory belonging to being coupled to, the processor is configured to the instruction based on storage in the memory, Execute method for processing business as claimed in any one of claims 1 to 6.
10. a kind of computer readable storage medium, is stored thereon with program, realized when which is executed by processor as right is wanted Seek the described in any item method for processing business of 1-6.
CN201810681468.XA 2018-06-27 2018-06-27 Service processing method and service processing micro-service Active CN108960612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810681468.XA CN108960612B (en) 2018-06-27 2018-06-27 Service processing method and service processing micro-service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810681468.XA CN108960612B (en) 2018-06-27 2018-06-27 Service processing method and service processing micro-service

Publications (2)

Publication Number Publication Date
CN108960612A true CN108960612A (en) 2018-12-07
CN108960612B CN108960612B (en) 2022-12-06

Family

ID=64487453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810681468.XA Active CN108960612B (en) 2018-06-27 2018-06-27 Service processing method and service processing micro-service

Country Status (1)

Country Link
CN (1) CN108960612B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710446A (en) * 2018-12-28 2019-05-03 江苏满运软件科技有限公司 Pay calling process method of calibration, system, equipment and medium
CN109739665A (en) * 2019-01-04 2019-05-10 上海银赛计算机科技有限公司 Interface managerial method, device, server and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030036932A1 (en) * 2001-08-03 2003-02-20 Lin Kuang Shin Method of implementation suitable for detailed list shopping mode in B to B web site products
CN101089890A (en) * 2007-07-12 2007-12-19 中国工商银行股份有限公司 Loan accept system based on network and its loan accept terminal
US20140006257A1 (en) * 2012-06-28 2014-01-02 Martin Von Der Emde Consistent Interface for Payment Order, Payment Order Processing Statement and Product Valuation Data
CN106204266A (en) * 2016-07-06 2016-12-07 福建省中电网络商务投资有限公司 Halfpace is utilized to complete the method and system of house prosperity transaction loan
CN106371409A (en) * 2016-08-27 2017-02-01 绍兴兴明染整有限公司 Dyeing and finishing production line management system and management method
CN106780012A (en) * 2016-12-29 2017-05-31 深圳微众税银信息服务有限公司 A kind of internet credit methods and system
CN107346512A (en) * 2017-07-14 2017-11-14 深圳易嘉恩科技有限公司 System for tenant's accounting order charging
CN107622454A (en) * 2017-09-06 2018-01-23 国云科技股份有限公司 A kind of chance management method based on micro services

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030036932A1 (en) * 2001-08-03 2003-02-20 Lin Kuang Shin Method of implementation suitable for detailed list shopping mode in B to B web site products
CN101089890A (en) * 2007-07-12 2007-12-19 中国工商银行股份有限公司 Loan accept system based on network and its loan accept terminal
US20140006257A1 (en) * 2012-06-28 2014-01-02 Martin Von Der Emde Consistent Interface for Payment Order, Payment Order Processing Statement and Product Valuation Data
CN106204266A (en) * 2016-07-06 2016-12-07 福建省中电网络商务投资有限公司 Halfpace is utilized to complete the method and system of house prosperity transaction loan
CN106371409A (en) * 2016-08-27 2017-02-01 绍兴兴明染整有限公司 Dyeing and finishing production line management system and management method
CN106780012A (en) * 2016-12-29 2017-05-31 深圳微众税银信息服务有限公司 A kind of internet credit methods and system
CN107346512A (en) * 2017-07-14 2017-11-14 深圳易嘉恩科技有限公司 System for tenant's accounting order charging
CN107622454A (en) * 2017-09-06 2018-01-23 国云科技股份有限公司 A kind of chance management method based on micro services

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄中斌: "基于SWITCH接口协议的酒店预订系统的设计与实现", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710446A (en) * 2018-12-28 2019-05-03 江苏满运软件科技有限公司 Pay calling process method of calibration, system, equipment and medium
CN109739665A (en) * 2019-01-04 2019-05-10 上海银赛计算机科技有限公司 Interface managerial method, device, server and storage medium

Also Published As

Publication number Publication date
CN108960612B (en) 2022-12-06

Similar Documents

Publication Publication Date Title
CN104823189B (en) Frame is allocated for connect equipment
US10664794B2 (en) Object item distribution method and apparatus
CN105024865B (en) Cloud joint services
CN107977905A (en) Matching process, device, medium and the electronic equipment of demand for services
US11275793B2 (en) Device recommendations based on device interactions in network
CN109981619A (en) Data capture method, device, medium and electronic equipment
CN109284843A (en) Office space management method, device, medium and electronic equipment based on block chain
JP5743786B2 (en) Server apparatus, information processing method, and program
CN105144077A (en) Cloud services platform
CN110148034A (en) A kind of excellent device and method of online shopping system architecture
US20160034843A1 (en) Inventory and queue management
JP2013516719A (en) Syndication of multiple service instances
US20160248625A1 (en) Distributor private cloud management system and management method
CN110414208A (en) Login validation method, calculates equipment and medium at device
US20160300310A1 (en) System and method for efficient processing of tax preparation services by centralized and distributed tax resources
CN105917347B (en) Privacy settings metadata for application developer
CN102308289A (en) Communication controller and network system utilizing the same
CN104376452A (en) System and method for managing payment success rate on basis of international card payment channel
CN110471728A (en) Method and relevant apparatus based on user right display interface
CN108960612A (en) Method for processing business and business processing micro services
KR20150046805A (en) Apparatus and method for issuing in connection with coupon usage information
CN112346628A (en) Special shared resource certificate management method, system and electronic equipment
JP2015130000A (en) Inventory management supporting system, inventory management supporting apparatus, and inventory management supporting method
CN110852868A (en) Automatic auditing method and device, equipment and server
CN113724051B (en) Information processing method, device, system, equipment and storage medium

Legal Events

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