# Patent

## Title
Queuing system and method

## Abstract

A portable electronic device includes a queuing system. An agent server provided by a service provider assigns a queue number to a user of the portable electronic device, generates a mobile barcode according to the queue number and a uniform resource locator (URL) of the service provider, and displays the 2D mobile barcode on an electronic display. The queuing system 20 decodes the 2D mobile barcode captured by a camera to obtain the queue number and the URL, uses the URL to log into the agent server 2, and sends user information to the agent server. The agent server records the user information and monitors business processing status of one or more client computers connected to the agent server, generates an alert message based on the business processing status, and sends the alert message to the portable electronic device ahead of time according to the recorded user information.

## Background
BACKGROUND
1. Technical Field
The embodiments of the present disclosure relate to data processing technology, and particularly to an image processing apparatus and method.
2. Description of Related Art
Queue machines are widely used in many places, such as banks, hospitals, post offices, for example. When customers press a button of a queue machine, the queue machine automatically prints tickets with orderly queue numbers. Then the customers stay at a waiting area and wait for their queue numbers to be called for service. One problem of the aforementioned queuing mode is that, if a customer leaves the waiting area or even stays in the waiting area but ignores the called queue number for other reasons, such as surfing on the Internet or communicating via a mobile phone, the queue number will be canceled and the customer has to queue again.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is one embodiment of an application environment of a queuing system.
FIG. 2 is one embodiment of function modules of the queuing system in FIG. 1.
FIG. 3 is a flowchart of one embodiment of a queuing method.
FIG. 4 and FIG. 5 illustrate queuing information displayable on a display device of a portable electronic device in which the queuing system is installed.



DETAILED DESCRIPTION
The disclosure is illustrated by way of examples and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an EPROM. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
FIG. 1 is a step diagram of one embodiment of an application environment of a queuing system 20. In one embodiment, the queuing system 20 is installed within a portable electronic device 1. The portable electronic device 1 further includes a camera 10, a storage device 30, a processor 40, and a display screen 50. The portable electronic device 1 may be connected to an agent server 2 via a network 12. The network 12 may be a global system for mobile communications (GSM), a general packet radio service (GPRS) network, or any other suitable network. A service provider, such as a bank, a hospital, or a government organization, provides the agent server 2, which is connected to an electronic display 3, for example. The agent server 2 is further connected to a plurality of client computers 4, which is also provided by the service provider for employees of the service provider to service the customers.
In one embodiment, the portable electronic device 1 may be a mobile phone, a portable computer, for example. When a user of the portable electronic device 1 goes to a service place of the service provider, the agent server 2 assigns a queue number to the user in response to the user sending a request for service. For example, the user may press a button of a queue machine 5 to send the request to the agent server 2. The agent server 2 generates a two-dimensional (2D) mobile barcode according to the queue number and a uniform resource locator (URL) of the service provider, and displays the 2D mobile barcode on the electronic display 3. The user uses the camera 10 to capture an image of the 2D mobile barcode. The queuing system 20 decodes the 2D mobile barcode to obtain the queue number and the URL, uses the URL to log into the agent server 2, and sends user information, such as a name, a phone number, and a queue number of the user, to the agent server 2. The agent server 2 records the user information, monitors business processing statuses of the client computers 4, and sends alert messages to the portable electronic device 1 ahead of time, to inform the user to prepare to go to the client computers 4 for service.
As shown in FIG. 2, the queuing system 20 includes a barcode analysis module 21, a user information sending module 22, and a queuing status receiving module 23, and an alert display module 24. The modules 21-24 may include computerized code in the form of one or more programs that are stored in the storage device 30. The computerized code includes instructions to be processed by the processor 40 to provide the aforementioned functions of the queuing system 20. A detailed description of the functions of the modules 21-24 are illustrated in FIG. 3. The storage device 30 may be a cache or a dedicated memory, such as an EPROM, HDD, or flash memory.
FIG. 3 is a flowchart of one embodiment of a queuing method. Depending on the embodiment, additional steps may be added, others removed, and the ordering of the steps may be changed.
In step S31, the agent server 2 assigns a queue number to the user of the portable electronic device 1 in response to a button of the queue machine 5 being pressed by the user. The agent server 2 generates a 2D mobile barcode according to the queue number and a URL of a service provider (e.g., a bank), and displays the 2D mobile barcode on the electronic display 3. The 2D mobile barcode includes, but not limited to, PDF417, Code 49, Code 16K, Code one, Aztec Code, DataMatrix, and QR.
In step S32, the user uses the camera 10 to capture an image of the 2D mobile barcode.
In step S33, the barcode analysis module 21 decodes the 2D mobile barcode to obtain the queue number and the URL. For example, the queue number may be “143”, and the URL may be “http://www.sdb.com.cn”.
In step S34, the user information sending module 22 sends user information, such as a name, a phone number, and the queue number of the user, to the agent server 2.
In step S35, the agent server 2 records user information of users that are waiting for service of the service provider. For example, the record information may be in the form of “user A: queue number/123; name/Scot; phone number/134****”; user B: queue number/124; name/Mia; phone number/135*****; . . . ”. The agent server 2 further sends back queue information of each user to the corresponding portable electronic device 1 using the URL or short messages according to the phone number of the user, then the alert display module 24 displays the queue information on the display screen 50 of the corresponding portable electronic device. For example, as shown in FIG. 4, the queue information displayed on the display screen 50 is as follows: “Your information has been recorded! Your queue number is: 12. The system will warn you ahead of time! Please note!”
In step S36, the agent server 2 monitors business processing status of the client computers 4 that provide service, such as queue numbers of the users that are being serviced by employees who operate the client computers 4. The agent server 2 further generates alert messages according to the business processing status to inform users with corresponding queue numbers that are waiting for service ahead of time, and sends the alert messages to the portable electronic devices 10 having the corresponding queue numbers. For example, if there are eight client computers 40 providing service, eight users can be serviced at the same time, then the agent server 2 may generate alert messages for next sixteen users to inform the next sixteen eight users to prepare to go to the client computers 40 for service.
In step S37, the queue status receiving module 23 receives the alert message, and the alert display module 24 displays the alert message on the display screen 50. For example, as shown in FIG. 5, the portable electronic device 1 of the user that has been assigned the queue number 12 may receive and display the alert message “Notice! Your queue number is: 12. It is almost your turn! There are two people ahead of you!”
Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.

## Claims

1. A queuing method being performed by execution of instructions by a processor of a portable electronic device, the method comprising:
using a camera of the portable electronic device to capture an image of a two-dimensional (2D) mobile barcode displayed on an electronic display provided by a service provider, and decoding the 2D mobile barcode by the portable electronic device to obtain a queue number assigned by an agent server to a user of the portable electronic device and a uniform resource locator (URL) of the service provider;
logging into the agent server using the URL, and sending user information to the agent server, wherein the user information comprises a phone number of the portable electronic device and the queue number of the user;
receiving an alert message for informing the user to prepare to go to a client computer provided by the service provider for service, and displaying the alert message on a display screen of the portable electronic device; and
wherein the agent server monitors business processing status of one or more client computers that are connected to the agent server for providing service, generates the alert message according to the business processing status, to inform users with corresponding queue numbers that are waiting for service ahead of time, and sends the alert message to the portable electronic device having the corresponding queue numbers ahead of time.

2. The method of claim 1, wherein the queue number is assigned by the agent server in response to a button of a queue machine connected to the agent server being pressed by the user, and the 2D mobile barcode is generated based on the queue number and the URL of the service provider and displayed on the electronic display connected to the agent server.

3. The method of claim 2, wherein the agent server records user information of users that are waiting for service of the service provider, and sends back queue information of each user to a corresponding portable electronic device according to the phone number of the corresponding portable electronic device.

4. The method of claim 1, wherein the business processing statuses comprise queue numbers of users that are being serviced by employees who operate the one or more client computers.

5. A non-transitory medium storing a set of instructions, the set of instructions capable of being executed by a processor of a portable electronic device to perform a queue method, the method comprising:
using a camera of the portable electronic device to capture an image of a two-dimensional (2D) mobile barcode displayed on an electronic display provided by a service provider, and decoding the 2D mobile barcode by the portable electronic device to obtain a queue number assigned by an agent server to a user of the portable electronic device and a uniform resource locator (URL) of the service provider;
logging into the agent server using the URL, and sending user information to the agent server, wherein the user information comprises a phone number of the portable electronic device and the queue number of the user;
receiving an alert message for informing the user to prepare to go to a client computer provided by the service provider for service, and displaying the alert message on a display screen of the portable electronic device; and
wherein the agent server monitors business processing status of one or more client computers that are connected to the agent server for providing service, generates the alert message according to the business processing status, to inform users with corresponding queue numbers that are waiting for service ahead of time, and sends the alert message to the portable electronic device having the corresponding queue numbers ahead of time.

6. The medium of claim 1, wherein the queue number is assigned by the agent server in response to a button of a queue machine connected to the agent server being pressed by the user, and the 2D mobile barcode is generated based on the queue number and the URL, of the service provider and displayed on the electronic display connected to the agent server.

7. The medium of claim 6, wherein the agent server records user information of users that are waiting for service of the service provider, and sends back queue information of each user to a corresponding portable electronic device according to the phone number of the corresponding portable electronic device.

8. The medium of claim 5, wherein the business processing statuses comprise queue numbers of users that are being serviced by employees who operate the one or more client computers.

9. A portable electronic device, comprising:
a camera;
a storage device;
a processor; and
one or more programs stored in the storage device and being executable by the processor, the one or more programs comprising instructions:
to decode a two-dimensional (2D) mobile barcode captured by the camera from an electronic display provided by a service provider, to obtain a queue number assigned by an agent server to a user of the portable electronic device and a uniform resource locator (URL) of the service provider;
to log into the agent server using the URL, and send user information to the agent server, wherein the user information comprises a phone number of the portable electronic device and the queue number of the user;
to receive an alert message for informing the user to prepare to go to a client computer provided by the service provider for service, and display the alert message on a display screen of the portable electronic device; and
wherein the agent server monitors business processing status of one or more client computers that are connected to the agent server for providing service, generates the alert message according to the business processing status, to inform users with corresponding queue numbers that are waiting for service ahead of time and sends the alert message to the portable electronic device having the corresponding queue numbers ahead of time.

10. The device of claim 9, wherein the queue number is assigned by the agent server in response to a button of a machine connected to the agent server being pressed by the user, and the 2D mobile barcode is generated based on the queue number and the URL of the service provider and displayed on the electronic display connected to the agent server.

11. The device of claim 10, Wherein the agent server records user information of users that are waiting for service of the service provider, and sends back queue information of each user to a corresponding portable electronic device according to the phone number of the corresponding portable electronic device.

12. The device of claim 9, wherein the business processing statuses comprise queue numbers of users that are being serviced by employees who operate the one or more client computers.