CN109922043B - Method and device for controlling and acquiring traffic use authority and electronic device - Google Patents

Method and device for controlling and acquiring traffic use authority and electronic device Download PDF

Info

Publication number
CN109922043B
CN109922043B CN201910059307.1A CN201910059307A CN109922043B CN 109922043 B CN109922043 B CN 109922043B CN 201910059307 A CN201910059307 A CN 201910059307A CN 109922043 B CN109922043 B CN 109922043B
Authority
CN
China
Prior art keywords
order
ordering
equipment
wireless network
module
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
CN201910059307.1A
Other languages
Chinese (zh)
Other versions
CN109922043A (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.)
Koubei Shanghai Information Technology Co Ltd
Original Assignee
Koubei Shanghai Information 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 Koubei Shanghai Information Technology Co Ltd filed Critical Koubei Shanghai Information Technology Co Ltd
Priority to CN201910059307.1A priority Critical patent/CN109922043B/en
Publication of CN109922043A publication Critical patent/CN109922043A/en
Application granted granted Critical
Publication of CN109922043B publication Critical patent/CN109922043B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method and a device for controlling and acquiring traffic use permission and an electronic device, wherein the method for controlling the traffic use permission is executed by a POS system, and comprises the following steps: receiving an order for a store; inquiring the identifier of the ordering equipment in the order information; searching order placing equipment in terminal equipment of a wireless network accessed to a shop according to the identification of the order placing equipment; and a wireless network control module for controlling the shop sets preset configured flow use permission for ordering equipment. The invention solves the technical problem that the network rubbing behavior of non-shop consumers cannot be effectively prevented in the prior art, controls the shop to identify the order placing equipment in the equipment accessing the wireless network and opens the corresponding flow use authority by identifying the order placing equipment in the order information, and achieves the technical effect of effectively preventing the network rubbing behavior of the non-shop consumers.

Description

Method and device for controlling and acquiring traffic use authority and electronic device
Technical Field
The invention relates to the field of wireless communication, in particular to a method and a device for controlling and acquiring traffic use permission and an electronic device.
Background
Off-line shops generally provide a wireless network in order to meet the requirement of using the network when a consumer shops in a store and improve the use experience of the consumer. However, in actual use, there may be a behavior that consumers other than the store "find the internet" to use the traffic, so that traffic load of the wireless network of the store is too heavy, and a faster and more stable wireless network cannot be provided for real consumers.
In the prior art, a wireless password or a black and white list is usually set to prevent the network rubbing behavior. For example, the patent of application No. 201610520058.8 provides a method and a system for processing a wireless access device, which filter the access device by presetting a filter list, but this solution is not suitable for a scene of a store requiring frequent access to an unfamiliar device, the store cannot distinguish a network-stealing user and a consumer from a large number of network-accessing devices, and a white list or a black list needs to be manually set one by one, so that the method for preventing network-stealing is inefficient. If the wireless password is set, non-consumers with known wireless passwords may use the wireless network of the shop to occupy traffic, and if the situation is avoided, the shop needs to change the passwords frequently.
In view of the above problems in the related art, no effective solution has been found at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for controlling and acquiring traffic use permission and an electronic device, and at least solves the technical problem that the network rubbing behavior of non-store consumers cannot be effectively prevented in the prior art.
According to an embodiment of the present invention, there is provided a method for controlling traffic usage authority, the method being performed by a POS system, the method including: receiving an order for a store; inquiring the identifier of the ordering equipment in the order information; searching order placing equipment in terminal equipment of a wireless network accessed to a shop according to the identification of the order placing equipment; and a wireless network control module for controlling the shop sets preset configured flow use permission for ordering equipment.
Further, after receiving the order for the store, the method further comprises: generating a dynamic password for the order; within a preset time after the dynamic password is generated, verifying terminal equipment accessed to the wireless network by using the dynamic password; and associating the successfully verified terminal equipment with the ordering equipment, and setting the flow use permission with the same configuration as that of the ordering equipment for the successfully verified terminal equipment.
Further, after searching the ordering device in the terminal device accessing the wireless network of the store according to the identification of the ordering device, the method further comprises the following steps: judging whether order issuing equipment exists in terminal equipment accessed to a wireless network; and marking corresponding marks for the orders according to the judgment result.
Further, receiving an order for the store, comprising: and receiving order information sent by the server, wherein the order information is generated by the server according to the information sent to the server by the order placing equipment.
Further, after setting the preset configured traffic usage right for the ordering device, the method further includes: receiving settlement information of an order, or receiving a channel switching signal input aiming at the order; and the flow use permission of the ordering device is reduced.
Further, in case that the wireless network is an open wireless network, the method further comprises: capturing flow data generated by terminal equipment accessed into a wireless network in real time; determining the current terminal equipment for ordering or settling aiming at the shop according to the flow data; the highest bandwidth transmission rate upper limit is set for the terminal device which currently performs ordering or settlement for the shop.
According to another embodiment of the present invention, there is also provided a method for acquiring traffic usage rights, where the method is performed by a client, and the method includes: obtaining order operation aiming at shops in a client through an input device of the terminal equipment; generating a request according to the order operation and the identifier of the terminal equipment, wherein the request is used for requesting to provide the flow use permission which is correspondingly configured for the terminal equipment; and sending the request to the POS system so that the POS system provides the correspondingly configured flow use permission for the terminal equipment.
According to another embodiment of the present invention, there is provided a device for controlling traffic usage authority, the device being provided in a POS system, the device including: a first receiving module for receiving an order for a store; the query module is used for querying the identifier of the ordering equipment in the information of the order; the searching module is used for searching the ordering equipment in the terminal equipment of the wireless network accessed to the shop according to the identification of the ordering equipment; and the control module is used for controlling the wireless network control module of the shop to set preset configured flow use permission for ordering equipment.
Further, the apparatus further comprises: a generation module for generating a dynamic password for an order after receiving the order for the store; the verification module is used for verifying the terminal equipment accessed to the wireless network by using the dynamic password within the preset time after the dynamic password is generated; and the execution module is used for associating the terminal equipment which is successfully verified with the ordering equipment and setting the flow use permission which is configured as same as the ordering equipment for the terminal equipment which is successfully verified.
Further, the apparatus further comprises: the judging module is used for judging whether the order placing equipment exists in the terminal equipment accessed to the wireless network after the order placing equipment is searched in the terminal equipment accessed to the wireless network of the shop according to the identification of the order placing equipment; and the marking module is used for marking the corresponding mark for the order according to the judgment result.
Further, the first receiving module includes: the receiving unit is used for receiving the information of the order sent by the server, wherein the information of the order is generated by the server according to the information sent to the server by the ordering equipment.
Further, the apparatus further comprises: the second receiving module is used for receiving settlement information of the order after a preset configured flow use permission is set for the ordering device, or receiving a channel-turning signal input aiming at the order; the first setting module is used for reducing the flow use permission of the ordering device.
Further, in case that the wireless network is an open wireless network, the apparatus further comprises: the capturing module is used for capturing flow data generated by terminal equipment accessed to a wireless network in real time; the determining module is used for determining the terminal equipment which performs ordering or settlement aiming at the shop at present according to the flow data; and the second setting module is used for setting the highest bandwidth transmission rate upper limit for the terminal equipment which performs ordering or settlement aiming at the shop currently.
According to another embodiment of the present invention, there is also provided an apparatus for acquiring a traffic usage right, where the apparatus is provided at a client, and the apparatus includes: the acquisition module is used for acquiring order operation aiming at shops in the client through an input device of the terminal equipment; the generating module is used for generating a request according to the order operation and the identifier of the terminal equipment, wherein the request is used for requesting to provide the flow use permission which is correspondingly configured for the terminal equipment; and the sending module is used for sending the request to the POS system so that the POS system provides the correspondingly configured flow use permission for the terminal equipment.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
Furthermore, the electronic device also comprises a wireless network control module, wherein the wireless network control module is used for establishing a wireless network and configuring the flow use permission of the equipment accessing the wireless network.
According to the invention, after the order is received, the identification of the order placing equipment is inquired in the order information in response to the received order signal, and the identification of the order placing equipment is identified in the equipment identification accessed to the wireless network, so that the wireless network control module of the shop is controlled to set the preset configured flow use permission for the order placing equipment, the technical effect of effectively preventing the network rubbing behavior of non-shop consumers is achieved, and the technical problem that the network rubbing behavior of the non-shop consumers cannot be effectively prevented in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of an alternative method for controlling traffic usage rights according to an embodiment of the present invention;
fig. 2 is a flowchart of an alternative method for controlling traffic usage rights according to an embodiment of the present invention;
FIG. 3 is a flow chart of an alternative method for controlling traffic usage rights in accordance with an embodiment of the present invention;
fig. 4 is a flowchart of a method for acquiring traffic usage rights according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a control device for traffic usage authority according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an apparatus for acquiring traffic usage rights according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments, and the embodiments and features in the embodiments of the present application may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
The embodiment provides a control method of traffic use permission, after an order is received, an identifier of an order placing device is inquired in order information in response to a signal of the received order, and the identifier of the order placing device is identified in a device identifier accessed to a wireless network, so that a wireless network control module of a shop is controlled to set preset configured traffic use permission for the order placing device, the technical effect of effectively preventing a network rubbing behavior of a non-shop consumer is achieved, and the technical problem that a network rubbing behavior of the non-shop consumer cannot be effectively prevented in the prior art is solved.
The present embodiment can be applied to a POS (Point Of Sale) system. A POS (Point Of Sale) system described in this embodiment is installed in a terminal device Of an offline store. The POS system can be communicated with a wireless network control module in a shop to control the traffic permission of the terminal equipment accessing the wireless network signals of the shop.
As shown in fig. 1, the method for controlling the traffic usage right provided in this embodiment includes the following steps:
step 101, receiving an order for a store;
step 102, inquiring the identification of order placing equipment in order information;
103, searching order placing equipment in terminal equipment of a wireless network accessed to a shop according to the identification of the order placing equipment;
and 104, controlling a wireless network control module of the shop to set preset configured flow use permission for ordering equipment.
The order in this embodiment is an online order received by an online store, and the POS system in this embodiment can collect the online order. The consumer can order through the client, wherein the client can be an order ordering APP installed in a mobile phone or an interaction component capable of running on a certain software platform.
Optionally, the client may directly communicate with the POS system, in which case the online order sent by the client is directly sent to the POS system, or the client may also communicate with a server of a third party, and thus is forwarded to the POS system via the server of the third party.
When an order is received, the POS system obtains information of the order, wherein the information comprises the type and the quantity of commodities in a shop required by a consumer and the identification of ordering equipment. The order placing equipment refers to terminal equipment sending an order, and the identification of the terminal equipment is a unique identification, and may be, for example, an International Mobile Equipment Identity (IMEI), and/or a MAC address, and/or an equipment name, and the like.
The wireless network provided by the shop is a wireless local area network, such as a WIFI network, established by the wireless network control module. The wireless network control module can acquire an identification list of the terminal equipment accessed to the wireless network, so that the ordering equipment is searched in the list through the identification.
And after the ordering equipment is found, the wireless network control module of the control shop sets the preset configured flow use permission for the ordering equipment. The traffic usage right refers to a right to acquire usage traffic of internet information by using a wireless network, and the configuration of the traffic usage right may include definitions of a right to use traffic, such as an upper threshold for bandwidth transmission rate, a total available traffic threshold, whether a download right is provided, and the like. The preset configuration is a configuration determined in advance for the ordering device, for example, the upper threshold of the highest bandwidth transmission rate of the ordering device is configured to be 200 Kb.
In an application scenario where the wireless network is a public wireless network (that is, the terminal device can access the wireless network without a network key), the traffic permission of the terminal device accessing the wireless network is set to a default configuration by the wireless network control module, and the default configuration is low, for example, only a specified website, such as a website of an online store and a website related to the website, can be browsed; or, the setting can only adopt the bandwidth transmission rate of the maximum 10Kb to use the flow, so that the situation that the flow using experience of real consumers in the store is influenced by occupying a larger bandwidth transmission rate is prevented. It should be noted that the preset configuration is higher than the default configuration.
It should be noted that the order placing equipment for one order may be one or more, multiple customers may log in respective client accounts through respective terminals, so that multiple ordering operations are performed on the same order in one online store, after the multiple ordering operations are completed and the order is placed, the POS system receives the order and obtains order information, where the order information at least includes identification information of all the order placing equipment.
A specific usage scenario of this embodiment is described below with reference to a signaling diagram shown in fig. 2, as shown in fig. 2, first, an order ordering client installed in a terminal device initiates an online order, where the online order includes an identifier of the terminal device where the order ordering client is located. Secondly, the order ordering server receives the online order and forwards the online order to a POS system in the shop, and after the shop POS system obtains the online order, the equipment identification is inquired in the order information, and whether the identification of the order placing equipment exists or not is searched in a wireless network control module of the shop. And if the identification of the ordering device is found according to the interaction judgment with the wireless network control module, the POS system controls the wireless network control module to configure the corresponding flow use permission for the ordering device. The wireless network control module can limit the flow use condition of the ordering device according to the configuration set by the POS system.
As an optional implementation manner of this embodiment, the above embodiment needs to obtain the order placing device identifier through the order information, and if the order placing device identifier cannot be obtained in the order information or is for a peer of an order placing consumer (also belonging to a real consumer in a store), the following optional implementation manner may be used to identify, so as to allocate a configuration that is the same as the traffic usage right of the order placing device to the terminal device.
Specifically, after receiving an order for a store, a dynamic password for the order is generated. And within the preset time length after the dynamic password is generated, the terminal equipment accessing the wireless network is verified by using the dynamic password. And associating the successfully verified terminal equipment with the ordering equipment, and setting the flow use permission with the same configuration as that of the ordering equipment for the successfully verified terminal equipment.
The dynamic password is triggered by the condition of receiving orders, has one-to-one correspondence with the orders, and is generated aiming at one order, and the dynamic passwords of different orders are different. The dynamic password can be generated according to the time stamp or the order information, the embodiment of the invention does not limit the specific generation mode of the dynamic password, and the dynamic password can be generated by adopting a mode of generating a random dynamic password in the prior art, and only the dynamic password generated each time is different. The dynamic password may be in the form of a string of simple characters, e.g., a four digit number. It should be noted that the dynamic password is a password with timeliness, and is valid only within a period of time, and after a preset time length, the dynamic password will fail, and the device that performs verification by using the dynamic password after the preset time length will fail to verify; and the dynamic password is not a password of the wireless network, but the POS system determines whether the terminal equipment accessing the wireless network is a verification certificate of the terminal equipment in the same line with the ordering equipment.
In a specific usage scenario of this alternative embodiment, as shown in fig. 3, after the ordering client initiates an order to the store POS system, the store POS system generates a dynamic password for the order and notifies the ordering client. The consumer holding the device with the single-client can inform the same-row consumer of the dynamic password, so that the same-row consumer can log in the wireless network of the shop by using the dynamic password. The interaction implementation mode of utilizing the dynamic password can be that the same-row consumer firstly selects the wireless network of the shop through the wireless setting in the terminal equipment and connects, after the access, an input box for inputting the dynamic password is popped up, and after the same-row consumer inputs the dynamic password, the wireless network control module receives the dynamic password. After the wireless network control module receives the dynamic password, the dynamic password is verified through the POS system, if the verification is successful, the POS system distributes the same flow use permission for the peer equipment as that of the equipment where the ordering client is located, and controls the wireless network control module to control the peer equipment.
As another optional implementation manner of this embodiment, the determination result of whether there is an order placing device in the terminal device accessing the wireless network may also be used to evaluate the actual validity of the order. For example, after order placing equipment is searched in terminal equipment accessing a wireless network of a store, if the order placing equipment is judged to exist in the terminal equipment accessing the wireless network, the order placing equipment is actually in the store, and the order is definitely real and effective, so that a first mark is marked on the order to indicate that the order is an effective order; if the order placing equipment is judged not to exist in the terminal equipment accessed to the wireless network, the fact that the order placing equipment is possibly not in the shop is shown (the fact that a consumer possibly does not open the wireless connection of the terminal equipment cannot show that the order placing equipment is not necessarily in the shop), therefore, a second label is marked on the order to indicate that the order possibly has problems, and an attendant in the shop can manually confirm the order marked by the second label to judge whether the order is a real order placed by the consumer in the shop.
As another optional implementation manner of this embodiment, after the preset configured traffic usage right is set for the ordering device, if the consumer leaves the store, the traffic usage right of the consumer device needs to be reduced, and even the connection with the device is disconnected. A method for identifying the departure of a consumer from a store is to receive the settlement information of an order, and the method is suitable for the store adopting a post-payment settlement mode. Another method for identifying the customer leaving the store is that the POS system receives a flip-over signal input for the order, the flip-over signal is input to the POS terminal by an attendant in the store and is used for instructing a cleaning person to clean a table where the customer leaving the store is located, and after receiving the flip-over signal, the POS system determines that the customer leaving the store has left the store. After recognizing that a customer of a certain order leaves the store, the traffic usage authority of the ordering device is lowered to a preset configuration, for example, the ordering device is not allowed to use traffic through the wireless network of the store after ten minutes.
The optional implementation mode can be combined with the optional implementation mode which passes the dynamic password verification, and as the terminal equipment which is successfully verified by using the dynamic password is associated with the ordering equipment, the flow use permission of the terminal equipment which is successfully verified by using the dynamic password is synchronously changed under the condition that the flow use permission of the ordering equipment is changed.
As another optional implementation manner of this embodiment, in order to improve the operation success rate of the terminal device that is performing ordering or settlement in the store and prevent the terminal device that is performing entertainment by using traffic in the store from seizing the network speed, the POS system may further grab traffic data generated by the terminal device that is accessing the wireless network in real time (through the wireless network control module), and determine the terminal device that is currently performing ordering or settlement for the store according to the traffic data, thereby setting the highest bandwidth transmission rate upper limit for the terminal device that is currently performing ordering or settlement for the store.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
The embodiment provides a method for acquiring traffic use permission, which can be executed by a client. The executor in this embodiment may directly communicate with the POS system described in embodiment 1, or may indirectly communicate with the POS system by communicating with a (third party) server, where the server may communicate with the POS system.
As shown in fig. 4, the method for acquiring a traffic usage right provided in this embodiment includes the following steps:
step 201, obtaining order operation aiming at shops in a client through an input device of terminal equipment;
step 202, generating a request according to the order operation and the identifier of the terminal device, wherein the request is used for requesting to provide a correspondingly configured flow use permission for the terminal device;
step 203, sending the request to the POS system, so that the POS system provides the correspondingly configured traffic usage right for the terminal device.
The method for acquiring the traffic permission is applied to a client, an order is generated through order operation on a line, and a correspondingly configured traffic permission is requested to a POS system based on the order operation and an identifier of a terminal device, after the POS system determines that the order is received, the POS system can acquire the corresponding traffic permission from a store wireless network under the condition of online according to the identifier of the terminal device, so that the POS system can perform differentiated configuration on the terminal device of the store wireless network, preset configured traffic permission is set for the ordering device, the technical effect of effectively preventing a non-local store consumer from a network rubbing behavior is achieved, and the technical problem that the non-local store consumer cannot be effectively prevented from a network rubbing behavior in the prior art is solved.
Example 3
In this embodiment, a device for controlling the usage right of the flow is further provided, and the device is disposed in the POS system, and is configured to implement the foregoing embodiment 1 and the preferred embodiments thereof, for terms or implementations that are not described in detail in this embodiment, reference may be made to the relevant description in embodiment 1, and descriptions that have been already given are omitted.
The term "module," as used below, is a combination of software and/or hardware that can implement a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also conceivable.
Fig. 5 is a schematic diagram of a control apparatus for traffic usage authority according to an embodiment of the present invention, as shown in fig. 5, the apparatus including: a first receiving module 10, a query module 20, a lookup module 30 and a control module 40.
The first receiving module 10 is used for receiving orders for shops; the query module 20 is configured to query the information of the order for the identifier of the ordering device; the searching module 30 is configured to search the ordering device in the terminal device accessing the wireless network of the store according to the identifier of the ordering device; the control module 40 is configured to control the wireless network control module of the shop to set a preset configured flow usage right for the ordering device.
Optionally, the apparatus further comprises: a generation module for generating a dynamic password for an order after receiving the order for the store; the verification module is used for verifying the terminal equipment accessed to the wireless network by using the dynamic password within the preset time after the dynamic password is generated; and the execution module is used for associating the terminal equipment which is successfully verified with the ordering equipment and setting the flow use permission which is configured as same as the ordering equipment for the terminal equipment which is successfully verified.
Optionally, the apparatus further comprises: the judging module is used for judging whether the order placing equipment exists in the terminal equipment accessed to the wireless network after the order placing equipment is searched in the terminal equipment accessed to the wireless network of the shop according to the identification of the order placing equipment; and the marking module is used for marking the corresponding mark for the order according to the judgment result.
Optionally, the first receiving module includes: the receiving unit is used for receiving the information of the order sent by the server, wherein the information of the order is generated by the server according to the information sent to the server by the ordering equipment.
Optionally, the apparatus further comprises: the second receiving module is used for receiving settlement information of the order after a preset configured flow use permission is set for the ordering device, or receiving a channel-turning signal input aiming at the order; the first setting module is used for reducing the flow use permission of the ordering device.
Optionally, in a case that the wireless network is an open wireless network, the apparatus further includes: the capturing module is used for capturing flow data generated by terminal equipment accessed to a wireless network in real time; the determining module is used for determining the terminal equipment which performs ordering or settlement aiming at the shop at present according to the flow data; and the second setting module is used for setting the highest bandwidth transmission rate upper limit for the terminal equipment which performs ordering or settlement aiming at the shop currently.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
Example 4
In this embodiment, a device for controlling a traffic usage right is further provided, where the device is disposed at a client, and the device is configured to implement the foregoing embodiment 2, and for terms or implementation manners that are not described in detail in this embodiment, reference may be made to relevant descriptions in embodiment 2, and descriptions that have been already described are omitted.
The term "module," as used below, is a combination of software and/or hardware that can implement a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also conceivable.
Fig. 6 is a schematic diagram of a control apparatus for traffic usage authority according to an embodiment of the present invention, as shown in fig. 6, the apparatus including: an acquisition module 50, a generation module 60 and a sending module 70.
The obtaining module 50 is configured to obtain, through an input device of the terminal device, an order operation for a store in the client; the generating module 60 is configured to generate a request according to an order operation and an identifier of a terminal device, where the request is used to request that a traffic usage right configured correspondingly is provided for the terminal device; the generating module 70 is configured to send a request to the POS system, so that the POS system provides the correspondingly configured traffic usage right for the terminal device.
Example 5
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is configured to perform the steps of method embodiments 1 or 2 described above when running.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Example 6
Embodiments of the present invention also provide an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in method embodiment 1 or 2 described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (17)

1. A method for controlling traffic usage rights, the method being performed by a POS system, the method comprising:
receiving an order for a store;
inquiring the identifier of the ordering equipment in the information of the order;
searching the ordering equipment in the terminal equipment accessing to the wireless network of the shop according to the identification of the ordering equipment;
and controlling a wireless network control module of the shop to set preset configured flow use permission for the ordering equipment.
2. The method of claim 1, wherein after receiving an order for a store, the method further comprises:
generating a dynamic password for the order;
within a preset time after the dynamic password is generated, verifying the terminal equipment accessed to the wireless network by using the dynamic password;
and associating the successfully verified terminal equipment with the ordering equipment, and setting the flow use permission with the same configuration as that of the ordering equipment for the successfully verified terminal equipment.
3. The method of claim 1, wherein after finding the ordering device among terminal devices accessing the wireless network of the store based on the identification of the ordering device, the method further comprises:
judging whether the order issuing equipment exists in terminal equipment accessed to the wireless network;
and marking the corresponding label of the order according to the judgment result.
4. The method of claim 1, wherein receiving an order for a store comprises:
and receiving the order information sent by the server, wherein the order information is generated by the server according to the information sent to the server by the ordering equipment.
5. The method of claim 1, wherein after setting the preset configured traffic usage right for the ordering device, the method further comprises:
receiving settlement information of the order, or receiving a platform overturning signal input aiming at the order, wherein the platform overturning signal is an indication signal for cleaning a table where the ordering equipment is located;
and reducing the flow use permission of the ordering device.
6. The method of claim 1, wherein in the case that the wireless network is an open wireless network, the method further comprises:
capturing flow data generated by terminal equipment accessed into the wireless network in real time;
determining a terminal device which executes ordering or settlement aiming at the shop at present according to the flow data;
and setting the highest bandwidth transmission rate upper limit for the terminal equipment which performs ordering or settlement aiming at the shop currently.
7. A method for acquiring traffic use permission, which is executed by a client, and comprises the following steps:
obtaining order operation aiming at shops in a client through an input device of the terminal equipment;
generating a request according to the order operation and the identifier of the terminal equipment, wherein the request is used for requesting to provide a correspondingly configured flow use permission for the terminal equipment;
and sending the request to a POS system so that the POS system provides the correspondingly configured flow use permission for the terminal equipment.
8. A device for controlling the flow use authority, wherein the device is provided in a POS system, the device comprising:
a first receiving module for receiving an order for a store;
the query module is used for querying the identifier of the ordering equipment in the information of the order;
the searching module is used for searching the ordering equipment in the terminal equipment accessed to the wireless network of the shop according to the identification of the ordering equipment;
and the control module is used for controlling the wireless network control module of the shop to set preset configured flow use permission for the ordering equipment.
9. The apparatus of claim 8, further comprising:
a generation module for generating a dynamic password for an order for a store after receiving the order;
the verification module is used for verifying the terminal equipment accessed to the wireless network by using the dynamic password within the preset time after the dynamic password is generated;
and the execution module is used for associating the terminal equipment which is successfully verified with the ordering equipment and setting the flow use permission which is configured as same as the ordering equipment for the terminal equipment which is successfully verified.
10. The apparatus of claim 8, further comprising:
the judging module is used for judging whether the ordering equipment exists in the terminal equipment accessed to the wireless network after the ordering equipment is searched in the terminal equipment accessed to the wireless network of the shop according to the identification of the ordering equipment;
and the marking module is used for marking the corresponding mark of the order according to the judgment result.
11. The apparatus of claim 8, wherein the first receiving module comprises:
and the receiving unit is used for receiving the order information sent by the server, wherein the order information is generated by the server according to the information sent to the server by the order placing equipment.
12. The apparatus of claim 8, further comprising:
the second receiving module is used for receiving settlement information of the order after a preset configured flow use permission is set for the ordering device, or receiving a platform overturning signal input aiming at the order, wherein the platform overturning signal is an indication signal for cleaning a table where the ordering device is located;
and the first setting module is used for reducing the flow use permission of the ordering device.
13. The apparatus of claim 8, wherein in the case that the wireless network is an open wireless network, the apparatus further comprises:
the grabbing module is used for grabbing the flow data generated by the terminal equipment accessed to the wireless network in real time;
the determining module is used for determining the terminal equipment which performs ordering or settlement aiming at the shop at present according to the flow data;
and the second setting module is used for setting the highest bandwidth transmission rate upper limit for the terminal equipment which performs ordering or settlement aiming at the shop currently.
14. An apparatus for acquiring traffic usage right, wherein the apparatus is provided at a client, and the apparatus comprises:
the acquisition module is used for acquiring order operation aiming at shops in the client through an input device of the terminal equipment;
a generating module, configured to generate a request according to the order operation and the identifier of the terminal device, where the request is used to request to provide a traffic usage right configured correspondingly for the terminal device;
and the sending module is used for sending the request to a POS system so that the POS system provides the correspondingly configured flow use permission for the terminal equipment.
15. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 7 when executed.
16. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 7.
17. The electronic apparatus according to claim 16, further comprising a wireless network control module, wherein the wireless network control module is configured to establish a wireless network and configure traffic usage rights of devices accessing the wireless network.
CN201910059307.1A 2019-01-22 2019-01-22 Method and device for controlling and acquiring traffic use authority and electronic device Active CN109922043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910059307.1A CN109922043B (en) 2019-01-22 2019-01-22 Method and device for controlling and acquiring traffic use authority and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910059307.1A CN109922043B (en) 2019-01-22 2019-01-22 Method and device for controlling and acquiring traffic use authority and electronic device

Publications (2)

Publication Number Publication Date
CN109922043A CN109922043A (en) 2019-06-21
CN109922043B true CN109922043B (en) 2020-03-27

Family

ID=66960584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910059307.1A Active CN109922043B (en) 2019-01-22 2019-01-22 Method and device for controlling and acquiring traffic use authority and electronic device

Country Status (1)

Country Link
CN (1) CN109922043B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239971A (en) * 2017-05-27 2017-10-10 上海斐讯数据通信技术有限公司 A kind of upper network control method, apparatus and system based on consumption
CN107766827A (en) * 2017-10-26 2018-03-06 珠海格力电器股份有限公司 Meal ordering system and data processing method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4659582B2 (en) * 2005-10-13 2011-03-30 エヌ・ティ・ティ・ソフトウェア株式会社 Access control device
CN103546388B (en) * 2012-07-10 2017-06-30 阿里巴巴集团控股有限公司 A kind of flow control methods and device
CN105847169B (en) * 2015-01-13 2019-07-05 阿里巴巴集团控股有限公司 A kind of method and device for flow control
CN105635124B (en) * 2015-12-24 2019-05-14 小米科技有限责任公司 Flow control methods and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239971A (en) * 2017-05-27 2017-10-10 上海斐讯数据通信技术有限公司 A kind of upper network control method, apparatus and system based on consumption
CN107766827A (en) * 2017-10-26 2018-03-06 珠海格力电器股份有限公司 Meal ordering system and data processing method

Also Published As

Publication number Publication date
CN109922043A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN108234505B (en) Account login method and system
CN104735021B (en) A kind of account number login method, device and system
EP3389295A1 (en) Multi-terminal mapping system and method for virtual sim card
CN105228126B (en) A kind of method and system of network access point trustship
EP3386167B1 (en) Cloud operation interface sharing method, related device and system
CN104753909B (en) Method for authenticating after information updating, Apparatus and system
CN104640114A (en) Verification method and device of access request
CN103200159A (en) Network access method and equipment
CN104796383A (en) Method and device for preventing terminal information from being tempered
CN103581881B (en) Comprehensive number-obtaining device as well as system and method for obtaining cell phone number of user on network side
CN105554735A (en) Method and system for binding intelligent device
CN111353136B (en) Method and device for processing operation request
CN105991610B (en) Log in the method and device of application server
CN114465791B (en) Method and device for establishing white list in network management equipment, storage medium and processor
CN103428062A (en) VPN server access method and VPN client
CN101800985B (en) Authentication method and system, terminal, server and data downloading method and device
CN109922043B (en) Method and device for controlling and acquiring traffic use authority and electronic device
CN109977126A (en) Replacing options, device, electronic equipment and the storage medium of identity
CN110198540B (en) Portal authentication method and device
CN103888415A (en) IMS subscriber nomadism control method and device
US20190034547A1 (en) Internet portal system and method of use therefor
CN111327619A (en) Micro-service data exchange method and device
CN105335637A (en) Authentication method, authentication device and authentication system
CN111800547A (en) Method and device for acquiring user identity information, storage medium and processor
CN112350982B (en) Resource authentication method and device

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