CN113538081A - Mall order system and processing method for realizing resource adaptive scheduling - Google Patents

Mall order system and processing method for realizing resource adaptive scheduling Download PDF

Info

Publication number
CN113538081A
CN113538081A CN202010317240.XA CN202010317240A CN113538081A CN 113538081 A CN113538081 A CN 113538081A CN 202010317240 A CN202010317240 A CN 202010317240A CN 113538081 A CN113538081 A CN 113538081A
Authority
CN
China
Prior art keywords
user
order
resource
service level
center
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
CN202010317240.XA
Other languages
Chinese (zh)
Other versions
CN113538081B (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.)
China Mobile Communications Group Co Ltd
China Mobile Shanghai ICT Co Ltd
CM Intelligent Mobility Network Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Shanghai ICT Co Ltd
CM Intelligent Mobility Network 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 China Mobile Communications Group Co Ltd, China Mobile Shanghai ICT Co Ltd, CM Intelligent Mobility Network Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010317240.XA priority Critical patent/CN113538081B/en
Publication of CN113538081A publication Critical patent/CN113538081A/en
Application granted granted Critical
Publication of CN113538081B publication Critical patent/CN113538081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention relates to a mall order system and a processing method for realizing resource self-adaptive scheduling thereof, wherein the processing method comprises the following steps: receiving an order creating request sent by a user, and acquiring user information according to the order creating request, wherein the user information comprises service level information of the user; acquiring the concurrent quantity of orders corresponding to the order types requested to be created by the user; judging whether the corresponding order module directly creates an order for the user according to the service level information of the user and the concurrency number; if not, adding the user to the user queue for queuing; acquiring a concurrent processing pressure coefficient of a current user queue, and acquiring bandwidth load and physical resource use conditions of each order module; the method can realize the self-adaptive dynamic allocation of resources by adjusting the allocation proportion of the bandwidth resources and the physical resources among the order modules according to the concurrent processing pressure coefficient and the bandwidth load and the physical resource use condition of each order module.

Description

Mall order system and processing method for realizing resource adaptive scheduling
Technical Field
The invention relates to the technical field of a mall system service capability gateway, in particular to a mall order system and a processing method for realizing resource self-adaptive scheduling.
Background
The traditional mall platform system is divided into a B2C (Business-to-Customer) mall, a B2B (Business-to-Business Customer) mall, a B2C (Business-to-Business to Customer, Business-to-Business end user) mall according to user types, and the corresponding mall order systems are also a B2C order module, a B2B order module and a B2C order module respectively. At present, when three order modules coexist, bandwidth resources of an external network of a mall system and hardware resources for bearing various business services are planned in advance according to businesses, and these basic resources cannot be optimized and allocated in a real-time self-adaptive manner according to sudden or local business fluctuation of each order module.
In the conventional mall system, regarding the use of bandwidth resources of each module of an order, two methods are mainly adopted, one is that each module of the whole system shares the whole bandwidth, and the other is that the whole bandwidth is pre-evaluated and allocated to different order modules according to a certain proportion, and the bandwidth resources among the modules cannot be dynamically shared or adaptively allocated, which can be specifically shown in fig. 1. For the management of server hardware resources, a mature and general technical scheme is a K8s containerized cloud platform service scheme or a general virtual machine technical scheme at present, but the occupation of computing capacity, memory capacity, storage capacity and the like by each order module unit (micro service or application program) of a mall system is also planned in advance, although the dynamic expansion of the hardware resources can be evaluated later, the self-adaptive dynamic allocation of the resources in the system operation process cannot be realized under a real-time condition, so as to meet the normal functions of the system when sudden service fluctuation occurs.
Disclosure of Invention
The embodiment of the invention provides a mall order system and a processing method for realizing resource self-adaptive scheduling of the mall order system, which are used for solving the problem that the resource self-adaptive dynamic scheduling in the system operation process cannot be realized under the real-time condition in the prior art.
In a first aspect, an embodiment of the present invention provides a processing method for implementing resource adaptive scheduling in a mall order system, including:
receiving an order creating request sent by a user, and acquiring user information according to the order creating request, wherein the user information comprises service level information of the user;
acquiring the concurrent quantity of orders corresponding to the order types requested to be created by the user;
judging whether a corresponding order module directly creates an order for the user according to the service level information of the user and the concurrency number;
if not, adding the user to a user queue for queuing;
acquiring a concurrent processing pressure coefficient of a current user queue, and acquiring bandwidth load and physical resource use conditions of each order module;
and adjusting the allocation proportion of the bandwidth resources and the physical resources among the order modules according to the concurrent processing pressure coefficient and the bandwidth load and the physical resource use condition of each order module.
Optionally, the determining whether the corresponding order module directly creates an order for the user according to the service level information of the user and the concurrency number includes:
determining the user level of the user according to the service level information of the user;
if the user level of the user is high level or the concurrency number is smaller than a first preset threshold value, determining that a corresponding order module directly creates an order for the user;
and if the user level of the user is a common level and the concurrency number is greater than or equal to the first preset threshold value, determining that the corresponding order module does not directly create an order for the user.
Optionally, if not, after adding the user to a user queue for queuing, the method includes:
and when the user reaches the head of the user queue, an order module corresponding to the service level information of the user creates an order for the user according to the order creating request and feeds back an order creating result to the user.
Optionally, adjusting the allocation ratio of the bandwidth resources and the physical resources between the order modules according to the concurrent processing pressure coefficient and the bandwidth load and the physical resource usage of each order module, including;
when the concurrent processing pressure coefficient reaches a second preset threshold value, a resource soft configuration center of the mall order system acquires bandwidth loads and physical resource use conditions of the order modules from a resource monitoring distribution management unit;
the resource soft configuration center formulates a resource reallocation strategy according to the concurrent processing pressure coefficient and the bandwidth load and the physical resource use condition of each order module;
the resource soft configuration center sends a resource configuration proportion modification command to the resource monitoring and allocation management unit;
and the resource detection allocation management unit redistributes the proportions of the bandwidth resources and the physical resources among the order modules according to the resource allocation proportion modification command.
Optionally, before receiving the order creation request sent by the user, the method further includes:
receiving the registration information of the user, and determining the service level information of the user according to the registration information of the user;
and feeding back a registration result of the user to the user, wherein the registration result comprises the service level information.
In a second aspect, an embodiment of the present invention provides a mall order system, where the system includes:
the user service level perception center is used for receiving an order creation request sent by a user, wherein the order creation request carries user information, the user information comprises the service level information of the user, the concurrent number of orders corresponding to the type of the order requested to be created by the user is obtained, whether a corresponding order module directly creates the order for the user is judged according to the service level information of the user and the concurrent number, and if not, the user is added to a user queue to be queued;
the system performance perception center is used for acquiring a concurrent processing pressure coefficient of a current user queue and sending the concurrent processing pressure coefficient to the resource soft configuration center;
the resource soft configuration center is used for acquiring the concurrent processing pressure coefficient, acquiring the bandwidth load and the physical resource use condition of each order module through a resource monitoring and allocation management unit, and controlling the resource monitoring and allocation management unit to adjust the allocation proportion of the bandwidth resource and the physical resource between each order module according to the concurrent processing pressure coefficient and the bandwidth load and the physical resource use condition of each order module; and
and the resource monitoring and distributing management unit is used for acquiring the bandwidth load and the physical resource use condition of each order module, sending the bandwidth load and the physical resource use condition of each order module to the resource soft configuration center, and adjusting the distribution proportion of the bandwidth resources and the physical resources among the order modules under the control of the resource soft configuration center.
Optionally, the user service level awareness center is specifically configured to:
determining the user level of the user according to the service level information of the user;
if the user level of the user is high level or the concurrency number is smaller than a first preset threshold value, determining that a corresponding order module directly creates an order for the user;
and if the user level of the user is a common level and the concurrency number is greater than or equal to the first preset threshold value, determining that the corresponding order module does not directly create an order for the user.
Optionally, the system further includes a user service queue adjusting center, where the user service queue adjusting center is configured to, when the user reaches the head of the user queue, create an order for the user according to the order creation request by an order module corresponding to the user service level information, and feed back an order creation result to the user.
Optionally, the resource soft configuration center is specifically configured to, when the concurrent processing pressure coefficient reaches a second preset threshold, obtain bandwidth loads and physical resource usage of each order module from a resource monitoring allocation management unit, formulate a resource reallocation policy according to the concurrent processing pressure coefficient and the bandwidth loads and physical resource usage of each order module, and send a resource allocation proportion modification command to the resource monitoring allocation management unit;
the resource detection allocation management unit is specifically configured to: and reallocating proportions of the bandwidth resources and the physical resources among the order modules according to the resource allocation proportion modification command.
Optionally, the user service level sensing center is further configured to receive registration information of the user, determine service level information of the user according to the registration information of the user, and feed back a registration result of the user to the user, where the registration result includes the service level information.
It can be understood that, the embodiment of the present invention provides a mall ordering system, where a system resource adaptive capability module is added, and by regular scheduling of a system resource soft configuration center in the system resource adaptive capability module, system adaptive dynamic adjustment and secondary resource allocation can be performed on inherent bandwidth resource configuration parameters and basic hardware service resource parameters by three service modules, B2C, B2B, and B2C, when a high concurrent capacity scene occurs locally or globally.
By the system, different allocation strategies can be realized in real time according to different requirements of different types of users in the mall on the underlying bandwidth resources, and the service quality of the VIP user is ensured; in addition, server hardware resources built by each order module function are uniformly managed by the system, configuration capacity is flexibly adjusted through rules, dynamic sharing of real-time adaptive scheduling of the server hardware resources is achieved, and dynamic adjustment of bandwidth resources and dynamic adjustment interaction of application physical resources are achieved through the capacity adjustment.
Drawings
The invention is further illustrated with reference to the following figures and examples.
FIG. 1 is a schematic block diagram of a mall ordering system provided in the prior art;
FIG. 2 is a schematic block diagram of a mall ordering system provided in an embodiment of the present invention;
fig. 3 is a flowchart of a processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention;
fig. 4 is another flowchart of a processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention;
fig. 5 is another flowchart of a processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention;
fig. 6 is another flowchart of a processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention;
fig. 7 is another flowchart of a processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention;
fig. 8 is another flowchart of a processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
In the embodiments of the present invention, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
FIG. 2 is a schematic block diagram of a mall ordering system provided in an embodiment of the present invention;
as shown in fig. 2, the mall order system includes: the system comprises a B2B order module, a B2C order system, a B2C order module), a B2B2C order module, an interface capability control Unit, a system resource self-adaptive capability module and a resource detection and distribution management center, wherein the resource detection and distribution management center is used for realizing bandwidth monitoring distribution and physical resource monitoring distribution, and in the embodiment of the invention, the physical resources comprise Central Processing Unit (CPU) resources, memory resources and hard disk resources.
Wherein the user rights center is configured to: and the system is responsible for providing information such as quality labels, user service types, user roles and the like of registered users. When the user registers, the system records the user type (such as VIP (Very Important) customer, general customer) and the mall type (B2C type, B2B type, B2C type), and the system classifies the user into a corresponding user service level and quality label group according to the service type configured by the user and the importance of the user (customer service level), such as a B2B merchant VIP customer, a B2C merchant VIP customer, a B2C merchant VIP customer, and the like.
Wherein, the system resource self-adaptive capability module comprises: the system comprises a user service level sensing center, a system performance sensing center, a user service queue adjusting center and a resource soft configuration center.
The user service level awareness center is configured to: the system is in charge of acquiring user complete information from a user authority center, and the user complete information comprises user types, user quality labels, user authority verification, user flow control configuration parameters and the like, and the user service level sensing center formulates different user service level strategies according to the user information in the system high-concurrency order operation process and performs modular system resource secondary distribution and self-adaptive soft adjustment on different user order types.
The system performance aware center is configured to: and the system is responsible for the business concurrency quantity counting management of each order module of the system and comprises various order concurrency data needing to be processed and user concurrency access data which are processed by each module of the system in real time. Meanwhile, in order to improve performance, the system performance sensing center periodically synchronizes user comprehensive information from the user authority center or the user service level sensing center, counts and manages user order types according to the user information, classifies the user order types into B2C orders, B2B orders and B2B2C orders respectively, and then updates corresponding counters.
A user service queue tuning center configured to: the method is used for making and executing the concurrent order processing priority queuing strategy. When the order concurrent request of the mall system is higher than the processing threshold specified by the system default, the system carries out sequential queuing according to the user type and the user label importance, then enters a user service queue processing unit according to the queuing priority level, and sequentially processes the concurrent orders of the system one by one. And simultaneously, after receiving the concurrent order applications processed by the system, the user service queue adjusting center returns the processing results to the user according to the user type and the user label sequence.
A resource soft configuration center configured to: according to the service scene and the user label, the user type and the priority level are generated to carry out the self-adaptive adjustment of the system resource supported by the application, and the method comprises two functions: firstly, adjusting the real-time bandwidth load capacity of different order modules; and secondly, adjusting real-time physical resource allocation of different order modules. The adjustment of the bandwidth load capacity of different order module units can be configured into different bandwidth load capacity use ratios of the system through resource allocation rules, and the main basis is that the system carries out real-time monitoring and evaluation on the concurrent user quantity of each order module. When the concurrent user quantity of a certain order module exceeds the default processing capacity of the system, the resource soft configuration center simultaneously evaluates the bandwidth redundancy capacity of other order modules in an unsaturated state, and then rebalance and adjust the bandwidth use configuration proportion of each order module; if the bandwidth load of all the order module concurrent user quantity exceeds the default processing capacity of the system, the system adjusts the bandwidth configuration use proportion in time according to the user label and the order module priority, ensures the concurrent processing capacity of the important user and the important order module, and improves the service level of the important customer. Similarly, the adjustment of the physical resource allocation proportion of different order modules is also comprehensively evaluated according to the processing capacity of the system for the concurrent user quantity of each order module. In order to realize the horizontal dynamic expansion of system physical resources, an order system generally adopts a micro-service architecture, and the resource pool capacity of each micro-service container is planned and allocated in advance according to business requirements. The resource soft configuration center periodically acquires the use condition of the hardware resources sent by each container micro-service monitoring center in real time, generates a resource use configuration proportion required by a new order module by combining user concurrent data of each order module of the system, and sends the parameter configuration proportion to the container resource management center, and the container resource management center modifies and adjusts the resource use configuration proportion of each order module in real time according to the received resource configuration proportion modification request. The above operation ensures the optimal configuration of each order module for the use of hardware resources.
It can be understood that, the embodiment of the present invention provides a mall ordering system, where a system resource adaptive capability module is added, and by regular scheduling of a system resource soft configuration center in the system resource adaptive capability module, system adaptive dynamic adjustment and secondary resource allocation can be performed on inherent bandwidth resource configuration parameters and basic hardware service resource parameters by three service modules, B2C, B2B, and B2C, when a high concurrent capacity scene occurs locally or globally.
Through the system, different allocation strategies can be realized in real time according to different requirements of different types of users in the shopping mall on underlying bandwidth resources, and the service quality of high-level (such as VIP level) users is ensured; in addition, server hardware resources built by each order module function are uniformly managed by the system, configuration capacity is flexibly adjusted through rules, dynamic sharing of real-time adaptive scheduling of the server hardware resources is achieved, and dynamic adjustment of bandwidth resources and dynamic adjustment interaction of application physical resources are achieved through the capacity adjustment.
Fig. 3 is a flowchart of a processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention;
as shown in fig. 3, a processing method for implementing resource adaptive scheduling capability by a mall order system includes:
step S01: receiving an order creating request sent by a user, and acquiring user information according to the order creating request, wherein the user information comprises service level information of the user;
step S02: acquiring the concurrent quantity of orders corresponding to the order types requested to be created by the user;
step S03: judging whether the corresponding order module directly creates an order for the user according to the service level information and the concurrency number of the user;
step S04: if not, adding the user to the user queue for queuing;
step S05: acquiring a concurrent processing pressure coefficient of a current user queue, and acquiring bandwidth load and physical resource use conditions of each order module;
step S06: and adjusting the allocation proportion of the bandwidth resources and the physical resources among the order modules according to the concurrent processing pressure coefficient and the bandwidth load and the physical resource use condition of each order module.
In step S01, after receiving the order creation request sent by the user, the user service level awareness center obtains and verifies user information from the user authority center based on the user identifier, where the user information includes, but is not limited to, service level information of the user, quality tags, and order types of the user, where the service level information of the user may include high levels, common levels, and the like, the quality tags may include B2B merchant VIP clients, B2C merchant VIP clients, B2C merchant VIP clients, and the order types may include B2B orders, B2C orders, and B2C orders.
In step S02, the user service level sensing center obtains the concurrent quantity of the order corresponding to the order type requested to be created by the user from the system performance sensing center, and the system performance sensing center is responsible for managing the quantity of the service concurrent quantity of each order module of the system, and includes various order concurrent data to be processed and user concurrent access data in real time by each module of the system.
In step S03, determining whether the corresponding order module directly creates an order for the user according to the service level information and the concurrency number of the user may specifically include:
step S031: determining the user level of the user according to the service level information of the user;
step S032: if the user level of the user is high level or the concurrency number is smaller than a first preset threshold value, determining that the corresponding order module directly creates an order for the user;
step S033: and if the user level of the user is a common level and the concurrency number is greater than or equal to a first preset threshold value, determining that the corresponding order module does not directly create an order for the user.
It can be understood that the user categories are identified through the steps S02 and S03, so that normal access to the system by the high-level user is guaranteed, the high-quality user is prevented from being lost, and the adaptive capability of different user types and different service qualities is realized.
And step S04, when the user is at the normal level and the concurrency number is greater than or equal to the first preset threshold, adding the user to the user queue for queuing, and the user service queue adjusts the central queuing priority level to enter the user service queue processing unit, and sequentially processing the concurrency orders of the system one by one. When the user reaches the head of the user queue, an order module corresponding to the service level information of the user creates an order for the user according to the order creating request, and feeds back the order creating result to the user.
For step S06, adjusting the allocation ratio of the bandwidth resources and the physical resources between each order module according to the concurrent processing pressure coefficient and the bandwidth load and the physical resource usage of each order module may specifically include:
step S061: when the concurrent processing pressure coefficient reaches a second preset threshold value, a resource soft configuration center of the mall order system acquires the bandwidth load and the physical resource use condition of each order module from a resource monitoring distribution management unit;
step S062: the resource soft configuration center formulates a resource reallocation strategy according to the concurrent processing pressure coefficient, the bandwidth load of each order module and the physical resource use condition;
step S063: the resource soft configuration center sends a resource configuration proportion modification command to the resource monitoring and allocation management unit;
step S064: and the resource detection distribution management unit modifies the distribution proportion of the bandwidth resources and the physical resources among the order modules according to the resource distribution proportion.
It can be understood that the embodiment of the invention realizes the self-adaptive capacity for adjusting the bandwidth and physical resource use configuration of different order function modules through a user authority center, a resource detection and distribution management center in an order system of a mall, and a user service level sensing center, a system performance sensing center and a resource soft configuration center in a resource self-adaptive capacity module. For a mall order system with frequently-changed services, the bandwidth and the physical resource configuration can be automatically adjusted to meet the service requirements.
Further, before receiving an order creation request sent by a user, the method further comprises:
receiving registration information of a user, and determining service level information of the user according to the registration information of the user;
and feeding back the registration result of the user to the user, wherein the registration result comprises service level information.
Further, before receiving an order creation request sent by a user, the method may further include:
receiving the input or modification of user configuration information by a user through an operation platform, wherein the user configuration information can comprise service level information, user order type information, a quality label and the like;
registering or modifying the user configuration information and returning the processing result to the user.
Each step of the processing method for realizing the resource adaptive scheduling capability of the mall order system provided by the embodiment of the invention is described in more detail with reference to the accompanying drawings.
Fig. 4 is another flowchart of a processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention;
fig. 4 shows a process of entering or modifying user configuration information by using a processing method for implementing resource adaptive scheduling capability by a mall order system provided by an embodiment of the present invention, as shown in fig. 4, the process includes:
step 101: a user inputs/modifies the configuration information of the user to a user service level perception center through an operation platform;
step 102: the user service level perception center sends the configuration information input/modified by the user to the user authority center;
step 103: the user authority center registers/modifies the user quality label, the user order type and the like according to the configuration information input/modified by the user;
step 104: the user authority center returns the latest parameter results of the user to the user service level perception center (referred to as the user service level perception center above), and the latest parameter results comprise user level types, order type attributions and the like (such as B2C, B2B and B2B 2C).
Step 105: the user service level perception center synchronizes the latest parameter result of the user to a system performance perception center (the user service level perception center is called above);
step 106: and the user service level perception center returns the processing result to the operation platform.
Fig. 5 is another flowchart of a processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention;
fig. 5 shows a process of automatically registering a user by using a processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention, where as shown in fig. 5, the process includes:
step 201: the system is used for registering in a user service level perception center;
step 202: the user service level perception center sends the user registration information to the user authority center;
step 203: the user authority center examines and approves/registers the user quality label according to the user registration information, records the user order attribution and the like;
step 204: the user authority center returns a registration result to the user service level sensing center, the registration result comprises user information, and the user information comprises user level types, order type attributions and the like (for example, B2C, B2B and B2B 2C);
step 205: the user service level perception center synchronizes user information to the system performance perception center;
step 206: and the user service level perception center feeds the registration result back to the user, wherein the registration result comprises user level type information and the like.
Fig. 6 is another flowchart of a processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention;
fig. 6 shows a process of a processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention with respect to an order placing service of a user, where as shown in fig. 6, the process includes:
step 501: a user places an order to a user service level perception center;
step 502: the user service level perception center places orders and sends a counter increment notice to the system performance perception center, so that the system performance perception center increments the corresponding order types by one;
step 503: the user service level perception center acquires and verifies user information from the user authority center, wherein the user information comprises user type information, user quality labels and other information;
step 504: the user service level perception center obtains the order type and the concurrent amount from the system performance perception center;
step 505: the user service level perception center judges whether a user directly accesses an order center (namely an order module) or enters a queue center (namely a user service queue adjusting center) to judge according to information such as user types, user quality labels, order type concurrency quantity and the like;
step 506: if the concurrent resources are free or the quality label is a high-level user (such as a VIP user), the user service level perception center directly controls the user to access the order center, and then step 507 is executed;
step 507: creating an order by an order module corresponding to the order type, and then executing step 508;
step 508: the order module corresponding to the order type returns an order creating result to the user through the user service level sensing center, and the process is ended;
step 509: if the concurrent resources are insufficient and the quality label of the user is not a high-level user, the user service level perception center controls the user to enter the queuing system, and then step 510 is executed;
step 510: the user service level perception center informs the user that the user is currently in queue, and then step 511 is executed;
step 511: the user service queue adjusting center performs queue consumption, and then executes step 512;
step 512: when the queue arrives, the user service queue adjusting center creates a corresponding order to the order module corresponding to the order type, and then step 513 is executed;
step 513: the order module creates an order, and simultaneously, the user service level perception center places an order and sends a counter reduction notice to the system performance perception center, so that the system performance perception center concurrently reduces the number by 1 in the corresponding order type, and then step 514 is executed;
step 514: the order module returns the order creation result to the user service level perception center, and then step 515 is executed;
step 515: the user service level perception center returns the order creating result to the user, and the process is finished.
Fig. 6 is another flowchart of a processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention;
fig. 6 shows a process of a processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention with respect to system bandwidth and physical adaptive capability policies, as shown in fig. 6, the process includes:
step 501: a user places an order to a user service level perception center;
step 502: the user service level perception center places orders and sends a counter increment notice to the system performance perception center, so that the system performance perception center adds 1 to the corresponding order types;
step 503: the user service level perception center acquires and verifies user information from the user authority center, wherein the user information comprises user type information, user quality labels and other information;
step 504: the user service level perception center obtains the order type and the concurrent amount from the system performance perception center;
step 505: the user service level perception center judges whether a user directly accesses an order center (namely an order module) or enters a queue center (namely a user service queue adjusting center) to judge according to information such as user types, user quality labels, order type concurrency quantity and the like;
step 506: the resource soft configuration center obtains a concurrent processing pressure coefficient of a current user queue through a system performance perception center;
step 507: the resource soft configuration center obtains the bandwidth load and the physical resource use load of each functional module of the system through the resource monitoring distribution management center;
step 508: the resource soft configuration center combines the concurrent processing pressure coefficient of the user queue to make a resource reallocation strategy according to the bandwidth load and the physical resource use load condition of each functional module of the system, wherein the resource reallocation strategy comprises a bandwidth and service physical resource allocation strategy;
step 509: the resource soft configuration center sends a resource configuration proportion modification command to the resource monitoring and distribution management center;
step 510: and the resource monitoring and distributing management center modifies the resource allocation proportion according to the requirement.
Fig. 7 is another flowchart of a processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention;
fig. 7 shows an information processing procedure of the processing method for implementing resource adaptive scheduling capability by a mall order system according to an embodiment of the present invention with respect to a system performance sensing center, as shown in fig. 7, the procedure includes:
presetting a user information synchronization timer;
when receiving a full user information synchronization timing task, synchronizing user information from a user authority center, and storing the user information into a Remote Dictionary service (Redis) cache, and ending the process;
when receiving the notification of adding the order concurrent counter, reading the user order type counter from the redis cache, and adding 1, and ending the process;
when receiving a notification of the decrease of the order placing concurrent counter, reading a user order type counter from a redis cache, and decreasing by 1, and ending the process;
and when the incremental user information synchronization is received, synchronizing the user information from the user authority center, storing the user information into a redis cache, and ending the process.
It can be understood that based on the above processes, the present invention has the following advantages:
the order business of the shopping malls B2C, B2B and B2B2C can be supported, all systems are integrated and constructed uniformly, and the investment repetition is avoided; different types of shopping malls can share service capacity, optimize resource allocation in real time and maximize platform efficiency; the concurrent amount of the shopping mall and the resource usage amount of different order modules of various shopping malls are monitored in real time, the concurrent bandwidth and the physical resource usage rate are dynamically adjusted, and meanwhile, the hierarchical control processing can be carried out according to the user quality label, the automatic configuration of platform resource allocation is realized, and meanwhile, the service experience of high-quality customers can be better guaranteed.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent substitutions, improvements, etc. within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A processing method for realizing resource self-adaptive scheduling of a mall order system is characterized by comprising the following steps:
receiving an order creating request sent by a user, and acquiring user information according to the order creating request, wherein the user information comprises service level information of the user;
acquiring the concurrent quantity of orders corresponding to the order types requested to be created by the user;
judging whether a corresponding order module directly creates an order for the user according to the service level information of the user and the concurrency number;
if not, adding the user to a user queue for queuing;
acquiring a concurrent processing pressure coefficient of a current user queue, and acquiring bandwidth load and physical resource use conditions of each order module;
and adjusting the allocation proportion of the bandwidth resources and the physical resources among the order modules according to the concurrent processing pressure coefficient and the bandwidth load and the physical resource use condition of each order module.
2. The method of claim 1, wherein said determining whether the corresponding order module directly creates an order for the user according to the service level information of the user and the concurrency number comprises:
determining the user level of the user according to the service level information of the user;
if the user level of the user is high level or the concurrency number is smaller than a first preset threshold value, determining that a corresponding order module directly creates an order for the user;
and if the user level of the user is a common level and the concurrency number is greater than or equal to the first preset threshold value, determining that the corresponding order module does not directly create an order for the user.
3. The method of claim 1, wherein if not, after queuing the user for addition to a user queue, the method comprises:
and when the user reaches the head of the user queue, an order module corresponding to the service level information of the user creates an order for the user according to the order creating request and feeds back an order creating result to the user.
4. The method of claim 1, wherein adjusting the allocation ratio of the bandwidth resources and the physical resources among the order modules according to the concurrent processing pressure coefficient and the bandwidth load and the physical resource usage of the order modules comprises;
when the concurrent processing pressure coefficient reaches a second preset threshold value, a resource soft configuration center of the mall order system acquires bandwidth loads and physical resource use conditions of the order modules from a resource monitoring distribution management unit;
the resource soft configuration center formulates a resource reallocation strategy according to the concurrent processing pressure coefficient and the bandwidth load and the physical resource use condition of each order module;
the resource soft configuration center sends a resource configuration proportion modification command to the resource monitoring and allocation management unit;
and the resource detection allocation management unit redistributes the proportions of the bandwidth resources and the physical resources among the order modules according to the resource allocation proportion modification command.
5. The method of claim 1, wherein prior to receiving the order creation request sent by the user, the method further comprises:
receiving the registration information of the user, and determining the service level information of the user according to the registration information of the user;
and feeding back a registration result of the user to the user, wherein the registration result comprises the service level information.
6. A mall ordering system, the system comprising:
the user service level perception center is used for receiving an order creation request sent by a user, wherein the order creation request carries user information, the user information comprises the service level information of the user, the concurrent number of orders corresponding to the type of the order requested to be created by the user is obtained, whether a corresponding order module directly creates the order for the user is judged according to the service level information of the user and the concurrent number, and if not, the user is added to a user queue to be queued;
the system performance perception center is used for acquiring a concurrent processing pressure coefficient of a current user queue and sending the concurrent processing pressure coefficient to the resource soft configuration center;
the resource soft configuration center is used for acquiring the concurrent processing pressure coefficient, acquiring the bandwidth load and the physical resource use condition of each order module through a resource monitoring and allocation management unit, and controlling the resource monitoring and allocation management unit to adjust the allocation proportion of the bandwidth resource and the physical resource between each order module according to the concurrent processing pressure coefficient and the bandwidth load and the physical resource use condition of each order module; and
and the resource monitoring and distributing management unit is used for acquiring the bandwidth load and the physical resource use condition of each order module, sending the bandwidth load and the physical resource use condition of each order module to the resource soft configuration center, and adjusting the distribution proportion of the bandwidth resources and the physical resources among the order modules under the control of the resource soft configuration center.
7. The system of claim 6, wherein the user service level awareness center is specifically configured to:
determining the user level of the user according to the service level information of the user;
if the user level of the user is high level or the concurrency number is smaller than a first preset threshold value, determining that a corresponding order module directly creates an order for the user;
and if the user level of the user is a common level and the concurrency number is greater than or equal to the first preset threshold value, determining that the corresponding order module does not directly create an order for the user.
8. The system of claim 6, further comprising a customer service queue adjustment center, wherein the customer service queue adjustment center is configured to, when the customer reaches a head of the customer queue, create an order for the customer according to the order creation request by an order module corresponding to the customer service level information, and feed back an order creation result to the customer.
9. The system according to claim 6, wherein the resource soft configuration center is specifically configured to, when the concurrent processing pressure coefficient reaches a second preset threshold, obtain bandwidth loads and physical resource usage of the order modules from a resource monitoring allocation management unit, formulate a resource reallocation policy according to the concurrent processing pressure coefficient and the bandwidth loads and physical resource usage of the order modules, and send a resource configuration proportion modification command to the resource monitoring allocation management unit;
the resource detection allocation management unit is specifically configured to: and reallocating proportions of the bandwidth resources and the physical resources among the order modules according to the resource allocation proportion modification command.
10. The system of claim 6, wherein the user service level awareness center is further configured to receive registration information of the user, determine service level information of the user according to the registration information of the user, and feed back a registration result of the user to the user, the registration result including the service level information.
CN202010317240.XA 2020-04-21 2020-04-21 Mall order system and processing method for realizing resource self-adaptive scheduling Active CN113538081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010317240.XA CN113538081B (en) 2020-04-21 2020-04-21 Mall order system and processing method for realizing resource self-adaptive scheduling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010317240.XA CN113538081B (en) 2020-04-21 2020-04-21 Mall order system and processing method for realizing resource self-adaptive scheduling

Publications (2)

Publication Number Publication Date
CN113538081A true CN113538081A (en) 2021-10-22
CN113538081B CN113538081B (en) 2024-03-22

Family

ID=78093806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010317240.XA Active CN113538081B (en) 2020-04-21 2020-04-21 Mall order system and processing method for realizing resource self-adaptive scheduling

Country Status (1)

Country Link
CN (1) CN113538081B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114862500A (en) * 2022-04-14 2022-08-05 中国联合网络通信集团有限公司 Order processing method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945138A (en) * 2010-10-09 2011-01-12 复旦大学 System for realizing intelligent treatment of orders of fresh flowers by utilizing mobile Agent
CN103426072A (en) * 2013-07-16 2013-12-04 无限极(中国)有限公司 Order processing system of high concurrency competitive inventory and processing method thereof
CN106530080A (en) * 2015-09-14 2017-03-22 成都娇子意航星科技有限公司 Dormant transaction matchmaking method based on queue dynamic change
CN106548385A (en) * 2015-09-23 2017-03-29 北大方正集团有限公司 A kind of order resource allocation methods and device
CN107783839A (en) * 2017-09-05 2018-03-09 中国科学院空间应用工程与技术中心 A kind of multi-load data processing method and system
CN107861816A (en) * 2017-10-31 2018-03-30 广东欧珀移动通信有限公司 Resource allocation method and device
CN108334396A (en) * 2017-01-19 2018-07-27 阿里巴巴集团控股有限公司 The creation method and device of a kind of data processing method and device, resource group
CN108647081A (en) * 2018-04-16 2018-10-12 南京维拓科技股份有限公司 Empty machine resource automatic distribution system based on order
CN109195176A (en) * 2018-11-16 2019-01-11 徐州工业职业技术学院 The self-adapting dispatching method and system of multi-service fusion in a kind of Home eNodeB
CN110740053A (en) * 2018-07-20 2020-01-31 中国移动通信集团浙江有限公司 Service arranging method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945138A (en) * 2010-10-09 2011-01-12 复旦大学 System for realizing intelligent treatment of orders of fresh flowers by utilizing mobile Agent
CN103426072A (en) * 2013-07-16 2013-12-04 无限极(中国)有限公司 Order processing system of high concurrency competitive inventory and processing method thereof
CN106530080A (en) * 2015-09-14 2017-03-22 成都娇子意航星科技有限公司 Dormant transaction matchmaking method based on queue dynamic change
CN106548385A (en) * 2015-09-23 2017-03-29 北大方正集团有限公司 A kind of order resource allocation methods and device
CN108334396A (en) * 2017-01-19 2018-07-27 阿里巴巴集团控股有限公司 The creation method and device of a kind of data processing method and device, resource group
CN107783839A (en) * 2017-09-05 2018-03-09 中国科学院空间应用工程与技术中心 A kind of multi-load data processing method and system
CN107861816A (en) * 2017-10-31 2018-03-30 广东欧珀移动通信有限公司 Resource allocation method and device
CN108647081A (en) * 2018-04-16 2018-10-12 南京维拓科技股份有限公司 Empty machine resource automatic distribution system based on order
CN110740053A (en) * 2018-07-20 2020-01-31 中国移动通信集团浙江有限公司 Service arranging method and device
CN109195176A (en) * 2018-11-16 2019-01-11 徐州工业职业技术学院 The self-adapting dispatching method and system of multi-service fusion in a kind of Home eNodeB

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114862500A (en) * 2022-04-14 2022-08-05 中国联合网络通信集团有限公司 Order processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113538081B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN110276182B (en) API distributed current limiting realization method
CN108667748B (en) Method, device, equipment and storage medium for controlling bandwidth
WO2018130163A1 (en) Scheduling method and device for mobile cloud computing platform
CN103426072B (en) The order processing system of a kind of high concurrent competition stock and disposal route thereof
US20050055694A1 (en) Dynamic load balancing resource allocation
CN102469033B (en) Message subscription system and message sending method
US7627618B2 (en) System for managing data collection processes
EP3218807B1 (en) Method and system for real-time resource consumption control in a distributed computing environment
CN109995669B (en) Distributed current limiting method, device, equipment and readable storage medium
CN108449410A (en) Information management method, system and relevant apparatus in a kind of cloud platform
CN105159782A (en) Cloud host based method and apparatus for allocating resources to orders
CN109788315A (en) Video transcoding method, apparatus and system
CN102655503A (en) Resource allocation using shared resource pools
CN111083519A (en) VR content distribution system and method based on cloud and edge computing
CN104657207B (en) Dispatching method, service server and the scheduling system of remote authorization request
CN105306277A (en) Message scheduling method and message scheduling device for message queues
CN106161485B (en) A kind of resource regulating method of infrastructure service cluster, device and system
CN107426274A (en) The method and system of service application and monitoring analysis scheduling based on sequential
CN112132942B (en) Three-dimensional scene roaming real-time rendering method
CN112888005B (en) MEC-oriented distributed service scheduling method
CN109194586A (en) Peak clipping processing method based on distributed token bucket
CN113538081A (en) Mall order system and processing method for realizing resource adaptive scheduling
CN117135130A (en) Server control method, device, electronic equipment and storage medium
CN115665173A (en) Websocket communication method, system and storage medium based on MQ
CN114489978A (en) Resource scheduling method, device, 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