CN108197958B - Method and device for counting off-line cattle and storage medium - Google Patents

Method and device for counting off-line cattle and storage medium Download PDF

Info

Publication number
CN108197958B
CN108197958B CN201810062286.4A CN201810062286A CN108197958B CN 108197958 B CN108197958 B CN 108197958B CN 201810062286 A CN201810062286 A CN 201810062286A CN 108197958 B CN108197958 B CN 108197958B
Authority
CN
China
Prior art keywords
electronic equipment
area
electronic device
sale
point
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
CN201810062286.4A
Other languages
Chinese (zh)
Other versions
CN108197958A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810062286.4A priority Critical patent/CN108197958B/en
Publication of CN108197958A publication Critical patent/CN108197958A/en
Application granted granted Critical
Publication of CN108197958B publication Critical patent/CN108197958B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud

Landscapes

  • Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure relates to a method, a device and a storage medium for counting off-line cattle, wherein the method comprises the following steps: acquiring a first area where the electronic equipment is located and registration time of a login account of the electronic equipment, wherein the first area is an area where the electronic equipment is located within a first preset time length, and the initial time of the first preset time length is the initial starting time of the electronic equipment; when the registration time of a login account of the electronic equipment is earlier than the initial starting time of the electronic equipment and the corresponding historical positions of the login account in a second preset time period all belong to a first area, taking the first area as the use area of the electronic equipment, and taking the end time of the second preset time period as the initial starting time of the electronic equipment; and when the use area of the electronic equipment is different from the area to which the point of sale of the electronic equipment belongs, determining that the electronic equipment is abnormal at the point of sale. The method provided by the disclosure can provide data support for the situation that whether the electronic equipment is maliciously sold at the point of sale of the electronic equipment or not.

Description

Method and device for counting off-line cattle and storage medium
Technical Field
The present disclosure relates to electronic device technologies, and in particular, to a method and an apparatus for counting off-line cattle, and a storage medium.
Background
The terminal sales points usually hold preferential activities to attract consumers in the area of the terminal sales points to purchase the terminals. In the related art, some users may maliciously purchase a large number of terminals at a certain terminal selling point with high preferential strength, and the terminals are not illegally sold to other areas, so that the benefits of normal consumers are damaged.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method, an apparatus, and a storage medium for counting off-line cattle. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for counting off-line cattle, including:
acquiring a first area where electronic equipment is located and registration time of a login account of the electronic equipment, wherein the first area is an area where the electronic equipment is located within a first preset time length, and the starting time of the first preset time length is initial starting time of the electronic equipment;
when the registration time of the login account of the electronic equipment is earlier than the initial starting time of the electronic equipment and the corresponding historical positions of the login account in a second preset time period all belong to the first area, taking the first area as the use area of the electronic equipment, wherein the end time of the second preset time period is the initial starting time of the electronic equipment;
when the use area of the electronic equipment is different from the area to which the point of sale of the electronic equipment belongs, determining that the electronic equipment is the electronic equipment with abnormal point of sale.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the server can acquire a first area where the electronic device is located and registration time of a login account of the electronic device, and then can use the first area as a use area of the electronic device when corresponding historical positions of the first area and the login account in a second preset time period both belong to the first area, so that whether the electronic device is an electronic device with abnormal sale at a point of sale of the electronic device can be judged according to the use area of the electronic device and an area where the point of sale of the electronic device is located, and data support is provided for the situation that whether the electronic device is maliciously sold at the point of sale of the electronic device.
Optionally, after the first area where the electronic device is located within the first preset time and the registration time of the login account of the electronic device are obtained, the method further includes:
and when the registration time of the login account is equal to or later than the initial starting time of the electronic equipment, taking the first area as the use area of the electronic equipment.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the server can use the first area as the use area of the electronic equipment when the registration time of the login account is equal to or later than the initial starting time of the electronic equipment, so that whether the electronic equipment is the electronic equipment with abnormal sale at the point of sale of the electronic equipment can be judged according to the use area of the electronic equipment and the area where the point of sale of the electronic equipment is located, and data support is provided for whether the electronic equipment is maliciously sold at the point of sale of the electronic equipment.
Optionally, the acquiring the first area where the electronic device is located includes:
and receiving a first area sent by the electronic equipment.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the server can rapidly acquire the first area of the electronic equipment by receiving the first area sent by the electronic equipment, and then can use the first area as the use area of the electronic equipment when the first area and the corresponding historical positions of the login account in the second preset time period both belong to the first area, so that whether the electronic equipment is the electronic equipment with abnormal sale at the point of sale of the electronic equipment can be judged according to the use area of the electronic equipment and the area where the point of sale of the electronic equipment is located, and data support is provided for the situation that whether the electronic equipment is maliciously sold at the point of sale of the electronic equipment.
Optionally, the acquiring the first area where the electronic device is located includes:
receiving the position of the electronic equipment sent by the electronic equipment for multiple times within the first preset time length;
and when all the positions sent by the electronic equipment belong to the same area, taking the area where all the positions sent by the electronic equipment are located as the first area.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the server can use the area where all the positions sent by the electronic equipment are located as the first area when all the positions sent by the electronic equipment belong to the same area, and then can use the first area as the use area of the electronic equipment when the first area and the corresponding historical positions of the login account number within the second preset time period all belong to the first area, so that whether the electronic equipment is the electronic equipment with abnormal sale at the point of sale of the electronic equipment can be judged according to the use area of the electronic equipment and the area where the point of sale of the electronic equipment is located, and data support is provided for the situation that whether the electronic equipment is maliciously sold at the point of sale of the electronic equipment.
Optionally, after determining that the electronic device is an electronic device with abnormal sales at the point of sale, the method further includes:
and when the occupation ratio of the electronic equipment with abnormal sales at the point of sale is greater than a preset threshold value, pushing a sales abnormal notification message to the sales terminal of the point of sale.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the server can push the sale abnormity notification message to the sale terminal of the point of sale when the occupation ratio of the electronic equipment with abnormal sale at the point of sale is larger than a preset threshold value, so that a salesman at the point of sale of the electronic equipment can timely know the condition of abnormal sale at the point of sale through the sale abnormity notification message, and further the point of sale of the electronic equipment can take measures to prevent the conditions of maliciously purchasing the electronic equipment and illegally selling the electronic equipment, thereby ensuring the benefits of normal consumers and improving the consumption experience of the consumers.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for counting off-line cattle, including:
an acquisition module configured to acquire a use area of an electronic device;
the determining module is configured to determine that the electronic equipment is the electronic equipment with abnormal point-of-sale sales when the use area of the electronic equipment is different from the area to which the point-of-sale of the electronic equipment belongs.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the acquisition module can acquire a first area where the electronic equipment is located and registration time of a login account of the electronic equipment, and further enable the processing module to use the first area as a use area of the electronic equipment when the registration time of the login account of the electronic equipment is earlier than initial starting time of the electronic equipment and corresponding historical positions of the login account in a second preset time period belong to the first area, so that the determination module can determine that the electronic equipment is the electronic equipment with abnormal sale at a point of sale of the electronic equipment when the use area of the electronic equipment is different from the area where the point of sale of the electronic equipment is located, and data support is provided for the situation that whether the point of sale of the electronic equipment has malicious sale of the electronic equipment.
Optionally, the processing module is configured to, after the obtaining module obtains a first area where the electronic device is located within a first preset time and registration time of a login account of the electronic device, use the first area as a use area of the electronic device when the registration time of the login account is equal to or later than initial starting-up time of the electronic device.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the processing module can use the first area as the use area of the electronic equipment when the registration time of the login account is equal to or later than the initial starting time of the electronic equipment, so that the determining module can judge whether the electronic equipment is the electronic equipment with abnormal sale at the point of sale of the electronic equipment according to the use area of the electronic equipment and the area where the point of sale of the electronic equipment is located, and provide data support for the situation that whether the electronic equipment is maliciously sold at the point of sale of the electronic equipment.
Optionally, the obtaining module is configured to receive the first area sent by the electronic device.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the acquisition module can rapidly acquire the first area of the electronic equipment by receiving the first area sent by the electronic equipment, and further can enable the first area to serve as the use area of the electronic equipment when the historical positions of the processing module corresponding to the first area and the login account number in the second preset time period all belong to the first area, so that the determination module can judge whether the electronic equipment is the electronic equipment with abnormal sale according to the use area of the electronic equipment and the area where the point of sale of the electronic equipment is located, and data support is provided for the situation that whether the point of sale of the electronic equipment has malicious sale of the point of sale electronic equipment.
Optionally, the obtaining module is configured to receive, within the first preset duration, the positions of the electronic device sent by the electronic device for multiple times, and when all the positions sent by the electronic device belong to the same area, take the area where all the positions sent by the electronic device are located as the first area.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the obtaining module can take the area where all the positions sent by the electronic equipment are located as a first area when all the positions sent by the electronic equipment belong to the same area, and further can take the first area as a use area of the electronic equipment when the processing module corresponds to the first area and the historical positions of the login account number within a second preset time period, so that the determining module can judge whether the electronic equipment is the electronic equipment with abnormal sale at the point of sale of the electronic equipment according to the use area of the electronic equipment and the area where the point of sale of the electronic equipment is located, and data support is provided for the situation that whether the electronic equipment is maliciously sold at the point of sale of the electronic equipment.
Optionally, the apparatus further comprises:
the pushing module is configured to push a sales abnormity notification message to the sales terminal of the point of sale when the occupation ratio of the electronic equipment with the abnormal sales at the point of sale is greater than a preset threshold value after the determining module determines that the electronic equipment is the electronic equipment with the abnormal sales at the point of sale.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the pushing module can push the sale abnormity notification message to the sale terminal of the point of sale when the occupation ratio of the electronic equipment with sale abnormity at the point of sale is larger than a preset threshold value, so that a salesman at the point of sale of the electronic equipment can timely know the condition of sale abnormity at the point of sale through the sale abnormity notification message, and further the point of sale of the electronic equipment can take measures to prevent the condition of maliciously purchasing the electronic equipment and illegally selling the electronic equipment, so that the benefits of normal consumers are guaranteed, and the consumption experience of the consumers is improved.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for counting off-line cattle, including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
acquiring a first area where electronic equipment is located and registration time of a login account of the electronic equipment, wherein the first area is an area where the electronic equipment is located within a first preset time length, and the starting time of the first preset time length is initial starting time of the electronic equipment;
when the registration time of the login account of the electronic equipment is earlier than the initial starting time of the electronic equipment and the corresponding historical positions of the login account in a second preset time period all belong to the first area, taking the first area as the use area of the electronic equipment, wherein the end time of the second preset time period is the initial starting time of the electronic equipment;
when the use area of the electronic equipment is different from the area to which the point of sale of the electronic equipment belongs, determining that the electronic equipment is the electronic equipment with abnormal point of sale.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the device for counting off-line cattle can acquire a first region where the electronic equipment is located and the registration time of a login account of the electronic equipment, and then when the first region and the corresponding historical positions of the login account in a second preset time period both belong to the first region, the first region is used as the use region of the electronic equipment, so that whether the electronic equipment is abnormally sold electronic equipment or not can be judged according to the use region of the electronic equipment and the region where a point of sale of the electronic equipment is located, and data support is provided for the situation that whether the point of sale of the electronic equipment is maliciously sold or not.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for counting off-line cattle, including: memory, a processor and computer instructions, the processor executing the computer instructions to perform the steps of the method according to any one of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the device for counting off-line cattle can acquire a first region where the electronic equipment is located and the registration time of a login account of the electronic equipment, and then when the first region and the corresponding historical positions of the login account in a second preset time period both belong to the first region, the first region is used as the use region of the electronic equipment, so that whether the electronic equipment is abnormally sold electronic equipment or not can be judged according to the use region of the electronic equipment and the region where a point of sale of the electronic equipment is located, and data support is provided for the situation that whether the point of sale of the electronic equipment is maliciously sold or not.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any one of the first aspects.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the processor of the server can acquire a first region where the electronic device is located and registration time of a login account of the electronic device, and then can use the first region as a use region of the electronic device when historical positions corresponding to the first region and the login account within a second preset time period both belong to the first region, so that whether the electronic device is an electronic device with abnormal sale at a point of sale of the electronic device can be judged according to the use region of the electronic device and a region where the point of sale of the electronic device is located, and data support is provided for whether the electronic device is maliciously sold at the point of sale of the electronic device.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a diagram illustrating an application scenario of a method of counting off-line cattle, according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of counting off-line cattle in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of counting off-line cattle according to another exemplary embodiment;
FIG. 4 is a flow chart illustrating a method of counting off-line cattle in accordance with yet another exemplary embodiment;
FIG. 5 is a block diagram illustrating an apparatus for counting off-line cattle in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating an apparatus for counting off-line cattle in accordance with another exemplary embodiment;
fig. 7 is a block diagram illustrating an apparatus 700 for counting off-line cattle, according to an example embodiment.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a diagram illustrating an application scenario of a method for counting off-line cattle according to an exemplary embodiment. As shown in fig. 1, the application scenario may include, for example: electronic device 1, server 2, point of sale terminal 3 located at a point of sale. Wherein the server 2 can communicate with the electronic device 1 and the sales terminal 3, respectively.
In the present disclosure, the server 2 may be a server to which the electronic device 1 belongs, that is, a server of a manufacturer of the electronic device. The electronic device 1 may be a terminal, a wearable device, an intelligent home device, or the like. The terminal may be, for example, a mobile phone, a tablet computer, a vehicle-mounted terminal, or the like. Fig. 1 is a diagram illustrating an application scenario in which an electronic device 1 is taken as an example.
The technical solution of the present disclosure is explained in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a flow chart illustrating a method of counting off-line cattle according to an exemplary embodiment. The execution subject of the method may be a device for counting off-line cattle, or may be a server integrated with the device for counting off-line cattle, and the following description will take the execution subject as a server integrated with the device for counting off-line cattle (referred to as a server for short). As shown in fig. 2, the method may include the steps of:
in step S101, a first area where the electronic device is located and registration time of a login account of the electronic device are obtained, where the first area is an area where the electronic device is located within a first preset time period, and start time of the first preset time period is initial starting time of the electronic device.
In step S102, when the registration time of the login account of the electronic device is earlier than the initial start-up time of the electronic device and the corresponding historical positions of the login account in the second preset time period all belong to the first area, the first area is used as the usage area of the electronic device, and the end time of the second preset time period is the initial start-up time of the electronic device.
In step S103, when the usage area of the electronic device is different from the area to which the point of sale of the electronic device belongs, it is determined that the electronic device is an electronic device with abnormal point of sale sales.
In the present disclosure, the electronic device may have one or more of a Global Positioning System (GPS) module, a bluetooth module, a wifi module, and the like. Therefore, the electronic equipment can locate the position of the electronic equipment through the GPS technology, the Bluetooth technology or the wifi technology in the operation process. Or, the electronic device may also be equipped with a Subscriber Identity Module (SIM) card, so that the electronic device may locate its own location through a serving cell of the mobile communication system during operation. Alternatively, the electronic device may locate its own position by a combination of the above-mentioned ways. Alternatively, the electronic device may locate its position by other means in the related art, which is not listed here. The location may be, for example, a latitude and longitude where the electronic device is located. Taking the electronic device as an example, the terminal can perform position location by using the above-mentioned manner through, for example, an address detection service carried by the system itself.
In an implementation manner, the electronic device may locate its own position for multiple times within a first preset time period, and determine whether the multiple positions are located in the same area (i.e., the first area). The size of the area may be determined according to the user's requirement, for example, the area may be a city area, a county city area, a township area, or the like. Upon determining that the plurality of locations are located in the same area (i.e., a first area), the electronic device may transmit the first area to the server. When the plurality of positions are determined not to be located in the same area (i.e., the first area), the range of motion of the user holding the electronic device is unstable. In this scenario, the electronic device may not send a message to the server regarding the zone. For example, the electronic device may send the first area to the server after receiving a request message sent by the server to request the electronic device to report an area where the electronic device is located, or may actively send the first area to the server. The first preset duration may be determined according to a user requirement, for example, the first preset duration may be a worship calculated by taking the initial starting time of the electronic device as the starting time, a month, and the like.
In another implementation, the electronic device may further transmit the located position to a server. For example, the electronic device may transmit the located position of the electronic device to the server after receiving a request message for acquiring the position of the electronic device, which is transmitted by the server, or may actively transmit the located position of the electronic device to the server. In this implementation, the server may determine the usage area of the electronic device based on the location of the electronic device sent within a period of time after the electronic device is initially powered on.
For example, the server may receive the positions of the electronic device, which are sent by the electronic device for multiple times, within a first preset duration taking the start time as the initial starting time of the electronic device, and determine the first area of the electronic device based on the positions, so as to improve the accuracy of the acquired first area of the electronic device. If the server determines that all the positions of the electronic device belong to the same area, the area is an area where a user holding the electronic device resides for a long time, and the server may use the area as the first area of the electronic device. If the server determines that all the positions of the electronic device received within the first preset time period are not located in the same area, it indicates that the activity range of the user holding the electronic device is unstable. In this scenario, the server may not make subsequent determinations on the electronic device, so as to avoid erroneous determinations.
In this embodiment, when the user having the electronic device uses the electronic device for the first time, the login account of the electronic device may be registered in the server to which the electronic device belongs through the electronic device. Correspondingly, after the registration of the login account is completed through interaction between the server and the electronic device, the mapping relation among the identifier of the electronic device, the login account of the electronic device and the registration time of the login account can be stored. If the user who holds the electronic device registers the login account through other devices belonging to the same manufacturer as the electronic device before using the electronic device, the user can also directly use the existing login account to log in the electronic device. Correspondingly, the server may also store a mapping relationship between the identifier of the electronic device, the login account of the electronic device, and the registration time of the login account. The identifier of the electronic device may be any one of the following items: international Mobile Equipment Identity (IMEI), Serial Number (SN), and the like.
Therefore, the server can further acquire the registration time of the login account of the electronic device, and assist in judging whether the first area is the use area of the electronic device through the login account of the electronic device. For example, the server may search, according to the identifier of the electronic device, the registration time of the login account corresponding to the identifier of the electronic device from the mapping relationship among the identifier of the electronic device, the login account of the electronic device, and the registration time of the login account stored in the server. The identifier of the electronic device may be sent to the server while the electronic device sends the first area.
If the registration time of the login account of the electronic equipment is earlier than the initial starting time of the electronic equipment, the user holding the electronic equipment is an old user. That is, the user who holds the electronic device uses another device belonging to the same manufacturer as the electronic device before using the electronic device. Therefore, the server may further determine whether the area where the user holding the electronic device resides for a long time is the first area based on the historical location of the login account of the electronic device corresponding to the second preset time. The end time of the second preset duration may be initial starting time of the electronic device. The second preset duration may be determined according to a user requirement, for example, the second preset duration may be a worship, a month, and the like before the initial startup time of the electronic device.
If the corresponding historical positions of the login account of the electronic equipment in the second preset time also belong to the first area, the first area is an area where the user holding the electronic equipment resides for a long time. In this scenario, the server may use the first area as a usage area of the electronic device. That is, the server may use the first area as the usage area of the electronic device when the registration time of the login account of the electronic device is earlier than the initial startup time of the electronic device and the history positions corresponding to the login account within the second preset time period all belong to the first area. If one or more positions not belonging to the first area exist in the historical position corresponding to the login account of the electronic device within the second preset time period, it is indicated that the first area may not be an area where the user holding the electronic device resides for a long time. In this scenario, the server may not use the first area to make subsequent determination on the electronic device, so as to avoid erroneous determination.
If the registration time of the login account of the electronic equipment is equal to or later than the initial starting time of the electronic equipment, the user holding the electronic equipment is a new user. That is, the user who holds the electronic device does not use other devices belonging to the same manufacturer as the electronic device before using the electronic device. In this scenario, the server may directly use the received first area as the usage area of the electronic device.
A point of sale of an electronic device typically holds offers to attract consumers in the area of the point of sale of the electronic device to purchase the electronic device. In the related art, some users may maliciously purchase a large number of electronic devices at a certain electronic device point of sale with high privilege and illegally sell the electronic devices to other areas. Since the ordinary user usually does not purchase the electronic device across areas, after acquiring the usage area of the electronic device (i.e., the area where the user holding the electronic device uses the electronic device for a long time), the server may compare the usage area of the electronic device with an area to which a point of sale of the electronic device belongs to determine whether the electronic device is an electronic device with abnormal point of sale. I.e., whether the user holding the electronic device purchases the electronic device through an illegal sales channel. In a specific implementation, the server may search an area to which the point of sale of the electronic device belongs from a mapping relationship between the identifier of the electronic device stored in the server and the area to which the point of sale of the electronic device belongs.
And when the use area of the electronic equipment is the same as the area to which the point of sale of the electronic equipment belongs, the point of sale of the electronic equipment is explained to sell the electronic equipment to the users in the area. I.e. the electronic device is a device purchased through a normal sales channel, i.e. at the point of sale of the electronic device. In this scenario, the process may end. When the use area of the electronic equipment is different from the area to which the point of sale of the electronic equipment belongs, the electronic equipment is possibly purchased through an illegal sales channel. Therefore, the server may determine that the electronic device is an electronic device with abnormal sales at the point of sale when the usage area of the electronic device is different from the area to which the point of sale of the electronic device belongs. By the method, the server can identify whether the electronic equipment is normally sold according to the use area of the electronic equipment and the area to which the point of sale of the electronic equipment belongs, and provide data support for the situation that whether the point of sale of the electronic equipment has malicious sale of the electronic equipment.
Further, the server may also push a sales abnormality notification message to a sales terminal of a point of sale of the electronic device when the electronic device occupancy at the point of sale sales of the electronic device is greater than a preset threshold. Therefore, the salesperson at the point of sale of the electronic equipment can timely know the abnormal sale condition at the point of sale through the sale abnormal notification message, so that the point of sale of the electronic equipment can take measures to prevent the electronic equipment from being maliciously purchased and illegally sold, the benefits of normal consumers are guaranteed, and the consumption experience of the consumers is improved. The sales anomaly notification message may be, for example, "there is sales anomaly at point of sale," there is recent sale anomaly of XXX electronic devices at point of sale, "or the like.
According to the method for counting the off-line cattle, the server can acquire the first area where the electronic equipment is located and the registration time of the login account of the electronic equipment, and then can use the first area as the use area of the electronic equipment when the first area and the corresponding historical positions of the login account in the second preset time period both belong to the first area, so that whether the electronic equipment is the electronic equipment with abnormal sale at the point of sale of the electronic equipment can be judged according to the use area of the electronic equipment and the area where the point of sale of the electronic equipment is located, and data support is provided for the condition that whether the electronic equipment is maliciously sold at the point of sale of the electronic equipment.
The method for counting off-line cattle provided by the present disclosure is illustrated below by a complete example. Fig. 3 is a flow chart illustrating a method of counting off-line cattle according to another exemplary embodiment. As shown in fig. 3, the method may include the steps of:
in step S201, the electronic device positions the electronic device for multiple times within a first preset time period after the electronic device is initially powered on.
In step S202, the electronic device determines whether the position where the electronic device is located a plurality of times belongs to the first area. If yes, go to S203. If not, the process is ended.
In step S203, the electronic device transmits the first area to the server.
Fig. 4 is a flow chart illustrating a method of counting off-line cattle according to yet another exemplary embodiment. As shown in fig. 4, after step S203, the method may include the steps of:
in step S301, the server receives the first area transmitted by the electronic device.
In step S302, the server acquires a registration time of a login account of the electronic device.
In step S303, the server determines whether the registration time of the login account of the electronic device is earlier than the initial power-on time of the electronic device. If so, S304 is executed, and if not, S305 is executed.
In step S304, the server determines whether the historical locations of the login account within a second preset time period taking the end time as the initial starting time of the electronic device all belong to the first area. If so, S305 is executed, otherwise, the process ends.
In step S305, the server takes the first area as a use area of the electronic device.
In step S306, the server determines whether the use area of the electronic apparatus is the same as an area to which a point of sale of the electronic apparatus belongs. If so, the process is terminated, otherwise, S307 is executed.
In step S307, the server determines that the electronic apparatus is an electronic apparatus with an abnormal point-of-sale sales.
Optionally, after step S307, the server may push a sales abnormality notification message to the sales terminal of the point of sale when the occupation ratio of the electronic device with abnormal sales at the point of sale is greater than the preset threshold.
According to the method for counting the off-line cattle, the server can accurately determine the use area of the electronic equipment according to the first area sent by the electronic equipment and the area to which the historical position corresponding to the login account of the electronic equipment belongs, and further can judge whether the electronic equipment is the electronic equipment with abnormal sale at the point of sale of the electronic equipment according to the use area of the electronic equipment and the area to which the point of sale of the electronic equipment is located, so that data support is provided for the situation that whether the electronic equipment is maliciously sold at the point of sale of the electronic equipment.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 5 is a block diagram illustrating an apparatus for counting off-line cattle in accordance with an exemplary embodiment. As shown in fig. 5, the statistical offline cattle device may implement part or all of the server through software, hardware, or a combination of the two. The device for counting off-line cattle can comprise:
the acquisition module 11 is configured to acquire a first area where the electronic device is located and registration time of a login account of the electronic device, where the first area is an area where the electronic device is located within a first preset time period, and start time of the first preset time period is initial starting time of the electronic device;
the processing module 12 is configured to, when the registration time of the login account of the electronic device is earlier than the initial starting-up time of the electronic device and the corresponding historical positions of the login account in a second preset time period all belong to a first area, use the first area as a use area of the electronic device, and end time of the second preset time period is the initial starting-up time of the electronic device;
the determining module 13 is configured to determine that the electronic device is an electronic device with abnormal point-of-sale sales when the usage area of the electronic device is different from an area to which a point-of-sale of the electronic device belongs.
Optionally, the processing module 12 is configured to, after the obtaining module 11 obtains a first area where the electronic device is located within a first preset time and registration time of a login account of the electronic device, use the first area as a use area of the electronic device when the registration time of the login account is equal to or later than initial starting-up time of the electronic device.
Optionally, the obtaining module 11 is configured to receive the first area sent by the electronic device, or is configured to receive the positions of the electronic device sent by the electronic device for multiple times within a first preset time period, and when all the positions sent by the electronic device belong to the same area, take the area where all the positions sent by the electronic device are located as the first area.
The device for counting off-line cattle, provided by the disclosure, comprises an acquisition module, a processing module and a point-of-sale determining module, wherein the acquisition module can acquire a first region where electronic equipment is located and registration time of a login account of the electronic equipment, and further enables the processing module to use the first region as the use region of the electronic equipment when the registration time of the login account of the electronic equipment is earlier than initial starting time of the electronic equipment and historical positions of the login account corresponding to the login account in a second preset time period all belong to the first region, so that the determining module can judge that the electronic equipment is abnormal for point-of-sale of the electronic equipment when the use region of the electronic equipment and the region where the point-of-sale of the electronic equipment is located are different, and data support is provided for the situation that whether malicious sale of the electronic equipment exists at the point-of sale of the electronic equipment.
Fig. 6 is a block diagram illustrating an apparatus for counting off-line cattle in accordance with another exemplary embodiment. As shown in fig. 6, on the basis of the block diagram shown in fig. 5, the apparatus for counting off-line cattle may further include:
the pushing module 14 is configured to, after the determining module 13 determines that the electronic device is an electronic device with abnormal sales at a point of sale, push a sales abnormality notification message to a sales terminal at the point of sale when the occupation ratio of the electronic device with abnormal sales at the point of sale is greater than a preset threshold value.
According to the device for counting off-line cattle, the pushing module can push the abnormal sale notification message to the sale terminal of the point of sale when the proportion of the electronic equipment with abnormal sale at the point of sale is larger than the preset threshold value, so that a salesman at the point of sale of the electronic equipment can timely know the abnormal sale condition at the point of sale through the abnormal sale notification message, and further the point of sale of the electronic equipment can take measures to prevent the electronic equipment from being maliciously purchased and illegally sold, so that the benefits of normal consumers are guaranteed, and the consumption experience of the consumers is improved.
Fig. 7 is a block diagram illustrating an apparatus 700 for counting off-line cattle, according to an example embodiment. For example, the apparatus 700 may be provided as a server. Referring to fig. 7, apparatus 700 includes a processing component 722 that further includes one or more processors and memory resources, represented by memory 732, for storing instructions, such as applications, that are executable by processing component 722. The application programs stored in memory 732 may include one or more modules that each correspond to a set of instructions. Further, the processing component 722 is configured to execute instructions to perform the above-described statistical offline cattle method.
The method comprises the following steps:
acquiring a first area where electronic equipment is located and registration time of a login account of the electronic equipment, wherein the first area is an area where the electronic equipment is located within a first preset time length, and the starting time of the first preset time length is initial starting time of the electronic equipment;
when the registration time of the login account of the electronic equipment is earlier than the initial starting time of the electronic equipment and the corresponding historical positions of the login account in a second preset time period all belong to the first area, taking the first area as the use area of the electronic equipment, wherein the end time of the second preset time period is the initial starting time of the electronic equipment;
when the use area of the electronic equipment is different from the area to which the point of sale of the electronic equipment belongs, determining that the electronic equipment is the electronic equipment with abnormal point of sale.
Optionally, after the obtaining of the first area where the electronic device is located within the first preset time and the registration time of the login account of the electronic device, the method further includes:
and when the registration time of the login account is equal to or later than the initial starting time of the electronic equipment, taking the first area as the use area of the electronic equipment.
Optionally, the obtaining of the first area where the electronic device is located includes:
and receiving a first area sent by the electronic equipment.
Optionally, the obtaining of the first area where the electronic device is located includes:
receiving the position of the electronic equipment sent by the electronic equipment for multiple times within the first preset time length;
and when all the positions sent by the electronic equipment belong to the same area, taking the area where all the positions sent by the electronic equipment are located as the first area.
Optionally, after determining that the electronic device is the electronic device with abnormal sales at the point of sale, the method further includes:
and when the occupation ratio of the electronic equipment with abnormal sales at the point of sale is greater than a preset threshold value, pushing a sales abnormal notification message to the sales terminal of the point of sale.
The apparatus 700 may also include a power component 726 configured to perform power management of the apparatus 700, a wired or wireless network interface 750 configured to connect the apparatus 700 to a network, and an input output (I/O) interface 758. The apparatus 700 may operate based on an operating system stored in memory 732, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1. A method for counting off-line cattle, which is characterized by comprising the following steps:
acquiring a first area where electronic equipment is located and registration time of a login account of the electronic equipment, wherein the first area is an area where the electronic equipment is located within a first preset time length, and the starting time of the first preset time length is initial starting time of the electronic equipment;
when the registration time of the login account of the electronic equipment is earlier than the initial starting time of the electronic equipment and the corresponding historical positions of the login account in a second preset time period all belong to the first area, taking the first area as the use area of the electronic equipment, wherein the end time of the second preset time period is the initial starting time of the electronic equipment;
when the use area of the electronic equipment is different from the area of the point of sale of the electronic equipment, determining that the electronic equipment is the electronic equipment with abnormal point of sale;
the acquiring of the first area where the electronic device is located includes:
receiving the position of the electronic equipment sent by the electronic equipment for multiple times within the first preset time length;
and when all the positions sent by the electronic equipment belong to the same area, taking the area where all the positions sent by the electronic equipment are located as the first area.
2. The method according to claim 1, wherein after the obtaining of the first area where the electronic device is located within the first preset time period and the registration time of the login account of the electronic device, the method further comprises:
and when the registration time of the login account is equal to or later than the initial starting time of the electronic equipment, taking the first area as the use area of the electronic equipment.
3. The method according to claim 1 or 2, wherein the acquiring the first area where the electronic device is located comprises:
and receiving a first area sent by the electronic equipment.
4. The method of claim 1, wherein after determining that the electronic device is an electronic device with abnormal point-of-sale sales, further comprising:
and when the occupation ratio of the electronic equipment with abnormal sales at the point of sale is greater than a preset threshold value, pushing a sales abnormal notification message to the sales terminal of the point of sale.
5. An apparatus for counting off-line cattle, comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is configured to acquire a first area where an electronic device is located and registration time of a login account of the electronic device, the first area is an area where the electronic device is located within a first preset time, and starting time of the first preset time is initial starting time of the electronic device;
the processing module is configured to, when the registration time of a login account of the electronic device is earlier than the initial starting-up time of the electronic device and the corresponding historical positions of the login account in a second preset time length all belong to the first area, use the first area as the use area of the electronic device, and the end time of the second preset time length is the initial starting-up time of the electronic device;
the determining module is configured to determine that the electronic equipment is the electronic equipment with abnormal sales at the point of sale when the use area of the electronic equipment is different from the area to which the point of sale of the electronic equipment belongs;
the obtaining module is configured to receive the positions of the electronic device sent by the electronic device for multiple times within the first preset time length, and when all the positions sent by the electronic device belong to the same area, take the area where all the positions sent by the electronic device are located as the first area.
6. The apparatus according to claim 5, wherein the processing module is configured to, after the obtaining module obtains a first area where the electronic device is located within a first preset time period and the registration time of the login account of the electronic device, take the first area as the usage area of the electronic device when the registration time of the login account is equal to or later than the initial power-on time of the electronic device.
7. The apparatus of claim 5 or 6, wherein the obtaining module is configured to receive the first region transmitted by the electronic device.
8. The apparatus of claim 5, further comprising:
the pushing module is configured to push a sales abnormity notification message to the sales terminal of the point of sale when the occupation ratio of the electronic equipment with the abnormal sales at the point of sale is greater than a preset threshold value after the determining module determines that the electronic equipment is the electronic equipment with the abnormal sales at the point of sale.
9. An apparatus for counting off-line cattle, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
acquiring a first area where electronic equipment is located and registration time of a login account of the electronic equipment, wherein the first area is an area where the electronic equipment is located within a first preset time length, and the starting time of the first preset time length is initial starting time of the electronic equipment;
when the registration time of the login account of the electronic equipment is earlier than the initial starting time of the electronic equipment and the corresponding historical positions of the login account in a second preset time period all belong to the first area, taking the first area as the use area of the electronic equipment, wherein the end time of the second preset time period is the initial starting time of the electronic equipment;
when the use area of the electronic equipment is different from the area of the point of sale of the electronic equipment, determining that the electronic equipment is the electronic equipment with abnormal point of sale;
the acquiring of the first area where the electronic device is located includes:
receiving the position of the electronic equipment sent by the electronic equipment for multiple times within the first preset time length;
and when all the positions sent by the electronic equipment belong to the same area, taking the area where all the positions sent by the electronic equipment are located as the first area.
10. An apparatus for counting off-line cattle, comprising: memory, a processor and computer instructions, the processor executing the computer instructions to perform the steps of the method according to any one of claims 1 to 4.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201810062286.4A 2018-01-23 2018-01-23 Method and device for counting off-line cattle and storage medium Active CN108197958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810062286.4A CN108197958B (en) 2018-01-23 2018-01-23 Method and device for counting off-line cattle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810062286.4A CN108197958B (en) 2018-01-23 2018-01-23 Method and device for counting off-line cattle and storage medium

Publications (2)

Publication Number Publication Date
CN108197958A CN108197958A (en) 2018-06-22
CN108197958B true CN108197958B (en) 2021-12-14

Family

ID=62590741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810062286.4A Active CN108197958B (en) 2018-01-23 2018-01-23 Method and device for counting off-line cattle and storage medium

Country Status (1)

Country Link
CN (1) CN108197958B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299954B (en) * 2018-08-22 2022-04-15 中国银联股份有限公司 Illegal commercial tenant identification method and device
CN109284380B (en) * 2018-09-25 2023-04-25 平安科技(深圳)有限公司 Illegal user identification method and device based on big data analysis and electronic equipment
CN110297669B (en) * 2019-06-28 2021-05-25 北京金山安全软件有限公司 Method and device for online activation of equipment, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1832617A (en) * 2005-03-09 2006-09-13 华为技术有限公司 Method for locking terminal attaching region
CN102446322A (en) * 2010-09-30 2012-05-09 司晓哲 Anti-channel-conflict method based on position information
CN103759393A (en) * 2014-01-21 2014-04-30 广东美的制冷设备有限公司 Air conditioner, wireless air conditioner controller, system and control method of air conditioner
CN104066203A (en) * 2014-06-20 2014-09-24 可牛网络技术(北京)有限公司 Method and system for generating identifier of mobile device, method for remotely controlling mobile device, and communication terminal
CN106407858A (en) * 2016-08-31 2017-02-15 北京慕加投资有限公司 Channel conflict prevention method through scanning bottle body two-dimensional code and channel conflict prevention system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1832617A (en) * 2005-03-09 2006-09-13 华为技术有限公司 Method for locking terminal attaching region
CN102446322A (en) * 2010-09-30 2012-05-09 司晓哲 Anti-channel-conflict method based on position information
CN103759393A (en) * 2014-01-21 2014-04-30 广东美的制冷设备有限公司 Air conditioner, wireless air conditioner controller, system and control method of air conditioner
CN104066203A (en) * 2014-06-20 2014-09-24 可牛网络技术(北京)有限公司 Method and system for generating identifier of mobile device, method for remotely controlling mobile device, and communication terminal
CN106407858A (en) * 2016-08-31 2017-02-15 北京慕加投资有限公司 Channel conflict prevention method through scanning bottle body two-dimensional code and channel conflict prevention system thereof

Also Published As

Publication number Publication date
CN108197958A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
US10667151B2 (en) Coverage solution recommendation tool
US10757102B2 (en) Methods, apparatus, and systems for identity authentication
WO2017113527A1 (en) Method and device for switching virtual sim card, and terminal
US20150278867A1 (en) Beacon device for enhancing measurements of the effecitiveness of mobile notifications
US11343340B2 (en) IOT device identification
CA3059623A1 (en) Smart broadcasting method and apparatus
JP6560352B2 (en) Information push method and device
US11250434B2 (en) Payment method and device
CN108197958B (en) Method and device for counting off-line cattle and storage medium
CN105282234A (en) Intelligent device connection method, device and system
US20130055271A1 (en) Apparatus and method for controlling polling
JP2016184306A (en) Protection support system, protection support server, and protection terminal
CN110620988A (en) Information reporting method, device and equipment
CN103957514B (en) Prompt the method and device of user
US20180295471A1 (en) Systems and Methods for Beacon Location Verification
CN109951549B (en) Network page access method and device and computer readable storage medium
US20200126147A1 (en) Order prompting method and device
CN110751464A (en) Information prompting method, device, equipment and storage medium
CN109600738A (en) Updating method of user information, device, equipment and storage medium
CN111125771B (en) Method and device for protecting equipment privacy, electronic equipment and storage medium
JP6673096B2 (en) Device selection method, device selection program, and device selection device
CN105812433B (en) Cloud adaptation processing method and device, terminal and cloud server
CN107920359A (en) Connection method, device and the user terminal of wireless access points
US20190037017A1 (en) Information processing device, information processing method, information processing program and information processing system
CN109302318B (en) Information processing 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