CN110163731B - Method, system and storage medium for establishing virtual bidding room of intermediary service supermarket - Google Patents

Method, system and storage medium for establishing virtual bidding room of intermediary service supermarket Download PDF

Info

Publication number
CN110163731B
CN110163731B CN201910363146.5A CN201910363146A CN110163731B CN 110163731 B CN110163731 B CN 110163731B CN 201910363146 A CN201910363146 A CN 201910363146A CN 110163731 B CN110163731 B CN 110163731B
Authority
CN
China
Prior art keywords
bidding
virtual
room
item
information
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.)
Active
Application number
CN201910363146.5A
Other languages
Chinese (zh)
Other versions
CN110163731A (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.)
Guangzhou Zhongzhi Software Development Co ltd
Original Assignee
Guangzhou Zhongzhi Software Development 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 Guangzhou Zhongzhi Software Development Co ltd filed Critical Guangzhou Zhongzhi Software Development Co ltd
Priority to CN201910363146.5A priority Critical patent/CN110163731B/en
Publication of CN110163731A publication Critical patent/CN110163731A/en
Application granted granted Critical
Publication of CN110163731B publication Critical patent/CN110163731B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • 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/08Auctions
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/503Resource availability

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Software Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a method, a system and a storage medium for establishing a virtual bidding room of an intermediary service supermarket, wherein the method comprises the following steps: dividing the intermediary service supermarket into a plurality of mutually independent virtual bidding rooms according to preset running resources of the virtual bidding rooms; acquiring project bidding information, distributing the project bidding information to a virtual bidding chamber for loading, and caching the project bidding information loaded by the virtual bidding chamber; when the virtual bidding rooms collapse, judging whether idle virtual bidding rooms exist in the current intermediary service supermarket or not; and if so, distributing the cached item bidding information to the idle virtual bidding room for loading. The information of each bidding project is loaded through an independent bidding chamber, so that each bidding service is not influenced mutually, the bidding service in other bidding chambers is prevented from being influenced by the collapse of one bidding chamber, the user experience is improved, a plurality of bidding chambers can be increased through horizontally expanding resources of an intermediary service supermarket, and the service capability is improved.

Description

Method, system and storage medium for establishing virtual bidding room of intermediary service supermarket
Technical Field
The invention relates to the technical field of intermediary service supermarkets, in particular to a method, a system and a storage medium for establishing a virtual bidding room of an intermediary service supermarket.
Background
The intermediary service supermarket is a comprehensive informatization service and credit management platform for various intermediary service online transactions, is used as a paid service developed by an entrusted intermediary service organization in administrative management, can provide services for project owners to purchase intermediary services, the intermediary service organization to accept intermediary service projects, and industry administration departments to supervise related units and personnel, and realizes project works such as various technical examination, argument, evaluation, inspection, detection, authentication, identification, certification, consultation, test and the like. The supermarket for the intermediary service has the characteristics of justice, fairness and openness and transparency, so that the supermarket for the intermediary service is widely used.
In the process of implementing the invention, the inventor finds that: the bidding of items in an intermediary service supermarket generally provides services for the outside by a plurality of equipment clusters through balanced load, each equipment is equivalent to a service node, and bidding of one item is carried out; when a plurality of items are offered in an intermediary service supermarket for bidding at the same time, the number of bidding persons of each item is too large, when a certain node in a bidding service cluster cannot bear a large number of requests to cause downtime, the flow of the node is transferred to other nodes through load balance, chain reaction of downtime of the node is easily generated, finally the whole cluster is down, service cannot be provided, and bidding of all items is finally influenced.
Disclosure of Invention
Therefore, the invention aims to provide a method for establishing virtual bidding rooms of an intermediary service supermarket, which has the advantages that each bidding service is not influenced mutually, and the problem that one virtual bidding room is broken down to influence the bidding service in other virtual bidding rooms is prevented.
A method for establishing a virtual bidding room of an intermediary service supermarket comprises the following steps:
dividing the intermediary service supermarket into a plurality of mutually independent virtual bidding rooms according to preset running resources of the virtual bidding rooms; each virtual bidding room is loaded by a bidding room operation control device in a distributed mode, and the bidding room operation control device is a single server or a plurality of servers;
acquiring item bidding information, distributing the item bidding information to a virtual bidding chamber for loading, and caching the item bidding information loaded by the virtual bidding chamber; wherein each bidding item information can be loaded in only one virtual bidding room at the same time;
when the virtual bidding rooms collapse, judging whether idle virtual bidding rooms exist in the current intermediary service supermarket or not; if an idle virtual bidding chamber exists, allocating the cached item bidding information to the idle virtual bidding chamber for loading;
the step of allocating the cached bid information for the item to the free virtual bidding room for loading comprises:
acquiring project bidding demand information from the cached project bidding information;
inquiring whether the cached item bidding information stores item bidding request information;
when the item bidding request information is stored, initializing the idle virtual room according to the item bidding demand information and the item bidding request information; when the item bidding request information is not stored, initializing the idle virtual room according to the item bidding demand information;
setting a request path of the idle virtual bidding room according to the idle virtual bidding room, acquiring project bidding request information input according to the request path of the virtual bidding room, and distributing the project bidding request information to the virtual bidding room for loading; and caching the item bidding requirement information loaded by the virtual bidding room and the item bidding request information.
According to the method, the intermediary service supermarket is divided into a plurality of mutually independent virtual bidding rooms, and each bidding item information is loaded through the independent virtual bidding room, so that the bidding services are mutually isolated, the bidding services are guaranteed not to be influenced mutually, and the problem that one virtual bidding room collapses to influence the bidding services in other virtual bidding rooms is prevented. Further, when one virtual bidding chamber collapses, the item bidding information cached by the virtual bidding chamber is distributed to other spare virtual bidding chambers for loading, so that the normal operation of other bidding services is realized, and the user experience is improved.
In an alternative embodiment, the item bid information includes item bid demand information and item bid request information; the step of obtaining bid information of a project, allocating the bid information of the project to a virtual bidding room for loading, and caching the bid information of the project loaded by the virtual bidding room includes:
acquiring project bidding demand information, and judging whether a current intermediary service supermarket has an idle virtual bidding room or not;
if the idle virtual bidding chambers exist, distributing the item bidding demand information to one of the idle virtual bidding chambers for loading;
obtaining a request path of the virtual bidding room according to the virtual bidding room;
acquiring project bidding request information input according to a request path of the virtual bidding room, and distributing the project bidding request information to the virtual bidding room for loading;
and caching the item bidding requirement information loaded by the virtual bidding room and the item bidding request information.
According to the virtual bidding room, the request path of the virtual bidding room is obtained, and then only the item bidding request information input according to the request path of the virtual bidding room is obtained, so that only the intermediary mechanism participating in the item bidding can enter the corresponding virtual bidding room, and the bidding service is prevented from being confused.
In an optional embodiment, the step of determining whether there is a free virtual bidding room in the current intermediary service supermarket includes:
acquiring the identification of each virtual bidding room in the intermediary service supermarket and the corresponding use state of each virtual bidding room; the use state comprises in-use and idle;
inquiring whether a virtual bidding room with an idle use state exists, if so, judging that the idle virtual bidding room exists,
and feeds back the identification of the idle virtual bidding room; and if not, judging that no idle virtual bidding room exists, and feeding back the information of the idle virtual bidding room.
The idle virtual bidding rooms can be conveniently obtained by inquiring the use states of the virtual bidding rooms.
In an alternative embodiment, the step of allocating the cached bid information for the item to the load in the free virtual bidding room comprises:
acquiring project bidding demand information from the cached project bidding information;
inquiring whether the cached item bidding information stores item bidding request information;
when the item bidding request information is stored, initializing the idle virtual room according to the item bidding demand information and the item bidding request information; when the item bidding request information is not stored, initializing the idle virtual room according to the item bidding demand information;
setting a request path of the idle virtual bidding room according to the idle virtual bidding room, acquiring project bidding request information input according to the request path of the virtual bidding room, and distributing the project bidding request information to the virtual bidding room for loading; and caching the item bidding requirement information loaded by the virtual bidding room and the item bidding request information.
The idle virtual room is initialized according to the item bidding demand information and the item bidding request information, so that the problem that data omission errors affect bidding results when the idle virtual bidding room is redistributed is solved.
The invention also provides a system for establishing the virtual bidding room of the intermediary service supermarket,
the system comprises a dividing module, a storage module and a processing module, wherein the dividing module is used for dividing the intermediary service supermarket into a plurality of mutually independent virtual bidding rooms according to preset running resources of each virtual bidding room; each virtual bidding room is loaded by a bidding room operation control device in a distributed mode, and the bidding room operation control device is a single server or a plurality of servers;
the system comprises a project bidding information loading module, a virtual bidding chamber and a display module, wherein the project bidding information loading module is used for acquiring project bidding information, distributing the project bidding information to the virtual bidding chamber for loading, and caching the project bidding information loaded by the virtual bidding chamber; wherein each bidding item information can be loaded in only one virtual bidding room at the same time;
the item bidding information reloading module is used for judging whether the current intermediary service supermarket has a free virtual bidding chamber or not when the virtual bidding chamber collapses; if an idle virtual bidding chamber exists, allocating the cached item bidding information to the idle virtual bidding chamber for loading;
the item bid information reload module comprising:
a project bid requirement information obtaining unit, configured to obtain project bid requirement information from the cached project bid information;
the query unit is used for querying whether the cached item bidding information stores item bidding request information;
an initialization unit, configured to initialize the idle virtual room according to the item bidding demand information and the item bidding request information when the item bidding request information is stored; when the item bidding request information is not stored, initializing the idle virtual room according to the item bidding demand information;
a loading unit, configured to set a request path of the idle virtual bidding chamber according to the idle virtual bidding chamber, acquire item bidding request information input according to the request path of the virtual bidding chamber, and allocate the item bidding request information to the virtual bidding chamber for loading; and caching the item bidding requirement information loaded by the virtual bidding room and the item bidding request information.
The present invention also provides a computer readable storage medium having stored thereon a computer program which, when being executed by a processor, implements the steps of the method for establishing a virtual bidding room of an intermediary service supermarket as described in any one of the above.
The present invention also provides a computer device comprising a storage, a processor and a computer program stored in the storage and executable by the processor, wherein the processor implements the steps of the method for establishing a virtual bidding room of an intermediary service supermarket as described in any one of the above.
For a better understanding and practice, the invention is described in detail below with reference to the accompanying drawings.
Drawings
FIG. 1 is a block diagram illustrating an exemplary embodiment of an application environment for a method for establishing a virtual bidding room in a brokerage supermarket;
FIG. 2 is a flow chart of a method for establishing a virtual bidding room in a medium service supermarket according to the present invention;
FIG. 3 is a flow chart of a virtual bidding chamber loading bid information for an item in accordance with the present invention;
FIG. 4 is a flow chart of a virtual bidding room loading an item bid request message in accordance with the present invention;
FIG. 5 is a flowchart illustrating a method for determining whether an intermediary service supermarket stores a free virtual bidding room according to the present invention;
FIG. 6 is a flow chart of the present invention for caching item bid information;
FIG. 7 is a flow chart of the system for establishing a virtual bidding room in a medium service supermarket according to the present invention;
FIG. 8 is a block diagram schematically illustrating the structure of a bid information loading module according to an embodiment of the present invention;
FIG. 9 is a block diagram illustrating the structure of the bid information reloading module according to the present invention.
Detailed Description
Please refer to fig. 1, which is a block diagram illustrating an application environment of the method for establishing a virtual bidding room in an intermediary supermarket according to an embodiment of the present invention. As shown in fig. 1, an application environment of the method for establishing a virtual bidding room in an intermediary service supermarket according to this embodiment is an intermediary service supermarket application environment, which may specifically include: a routing request control device 11, a bidding room operation control device 12, a bidding room maintenance control device 13, a bidding room allocation control device 14, a caching device 15, and an item bidding information storage device 16.
The bidding room distribution control device 14 divides the intermediary service supermarket into a plurality of mutually independent virtual bidding rooms according to preset operation resources of each virtual bidding room. The route request control device 11 acquires item bid information input by a user at an entrance of an intermediary service supermarket. And the bidding distribution control device distributes the item bidding information to a virtual bidding chamber for loading according to the item bidding information. The bidding chamber operation control device 12 controls the virtual bidding chamber to load the item bidding information, and judges and monitors the item bidding information loaded by the virtual bidding chamber to realize bidding on the item. Meanwhile, the caching device 15 temporarily caches the item bidding information of the virtual bidding chamber, and empties the item bidding information when the virtual bidding chamber finishes bidding; the item bid information storage 16 persistently stores the item bid information for the bidding room. When the bidding room maintenance control device 13 detects that the virtual bidding room is down, the bidding room allocation control device 14 determines whether an idle virtual bidding room exists in the current intermediary service supermarket; if an idle virtual bidding chamber exists, the item bidding information cached by the caching device 15 is allocated to the idle virtual bidding chamber for loading, and the bidding of the item is continued.
The routing request control device 11 is responsible for routing the user's request to a designated virtual bidding room, as well as for traffic limiting, disabling a single IP concurrent request, which may be a single server or multiple servers or routers, or other devices that may be used for routing request control. The bidding room operation control device 12 loads a virtual bidding room, each bidding room operation control device 12 can be assigned to load a virtual bidding room, the bidding room operation control device 12 can be a single server or a plurality of servers, or other devices capable of operating the virtual bidding room; the bid operation control device 12 may also be a device that executes a program for operating a virtual bidding room. The bidding room maintenance control device 13 is configured to maintain the operation of each virtual bidding room, and may be a single server or multiple servers, or other devices that may be used to maintain the bidding rooms and implement connection between the bidding room operation control device 12 and the bidding room allocation control device 14, preferably, the bidding room maintenance control device 13 is a Zookeeper server, the bidding room allocation control device 14 is responsible for allocation and exception handling of each virtual bidding room, and may be a single server or multiple servers or controllers, or other devices that may be used to allocate virtual bidding rooms; the auction room allocation control apparatus 1 may be an apparatus that executes a program for allocating tasks to virtual auction rooms. The cache device 15 is used to temporarily store data during bidding, implement exception recovery or switching when a virtual bidding chamber crashes, etc., and may be in the form of a computer program product implemented on a memory, database, or storage medium containing program code (including but not limited to disk storage, CD-ROM, optical storage, etc.), including permanent and non-permanent, removable and non-removable media, and the storage of information may be implemented by any method or technology. The item bid information storage device 16 user persistently stores bid process data, which may be in the form of a computer program product implemented on a memory, database, or storage medium containing program code (including but not limited to disk storage, CD-ROM, optical storage, etc.) including permanent and non-permanent, removable and non-removable media, the information storage may be accomplished by any method or technique.
Referring to fig. 2, a method for establishing a virtual bidding room of an intermediary service supermarket includes the following steps:
step S1: and dividing the intermediary service supermarket into a plurality of mutually independent virtual bidding rooms according to preset running resources of the virtual bidding rooms.
The preset operation resources of each virtual bidding room may include storage space, bandwidth, CPU (operation capability), and the like, and the preset operation resources of each virtual bidding room may be set to be the same or partially the same or different. The operation size of each virtual bidding room can be expanded by adjusting the preset operation resources of each virtual bidding room.
Furthermore, resources of the intermediate service supermarket are expanded horizontally, and a plurality of virtual bidding rooms are added, so that the service capacity of the intermediate service supermarket is improved.
In the above exemplary embodiment, the bidding room allocation control device 14 divides the intermediary service supermarket into a plurality of mutually independent virtual bidding rooms according to preset operating resources of the virtual bidding rooms, and each virtual bidding room is configured to independently load a project bidding service; each bidding project can only be conducted in one bidding room at the same time. When the virtual bidding rooms are loaded with bidding items, virtual bidding room paths are also set, and only the intermediary agency participating in the bidding of the items can enter the corresponding bidding room.
Step S2: acquiring bidding information of a project, distributing the bidding information of the project to a virtual bidding chamber for loading, and caching the bidding information of the project loaded by the virtual bidding chamber.
In the above exemplary embodiment, the user uploads the bid information of the item on the intermediary service supermarket port, and the bid distribution control device distributes the bid information of the item to a virtual bid room for loading according to the bid information of the item. The bidding chamber operation control device 12 controls the virtual bidding chamber to load the item bidding information, and judges and monitors the item bidding information loaded by the virtual bidding chamber to realize bidding on the item.
Referring to FIG. 3, in an alternative embodiment, the item bid information includes item bid demand information and item bid request information; the step of obtaining bid information of a project, allocating the bid information of the project to a virtual bidding room for loading, and caching the bid information of the project loaded by the virtual bidding room includes:
step S21: and acquiring project bidding demand information, and judging whether the current intermediate service supermarket has an idle virtual bidding room.
The project bid demand information may include the qualifications of the users participating in the bid, the minimum or maximum price for the project bid, the time to complete the project, and other demand for the project information. The step of judging whether the current intermediary service supermarket has an idle virtual bidding room comprises the following steps: acquiring the identification of each virtual bidding room in the intermediary service supermarket and the corresponding use state of each virtual bidding room; the use state comprises in-use and idle; inquiring whether a virtual bidding chamber with an idle use state exists or not, if so, judging that the idle virtual bidding chamber exists, and feeding back an identifier of the idle virtual bidding chamber; and if not, judging that no idle virtual bidding room exists, and feeding back the information of the idle virtual bidding room.
In the above exemplary embodiment, the user uploads the item bidding demand information at the intermediary service supermarket port, and the routing request control device 11 acquires the item bidding demand information and informs the bidding distribution control device; the bidding distribution control device judges whether a free virtual bidding room exists in the current intermediary service supermarket.
Step S22: and if the idle virtual bidding chambers exist, distributing the item bidding requirement information to one of the idle virtual bidding chambers for loading.
When there are free virtual bidding rooms, the number of the free virtual bidding rooms may be one or more. And when one idle virtual bidding chamber is available, distributing the item bidding demand information into the idle virtual bidding chamber. When a plurality of idle virtual bidding rooms are provided, the item bidding requirement information can be randomly distributed to any one of the idle virtual bidding rooms; or distributing the item bidding demand information to the idle virtual bidding rooms arranged at the top or the last according to the arrangement sequence of the identifications of the virtual bidding rooms; or distributing the project bidding demand information to an idle virtual bidding room of a route closest to the request project bidding demand information according to the distance to the request route of the project bidding demand information.
In the above exemplary embodiment, where there are virtual bidding rooms that are idle, the bid allocation control apparatus allocates the item bid demand information to one of the virtual bidding rooms that is idle; the bidding chamber operation control device 12 controls the virtual bidding chamber to load the item bidding demand information.
Step S23: and setting a request path of the virtual bidding room according to the virtual bidding room.
In the above-described exemplary embodiment, after the virtual bidding room is allocated by the bidding room operation control apparatus 12, the route request control apparatus 11 sets the request path of the virtual bidding room.
Step S24: and acquiring the item bidding request information input according to the request path of the virtual bidding room, and distributing the item bidding request information to the virtual bidding room for loading.
In the above-described exemplary embodiment, the auction room assignment control device 14 assigns a virtual auction room and notifies the request path of the virtual auction room set; the routing request control device 11 distributes the acquired item bidding request information to the virtual bidding rooms according to the request paths of the virtual bidding rooms; the bid room operation control apparatus 12 loads the item bid request information.
Wherein the item bid request information includes a user identification of the intermediary and a corresponding item bid price. Referring to fig. 4, the step of acquiring the item bid request information input according to the request path of the virtual bidding room and distributing the item bid request information to the virtual bidding room for loading includes:
step S241: and acquiring the identifier of the virtual bidding room.
Step S242: and judging whether the user identification of the intermediary mechanism in the virtual bidding room meets the set authority.
Step S243: and when the user identification of the intermediary mechanism meets the set right, judging whether the price of the item quoted price corresponding to the user identification of the intermediary mechanism meets the set price.
Step S244: and when the item quoted price meets the set price, caching the identifier of the virtual bidding room, the user identifier of the intermediary organization and the corresponding item quoted price.
Step S25: and caching the item bidding requirement information loaded by the virtual bidding room and the item bidding request information.
The item bid request information may also include information such as the qualifications of the intermediary, and the time the intermediary bids.
In the above exemplary embodiment, the caching device 15 temporarily caches the item bidding requirement information and the item bidding request information, and empties the item bidding requirement information and the item bidding request information when the virtual bidding chamber completes bidding, so that the item bidding requirement information and the item bidding request information can be quickly and conveniently obtained when the virtual bidding chamber crashes. The item bid information storage 16 persistently stores the item bid information for the bidding room for subsequent queries.
Step S3: when the virtual bidding rooms collapse, judging whether idle virtual bidding rooms exist in the current intermediary service supermarket or not; and if the idle virtual bidding chamber exists, allocating the cached item bidding information to the idle virtual bidding chamber for loading.
After the project bidding demand information is distributed to one idle virtual bidding chamber to be loaded, requesting to acquire the connection state of the virtual bidding chamber at set time intervals, if the connection state of the virtual bidding chamber is connection, judging that the virtual bidding chamber normally operates, and if the connection state of the virtual bidding chamber is disconnection, judging that the virtual bidding chamber collapses.
In the above-described exemplary embodiment, when the connection of the auction room operation control device 12 and the auction room maintenance control device 13 is disconnected, the auction room maintenance control device 13 transmits the disconnected state to the auction room distribution control device 14; the bidding room distribution control device 14 judges that the virtual bidding room is in a collapse state, and judges whether an idle virtual bidding room exists in the current intermediary service supermarket; and if the idle virtual bidding chamber exists, allocating the cached item bidding information to the idle virtual bidding chamber for loading.
Referring to fig. 5, in an alternative embodiment, the step of determining whether there is a free virtual bidding room in the current intermediary service supermarket includes:
step S311: acquiring the identification of each virtual bidding room in the intermediary service supermarket and the corresponding use state of each virtual bidding room; the use state includes in-use and idle.
If the using state is in use, judging that the virtual bidding chamber bids in a loading project; and if the using state is idle, judging that the virtual bidding chamber has no loaded item bidding.
In the above exemplary embodiment, at the time of initial use, the bid allocation control device sets the use states of all the virtual bidding rooms to idle, and allocates the identifications of the virtual bidding rooms and the use states corresponding to the virtual bidding rooms to the item bidding information storage device 16 for storage. When the virtual bidding rooms are loaded with the item bidding information, the usage status of the corresponding virtual bidding room in the item bidding information storage 16 is changed to being used.
Step S312: inquiring whether a virtual bidding chamber with an idle use state exists or not, if so, judging that the idle virtual bidding chamber exists, and feeding back an identifier of the idle virtual bidding chamber; and if not, judging that no idle virtual bidding chamber exists, and feeding back information that no bidding failure exists.
In the exemplary embodiment, the bidding distribution control device queries whether a virtual bidding chamber in an idle use state exists, and if the virtual bidding chamber exists, determines that the idle virtual bidding chamber exists, and feeds back an identifier of the idle virtual bidding chamber; and if not, judging that no idle virtual bidding room exists and feeding back that no idle virtual bidding room exists.
Referring to fig. 6, in an alternative embodiment, the step of allocating the cached bid information for the item to the idle virtual bidding room for loading includes:
step S321: and acquiring the item bidding requirement information from the cached item bidding information.
Step S322: and inquiring whether the cached item bidding information stores item bidding request information.
Step S323: when the item bidding request information is stored, initializing the idle virtual room according to the item bidding demand information and the item bidding request information; and when the item bidding request information is not stored, initializing the idle virtual room according to the item bidding requirement information.
Step S324: setting a request path of the idle virtual bidding room according to the idle virtual bidding room, acquiring project bidding request information input according to the request path of the virtual bidding room, and distributing the project bidding request information to the virtual bidding room for loading; and caching the item bidding requirement information loaded by the virtual bidding room and the item bidding request information.
In an optional embodiment, when the virtual bidding room crashes, the method further comprises the following steps: refusing to input all item bidding information of the virtual bidding room; emptying the operation data of the virtual bidding room; judging whether the virtual bidding room can normally run or not; if yes, setting the use state of the virtual bidding room to be idle.
In the above exemplary embodiment, when the connection between the bidding room operation control device 12 where the virtual bidding room is located and the bidding room maintenance control device 13 is still disconnected, the bidding room maintenance control device 13 transmits the disconnected state to the bidding room distribution control device 14, and the bidding room distribution control device 14 determines that the virtual bidding room is still in a breakdown state, that is, the virtual bidding room cannot operate normally; when the bidding room operation control device 12 and the bidding room maintenance control device 13 where the virtual bidding room is located are connected again, the bidding room maintenance control device 13 transmits the connected state to the bidding room distribution control device 14, and the bidding room distribution control device 14 determines that the virtual bidding room is in a normal state, that is, the virtual bidding room can operate normally.
According to the method, the intermediary service supermarket is divided into a plurality of mutually independent virtual bidding rooms, and each bidding item information is loaded through the independent virtual bidding room, so that the bidding services are mutually isolated, the bidding services are guaranteed not to be influenced mutually, and the problem that one virtual bidding room collapses to influence the bidding services in other virtual bidding rooms is prevented. Further, when one virtual bidding chamber collapses, the item bidding information cached by the virtual bidding chamber is distributed to other spare virtual bidding chambers for loading, so that the normal operation of other bidding services is realized, and the user experience is improved.
In an optional embodiment, when the virtual bidding room crashes, after the step of determining whether there is a free virtual bidding room in the current intermediary service supermarket, the method further includes the steps of:
and if no idle virtual bidding room exists, feeding back information of current item bidding failure.
In an optional embodiment, after the step of obtaining the item bidding demand information and determining whether there is a free virtual bidding room in the current intermediary service supermarket, the method includes the steps of:
if the idle virtual bidding room does not exist, the request is circularly requested to judge whether the current intermediary service supermarket has the idle virtual bidding room or not until the idle virtual bidding room is obtained.
The following specific examples illustrate the technical solutions of the present application:
the bidding room distribution control device 14 divides the intermediary service supermarket into a plurality of mutually independent virtual bidding rooms according to preset operation resources of the virtual bidding rooms. The routing request control device 11 obtains the project bidding requirement information, and the bidding chamber distribution control device 14 judges whether a current intermediary service supermarket has an idle virtual bidding chamber; and if the idle virtual bidding room does not exist, continuously judging whether the current intermediary service supermarket has the idle virtual bidding room. If the idle virtual bidding chambers exist, the item bidding requirement is distributed to one of the idle virtual bidding chambers for loading, and the bidding chamber distribution control device 14 acquires item bidding request information input according to the request path of the virtual bidding chamber and distributes the item bidding request information to the virtual bidding chambers for loading. The cache device 15 caches the item bidding requirement information and the item bidding request information loaded by the virtual bidding room, and when the bidding is completed, clears the data of the bidding. The item bid information storage 16 stores item bid demand information and item bid request information loaded by the virtual bidding chamber for subsequent queries.
When the connection of the bidding room operation control apparatus 12 and the bidding room maintenance control apparatus 13 is disconnected, the bidding room maintenance control apparatus 13 transmits the disconnected state to the bidding room distribution control apparatus 14; the bidding chamber allocation control device 14 determines that the virtual bidding chamber is in a collapse state, determines whether an idle virtual bidding chamber exists in the current intermediary service supermarket, and allocates the item bidding demand information and the item bidding request information cached by the caching device 15 to the idle virtual bidding chamber for loading if the idle virtual bidding chamber exists; and if no idle virtual bidding room exists, feeding back information of current item bidding failure.
The invention also provides a system 2 for establishing the virtual bidding room of the intermediary service supermarket, which comprises the following steps:
the dividing module 21 is configured to divide the intermediary service supermarket into a plurality of mutually independent virtual bidding rooms according to preset operating resources of the virtual bidding rooms;
the item bidding information loading module 22 is configured to obtain item bidding information, allocate the item bidding information to a virtual bidding chamber for loading, and cache the item bidding information loaded by the virtual bidding chamber;
the item bidding information reloading module 23 is configured to, when the virtual bidding chamber collapses, determine whether a free virtual bidding chamber exists in the current intermediary service supermarket; and if the idle virtual bidding chamber exists, allocating the cached item bidding information to the idle virtual bidding chamber for loading.
In an alternative embodiment, the item bid information loading module 22 includes:
and a project bid requirement information obtaining unit 221, configured to obtain project bid requirement information, and determine whether an idle virtual bid chamber exists in the current intermediary service supermarket.
And a virtual bidding chamber allocating unit 222, configured to allocate the item bidding requirement information to one of the idle virtual bidding chambers for loading when the idle virtual bidding chambers exist.
A request path obtaining unit 223, configured to set a request path of the virtual bidding room according to the virtual bidding room.
And an allocating unit 224, configured to acquire item bidding request information input according to the request path of the virtual bidding room, and allocate the item bidding request information to the virtual bidding room for loading.
In an alternative embodiment, the item bid information reload module 23 comprises:
and an item bidding requirement information obtaining unit 231, configured to obtain item bidding requirement information from the cached item bidding information.
The querying unit 232 is configured to query whether the cached item bidding information stores item bidding request information.
An initializing unit 233, configured to initialize the empty virtual room according to the item bidding requirement information and the item bidding request information when the item bidding request information is stored; and when the item bidding request information is not stored, initializing the idle virtual room according to the item bidding requirement information.
A loading unit 234, configured to set a request path of the idle virtual bidding chamber according to the idle virtual bidding chamber, acquire item bidding request information input according to the request path of the virtual bidding chamber, and allocate the information to the virtual bidding chamber for loading; and caching the item bidding requirement information loaded by the virtual bidding room and the item bidding request information.
According to the method, the intermediary service supermarket is divided into a plurality of mutually independent virtual bidding rooms, and each bidding item information is loaded through the independent virtual bidding room, so that the bidding services are mutually isolated, the bidding services are guaranteed not to be influenced mutually, and the problem that one virtual bidding room collapses to influence the bidding services in other virtual bidding rooms is prevented. Further, when one virtual bidding chamber collapses, the item bidding information cached by the virtual bidding chamber is distributed to other spare virtual bidding chambers for loading, so that the normal operation of other bidding services is realized, and the user experience is improved.
The present invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of establishing a virtual bidding room for an intermediary service supermarket as described in any of the above.
The present invention may take the form of a computer program product embodied on one or more storage media including, but not limited to, disk storage, CD-ROM, optical storage, and the like, having program code embodied therein. Computer readable storage media, which include both non-transitory and non-transitory, removable and non-removable media, may implement any method or technology for storage of information. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of the storage medium of the computer include, but are not limited to: phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technologies, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic tape storage or other magnetic storage devices, or any other non-transmission medium, may be used to store information that may be accessed by a computing device.
The invention also provides a computer device comprising a storage, a processor and a computer program stored in the storage and executable by the processor, wherein the processor executes the computer program to implement the steps of the method for establishing a virtual bidding room of any intermediary service supermarket as described above.

Claims (9)

1. A method for establishing a virtual bidding room of an intermediary service supermarket is characterized by comprising the following steps:
dividing the intermediary service supermarket into a plurality of mutually independent virtual bidding rooms according to preset running resources of the virtual bidding rooms; each virtual bidding room is loaded by a bidding room operation control device in a distributed mode, and the bidding room operation control device is a single server or a plurality of servers;
acquiring item bidding information, distributing the item bidding information to a virtual bidding chamber for loading, and caching the item bidding information loaded by the virtual bidding chamber; wherein each bidding item information can be loaded in only one virtual bidding room at the same time;
when the virtual bidding rooms collapse, judging whether idle virtual bidding rooms exist in the current intermediary service supermarket or not; if an idle virtual bidding chamber exists, allocating the cached item bidding information to the idle virtual bidding chamber for loading;
the step of allocating the cached bid information for the item to the free virtual bidding room for loading comprises:
acquiring project bidding demand information from the cached project bidding information;
inquiring whether the cached item bidding information stores item bidding request information;
when the item bidding request information is stored, initializing the idle virtual room according to the item bidding demand information and the item bidding request information; when the item bidding request information is not stored, initializing the idle virtual room according to the item bidding demand information;
setting a request path of the idle virtual bidding room according to the idle virtual bidding room, acquiring project bidding request information input according to the request path of the virtual bidding room, and distributing the project bidding request information to the virtual bidding room for loading; and caching the item bidding requirement information loaded by the virtual bidding room and the item bidding request information.
2. The method of establishing a virtual bidding room of an intermediary service supermarket according to claim 1, wherein the item bidding information includes item bidding requirement information and item bidding request information;
the method for caching the bid information of the item loaded by the virtual bidding chamber comprises the following steps of obtaining the bid information of the item, distributing the bid information of the item to a virtual bidding chamber for loading, and caching the bid information of the item loaded by the virtual bidding chamber:
acquiring project bidding demand information, and judging whether a current intermediary service supermarket has an idle virtual bidding room or not;
if the idle virtual bidding chambers exist, distributing the item bidding demand information to one of the idle virtual bidding chambers for loading;
obtaining a request path of the virtual bidding room according to the virtual bidding room;
acquiring project bidding request information input according to a request path of the virtual bidding room, and distributing the project bidding request information to the virtual bidding room for loading;
and caching the item bidding requirement information loaded by the virtual bidding room and the item bidding request information.
3. The method as claimed in claim 1 or 2, wherein the step of determining whether there is a free virtual bidding room in the current intermediate service supermarket comprises:
acquiring the identification of each virtual bidding room in the intermediary service supermarket and the corresponding use state of each virtual bidding room; the use state comprises in-use and idle;
inquiring whether a virtual bidding chamber with an idle use state exists or not, if so, judging that the idle virtual bidding chamber exists, and feeding back an identifier of the idle virtual bidding chamber; and if not, judging that no idle virtual bidding room exists, and feeding back the information of the idle virtual bidding room.
4. The method of claim 1, wherein after the step of determining whether there is a free virtual bidding room in the current intermediary service supermarket when the virtual bidding room collapses, the method further comprises the steps of:
and if no idle virtual bidding room exists, feeding back information of current item bidding failure.
5. The method of establishing a virtual bidding room of an intermediary service supermarket according to claim 2, wherein the item bidding request information includes a user identification of an intermediary agency and an item bid price;
the step of acquiring the item bidding request information input according to the request path of the virtual bidding room and distributing the item bidding request information to the virtual bidding room for loading comprises the following steps:
acquiring an identifier of the virtual bidding room;
judging whether the user identification of the intermediary mechanism in the virtual bidding room meets the set authority or not;
when the user identification of the intermediary mechanism meets the set authority, judging whether the price of the item quoted price corresponding to the user identification of the intermediary mechanism meets the set price;
and when the item quoted price meets the set price, caching the identifier of the virtual bidding room, the user identifier of the intermediary organization and the corresponding item quoted price.
6. The method for establishing a virtual bidding room of an intermediary service supermarket according to claim 1, wherein after the step of obtaining item bidding requirement information and determining whether there is a free virtual bidding room in the current intermediary service supermarket, the method comprises the steps of:
if the idle virtual bidding room does not exist, the request is circularly requested to judge whether the current intermediary service supermarket has the idle virtual bidding room or not until the idle virtual bidding room is obtained.
7. A system for establishing a virtual bidding room of an intermediary service supermarket is characterized in that,
the system comprises a dividing module, a storage module and a processing module, wherein the dividing module is used for dividing the intermediary service supermarket into a plurality of mutually independent virtual bidding rooms according to preset running resources of each virtual bidding room; each virtual bidding room is loaded by a bidding room operation control device in a distributed mode, and the bidding room operation control device is a single server or a plurality of servers;
the system comprises a project bidding information loading module, a virtual bidding chamber and a display module, wherein the project bidding information loading module is used for acquiring project bidding information, distributing the project bidding information to the virtual bidding chamber for loading, and caching the project bidding information loaded by the virtual bidding chamber; wherein each bidding item information can be loaded in only one virtual bidding room at the same time;
the item bidding information reloading module is used for judging whether the current intermediary service supermarket has a free virtual bidding chamber or not when the virtual bidding chamber collapses; if an idle virtual bidding chamber exists, allocating the cached item bidding information to the idle virtual bidding chamber for loading;
the item bid information reload module comprising:
a project bid requirement information obtaining unit, configured to obtain project bid requirement information from the cached project bid information;
the query unit is used for querying whether the cached item bidding information stores item bidding request information;
an initialization unit, configured to initialize the idle virtual room according to the item bidding demand information and the item bidding request information when the item bidding request information is stored; when the item bidding request information is not stored, initializing the idle virtual room according to the item bidding demand information;
a loading unit, configured to set a request path of the idle virtual bidding chamber according to the idle virtual bidding chamber, acquire item bidding request information input according to the request path of the virtual bidding chamber, and allocate the item bidding request information to the virtual bidding chamber for loading; and caching the item bidding requirement information loaded by the virtual bidding room and the item bidding request information.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for establishing a virtual bidding room of an intermediary service supermarket according to any one of claims 1 to 6.
9. A computer device comprising a memory, a processor and a computer program stored in said memory and executable by said processor, said processor implementing the steps of the method of establishing a virtual bidding room of an intermediary service supermarket according to any one of claims 1 to 6 when executing said computer program.
CN201910363146.5A 2019-04-30 2019-04-30 Method, system and storage medium for establishing virtual bidding room of intermediary service supermarket Active CN110163731B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910363146.5A CN110163731B (en) 2019-04-30 2019-04-30 Method, system and storage medium for establishing virtual bidding room of intermediary service supermarket

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910363146.5A CN110163731B (en) 2019-04-30 2019-04-30 Method, system and storage medium for establishing virtual bidding room of intermediary service supermarket

Publications (2)

Publication Number Publication Date
CN110163731A CN110163731A (en) 2019-08-23
CN110163731B true CN110163731B (en) 2021-07-27

Family

ID=67633467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910363146.5A Active CN110163731B (en) 2019-04-30 2019-04-30 Method, system and storage medium for establishing virtual bidding room of intermediary service supermarket

Country Status (1)

Country Link
CN (1) CN110163731B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111210312B (en) * 2020-01-08 2023-12-05 山东汇贸电子口岸有限公司 Distributed online real-time bidding device and method applied to intermediary selection

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635482A (en) * 2003-12-29 2005-07-06 北京中视联数字系统有限公司 A memory management method for embedded system
CN103309745A (en) * 2013-04-19 2013-09-18 无锡成电科大科技发展有限公司 Method and device for distributing virtual resource in cloud architecture
CN104331332A (en) * 2014-11-04 2015-02-04 浪潮电子信息产业股份有限公司 Virtual resource preallocation algorithm based on SLA (Service Level Agreement)
CN105912397A (en) * 2016-03-31 2016-08-31 乐视控股(北京)有限公司 Resources management method and device
CN106293943A (en) * 2016-08-11 2017-01-04 浪潮电子信息产业股份有限公司 A kind of virtual resource allocation method
CN106371907A (en) * 2016-08-30 2017-02-01 乐视控股(北京)有限公司 Method and device for executing task
CN109525581A (en) * 2018-11-19 2019-03-26 中国移动通信集团广东有限公司 A kind of cloud resource security control method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635482A (en) * 2003-12-29 2005-07-06 北京中视联数字系统有限公司 A memory management method for embedded system
CN103309745A (en) * 2013-04-19 2013-09-18 无锡成电科大科技发展有限公司 Method and device for distributing virtual resource in cloud architecture
CN104331332A (en) * 2014-11-04 2015-02-04 浪潮电子信息产业股份有限公司 Virtual resource preallocation algorithm based on SLA (Service Level Agreement)
CN105912397A (en) * 2016-03-31 2016-08-31 乐视控股(北京)有限公司 Resources management method and device
CN106293943A (en) * 2016-08-11 2017-01-04 浪潮电子信息产业股份有限公司 A kind of virtual resource allocation method
CN106371907A (en) * 2016-08-30 2017-02-01 乐视控股(北京)有限公司 Method and device for executing task
CN109525581A (en) * 2018-11-19 2019-03-26 中国移动通信集团广东有限公司 A kind of cloud resource security control method and system

Also Published As

Publication number Publication date
CN110163731A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
US9135041B2 (en) Selecting provisioning targets for new virtual machine instances
CN101118521B (en) System and method for spanning multiple logical sectorization to distributing virtual input-output operation
US9749208B2 (en) Integrated global resource allocation and load balancing
US9092266B2 (en) Scalable scheduling for distributed data processing
US7523454B2 (en) Apparatus and method for routing a transaction to a partitioned server
CN100487659C (en) Method and device for optimizing fractional resource allocation
US20070025381A1 (en) Method and apparatus for allocating processing in a network
CN106453146B (en) Method, system, device and readable storage medium for allocating private cloud computing resources
US11496413B2 (en) Allocating cloud computing resources in a cloud computing environment based on user predictability
JP2001331333A (en) Computer system and method for controlling computer system
KR20170029263A (en) Apparatus and method for load balancing
CN108933829A (en) A kind of load-balancing method and device
CN107105013B (en) File processing method, server, terminal and system
CN112559130B (en) Container distribution method, device, electronic equipment and storage medium
JP6519111B2 (en) Data processing control method, data processing control program and data processing control device
CN108718327B (en) License resource scheduling method and system
CN1602480A (en) Managing storage resources attached to a data network
CA2916258A1 (en) Producer system partitioning among leasing agent systems
CN106952085B (en) Method and device for data storage and service processing
Manikandan et al. Virtualized load balancer for hybrid cloud using genetic algorithm
US8819239B2 (en) Distributed resource management systems and methods for resource management thereof
JPH11509659A (en) Dynamic load balancing
CN110163731B (en) Method, system and storage medium for establishing virtual bidding room of intermediary service supermarket
CN114721824A (en) Resource allocation method, medium and electronic device
CN107276914B (en) Self-service resource allocation scheduling method based on CMDB

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