CN-116308454-B - Brand mutual migration amount calculation method, device, electronic equipment and storage medium
Abstract
The application provides a brand mutual migration amount calculation method, device, electronic equipment and storage medium, wherein the method comprises the steps of obtaining first code scanning data of a target object in a first time period, second code scanning data of the target object in a second time period, first sales amount data of each brand in the first time period and second sales amount data of each brand in the second time period, calculating code scanning migration amounts of each target object according to the first code scanning data and the second code scanning data, summarizing the code scanning migration amounts to obtain total code scanning migration amounts of a market total, calculating brand migration probability according to the total code scanning migration amounts, and calculating brand mutual migration amounts according to the brand migration probability, the first sales amount data and the second sales amount data. The method and the device solve the problem that the migration condition of the consumer between different brands cannot be calculated by utilizing the sales volume of the product in the related technology.
Inventors
- CHEN HAO
- ZHU LILI
- MO YUHUA
- GU YUE
- LIU XIPENG
- WANG XIN
- ZHU HAORAN
- LIU YANBING
Assignees
- 广西中烟工业有限责任公司
Dates
- Publication Date
- 20260505
- Application Date
- 20230120
Claims (8)
- 1. A brand mutual migration calculating method, characterized in that the method comprises: Acquiring first code scanning data and second code scanning data of a target object in a first time period, and first sales data and second sales data of brands in the first time period and the second time period, wherein the first time period and the second time period are continuous; Determining an immigrating brand and an immigrating brand according to the first code scanning data and the second code scanning data; Generating a first migration brand set and a first migration brand set according to the migration brands and the migration brands; Calculating the code scanning migration quantity of each target object according to the first code scanning data and the second code scanning data; summarizing the code scanning migration quantity to obtain the total code scanning migration quantity of the market totality; Calculating the brand migration probability according to the total code scanning migration quantity; calculating the brand mutual migration amount according to the brand migration probability, the first sales volume data and the second sales volume data; The method comprises the steps of calculating the code migration quantity of each target object according to first code scanning data and second code scanning data, obtaining the total migration quantity of all the migrated brands and the total migration quantity of all the migrated brands according to the first code scanning data and the second code scanning data, comparing the total migration quantity with the total migration quantity, generating a first preset number of virtual migrated brands when the total migration quantity is larger than the total migration quantity, generating a second preset number of virtual migrated brands when the total migration quantity is smaller than the total migration quantity, adding the virtual migrated brands into a first migrated brand set to obtain a second migrated brand set, determining the second migrated brand set according to the first code scanning data and the second code scanning data, calculating the second brand migration quantity corresponding to each second scanned set according to the first code scanning data and the second code scanning data, and the second code scanning equation, and calculating the second brand migration quantity according to the first code scanning equation.
- 2. The method of claim 1, wherein the summing the scan code migration amounts to obtain a total scan code migration amount for a market total comprises: Determining the number of target objects according to the first code scanning data and the second code scanning data; And obtaining the total code scanning migration quantity according to the number of the target objects, the code scanning migration quantity and a first preset formula.
- 3. The method of claim 2, wherein the brand migration probabilities include a migration rate for each of the migrated brand correspondences in the second set of migrated brands and a migration rate for each of the migrated brand correspondences in the second set of migrated brands, the calculating a brand migration probability from the overall scan migration amount comprising: Obtaining a first code scanning total amount and a first brand code scanning migration amount corresponding to each of the migrated brands in the second migrated brand set in the first time period according to the total code scanning migration amount and the second migrated brand set; Calculating the migration rate according to the second migration brand set, preset conditions, the first code scanning total amount, the first brand code scanning migration amount and a second preset formula, wherein the preset conditions are used for confirming brand consistency relation between the migration brands and the migration brands; obtaining a second code scanning total amount and a second brand code scanning migration amount corresponding to each migrating brand in the second migrating brand set in the second time period according to the total code scanning migration amount and the second migrating brand set; And calculating the migration rate according to the second migration brand set, the preset condition, the second code scanning total amount, the second brand code scanning migration amount and a third preset formula.
- 4. The method of claim 3, wherein the calculating brand inter-migration based on the brand migration probability, the first sales data, and the second sales data comprises: calculating an intermediate migration rate according to the first sales volume data and the first intermediate migration volume, wherein the intermediate migration rate is a dynamic change value in the process of determining a real migration rate; calculating intermediate mobility according to the second sales volume data and the second intermediate migration volume, wherein the intermediate mobility is a dynamic change value in the process of determining the actual mobility; Obtaining an evaluation function according to the migration rate, the intermediate migration rate, the mobility and the intermediate mobility, wherein the evaluation function is used for adjusting the intermediate migration rate and the intermediate mobility; obtaining constraint conditions, wherein the constraint conditions are used for constraining the intermediate migration rate and the intermediate migration rate; Obtaining the real migration rate and the real migration rate according to the evaluation function and the constraint condition; and obtaining the brand mutual migration quantity according to the first sales volume data, the second sales volume data, the real migration rate and the real migration rate.
- 5. The method of claim 4, wherein the constraints comprise a first constraint and a second constraint, and wherein the obtaining constraints comprises: obtaining the first constraint condition according to the first sales volume data, the second migration brand set and the intermediate migration volume; and obtaining the second constraint condition according to the second sales volume data, the second migration brand set and the intermediate migration volume.
- 6. A brand inter-migration calculating apparatus, comprising: The device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring first code scanning data of a target object in a first time period and second code scanning data in a second time period, and first sales data of each brand in the first time period and second sales data in the second time period, wherein the first time period and the second time period are continuous; The determining module is used for determining the migration brands and the migration brands according to the first code scanning data and the second code scanning data; the generation module is used for generating a first migration brand set and a first migration brand set according to the migration brands and the migration brands; the first calculation module is used for calculating the code scanning migration quantity of each target object according to the first code scanning data and the second code scanning data; The summarizing module is used for summarizing the code scanning migration quantity to obtain the total code scanning migration quantity of the market total; the second calculation module is used for calculating the brand migration probability according to the total code scanning migration quantity; The third calculation module is used for calculating the brand mutual migration quantity according to the brand migration probability, the first sales volume data and the second sales volume data; The first calculation module comprises a first obtaining unit, a comparison unit, a first generating unit, a first determining unit, a second generating unit, a first determining unit and a first adding unit, wherein the first obtaining unit is used for obtaining total migration quantity of all the migration brands and total migration quantity of all the migration brands according to the first scanning data and the second scanning data, the first generating unit is used for generating a first preset number of virtual migration brands when the total migration quantity is larger than the total migration quantity, the second generating unit is used for generating a second preset number of virtual migration brands when the total migration quantity is smaller than the total migration quantity, the first adding unit is used for adding the virtual migration brands into the first migration brand set to obtain a second migration brand set, the second adding unit is used for adding the virtual migration brands into the first migration brand set to obtain a second migration brand set, the first determining unit is used for calculating the first determining unit according to the first scanning data and the second migration quantity, the second determining unit is used for calculating the second migration quantity corresponding to the first brand set and the second migration quantity according to the first scanning data and the second migration quantity corresponding to the first migration brand set.
- 7. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus, characterized in that, The memory is used for storing a computer program; The processor is configured to perform the method steps of any one of claims 1 to 5 by running the computer program stored on the memory.
- 8. A computer-readable storage medium, characterized in that the storage medium has stored therein a computer program, wherein the computer program, when executed by a processor, implements the method steps of any of claims 1 to 5.
Description
Brand mutual migration amount calculation method, device, electronic equipment and storage medium Technical Field The present invention relates to the field of brand sales prediction technologies, and in particular, to a brand mutual migration amount calculation method, a device, an electronic apparatus, and a storage medium. Background Currently, the prior art adopts a fuzzy reasoning algorithm to calculate brand conversion intention of consumers based on online comment information of an e-commerce platform. In addition, the automobile industry scientifically quantifies the automobile brand transfer problem into data, and introduces brand transfer in, brand transfer out and brand viscosity index to describe the automobile purchase transfer condition, so that an automobile brand transfer research model is constructed. However, the above technical solution does not calculate the migration quantity of consumers between different brands, and the prior art is based on text comment information, not based on actual sales measurement of actual different brands, on one hand, some brands are inconvenient to obtain online comment information, and on the other hand, the data authenticity and representativeness of the text comment information are difficult to be guaranteed. Therefore, the prior art has the problem that the migration condition of the consumer between different brands can not be calculated by utilizing the sales volume of the product. Disclosure of Invention The application provides a brand mutual migration amount calculating method, a brand mutual migration amount calculating device, electronic equipment and a storage medium, which at least solve the problem that the migration condition of consumers among different brands cannot be calculated by utilizing the product sales amount in the related technology. According to an aspect of an embodiment of the present application, there is provided a brand mutual migration calculating method including: Acquiring first code scanning data and second code scanning data of a target object in a first time period, and first sales data and second sales data of brands in the first time period and the second time period, wherein the first time period and the second time period are continuous; Calculating the code scanning migration quantity of each target object according to the first code scanning data and the second code scanning data; summarizing the code scanning migration quantity to obtain the total code scanning migration quantity of the market totality; Calculating the brand migration probability according to the total code scanning migration quantity; and calculating the brand mutual migration amount according to the brand migration probability, the first sales volume data and the second sales volume data. According to another aspect of the embodiment of the present application, there is also provided a brand mutual migration calculating apparatus, including: The device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring first code scanning data of a target object in a first time period and second code scanning data in a second time period, and first sales data of each brand in the first time period and second sales data in the second time period, wherein the first time period and the second time period are continuous; the first calculation module is used for calculating the code scanning migration quantity of each target object according to the first code scanning data and the second code scanning data; The summarizing module is used for summarizing the code scanning migration quantity to obtain the total code scanning migration quantity of the market total; the second calculation module is used for calculating the brand migration probability according to the total code scanning migration quantity; and the third calculation module is used for calculating the brand mutual migration quantity according to the brand migration probability, the first sales volume data and the second sales volume data. According to yet another aspect of the embodiments of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus, where the memory is configured to store a computer program, and the processor is configured to execute the method steps in any of the foregoing embodiments by running the computer program stored on the memory. According to a further aspect of the embodiments of the present application there is also provided a computer readable storage medium having stored therein a computer program, wherein the computer program is arranged to perform the method steps of any of the embodiments described above when run. According to the embodiment of the application, the first c