CN108846093B - Business processing method and system supporting multi-user operation - Google Patents

Business processing method and system supporting multi-user operation Download PDF

Info

Publication number
CN108846093B
CN108846093B CN201810613787.7A CN201810613787A CN108846093B CN 108846093 B CN108846093 B CN 108846093B CN 201810613787 A CN201810613787 A CN 201810613787A CN 108846093 B CN108846093 B CN 108846093B
Authority
CN
China
Prior art keywords
data
clients
ordering
service
client
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
CN201810613787.7A
Other languages
Chinese (zh)
Other versions
CN108846093A (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.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network Technology 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 Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN201810613787.7A priority Critical patent/CN108846093B/en
Publication of CN108846093A publication Critical patent/CN108846093A/en
Application granted granted Critical
Publication of CN108846093B publication Critical patent/CN108846093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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
    • G06Q50/12Hotels or restaurants

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Strategic Management (AREA)
  • Primary Health Care (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a business processing method and a system supporting multi-user operation, wherein each user corresponds to a client, and the method comprises the following steps: loading and displaying a business service page carrying a business processing identifier by the view layers of a plurality of clients, and registering at least one business component included in the business service page in the data layer of each client; the data layers of the clients register in the server by using the service processing identifiers so that the server can establish the association relationship of the clients; according to the service request of any one of the clients, interacting the data layers of the clients with the server according to the incidence relation of the clients to acquire service data returned by the server, and storing the service data in the data layers of the clients; the data layers of the plurality of clients respectively inform the registered at least one service component to acquire service data from the data layers of the clients; and displaying the business data in a business service page by the view layers of the plurality of clients.

Description

Business processing method and system supporting multi-user operation
Technical Field
The invention relates to the field of software, in particular to a service processing method and a service processing system supporting multi-user operation.
Background
The development of internet technology enables various services required by life, such as shopping, ordering, taking out, service providing and the like, to be realized through the internet. The user can select the goods or services of the user's mind for purchase by using the Internet, and the convenient shopping/service process is provided for the user.
In the prior art, when various living services are provided for users, for example, when a plurality of users order food together, a mode that one user performs food ordering operation and other users provide requirements is generally adopted, so that the problems that the food ordering error is not described, the time consumed by one user for operation is long and the like may exist during the operation. Or multiple persons are adopted to order respectively, and the multiple persons are used for ordering comprehensively as final ordering data, but the ordering data of the other side cannot be seen mutually, so that the ordering is repeated, or the ordering data needs to be communicated with each other to determine, and the ordering time is long.
Disclosure of Invention
In view of the above, the present invention is proposed to provide a service processing method and system supporting multi-user operation that overcomes or at least partially solves the above problems.
According to an aspect of the present invention, a service processing method supporting multi-user operation is provided, where each user corresponds to a client, and the method includes:
loading and displaying business service pages carrying business processing identifiers on the view layers of the clients; the method comprises the following steps that a view layer of each client registers at least one business component included in a business service page in a data layer of each client;
the data layers of the clients register in the server by using the service processing identifiers so that the server can establish the association relationship of the clients;
according to a service request triggered by user operation of at least one service component of any one of the plurality of clients, interacting the data layers of the plurality of clients with the server to acquire service data returned by the server according to the established incidence relation of the plurality of clients, and storing the service data in the data layers of the clients;
the data layers of the plurality of clients respectively inform the registered at least one service component to acquire service data from the data layers of the clients;
and displaying the business data in a business service page by the view layers of the plurality of clients.
Optionally, the registering, by the data layer of the multiple clients, in the server by using the service processing identifier, so that the server establishes an association relationship between the multiple clients further includes:
the data layers of the clients are registered in the server by using the service processing identifiers, so that the server stores the clients with the same service processing identifiers in a service processing queue to generate the association relationship of the clients.
Optionally, according to a service request triggered by a user operation of at least one service component of any one of the plurality of clients, interacting the data layers of the plurality of clients with the server to obtain service data of the plurality of clients, which is returned by the server, according to the established association relationship of the plurality of clients, and storing the service data in the data layer of each client further includes:
according to a service request triggered by user operation of at least one service component of any one of a plurality of clients, a data layer of the client sends a service request to a server so that the server can change service data;
and according to the association relationship, the plurality of clients receive the service data updating notification sent by the server according to the service processing queue, send a service data acquisition request to the server to acquire the service data which is returned by the server and integrates the plurality of clients with the same service processing identifier, and store the service data in the data layer of each client.
Optionally, according to a service request triggered by a user operation of at least one service component of any one of the plurality of clients, interacting the data layers of the plurality of clients with the server to obtain service data of the plurality of clients, which is returned by the server, according to the established association relationship of the plurality of clients, and storing the service data in the data layer of each client further includes:
according to a service updating request triggered by user operation of at least one service component of any one of a plurality of clients, interacting data layers of the plurality of clients with a server according to the established incidence relation of the plurality of clients to acquire incremental updating service data which are returned by the server and are synthesized with the plurality of clients;
and performing incremental updating processing on the service data stored in the data layers of the plurality of clients according to the incremental updating service data.
Optionally, registering, by the view layer of each client, at least one service component included in the service page in the data layer of each client further includes:
respectively establishing a registration queue in a data layer of each client, and recording at least one registered service component of each client;
and adding a monitoring event for at least one service component registered by each client, so that a data layer of each client calls the monitoring event to complete the notification of the at least one service component registered by each client.
Optionally, the notifying, by the data layer of the plurality of clients, the registered at least one service component to obtain the service data from the data layer of each client further includes:
and respectively and sequentially calling the monitoring event corresponding to the registered at least one service component recorded in the respective registration queue by the data layers of the plurality of clients, and informing the registered at least one service component to acquire service data from the data layers of the clients.
According to another aspect of the present invention, a method for supporting multiple users to order a meal is provided, where each user corresponds to a client, and the method includes:
loading and displaying ordering pages carrying store table identifications by the view layers of the multiple clients; the method comprises the steps that a view layer of each client registers at least one ordering assembly included in an ordering page in a data layer of each client;
the data layers of the multiple clients are registered in the server by utilizing the shop table identification, so that the server establishes the association relationship of the multiple clients for ordering at the same shop table;
according to an ordering request triggered by user operation of at least one ordering assembly of any one client side in the plurality of client sides, according to the established incidence relation of ordering on the same shop dining table of the plurality of client sides, the data layers of the plurality of client sides interact with the server to obtain ordering data of the plurality of client sides comprehensively returned by the server, and the ordering data are stored in the data layers of the client sides;
the data layers of the plurality of clients respectively inform the registered at least one ordering assembly to acquire ordering data from the data layers of the clients;
and the view layers of the plurality of clients display the ordering data in an ordering page.
Optionally, the ordering component includes at least a menu component and a shopping cart component.
Optionally, the registering, by the data layer of the plurality of clients, in the server by using the store table identifier, so that the server establishes an association relationship that the plurality of clients order at the same store table further includes:
the data layers of the multiple clients are registered in the server by utilizing the shop table identifications, so that the server stores the multiple clients with the same shop table identification in a shop table ordering queue, and the association relation of the multiple clients for ordering at the same shop table is generated.
Optionally, according to an ordering request triggered by a user operation of at least one ordering component of any one of the plurality of clients, according to the established association relationship of the plurality of clients for ordering at the same store table, the data layers of the plurality of clients interact with the server to obtain ordering data of the plurality of clients, which is returned by the server, and the step of storing the ordering data in the data layers of the clients further includes:
according to a dish adding request triggered by a user operating a shopping cart assembly on a ordering page of any client, a data layer of the client sends information of adding dishes to a server so that the server can generate ordering data according to the information of adding dishes;
according to the association relation of ordering at the same shop table, the plurality of clients receive an ordering data updating notice sent by the server according to the ordering queue at the shop table, send ordering data acquisition requests to the server to acquire ordering data of the plurality of clients which are synthesized and returned by the server and have the same shop table, and store the ordering data in the data layer of each client.
Optionally, according to an ordering request triggered by a user operation of at least one ordering component of any one of the plurality of clients, according to the established association relationship of the plurality of clients for ordering at the same store table, the data layers of the plurality of clients interact with the server to obtain ordering data of the plurality of clients, which is returned by the server, and the step of storing the ordering data in the data layers of the clients further includes:
according to an ordering updating request triggered by user operation of at least one ordering assembly of any one client side in the plurality of client sides, according to the established incidence relation of ordering on the same shop dining table of the plurality of client sides, a data layer of the plurality of client sides interacts with the server to obtain incremental updating ordering data which are returned by the server and are integrated with the plurality of client sides;
and performing incremental updating processing on the ordering data stored in the data layers of the plurality of clients according to the incrementally updated ordering data.
Optionally, registering, by the view layer of each client, at least one ordering component included in the ordering page in the data layer of each client further includes:
respectively establishing a registration queue in a data layer of each client, and recording registered menu components and/or shopping cart components of each client;
and adding a monitoring event for the menu component and/or the shopping cart component of each client, so that the data layer of each client calls the corresponding monitoring event to complete the notification of each client menu component and/or shopping cart component.
Optionally, notifying, by the data layers of the plurality of clients, the registered at least one ordering component to obtain ordering data from the data layers of the respective clients, respectively, further includes:
and the data layers of the plurality of clients respectively and sequentially call the monitoring events corresponding to the menu components and/or the shopping cart components recorded in the respective registration queues, and the menu components and/or the shopping cart components are informed to acquire ordering data from the data layers of the clients.
According to another aspect of the present invention, there is provided a service processing system supporting multiple user operations, where each user corresponds to a client, and the service processing system includes multiple user operated clients and servers, where each client includes a view module and a data module:
the view module is suitable for loading and displaying a business service page carrying a business processing identifier; registering at least one business component included in a business service page in a data module of each client;
the data module is suitable for registering in the server by utilizing the service processing identifier so as to establish the incidence relation of a plurality of clients by the server; according to a service request triggered by the user operation of at least one service component of any one of the plurality of clients, interacting with the server according to the established incidence relation of the plurality of clients to acquire service data of the plurality of clients, which is returned by the server and is synthesized, and storing the service data in a data module of each client; respectively informing at least one registered service component to acquire service data from the data module of each client;
the view module is also suitable for displaying the business data in a business service page;
the server is suitable for registering by using the service processing identifiers according to the data modules of the plurality of clients and establishing the association relation of the plurality of clients; and interacting with the data modules of the plurality of clients, and returning and integrating the service data of the plurality of clients.
Optionally, the server is further adapted to: and storing a plurality of clients with the same service processing identifier in a service processing queue to generate the association relationship of the plurality of clients.
Optionally, the data module is further adapted to: sending a service request to a server according to a service request triggered by user operation of at least one service component of any one of a plurality of clients so that the server can change service data; receiving a service data updating notice sent by the server according to the service processing queue according to the incidence relation, sending a service data acquisition request to the server to acquire service data of a plurality of integrated clients with the same service processing identification returned by the server, and storing the service data in a data module of each client;
the server is further adapted to: and sending a service data updating notice to the plurality of clients according to the service processing queue, receiving service data acquisition requests of the plurality of clients, and returning service data of the plurality of clients which are integrated and have the same service processing identifier.
Optionally, the data module is further adapted to:
according to a service updating request triggered by user operation of at least one service component of any one of the plurality of clients, interacting with the server according to the established incidence relation of the plurality of clients to acquire incremental updating service data which are returned by the server and are synthesized with the plurality of clients; and performing incremental updating processing on the service data stored in the data modules of the plurality of clients according to the incremental updating service data.
Optionally, the data module is further adapted to: establishing a registration queue, and recording at least one registered service component of each client;
the view module is further adapted to: and adding a monitoring event for at least one service component registered by each client, so that a data module of each client calls the monitoring event to finish the notification of the registered at least one service component.
Optionally, the data module is further adapted to: and respectively and sequentially calling the monitoring events corresponding to the registered at least one service component recorded in the respective registration queue, and informing the registered at least one service component to acquire service data from the data module of each client.
According to another aspect of the present invention, a system supporting multi-user ordering is provided, where each user corresponds to a client, and the system includes a client and a server operated by multiple users, where each client includes an ordering view module and an ordering data module:
the ordering view module is suitable for an ordering page carrying a shop dining table identifier, and registers at least one ordering component included in the ordering page in an ordering data module of each client;
the ordering data module is suitable for registering in the server by utilizing the shop dining table identification so as to establish the association relationship of ordering by a plurality of clients in the same shop dining table by the server; according to an ordering request triggered by user operation of at least one ordering component of any one client side in the plurality of client sides, interacting with the server according to the established incidence relation of ordering on the same shop dining table of the plurality of client sides to obtain ordering data of the plurality of client sides comprehensively returned by the server, and storing the ordering data in an ordering data module of each client side; respectively informing at least one registered ordering component to acquire ordering data from ordering data modules of the clients;
the ordering view module is also suitable for displaying the ordering data in an ordering page;
the server is suitable for performing registration operation by utilizing the shop dining table identification according to the ordering data modules of the plurality of clients and establishing the association relation of ordering at the same shop dining table by the plurality of clients; and interacting with the ordering data modules of the plurality of clients and returning and integrating the ordering data of the plurality of clients.
Optionally, the ordering component includes at least a menu component and a shopping cart component.
Optionally, the server is further adapted to: and storing a plurality of clients identified by the same shop dining table in a shop dining table ordering queue to generate the association relation of the plurality of clients ordering at the same shop dining table.
Optionally, the meal ordering data module is further adapted to: according to a dish adding request triggered by a user operating a shopping cart assembly on a ordering page of any client, sending dish adding information to a server, so that the server generates ordering data according to the dish adding information; receiving an ordering data updating notice sent by a server according to an ordering queue of a shop dining table according to the incidence relation of ordering at the same shop dining table, sending an ordering data acquisition request to the server to acquire ordering data of a plurality of comprehensive clients with the same shop dining table returned by the server, and storing the ordering data in an ordering data module of each client;
the server is further adapted to: sending ordering data updating notifications to the plurality of clients according to the shop dining table ordering queues, receiving ordering data acquisition requests of the plurality of clients, and returning ordering data of the plurality of clients which are integrated and have the same shop dining table.
Optionally, the meal ordering data module is further adapted to:
interacting with a server according to an ordering updating request triggered by user operation of at least one ordering component of any one client in a plurality of clients and according to the established association relation of ordering at the same shop dining table of the plurality of clients to acquire incremental updating ordering data of the plurality of clients, returned by the server, and synthesized; and performing incremental updating processing on the ordering data stored in the ordering data modules of the plurality of clients according to the incrementally updated ordering data.
Optionally, the meal ordering data module is further adapted to: respectively establishing a registration queue, and recording registered menu components and/or shopping cart components of each client;
the ordering view module is further adapted to: and adding monitoring events for the menu components and/or the shopping cart components of the clients, so that the ordering data module of each client calls the corresponding monitoring events to complete the notification of the menu components and/or the shopping cart components of each client.
Optionally, the meal ordering data module is further adapted to: and respectively and sequentially calling the monitoring events corresponding to the menu components and/or the shopping cart components recorded in the respective registration queues, and informing the menu components and/or the shopping cart components to acquire ordering data from the ordering data modules of the clients.
According to still another aspect of the present invention, there is provided an electronic apparatus including: the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the service processing method supporting the multi-user operation.
According to another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, where the executable instruction causes a processor to execute operations corresponding to the service processing method supporting multi-user operation as described above.
According to still another aspect of the present invention, there is provided an electronic apparatus including: the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the corresponding operation of the multi-user ordering supporting method.
According to yet another aspect of the present invention, a computer storage medium is provided, in which at least one executable instruction is stored, and the executable instruction causes a processor to perform operations corresponding to the method for supporting multi-user food ordering as described above.
According to the business processing method and system supporting multi-user operation, each user corresponds to one client, and the view layers of the multiple clients load and display business service pages carrying business processing identifiers; the method comprises the following steps that a view layer of each client registers at least one business component included in a business service page in a data layer of each client; the data layers of the clients register in the server by using the service processing identifiers so that the server can establish the association relationship of the clients; according to a service request triggered by user operation of at least one service component of any one of the plurality of clients, interacting the data layers of the plurality of clients with the server to acquire service data returned by the server according to the established incidence relation of the plurality of clients, and storing the service data in the data layers of the clients; the data layers of the plurality of clients respectively inform the registered at least one service component to acquire service data from the data layers of the clients; and displaying the business data in a business service page by the view layers of the plurality of clients. The invention establishes the incidence relation of a plurality of clients in the server according to the service processing identifier. When a service request is triggered in any client, the data layers of the clients interact with the server according to the association relationship, the service data of the clients can be obtained and integrated, which is returned by the server, so that the same service supporting multi-user operation is realized, and the data among the users are synchronized, so that the consistency and the synchronization of the service data of the multi-user in the service processing process are realized, and the multi-user can know the final integrated service data in real time. Furthermore, the invention does not need all the business components to interact with the server, and the business data is stored in the client data layer, thereby reducing the coupling degree of all the business components in the page and the server and being beneficial to the expansion of business services. The service components in the page are registered in the client data layer, and when the service data are changed, the client data layer informs the registered service components to acquire the service data from the client data layer, so that the interaction between a plurality of service components and the server is reduced, and the service data can be acquired more conveniently.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 illustrates a flow diagram of a traffic handling method supporting multi-user operation according to one embodiment of the present invention;
FIG. 2 illustrates a flow diagram of a method of supporting multi-user ordering according to one embodiment of the invention;
FIG. 3 illustrates a flow diagram supporting a multi-user in-order dish serving process according to one embodiment of the invention;
FIG. 4 illustrates a flow diagram supporting a single client menu refresh process in a multi-user meal order according to one embodiment of the present invention;
FIG. 5 illustrates a flow diagram supporting a single client plus menu process in a multi-user meal order according to one embodiment of the invention;
FIG. 6 illustrates a functional block diagram of a business processing system supporting multi-user operation in accordance with one embodiment of the present invention;
FIG. 7 illustrates a functional block diagram of a system that supports multi-user ordering according to one embodiment of the present invention;
fig. 8 shows a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 shows a flowchart of a traffic processing method supporting multi-user operation according to one embodiment of the present invention. As shown in fig. 1, the service processing method supporting multi-user operation specifically includes the following steps:
step S101, loading and displaying business service pages carrying business processing identifiers on the view layers of a plurality of clients.
In the embodiment, the business service can be any business service provided for multiple users to buy articles, foods or services together by using a network, such as services of shopping in the same store by multiple users on line, ordering food at the same table by multiple users, purchasing services by multiple users in the same spa store, and the like, and entertainment/life/ticketing/tourism services consumed by various users.
For multiple users, each user corresponds to a client. And each client performs service processing on the same service under the operation of each user. The business processing identifier can be an identifier used for marking a multi-user business processing service, such as a shop, a dining table number of the shop, a room number of a spa store, and the like, and a plurality of users processing the same business service can be divided according to the same business processing identifier. When the business service page is initialized or refreshed due to data change, the business service page is loaded and displayed by the view layers of the plurality of clients. The business service page carries the business processing identifier, so that the association relationship can be conveniently established for a plurality of clients processing the same business service in the follow-up process. The view layer of each client is mainly used for storing a plurality of business components so as to display business service pages through the business components. Specifically, the view layers of the multiple clients load each business component in the business service page, render the business service page, and then display the business service page.
The business service page comprises a plurality of business components, each business component is divided according to the layout, the business range and the like of the business service page, and if the business service is a purchased commodity, the business components can comprise a merchant commodity display component, a shopping cart component and the like; when the service is a predetermined box, the service components may include, for example, a box list component, a selection component, and the like; when the business service is ordering, the business components can include, for example, menu components, shopping cart components, and the like. The business components can include different contents, for example, the merchant commodity display component can include commodity ID, name, text description, picture, price, stock information and the like; the shopping cart assembly comprises the ID, quantity, total price, preferential amount and the like of the commodities selected by the user. The content included in each business component is related to a specific business service, and is not limited herein. Further, when the business service page is initialized, at least one business component included in the business service page needs to be registered in a data layer of each client. The data layer of the client is used for storing the service data, the service component acquires the service data from the data layer of each client instead of directly acquiring the service data from the server, the coupling degree of the service component and the server is reduced, and the service component is convenient to modify, add, delete and the like according to service requirements. And the view layer of each client registers at least one business component included in the business service page in the data layer of each client. When the business components are registered in the data layer of each client, a registration queue is respectively established in the data layer of each client, and at least one business component registered by each client is recorded. And meanwhile, adding a monitoring event for at least one service component registered by each client, so that a data layer of each client calls the monitoring event to complete the notification of the at least one service component registered by each client. For example, an array or a storage queue is established in the data layer of each client, and information of each registered service component of each client is recorded in the array or the storage queue, respectively. The information includes, for example, the names of registered business components, respective corresponding listening events, and the like. By registering at least one service component of each client, the subsequent notification of the registered service component of each client after the data layer of each client acquires the service data can be completed, and the registered service component of each client acquires the service data from the data layer of each client.
Step S102, the data layers of the plurality of clients register in the server by using the service processing identifiers, so that the server establishes the association relationship of the plurality of clients.
The data layers of the clients can be registered in the server by using the service processing identifiers, that is, the service processing identifiers carried by the service pages of the clients are sent to the server for registration, and the server can store the clients with the same service processing identifiers in one service processing queue according to the service processing identifiers, so that the association relationship of the clients can be generated. Multiple clients in a business process queue are clients that process the same business service. If the business processing identifier is the dining table number of the shop, the client sides of the same dining table number of the shop are stored in a business processing queue; the business process is identified as the room number of the spa store, clients of the same spa store room number are saved in a business process queue, and so on.
Step S103, according to a service request triggered by the user operation of at least one service component of any one of the plurality of clients, interacting the data layers of the plurality of clients with the server to acquire service data returned by the server according to the established incidence relation of the plurality of clients, and storing the service data in the data layers of the clients.
The method comprises the steps that a plurality of users can operate any business component on each business service page according to own requirements, and according to a business request triggered by user operation of at least one business component of any client in a plurality of clients, a data layer of the client sends the business request to a server so that the server can change business data. If the business service page is a shopping page, a plurality of users can browse through the shopping page and operate the shopping cart assembly to select goods. When a user of any client operates a shopping cart assembly to select commodities, a business request for adding the commodities is triggered, the business request is sent to a server by a data layer of the client, and the server changes data in the shopping cart according to the business request of the client. After the server changes the service data, according to the incidence relation, the plurality of clients all receive service data updating notifications sent by the server according to the service processing queue. The clients operated by a plurality of users include client a, client b, client c, client d and client e. The client a, the client b and the client c have an association relationship, that is, the service processing identifiers are the same, and the client d and the client e have an association relationship, that is, the service processing identifiers are the same. When the user operation of the client a triggers a service request, the data layer of the client a sends the service request to the server, and the server changes the service data. After that, the client b and the client c which have an association relationship with the client a receive the service data update notification sent by the server, and the client d and the client e do not receive any notification. Here, the client a may also receive a service data update notification sent by the server to the client a according to the service processing queue, so as to prevent problems such as data asynchronism and the like caused by that two or more clients send service requests at the same time and do not perform the service data update notification to the client sending the service request. And the client side which receives the service data updating notification sends a service data acquisition request to the server to acquire the service data which is returned by the server and integrates a plurality of client sides with the same service processing identification, and the service data is stored in the data layer of each client side. The client a, the client b and the client c send service data acquisition requests to the server, and the acquired service data which are returned by the server and are combined with the sum of all service data in shopping carts of the client a, the client b and the client c are stored in data layers of the respective clients, so that the data in the data layers of the clients are synchronous, and the simultaneous operation service processing of multiple users is realized. The server can be realized in different modes according to the service data updating notification sent by the service processing queue, for example, the client is a web application such as a PC, and whether the service data is updated can be judged in a polling server interface mode; the client is applied to the IOS system and utilizes a pushing mechanism of the apple system; the client is an application of the android system, and utilizes a message push mechanism of *** or a push mechanism provided by a mobile equipment manufacturer, and the like, which is not limited here.
Each user can operate any business component on each business service page, different business requests can be triggered by different operations on the same business component, different business requests are triggered by different operations on different business components, and specific business requests are related to the content of business services, specific business components, different operations and the like. The service request may generate service data to be submitted to the server, may request service data from the server, or both. And according to different service requests, the data layers of the multiple clients interact with the server respectively, and service data returned by the server are acquired. If a certain client only requests to obtain the service data from the server and does not update the service data, only the data layer of the client sends the service data obtaining request to the server, the returned service data is obtained from the server, and other clients which are associated with the client do not receive the service data updating notification sent by the server. In this embodiment, after the service request submits the service data to the server to generate service data update, data synchronization needs to be performed at the multiple clients, and the server sends a service data update notification to the multiple clients according to the service processing queue according to the association relationship. The server provides a data service interface which is in butt joint with the data layers of the plurality of clients, receives the service requests sent by the data layers of the plurality of clients and returns the service requests to the service data corresponding to the data layers of the plurality of clients. According to different service requests, the service data returned by the server comprises service data required by the service requests, feedback information of the server after the service requests are submitted to the server, updated service data integrating a plurality of clients and the like. The service data are stored in the data layer of each client, so that the data layer of each client can integrate and process the respective service data according to service requirements, and the like, thereby facilitating the acquisition of service components.
And interacting the data layers of the plurality of clients with the server according to the service updating request triggered by the user operation of at least one service component of any one of the plurality of clients and according to the established incidence relation of the plurality of clients to acquire incremental updating service data returned by the server. If the user of the client a operates the shopping cart assembly to purchase commodities, a business request for commodity addition is triggered, the commodity a is requested to be added, the user of the client b operates the shopping cart assembly to purchase commodities, a business request for commodity addition is triggered, the commodity b is requested to be added, the client a, the client b and the client c have an association relationship, and the shopping carts of the client a, the client b and the client c need to display the total information of the commodities selected by the 3 users. Before the user of the client a and the user of the client b add the shopping cart assembly, the shopping cart assembly of the 3 clients already comprises the commodity information of the commodity h and the commodity j. According to the service data updating notification sent by the server and the established incidence relation of the plurality of clients, when the client a, the client b and the client c send service data acquisition requests to the server, the service data acquisition requests can be sent by carrying shopping cart data existing in the respective clients, and incremental updating service data returned by the server is acquired. If the client c can send a service data acquisition request carrying the commodity information of the commodity h and the commodity j, the server can only return the commodity information of the commodity a and the commodity b updated in increments, the flow of data transmission can be effectively reduced, and the response speed is increased. And each client performs incremental updating processing on the service data stored in the data layer of each client according to the incremental updating service data returned by each client, and integrates the incremental updating service data with the service data stored in the data layer of each client to obtain the latest service data integrating the service data of a plurality of clients.
Step S104, the data layers of the plurality of clients respectively inform the registered at least one service component to acquire service data from the data layers of the clients.
After the data layers of the plurality of clients store the latest service data, namely after the data layers of the plurality of clients are changed, the data layers of the plurality of clients respectively inform at least one service component registered by each client to respectively acquire the service data from the data layers of the clients. Specifically, the data layers of the multiple clients respectively and sequentially call the monitoring event corresponding to the registered at least one service component recorded in the respective registration queues, and notify the registered at least one service component to acquire service data from the data layer of each client. If the merchant commodity display component and the shopping cart component are recorded in the registration queue of the data layer of each client, the data layer of each client can sequentially call the monitoring events corresponding to the merchant commodity display component and the shopping cart component of each client according to the sequence during registration, and the process that the merchant commodity display component and the shopping cart component of each client acquire service data from the data layer of each client is realized by calling the functions of the monitoring events.
Step S105, displaying the business data in the business service page by the view layers of the plurality of clients.
After the latest business data obtained by each business component is loaded by the view layers of the plurality of clients, the latest business data is displayed in each business service page, so that a plurality of users can know the business data generated by each user operation in real time conveniently, and the business service operation is completed together.
According to the business processing method supporting multi-user operation, each user corresponds to one client, and the view layers of the clients load and display business service pages carrying business processing identifiers; the method comprises the following steps that a view layer of each client registers at least one business component included in a business service page in a data layer of each client; the data layers of the clients register in the server by using the service processing identifiers so that the server can establish the association relationship of the clients; according to a service request triggered by user operation of at least one service component of any one of the plurality of clients, interacting the data layers of the plurality of clients with the server to acquire service data returned by the server according to the established incidence relation of the plurality of clients, and storing the service data in the data layers of the clients; the data layers of the plurality of clients respectively inform the registered at least one service component to acquire service data from the data layers of the clients; and displaying the business data in a business service page by the view layers of the plurality of clients. The invention establishes the incidence relation of a plurality of clients in the server according to the service processing identifier. When a service request is triggered in any client, the data layers of the clients interact with the server according to the association relationship, the service data of the clients can be obtained and integrated, which is returned by the server, so that the same service supporting multi-user operation is realized, and the data among the users are synchronized, so that the consistency and the synchronization of the service data of the multi-user in the service processing process are realized, and the multi-user can know the final integrated service data in real time. Furthermore, the invention does not need all the business components to interact with the server, and the business data is stored in the client data layer, thereby reducing the coupling degree of all the business components in the page and the server and being beneficial to the expansion of business services. The service components in the page are registered in the client data layer, and when the service data are changed, the client data layer informs the registered service components to acquire the service data from the client data layer, so that the interaction between a plurality of service components and the server is reduced, and the service data can be acquired more conveniently.
In order to specifically describe the service processing method supporting multi-user operation provided by the invention in combination with a scene, the embodiment of the invention also provides a method supporting multi-user ordering in a catering scene.
FIG. 2 shows a flow diagram of a method of supporting multi-user ordering according to one embodiment of the invention. As shown in fig. 2, the method for supporting multi-user meal ordering specifically includes the following steps:
step S201, the view layers of a plurality of clients load and display the ordering pages carrying the shop dining table identifiers.
For multiple users, each user corresponds to a client. Each client can perform ordering processing on the dining table of the same shop under the operation of each user. The shop table identifier is an identifier which can determine a food ordering position, such as a table number or a room number of a shop. In the present embodiment, a description will be given taking a table number of a store as a table identifier. According to the same shop table identification, a plurality of users ordering the same shop table can be divided. When the ordering page is initialized or updated and refreshed due to ordering data, the ordering page is loaded and displayed by the view layers of the plurality of clients. The ordering page carries the shop table identification, so that the association relationship can be conveniently established for a plurality of clients ordering the same shop table at a later time. The view layers of the clients are mainly used for storing a plurality of ordering components so that ordering pages can be displayed through the ordering components. Specifically, the view layers of the plurality of clients load each ordering component in the ordering page, render the ordering page, and then display the ordering page.
The ordering page displays various dish information for the user to select according to the needs. The ordering assembly at least comprises a menu assembly and a shopping cart assembly. The menu components comprise menu version, menu category, menu ID, menu detail (characters and/or pictures), purchasable number of copies, menu unit price and other menu information; the shopping cart component includes information such as dish ID, dish details, number of purchased copies, amount of consumption, etc. that the user has selected. The ordering component can also include, for example, a merchant information component (including merchant basic information, offer information, etc.), and the like. And the view layers of the plurality of clients respectively load the ordering components of the ordering pages, and display the corresponding ordering data on the ordering pages, so that each user can select proper dishes on the ordering pages according to the needs of the user.
When the ordering page is initialized, at least one ordering component included in the ordering page needs to be registered in a data layer of each client. The data layer of the client side is used for storing ordering data, the ordering assembly acquires the ordering data from the data layer of each client side instead of directly acquiring the ordering data from the server, the coupling degree of the ordering assembly and the server is reduced, and the ordering assembly can be modified, added, deleted and the like according to ordering requirements. And the view layers of the clients register at least one ordering component included in the ordering page in the data layers of the clients. When the menu component and/or the shopping cart component in the ordering component are registered in the data layer of each client, a registration queue is established in the data layer of each client, and the registered menu component and/or shopping cart component of each client is recorded. And then adding monitoring events for the menu components and/or the shopping cart components of each client, so that the data layer of each client calls the corresponding monitoring events to complete the notification of the menu components and/or the shopping cart components of each client. Specifically, an array or a storage queue is established in a data layer of each client, and information of menu components and/or shopping cart components of each client is recorded in the array or the storage queue. The information includes the names of menu components and/or shopping cart components, their corresponding listening events, etc. The monitoring event can be a callable function, so that the monitoring event can be conveniently called, a data layer of each subsequent client is notified to the menu component and/or the shopping cart component of each client after the data layer of each client acquires the ordering data, and the menu component and/or the shopping cart component of each client acquires the ordering data from the data layer of each client.
Step S202, the data layers of the clients are registered in the server by utilizing the shop table identification, so that the server establishes the association relationship of the clients for ordering at the same shop table.
The data layers of the multiple clients can be registered in the server by utilizing the shop table identification, namely, the shop table identification carried by each client ordering page is sent to the server for registration, and the server can store the multiple clients with the same shop table identification in a shop table ordering queue according to the shop table identification to generate the association relation of the multiple clients for ordering at the same shop table. The plurality of clients in the ordering queue of the shop dining table are clients ordering at the same shop dining table.
Step S203, according to an ordering request triggered by user operation of at least one ordering component of any one of the plurality of clients, according to the established incidence relation of ordering on the same shop dining table of the plurality of clients, the data layers of the plurality of clients interact with the server to obtain ordering data returned by the server, and the ordering data is stored in the data layers of the clients.
The method comprises the steps that a plurality of users can operate any ordering assembly on respective ordering pages according to own requirements, and according to an ordering request triggered by user operation of at least one ordering assembly of any client side in a plurality of client sides, the data layer of the client side sends the ordering request to a server to update ordering data of the server. Taking a shopping cart assembly as an example, according to a dish adding request triggered by a user operating the shopping cart assembly at a ordering page of any client, a data layer of the client sends information of adding dishes to a server, so that the server generates ordering data according to the information of adding dishes. The clients operated by a plurality of users include client a, client b, client c, client d and client e. The client a, the client b and the client c have an association relationship of ordering at the same shop table, and the client d and the client e have an association relationship of ordering at the same shop table. When the user operation of the client a triggers a dish adding request, the data layer of the client a sends the dish adding request to the server, and the server changes the shopping cart data. And a plurality of clients having an incidence relation with the client for ordering the food at the same shop table receive the server to update the ordering data sent by the ordering queue at the shop table, send ordering data acquisition requests to the server to acquire the ordering data of the plurality of clients integrating the food at the same shop table returned by the server, and store the ordering data in the data layer of each client. Namely, the client b and the client c which have the same association relation with the client a for ordering food at the dining table of the shop receive the ordering data updating notice sent by the server, and the client d and the client e do not receive any notice. Here, the client a may also receive an ordering data update notification sent by the server to the client a according to the ordering queue of the table in the store, so as to prevent the problems that ordering data is not synchronous and the like due to the fact that two or more clients send dish adding requests at the same time and do not update the ordering data to the clients sending the dish adding requests. And the client receiving the ordering data updating notification sends an ordering data acquisition request to the server to acquire ordering data of a plurality of integrated clients with the same shop dining table returned by the server, and the ordering data is stored in the data layer of each client. The client a, the client b and the client c send ordering data acquisition requests to the server, and the ordering data which are returned by the server and are combined with the sum of all ordering data in shopping carts of the client a, the client b and the client c are stored in data layers of the respective clients, so that the ordering data in the data layers of the clients are synchronous, and multi-user ordering is realized. The above processing flow may refer to the flowchart shown in fig. 3. The server can be realized in different modes according to ordering data updating notifications sent by the ordering queue of the dining table of the shop, for example, the client is a web application such as a PC (personal computer), and whether business data is updated or not can be judged in a polling server interface mode; the client is applied to the IOS system and utilizes a pushing mechanism of the apple system; the client is an application of the android system, and utilizes a message push mechanism of *** or a push mechanism provided by a mobile equipment manufacturer, and the like, which is not limited here.
Furthermore, each user can operate any ordering component on each ordering page to trigger different ordering requests, for example, the menu component is refreshed to trigger a menu refreshing request, the request only requests the server to acquire menu data, and the menu data is not updated, the menu data acquisition request can be sent to the server only by the data layer of the client terminal triggering the request, the returned menu data is acquired from the server, and other client terminals having an association relation with the client terminal for ordering at the same shop dining table cannot receive ordering data updating notifications sent by the server. In this embodiment, after the ordering request submits ordering data to the server to generate ordering data update, the ordering data needs to be synchronized at a plurality of clients, and the server sends ordering data update notifications to the plurality of clients according to the ordering queue at the dining table of the shop according to the association relationship of ordering at the dining table of the same shop. The server provides a data service interface which is in butt joint with the data layers of the plurality of clients, receives the ordering requests sent by the data layers of the plurality of clients and returns the ordering data corresponding to the data layers of the plurality of clients.
Further, according to an ordering update request triggered by user operation of at least one ordering component of any one of the plurality of clients, interaction is carried out between the data layers of the plurality of clients and the server to acquire incremental update ordering data returned by the server according to the established association relationship of the plurality of clients for ordering at the same shop dining table. If the user of the client a operates the shopping cart assembly to add dishes, triggers a dish adding request, requests to add dishes a, the user of the client b operates the shopping cart assembly to add dishes, triggers a dish adding request, requests to add dishes b, the client a, the client b and the client c have an association relationship of ordering dishes at the same store table, and the shopping carts of the client a, the client b and the client c need to display the sum of the information of the dishes selected by the 3 users. Before the users of the client a and the client b add dishes to the shopping cart assembly, the shopping cart assembly of 3 clients already comprises the dish information of dish h and dish j. According to the ordering data updating notification sent by the server and according to the established incidence relation of the plurality of clients, when the client a, the client b and the client c send ordering data acquisition requests to the server, the ordering data acquisition requests can be sent by carrying shopping cart data existing in the respective clients, and incremental updating ordering data returned by the server is acquired. If the client c can send the ordering data acquisition request carrying the dish information of the dish h and the dish j, the server can only return the shopping cart information of the dish a and the dish b updated in increments, so that the flow of data transmission can be effectively reduced, and the response speed is improved. And each client performs incremental updating processing on the shopping cart data stored in the data layer of each client according to the incremental updating shopping cart data returned by each client, and integrates the incrementally updated shopping cart data with the shopping cart data stored in the data layer of each client to obtain the latest shopping cart data integrating the service data of a plurality of clients.
Specifically, for a food ordering request triggered by a user operating a menu component and a shopping cart component in a single client, the data layer of the client interacts with the server to obtain corresponding food ordering data, and the processing is as follows:
as shown in the flowchart of fig. 4, after the menu component is registered in the data layer of the client, a menu refreshing request triggered by the user operating the menu component on the ordering page is received, the data layer of the client requests the server for new menu data, and the data layer of the client can send the existing menu version to the server, so that the server can compare the existing menu version with the latest menu version and then return the latest menu data. And after the data layer of the client receives the latest menu data returned by the server, the menu data originally stored in the data layer of the client is updated to the latest menu data. And the data layer of the client informs the menu component to acquire the latest menu data. When the server compares the existing menu version with the latest menu version and finds that the versions are consistent, the latest menu data is not returned, and only the data layer of the client side is informed that the stored menu data is the latest menu data. The data layer of the client does not need to integrate the menu data again, can inform the menu component, and directly obtains the menu data to display on the ordering page. Further, the menu versions sent by the data layer of the client can be stored in various ways to distinguish different menu versions of the same merchant. For example, the menu version is obtained by splicing merchant numbers and the time set by the menu, the menu version is recorded by adopting a globally unique integer, and when the menu data changes, the integer is automatically increased upwards to obtain a new menu version.
As shown in the flowchart of fig. 5, after the shopping cart assembly is registered in the data layer of the client, a dish adding request triggered by the user operating the shopping cart assembly on the ordering page is received; the data layer of the client sends the information of the added dishes to the server, so that the server generates ordering data according to the information of the added dishes and returns shopping cart data after the dish addition is successful; and the data layer of the client receives the shopping cart data returned by the server and updates the shopping cart data stored in the data layer of the client. And the data layer of the client informs the shopping cart component to acquire the latest shopping cart data to display on the ordering page. Further, the dish ID in the dish information sent by the data layer of the client can be stored in various ways to distinguish different dishes of the same merchant. For example, the number of a merchant and the time of putting on the shelf or modifying the dish are spliced to obtain the ID of the dish, the ID of the dish is recorded by adopting a globally unique integer, and when the dish is newly added, the integer is automatically added upwards to obtain the ID of the new dish.
After receiving a menu refreshing request triggered by a user operating a menu component on a ordering page, the data layer of the client receives the latest menu data returned by the server, and the data layer of the client also receives shopping cart data returned by the server. If the latest menu data comprises that a certain dish is changed to buy one and send one, when the shopping cart data comprises 1 dish, the shopping cart data is updated to 2 dishes, but the consumption amount is not changed. After receiving a dish adding request triggered by a user operating a shopping cart assembly on a ordering page, the data layer of the client receives the shopping cart data returned by the server, and the data layer of the client also receives the latest menu data returned by the server. If the shopping cart adds the dish, the dish does not have the number of the stored dishes, the dish can be removed from the menu data or the state of the dish in the menu data can be changed (changed into the non-ordering state), and the like. The above are all illustrations, and reference can be made to the flow charts of fig. 4 and 5.
Step S204, the data layers of the plurality of clients respectively inform the registered at least one ordering component to acquire ordering data from the data layers of the clients.
After the latest meal ordering data are stored in the data layers of the plurality of clients, namely after the meal ordering data of the data layers of the plurality of clients are updated, the data layers of the plurality of clients inform the meal ordering component of each client to respectively obtain the meal ordering data from the data layers of the clients. Specifically, the data layers of the plurality of clients respectively and sequentially call the menu components and/or monitoring events corresponding to the shopping cart components recorded in the respective registration queues, and the menu components and/or the shopping cart components of the clients are notified to acquire corresponding menu data or shopping cart data from the data layers of the respective clients.
In step S205, the food ordering data is displayed in a food ordering page by the view layers of the multiple clients.
And the view layers of the plurality of clients respectively load the latest meal ordering data acquired by the meal ordering assemblies such as the respective menu assemblies and shopping cart assemblies, and the latest meal ordering data are displayed on respective meal ordering pages. The method and the device are convenient for a plurality of users to see the common ordering information of the plurality of users in real time and finish ordering operation together.
According to the multi-user ordering supporting method provided by the invention, the incidence relation of ordering at the same shop table by a plurality of clients is established at the server according to the shop table identification. When a food ordering request is triggered in any client, the data layers of the plurality of clients interact with the server according to the association relationship, food ordering data of the plurality of clients which are comprehensively returned by the server can be obtained, multi-user food ordering is supported, food ordering data among the plurality of users are synchronous, consistency and synchronism of the food ordering data of the plurality of users in the food ordering process are kept, the problems of repeated food ordering and the like are avoided, and the food ordering efficiency is improved. Furthermore, the invention does not need each ordering component to interact with the server, and ordering data is stored in the data layer of the client, thereby reducing the coupling degree of each ordering component in the page and the server and being beneficial to the expansion of ordering service. And according to different ordering requirements, the ordering components are added or modified and deleted, so that the influence on the codes is small. The ordering assembly in the page is registered in the data layer of the client, and when the ordering data is changed, the data layer of the client informs the registered ordering assembly to acquire the ordering data from the data layer of the client, so that the interaction between a plurality of ordering assemblies and the server is reduced, and the ordering data can be acquired more conveniently.
Figure 6 illustrates a functional block diagram of a traffic processing system supporting multi-user operation according to one embodiment of the present invention. As shown in fig. 6, the business processing system supporting multi-user operation includes a client 610 and a server 620 operated by multiple users, each user corresponds to a client, wherein each client 610 includes a view module 611 and a data module 612.
The view module 611 is adapted to: loading and displaying a business service page carrying a business processing identifier; at least one business component included in the business service page is registered in the data module 612 of each client.
The data module 612 is adapted to: registering at the server 620 by using the service processing identifier so that the server 620 establishes an association relationship of a plurality of clients; a data module 612 that interacts with the server 620 according to a service request triggered by a user operation of at least one service component of any one of the plurality of clients and according to the established association relationship of the plurality of clients to acquire service data of the plurality of clients, which is returned by the server 620 and is integrated with the plurality of clients, and stores the service data in each client; the registered at least one service component is notified to obtain service data from the data module 612 of each client, respectively.
The view module 611 is further adapted to: and displaying the business data in a business service page.
The server 620 is adapted to: performing registration operation by using the service processing identifier according to the data modules 612 of the plurality of clients, and establishing association relations of the plurality of clients; and interacting with the data modules 612 of the plurality of clients, and returning and integrating the service data of the plurality of clients.
Optionally, the server 620 is further adapted to: and storing a plurality of clients with the same service processing identifier in a service processing queue to generate the association relationship of the plurality of clients.
Optionally, the data module 612 is further adapted to: according to a service request triggered by user operation of at least one service component of any one of the plurality of clients, sending a service request to the server 620 so that the server 620 can change service data; according to the association relationship, the receiving server 620 updates the notification according to the service data sent by the service processing queue, and sends a service data obtaining request to the server 620 to obtain the service data of the multiple integrated clients with the same service processing identifier returned by the server 620, and stores the service data in the data module 612 of each client.
Optionally, the server 620 is further adapted to: and sending a service data updating notice to the plurality of clients according to the service processing queue, receiving service data acquisition requests of the plurality of clients, and returning service data of the plurality of clients which are integrated and have the same service processing identifier.
Optionally, the data module 612 is further adapted to: interacting with the server 620 according to a service updating request triggered by user operation of at least one service component of any one of the plurality of clients and according to the established incidence relation of the plurality of clients to acquire incremental updating service data of the plurality of clients comprehensively returned by the server 620; the business data stored in the data module 612 of the plurality of clients is subjected to incremental updating processing according to the incremental updating business data
Optionally, the data module 612 is further adapted to: and establishing a registration queue, and recording at least one service component registered by each client. The view module 611 is further adapted to: and adding a listening event for the at least one service component registered by each client, so that the data module 612 of each client calls the listening event to finish the notification of the at least one registered service component.
Optionally, the data module 612 is further adapted to: and respectively and sequentially calling the monitoring events corresponding to the registered at least one service component recorded in the respective registration queue, and informing the registered at least one service component to acquire service data from the data module 612 of each client.
According to the business processing system supporting multi-user operation, each user corresponds to one client, and the view layers of the clients load and display business service pages carrying business processing identifiers; the method comprises the following steps that a view layer of each client registers at least one business component included in a business service page in a data layer of each client; the data layers of the clients register in the server by using the service processing identifiers so that the server can establish the association relationship of the clients; according to a service request triggered by user operation of at least one service component of any one of the plurality of clients, interacting the data layers of the plurality of clients with the server to acquire service data returned by the server according to the established incidence relation of the plurality of clients, and storing the service data in the data layers of the clients; the data layers of the plurality of clients respectively inform the registered at least one service component to acquire service data from the data layers of the clients; and displaying the business data in a business service page by the view layers of the plurality of clients. The invention establishes the incidence relation of a plurality of clients in the server according to the service processing identifier. When a service request is triggered in any client, the data layers of the clients interact with the server according to the association relationship, the service data of the clients can be obtained and integrated, which is returned by the server, so that the same service supporting multi-user operation is realized, and the data among the users are synchronized, so that the consistency and the synchronization of the service data of the multi-user in the service processing process are realized, and the multi-user can know the final integrated service data in real time. Furthermore, the invention does not need all the business components to interact with the server, and the business data is stored in the client data layer, thereby reducing the coupling degree of all the business components in the page and the server and being beneficial to the expansion of business services. The service components in the page are registered in the client data layer, and when the service data are changed, the client data layer informs the registered service components to acquire the service data from the client data layer, so that the interaction between a plurality of service components and the server is reduced, and the service data can be acquired more conveniently.
FIG. 7 shows a functional block diagram of a system supporting multi-user ordering according to one embodiment of the invention. As shown in fig. 7, the ordering system includes a plurality of clients 710 operated by users, each corresponding to a client, and a server 720, wherein each client 710 includes an ordering view module 711 and an ordering data module 712.
The ordering view module 711 is adapted to: and registering at least one ordering component included in the ordering page in an ordering data module 712 of each client.
The order data module 712 is adapted to: registering at the server 720 by using the shop table identifier, so that the server 720 establishes an association relationship that a plurality of clients order at the same shop table; an ordering data module 712, configured to interact with the server 720 according to an ordering request triggered by a user operation of at least one ordering component of any one of the plurality of clients, according to an established association relationship of the plurality of clients for ordering at the same store dining table, to obtain ordering data of the plurality of clients, which is returned by the server 720, and store the ordering data in each client; respectively informing the registered at least one ordering component to acquire ordering data from the ordering data module 712 of each client;
the ordering view module 711 is further adapted to: and displaying the ordering data in an ordering page.
The server 720 is suitable for establishing the association relationship of ordering at the same shop table by a plurality of clients according to the operation of registering the ordering data modules 712 of the plurality of clients by using the shop table identifications; interacts with the ordering data module 712 of the plurality of clients and returns the ordering data of the plurality of clients.
Optionally, the server 720 is further adapted to: and storing a plurality of clients identified by the same shop dining table in a shop dining table ordering queue to generate the association relation of the plurality of clients ordering at the same shop dining table.
Optionally, the ordering data module 712 is further adapted to: according to a dish adding request triggered by a user operating a shopping cart assembly on a ordering page of any client, sending dish adding information to the server 720, so that the server 720 generates ordering data according to the dish adding information; according to the association relationship of ordering at the same shop table, receiving an ordering data update notification sent by the server 720 according to the ordering queue at the shop table, sending an ordering data acquisition request to the server 720 to acquire ordering data of a plurality of integrated clients with the same shop table returned by the server 720, and storing the ordering data in the ordering data module 712 of each client.
Optionally, the server 720 is further adapted to: sending ordering data updating notifications to the plurality of clients according to the shop dining table ordering queues, receiving ordering data acquisition requests of the plurality of clients, and returning ordering data of the plurality of clients which are integrated and have the same shop dining table.
Optionally, the ordering data module 712 is further adapted to: interacting with the server 720 according to an ordering update request triggered by user operation of at least one ordering component of any one of the plurality of clients and according to the established association relationship of the plurality of clients for ordering at the same shop dining table to acquire incremental update ordering data of the plurality of clients, which are returned by the server 720 and are integrated; and performing incremental updating processing on the ordering data stored in the ordering data module 712 of the plurality of clients according to the incrementally updated ordering data.
Optionally, the ordering data module 712 is further adapted to: and respectively establishing a registration queue, and recording the registered menu components and/or shopping cart components of each client. The ordering view module 711 is further adapted to: and adding a monitoring event for the menu component and/or the shopping cart component of each client, so that the ordering data module 712 of each client calls the corresponding monitoring event to complete the notification of each client menu component and/or shopping cart component.
Optionally, the ordering data module 712 is further adapted to: and calling the monitoring events corresponding to the menu components and/or the shopping cart components recorded in the respective registration queues in sequence respectively, and informing the menu components and/or the shopping cart components to acquire ordering data from the ordering data module 712 of each client.
According to the multi-user ordering supporting system provided by the invention, the incidence relation of ordering at the same shop table by a plurality of clients is established at the server according to the shop table identification. When a food ordering request is triggered in any client, the data layers of the plurality of clients interact with the server according to the association relationship, food ordering data of the plurality of clients which are comprehensively returned by the server can be obtained, multi-user food ordering is supported, food ordering data among the plurality of users are synchronous, consistency and synchronism of the food ordering data of the plurality of users in the food ordering process are kept, the problems of repeated food ordering and the like are avoided, and the food ordering efficiency is improved. Furthermore, the invention does not need each ordering component to interact with the server, and ordering data is stored in the data layer of the client, thereby reducing the coupling degree of each ordering component in the page and the server and being beneficial to the expansion of ordering service. And according to different ordering requirements, the ordering components are added or modified and deleted, so that the influence on the codes is small. The ordering assembly in the page is registered in the data layer of the client, and when the ordering data is changed, the data layer of the client informs the registered ordering assembly to acquire the ordering data from the data layer of the client, so that the interaction between a plurality of ordering assemblies and the server is reduced, and the ordering data can be acquired more conveniently.
The present application further provides a non-volatile computer storage medium, where at least one executable instruction is stored in the computer storage medium, and the computer executable instruction can execute the service processing method supporting multi-user operation in any of the above method embodiments.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 8, the electronic device may include: a processor (processor)802, a Communications Interface 804, a memory 806, and a communication bus 808.
Wherein:
the processor 802, communication interface 804, and memory 806 communicate with one another via a communication bus 808.
A communication interface 804 for communicating with network elements of other devices, such as clients or other servers.
The processor 802 is configured to execute the program 810, and may specifically perform relevant steps in the service processing method embodiment supporting multi-user operation.
In particular, the program 810 may include program code comprising computer operating instructions.
The processor 802 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
The memory 806 stores a program 810. The memory 806 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 810 may be specifically configured to enable the processor 802 to execute a service processing method supporting multi-user operation in any of the above-described method embodiments. For specific implementation of each step in the program 810, reference may be made to corresponding steps and corresponding descriptions in units in the service processing embodiment supporting multi-user operation, which are not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding process descriptions in the foregoing method embodiments, and are not described herein again.
The invention also provides a nonvolatile computer storage medium, and the computer storage medium stores at least one executable instruction which can execute the method for supporting multi-user meal ordering in any method embodiment.
The present invention also provides a computing device comprising: the processor, the memory and the communication interface complete mutual communication through the communication bus; the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the corresponding operation of the multi-user ordering supporting method. The schematic structure of the computing device is the same as that of the computing device shown in fig. 8, and is not repeated here.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of a traffic processing apparatus supporting multi-user operation according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (30)

1. A business processing method supporting multi-user operation, each user corresponding to a client, the method comprising:
loading and displaying business service pages carrying business processing identifiers on the view layers of the clients; wherein, the view layer of each client registers at least one service component included in the service page in the data layer of each client;
the data layers of the plurality of clients register in the server by using the service processing identifier so that the server establishes the association relationship of the plurality of clients;
according to a service request triggered by user operation of at least one service component of any one of the plurality of clients, interacting the data layers of the plurality of clients with the server according to the established incidence relation of the plurality of clients to acquire service data of the plurality of clients comprehensively returned by the server, and storing the service data in the data layers of the clients;
the data layers of the plurality of clients respectively inform the at least one registered service component to acquire the service data from the data layers of the clients;
and displaying the business data in a business service page by the view layers of the plurality of clients.
2. The method of claim 1, wherein the data layer of the plurality of clients using the business process identifier to register with the server for the server to establish the association relationship of the plurality of clients further comprises:
and the data layers of the plurality of clients register in the server by using the service processing identifiers, so that the server stores the plurality of clients with the same service processing identifiers in one service processing queue to generate the incidence relation of the plurality of clients.
3. The method of claim 2, wherein the step of interacting, according to the established association relationship between the plurality of clients, the data layers of the plurality of clients with the server to obtain the service data of the plurality of clients, which is synthesized and returned by the server, according to the service request triggered by the user operation of the at least one service component of any one of the plurality of clients, and the step of storing the service data in the data layers of the respective clients further comprises:
according to a service request triggered by user operation of at least one service component of any one of a plurality of clients, a data layer of the client sends a service request to a server so that the server can change service data;
and according to the association relationship, the plurality of clients receive the service data updating notification sent by the server according to the service processing queue, send a service data acquisition request to the server to acquire the service data which is returned by the server and integrates the plurality of clients with the same service processing identifier, and store the service data in the data layer of each client.
4. The method according to any one of claims 1 to 3, wherein the step of interacting, according to the established association relationship between the plurality of clients, the data layers of the plurality of clients with the server to obtain the service data of the plurality of clients in a comprehensive manner, the step of storing the service data in the data layers of the respective clients further comprises:
according to a service updating request triggered by user operation of at least one service component of any one of a plurality of clients, interacting data layers of the plurality of clients with a server according to the established incidence relation of the plurality of clients to acquire incremental updating service data which are returned by the server and are synthesized with the plurality of clients;
and performing incremental updating processing on the service data stored in the data layers of the plurality of clients according to the incremental updating service data.
5. The method of claim 1, wherein the registering, by the view layer of each client, at least one business component included in the business service page in the data layer of each client further comprises:
respectively establishing a registration queue in a data layer of each client, and recording at least one registered service component of each client;
and adding a monitoring event for at least one service component registered by each client, so that a data layer of each client calls the monitoring event to complete the notification of the at least one service component registered by each client.
6. The method of claim 5, wherein the data layer of the plurality of clients respectively notifying the registered at least one business component of obtaining the business data from the data layer of each client further comprises:
and respectively and sequentially calling the monitoring event corresponding to the registered at least one service component recorded in the respective registration queue by the data layers of the plurality of clients, and informing the registered at least one service component to acquire the service data from the data layer of each client.
7. A method for supporting multi-user ordering, each user corresponds to a client, and the method comprises the following steps:
loading and displaying ordering pages carrying store table identifications by the view layers of the multiple clients; the view layers of the clients register at least one ordering component included in the ordering page in the data layers of the clients;
the data layers of the multiple clients register in the server by using the shop dining table identification so that the server establishes the association relationship of the multiple clients for ordering food at the same shop dining table;
according to an ordering request triggered by user operation of at least one ordering assembly of any one client side in the plurality of client sides, according to the established incidence relation of ordering on the same shop dining table of the plurality of client sides, the data layers of the plurality of client sides interact with the server to obtain ordering data of the plurality of client sides comprehensively returned by the server, and the ordering data are stored in the data layers of the client sides;
the data layers of the plurality of clients respectively inform the registered at least one ordering component to acquire the ordering data from the data layers of the clients;
and displaying the ordering data in an ordering page by the view layers of the plurality of clients.
8. The method of claim 7, wherein the ordering component comprises at least a menu component and a shopping cart component.
9. The method of claim 8, wherein the data tier of the plurality of clients is registered with the server using the store table identifier for the server to establish an association relationship between the plurality of clients ordering at the same store table further comprises:
and the data layers of the plurality of clients register in the server by utilizing the shop table identification, so that the server stores the plurality of clients of the same shop table identification in a shop table ordering queue, and generates the association relation of the plurality of clients for ordering at the same shop table.
10. The method of claim 9, wherein the step of interacting, according to the established association relationship of the plurality of clients for ordering food at the same shop table according to the food ordering request triggered by the user operation of the at least one food ordering component of any one of the plurality of clients, with the server through the data layers of the plurality of clients to obtain food ordering data of the plurality of clients, and the step of storing the food ordering data in the data layers of the respective clients further comprises:
according to a dish adding request triggered by a user operating a shopping cart assembly on a ordering page of any client, a data layer of the client sends information of adding dishes to a server so that the server can generate ordering data according to the information of adding dishes;
according to the association relation of ordering at the same shop table, the plurality of clients receive an ordering data updating notice sent by the server according to the ordering queue at the shop table, send ordering data acquisition requests to the server to acquire ordering data of the plurality of clients which are synthesized and returned by the server and have the same shop table, and store the ordering data in the data layer of each client.
11. The method according to any one of claims 7 to 10, wherein the step of interacting, according to the established association relationship of the plurality of clients for ordering at the same store table, between the data layers of the plurality of clients and the server to obtain the ordering data of the plurality of clients that are synthesized and returned by the server according to the ordering request triggered by the user operation of at least one ordering component of any one of the plurality of clients further comprises:
according to an ordering updating request triggered by user operation of at least one ordering assembly of any one client side in the plurality of client sides, according to the established incidence relation of ordering on the same shop dining table of the plurality of client sides, a data layer of the plurality of client sides interacts with the server to obtain incremental updating ordering data which are returned by the server and are integrated with the plurality of client sides;
and performing incremental updating processing on the ordering data stored in the data layers of the plurality of clients according to the incrementally updated ordering data.
12. The method of claim 8, wherein registering, by the view layer of each client, at least one ordering component included in the ordering page in the data layer of each client further comprises:
respectively establishing a registration queue in a data layer of each client, and recording registered menu components and/or shopping cart components of each client;
and adding a monitoring event for the menu component and/or the shopping cart component of each client, so that the data layer of each client calls the corresponding monitoring event to complete the notification of each client menu component and/or shopping cart component.
13. The method of claim 12, wherein the data tier of the plurality of clients respectively notifying the registered at least one ordering component to obtain the ordering data from the data tier of each client further comprises:
and the data layers of the plurality of clients respectively and sequentially call the monitoring events corresponding to the menu components and/or the shopping cart components recorded in the respective registration queues, and the menu components and/or the shopping cart components are informed to acquire ordering data from the data layers of the clients.
14. A business processing system supporting multi-user operation, each user corresponds to a client, and the business processing system comprises a plurality of clients operated by users and a server, wherein each client comprises a view module and a data module:
the view module is suitable for loading and displaying a business service page carrying a business processing identifier; registering at least one business component included in the business service page in a data module of each client;
the data module is suitable for registering in the server by utilizing the service processing identifier so as to establish the incidence relation of a plurality of clients by the server; according to a service request triggered by the user operation of at least one service component of any one of the plurality of clients, interacting with the server according to the established incidence relation of the plurality of clients to acquire service data of the plurality of clients, which is returned by the server, and storing the service data in the data module of each client; respectively notifying the at least one registered service component to acquire the service data from the data module of each client;
the view module is also suitable for displaying the business data in a business service page;
the server is suitable for registering by using the service processing identification according to the data modules of the plurality of clients and establishing the incidence relation of the plurality of clients; and interacting with the data modules of the plurality of clients, and returning and integrating the service data of the plurality of clients.
15. The system of claim 14, wherein the server is further adapted to: and storing a plurality of clients with the same service processing identifier in a service processing queue to generate the association relationship of the plurality of clients.
16. The system of claim 15, wherein the data module is further adapted to: sending a service request to a server according to a service request triggered by user operation of at least one service component of any one of a plurality of clients so that the server can change service data; receiving a service data updating notice sent by the server according to the service processing queue according to the incidence relation, sending a service data acquisition request to the server to acquire service data of a plurality of integrated clients with the same service processing identification returned by the server, and storing the service data in the data module of each client;
the server is further adapted to: and sending a service data updating notice to the plurality of clients according to the service processing queue, receiving service data acquisition requests of the plurality of clients, and returning service data of the plurality of clients which are integrated and have the same service processing identifier.
17. The system of any one of claims 14-16, wherein the data module is further adapted to:
according to a service updating request triggered by user operation of at least one service component of any one of the plurality of clients, interacting with the server according to the established incidence relation of the plurality of clients to acquire incremental updating service data which are returned by the server and are synthesized with the plurality of clients; and performing incremental updating processing on the service data of the data modules stored in the plurality of clients according to the incremental updating service data.
18. The system of claim 14, wherein the data module is further adapted to: establishing a registration queue, and recording at least one registered service component of each client;
the view module is further adapted to: and adding a monitoring event for at least one service component registered by each client, so that the data module of each client calls the monitoring event to finish the notification of the registered at least one service component.
19. The system of claim 18, wherein the data module is further adapted to: and respectively and sequentially calling the monitoring events corresponding to the registered at least one service component recorded in the respective registration queue, and informing the registered at least one service component to acquire the service data from the data module of each client.
20. A system for supporting multi-user ordering, each user corresponds to a client, and comprises a plurality of user operated clients and a server, wherein each client comprises an ordering view module and an ordering data module:
the ordering view module is suitable for an ordering page carrying a shop dining table identifier, and registers at least one ordering component included in the ordering page in an ordering data module of each client;
the ordering data module is suitable for registering in the server by utilizing the shop dining table identification so as to establish the association relationship of ordering by a plurality of clients in the same shop dining table by the server; according to an ordering request triggered by user operation of at least one ordering component of any one client side in the plurality of client sides, interacting with the server according to the established incidence relation of ordering on the same shop dining table of the plurality of client sides to obtain ordering data of the plurality of client sides comprehensively returned by the server, and storing the ordering data in an ordering data module of each client side; respectively informing the registered at least one ordering component to acquire the ordering data from the ordering data module of each client;
the ordering view module is also suitable for displaying the ordering data in an ordering page;
the server is suitable for registering by using the shop dining table identification according to the ordering data modules of the plurality of clients, and establishing the association relation of ordering at the same shop dining table by the plurality of clients; and interacting with the ordering data modules of the plurality of clients and returning and integrating the ordering data of the plurality of clients.
21. The system of claim 20, wherein the ordering component comprises at least a menu component and a shopping cart component.
22. The system of claim 21, wherein the server is further adapted to: and storing a plurality of clients identified by the same shop dining table in a shop dining table ordering queue to generate the association relation of the plurality of clients ordering at the same shop dining table.
23. The system of claim 22, wherein the order data module is further adapted to: according to a dish adding request triggered by a user operating a shopping cart assembly on a ordering page of any client, sending dish adding information to a server, so that the server generates ordering data according to the dish adding information; receiving an ordering data updating notice sent by a server according to an ordering queue of a shop dining table according to the incidence relation of ordering at the same shop dining table, sending an ordering data acquisition request to the server to acquire ordering data of a plurality of comprehensive clients with the same shop dining table returned by the server, and storing the ordering data in the ordering data module of each client;
the server is further adapted to: sending ordering data updating notifications to the plurality of clients according to the shop dining table ordering queues, receiving ordering data acquisition requests of the plurality of clients, and returning ordering data of the plurality of clients which are integrated and have the same shop dining table.
24. The system of any one of claims 20-23, wherein the order data module is further adapted to:
interacting with a server according to an ordering updating request triggered by user operation of at least one ordering component of any one client in a plurality of clients and according to the established association relation of ordering at the same shop dining table of the plurality of clients to acquire incremental updating ordering data of the plurality of clients, returned by the server, and synthesized; and carrying out incremental updating processing on the ordering data stored in the ordering data modules of the plurality of clients according to the incrementally updated ordering data.
25. The system of claim 21, wherein the order data module is further adapted to: respectively establishing a registration queue, and recording registered menu components and/or shopping cart components of each client;
the ordering view module is further adapted to: and adding a monitoring event for the menu component and/or the shopping cart component of each client, so that the ordering data module of each client calls the corresponding monitoring event to complete the notification of the menu component and/or the shopping cart component of each client.
26. The system of claim 25, wherein the order data module is further adapted to: and calling the monitoring events corresponding to the menu components and/or the shopping cart components recorded in the respective registration queues in sequence respectively, and informing the menu components and/or the shopping cart components to acquire ordering data from the ordering data modules of the clients.
27. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the business processing method supporting multi-user operation according to any one of claims 1-6.
28. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform the operations corresponding to the service processing method supporting multi-user operation according to any one of claims 1 to 6.
29. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the ordering method according to any one of claims 7-13.
30. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the method of supporting multiple user ordering according to any one of claims 7-13.
CN201810613787.7A 2018-06-14 2018-06-14 Business processing method and system supporting multi-user operation Active CN108846093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810613787.7A CN108846093B (en) 2018-06-14 2018-06-14 Business processing method and system supporting multi-user operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810613787.7A CN108846093B (en) 2018-06-14 2018-06-14 Business processing method and system supporting multi-user operation

Publications (2)

Publication Number Publication Date
CN108846093A CN108846093A (en) 2018-11-20
CN108846093B true CN108846093B (en) 2020-08-14

Family

ID=64202220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810613787.7A Active CN108846093B (en) 2018-06-14 2018-06-14 Business processing method and system supporting multi-user operation

Country Status (1)

Country Link
CN (1) CN108846093B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111340650A (en) * 2018-12-18 2020-06-26 无锡雅舍信息技术有限公司 Collaborative ordering system
CN109964218B (en) * 2019-01-24 2022-04-01 福建联迪商用设备有限公司 Service processing method and system
CN111538556A (en) * 2020-06-24 2020-08-14 成都西加云杉科技有限公司 Information display method, device, equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103903199A (en) * 2014-03-14 2014-07-02 童琦 Multi-user food ordering method and system based on personal mobile terminals
CN104978697A (en) * 2015-06-24 2015-10-14 西南石油大学 Two-dimensional code-based cooperative intelligent ordering method and system
CN105243616A (en) * 2015-08-03 2016-01-13 北京信付科技有限公司 Ordering method, ordering client, ordering cloud processor and cloud ordering system
CN105427207A (en) * 2015-12-22 2016-03-23 山东易构软件技术股份有限公司 Mobile terminal meal ordering system based on cloud services
CN105989447A (en) * 2015-03-03 2016-10-05 阿里巴巴集团控股有限公司 Data processing system, method and platform

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346751B (en) * 2010-08-03 2013-04-17 阿里巴巴集团控股有限公司 Information transmitting method and equipment
CN203706265U (en) * 2013-10-09 2014-07-09 北京方寸博纳科技有限公司 Portable terminal for dish ordering
CN105955714A (en) * 2016-04-15 2016-09-21 北京海尔广科数字技术有限公司 Mixed development front end MVC frame implementation method and system
CN106981000B (en) * 2016-10-13 2020-06-09 阿里巴巴集团控股有限公司 Multi-person offline interaction and ordering method and system based on augmented reality

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103903199A (en) * 2014-03-14 2014-07-02 童琦 Multi-user food ordering method and system based on personal mobile terminals
CN105989447A (en) * 2015-03-03 2016-10-05 阿里巴巴集团控股有限公司 Data processing system, method and platform
CN104978697A (en) * 2015-06-24 2015-10-14 西南石油大学 Two-dimensional code-based cooperative intelligent ordering method and system
CN105243616A (en) * 2015-08-03 2016-01-13 北京信付科技有限公司 Ordering method, ordering client, ordering cloud processor and cloud ordering system
CN105427207A (en) * 2015-12-22 2016-03-23 山东易构软件技术股份有限公司 Mobile terminal meal ordering system based on cloud services

Also Published As

Publication number Publication date
CN108846093A (en) 2018-11-20

Similar Documents

Publication Publication Date Title
US11605050B2 (en) Order fulfillment systems and methods with customer location tracking
CN104216695B (en) Page information to be showed is provided and shows the method and system of page info
US9946999B2 (en) Customer interaction manager on a point of sale computer
WO2019179254A1 (en) Self-service shopping settlement method and system
US20180032987A1 (en) Customer interaction manager on a restaurant computer
US20130191251A1 (en) End-to-end in-store online gifting platform
CN108846093B (en) Business processing method and system supporting multi-user operation
US20150221022A1 (en) Systems and methods for mobile integrated ordering
CN105843814A (en) Method, device, and system for generating page
US20140012655A1 (en) System and method for purchasing with a discount in exchange for social media advertising
US20120123877A1 (en) Point of interest tracking with specific retailer accreditation
CN111598662A (en) Commodity loading method, server and system based on network live broadcast
CN112734537A (en) Commodity information processing method, commodity information processing device, storage medium and computer equipment
US20130317907A1 (en) Business to Consumer Marketing
US11706585B2 (en) Location based mobile messaging shopping network
CN108304120B (en) Information component processing method and device
CN108846728A (en) Method for processing business and system based on the business service page
CN109636536B (en) Service product providing method, device, electronic equipment and storage medium
US20230283692A1 (en) Management of network resource transfers via network portals and physical portals
CN112000746B (en) Data management method and device and server
CN114358839A (en) Resource processing method, user side, server side, device and storage medium
CN110895759B (en) Resource updating method, device, equipment and system
CN113268287A (en) Small program starting method and device based on graphic code
CN111506340A (en) Business rule information processing method, device and system
US11443366B2 (en) Systems and methods for real time online to offline (O2O) shopping in and messaging to physical retail stores

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