Method and device for pushing information

By receiving the key information of the order and pushing it to the listener client with the same conditions, it solves the problem of non-real-time push of manual pre-sorting orders, reduces operational redundancy and database pressure, and improves work efficiency and user experience.

CN111275368BActive Publication Date: 2024-09-20BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811473150.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-12-04
Publication Date
2024-09-20
Estimated Expiration
2038-12-04

AI Technical Summary

Technical Problem

In the existing technology, the push method of manual pre-sorting orders has the problem of data not being synchronized in real time, which causes the sorting page to be refreshed frequently, increasing the operation volume and database pressure, and the order quantity is not updated in time when multiple people set the same conditions, resulting in Redundant operations and psychological stress.

Method used

By receiving the key information of the order, determine the listener whose configured order fetching conditions are the same as those in the key information of the order, and push the order information to the client to achieve real-time interaction and reduce refresh operations and database queries.

Benefits of technology

It reduces the amount of manual operations, relieves database pressure, updates order quantities in a timely manner, and improves work efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111275368B
    Figure CN111275368B
Patent Text Reader

Abstract

The present invention discloses a method and device for pushing information, and relates to the field of computer technology. A specific implementation of the method includes: receiving key order information; wherein the key order information includes at least one order capture condition; according to the key order information, determining a listener whose configured order capture condition is the same as the order capture condition in the key order information; obtaining order information corresponding to the order capture condition, and pushing the order information to a client that has created the listener. This implementation can solve the technical problems of large manual operation and excessive database pressure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for pushing information. Background Art

[0002] The manual pre-sorting page now allows manual pre-sorters to create custom listeners based on the sorting area they are responsible for. The listener can set the area for grabbing orders, specify the order type, and the delivery type. The background will push orders that need manual pre-sorting to the pre-sorting personnel based on the settings. The current method of pushing manual pre-sorting orders is: the orders entering manual pre-sorting are classified and counted according to the order area, order type, and delivery type, and the order queue is stored in the cache. The listener on the manual pre-sorting page uses polling to obtain the length of the order queue that meets the listener conditions from the cache and display it on the sorting page for the sorter.

[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:

[0004] 1) The number of orders waiting for manual pre-sorting displayed on the sorting page is obtained from the cache, but the data between the cache and the database is not synchronized in real time. If different personnel set the same order capture conditions, the manual pre-sorting personnel will need to manually refresh the cache to capture the orders waiting for manual pre-sorting, which increases the manual operation volume and naturally reduces the work efficiency. In addition, the background program will repeatedly query the database, which may cause excessive pressure on the database;

[0005] 2) If multiple people set the same listener conditions, then after a certain order is manually pre-sorted by one staff member, the number of orders waiting for pre-sorting seen by other staff members who have set the same listener conditions cannot be refreshed in time. This will cause the staff member who set the listener to think that there are orders waiting for manual pre-sorting and grab the orders, which increases the redundancy of manual operations and causes psychological discomfort to the manual pre-sorting personnel. Summary of the invention

[0006] In view of this, an embodiment of the present invention provides a method and device for pushing information to solve the technical problems of large manual operations and excessive database pressure.

[0007] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for pushing information is provided, comprising:

[0008] Receiving key order information; wherein the key order information includes at least one order capture condition;

[0009] According to the key order information, determine a listener whose configured order grabbing condition is the same as the order grabbing condition in the key order information;

[0010] The order information corresponding to the order fetching condition is obtained, and the order information is pushed to the client that has created the listener.

[0011] Optionally, determining, according to the key order information, a listener whose configured order grabbing condition is the same as the order grabbing condition in the key order information includes:

[0012] According to the key order information, the order fetching conditions in the key order information are sequentially combined into polling identifiers;

[0013] Polling the user ID of the client that created the listener to obtain the listener ID corresponding to the user ID;

[0014] The listener identifier is compared with the polling identifier to determine the listener identifier whose configured order grabbing condition is the same as the order grabbing condition in the order key information.

[0015] Optionally, after determining the listener identifier that the configured order grabbing condition is the same as the order grabbing condition in the order key information, the method further includes:

[0016] The order queue corresponding to the listener identifier stored in the cache is updated.

[0017] Optionally, the polling identifier is represented by the first order grabbing condition_second order grabbing condition_..._Nth order grabbing condition in the order key information, where N is a positive integer; the listener identifier is represented by the first order grabbing condition_second order grabbing condition_..._Mth order grabbing condition configured by the listener, where M is a positive integer.

[0018] Optionally, obtaining order information corresponding to the order capture condition and pushing the order information to a client having the listener created therein comprises:

[0019] According to the listener whose configured order grabbing condition is the same as the order grabbing condition in the order key information, determining a client having created the listener;

[0020] Establishing a communication connection with the client that created the listener;

[0021] The order information corresponding to the order fetching condition is obtained, and the order information is pushed to the client that has created the listener.

[0022] Optionally, obtaining order information corresponding to the order capture condition and pushing the order information to a client having the listener created therein comprises:

[0023] Obtaining orders with the same order attributes as the order fetching conditions;

[0024] The identifier of the order and the order fetching condition are pushed to the client that has created the listener; or the quantity of the order and the order fetching condition are pushed to the client that has created the listener.

[0025] In addition, according to another aspect of an embodiment of the present invention, a device for pushing information is provided, including:

[0026] A receiving module, used to receive key order information; wherein the key order information includes at least one order capture condition;

[0027] A comparison module, used for determining, according to the key order information, a listener whose configured order grabbing condition is the same as the order grabbing condition in the key order information;

[0028] The push module is used to obtain the order information corresponding to the order capture condition and push the order information to the client that has created the listener.

[0029] Optionally, the comparison module is used to:

[0030] According to the key order information, the order fetching conditions in the key order information are sequentially combined into polling identifiers;

[0031] Polling the user ID of the client that created the listener to obtain the listener ID corresponding to the user ID;

[0032] The listener identifier is compared with the polling identifier to determine a listener whose configured order grabbing condition is the same as the order grabbing condition in the key order information.

[0033] Optionally, the comparison module is further used for:

[0034] After determining the listener identifier whose configured order grabbing condition is the same as the order grabbing condition in the order key information, the order queue corresponding to the listener identifier stored in the cache is updated.

[0035] Optionally, the polling identifier is represented by the first order grabbing condition_second order grabbing condition_..._Nth order grabbing condition in the order key information, where N is a positive integer; the listener identifier is represented by the first order grabbing condition_second order grabbing condition_..._Mth order grabbing condition configured by the listener, where M is a positive integer.

[0036] Optionally, the push module is used to:

[0037] According to the listener whose configured order grabbing condition is the same as the order grabbing condition in the order key information, determining a client having created the listener;

[0038] Establishing a communication connection with the client that created the listener;

[0039] The order information corresponding to the order fetching condition is obtained, and the order information is pushed to the client that has created the listener.

[0040] Optionally, the push module is further used for:

[0041] Obtaining orders with the same order attributes as the order fetching conditions;

[0042] The identifier of the order and the order fetching condition are pushed to the client that has created the listener; or the quantity of the order and the order fetching condition are pushed to the client that has created the listener.

[0043] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, including:

[0044] one or more processors;

[0045] a storage device for storing one or more programs,

[0046] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any of the above embodiments.

[0047] According to another aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in any one of the above embodiments is implemented.

[0048] One embodiment of the above invention has the following advantages or beneficial effects: because the technical means of determining the configured order grabbing conditions that are the same as the order grabbing conditions in the order key information according to the order key information, and obtaining the order information corresponding to the order grabbing conditions, and pushing the order information to the client that has created the listener, it overcomes the technical problems of large manual operations and excessive database pressure. The present invention determines the listeners with the same grabbing conditions based on the order key information, thereby automatically pushing order information to the clients that have created these listeners, realizing real-time interaction with the client for adding new orders and completing sorting orders, reducing the operations of sorting personnel repeatedly refreshing the listener and synchronizing the order status, so that the order information seen by the sorting personnel is the order to be sorted; it can also reduce database query operations, thereby alleviating database pressure to a certain extent.

[0049] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0051] Figure 1 is a schematic diagram of the main process of the method for pushing information according to an embodiment of the present invention;

[0052] Figure 2 is a schematic diagram of the main process of a method for pushing information according to a reference embodiment of the present invention;

[0053] Figure 3 is a schematic diagram of the main process of a method for pushing information according to yet another reference embodiment of the present invention;

[0054] Figure 4 is a schematic diagram of main modules of an apparatus for pushing information according to an embodiment of the present invention;

[0055] Figure 5 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0056] Figure 6 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0057] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0058] Figure 1 FIG. 1 is a schematic diagram of the main process of the method for pushing information according to an embodiment of the present invention. As an embodiment of the present invention, Figure 1 As shown, the method for pushing information may include:

[0059] Step 101, receiving key order information; wherein the key order information includes at least one order capture condition.

[0060] After the orders waiting for manual pre-sorting are stored in the database or the orders are manually pre-sorted, the database changes will be triggered, and the key information of the changed orders can be determined through the log changes of the database. Among them, the key information of the order includes order capture conditions such as order area, order type, and delivery type.

[0061] For example, after the order V123 waiting for manual pre-sorting is stored in the database, the key order information of the order V123 is determined through the log changes of the database, such as the order area, order type, delivery type and other order capture conditions. For another example, after the manual pre-sorting operation order V123, the state of the order V123 is changed from waiting to be sorted to sorted in the database, and the key order information of the order V123 is determined through the log changes of the database, such as the order area, order type, delivery type and other order capture conditions.

[0062] Optionally, you can use Canal to monitor database binlog changes, and then send order key information to the server, which receives the order key information. Binlog records database change events (such as createtable, update records). It consists of a set of binary log files (such as log-bin.000010) and an index file (such as log-bin.index). Canal is an incremental log component based on binlog open sourced by Alibaba that can monitor business table data changes.

[0063] Therefore, when Canal dispatches to monitor the change of order data in the database table, it pushes the key information of the changed order to the server. Optionally, the server can be a WebSocket server. The WebSocket protocol is a new network protocol based on TCP, which realizes full-duplex communication between the browser and the server - allowing the server to actively send information to the client.

[0064] Step 102: According to the key order information, determine a listener whose configured order capture condition is the same as the order capture condition in the key order information.

[0065] After receiving the key order information, the server determines the listener whose configured order grabbing conditions are the same as the order grabbing conditions in the key order information according to the key order information. In an embodiment of the present invention, the listener can be configured with order grabbing conditions, and the manual sorter can customize the order grabbing conditions of the listener according to the order grabbing conditions such as the order area, order type, and delivery type that he is responsible for, and put these order grabbing conditions into the cache. The server can use the order grabbing conditions set by the manual sorter as the filtering basis and actively push the order information.

[0066] As another embodiment of the present invention, step 102 may specifically include: according to the order key information, the order grabbing conditions in the order key information are sequentially formed into a polling identifier; polling the user identifier of the client that created the listener to obtain the listener identifier corresponding to the user identifier; comparing all listener identifiers with the polling identifier to determine the listener identifier whose configured order grabbing conditions are the same as the order grabbing conditions in the order key information. In this embodiment, the user IDs of all clients that created the listener are polled to obtain all listener IDs, and then the order grabbing conditions of all listeners are compared with the order grabbing conditions in the order key information. If they are the same, the order queue corresponding to the listener is added with the newly added order or the information of the sorted order is deleted, indicating that new order information needs to be pushed to the client that created the listener; if they are different, continue to compare the next listener.

[0067] It should be pointed out that each user identifier can correspond to multiple listener identifiers, that is, a client can create at least one listener. The mapping relationship between each user identifier and all listener identifiers created in the user client can be stored in the cache. Moreover, at least one order capture condition can be configured for each listener, so the mapping relationship between the listener identifier and at least one order capture condition configured for the listener can also be stored in the cache. Optionally, the listener identifier and the order queue corresponding to the listener configuration are stored in the cache in the form of key-value (key-value pair), that is, the listener identifier is used as the key, and the order queue corresponding to the listener is used as the value, and is stored in the cache (such as redis).

[0068] After determining the listener whose configured order grabbing condition is the same as the order grabbing condition in the order key information, the order queue corresponding to the listener identifier is updated. Since the original queue is stored in the cache, after determining the listener identifier whose configured order grabbing condition is the same as the order grabbing condition in the order key information, the order queue (value) corresponding to the listener identifier (key) stored in the cache is updated accordingly.

[0069] Optionally, the polling identifier is represented by the first order capture condition_second order capture condition_..._Nth order capture condition in the order key information, where N is a positive integer. For example, the order key information may include the order area of ​​the order delivery address (such as province id, city id, county id), order type and delivery type, and the polling identifier thus formed is: province id_city id_county id_order type_delivery type. Optionally, the listener identifier is represented by the first order capture condition_second order capture condition_..._Mth order capture condition configured by the listener, where M is a positive integer. For example, the order key information may include the order area of ​​the order delivery address (such as province id, city id, county id), order type and delivery type, and the listener identifier thus formed is: province id_city id_county id_order type_delivery type. Therefore, by comparing the listener identifier with the polling identifier, the listener identifier whose configured order capture condition is the same as the order capture condition in the order key information is determined.

[0070] It should be noted that the order capture conditions configured for some listeners may be the same, so in step 102, multiple listener identifiers whose configured order capture conditions are the same as the order capture conditions in the order key information may be determined.

[0071] Step 103, obtaining order information corresponding to the order capture condition, and pushing the order information to the client that has created the listener.

[0072] In step 102, the server analyzes which listeners' corresponding order queues have changed based on the information of the newly added / sorted orders, and then pushes the new order information corresponding to each listener to the corresponding picker client in step 103. Optionally, the server pushes the new order information to the picker client that needs to update the listener in real time.

[0073] As another embodiment of the present invention, step 103 may include: determining the client that has created the listener according to the listener whose configured order capture conditions are the same as the order capture conditions in the order key information; establishing a communication connection with the client that has created the listener; obtaining order information corresponding to the order capture conditions, and pushing the order information to the client that has created the listener. It should be noted that the order capture conditions configured for some listeners may be the same, so the clients that have created these listeners are determined separately, the server establishes communication connections with these clients respectively, and then pushes the order information corresponding to the order capture conditions to these clients respectively, so that the order information is displayed on the interfaces of these clients.

[0074] Optionally, the server establishes a long connection duplex communication connection with the client that created the listener, so that the server can actively push order information to the client that created the listener, thereby reducing the workload of manual pre-sorting personnel and the time waiting for refreshing orders.

[0075] Optionally, obtaining order information corresponding to the order capture condition and pushing the order information to the client that has created the listener includes: obtaining orders whose order attributes are the same as the order capture condition; pushing the order identifier and the order capture condition to the client that has created the listener, or pushing the order quantity and the order capture condition to the client that has created the listener. Orders whose order attributes are the same as the order capture condition can be obtained from a cached order queue or a database table.

[0076] It should be noted that the order information can be the order quantity or the order ID. Order information pushed in these two forms can enable the sorting personnel to directly see the information changes displayed on the client interface. For example, when new order data is added to the database, the number of pre-sorted orders on the client interface is updated from "10" to "11", or the 10 order numbers on the client interface are updated to 11 order numbers. When the sorting personnel click the refresh button on the client interface, they can obtain the specific information corresponding to these updated orders from the cache or database.

[0077] Therefore, through the method provided by the embodiment of the present invention, once the order data in the database table changes, the order capture condition will be determined according to the changed order data, the listener with the same order capture condition will be queried, and the order information will be automatically pushed to the client that has created the listener. It can be seen that the embodiment of the present invention has the following beneficial effects:

[0078] 1) According to the different grabbing conditions set by the listener, the orders waiting for manual pre-sorting are pushed in real time, and there is no need for manual pre-sorting personnel to refresh them manually, which reduces the redundancy of staff operations and saves time for manual waiting to refresh orders;

[0079] 2) If multiple people set up listeners with the same conditions, when one of them picks up an order, the number of orders pre-sorted manually by the person who has set up the same listener can be updated in real time, and the orders waiting for manual pre-sorting can be accurately displayed in real time;

[0080] 3) It can reduce database query operations, thereby alleviating database pressure to a certain extent.

[0081] According to the various embodiments described above, it can be seen that the present invention solves the problems of large manual operations and excessive database pressure by determining the configured listeners with the same order grabbing conditions as the order grabbing conditions in the order key information according to the order key information, and obtaining the order information corresponding to the order grabbing conditions, and pushing the order information to the client that created the listener. The present invention determines the listeners with the same grabbing conditions based on the order key information, thereby automatically pushing order information to the clients that created these listeners, realizing real-time interaction with the client for adding new orders and completing sorting orders, reducing the operations of sorting personnel repeatedly refreshing the listeners and synchronizing the order status, so that the order information seen by the sorting personnel is the order to be sorted; it can also reduce database query operations, thereby alleviating database pressure to a certain extent.

[0082] Figure 2 1 is a schematic diagram of the main process of a method for pushing information according to a reference embodiment of the present invention. The method for pushing information may specifically include:

[0083] 1) When Canal dispatch monitors that a new order to be pre-sorted has been added to the database table, the key information of the new order (province ID, city ID, county ID, order type and delivery type) is pushed to the WebSocket server.

[0084] 2) The WebSocket server receives the key information of the order, including the province id, city id, county id, order type and delivery type of the order delivery address, and forms a polling identifier: province id_city id_county id_order type_delivery type. Then, the WebSocket server polls the user ids of all clients that have created listeners, obtains all listener ids corresponding to these user ids, and then compares all listener ids with the polling identifier composed of the key information of the order. If they are the same, the information of the newly added order is added to the order queue corresponding to the listener id. If they are different, the next listener is compared.

[0085] 3) The WebSocket server pushes the order information including the newly added order ID to the sorter client that needs to update the listener in real time.

[0086] The above operations can basically be completed within 1000ms, and the WebSocket service can realize real-time interaction and push the analyzed data to the sorter client in real time.

[0087] In addition, the specific implementation content of the method for pushing information in a reference embodiment of the present invention has been described in detail in the method for pushing information described above, so the repeated content will not be described here.

[0088] Figure 3 : is a schematic diagram of the main process of a method for pushing information according to another reference embodiment of the present invention, and the method for pushing information may specifically include:

[0089] 1) If sorter B pre-sorts an order manually, the database table will be updated. When Canal dispatch monitors that an order in the database table has completed manual pre-sorting, it pushes the key information of the pre-sorted order (province id, city id, county id, order type and delivery type) to the WebSocket server.

[0090] 2) The WebSocket server receives the key information of the order, including the province id, city id, county id, order type and delivery type of the order delivery address, and forms a polling identifier: province id_city id_county id_order type_delivery type. Then, the WebSocket server polls the user ids of all clients that have created listeners, obtains all listener ids corresponding to these user ids, and then compares all listener ids with the polling identifier composed of the key information of the order. If they are the same, the information of the sorted order is deleted from the order queue corresponding to the listener id. If they are different, the next listener is compared.

[0091] 3) The WebSocket server pushes the order information of deleting the sorted order in real time to the sorter client that needs to update the listener.

[0092] The above operations can basically be completed within 1000ms, and the WebSocket service can realize real-time interaction and push the analyzed data to the sorter client in real time.

[0093] In addition, the specific implementation content of the method for pushing information in another reference embodiment of the present invention has been described in detail in the method for pushing information described above, so the repeated content will not be described here.

[0094] Figure 4 is a schematic diagram of the main modules of the device for pushing information according to an embodiment of the present invention, such as Figure 4 As shown, the device 400 for pushing information includes a receiving module 401, a comparing module 402 and a pushing module 403. The receiving module 401 receives key order information; the key order information includes at least one order capture condition; the comparing module 402 determines, based on the key order information, a listener whose configured order capture condition is the same as the order capture condition in the key order information; the pushing module 403 obtains order information corresponding to the order capture condition, and pushes the order information to a client that has created the listener.

[0095] Optionally, the comparison module 402, based on the order key information, sequentially combines the order grabbing conditions in the order key information into a polling identifier; polls the user identifier of the client that creates the listener to obtain the listener identifier corresponding to the user identifier; compares the listener identifier with the polling identifier to determine the listener whose configured order grabbing conditions are the same as the order grabbing conditions in the order key information.

[0096] Optionally, the comparison module is further used to: after determining the listener identifier whose configured order grabbing condition is the same as the order grabbing condition in the order key information, update the order queue corresponding to the listener identifier stored in the cache.

[0097] Optionally, the polling identifier is represented by the first order grabbing condition_second order grabbing condition_..._Nth order grabbing condition in the order key information, where N is a positive integer; the listener identifier is represented by the first order grabbing condition_second order grabbing condition_..._Mth order grabbing condition configured by the listener, where M is a positive integer.

[0098] Optionally, the push module 403 determines the client that has created the listener based on the listener whose configured order grabbing conditions are the same as the order grabbing conditions in the order key information; establishes a communication connection with the client that has created the listener; obtains order information corresponding to the order grabbing conditions, and pushes the order information to the client that has created the listener.

[0099] Optionally, the push module 403 further: obtains from the cache an order whose order attributes are the same as the order capture conditions; pushes the order identifier and the order capture conditions to the client that created the listener; or, pushes the order quantity and the order capture conditions to the client that created the listener.

[0100] According to the various embodiments described above, it can be seen that the present invention solves the problems of large manual operations and excessive database pressure by determining the configured listeners with the same order grabbing conditions as the order grabbing conditions in the order key information according to the order key information, and obtaining the order information corresponding to the order grabbing conditions, and pushing the order information to the client that created the listener. The present invention determines the listeners with the same grabbing conditions based on the order key information, thereby automatically pushing order information to the clients that created these listeners, realizing real-time interaction with the client for adding new orders and completing sorting orders, reducing the operations of sorting personnel repeatedly refreshing the listeners and synchronizing the order status, so that the order information seen by the sorting personnel is the order to be sorted; it can also reduce database query operations, thereby alleviating database pressure to a certain extent.

[0101] It should be noted that the specific implementation content of the device for pushing information in the present invention has been described in detail in the method for pushing information described above, so the repeated content will not be described again here.

[0102] Figure 5 An exemplary system architecture 500 is shown to which the method for pushing information or the apparatus for pushing information according to the embodiments of the present invention can be applied.

[0103] like Figure 5 As shown, system architecture 500 may include terminal devices 501, 502, 503, a network 504 and a server 505. Network 504 is used to provide a medium for communication links between terminal devices 501, 502, 503 and server 505. Network 504 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0104] Users can use terminal devices 501, 502, 503 to interact with server 505 through network 504 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 501, 502, 503, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0105] The terminal devices 501 , 502 , and 503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0106] The server 505 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 501, 502, and 503. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.

[0107] It should be noted that the method for pushing information provided in the embodiment of the present invention is generally executed on the terminal devices 501, 502, 503 in a public place, and can also be executed by the server 505. Accordingly, the device for pushing information is generally set on the terminal devices 501, 502, 503 in a public place, and can also be set in the server 505.

[0108] It should be understood that Figure 5 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0109] Reference below Figure 6 , which shows a schematic diagram of the structure of a computer system 600 of a terminal device suitable for implementing an embodiment of the present invention. Figure 6 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0110] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the system 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0111] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.

[0112] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present invention are executed.

[0113] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0114] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0115] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, it may be described as: a processor includes a receiving module, a comparison module and a push module, wherein the names of these modules do not constitute a limitation on the modules themselves in some cases.

[0116] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: receiving key order information; wherein the key order information includes at least one order capture condition; according to the key order information, determining a listener whose configured order capture condition is the same as the order capture condition in the key order information; obtaining order information corresponding to the order capture condition, and pushing the order information to the client that has created the listener.

[0117] According to the technical solution of the embodiment of the present invention, because it adopts a technical means of determining the configured order grabbing conditions that are the same as the order grabbing conditions in the order key information according to the order key information, and obtaining the order information corresponding to the order grabbing conditions, and pushing the order information to the client that has created the listener, it overcomes the technical problems of large manual operations and excessive database pressure. The present invention determines the listeners with the same grabbing conditions based on the order key information, thereby automatically pushing order information to the clients that have created these listeners, realizing real-time interaction with the client for adding new orders and completing sorting orders, reducing the operations of sorting personnel repeatedly refreshing the listeners and synchronizing the order status, so that the order information seen by the sorting personnel is the order to be sorted; it can also reduce database query operations, thereby alleviating database pressure to a certain extent.

[0118] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for pushing information, characterized in that: include: Receiving key order information; wherein the key order information includes at least one order capture condition; According to the key order information, determine a listener whose configured order grabbing condition is the same as the order grabbing condition in the key order information; Acquire order information corresponding to the order grabbing condition, and push the order information to the client that has created the listener; wherein the listener is customized by a manual sorter according to the order grabbing condition, and one client has created at least one listener; Determining, according to the key order information, a listener whose configured order grabbing condition is the same as the order grabbing condition in the key order information, including: According to the key order information, the order grabbing conditions in the key order information are sequentially combined into a polling identifier; the polling identifier is represented as the first order grabbing condition_the second order grabbing condition_..._the Nth order grabbing condition in the key order information, where N is a positive integer; Polling the user ID of the client that created the listener to obtain the listener ID corresponding to the user ID; the listener ID represents the first order grabbing condition_second order grabbing condition_..._Mth order grabbing condition configured for the listener, where M is a positive integer; The listener identifier is compared with the polling identifier to determine the listener identifier whose configured order grabbing condition is the same as the order grabbing condition in the order key information.

2. The method according to claim 1, characterized in that After determining the listener identifier that the configured order grabbing condition is the same as the order grabbing condition in the order key information, the method further includes: The order queue corresponding to the listener identifier stored in the cache is updated.

3. The method according to claim 1, characterized in that: Acquiring order information corresponding to the order capture condition, and pushing the order information to the client where the listener is created, including: According to the listener whose configured order grabbing condition is the same as the order grabbing condition in the order key information, determining a client having created the listener; Establishing a communication connection with the client that created the listener; The order information corresponding to the order fetching condition is obtained, and the order information is pushed to the client that has created the listener.

4. The method according to claim 1, characterized in that: Acquiring order information corresponding to the order capture condition, and pushing the order information to the client where the listener is created, including: Obtaining orders with the same order attributes as the order fetching conditions; The identifier of the order and the order fetching condition are pushed to the client that has created the listener; or the quantity of the order and the order fetching condition are pushed to the client that has created the listener.

5. A device for pushing information, characterized in that: include: A receiving module, used to receive key order information; wherein the key order information includes at least one order capture condition; A comparison module, used for determining, according to the key order information, a listener whose configured order grabbing condition is the same as the order grabbing condition in the key order information; A push module, used to obtain order information corresponding to the order grabbing conditions, and push the order information to the client that has created the listener; wherein the listener is customized by a manual sorter according to the order grabbing conditions, and one client has at least one listener created; The comparison module is used for: According to the key order information, the order grabbing conditions in the key order information are sequentially combined into a polling identifier; the polling identifier is represented as the first order grabbing condition_the second order grabbing condition_..._the Nth order grabbing condition in the key order information, where N is a positive integer; Polling the user ID of the client that created the listener to obtain the listener ID corresponding to the user ID; the listener ID represents the first order grabbing condition_second order grabbing condition_..._Mth order grabbing condition configured for the listener, where M is a positive integer; The listener identifier is compared with the polling identifier to determine the listener identifier whose configured order grabbing condition is the same as the order grabbing condition in the order key information.

6. The device according to claim 5, characterized in that The comparison module is also used for: After determining the listener identifier whose configured order grabbing condition is the same as the order grabbing condition in the order key information, the order queue corresponding to the listener identifier stored in the cache is updated.

7. The device according to claim 5, characterized in that The push module is used for: According to the listener whose configured order grabbing condition is the same as the order grabbing condition in the order key information, determining a client having created the listener; Establishing a communication connection with the client that created the listener; The order information corresponding to the order fetching condition is obtained, and the order information is pushed to the client that has created the listener.

8. The device according to claim 5, characterized in that The push module is also used for: Obtaining orders with the same order attributes as the order fetching conditions; The identifier of the order and the order fetching condition are pushed to the client that has created the listener; or the quantity of the order and the order fetching condition are pushed to the client that has created the listener.

9. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 4.

10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.