Inspection method and system for realizing dealer channel conflict prevention based on one object and one code
By establishing a regional correlation table and using product traceability code to judge, the existing interceptor identification methods in terms of judgment accuracy are solved, and more efficient and accurate interceptor judgment is achieved, and the actual scenario needs are met.
Patent Information
- Application Number
- CN202410988361.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-12-13
AI Technical Summary
When determining whether a product is interfered with, the existing method of interfered goods cannot meet the actual scenario needs, which affects the accuracy of the judgment.
By receiving customized areas created by the enterprise based on administrative areas, obtaining legal sales areas selected by the dealer, establishing a regional association table, and determining whether the product is interfering based on the location of the auditor and the product traceability code, it supports dealers to flexibly selecting legal sales areas. , improve the accuracy of judgment on cross-trading.
It improves the accuracy and efficiency of cross-stock judgments, meets the needs of actual scenarios, and supports enterprises to create custom areas based on administrative areas, reduces data storage and reduces maintenance costs.
Smart Images

Figure CN119130483A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to an inspection method and system for preventing dealers from smuggling based on one item and one code. Background Art
[0002] "One item, one code" means that each product is assigned a unique identification code, which is used to track the product. From production to sales, the product needs to go through various brands and distributors. Each product can only be sold in the corresponding sales area to ensure market stability. Channel flooding refers to the sale of goods in sales areas that do not belong to them, which will lead to chaos in market prices and affect the normal order of the market.
[0003] The existing method of identifying channel-divide trading mainly determines the scanning area of the product through "one item, one code" and obtains the saleable area of the product at the same time, and compares the two to determine whether channel-divide trading has occurred. The saleable area of the product is mainly divided according to the administrative regions of the country. This method of judging channel-divide trading cannot meet the needs of actual scenarios and further affects the accuracy of channel-divide trading judgment. Summary of the invention
[0004] The technical problem to be solved by the present invention is: the present invention provides an inspection method and system for preventing dealers from counterfeiting based on one item and one code, which meets the needs of actual scenarios while improving the accuracy of counterfeiting judgment.
[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: In a first aspect, the present invention provides a method for checking dealers against cross-selling based on one item one code, comprising: Receiving the custom region created by the enterprise based on the administrative region, receiving the legal sales region selected by the dealer based on the administrative region and the custom region, associating the legal sales region with the dealer, and obtaining a region association table; Obtain the current inspection location of the inspector, receive the product traceability code obtained by the inspector when scanning the current product, and obtain the code value information including the current distributor according to the product traceability code; According to the current distributor, the corresponding current legal sales area is obtained from the regional association table, and the current legal sales area is matched with the current inspection location. If the match is successful, the current product has not been traded in parallel. If the match fails, the current product has been traded in parallel.
[0006] The beneficial effects of the present invention are: supporting enterprises to create custom areas based on administrative areas, so that dealers can flexibly select legal sales areas in administrative areas and custom areas, that is, supporting dealers to customize their selection of legal sales areas without destroying administrative areas, improving the flexibility of legal sales areas, meeting the needs of actual scenarios, and creating a regional association table between dealers and legal sales areas. When the auditor scans the current product and obtains the code value information containing the current dealer, the current legal sales area corresponding to the current dealer can be obtained from the regional association table, and it can be matched with the current inspection position of the auditor to determine whether the current product is a channel-buying product, thereby improving the efficiency of channel-buying judgment and the accuracy of channel-buying judgment.
[0007] Optionally, the self-defined area defines the affiliation between different administrative areas, the area association table includes a first association table, and the area association table obtained by associating the legal sales area with the dealer includes: Determine whether all the subordinate areas under the jurisdiction of a certain upper-level area are in the legal sales area. If so, only the upper-level area ID of this upper-level area is used as the legal area ID. Otherwise, the area IDs corresponding to the remaining legal sales areas are used as the legal area IDs. All the legal area IDs are associated with the dealer IDs of the dealers to obtain a first association table.
[0008] According to the above description, when all the subordinate areas under the jurisdiction of the upper-level area are within the legal sales area, only the upper-level area ID of the upper-level area is associated with the dealer ID as the legal area ID to achieve high efficiency of the association while reducing the amount of associated data storage. Conversely, the area ID corresponding to the legal sales area is associated with the dealer ID as the legal area ID to ensure the comprehensiveness of the association.
[0009] Optionally, the region association table includes a second association table, and obtaining the first association table further includes: Generate an upper-level region ID path corresponding to the legal region ID according to the administrative division rule and the legal sales region, associate the upper-level region ID path with the legal region ID, and obtain a second association table, wherein the upper-level region ID path includes all region IDs of the upper-level region of the legal region ID up to the uppermost region of the custom region; The obtaining the corresponding current legal sales area from the area association table according to the current dealer and matching the current legal sales area with the current inspection location includes: Obtaining a current dealer ID of the current dealer, and obtaining all first legal area IDs from the first association table according to the current dealer ID; Convert the current audit position into a current area ID, and obtain a second legal area ID corresponding to the current area ID and a first upper-level area ID path corresponding to the second legal area ID from the second association table according to the current area ID; It is determined whether there is an overlapping area ID in the first legal area ID, the second legal area ID, and the first upper-level area ID path. If so, the match is successful; otherwise, the match fails.
[0010] According to the above description, the upper-level area ID path is associated with the legal area ID, and the upper-level area ID path includes all area IDs from the upper-level area of the legal area ID to the uppermost area in the custom area, which ensures the comprehensiveness of the obtained second association table. At the same time, the association storage is performed in the form of ID path to reduce the amount of data stored and maintained. When the current area ID is obtained, the second legal area ID corresponding to the current area ID and the first upper-level area ID path corresponding to the second legal area ID are obtained from the second association table to determine whether there is an overlapping area ID between the first legal area ID and the second legal area ID and the first upper-level area ID path. If so, it is considered that the match is successful, otherwise, the match fails, thereby improving the matching accuracy and matching efficiency.
[0011] Optionally, converting the current audit position into a current area ID comprises: The current coordinates of the current inspection location are obtained, the current administrative division code of the current coordinates is obtained through the reverse geocoding rule, and the corresponding current area ID is obtained according to the current administrative division code.
[0012] According to the above description, the current administrative division code corresponding to the current coordinates of the current audit location is obtained through the reverse geocoding rules, and the current area ID is obtained by the current administrative division code to ensure the accuracy of the obtained current area ID.
[0013] Optionally, the code value information also includes the current commodity name, the current commodity type and the current commodity production factory.
[0014] According to the above description, the code value information includes a variety of relevant information of the current product, that is, the code value information has rich information, which is convenient for subsequent further operations on the current product.
[0015] In a second aspect, the present invention provides an audit system for preventing dealers from tampering based on one item one code, including: A region association table creation module is used to receive a custom region created by an enterprise based on an administrative region, receive a legal sales region selected by a dealer based on the administrative region and the custom region, associate the legal sales region with the dealer, and obtain a region association table; A scanning module is used to obtain the current inspection position of the inspector, receive the product traceability code obtained when the inspector scans the current product, and obtain the code value information containing the current distributor according to the product traceability code; The module for judging the cross-selling of goods is used to obtain the corresponding current legal sales area from the regional association table according to the current dealer, and match the current legal sales area with the current inspection position. If the match is successful, the current product has not been cross-selling; if the match fails, the current product has been cross-selling.
[0016] The beneficial effects of the present invention are: supporting enterprises to create custom areas based on administrative areas, so that dealers can flexibly select legal sales areas in administrative areas and custom areas, that is, supporting dealers to customize their selection of legal sales areas without destroying administrative areas, improving the flexibility of legal sales areas, meeting the needs of actual scenarios, and creating a regional association table between dealers and legal sales areas. When the auditor scans the current product and obtains the code value information containing the current dealer, the current legal sales area corresponding to the current dealer can be obtained from the regional association table, and it can be matched with the current inspection position of the auditor to determine whether the current product is a channel-buying product, thereby improving the efficiency of channel-buying judgment and the accuracy of channel-buying judgment.
[0017] Optionally, the custom region defines the affiliation between different administrative regions, the region association table includes a first association table, and the region association table creation module is specifically used to: Determine whether all the subordinate areas under the jurisdiction of a certain upper-level area are in the legal sales area. If so, only the upper-level area ID of this upper-level area is used as the legal area ID. Otherwise, the area IDs corresponding to the remaining legal sales areas are used as the legal area IDs. All the legal area IDs are associated with the dealer IDs of the dealers to obtain a first association table.
[0018] According to the above description, when all the subordinate areas under the jurisdiction of the upper-level area are within the legal sales area, only the upper-level area ID of the upper-level area is associated with the dealer ID as the legal area ID to achieve high efficiency of the association while reducing the amount of associated data storage. Conversely, the area ID corresponding to the legal sales area is associated with the dealer ID as the legal area ID to ensure the comprehensiveness of the association.
[0019] Optionally, the region association table includes a second association table, and the region association table creation module is specifically used to: Generate an upper-level region ID path corresponding to the legal region ID according to the administrative division rule and the legal sales region, associate the upper-level region ID path with the legal region ID, and obtain a second association table, wherein the upper-level region ID path includes all region IDs of the upper-level region of the legal region ID up to the uppermost region of the custom region; The channeling judgment module is specifically used for: Obtaining a current dealer ID of the current dealer, and obtaining all first legal area IDs from the first association table according to the current dealer ID; Convert the current audit position into a current area ID, and obtain a second legal area ID corresponding to the current area ID and a first upper-level area ID path corresponding to the second legal area ID from the second association table according to the current area ID; It is determined whether there is an overlapping area ID in the first legal area ID, the second legal area ID, and the first upper-level area ID path. If so, the match is successful; otherwise, the match fails.
[0020] According to the above description, the upper-level area ID path is associated with the legal area ID, and the upper-level area ID path includes all area IDs from the upper-level area of the legal area ID to the uppermost area in the custom area, which ensures the comprehensiveness of the obtained second association table. At the same time, the association storage is performed in the form of ID path to reduce the amount of data stored and maintained. When the current area ID is obtained, the second legal area ID corresponding to the current area ID and the first upper-level area ID path corresponding to the second legal area ID are obtained from the second association table to determine whether there is an overlapping area ID between the first legal area ID and the second legal area ID and the first upper-level area ID path. If so, it is considered that the match is successful, otherwise, the match fails, thereby improving the matching accuracy and matching efficiency.
[0021] Optionally, the channel-switching judging module is specifically used for: The current coordinates of the current inspection location are obtained, the current administrative division code of the current coordinates is obtained through the reverse geocoding rule, and the corresponding current area ID is obtained according to the current administrative division code.
[0022] According to the above description, the current administrative division code corresponding to the current coordinates of the current audit location is obtained through the reverse geocoding rules, and the current area ID is obtained by the current administrative division code to ensure the accuracy of the obtained current area ID.
[0023] Optionally, the code value information also includes the current commodity name, the current commodity type and the current commodity production factory.
[0024] According to the above description, the code value information includes a variety of relevant information of the current product, that is, the code value information has rich information, which is convenient for subsequent further operations on the current product. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 A flowchart of a method for checking dealers against cross-selling based on one item one code provided by an embodiment of the present invention; Figure 2 A schematic diagram of the overall process of a method for checking dealers against cross-selling based on one item one code provided by an embodiment of the present invention; Figure 3 A schematic diagram of the structure of an audit system for preventing dealers from smuggling based on one item one code provided in an embodiment of the present invention.
[0026] [Description of Reference Numerals] 1. An audit system based on one item one code to prevent dealers from smuggling; 2. Regional association table creation module; 3. Scanning module; 4. Channel-channelling judgment module. DETAILED DESCRIPTION
[0027] In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a clearer and more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0028] Embodiment 1 Please refer to Figure 1 to Figure 2 The present invention provides a method for checking dealers against cross-border transactions based on one item and one code, comprising the following steps: S1. Receive a custom region created by an enterprise based on an administrative region, receive a legal sales region selected by a dealer based on the administrative region and the custom region, associate the legal sales region with the dealer, and obtain a region association table; In this embodiment, if Figure 2As shown, it supports and accepts enterprises to create custom regions based on administrative regions, that is, the custom regions do not destroy the administrative regions formulated by the state, and supports enterprises to create custom regions on administrative regions of different levels, and the affiliation between different administrative regions is defined in the custom regions. For example, Enterprise A creates custom regions under Guangzhou: South District and North District. South District includes Baiyun District and Tianhe District, which belong to South District of Guangzhou. North District includes Liwan District and Yuexiu District, which belong to North District of Guangzhou. Dealers select their corresponding legal sales regions based on administrative regions and custom regions, and associate the legal sales regions selected by dealers with dealers to obtain a regional association table.
[0029] In this embodiment, the region association table includes a first association table and a second association table.
[0030] At this time, in step S1, the legal sales area is associated with the dealer to obtain a regional association table including: S11, determining whether all the subordinate areas under the jurisdiction of a certain upper-level area are within the legal sales area, if so, only the upper-level area ID of the upper-level area is used as the legal area ID, otherwise, the area IDs corresponding to the remaining legal sales areas are used as the legal area ID; S12: Associating all the legal area IDs with the dealer IDs of the dealers to obtain a first association table.
[0031] In this embodiment, if Figure 2 As shown, when associating the legal sales area with the dealer, it is determined whether all the subordinate areas under the jurisdiction of a certain upper-level area are within the legal sales area. If so, the upper-level area ID of the upper-level area is used as the legal area ID to be associated with the dealer ID of the dealer. Otherwise, the area IDs corresponding to the remaining legal sales areas are used as the legal area IDs to be associated with the dealer ID of the dealer to obtain the first association table, in which the area ID is a unique identifier for each area.
[0032] In a specific embodiment, taking the upper level regions as region A and region B as examples, all the lower level regions under the jurisdiction of region B are: lower level region 1, lower level region 2, lower level region 3, lower level region 4 and lower level region 5, and all the lower level regions under the jurisdiction of region A are: lower level region 7, lower level region 8, lower level region 9, lower level region 10, lower level region 11, lower level region 12, lower level region 13 and lower level region 14. Distributor a selects the legal sales regions based on region B, and the legal sales regions selected are: lower level region 1, lower level region 2, lower level region 3, lower level region 4 and lower level region 5. Sub-area 4 and 5, the upper-level area of sub-area 1, sub-area 2, sub-area 3, sub-area 4 and sub-area 5 is area B, that is, all the lower-level areas under the jurisdiction of area B are in the legal sales area of dealer a. Therefore, the upper-level area ID of the upper-level area of sub-area 1, sub-area 2, sub-area 3, sub-area 4 and sub-area 5, that is, the area ID of area B is used as the legal area ID. For example, if the area ID of area B is 3 and the dealer ID of dealer a is a, then 3 is associated with a to obtain the first association table; Dealer b selects a legal sales area based on region A. The legal sales areas it selects are: subordinate region 9 and subordinate region 10. The upper region of subordinate region 9 and subordinate region 10 is region A, and all subordinate regions under the jurisdiction of region A are: subordinate region 7, subordinate region 8, subordinate region 9, subordinate region 10, subordinate region 11, subordinate region 12, subordinate region 13 and subordinate region 14. Dealer b's legal sales area only includes two subordinate regions in region A, not all of them. Therefore, not all subordinate regions under the jurisdiction of region A are in the legal sales area of dealer b. Therefore, the area ID of subordinate region 9 and the area ID of subordinate region 10 are both associated with the dealer ID of dealer b as legal area IDs. For example, if the area ID of subordinate region 9 is 5, the area ID of subordinate region 10 is 4, and the dealer ID of dealer b is b, then 5 is associated with b, and 4 is associated with b to obtain a first association table. The obtained first association table is shown in Table 1: Table 1. First association table
[0033] At this time, after obtaining the first association table in step S12, the following steps are further included: S121, generating a superior region ID path corresponding to the legal region ID according to the administrative division rule and the legal sales region, associating the superior region ID path with the legal region ID to obtain a second association table, wherein the superior region ID path includes all region IDs of superior regions of the legal region ID up to the highest region in the custom region; In this embodiment, if Figure 2 As shown, after obtaining the first association table according to step S12, a second association table will be created. The second association table is an association between the upper-level region ID path and the legal region ID, and the upper-level region ID path is the upper-level region ID path corresponding to the legal region ID generated according to the administrative division rules and the legal sales region ID, that is, the upper-level region ID path is sorted according to the administrative division rules, that is, the hierarchical size, and the upper-level region ID path includes all region IDs of the upper-level region of the legal region ID to the uppermost region in the custom region, for example: dealer b is the legal region ID of dealer b. The regional IDs of the method are: 4 and 5, 4 is the regional ID of the lower-level region 10. Since dealer b selected the lower-level region 10 based on region A, the upper-level region of the lower-level region 10 is region A, the upper-level region of region A is AS, and the upper-level region of AS is AAS. Assuming that the regional ID of region A is 2, the regional ID of AS is 1, and the regional ID of AAS is 0, then the generated upper-level regional ID path of the lower-level region 10 is: 0, 1, 2. Similarly, the generated upper-level regional ID path of the lower-level region 9 is: 0, 1, 2, as shown in Table 2: Table 2. Second association table
[0034] The generated second association table includes not only the legal region ID and the upper-level region ID path, but also the information such as the administrative region name and administrative division code corresponding to the legal region ID.
[0035] S2. Obtain the current inspection location of the inspector, receive the product traceability code obtained by the inspector when scanning the current product, and obtain the code value information including the current distributor according to the product traceability code; In this embodiment, if Figure 2 As shown, before scanning the current product, the inspector will first log in to the inspection application using his or her own account through the mobile phone and turn on the mobile phone positioning. The inspector's current inspection location is obtained through the mobile phone positioning, and the product traceability code obtained when the inspector scans the current product is received. According to the product traceability code, the code value information including the current distributor can be obtained, and the code value information also includes the current product name, current product type and current product production factory.
[0036] S3. Obtain the corresponding current legal sales area from the regional association table according to the current distributor, and match the current legal sales area with the current inspection location. If the match is successful, the current product has not been traded in parallel; if the match fails, the current product has been traded in parallel.
[0037] At this time, in step S3, obtaining the corresponding current legal sales area from the area association table according to the current dealer, and matching the current legal sales area with the current audit position includes: S31, obtaining the current dealer ID of the current dealer, and obtaining all first legal area IDs from the first association table according to the current dealer ID; S32, converting the current audit position into a current area ID, and acquiring, from the second association table according to the current area ID, a second legal area ID corresponding to the current area ID and a first upper-level area ID path corresponding to the second legal area ID; At this time, the conversion of the current inspection position into the current area ID in step S32 includes: S321. Obtain the current coordinates of the current inspection location, obtain the current administrative division code of the current coordinates through the reverse geocoding rule, and obtain the corresponding current area ID according to the current administrative division code.
[0038] In this embodiment, if Figure 2 As shown, the current administrative division code of the current coordinates of the current inspection location is obtained through the inverse geocoding rules. Since the administrative division codes corresponding to each legal area ID are stored in the second association table, the corresponding current area ID can be obtained from the second association table based on the current administrative division code.
[0039] S33: Determine whether there is an overlapping area ID among the first legal area ID, the second legal area ID, and the first upper-level area ID. If so, the match succeeds; otherwise, the match fails.
[0040] In this embodiment, if Figure 2 As shown, when the current dealer ID is obtained, all the corresponding first legal area IDs are obtained from the first association table based on the current dealer ID. When the current inspection position is converted into the current area ID, the corresponding second legal area ID and the first upper area ID path corresponding to the second legal area ID are obtained from the second association table based on the current area ID, and then it is determined whether there is overlapping area ID between the first legal area ID and the second legal area ID and the first upper path area ID. If so, the match is successful, that is, the current product has not been cross-selling. Otherwise, the match fails and the current product has been cross-selling.
[0041] In a specific embodiment, the current dealer ID obtained is a, the first legal area ID obtained from the first association table is 3, the current area ID is 4, and the corresponding second legal area ID obtained from the second association table according to the current area ID is 4, and its corresponding first upper area ID path is 0, 1, 2. Since the first legal area ID: 3 and the second legal area ID: 4, the first upper path area ID: 0, 1, 2 do not have overlapping area IDs, the matching fails, that is, the current product has been traded in parallel. When the dealer ID obtained is b, all of its first legal area IDs obtained from the first association table are: 4, 5, and the current area ID is 4. According to the current area ID, the corresponding second legal area ID obtained from the second association table is 4, and its corresponding first upper area ID path is 0, 1, 2. Since the first legal area ID: 4 and the second legal area ID: 4, the first upper path area ID: 0, 1, 2 have overlapping area ID: 4, the matching is successful, that is, the current product has not been traded in parallel.
[0042] In this embodiment, after determining whether the current product is being traded in parallel, the situation of trade in parallel in each area, the products involved in the trade in parallel, and the distributors of the trade in parallel will be presented through a heat map.
[0043] Embodiment 2 Please refer to Figure 3 The present invention provides an audit system 1 for preventing dealers from cross-selling based on one item and one code, which specifically includes: a regional association table creation module 2, a scanning module 3 and a cross-selling judgment module 4.
[0044] The regional association table creation module 2 is used to receive the custom region created by the enterprise based on the administrative region, receive the legal sales region selected by the dealer based on the administrative region and the custom region, associate the legal sales region with the dealer, and obtain a regional association table; Scanning module 3, used to obtain the current inspection position of the inspector, receive the product traceability code obtained when the inspector scans the current product, and obtain the code value information containing the current distributor according to the product traceability code; The channel-switching judgment module 4 is used to obtain the corresponding current legal sales area from the area association table according to the current dealer, and match the current legal sales area with the current inspection position. If the match is successful, the current product has not been channel-switched; if the match fails, the current product has been channel-switched.
[0045] Specifically, the self-defined area defines the affiliation between different administrative areas, the area association table includes a first association table, and the area association table creation module 2 is specifically used for: Determine whether all the subordinate areas under the jurisdiction of a certain upper-level area are in the legal sales area. If so, only the upper-level area ID of this upper-level area is used as the legal area ID. Otherwise, the area IDs corresponding to the remaining legal sales areas are used as the legal area IDs. All the legal area IDs are associated with the dealer IDs of the dealers to obtain a first association table.
[0046] Specifically, the region association table includes a second association table, and the region association table creation module 2 is specifically used for: Generate an upper-level region ID path corresponding to the legal region ID according to the administrative division rule and the legal sales region, associate the upper-level region ID path with the legal region ID, and obtain a second association table, wherein the upper-level region ID path includes all region IDs of the upper-level region of the legal region ID up to the uppermost region of the custom region; The channeling judgment module 4 is specifically used for: Obtaining a current dealer ID of the current dealer, and obtaining all first legal area IDs from the first association table according to the current dealer ID; Convert the current audit position into a current area ID, and obtain a second legal area ID corresponding to the current area ID and a first upper-level area ID path corresponding to the second legal area ID from the second association table according to the current area ID; It is determined whether there is an overlapping area ID in the first legal area ID, the second legal area ID, and the first upper-level area ID path. If so, the match is successful; otherwise, the match fails.
[0047] Specifically, the channel-channeling judgment module 4 is used to: The current coordinates of the current inspection location are obtained, the current administrative division code of the current coordinates is obtained through the reverse geocoding rule, and the corresponding current area ID is obtained according to the current administrative division code.
[0048] Specifically, the code value information also includes the current commodity name, the current commodity type and the current commodity production factory.
[0049] Since the system / device described in the above embodiments of the present invention is a system / device used to implement the method of the above embodiments of the present invention, a person skilled in the art can understand the specific structure and deformation of the system / device based on the method described in the above embodiments of the present invention, and thus will not be described in detail here. All systems / devices used in the method of the above embodiments of the present invention belong to the scope of protection of the present invention.
[0050] It should be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0051] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions.
[0052] It should be noted that in the claims, any reference numerals placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In the claims enumerating several means, several of these means may be embodied by the same hardware. The use of the words first, second, third, etc., is for convenience of expression only and does not indicate any order. These words may be understood as part of the component name.
[0053] In addition, it should be noted that, in the description of this specification, the description of the terms "one embodiment", "some embodiments", "embodiment", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0054] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments after knowing the basic creative concept. Therefore, the claims should be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present invention.
[0055] Obviously, those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention should also include these modifications and variations.
Claims
1. A method for checking dealers against cross-selling based on one item one code, characterized in that: include: Receiving the custom region created by the enterprise based on the administrative region, receiving the legal sales region selected by the dealer based on the administrative region and the custom region, associating the legal sales region with the dealer, and obtaining a region association table; Obtain the current inspection location of the inspector, receive the product traceability code obtained by the inspector when scanning the current product, and obtain the code value information including the current distributor according to the product traceability code; According to the current distributor, the corresponding current legal sales area is obtained from the regional association table, and the current legal sales area is matched with the current inspection location. If the match is successful, the current product has not been traded in parallel. If the match fails, the current product has been traded in parallel.
2. The method for checking dealers against cross-selling based on one item one code as claimed in claim 1, characterized in that: The self-defined area defines the affiliation between different administrative areas, the area association table includes a first association table, and the area association table obtained by associating the legal sales area with the dealer includes: Determine whether all the subordinate areas under the jurisdiction of a certain upper-level area are in the legal sales area. If so, only the upper-level area ID of this upper-level area is used as the legal area ID. Otherwise, the area IDs corresponding to the remaining legal sales areas are used as the legal area IDs. All the legal area IDs are associated with the dealer IDs of the dealers to obtain a first association table.
3. The method for checking dealers against cross-selling based on one item one code as claimed in claim 2, characterized in that: The region association table includes a second association table, and after obtaining the first association table, the following further includes: Generate an upper-level region ID path corresponding to the legal region ID according to the administrative division rule and the legal sales region, associate the upper-level region ID path with the legal region ID, and obtain a second association table, wherein the upper-level region ID path includes all region IDs of the upper-level region of the legal region ID up to the uppermost region of the custom region; The obtaining the corresponding current legal sales area from the area association table according to the current dealer and matching the current legal sales area with the current inspection location includes: Obtaining a current dealer ID of the current dealer, and obtaining all first legal area IDs from the first association table according to the current dealer ID; Convert the current audit position into a current area ID, and obtain a second legal area ID corresponding to the current area ID and a first upper-level area ID path corresponding to the second legal area ID from the second association table according to the current area ID; It is determined whether there is an overlapping area ID in the first legal area ID, the second legal area ID, and the first upper-level area ID path. If so, the match is successful; otherwise, the match fails.
4. The method for checking dealers against cross-selling based on one item one code as claimed in claim 3, characterized in that: The converting the current audit position into the current area ID comprises: The current coordinates of the current inspection location are obtained, the current administrative division code of the current coordinates is obtained through the reverse geocoding rule, and the corresponding current area ID is obtained according to the current administrative division code.
5. The method for checking dealers against cross-selling based on one item one code as claimed in claim 1, characterized in that: The code value information also includes the current commodity name, the current commodity type and the current commodity production factory.
6. An audit system based on one item one code to prevent dealers from colluding, characterized in that: include: A region association table creation module is used to receive a custom region created by an enterprise based on an administrative region, receive a legal sales region selected by a dealer based on the administrative region and the custom region, associate the legal sales region with the dealer, and obtain a region association table; A scanning module is used to obtain the current inspection position of the inspector, receive the product traceability code obtained when the inspector scans the current product, and obtain the code value information containing the current distributor according to the product traceability code; The module for judging the cross-selling of goods is used to obtain the corresponding current legal sales area from the regional association table according to the current dealer, and match the current legal sales area with the current inspection position. If the match is successful, the current product has not been cross-selling; if the match fails, the current product has been cross-selling.
7. The audit system for preventing dealers from colluding based on one item one code as claimed in claim 6 is characterized in that: The custom region defines the affiliation between different administrative regions, the region association table includes a first association table, and the region association table creation module is specifically used for: Determine whether all the subordinate areas under the jurisdiction of a certain upper-level area are in the legal sales area. If so, only the upper-level area ID of this upper-level area is used as the legal area ID. Otherwise, the area IDs corresponding to the remaining legal sales areas are used as the legal area IDs. All the legal area IDs are associated with the dealer IDs of the dealers to obtain a first association table.
8. The audit system for preventing dealers from colluding based on one item one code as claimed in claim 7 is characterized in that: The region association table includes a second association table, and the region association table creation module is specifically used for: Generate an upper-level region ID path corresponding to the legal region ID according to the administrative division rule and the legal sales region, associate the upper-level region ID path with the legal region ID, and obtain a second association table, wherein the upper-level region ID path includes all region IDs of the upper-level region of the legal region ID up to the uppermost region of the custom region; The channeling judgment module is specifically used for: Obtaining a current dealer ID of the current dealer, and obtaining all first legal area IDs from the first association table according to the current dealer ID; Convert the current audit position into a current area ID, and obtain a second legal area ID corresponding to the current area ID and a first upper-level area ID path corresponding to the second legal area ID from the second association table according to the current area ID; It is determined whether there is an overlapping area ID in the first legal area ID, the second legal area ID, and the first upper-level area ID path. If so, the match is successful; otherwise, the match fails.
9. The audit system for preventing dealers from smuggling based on one item one code as claimed in claim 8, characterized in that: The channeling judgment module is specifically used for: The current coordinates of the current inspection location are obtained, the current administrative division code of the current coordinates is obtained through the reverse geocoding rule, and the corresponding current area ID is obtained according to the current administrative division code.
10. The audit system for preventing dealers from embezzling based on one item one code as claimed in claim 6, characterized in that: The code value information also includes the current commodity name, the current commodity type and the current commodity production factory.
