Information sending method and device, equipment and storage medium
By establishing a dedicated sub-information relationship database for items on short video platforms under different replacement scenarios, the problem of lack of differentiation in item information display is solved, thereby improving the display effect and conversion rate of items.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
- Filing Date
- 2026-03-18
- Publication Date
- 2026-06-09
AI Technical Summary
In existing technologies, short video platforms lack differentiation in the display of item information under different replacement scenarios, resulting in information redundancy and low conversion rates.
Establish a correspondence between exclusive sub-information for the same item in different replacement scenarios, and store it in the relation database. The terminal retrieves the exclusive sub-information based on the scenario identifier and object identifier for display.
It enables differentiated display of item information for the same object under different replacement scenarios, reducing information redundancy and improving the display effect and conversion rate of items.
Smart Images

Figure CN122175674A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of Internet technology, and in particular to an information transmission method, apparatus, device, and storage medium. Background Technology
[0002] Some short video platforms offer item swapping features, where items can be provided to users by certain entities within the platform. For example, an entity might provide an entry point for item swapping within its live streams or short videos. Correspondingly, when a user triggers the swapping entry point in any scenario, the item's title, image, and other information can be displayed. In other words, there are multiple swapping scenarios, each displaying item information. Summary of the Invention
[0003] This disclosure provides an information transmission method, apparatus, device, and storage medium. The technical solution of this disclosure is as follows.
[0004] According to one aspect of the embodiments of this disclosure, an information sending method is provided, the method comprising: Obtain item-specific information for a target object. The specific information includes multiple replacement scenarios associated with the target object and specific sub-information under each replacement scenario. Each replacement scenario provides an entry point for the item to be replaced. The specific sub-information corresponding to each replacement scenario is the item-specific information for the target object and the replacement scenario. For each replacement scenario, a corresponding relationship is established based on the object identifier of the target object, the scenario identifier of the replacement scenario, and the exclusive sub-information under the replacement scenario, and stored in the relationship database; In response to receiving an item display request from a terminal, the system retrieves target-specific sub-information from the relational database and sends the target-specific sub-information to the terminal. The target-specific sub-information is the specific sub-information corresponding to the object identifier and scene identifier carried in the item display request. The terminal is used to display the item based on the target-specific sub-information.
[0005] In some embodiments, establishing a correspondence for each substitution scenario based on the object identifier of the target object, the scenario identifier of the substitution scenario, and the specific sub-information under the substitution scenario includes: For each permutation scenario, the exclusive sub-information based on the information identifier of the exclusive sub-information under the permutation scenario is stored in the first information database; A correspondence is established based on the object identifier, the scene identifier, and the information identifier, wherein the information identifier in the correspondence is used to retrieve exclusive sub-information from the first information database.
[0006] In some embodiments, establishing a correspondence based on the object identifier, the scene identifier, and the information identifier includes: For each substitution scenario, a sub-correspondence relationship is established between the scenario identifier of the substitution scenario and the information identifier corresponding to the substitution scenario; A one-to-many correspondence is established based on the object identifier and the multiple sub-correspondences under the multiple permutation scenarios.
[0007] In some embodiments, the method further includes: In response to receiving a deletion instruction for any corresponding relationship in the relational database, the corresponding relationship and the exclusive sub-information associated with the corresponding relationship in the first information database are deleted.
[0008] In some embodiments, the specific information further includes inventory information for each replacement scenario, the inventory information including the inventory quantity allocated to the replacement scenario from the total inventory quantity of the item and an inventory identifier for identifying the inventory quantity; For each substitution scenario, establishing a correspondence based on the object identifier of the target object, the scenario identifier of the substitution scenario, and the specific sub-information under the substitution scenario includes: For each replacement scenario, the inventory quantity is stored in the second information database based on the inventory identifier; For each replacement scenario, a correspondence is established based on the object identifier of the target object, the scenario identifier of the replacement scenario, the exclusive sub-information under the replacement scenario, and the inventory identifier. The inventory identifier in the correspondence is used to find the inventory quantity from the second information database.
[0009] In some embodiments, the method further includes: In response to receiving an information update instruction for a first replacement scenario, the target information under the first replacement scenario is updated based on the information update instruction. The target information is the information to be updated as indicated by the information update instruction, and the information update instruction carries the update information corresponding to the target information. The target information includes at least one of the exclusive sub-information under the first replacement scenario and the inventory quantity.
[0010] In some embodiments, if the target information includes inventory quantity, before updating the target information in the first replacement scenario based on the information update instruction, the method further includes: Save the inventory quantity before the update in the first replacement scenario; In the event that updating the inventory quantity fails, the inventory quantity under the first replacement scenario in the second information database is restored based on the saved inventory quantity.
[0011] In some embodiments, updating the target information in the first permutation scenario based on the information update instruction includes at least one of the following: If the information update instruction indicates that the inventory quantity under the first replacement scenario be updated, the inventory quantity under the first replacement scenario in the second information database shall be updated to the inventory quantity carried by the information update instruction. If the information update instruction indicates that the inventory quantity under the first replacement scenario be deleted, the inventory quantity under the first replacement scenario and the inventory identifier in the corresponding relationship are deleted from the second information database, and the first replacement scenario after deleting the inventory quantity is used for the total inventory quantity of the item.
[0012] In some embodiments, the method further includes: In response to receiving a deletion instruction for any corresponding relationship in the relational database, the corresponding relationship and the inventory quantity associated with the corresponding relationship in the second information database are deleted.
[0013] In some embodiments, the initial item information of the item includes information of multiple dimensions, the exclusive sub-information includes information of at least one dimension, the initial item information includes information not present in the exclusive information, and the step of obtaining the target exclusive sub-information from the relational database and sending the target exclusive sub-information to the terminal includes: Obtain target-specific sub-information from the relational database and target dimension information from the initial item information, wherein the target-specific sub-information does not contain the target dimension information; The target-specific sub-information and the target dimension information are sent to the terminal, and the terminal is used to display the item based on the target-specific sub-information and the target dimension information.
[0014] In some embodiments, the target dimension information includes at least one of the evaluation information for the item and the total number of replacements for the item.
[0015] In some embodiments, the exclusive sub-information includes information of at least one dimension, and the establishment of a correspondence based on the object identifier of the target object, the scene identifier of the replacement scene, and the exclusive sub-information corresponding to the replacement scene includes: When the initial item information of the item includes information of at least one dimension, a correspondence is established based on the object identifier of the target object, the scene identifier of the replacement scene, and the exclusive sub-information corresponding to the replacement scene, wherein the information of the same dimension between the initial item information and the exclusive sub-information is different.
[0016] In some embodiments, the method further includes: In response to receiving an item display request from a terminal, if no target-specific sub-information is obtained from the relational database based on the item display request, the terminal sends general item information of the item to the terminal. The general item information is item information that is common to multiple replacement scenarios, and the terminal uses the general item information to display the item.
[0017] According to another aspect of the embodiments of this disclosure, an information transmitting apparatus is provided, the apparatus comprising: The acquisition unit is configured to acquire the exclusive information of the item for the target object. The exclusive information includes multiple replacement scenarios associated with the target object and exclusive sub-information under each replacement scenario. Each replacement scenario provides an entry point for the item to be replaced. The exclusive sub-information corresponding to each replacement scenario is the exclusive item information of the item for the target object and the replacement scenario. The establishment unit is configured to perform, for each permutation scenario, establish a corresponding relationship based on the object identifier of the target object, the scenario identifier of the permutation scenario, and the exclusive sub-information under the permutation scenario, and store it in the relationship database; The sending unit is configured to respond to a received item display request from a terminal by retrieving target-specific sub-information from the relational database and sending the target-specific sub-information to the terminal. The target-specific sub-information is the specific sub-information corresponding to the object identifier and scene identifier carried in the item display request. The terminal is used to display the item based on the target-specific sub-information.
[0018] In some embodiments, the establishment unit is configured to perform: For each permutation scenario, the exclusive sub-information based on the information identifier of the exclusive sub-information under the permutation scenario is stored in the first information database; A correspondence is established based on the object identifier, the scene identifier, and the information identifier, wherein the information identifier in the correspondence is used to retrieve exclusive sub-information from the first information database.
[0019] In some embodiments, the establishment unit is configured to perform: For each substitution scenario, a sub-correspondence relationship is established between the scenario identifier of the substitution scenario and the information identifier corresponding to the substitution scenario; A one-to-many correspondence is established based on the object identifier and the multiple sub-correspondences under the multiple permutation scenarios.
[0020] In some embodiments, the apparatus further includes a deletion unit configured to perform: In response to receiving a deletion instruction for any corresponding relationship in the relational database, the corresponding relationship and the exclusive sub-information associated with the corresponding relationship in the first information database are deleted.
[0021] In some embodiments, the specific information further includes inventory information for each replacement scenario, the inventory information including the quantity of inventory allocated to the replacement scenario from the total inventory of the items and an inventory identifier for identifying the quantity of inventory; the establishment unit is configured to execute: For each replacement scenario, the inventory quantity is stored in the second information database based on the inventory identifier; For each replacement scenario, a correspondence is established based on the object identifier of the target object, the scenario identifier of the replacement scenario, the exclusive sub-information under the replacement scenario, and the inventory identifier. The inventory identifier in the correspondence is used to find the inventory quantity from the second information database.
[0022] In some embodiments, the apparatus further includes an update unit configured to perform: In response to receiving an information update instruction for a first replacement scenario, the target information under the first replacement scenario is updated based on the information update instruction. The target information is the information to be updated as indicated by the information update instruction, and the information update instruction carries the update information corresponding to the target information. The target information includes at least one of the exclusive sub-information under the first replacement scenario and the inventory quantity.
[0023] In some embodiments, if the target information includes inventory quantity, the update unit is further configured to perform: Save the inventory quantity before the update in the first replacement scenario; In the event that updating the inventory quantity fails, the inventory quantity under the first replacement scenario in the second information database is restored based on the saved inventory quantity.
[0024] In some embodiments, the update unit is configured to perform at least one of the following: If the information update instruction indicates that the inventory quantity under the first replacement scenario be updated, the inventory quantity under the first replacement scenario in the second information database shall be updated to the inventory quantity carried by the information update instruction. If the information update instruction indicates that the inventory quantity under the first replacement scenario be deleted, the inventory quantity under the first replacement scenario and the inventory identifier in the corresponding relationship are deleted from the second information database, and the first replacement scenario after deleting the inventory quantity is used for the total inventory quantity of the item.
[0025] In some embodiments, the apparatus further includes an update unit configured to perform: In response to receiving a deletion instruction for any corresponding relationship in the relational database, the corresponding relationship and the inventory quantity associated with the corresponding relationship in the second information database are deleted.
[0026] In some embodiments, the initial item information of the item includes information of multiple dimensions, the exclusive sub-information includes information of at least one dimension, the initial item information includes information not present in the exclusive information, and the sending unit is configured to execute: Obtain target-specific sub-information from the relational database and target dimension information from the initial item information, wherein the target-specific sub-information does not contain the target dimension information; The target-specific sub-information and the target dimension information are sent to the terminal, and the terminal is used to display the item based on the target-specific sub-information and the target dimension information.
[0027] In some embodiments, the target dimension information includes at least one of the evaluation information for the item and the total number of replacements for the item.
[0028] In some embodiments, the specific sub-information includes information of at least one dimension, and the establishing unit is configured to perform: When the initial item information of the item includes information of at least one dimension, a correspondence is established based on the object identifier of the target object, the scene identifier of the replacement scene, and the exclusive sub-information corresponding to the replacement scene, wherein the information of the same dimension between the initial item information and the exclusive sub-information is different.
[0029] In some embodiments, the sending unit is further configured to perform: In response to receiving an item display request from a terminal, if no target-specific sub-information is obtained from the relational database based on the item display request, the terminal sends general item information of the item to the terminal. The general item information is item information that is common to multiple replacement scenarios, and the terminal uses the general item information to display the item.
[0030] According to another aspect of the embodiments of this disclosure, an electronic device is provided, the electronic device comprising: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the above-described information sending method.
[0031] According to another aspect of the present disclosure, a computer-readable storage medium is provided that, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform the above-described information transmission method.
[0032] According to another aspect of the present disclosure, a computer program product is provided, the computer program product including a computer program that, when executed by a processor, implements the above-described information sending method.
[0033] In this embodiment of the disclosure, for different replacement scenarios of the same object, a corresponding relationship is established based on the exclusive sub-information under each replacement scenario and stored in the relationship database. In this way, the terminal can retrieve the exclusive sub-information under each replacement scenario from the relationship database to display the item. This realizes the differentiated display of item information under different replacement scenarios of the same object. In this way, the exclusive information is displayed in a targeted manner for each replacement scenario, which can accurately meet the needs of users in each replacement scenario, reduce information redundancy, improve the display effect of the item, and thus help improve the conversion rate of the item.
[0034] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0035] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0036] Figure 1 This is a schematic diagram illustrating an implementation environment according to an exemplary embodiment.
[0037] Figure 2 This is a flowchart illustrating an information transmission method according to an exemplary embodiment.
[0038] Figure 3 This is a flowchart illustrating another information sending method according to an exemplary embodiment.
[0039] Figure 4 This is a flowchart illustrating another information sending method according to an exemplary embodiment.
[0040] Figure 5 This is a schematic diagram illustrating an article model according to an exemplary embodiment.
[0041] Figure 6 This is a flowchart illustrating the creation of a correspondence according to an exemplary embodiment.
[0042] Figure 7 This is a flowchart illustrating an information update according to an exemplary embodiment.
[0043] Figure 8 This is a flowchart illustrating an information query according to an exemplary embodiment.
[0044] Figure 9 This is a flowchart illustrating information deletion according to an exemplary embodiment.
[0045] Figure 10 This is a block diagram illustrating an information transmission device according to an exemplary embodiment.
[0046] Figure 11 This is a block diagram illustrating a terminal according to an exemplary embodiment.
[0047] Figure 12 This is a block diagram illustrating a server according to an exemplary embodiment. Detailed Implementation
[0048] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0049] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0050] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, proprietary information involved in this disclosure was obtained with full authorization.
[0051] The information transmission method provided in this disclosure can be executed by an electronic device, which can be at least one of a terminal and a server. Figure 1 This is a schematic diagram of an implementation environment provided in this embodiment of the disclosure. See also: Figure 1 The implementation environment includes: terminal 101 and server 102.
[0052] In this embodiment, a target application is installed on terminal 101, providing the function of exchanging items. For the same item, multiple exchange scenarios associated with one or more objects in the target application can provide an entry point for exchanging that item. For example, the exchange entry point for the item can be provided in the object's live broadcast room, short video playback interface, or holiday event interface. When displaying the item in different exchange scenarios for the same object, it is based on differentiated information. Correspondingly, server 102 is the backend server of the target application. Server 102 establishes a correspondence between the object, exchange scenario, and exclusive sub-information for the same object in different exchange scenarios. Subsequently, terminal 101 obtains different exclusive sub-information from server 102 for different exchange scenarios to display the item.
[0053] Terminal 101 can be at least one of the following devices: smartphone, smartwatch, desktop computer, laptop, virtual reality terminal, augmented reality terminal, wireless terminal, and laptop computer. Terminal 101 has communication capabilities and can access wired or wireless networks. Terminal 101 can refer to one of multiple terminals; those skilled in the art will understand that the number of terminals can be more or less. Server 102 can be an independent physical server, a server cluster composed of multiple physical servers, or a distributed file system. It can also be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. In some embodiments, server 102 and terminal 101 are directly or indirectly connected via wired or wireless communication; this disclosure does not limit this. Optionally, the number of servers 102 can be more or less; this disclosure does not limit this. Of course, server 102 can also include other functional servers to provide more comprehensive and diversified services. In this embodiment, server 102 undertakes the main computing work and terminal 101 undertakes the secondary computing work; or, server 102 undertakes the secondary computing work and terminal 101 undertakes the main computing work; or, server 102 or terminal 101 can each undertake computing work independently, and this embodiment does not limit this.
[0054] Figure 2 This is a flowchart illustrating an information transmission method according to an exemplary embodiment, such as... Figure 2 As shown, the method is executed by the server and includes at least one of the following steps.
[0055] In step 201, the item’s exclusive information for the target object is obtained. The exclusive information includes multiple replacement scenarios associated with the target object and exclusive sub-information under each replacement scenario. Each replacement scenario provides an item replacement entry point, and the exclusive sub-information corresponding to each replacement scenario is the item’s exclusive item information for the target object and the replacement scenario.
[0056] In some embodiments, items are displayed and exchanged within the target application, which can be configured as needed. An exchange scenario refers to a scenario where items are sold through multiple channels; the exchange scenario is essentially the channel through which items are sold. Multiple exchange scenarios associated with the target object include at least one of the target object's live stream room, short video playback interface, personal homepage, and activity interface, etc. Activity interfaces include marketing activity interfaces, holiday activity interfaces, etc., and are not specifically limited here.
[0057] In some embodiments, the item source object for any item can specify one or more objects within the target application to provide the substitution entry point for that item. The target object in this disclosure can be any object specified by the item source object, and the item can be any item that can be substituted. Substituting an item also refers to using virtual resources to substitute for an item.
[0058] In some embodiments, the replacement scenario provides an entry point for item replacement. Triggering this entry point leads to an item display interface, where items and replacement controls are displayed, and the items are replaced using these controls. Correspondingly, triggering the replacement entry point in any replacement scenario to enter the item display interface displays item information through the specific sub-information for that replacement scenario.
[0059] The item's unique sub-information includes at least one dimension of information such as title, image, quantity of replacement resources, description, and shipping costs. The quantity of replacement resources is the amount of virtual resources required to replace the item. Furthermore, the title can include multiple titles such as a main title and a subtitle. Optionally, since the same item may have different specifications (SKU, Stock Keeping Unit), such as different sizes or colors, the unique sub-information for each specification includes the corresponding image, quantity of replacement resources, and description.
[0060] In step 202, for each replacement scenario, a corresponding relationship is established based on the object identifier of the target object, the scenario identifier of the replacement scenario, and the exclusive sub-information under the replacement scenario, and stored in the relationship database.
[0061] Among them, the object identifier ID is used to identify the target object, and the scene identifier ID is used to identify the replacement scene.
[0062] Specifically, a correspondence is established based on the object identifier, scene identifier, and exclusive sub-information, and then the corresponding exclusive sub-information can be obtained from the correspondence included in the relation database based on the object identifier and scene identifier.
[0063] In this embodiment of the disclosure, by taking the above steps, it is possible to establish and store corresponding relationships for exclusive sub-information under multiple replacement scenarios of the target object. Subsequently, when a request to display an item under any of the above replacement scenarios of the target object is received, the corresponding exclusive sub-information can be directly obtained from the relationship database without having to re-establish and store the corresponding relationships for these replacement scenarios each time.
[0064] In step 203, in response to receiving an item display request from the terminal, the target-specific sub-information is obtained from the relational database and sent to the terminal. The target-specific sub-information is the exclusive sub-information corresponding to the object identifier and scene identifier carried in the item display request. The terminal uses the target-specific sub-information to display the item.
[0065] The item display request is used to request the display of an item. Optionally, since the target object's replacement scene provides an entry point for the item replacement, the item display request is triggered based on the replacement entry point under any replacement scene of the target object. Accordingly, the item display request carries the object identifier of the target object and the scene identifier of the replacement scene.
[0066] In some embodiments, the item display request is triggered only when the terminal triggers the replacement entry in the replacement scenario. In other embodiments, the terminal directly displays the item in the replacement scenario. In response to the entry operation of the replacement scenario, the terminal triggers the item display request. No specific limitation is made here.
[0067] It should be noted that for any item, a replacement entry point for that item can be provided in one or more replacement scenarios associated with objects within the target application. This embodiment of the disclosure only illustrates the setting of exclusive sub-information for multiple replacement scenarios associated with a single object; the same principle applies to other objects. It should be noted that the exclusive sub-information for different objects within the same replacement scenario can be the same or different.
[0068] In this embodiment of the disclosure, for different replacement scenarios of the same object, a corresponding relationship is established based on the exclusive sub-information under each replacement scenario and stored in the relationship database. In this way, the terminal can retrieve the exclusive sub-information under each replacement scenario from the relationship database to display the item. This realizes the differentiated display of item information under different replacement scenarios of the same object. In this way, the exclusive information is displayed in a targeted manner for each replacement scenario, which can accurately meet the needs of users in each replacement scenario, reduce information redundancy, improve the display effect of the item, and thus help improve the conversion rate of the item.
[0069] The above Figure 2 The diagram shown is merely the basic process of this disclosure. The following section, based on a specific implementation method, further elaborates on the solution provided in this disclosure. See also... Figure 3 , Figure 3 This is a flowchart illustrating another information sending method according to an exemplary embodiment, the method being performed by a server, and the method including at least one of the following steps.
[0070] In step 301, the item’s exclusive information for the target object is obtained. The exclusive information includes multiple replacement scenarios associated with the target object and exclusive sub-information under each replacement scenario. Each replacement scenario provides an item replacement entry point, and the exclusive sub-information corresponding to each replacement scenario is the item’s exclusive item information for the target object and the replacement scenario.
[0071] In some embodiments, for each item, its item source object may specify one or more objects within the target application to provide the item's replacement entry point, and the target object is any one of these objects.
[0072] Optionally, for each object, the item source object sets the item's unique information specific to that object; or, for each object, the object sets the item's unique information specific to that object; or, both the item source object and the object can set the unique information.
[0073] Taking the setting of item-specific information for the item's source object as an example, the item's source object can input its specific information through the information setting interface displayed on the terminal. Correspondingly, the server retrieves the specific information input on the terminal. Furthermore, for the same item, the item's source object can set specific sub-information for each replacement scenario.
[0074] In some embodiments, the personalized sub-information is personalized information based on the initial item information. The initial item information includes information in multiple dimensions, and the personalized sub-information includes information in at least one of these dimensions. For example, if the initial item information includes information in multiple dimensions such as the item's title, image, quantity of replacement resources, description information, and shipping costs, then the personalized sub-information can only include information in one or more of these dimensions, and information in the same dimension differs between the initial item information and the personalized sub-information, thus achieving differentiation of item information through the personalized sub-information. For example, for the same item, the title in the initial item information might be A, while the title in the personalized sub-information might be B.
[0075] Accordingly, if the exclusive sub-information includes information of at least one dimension, then the server will only perform the following steps for each replacement scenario if the initial item information includes information of that at least one dimension.
[0076] In this embodiment of the disclosure, the server performs the following step of establishing a correspondence only for each permutation scenario of each object if no corresponding relationship has been established for that permutation scenario beforehand. That is, the server performs the following steps only if there is no corresponding relationship for that permutation scenario in the relational database. In other words, the server first verifies the exclusive sub-information, and only performs the following steps if the verification passes.
[0077] In step 302, for each permutation scenario, the information identifier of the exclusive sub-information under the permutation scenario is stored in the first information database.
[0078] Optionally, for each replacement scenario, after the server obtains the exclusive sub-information under that replacement scenario, it sets an information identifier ID for the exclusive sub-information, and then stores the exclusive sub-information and establishes a corresponding relationship in the first information database based on the information identifier.
[0079] Optionally, the first information database includes multiple item modules, each item module storing specific sub-information for a single object under a given replacement scenario. Each item module includes an information identifier and specific sub-information. Further, each information module includes a first sub-module and at least one second sub-module. Since the same item may have different SKUs, the first sub-module stores information identifiers shared by multiple SKUs, basic item information, item source, extended fields, etc. Furthermore, the first sub-module also stores initial item information. Each second sub-module stores item information for one SKU, including a specification identifier, basic specification information, specification attributes, etc. Further, it may also include an information identifier.
[0080] In step 303, a correspondence is established based on the object identifier, scene identifier, and information identifier. The information identifier in the correspondence is used to find exclusive sub-information from the first information database.
[0081] In this process, a correspondence is established based on object identifier, scene identifier, and information identifier. Subsequently, the corresponding information identifier is found from the correspondence in the relational database based on the object identifier and scene identifier, and then the corresponding exclusive sub-information is found from the first information database based on the information identifier.
[0082] In some embodiments, the process of establishing a correspondence based on object identifier, scene identifier, and information identifier includes the following implementation: for each replacement scenario, a sub-correspondence is established based on the scene identifier of the replacement scenario and the information identifier corresponding to the replacement scenario; a one-to-many correspondence is established based on the object identifier and multiple sub-correspondences under multiple replacement scenarios.
[0083] In this embodiment, since each object can be associated with multiple permutation scenarios, and different permutation scenarios have different exclusive sub-information, a sub-correspondence relationship between each permutation scenario and its exclusive sub-information is established first, and then a one-to-many correspondence relationship between the target object and these multiple sub-correspondence relationships is established. This achieves structured, hierarchical, and flexible configuration of data association, clearly delineates the association hierarchy, reduces the complexity of relationship management, and when searching for exclusive sub-information later, the one-to-many correspondence relationship under the target object can be found first, that is, the filtering range can be narrowed, and then the corresponding sub-correspondence relationship can be found from the one-to-many correspondence relationship based on the scenario identifier, which can improve the search efficiency.
[0084] In some embodiments, since the exclusive sub-information may only include information from some dimensions of the initial item information, it is also necessary to obtain information that is not present in the exclusive sub-information from the initial item information. Optionally, when establishing a one-to-many correspondence based on the object identifier and multiple sub-correspondences under multiple permutation scenarios, the one-to-many correspondence is also established based on the initial information identifier of the initial item information. That is, the one-to-many correspondence includes the object identifier, the initial information identifier, and multiple sub-correspondences, thereby facilitating the subsequent retrieval of the initial item information based on the initial information identifier. Alternatively, when storing exclusive sub-information based on the information identifier in the first information database, the initial information identifier is also stored accordingly, facilitating the subsequent retrieval of the initial item information based on the initial information identifier.
[0085] In some embodiments, the one-to-many correspondence may also include other field information, such as the source information field of the item, the extended information field, etc. The source information is such as the item coming from the local life scenario of the target application, and the extended information is such as the item's listing time, delisting time, etc.
[0086] In some embodiments, each sub-correspondence also includes other fields, such as a scenario type field, an activity type field, and an inventory field. The scenario type field indicates the scenario type of the replacement scenario, such as a live stream scenario or a short video scenario. The activity type field indicates the activity type of the activity to which the replacement scenario belongs, such as a holiday activity. The inventory field indicates whether the items in this replacement scenario use the total inventory quantity or have a dedicated inventory quantity allocated to them.
[0087] Optionally, the relational database includes multiple object modules, each object module including one-to-many correspondences and multiple sub-correspondences under multiple permutation scenarios of an object. This relational database can also be called a shelf.
[0088] In this embodiment, steps 302-303 establish a correspondence between the target object's object identifier, the scene identifier of the replacement scene, and the specific sub-information under the replacement scene for each replacement scenario. In this embodiment, the specific sub-information and the corresponding relationship are stored separately, improving the flexibility, efficiency, and scalability of data management. When a terminal sends an item display request, the system only needs to quickly match the corresponding information identifier in the lightweight relational database based on the object identifier and scene identifier. Since the relational database only stores three types of identifiers, the data volume is small, the structure is simple, and the query speed is extremely fast. Then, the specific sub-information is accurately searched in the first information database using the information identifier, avoiding direct retrieval in a massive dataset containing complete content. This significantly shortens the response time of terminal requests and improves efficiency. If a specific sub-information needs to be modified subsequently, only the content corresponding to that information identifier needs to be modified in the first information database, allowing the specific sub-information to be updated independently.
[0089] In some embodiments, the exclusive sub-information includes information of at least one dimension. Since the exclusive sub-information is personalized information based on the initial item information of the item, the process of establishing a correspondence based on the object identifier of the target object, the scene identifier of the replacement scene, and the exclusive sub-information corresponding to the replacement scene also includes the following implementation: when the initial item information of the item includes the information of at least one dimension, a correspondence is established based on the object identifier of the target object, the scene identifier of the replacement scene, and the exclusive sub-information corresponding to the replacement scene, and the information of the same dimension between the initial item information and the exclusive sub-information is different.
[0090] In this embodiment, since the exclusive sub-information is personalized information based on the initial item information, the information can only be displayed based on the display logic of the initial item information if the dimensions included in the exclusive sub-information are also included in the initial item information. Therefore, the correspondence is established based on the exclusive sub-information only if the initial item information of the item includes information of at least one dimension, which ensures that the exclusive sub-information in the correspondence is usable and avoids errors later.
[0091] In step 304, in response to receiving a first information update instruction for the first replacement scenario, the exclusive sub-information under the first replacement scenario is updated based on the first information update instruction. The first information update instruction indicates the update of the exclusive sub-information and carries the update information corresponding to the exclusive sub-information.
[0092] Optionally, the source or target object of the item can update its exclusive sub-information through the editing interface provided by the terminal. Taking the update of exclusive sub-information by the source object as an example, the source object can choose any of the replacement scenarios to update the information; that is, the first replacement scenario can be any of multiple replacement scenarios.
[0093] Since the exclusive sub-information includes information of at least one dimension, updating the exclusive sub-information can optionally be updating the information of an existing dimension in the exclusive sub-information, adding information of a new dimension in the exclusive sub-information, or both, without being specifically limited here.
[0094] Optionally, after receiving the information update instruction, the server also performs verification to ensure that the exclusive sub-information and corresponding relationship under the first replacement scenario exist, and at the same time ensure that the information of the dimension to be updated exists in the initial item information.
[0095] In this embodiment, the previously set exclusive sub-information can also be updated in a timely manner based on update instructions. This supports real-time response to the needs of the item exchange business, adapts to the dynamic changes of information in the exchange scenario, ensures the accuracy of data updates, avoids cross-scenario data interference, and ensures the timeliness and authenticity of the content displayed on the subsequent terminal through real-time updates.
[0096] In step 305, in response to receiving an item display request from the terminal, target-specific sub-information is obtained based on the relational database and the first information database, and target dimension information is obtained from the initial item information. The target-specific sub-information does not contain target dimension information. The target-specific sub-information and target dimension information are sent to the terminal, and the terminal uses the target-specific sub-information and target dimension information to display the item.
[0097] Optionally, the server merges the target-specific sub-information and the target dimension information to obtain a complete comprehensive item information, and then sends the comprehensive item information to the terminal.
[0098] The initial item information includes information from multiple dimensions, the exclusive sub-information includes information from at least one dimension, and the initial item information includes information that does not exist in the exclusive information.
[0099] In this embodiment, step 305 implements the process of retrieving target-specific sub-information from the relational database and sending it to the terminal. In this embodiment, for any dimension, if information for that dimension exists in the specific sub-information, it is used preferentially; otherwise, it is used from the initial item information. This allows the initial item information to be shared by multiple replacement scenarios without requiring separate complete item information for each scenario, facilitating unified information management and reducing resource consumption. Furthermore, this combined display mechanism of specific sub-information and initial item information balances scenario-based customization and completeness of item information display. This satisfies the differentiated needs of different replacement scenarios while avoiding information loss due to the limitations of scenario-specific information. Requiring each replacement scenario's specific sub-information to include all dimensions of the item would lead to extensive redundant storage, significantly increasing storage pressure. By supplementing with initial item information, specific sub-information only needs to store scenario-specific content, while general basic information is uniformly provided by the initial item information. This reduces data redundancy and ensures that updates to the initial item information take effect synchronously across all scenarios, significantly reducing storage and maintenance costs.
[0100] In some embodiments, the target dimension information includes at least one of the evaluation information for the item and the total number of item replacements.
[0101] In this embodiment, the target dimension information includes item evaluation information and the total number of item replacements. This allows for the display of richer and more comprehensive evaluation information when showcasing item evaluation information in any replacement scenario, as all evaluation information is retrieved from the initial item information. This addresses the problem of insufficient evaluation information in a single replacement scenario and can further improve item conversion rates based on this evaluation information. Similarly, displaying the total number of item replacements in any conversion scenario solves the problem of a small number of replacements in a single replacement scenario, and can also improve item conversion rates based on this total number of replacements.
[0102] In some embodiments, in response to receiving an item display request from a terminal, if the target-specific sub-information is not obtained from the relational database based on the item display request, general item information of the item is sent to the terminal. The general item information is item information that is common to multiple replacement scenarios, and the terminal uses it to display the item based on the general item information.
[0103] The general item information can be set as needed, such as the initial item information.
[0104] In this embodiment, for some replacement scenarios, there may be no dedicated sub-information set or failure to obtain dedicated sub-information from the relational database. In this case, general item information is sent to the terminal for display to ensure the integrity and stability of item display. As a unified fallback content for the whole scenario, general item information can ensure that no matter what scenario, as long as an item display request is received, the terminal can display valid item information, avoid information display gaps, simplify system logic, and reduce the complexity of exception handling.
[0105] In step 306, in response to receiving a deletion instruction for any corresponding relationship in the relation database, the corresponding relationship and the exclusive sub-information associated with the corresponding relationship in the first information database are deleted.
[0106] The source or target object of the item can be deleted through the editing interface provided by the terminal. Optionally, the deletion command carries a scene identifier of the replacement scene, which can be used to find the corresponding relationship based on the scene identifier, and then find the corresponding exclusive sub-information in the first information database based on the information identifier in the relationship, and delete the relationship and the exclusive sub-information.
[0107] Optionally, after receiving the deletion instruction, the server first checks whether the correspondence and exclusive sub-information in the replacement scenario exist. If they exist, the server then deletes the correspondence and the exclusive sub-information.
[0108] In this embodiment, the established correspondence and stored exclusive sub-information can be deleted at any time, adapting to the dynamic adjustment needs of item exchange business in multiple exchange scenarios, ensuring data consistency, reducing storage redundancy, simplifying operation and maintenance, and improving flexibility and convenience.
[0109] In this embodiment of the disclosure, for different replacement scenarios of the same object, a corresponding relationship is established based on the exclusive sub-information under each replacement scenario and stored in the relationship database. In this way, the terminal can retrieve the exclusive sub-information under each replacement scenario from the relationship database to display the item. This realizes the differentiated display of item information under different replacement scenarios of the same object. In this way, the exclusive information is displayed in a targeted manner for each replacement scenario, which can accurately meet the needs of users in each replacement scenario, reduce information redundancy, improve the display effect of the item, and thus help improve the conversion rate of the item.
[0110] In some embodiments, the specific information also includes inventory information for each replacement scenario, as described below. Figure 4 The following embodiments illustrate this process. See Figure 4 , Figure 4 This is a flowchart illustrating another information sending method according to an exemplary embodiment, the method being performed by a server, and the method including at least one of the following steps.
[0111] In step 401, the item’s exclusive information for the target object is obtained. The exclusive information includes multiple replacement scenarios associated with the target object and exclusive sub-information and inventory information under each replacement scenario. Each replacement scenario provides an item replacement entry point. The exclusive sub-information corresponding to each replacement scenario is the item’s exclusive item information for the target object and the replacement scenario. The inventory information includes the inventory quantity allocated to the replacement scenario from the total inventory quantity of the item and the inventory identifier used to identify the inventory quantity.
[0112] The exclusive sub-information within the exclusive information is similar to step 301 above, and will not be repeated here.
[0113] Taking the setting of exclusive information for an item as an example, for the same item targeting the same object, the inventory quantity of that object in each replacement scenario can be set through the information setting interface provided by the terminal.
[0114] In step 402, for each replacement scenario, the exclusive sub-information based on the information identifier of the exclusive sub-information under the replacement scenario is stored in the first information database, and the inventory quantity is stored in the second information database based on the inventory identifier.
[0115] Optionally, for each replacement scenario, after the server obtains the inventory quantity under that replacement scenario, it sets an inventory identifier ID for that inventory quantity, and then stores the inventory quantity and establishes a corresponding relationship in the second information database based on the inventory identifier.
[0116] It should be noted that the inventory quantity in the second information database decreases as the quantity of the item being exchanged in this exchange scenario increases. Accordingly, the inventory identifier is used to identify the storage location of the inventory quantity in the second information database, and then the latest inventory quantity is retrieved from that storage location.
[0117] Optionally, the second information base includes multiple inventory modules, each used to store the inventory quantity of an object under a replacement scenario, and each inventory module includes an inventory identifier and an inventory quantity. Further, each inventory module includes a third sub-module and at least one fourth sub-module. Since the same item may have different SKUs, the third sub-module is used to store information identifiers shared by multiple specifications, multiple specification identifiers, an object identifier, the total inventory quantity under the replacement scenario, extended fields, etc. Each fourth sub-module is used to store inventory information for one specification, including a specification identifier, a scenario identifier, an inventory quantity, extended fields, etc., and may further include an information identifier.
[0118] In step 403, for each replacement scenario, a correspondence is established based on the object identifier of the target object, the scenario identifier of the replacement scenario, the information identifier and the inventory identifier under the replacement scenario. The information identifier in the correspondence is used to find the exclusive sub-information from the first information database, and the inventory identifier in the correspondence is used to find the inventory quantity from the second information database.
[0119] In this embodiment, a correspondence is established based on object identifier, scene identifier, information identifier, and inventory identifier. Subsequently, the corresponding information identifier and inventory identifier are found from the correspondence in the relationship database based on the object identifier and scene identifier. Then, the corresponding exclusive sub-information is found from the first information database based on the information identifier, that is, the corresponding inventory quantity is found from the second information database based on the inventory identifier.
[0120] In some embodiments, the process of establishing a correspondence based on object identifier, scene identifier, and information identifier includes the following implementation: for each replacement scenario, a sub-correspondence is established based on the scene identifier of the replacement scenario and the information identifier and inventory identifier corresponding to the replacement scenario; a one-to-many correspondence is established based on the object identifier and multiple sub-correspondences under multiple replacement scenarios.
[0121] In this embodiment, inventory requirements may differ across different replacement scenarios. By assigning independent inventory quantities and inventory identifiers to each replacement scenario and storing them in a second information database, physical isolation of inventory across different replacement scenarios can be achieved. Furthermore, storing inventory quantities and their corresponding relationships separately improves the flexibility, efficiency, and scalability of data management. When a terminal sends an item display request, the system only needs to quickly match the corresponding information identifier and inventory identifier in the lightweight relationship database based on the object identifier and scenario identifier. Since the relationship database only stores identifiers, the data volume is small, the structure is simple, and the query speed is extremely fast. Then, the system accurately finds the specific sub-information in the first information database using the information identifier, and accurately finds the inventory quantity in the second information database using the inventory identifier. This avoids direct retrieval from massive datasets containing complete content, significantly shortening the response time of terminal requests and improving efficiency. If a specific sub-information needs to be modified subsequently, only the content corresponding to that information identifier needs to be modified in the first information database, allowing the specific sub-information to be updated independently. Similarly, if a specific inventory quantity needs to be modified subsequently, only the content corresponding to that inventory identifier needs to be modified in the second information database, allowing the inventory quantity to be updated independently.
[0122] For example, see Figure 5 , Figure 5 This is a schematic diagram of an item model provided according to an exemplary embodiment. For any object, its corresponding item model includes a shelf module, an item module, and an inventory module. The shelf module stores the one-to-many correspondence of the object, the item module stores specific sub-information, and the inventory module stores the inventory quantity.
[0123] For example, see Figure 6 , Figure 6 This is a flowchart illustrating the creation of a correspondence according to an exemplary embodiment. In this process, after the item source object inputs its unique sub-information for any replacement scenario, the server verifies it, stores the unique sub-information in a first information database, stores the inventory quantity in a second information database, and then checks if a correspondence already exists. If not, it adds the corresponding sub-information; if it exists, it updates the corresponding sub-information; if the update fails, it releases the original inventory quantity.
[0124] In step 404, in response to receiving an information update instruction for the first replacement scenario, the target information under the first replacement scenario is updated based on the information update instruction. The target information is the information to be updated as indicated by the information update instruction, and the information update instruction carries the update information corresponding to the target information. The target information includes at least one of the exclusive sub-information under the first replacement scenario and the inventory quantity.
[0125] In some embodiments, if the target information includes the inventory quantity, before updating the target information under the first replacement scenario based on the information update instruction, the following steps are also included: saving the inventory quantity before the update under the first replacement scenario; and restoring the inventory quantity under the first replacement scenario in the second information database based on the saved inventory quantity if the update of the inventory quantity fails.
[0126] In this embodiment, the inventory quantity before the update is saved when updating the inventory quantity, and an automatic recovery mechanism is triggered when the update fails to roll back the inventory quantity, preventing inventory data from being disordered and ensuring the consistency of inventory data and corresponding relationships. Moreover, the automatic recovery mechanism can achieve fault-based fallback within seconds. After the update fails, no manual intervention is required, and the system automatically calls the saved historical inventory data, which greatly shortens the duration of the fault impact.
[0127] In some embodiments, the process of updating the target information in the first replacement scenario based on the information update instruction includes at least one of the following implementation methods: if the information update instruction indicates updating the inventory quantity in the first replacement scenario, the inventory quantity in the second information database in the first replacement scenario is updated to the inventory quantity carried by the information update instruction; if the information update instruction indicates deleting the inventory quantity in the first replacement scenario, the inventory quantity in the first replacement scenario in the second information database and the inventory identifier in the corresponding relationship are deleted, and the total inventory quantity of items used in the first replacement scenario after deleting the inventory quantity is calculated.
[0128] In this embodiment, the change in inventory quantity is compared by comparing the inventory quantity carried in the information update instruction with the inventory quantity in the second information database. Optionally, if the inventory quantity carried in the information update instruction is 0, then the inventory quantity is deleted.
[0129] It should be noted that since the sub-correspondence may include an inventory field, which is used to indicate whether the item in the replacement scenario uses the total inventory quantity or is allocated a specific inventory quantity, if the information update instruction indicates to delete the inventory quantity, the inventory field in the sub-correspondence also needs to be updated so that the updated inventory field indicates the total inventory quantity used by the item in the replacement scenario, and thus there is no need to look up the specific inventory quantity again.
[0130] In this embodiment, when the information update instruction indicates an update to the inventory quantity of the first replacement scenario, the inventory quantity corresponding to that replacement scenario in the second information database is directly modified, which can meet the dynamic adjustment requirements of inventory under that replacement scenario. When the information update instruction indicates a deletion of the inventory quantity of the first replacement scenario, the inventory quantity in the second information database and the inventory identifier in the relational database are deleted simultaneously. This decouples the replacement scenario from the dedicated inventory, and then converts it into the total inventory quantity of the items to be used. This enables rapid recovery and reuse of inventory resources, and improves the fine granularity and flexible scheduling of inventory management.
[0131] For example, see Figure 7 , Figure 7 This is a flowchart of an information update provided according to an exemplary embodiment. In this flowchart, after the item source object edits the target information, the server verifies it, then queries and updates the specific sub-information, and then compares the changes in inventory quantity to determine whether to update or delete the inventory quantity. If it is an update, the inventory quantity is modified; if it is a deletion, the inventory quantity is deleted and the sub-correspondence is updated; if the update fails, the inventory quantity before the update is rolled back.
[0132] In step S405, in response to receiving an item display request from the terminal, the target-specific sub-information and target inventory quantity are obtained based on the relational database, the first information database, and the second information database, and the target dimension information is obtained from the initial item information. The target-specific sub-information does not contain the target dimension information. The target-specific sub-information, target inventory quantity, and target dimension information are sent to the terminal, and the terminal is used to display the item and the target inventory quantity based on the target-specific sub-information and target dimension information.
[0133] Specifically, the terminal obtains information identifiers and inventory identifiers from the corresponding relationships in the relational database based on the item display request, the object identifier and scene identifier carried in the item display request, the target-specific sub-information from the first information database based on the information identifier, and the target inventory quantity from the second information database based on the inventory identifier.
[0134] For example, see Figure 8 , Figure 8This is a flowchart illustrating an information query according to an exemplary embodiment. After a user sends an item display request, the server obtains the object identifier and scene identifier, queries the relational database, routes to the information identifier under the corresponding replacement scene, then searches for and merges the target-specific sub-information and target-dimensional information, then queries the inventory quantity, and returns the result to the terminal.
[0135] In step S406, in response to receiving a deletion instruction for any corresponding relationship in the relational database, the corresponding relationship, the exclusive sub-information associated with the corresponding relationship in the first information database, and the inventory quantity associated with the corresponding relationship in the second information database are deleted.
[0136] In this embodiment, the established correspondence, stored exclusive sub-information, and inventory quantity can be deleted at any time, adapting to the dynamic adjustment needs of item exchange business in multiple exchange scenarios, ensuring data consistency, reducing storage redundancy, simplifying operation and maintenance, and improving flexibility and convenience.
[0137] For example, see Figure 9 , Figure 9 This is a flowchart illustrating information deletion according to an exemplary embodiment. In response to a deletion command from an item source object, the corresponding exclusive sub-information is queried, the existence of the exclusive sub-information is verified, and then the corresponding inventory quantity, exclusive sub-information, and corresponding relationship are deleted.
[0138] This disclosure maintains a 1:N correspondence in a relational database, supporting differentiated representation of the same item in different exchange scenarios. By using a first information database to carry personalized information and merging non-personalized information from the initial item information, it supports differentiated representation of item information across any dimension. Through reasonable process orchestration and exception rollback, it effectively ensures consistency between personalized representation and actual reserved inventory. The method provided in this disclosure supports the requirement for displaying different differentiated information for the same item in different exchange scenarios when an object provides an item exchange entry point, thus improving item conversion rates. It supports arbitrary customization of the displayed sub-information by the item source object in different exchange scenarios; it can customize only the title, or customize SKU information, shipping templates, etc., improving the operational efficiency of the item source object without requiring the addition of new items. It effectively solves the consistency problem between exclusive inventory representation and actual reserved inventory in exchange scenarios, improving user experience.
[0139] In this embodiment of the disclosure, for different replacement scenarios of the same object, a corresponding relationship is established based on the exclusive sub-information under each replacement scenario and stored in the relationship database. In this way, the terminal can retrieve the exclusive sub-information under each replacement scenario from the relationship database to display the item. This realizes the differentiated display of item information under different replacement scenarios of the same object. In this way, the exclusive information is displayed in a targeted manner for each replacement scenario, which can accurately meet the needs of users in each replacement scenario, reduce information redundancy, improve the display effect of the item, and thus help improve the conversion rate of the item.
[0140] In related technologies, the storage architecture for item information is a binary association model of item ID and unified item information. This only achieves the binding of items with unified item information, without reserving association dimensions for objects and replacement scenarios. It cannot establish a ternary mapping relationship between objects, replacement scenarios, and item information. Under this architecture, item information involves globally unified general data without dedicated partitioning dimensions. Even if scenario identifiers or object identifiers are forcibly added, the lack of corresponding association logic will lead to inaccurate matching between objects, replacement scenarios, and item information, failing to achieve true object and replacement scenario personalization. Furthermore, in related technologies, each object can be associated with multiple replacement scenarios. However, these technologies lack efficient data diversion mechanisms. Because item information is not bound to replacement scenarios or objects, there is no clear data source for diversion; only globally unified information can be pushed, making it impossible to quickly retrieve the corresponding object's dedicated information based on the replacement scenario. Moreover, in these technologies, personalized dedicated item information is strongly correlated with basic item information. When basic item information is updated, the lack of a synchronization update mechanism will lead to inconsistencies between personalized item information and basic information, making it difficult to balance personalization and data consistency.
[0141] The method disclosed herein abandons the binary association model of item ID-unified item information in related technologies, and constructs a ternary association data architecture of object, replacement scenario, and exclusive item information, clarifying the mapping relationship among the three and fundamentally solving the problem of missing association logic. This method configures exclusive item information for each pair of correspondences between object and replacement scenario, and establishes an association index to bind the object, replacement scenario, and exclusive item information, achieving a precise mapping of "one object, one replacement scenario, one set of exclusive and unique information," ensuring the uniqueness and specificity of the exclusive information, and breaking through the core technical barrier of related technologies that cannot distinguish between "object-replacement scenario-exclusive information." Furthermore, this method designs intelligent traffic splitting, matching the scenario recognition result with the object based on the aforementioned ternary association index, quickly retrieving the corresponding exclusive item information, and achieving millisecond-level retrieval and push of exclusive information when switching replacement scenarios and objects through a lightweight data transmission protocol, solving the problems of traffic splitting delay and false pushes in related technologies, and ensuring accurate matching of object, replacement scenario, and exclusive information.
[0142] Furthermore, this method explicitly divides item data into a basic layer and a dedicated layer. The basic layer stores globally consistent information for each item, ensuring the uniformity and reusability of this type of key information. The dedicated layer stores personalized information corresponding to each object and its replacement scenario, and this dedicated information does not contain basic information, reducing storage redundancy at the source and avoiding duplicate storage of personalized and basic data. Different objects do not need to repeatedly store the globally consistent basic information for the item. Simultaneously, the dedicated layer employs a "block storage + index optimization" technique, grouping dedicated information for all replacement scenarios of the same object into a single data block. Through a joint index of the object and replacement scenario, efficient retrieval of dedicated information in the relational database is achieved, reducing storage costs and retrieval latency. Furthermore, this method designs a multi-source information collaborative retrieval and push mechanism. When it is necessary to push item information to the terminal, the system automatically and accurately retrieves the exclusive information of the corresponding object-replacement scenario from the relational database, and at the same time retrieves the corresponding general information from the initial item information. After the two types of information are collaboratively integrated, they are sent to the terminal simultaneously. After receiving the information, the terminal completes the full display of the item based on the personalized content of the exclusive information and the general basic information. This not only realizes the scenario-specific personalization, but also ensures the integrity and accuracy of the basic information of the item, further improving the closed loop of scenario-based display and breaking through the technical barrier of existing technologies that "personalization and information integrity cannot be taken into account".
[0143] In summary, the method disclosed herein, through a ternary association architecture, breaks through the technical barrier of "single binding of item information" in related technologies, establishing for the first time a precise mapping of "object-replacement scenario-specific information," thus solving the technical barrier of missing association logic. Furthermore, through layered storage and synchronous update mechanisms, combined with a multi-source information retrieval design, it not only balances the storage efficiency and data consistency of massive personalized data, solving the technical barrier of "incompatibility between personalization and consistency" in related technologies, but also addresses the technical problem of "lack of basic dimensions and incomplete display of specific information" by clearly separating basic item information from specific information and collaboratively retrieving and pushing it. Therefore, this method breaks through a long-standing technical barrier in the industry, enabling personalized display of specific item information across multiple objects and scenarios, significantly improving item conversion rates.
[0144] Figure 10 This is a block diagram illustrating an information transmitting device according to an exemplary embodiment. (Refer to...) Figure 10 The device includes: The acquisition unit 1001 is configured to acquire the exclusive information of the item for the target object. The exclusive information includes multiple replacement scenarios associated with the target object and exclusive sub-information under each replacement scenario. Each replacement scenario provides an item replacement entry point, and the exclusive sub-information corresponding to each replacement scenario is the item's exclusive item information for the target object and the replacement scenario. Establishment unit 1002 is configured to perform the following for each replacement scenario: establish a corresponding relationship based on the object identifier of the target object, the scenario identifier of the replacement scenario, and the exclusive sub-information under the replacement scenario, and store it in the relationship database. The sending unit 1003 is configured to respond to receiving an item display request from the terminal by retrieving target-specific sub-information from the relational database and sending the target-specific sub-information to the terminal. The target-specific sub-information is the specific sub-information corresponding to the object identifier and scene identifier carried in the item display request. The terminal is used to display the item based on the target-specific sub-information.
[0145] In some embodiments, the establishment unit 1002 is configured to perform: For each replacement scenario, the information identifier based on the exclusive sub-information under the replacement scenario is stored in the first information database; A correspondence is established based on object identifier, scene identifier, and information identifier. The information identifier in the correspondence is used to find exclusive sub-information from the first information database.
[0146] In some embodiments, the establishment unit 1002 is configured to perform: For each substitution scenario, a sub-correspondence relationship is established between the scenario identifier of the substitution scenario and the information identifier corresponding to the substitution scenario; A one-to-many correspondence is established based on object identifiers and multiple sub-correspondences under multiple permutation scenarios.
[0147] In some embodiments, the apparatus further includes a deletion unit configured to perform: In response to receiving a delete command for any corresponding relationship in the relation database, delete the corresponding relationship and the exclusive sub-information associated with the corresponding relationship in the first information database.
[0148] In some embodiments, the specific information further includes inventory information for each replacement scenario, the inventory information including the inventory quantity allocated to the replacement scenario from the total inventory quantity of items and an inventory identifier used to identify the inventory quantity; the establishment unit 1002 is configured to execute: For each replacement scenario, the inventory quantity is stored in the second information database based on the inventory identifier; For each replacement scenario, a correspondence is established based on the object identifier of the target object, the scenario identifier of the replacement scenario, the exclusive sub-information under the replacement scenario, and the inventory identifier. The inventory identifier in the correspondence is used to find the inventory quantity from the second information database.
[0149] In some embodiments, the apparatus further includes an update unit configured to perform: In response to receiving an information update instruction for the first replacement scenario, the target information under the first replacement scenario is updated based on the information update instruction. The target information is the information to be updated as indicated by the information update instruction, and the information update instruction carries the update information corresponding to the target information. The target information includes at least one of the exclusive sub-information under the first replacement scenario and the inventory quantity.
[0150] In some embodiments, if the target information includes inventory quantity, the update unit is also configured to perform: Save the inventory quantity before the update in the first replacement scenario; If updating the inventory quantity fails, the inventory quantity in the second information database under the first replacement scenario is restored based on the saved inventory quantity.
[0151] In some embodiments, the update unit is configured to perform at least one of the following: If the information update instruction indicates that the inventory quantity under the first replacement scenario should be updated, the inventory quantity under the first replacement scenario in the second information database should be updated to the inventory quantity carried by the information update instruction. If the information update instruction indicates that the inventory quantity under the first replacement scenario is deleted, the inventory quantity under the first replacement scenario and the inventory identifier in the corresponding relationship are deleted from the second information database, and the total inventory quantity of the items used in the first replacement scenario after deleting the inventory quantity is deleted.
[0152] In some embodiments, the apparatus further includes an update unit configured to perform: In response to receiving a delete command for any corresponding relationship in the relational database, delete the corresponding relationship and the inventory quantity associated with the corresponding relationship in the second information database.
[0153] In some embodiments, the initial item information includes information in multiple dimensions, the exclusive sub-information includes information in at least one dimension, and the initial item information includes information not present in the exclusive information. The sending unit 1003 is configured to execute: Retrieve target-specific sub-information from the relational database and target-dimensional information from the initial item information; target-specific sub-information does not contain target-dimensional information. The system sends target-specific sub-information and target dimension information to the terminal, which then displays the item based on the target-specific sub-information and target dimension information.
[0154] In some embodiments, the target dimension information includes at least one of the evaluation information for the item and the total number of item replacements.
[0155] In some embodiments, the exclusive sub-information includes information of at least one dimension, and the establishment unit 1002 is configured to perform: When the initial item information includes information of at least one dimension, a correspondence is established based on the object identifier of the target object, the scene identifier of the replacement scene, and the exclusive sub-information corresponding to the replacement scene. The information of the same dimension differs between the initial item information and the exclusive sub-information.
[0156] In some embodiments, the sending unit 1003 is further configured to perform: In response to receiving an item display request from the terminal, if the target-specific sub-information is not obtained from the relational database based on the item display request, the terminal sends general item information of the item. The general item information is item information that is common to multiple replacement scenarios, and the terminal uses it to display the item based on the general item information.
[0157] Regarding the apparatus in the above embodiments, the specific manner in which each unit performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0158] In some embodiments, the electronic device is provided as a terminal. Figure 11 A structural block diagram of a terminal 1100 provided in an exemplary embodiment of this disclosure is shown. The terminal 1100 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 1100 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.
[0159] Typically, terminal 1100 includes a processor 1101 and a memory 1102.
[0160] Processor 1101 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1101 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1101 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1101 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1101 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0161] The memory 1102 may include one or more computer-readable storage media, which may be non-transitory. The memory 1102 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1102 are used to store at least one program code, which is executed by the processor 1101 to implement the information transmission method provided in the method embodiments of this disclosure.
[0162] In some embodiments, the terminal 1100 may also optionally include a peripheral device interface 1103 and at least one peripheral device. The processor 1101, memory 1102, and peripheral device interface 1103 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1103 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1104, a display screen 1105, a camera assembly 1106, an audio circuit 1107, and a power supply 1108.
[0163] Peripheral device interface 1103 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1101 and memory 1102. In some embodiments, processor 1101, memory 1102 and peripheral device interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1101, memory 1102 and peripheral device interface 1103 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0164] The radio frequency (RF) circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1104 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1104 can communicate with other terminals via at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: metropolitan area networks (MANs), various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks (WLANs), and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1104 may also include circuitry related to NFC (Near Field Communication), which is not limited in this disclosure.
[0165] Display screen 1105 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1105 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1101 for processing. In this case, display screen 1105 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1105, which serves as the front panel of terminal 1100; in other embodiments, there may be at least two display screens, respectively disposed on different surfaces of terminal 1100 or in a folded design; in still other embodiments, display screen 1105 may be a flexible display screen, disposed on a curved or folded surface of terminal 1100. Furthermore, display screen 1105 may also be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1105 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0166] The camera assembly 1106 is used to acquire images or videos. Optionally, the camera assembly 1106 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1106 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cool light flash, which can be used for light compensation at different color temperatures.
[0167] The audio circuit 1107 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 1101 for processing, or input to the radio frequency circuit 1104 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 1100. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1101 or the radio frequency circuit 1104 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1107 may also include a headphone jack.
[0168] Power supply 1108 is used to power the various components in terminal 1100. Power supply 1108 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1108 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0169] Those skilled in the art will understand that Figure 11 The structure shown does not constitute a limitation on terminal 1100 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0170] Figure 12 This is a schematic diagram of a server structure according to an embodiment of this application. The server 1200 can vary considerably due to different configurations or performance. It may include one or more Central Processing Units (CPUs) 1201 and one or more memories 1202. The memories 1202 are used to store executable program code, and the processors 1201 are configured to execute the executable program code to implement the information sending methods provided in the various method embodiments described above. Of course, the server may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server may also include other components for implementing device functions, which will not be elaborated here.
[0171] In an exemplary embodiment, a computer-readable storage medium is also provided, which, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform the above-described information transmission method. Optionally, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device, etc.
[0172] In an exemplary embodiment, a computer program product is also provided, the computer program product including a computer program that, when executed by a processor, implements the above-described information sending method.
[0173] In some embodiments, the computer program product involved in this disclosure may be deployed on an electronic device for execution, or on multiple electronic devices located in one location, or on multiple electronic devices distributed in multiple locations and interconnected through a communication network. The multiple electronic devices distributed in multiple locations and interconnected through a communication network may constitute a blockchain system.
[0174] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims. All the above-described optional technical solutions can be combined in any way to form optional embodiments of this application, and will not be elaborated upon here.
[0175] The "response" mentioned in the embodiments of this disclosure is used to indicate the conditions or states on which the operation performed depends. When the conditions or states on which the operation depends are met, the one or more operations performed can be performed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are performed.
[0176] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for sending information, characterized in that, The method includes: Obtain item-specific information for a target object. The specific information includes multiple replacement scenarios associated with the target object and specific sub-information under each replacement scenario. Each replacement scenario provides an entry point for the item to be replaced. The specific sub-information corresponding to each replacement scenario is the item-specific information for the target object and the replacement scenario. For each replacement scenario, a corresponding relationship is established based on the object identifier of the target object, the scenario identifier of the replacement scenario, and the exclusive sub-information under the replacement scenario, and stored in the relationship database; In response to receiving an item display request from a terminal, the system retrieves target-specific sub-information from the relational database and sends the target-specific sub-information to the terminal. The target-specific sub-information is the specific sub-information corresponding to the object identifier and scene identifier carried in the item display request. The terminal is used to display the item based on the target-specific sub-information.
2. The information transmission method according to claim 1, characterized in that, For each substitution scenario, establishing a correspondence based on the object identifier of the target object, the scenario identifier of the substitution scenario, and the specific sub-information under the substitution scenario includes: For each permutation scenario, the exclusive sub-information based on the information identifier of the exclusive sub-information under the permutation scenario is stored in the first information database; A correspondence is established based on the object identifier, the scene identifier, and the information identifier, wherein the information identifier in the correspondence is used to retrieve exclusive sub-information from the first information database.
3. The information transmission method according to claim 2, characterized in that, The process of establishing a correspondence based on the object identifier, the scene identifier, and the information identifier includes: For each substitution scenario, a sub-correspondence relationship is established between the scenario identifier of the substitution scenario and the information identifier corresponding to the substitution scenario; A one-to-many correspondence is established based on the object identifier and the multiple sub-correspondences under the multiple permutation scenarios.
4. The information transmission method according to claim 2, characterized in that, The method further includes: In response to receiving a deletion instruction for any corresponding relationship in the relational database, the corresponding relationship and the exclusive sub-information associated with the corresponding relationship in the first information database are deleted.
5. The information transmission method according to claim 1, characterized in that, The specific information also includes inventory information for each replacement scenario, which includes the inventory quantity allocated to the replacement scenario from the total inventory quantity of the item and an inventory identifier used to identify the inventory quantity; For each substitution scenario, establishing a correspondence based on the object identifier of the target object, the scenario identifier of the substitution scenario, and the specific sub-information under the substitution scenario includes: For each replacement scenario, the inventory quantity is stored in the second information database based on the inventory identifier; For each replacement scenario, a correspondence is established based on the object identifier of the target object, the scenario identifier of the replacement scenario, the exclusive sub-information under the replacement scenario, and the inventory identifier. The inventory identifier in the correspondence is used to find the inventory quantity from the second information database.
6. The information transmission method according to claim 5, characterized in that, The method further includes: In response to receiving an information update instruction for a first replacement scenario, the target information under the first replacement scenario is updated based on the information update instruction. The target information is the information to be updated as indicated by the information update instruction, and the information update instruction carries the update information corresponding to the target information. The target information includes at least one of the exclusive sub-information under the first replacement scenario and the inventory quantity.
7. The information transmission method according to claim 6, characterized in that, If the target information includes inventory quantity, before updating the target information in the first replacement scenario based on the information update instruction, the method further includes: Save the inventory quantity before the update in the first replacement scenario; In the event that updating the inventory quantity fails, the inventory quantity under the first replacement scenario in the second information database is restored based on the saved inventory quantity.
8. The information transmission method according to claim 6, characterized in that, Updating the target information in the first replacement scenario based on the information update instruction includes at least one of the following: If the information update instruction indicates that the inventory quantity under the first replacement scenario be updated, the inventory quantity under the first replacement scenario in the second information database shall be updated to the inventory quantity carried by the information update instruction. If the information update instruction indicates that the inventory quantity under the first replacement scenario be deleted, the inventory quantity under the first replacement scenario and the inventory identifier in the corresponding relationship are deleted from the second information database, and the first replacement scenario after deleting the inventory quantity is used for the total inventory quantity of the item.
9. The information transmission method according to claim 5, characterized in that, The method further includes: In response to receiving a deletion instruction for any corresponding relationship in the relational database, the corresponding relationship and the inventory quantity associated with the corresponding relationship in the second information database are deleted.
10. The information transmission method according to claim 1, characterized in that, The initial item information includes information in multiple dimensions, the specific sub-information includes information in at least one dimension, the initial item information includes information not present in the specific sub-information, and the step of obtaining the target specific sub-information from the relational database and sending the target specific sub-information to the terminal includes: Obtain target-specific sub-information from the relational database and target dimension information from the initial item information, wherein the target-specific sub-information does not contain the target dimension information; The target-specific sub-information and the target dimension information are sent to the terminal, and the terminal is used to display the item based on the target-specific sub-information and the target dimension information.
11. The information transmission method according to claim 10, characterized in that, The target dimension information includes at least one of the evaluation information for the item and the total number of replacements for the item.
12. The information transmission method according to claim 1, characterized in that, The specific sub-information includes information in at least one dimension. Establishing a correspondence based on the object identifier of the target object, the scene identifier of the replacement scene, and the specific sub-information corresponding to the replacement scene includes: When the initial item information of the item includes information of at least one dimension, a correspondence is established based on the object identifier of the target object, the scene identifier of the replacement scene, and the exclusive sub-information corresponding to the replacement scene, wherein the information of the same dimension between the initial item information and the exclusive sub-information is different.
13. The information transmission method according to claim 1, characterized in that, The method further includes: In response to receiving an item display request from a terminal, if no target-specific sub-information is obtained from the relational database based on the item display request, the terminal sends general item information of the item to the terminal. The general item information is item information that is common to multiple replacement scenarios, and the terminal uses the general item information to display the item.
14. An information transmitting device, characterized in that, The device includes: The acquisition unit is configured to acquire the exclusive information of the item for the target object. The exclusive information includes multiple replacement scenarios associated with the target object and exclusive sub-information under each replacement scenario. Each replacement scenario provides an entry point for the item to be replaced. The exclusive sub-information corresponding to each replacement scenario is the exclusive item information of the item for the target object and the replacement scenario. The establishment unit is configured to perform, for each permutation scenario, establish a corresponding relationship based on the object identifier of the target object, the scenario identifier of the permutation scenario, and the exclusive sub-information under the permutation scenario, and store it in the relationship database; The sending unit is configured to respond to a received item display request from a terminal by retrieving target-specific sub-information from the relational database and sending the target-specific sub-information to the terminal. The target-specific sub-information is the specific sub-information corresponding to the object identifier and scene identifier carried in the item display request. The terminal is used to display the item based on the target-specific sub-information.
15. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the information transmission method as described in any one of claims 1 to 13.
16. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the information transmission method according to any one of claims 1 to 13.
17. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the information transmission method according to any one of claims 1 to 13.