CN111475712A - Resource processing method and system - Google Patents

Resource processing method and system Download PDF

Info

Publication number
CN111475712A
CN111475712A CN202010174039.0A CN202010174039A CN111475712A CN 111475712 A CN111475712 A CN 111475712A CN 202010174039 A CN202010174039 A CN 202010174039A CN 111475712 A CN111475712 A CN 111475712A
Authority
CN
China
Prior art keywords
resource
relationship
group
content
relation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010174039.0A
Other languages
Chinese (zh)
Other versions
CN111475712B (en
Inventor
许捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rajax Network Technology Co Ltd
Original Assignee
Rajax Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rajax Network Technology Co Ltd filed Critical Rajax Network Technology Co Ltd
Priority to CN202010174039.0A priority Critical patent/CN111475712B/en
Publication of CN111475712A publication Critical patent/CN111475712A/en
Application granted granted Critical
Publication of CN111475712B publication Critical patent/CN111475712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a resource processing method and system, a computer readable storage medium and electronic equipment, which can reasonably abstract the relation between different types of resources, provide a set of general schemes for processing the resources, avoid repeated development work and save development resources. The resource processing method comprises the following steps: constructing a first resource group and a second resource group; allocating at least one resource type to at least one first subgroup of the first resource group and at least one second subgroup of the second resource group respectively, and determining a relationship between the at least one first subgroup and a relationship between the at least one second subgroup; for at least one resource content, respectively determining a first relation and a second relation between the at least one resource content; and sequentially executing the first relation and the second relation on at least one object to be subjected to the resource action, and determining effective resource content in at least one resource content according to an execution result.

Description

Resource processing method and system
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a resource processing method and system, a computer-readable storage medium, and an electronic device.
Background
Currently, a service line provides different types of resources for users using service services, and among these different types of resources, a user may simultaneously enjoy multiple types of resources, or may not enjoy one type of resource but another type of resource, or may select one type of resource among the two types of resources according to a set condition, and so on. Taking the resources provided by the service line for the user as gifts as an example, the types of the gifts comprise various types, such as foods, clothes, washing and protecting gifts, tourism, catering and the like, the user can enjoy the foods and the washing and protecting gifts at the same time, the clothes and the tourism gifts can only enjoy one of the foods and the washing and protecting gifts, and the foods and the catering gifts can select one of the foods according to set conditions. It can be seen that these different types of resources are provided to the user, and are used by the user in a sharing, mutual exclusion, or one of them is selected according to a set condition, and so on.
In the related art, the service line implements the relations of sharing and mutual exclusion used between the different types of resources, or selects one of the resources according to a set condition, and the like through the code writing control logic, and if the relations between the different types of resources change, such as a change relation or a new addition relation, the services need to adjust the codes or rewrite the codes to implement the services, so that the development amount is large, and the services are not easy to maintain. In addition, different service lines are developed through code writing control logic, so that repeated development work is caused, and development resources are wasted. Therefore, there is a need to solve this technical problem.
Disclosure of Invention
In view of the above, the present invention is proposed to provide a resource processing method and system, a computer-readable storage medium, and an electronic device, which overcome the above problems or at least partially solve the above problems, and can reasonably abstract the relationship between different types of resources, provide a set of general schemes to process the resources, avoid repeated development work, and save development resources.
According to an aspect of the embodiments of the present invention, a method for processing a resource is provided, including:
constructing a first resource group and a second resource group; the first resource group is used for allocating objects for resource action, and the second resource group is used for configuring used relations among different types of resources;
allocating at least one resource type to at least one first subgroup of the first resource group and at least one second subgroup of the second resource group, respectively, based on a relationship between the at least one resource type and the at least one resource type, and determining a relationship between the at least one first subgroup and a relationship between the at least one second subgroup;
for at least one resource content, respectively determining a first relation and a second relation among the at least one resource content according to a resource type corresponding to the at least one resource content, a relation among the at least one first sub-group and a relation among the at least one second sub-group;
and acquiring at least one object to be subjected to resource action, sequentially executing the first relation and the second relation on the at least one object to be subjected to resource action, and determining effective resource content in the at least one resource content according to an execution result.
Optionally, allocating at least one resource type to at least one first subgroup of the first resource group and at least one second subgroup of the second resource group, respectively, based on a relationship between the at least one resource type and the at least one resource type, and determining a relationship between the at least one first subgroup and a relationship between the at least one second subgroup, includes:
allocating at least one resource type to at least one first subgroup of the first set of resources according to a relationship between the at least one resource type and the at least one resource type that is allocated to act on the object, and determining a relationship between the at least one first subgroup;
allocating the at least one resource type to at least one second subgroup of the second set of resources according to the used relationship between the at least one resource type and the at least one resource type, and determining the relationship between the at least one second subgroup.
Optionally, respectively determining a first relationship and a second relationship between the at least one resource content according to the resource type corresponding to the at least one resource content, the relationship between the at least one first sub-group, and the relationship between the at least one second sub-group, includes:
determining one or more first sub-groups in which the at least one resource content is located in the at least one first sub-group and determining one or more second sub-groups in which the at least one resource content is located in the at least one second sub-group according to the resource types corresponding to the at least one resource content;
determining a first relation among the at least one resource content according to the relation among one or more first subgroups where the at least one resource content is located;
and determining a second relation among the at least one resource content according to the relation among one or more second subgroups where the at least one resource content is located.
Optionally, determining, according to a resource type corresponding to each of the at least one resource content, one or more first sub-groups in which the at least one resource content is located in the at least one first sub-group, and one or more second sub-groups in which the at least one resource content is located in the at least one second sub-group, includes:
matching the resource type corresponding to each of the at least one resource content with the resource type corresponding to the at least one first subgroup to obtain one or more first subgroups where the matched resource types are located as one or more first subgroups where the at least one resource content is located;
and matching the resource type corresponding to each of the at least one resource content with the resource type corresponding to the at least one second subgroup to obtain one or more second subgroups where the matched resource types are located as the one or more second subgroups where the at least one resource content is located.
Optionally, if an initial relationship exists between the at least one resource content;
determining a first relationship between the at least one resource content according to a relationship between one or more first subgroups in which the at least one resource content is located, including:
determining a first relation between the at least one resource content by combining the initial relation and the relation between one or more first subgroups where the at least one resource content is located;
determining a second relationship between the at least one resource content according to a relationship between one or more second subgroups in which the at least one resource content is located, including:
and determining a second relation between the at least one resource content by combining the initial relation and the relation between one or more second subgroups where the at least one resource content is located.
Optionally, sequentially executing the first relationship and the second relationship on the at least one object to be subjected to the resource action, and determining an effective resource content in the at least one resource content according to an execution result, including:
executing the first relation on the at least one object to be subjected to the resource action to obtain a first execution result;
executing the second relation on the at least one object to be subjected to the resource action based on the first execution result to obtain a second execution result;
determining an effective resource content of the at least one resource content based on the first execution result and the second execution result.
Optionally, the first relationship includes information of a priority execution order, and the second relationship includes information of a priority execution order;
performing the first relationship on the at least one object to be resource-acted, including:
executing the first relation on the at least one object to be subjected to the resource action according to the information of the priority execution sequence of the first relation;
executing the second relationship on the at least one object to be resource-acted based on the first execution result, including:
and executing the second relation on the at least one object to be subjected to the resource action according to the information of the priority execution sequence of the second relation based on the first execution result.
Optionally, the relationship between the at least one first sub-group includes a relationship of resource types within the group of the respective first sub-group and/or a relationship of resource types between the group and the group of the respective first sub-group;
the relationship between the at least one second sub-group comprises a relationship of resource types within the group of the respective second sub-group and/or a relationship of resource types between the group and the group of the respective second sub-group.
Optionally, the method further comprises:
showing a relationship between the at least one first subgroup and the at least one first subgroup; and/or
Showing the relationship between the at least one second subgroup and the at least one second subgroup.
According to another aspect of the embodiments of the present invention, there is provided a resource processing system, including:
a building unit adapted to build a first resource group and a second resource group; the first resource group is used for allocating objects for resource action, and the second resource group is used for configuring used relations among different types of resources;
a grouping unit adapted to allocate at least one resource type to at least one first subgroup of the first set of resources and at least one second subgroup of the second set of resources, respectively, based on a relationship between the at least one resource type and the at least one resource type, and to determine a relationship between the at least one first subgroup and a relationship between the at least one second subgroup;
a relationship determining unit, adapted to determine, for at least one resource content, a first relationship and a second relationship between the at least one resource content according to a resource type corresponding to the at least one resource content, a relationship between the at least one first sub-group, and a relationship between the at least one second sub-group, respectively;
the relationship execution unit is suitable for acquiring at least one object to be subjected to resource action, sequentially executing the first relationship and the second relationship on the at least one object to be subjected to resource action, and determining effective resource content in the at least one resource content according to an execution result.
Optionally, the grouping unit is further adapted to:
allocating at least one resource type to at least one first subgroup of the first set of resources according to a relationship between the at least one resource type and the at least one resource type that is allocated to act on the object, and determining a relationship between the at least one first subgroup;
allocating the at least one resource type to at least one second subgroup of the second set of resources according to the used relationship between the at least one resource type and the at least one resource type, and determining the relationship between the at least one second subgroup.
Optionally, the relationship determination unit includes:
a first determining module, adapted to determine, according to a resource type corresponding to each of the at least one resource content, one or more first sub-groups in which the at least one resource content is located in the at least one first sub-group, and one or more second sub-groups in which the at least one resource content is located in the at least one second sub-group;
the second determining module is suitable for determining the first relation among the at least one resource content according to the relation among one or more first subgroups where the at least one resource content is located;
and the third determining module is suitable for determining the second relation among the at least one resource content according to the relation among one or more second subgroups where the at least one resource content is located.
Optionally, the first determining module is further adapted to:
matching the resource type corresponding to each of the at least one resource content with the resource type corresponding to the at least one first subgroup to obtain one or more first subgroups where the matched resource types are located as one or more first subgroups where the at least one resource content is located;
and matching the resource type corresponding to each of the at least one resource content with the resource type corresponding to the at least one second subgroup to obtain one or more second subgroups where the matched resource types are located as the one or more second subgroups where the at least one resource content is located.
Optionally, if an initial relationship exists between the at least one resource content;
the second determination module is further adapted to: determining a first relation between the at least one resource content by combining the initial relation and the relation between one or more first subgroups where the at least one resource content is located;
the third determination module is further adapted to: and determining a second relation between the at least one resource content by combining the initial relation and the relation between one or more second subgroups where the at least one resource content is located.
Optionally, the relationship performing unit is further adapted to:
executing the first relation on the at least one object to be subjected to the resource action to obtain a first execution result;
executing the second relation on the at least one object to be subjected to the resource action based on the first execution result to obtain a second execution result;
determining an effective resource content of the at least one resource content based on the first execution result and the second execution result.
Optionally, the first relationship includes information of a priority execution order, and the second relationship includes information of a priority execution order;
the relationship execution unit is further adapted to:
executing the first relation on the at least one object to be subjected to the resource action according to the information of the priority execution sequence of the first relation to obtain a first execution result;
and executing the second relation on the at least one object to be subjected to the resource action according to the information of the priority execution sequence of the second relation based on the first execution result.
Optionally, the relationship between the at least one first sub-group includes a relationship of resource types within the group of the respective first sub-group and/or a relationship of resource types between the group and the group of the respective first sub-group;
the relationship between the at least one second sub-group comprises a relationship of resource types within the group of the respective second sub-group and/or a relationship of resource types between the group and the group of the respective second sub-group.
Optionally, the system further comprises:
a presentation unit adapted to present the at least one first subgroup and a relationship between the at least one first subgroup; and/or
Showing the relationship between the at least one second subgroup and the at least one second subgroup.
According to a further aspect of embodiments of the present invention, there is provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the method for processing resources according to any one of the above when the computer program runs.
According to a further aspect of the embodiments of the present invention, there is provided an electronic device, including a memory and a processor, where the memory stores therein a computer program, and the processor is configured to execute the computer program to perform the processing method of the resource according to any one of the above.
By means of the technical solution, the method for processing resources provided by the embodiment of the present invention can reasonably abstract the relationship between different types of resources by constructing the first resource group and the second resource group, then allocating at least one resource type to at least one first subgroup of the first resource group and at least one second subgroup of the second resource group respectively based on the relationship between at least one resource type and at least one resource type, and determining the relationship between at least one first subgroup and the relationship between at least one second subgroup; then, for at least one resource content, according to the resource type corresponding to the at least one resource content, the relationship between the at least one first subgroup and the relationship between the at least one second subgroup, respectively determining the first relationship and the second relationship between the at least one resource content, further obtaining at least one object to be subjected to resource action, sequentially executing the first relationship and the second relationship on the at least one object to be subjected to resource action, and determining effective resource content in the at least one resource content according to an execution result, thereby providing a set of universal scheme to process the resource through a standardized resource processing flow, avoiding repeated development work, and saving development resources.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 shows a flow diagram of a method of processing a resource according to an embodiment of the invention;
FIG. 2 shows a flow diagram of a method of processing a resource according to another embodiment of the invention;
FIG. 3 illustrates a plurality of first subgroups of a first group of resources and a relationship between the plurality of first subgroups;
FIG. 4 illustrates a plurality of second subsets of a second resource group and relationships between the plurality of second subsets;
FIG. 5 shows a flow diagram of a method of processing a resource according to yet another embodiment of the invention;
FIG. 6 shows a block diagram of a processing system of resources according to an embodiment of the invention;
FIG. 7 shows a block diagram of a processing system of resources according to another embodiment of the invention;
FIG. 8 shows a block diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
To solve the foregoing technical problem, embodiments of the present invention provide a resource processing method and system, a computer-readable storage medium, and an electronic device. Fig. 1 shows a flow diagram of a method of processing a resource according to an embodiment of the invention. As shown in fig. 1, the method may include the following steps S101 to S104:
step S101, a first resource group and a second resource group are constructed; the first resource group is used for allocating objects for resource action, and the second resource group is used for configuring used relations among different types of resources;
step S102, allocating at least one resource type to at least one first subgroup of a first resource group and at least one second subgroup of a second resource group respectively based on the relationship between the at least one resource type and the at least one resource type, and determining the relationship between the at least one first subgroup and the relationship between the at least one second subgroup;
step S103, for at least one resource content, respectively determining a first relation and a second relation between at least one resource content according to a resource type corresponding to the at least one resource content, a relation between at least one first subgroup and a relation between at least one second subgroup;
step S104, at least one object to be subjected to the resource action is obtained, the first relation and the second relation are sequentially executed on the at least one object to be subjected to the resource action, and effective resource content in the at least one resource content is determined according to an execution result.
According to the resource processing method provided by the embodiment of the invention, the relationship between different types of resources can be reasonably abstracted by constructing the first resource group and the second resource group, respectively allocating at least one resource type to at least one first subgroup of the first resource group and at least one second subgroup of the second resource group based on the relationship between at least one resource type and at least one resource type, and determining the relationship between at least one first subgroup and the relationship between at least one second subgroup; then, for at least one resource content, according to the resource type corresponding to the at least one resource content, the relationship between the at least one first subgroup and the relationship between the at least one second subgroup, respectively determining the first relationship and the second relationship between the at least one resource content, further obtaining at least one object to be subjected to resource action, sequentially executing the first relationship and the second relationship on the at least one object to be subjected to resource action, and determining effective resource content in the at least one resource content according to an execution result, thereby providing a set of universal scheme to process the resource through a standardized resource processing flow, avoiding repeated development work, and saving development resources.
The resources mentioned in the embodiment of the present invention may be, for example, gifts, offers, services, and the like, and the embodiment of the present invention is not limited thereto. Taking resources as gifts, as introduced in the foregoing, the types of gifts may include multiple types, such as foods, clothes, washing, traveling, dining, etc., different types of gifts are provided for users, and there is a relationship of sharing, mutual exclusion, or selecting one of them according to a set condition when being used by users, for example, a user may enjoy foods and washing gifts at the same time, while the clothes and traveling gifts may only enjoy one of them, and the foods and dining gifts may select one of them according to a set condition, where the set condition may be that the gift has the greatest value, or that the gift is most convenient to carry, and the set condition may be specifically set according to actual needs.
Taking resources as an example of the preferential, the types of the preferential may also include multiple types, such as preferential activities, coupons, red packages, benefits, and the like, the preferential activities may further be subdivided into types of full subtractive activities, commodity discounting activities, new customers subtractive activities, and the like, the coupons may further be subdivided into types of full subtractive coupons, commodity subtractive coupons, and the like, the red packages may further be subdivided into types of merchant red packages, platform red packages, and the like, the benefits may further be subdivided into types of merchant subsidies, platform subsidies, and the like, and these different types of benefits are provided to users, when being used by the users, have a relationship of sharing, mutual exclusion, or selecting one of them according to a set condition, and the like, for example, full subtractive and single-product activities (such as commodity deactivation, commodity discounting activities, and the like), the new customers are mutually exclusive with single-product activities, one order enjoys N single-product activities at most, each commodity enjoys M-product at most, and may be configured to be mutually exclusive or shared with the activity, etc. for each coupon.
It should be noted that the above examples are only illustrative and do not limit the embodiments of the present invention. The resource processing method provided by the embodiment of the invention in steps S101 to S104 can process resources such as gifts, benefits, services and the like, can realize the relations such as sharing and mutual exclusion used among different types of resources or selecting one of the different types of resources according to set conditions, and adopts a standardized resource processing flow, so that the relations or the superposition of several relations are not separately developed, repeated development work is avoided, development resources are saved, and the development efficiency is improved.
The first resource group constructed in the above step S101 may be used to allocate an object for resource role, and the second resource group may be used to configure a relationship used between different types of resources, and in an alternative embodiment of the present invention, the step S102 may specifically include the following steps a1 and a 2.
Step A1, allocating the at least one resource type to at least one first subgroup of the first resource group according to the at least one resource type and the relationship between the at least one resource type and the object, and determining the relationship between the at least one first subgroup.
In this step, the objects are corresponding to the resources or types of the resources, for example, the resources are gifts, the types of the gifts can be foods, clothes, washing products, traveling products, catering products, and the like, the objects can be foods, clothes, washing products, traveling products, dining products, and the like, and the relationships between the gifts of different types to be allocated to the objects can be set according to actual needs. In a specific application scenario, the relationship between these different types of gifts assigned to act on objects may be that each type of gift is assigned to act on a respective object and cannot be assigned to act on other objects than the respective object, for example, a food-class gift is assigned to act on a food of the object and cannot be assigned to act on clothes, wash products, tourist products, meal drinks of the object; the clothing gift is distributed to act on the clothing of the object, but can not be distributed to act on the food, the washing and nursing product, the tourist product and the meal beverage of the object, and so on. Therefore, in the specific application scenario, the at least one first sub-group of the first resource group may include a first food sub-group, a first service sub-group, a first wash sub-group, a first travel sub-group, and a first meal sub-group, the food gift is assigned to the first food sub-group, the clothing gift is assigned to the first service sub-group, the wash gift is assigned to the first wash sub-group, the travel gift is assigned to the first travel sub-group, and the meal gift is assigned to the first meal sub-group, and a relationship between the gifts of the respective types in the respective first sub-groups, which are assigned to act on the object, is determined as a relationship between the respective first sub-groups. For example, the relationship between the first food item group and the first garment group is that food item gifts are assigned to act on the subject food item and cannot be assigned to act on the subject garment; the clothing type gift is assigned to act on the subject clothing and cannot be assigned to act on the subject food.
In another specific application scenario, the relationship between these different types of gifts assigned to act on the subject may specifically be that food type gifts may be assigned to act on the subject food, may also be assigned to act on the subject tourist goods, meal drinks, but not on the subject clothes, wash products; the clothing gift is distributed to act on the target clothing, but can not be distributed to act on the target food, washing and caring products, tourist products and meal drinks; the washing and protecting gift is distributed to act on the washing and protecting article and the tourist article of the object, but can not be distributed to act on the food, the clothes and the food and beverage of the object; the tourism gift is distributed to act on the target food, washing and caring product and tourist product, but can not be distributed to act on the target clothes and food and beverage; the catering gift is distributed to act on the food and the drinks of the target, but can not be distributed to act on the clothes, the washing and nursing articles and the tourist goods of the target. In the specific application scenario, the at least one first sub-group of the first resource group may also include a first food sub-group, a first service sub-group, a first washing sub-group, a first travel sub-group, and a first catering sub-group, the food gift is allocated to the first food sub-group, the clothing gift is allocated to the first service sub-group, the washing gift is allocated to the first washing sub-group, the travel gift is allocated to the first travel sub-group, and the catering gift is allocated to the first catering sub-group, and a relationship between gifts of different types in the respective first sub-groups, which are allocated to act on objects, is determined as a relationship between the respective first sub-groups. For example, the relationship between the first food item group and the first garment group is that food item gifts are assigned to act on the subject food item and cannot be assigned to act on the subject garment; the clothing type gift is assigned to act on the subject clothing and cannot be assigned to act on the subject food.
Step a2, allocating the at least one resource type to at least one second subgroup of the second resource group according to the at least one resource type and the used relationship between the at least one resource type, and determining the relationship between the at least one second subgroup.
In this step, taking resources as gifts as an example, the relationships used among different types of gifts such as foods, clothes, washing and nursing, tourism, catering and the like can be set according to actual requirements. In a specific application scene, a user can enjoy food gifts and wash-care gifts at the same time, while the clothes gifts and the travel gifts can only enjoy one of the food gifts and the travel gifts, and the food gifts and the food gift can be selected according to set conditions. Thus, at least one second sub-group of the second resource group may include a second food sub-group, a second clothing sub-group, a second wash sub-group, a second travel sub-group, a second dining sub-group, a food gift being assigned to the second food sub-group, a clothing gift being assigned to the second clothing sub-group, a wash gift being assigned to the second wash sub-group, a travel gift being assigned to the second travel sub-group and a dining gift being assigned to the second dining sub-group, and a relationship used between respective types of gifts in the respective second sub-groups being determined as a relationship between the respective second sub-groups. For example, the relationship between the second food subgroup and the second washing and protecting subgroup is shared, the relationship between the second clothing subgroup and the second travel subgroup is mutually exclusive, and the relationship between the second food subgroup and the second dining subgroup is one of the second food subgroup and the second dining subgroup selected according to the set conditions.
In the above embodiments, the relationship between at least one first subgroup and at least one first subgroup of the first resource group and the relationship between at least one second subgroup and at least one second subgroup of the second resource group are determined based on the relationship between at least one resource type and the relationship allocated to act on the object and the relationship used between at least one resource type, respectively, so that the relationships between different types of resources can be accurately and effectively abstracted, and a basis is provided for the subsequent processing of the resources by adopting a standardized processing flow.
In an optional embodiment of the present invention, the resource types correspond to specific resource contents, and after abstracting the relationship between the resources of different types, the relationship between the resource contents may be determined according to an abstraction result, and the step S103 may specifically include the following steps B1 to B3.
Step B1, for at least one resource content, according to the resource type corresponding to each of the at least one resource content, determining one or more first sub-groups in which the at least one resource content is located in the at least one first sub-group, and determining one or more second sub-groups in which the at least one resource content is located in the at least one second sub-group.
Step B2, determining a first relationship between at least one resource content according to the relationship between one or more first subgroups where the at least one resource content is located.
Step B3, determining a second relationship between the at least one resource content according to the relationship between one or more second subgroups where the at least one resource content is located.
Still taking resources as gifts for example, at least one gift content such as a nut gift bag, a tea set, a shampoo set, a long-reach family tour, and a night gift certificate determines that a first sub-set of the gift contents includes a first food sub-set, a first washing sub-set, a first travel sub-set, and a first dining sub-set according to the gift types corresponding to the gift contents, and a second sub-set of the gift contents includes a second food sub-set, a second washing sub-set, a second travel sub-set, and a second dining sub-set. Further, a first relationship between the gift contents is determined based on a relationship between a first subset of the gift contents, such as a nut gift bag acting on a nut of the subject, a tea set acting on a tea of the subject, a shampoo jacket acting on shampoo of the subject, a lonely parent-child swim acting on a lonely parent-child swim of the subject, and a night-year gift certificate acting on a night-year gift certificate. In addition, according to the relationship among the second sub-group of the gift contents, a second relationship among the gift contents is determined, such as sharing of a nut gift bag and a shampoo set, sharing of a tea set and a shampoo set, selection of one of the nut gift bag and the annual night meal gift certificate according to set conditions, and selection of one of the tea set and the annual night meal gift certificate according to set conditions.
As introduced above, the relationship between the at least one first sub-group may comprise a relationship between the groups of the respective first sub-groups and the resource types between the groups, and in an alternative embodiment of the invention, the relationship between the at least one first sub-group may further comprise a relationship between the resource types within the groups of the respective first sub-groups. For example, in the first food sub-group, a nut gift bag acts on the subject's nuts, a tea set acts on the subject's tea, the nut gift bag cannot act on the subject's tea, and the tea set cannot act on the subject's nuts.
In addition, the relationship between the at least one second sub-group may include a relationship between the group of the respective second sub-group and the resource type between the groups, and in an alternative embodiment of the present invention, the relationship between the at least one second sub-group may further include a relationship between the resource types within the group of the respective second sub-group. For example, in the second food subgroup, the nut gift bag and the tea set are shared or mutually exclusive, and may be specifically configured according to actual requirements.
In an alternative embodiment of the present invention, a subset of resource contents may be determined in a matching manner, and the step B1 may specifically include the following steps B11 to B12.
Step B11, matching the resource type corresponding to each of the at least one resource content with the resource type corresponding to the at least one first sub-group, and using the one or more first sub-groups where the matched resource type is located as the one or more first sub-groups where the at least one resource content is located.
In this step, an expression or a keyword of the corresponding resource type may be configured for each first subgroup, so as to perform matching through the expression or the keyword of the resource type.
Step B12, matching the resource type corresponding to each of the at least one resource content with the resource type corresponding to the at least one second sub-group, and using the one or more second sub-groups where the matched resource type is located as the one or more second sub-groups where the at least one resource content is located.
In this step, an expression or a keyword of the corresponding resource type may be configured for each second subgroup, so as to perform matching through the expression or the keyword of the resource type.
In the above embodiment, the matching mode has high accuracy, and the description mode of the resource content is more flexible.
In an optional embodiment of the present invention, if there is an initial relationship between at least one resource content, step B2 above may specifically determine a first relationship between at least one resource content by combining the initial relationship and the relationship between one or more first subgroups where at least one resource content is located; the step B3 may specifically determine the second relationship between the at least one resource content by combining the initial relationship and the relationship between the one or more second subgroups in which the at least one resource content is located. The initial relationship may be a higher priority relationship, and may be selected preferentially when the initial relationship conflicts with one or more of the first sub-groups in which the at least one resource content is located. Likewise, the initial relationship may also be preferentially selected when a conflict occurs between the initial relationship and one or more of the second sub-groups in which the at least one resource content is located. It can be seen that the embodiment of the present invention can adjust the first relationship or the second relationship between at least one resource content by setting the initial relationship, and has high flexibility.
In an alternative embodiment of the present invention, at least one resource content may be valid by default before executing the first relationship and the second relationship, and some resource contents may be invalid after executing the first relationship and the second relationship, depending on the execution result of the first relationship and the second relationship, the above step S104 may specifically include the following steps C1 to C3.
Step C1, executing the first relation on the at least one object to be subjected to the resource action, and obtaining a first execution result.
And step C2, executing the second relation on the at least one object to be subjected to the resource action based on the first execution result, and obtaining a second execution result.
And step C3, determining the effective resource content in the at least one resource content based on the first execution result and the second execution result.
Still taking resources as gifts for example, at least one gift content such as a nut gift bag, a tea set, a shampoo set, a Changlong parent-child tour, and an annual night gift certificate, at least one object to be subjected to a resource role such as a nut, a shampoo, and a Changlong parent-child tour, executes a first relationship between the nut, the shampoo, and the Changlong parent-child tour of the at least one object to be subjected to a resource role, that is, the nut gift bag acts on the object nut, the tea set acts on the object tea, the shampoo set acts on the object shampoo, the Changlong parent-child tour acts on the object Changlong parent-child tour, and the annual night gift certificate acts on the annual night gift certificate, and the first execution result is obtained as nut gift bag valid, tea set invalid, shampoo set valid, Changlong parent-child valid, and annual gift certificate invalid.
And then, executing a second relation on at least one object of the nut, the shampoo and the Changlong parent-child tour to be subjected to resource action based on the first execution result, namely, sharing the nut gift bag and the shampoo suit, sharing the tea suit and the shampoo suit, selecting one of the nut gift bag and the annual night meal gift certificate according to set conditions, and selecting one of the tea suit and the annual night meal gift certificate according to the set conditions to obtain a second execution result, namely that the nut gift bag is effective and the shampoo suit is effective.
And then, determining at least one gift content nut gift bag, tea set, shampoo set, Changlong parent-child tour, nut gift bag in the annual evening meal gift certificate valid, tea set invalid, shampoo set valid, Changlong parent-child tour valid and annual evening meal gift certificate invalid by combining the first execution result and the second execution result.
In an optional embodiment of the present invention, the first relationship may include information of a priority execution order, and the second relationship may also include information of a priority execution order, so step C1 may specifically be to execute the first relationship on at least one object to be acted on by the resource according to the information of the priority execution order of the first relationship; the step C2 may specifically be to execute the second relationship on the at least one object to be acted on by the resource according to the information of the priority execution order of the second relationship based on the first execution result. It can be seen that the first relation or the second relation of the information of the priority execution order is combined, so that the execution result is more accurate.
In an alternative embodiment of the invention, at least one first subgroup, or a relation between at least one first subgroup and at least one first subgroup may also be presented. Furthermore, at least one second subgroup, or a relationship between at least one second subgroup and at least one second subgroup may also be presented. Therefore, the visual configuration capability can be provided, the operator of the service line can understand conveniently, and the configuration efficiency is improved.
In the above, various implementation manners of each link in the embodiment shown in fig. 1 are introduced, and the method for processing resources provided by the embodiment of the present invention will be further described through a specific embodiment.
In a specific embodiment, taking resources as an example of the benefit, the types of the benefit may be, for example, a benefit activity, a coupon, a bonus package, a benefit allowance, and the like, the benefit activity may further be divided into a reduction full activity, a commodity reduction activity, a commodity discount activity, a new customer reduction activity, and the like, the coupon may further be divided into a reduction full coupon, a commodity reduction full coupon, and the like, the bonus package may further be divided into a merchant bonus package, a platform bonus package, and the like, the benefit allowance may be divided into a merchant bonus allowance, a platform allowance, and the like, the object may be a commodity, and the like, and the relationship of the types of the benefit allocated to the commodity may be set according to actual needs. For example, merchandise may only be acted upon by one of these types of offers; as another example, merchandise may be acted upon by two or more of these types of offers simultaneously; for another example, a product that is acted upon by one of these types of offers may not be acted upon by another type, and so on. In addition, the preferential types can be shared, mutually exclusive or a relationship of selecting one of the preferential types according to a set condition, and the like.
Fig. 2 shows a flow diagram of a method of processing a resource according to another embodiment of the invention. As shown in fig. 2, the method may include the following steps S201 to S210.
Step S201, constructing a first resource group and a second resource group; the first resource group is used for allocating the object of resource action, and the second resource group is used for configuring the used relation among the resources of different types.
Step S202, according to the relationship between at least one resource type and at least one resource type, which is allocated to act on the object, at least one resource type is allocated to at least one first subgroup of the first resource group, and the relationship between the at least one first subgroup is determined.
In a specific application scenario, fig. 3 illustrates a plurality of first sub-groups of the first resource group, which are respectively a commodity activity group FG1, a commodity coupon group FG2, a commodity pool activity group FG3, a store activity group FG4, a subsidy alliance group FG5 and a store coupon group FG6, wherein the resource type in FG1 includes gift buying, discount/special price, M-th sale, N-fold, and limited quantity of rush purchases, the resource type in FG2 includes commodity coupon and commodity certificate, the resource type in FG3 includes part of M-fold, N-fold, and part of commodity full, the resource type in FG4 includes shop full and discount, shop full gift, and delivery fee activity, the resource type in FG5 includes subsidy alliance, and the resource type in FG6 includes red envelope, full/subtractive coupon, platform coupon, full/subtractive coupon, and platform new customer red envelope/coupon. And, the line segment with arrows between groups from one group to another indicates that the commodity is acted on by the resource type of one group and cannot be acted on by the resource type of another group, for example, the line segment with arrows between FG2 to FG1 from FG2 to FG1 indicates that the commodity acted on by FG2 cannot be acted on by FG 1; similarly, a line segment pointing from FG2 to FG3 with an arrow between FG2 to FG3 indicates that the commodity acted on by FG2 cannot be acted on by FG3, and so on.
In addition, the upper right corner of FG3 is marked with "internal sharping", which means that within-group sharping is realized, namely, resource type part commodity in FG3 can be shared by N-fold and partial commodity full or full; the "internal sharding" is marked in the upper right corner of FG4 to indicate intra-group sharding, i.e., resource type store full-down, store full-gift, and distribution fee activities in FG4 can be shared.
It should be noted that, the relationships between the plurality of first subgroups of the first resource group and the plurality of first subgroups listed here are only illustrative, and the relationships between the plurality of different first subgroups and the plurality of first subgroups may be determined according to actual requirements of the service line, which is not limited in this embodiment of the present invention.
Step S203, allocating the at least one resource type to at least one second subgroup of the second resource group according to the at least one resource type and the used relationship between the at least one resource type, and determining the relationship between the at least one second subgroup.
In a specific application scenario, fig. 4 illustrates a plurality of second sub-groups of second resource groups, which are AG1, AG2, AG3, AG4, AG5, AG6, AG7, AG8, AG9, AG10 and AG11, wherein the resource types in AG1 include commodity gift purchase, commodity decrease/discount/special price, M-th N-fold purchase and limited preemption, the resource types in AG2 include commodity coupon and commodity certificate, the resource types in AG3 include store full reduction, store new customer decrease, lunch box activity, store full gift coupon, partial commodity full reduction, partial commodity M-fold N-fold, the resource types in AG4 include any cash change, the resource types in AG5 include merchant coupon and commodity certificate, the resource types in AG6 include platform new special price, the resource types in AG7 include platform new decrease, the resource types in AG4 include platform new discount coupon, the resource types in AG8 include platform overpass/platform bonus package, the resource type in AG9 includes distribution fee deduction, the resource type in AG10 includes distribution fee voucher, and the resource type in AG11 includes allowance federation.
And, a line segment between groups indicates that the resource types between the groups are shared, for example, a line segment between AG1 to AG6 indicates that the resource types between AG1 and AG6 are shared. The line segment with the bidirectional arrow between the groups represents the optimal offer selected from the resource types between the groups, for example, the line segment with the bidirectional arrow between the AG1 and the AG3 represents the optimal offer selected from the resource types between the AG1 and the AG3 groups. A line segment with an arrow from one group to another group between groups indicates that the resource type of one group is used and the resource type of another group cannot be used, for example, a line segment with an arrow from AG2 to AG1 between AG2 to AG1 indicates that the resource type of AG2 group is used and the resource type of AG1 group is not used, i.e., the resource type of AG2 group is used mutually exclusive to the resource type of AG1 group; similarly, a line segment from AG2 to AG3 with an arrow between AG2 and AG3 indicates that the resource type of AG2 group is used, and the resource type of AG3 group is not used, i.e., the resource type of AG2 group is used mutually exclusive from the resource type of AG3 group, and so on.
In addition, if "internal sharing" is marked in the upper right corner of the group, it means sharing in the group, for example, "internal sharing" is marked in the upper right corner of the AG1, which means sharing in the group, that is, buying gift for the resource type item in the AG1, buying M N-th items, and limited amount of rush purchase can be shared. Upper right corner of the group if labeled "inside: 1 ", indicating that only one resource type can be enjoyed within a group, e.g. the top right corner of AG2 labeled" inside: 1 "indicates that only one resource type, such as a coupon or voucher, can be enjoyed within the group.
It should be noted that, the relationships between the plurality of second subsets of the second resource group and the plurality of second subsets listed herein are only schematic, and the relationships between the plurality of different second subsets and the plurality of second subsets may be determined according to actual requirements of the service line, which is not limited in this embodiment of the present invention.
Step S204, for at least one resource content, according to the respective corresponding resource type of the at least one resource content, determining one or more first sub-groups in which the at least one resource content is located in at least one first sub-group, and determining one or more second sub-groups in which the at least one resource content is located in at least one second sub-group.
In a specific application scenario, at least one resource content may be as follows:
1) merchant or platform configured activities
Special price of single product: the special price of the A commodity is 5 yuan, and 3 orders can be enjoyed
Full deactivation: decrease from full 30 yuan to 6 yuan
And (4) distribution fee activity: 2 Yuan immediately after reduction
2) The user has used two coupons simultaneously, which are:
single note of article a: lisha 8 yuan, shared with the activities of merchant or platform configuration in 1)
Distributing the fee ticket: lishu 4 Yuan, unlike 1) merchant or platform configured activities
According to the resource type corresponding to each of the at least one resource content, it may be determined that one or more first subgroups in which the at least one resource content is located are:
FG 1-Single coupon for the coupon group FG2- { A Commodity: immediately subtract 8 Yuan }
FG 2-commercial activity group FG1- { Unit specialties: special price 5 Yuan of A commodity
FG 3-store activity group FG4- { full deactivation: full 30 yuan minus 6 yuan, delivery fee activity: immediately subtract 2 Yuan }
Here, the resource type corresponding to each of the at least one resource content may be specifically matched with the resource type corresponding to the at least one first sub-group, and one or more first sub-groups where the matched resource type is located are obtained as the one or more first sub-groups where the at least one resource content is located.
According to the resource type corresponding to each of the at least one resource content, it may be determined that one or more second subgroups in which the at least one resource content is located are:
AG 1-voucher group AG2- { A voucher of the commercial products: immediately subtract 8 Yuan }
AG 2-group of distribution coupons AG10- { distribution coupon: immediately subtract 4 Yuan }
AG 3-commercial activity group AG1- { unit speciality: special price 5 Yuan of A commodity
AG 4-full deactivation group AG3- { full deactivation: full 30 minus 6 }
AG 5-distribution fee activity group AG9- { distribution fee activity: immediately subtract 2 Yuan }
Here, the resource type corresponding to each of the at least one resource content may be specifically matched with the resource type corresponding to the at least one second sub-group, and one or more second sub-groups where the matched resource type is located are obtained as the one or more second sub-groups where the at least one resource content is located.
Step S205, determining a first relationship between at least one resource content according to a relationship between one or more first subgroups where the at least one resource content is located.
In this step, still taking the above example as an example, as shown in fig. 3, according to the relationship between one or more first subgroups where at least one resource content is located, the determined first relationship between at least one resource content is as follows:
from 1-from: fg1-to: fg 2-from which occupied commercial product cannot be occupied by to
from 2-from: fg1-to: fg 3-from which occupied commercial product cannot be occupied by to
Step S206, determining a second relation among at least one resource content according to the relation among one or more second subgroups where the at least one resource content is located.
In this step, still taking the above example as an example, as shown in fig. 4, according to the relationship between one or more second subgroups where at least one resource content is located, the determined second relationship between at least one resource content is as follows:
(1) in-group relationship
ai1-from:ag1-1
ai2-from:ag2-1
(2) Group-to-group relationships
ar1-from: ag1-to: ag3\ ag4-from exclude to (because the single coupon is actually configured to share with the event, the relationship is invalid)
ar2-from: ag2-to: ag5-from exclude to (effective because of exclusive activity of distribution coupon configuration)
Selecting optimal preference from ar3-from: ag3-to: ag4-from and to
Here, if there is an initial relationship between at least one resource content, a second relationship between at least one resource content may be determined by combining the initial relationship and a relationship between one or more second subgroups in which the at least one resource content is located. By way of example, the initial relationship here is for example a single note for article a: reducing 8 yuan immediately, and sharing with the activity configured by a merchant or a platform; distributing the fee ticket: let's subtract 4 yuan, not shared with the activity of the merchant or platform configuration.
Step S207, at least one object to be resource-acted is acquired.
In a specific application scenario, at least one object to be subjected to resource action is a commodity, and it is assumed that a user purchases the following commodity:
monovalent 10-membered commercial product A × 2 (noted A1 and A2)
10-membered commodity B1
10-membered monovalent commercial product C1
Lunch box 2 Yuan
5 yuan for delivery
In an alternative embodiment, at least one resource content may be applied to at least one object to be subjected to resource application, which is to initialize scope reset, and actually the scope needs to be adjusted according to the execution condition of the following step S208, so as to determine the final scope.
Step S208, executing a first relation on at least one object to be subjected to the resource action to obtain a first execution result.
In this step, taking the above example as an example, specifically:
fr1 after execution
Single note of article a article is immediately subtracted by 8: domain A1 x 1
Special price of single item A commodity special price 5 yuan: domain A2 x 1
After f2 is executed
Full minus activity full 30 minus 6: scope A2X 1, B X1, C X1, lunch box fee 2 Yuan, threshold 32 Yuan satisfies the condition (if only one commodity A is bought, the threshold becomes 22 Yuan does not satisfy the threshold of full reduction, full reduction can not be enjoyed)
And immediately subtracting 2 yuan from the delivery fee activity: scoped delivery fee 5 Yuan
Step S209, based on the first execution result, executing a second relationship on at least one object to be subjected to the resource action, so as to obtain a second execution result.
In this step, taking the above example as an example, specifically:
(1) results of execution of intra-group relationships
Single note of a article found 8 yuan effective
Immediate 4-element effectiveness for distributing fee tickets
(2) Group-to-group relationship execution result
① ar2 after execution
Direct 4-element reduction of delivery fee voucher and direct 2-element reduction of delivery fee activity
② ar3 execution shows that 6 yuan is favored because of full reduction of the preferential strength, and 5 yuan is favored in the single product activity
The full-minus activity is effective when 30 yuan is minus 6 yuan, and the special price of the single-item special price A commodity is ineffective when 5 yuan is minus
Here, the product special price of the single special price A is invalid 5 yuan, that is, the product advantage is invalid, and the product advantage is removed, and the flow steps S208 and S209 are executed in a loop once again.
③ A product single note A product immediately reduced by 8-element state and unchanged effect
Step S210, determining an effective resource content of the at least one resource content based on the first execution result and the second execution result.
In this step, taking the above example as an example, the final output of each offer status is summarized as follows:
single note of article a is immediately reduced by 8 yuan-effective
Distribution fee ticket reduce 4-element-effective
Immediate 2-yuan-invalidation of delivery fee activity
Full minus Activity full 30 minus 6-effective
Special price of single-item special price A commodity special price 5 yuan-invalid
In the above embodiment, the processing of the preferential resources can realize the relationships of sharing and mutual exclusion used among different types of the preferential or selecting one of the relationships according to the set conditions, and the like, and adopt the standardized processing flow, so that the development is not separately carried out for each relationship or the superposition of several relationships, thereby avoiding repeated development work, saving development resources and improving development efficiency.
In addition, the implementation can realize the relationship among different types of coupons with finer granularity, such as mutual exclusion of coupons and activities, further subdivision of distribution fee coupons and distribution fee activities, mutual exclusion of single coupons and single activities, and the like, and can realize different service line configuration requirements.
With reference to the above steps S201 to S210, the embodiment of the present invention may build a relationship processing flow between types of standardized offers, and is not separately developed for each relationship or superposition of several relationships, and the standardized relationship execution flow may include the following steps S501 to S509 as shown in fig. 5.
Step S501, according to the business line and the gray level strategy of the business line to different cities and areas, a relationship scheme between preferential types is constructed.
This step may be specifically implemented according to step S201, step S202, and step S203, that is, constructing a first offer group and a second offer group; the first preferential group is used for distributing an object of preferential action, and the second preferential group is used for configuring the used relationship among different types of preferential; then, according to the relationship between the at least one offer type and the at least one offer type, which is distributed to act on the object, distributing the at least one offer type to at least one first subgroup of the first offer group, and determining the relationship between the at least one first subgroup; then, according to the used relation between the at least one offer type and the at least one offer type, the at least one offer type is distributed to at least one second subgroup of the second offer group, and the relation between the at least one second subgroup is determined.
Step S502, grouping the preferential content and determining the relationship between the preferential content, namely for at least one preferential content, determining one or more first subgroups where the at least one preferential content is located in at least one first subgroup and determining one or more second subgroups where the at least one preferential content is located in at least one second subgroup according to the respective preferential types corresponding to the at least one preferential content; then, according to the relationship among one or more first subgroups where at least one preferential content is located, determining a first relationship among the at least one preferential content; and then, determining a second relation among the at least one preferential content according to the relation among one or more second subgroups where the at least one preferential content is located.
Step S503, the scope of the offer content is reset, that is, at least one offer content is applied to at least one object to be subjected to the offer effect, which is to initialize the scope of the offer effect reset, and actually the scope of the offer content needs to be adjusted according to the execution conditions of the following steps, so as to determine the final scope of the offer content.
Step S504, executing the relationship between at least one offer content begins.
Step S505, a first relationship between at least one offer content is executed.
In this step, the method may specifically be implemented according to the above step S207 and step S208, that is, obtaining at least one object to be subjected to the resource action, and then executing the first relationship on the at least one object to be subjected to the resource action to obtain the first execution result.
Step S506, executing an intra-group relationship in a second relationship between at least one offer content.
Step S507, executing an inter-group relationship in a second relationship between at least one offer content.
The above steps S506 and S507 may be specifically implemented according to the above step S209, that is, based on the first execution result, the second relationship is executed on the at least one object to be subjected to the resource action, so as to obtain a second execution result.
Step S508, judge whether there is single item preferential that is mutually exclusive, if, return to and carry out step S503; if not, the process continues to step S509.
Step S509, ending the execution of the relationship between the at least one offer content, and determining an effective offer content in the at least one offer content based on the execution result.
Through the above steps S501 to S509, a set of system for processing the relationship between the types of the offers can be developed, the capability of visual configuration can be opened for the operation after the abstraction and standardization of the relationship between the types of the offers are completed, the operation can complete the configuration of grouping of the offer contents through the system, each group can be configured to enjoy several offers, and the system can visually configure one of the relationships such as sharing, mutual exclusion, or selecting one of the relationships according to a set condition. Further, the marketing deal pricing system may invoke the system to complete the processing of relationships between types of offers in the pricing process.
The embodiment of the invention can liberate the development resources of each service line, and the subsequent change of preferential content or the change of preferential limiting attribute does not have great influence on the system, thereby greatly reducing the repeated development workload, being beneficial to the field capability precipitation and simultaneously being capable of actively promoting the middle-stage process; the business line configuration method is easy to operate and understand the complex relationships of sharing, mutual exclusion or selecting one of the relationships according to set conditions and the like, can configure different relationships aiming at different business lines, and then helps merchants configure proper benefits on the basis of the relationships.
It should be noted that, in practical applications, all the above optional embodiments may be combined in a combined manner at will to form an optional embodiment of the present invention, and details are not described here any more.
Based on the resource processing method provided by each embodiment, the embodiment of the invention also provides a resource processing system based on the same inventive concept.
FIG. 6 shows a block diagram of a processing system of resources according to an embodiment of the invention. As shown in fig. 6, the processing system of the resource may include a construction unit 610, a grouping unit 620, a relationship determination unit 630, and a relationship execution unit 640.
A building unit 610 adapted to build a first set of resources and a second set of resources; the first resource group is used for allocating objects for resource action, and the second resource group is used for configuring used relations among different types of resources;
a grouping unit 620 adapted to assign the at least one resource type to at least one first subgroup of the first resource group and at least one second subgroup of the second resource group, respectively, based on a relationship between the at least one resource type and the at least one resource type, and determine a relationship between the at least one first subgroup and a relationship between the at least one second subgroup;
a relationship determining unit 630, adapted to determine, for at least one resource content, a first relationship and a second relationship between at least one resource content according to a resource type corresponding to each of the at least one resource content, a relationship between at least one first sub-group, and a relationship between at least one second sub-group, respectively;
the relationship executing unit 640 is adapted to obtain at least one object to be subjected to a resource action, sequentially execute the first relationship and the second relationship on the at least one object to be subjected to the resource action, and determine effective resource content in the at least one resource content according to an execution result.
In an alternative embodiment of the invention, the grouping unit 620 is further adapted to:
allocating at least one resource type to at least one first subgroup of the first set of resources according to the at least one resource type and the relationship between the at least one resource type and the object to be acted on, and determining the relationship between the at least one first subgroup;
allocating the at least one resource type to at least one second subgroup of the second set of resources based on the at least one resource type and the used relationship between the at least one resource type, and determining the relationship between the at least one second subgroup.
In an alternative embodiment of the present invention, as shown in fig. 7, the relationship determining unit 630 in the processing system of the resource shown in fig. 6 above may include:
the first determining module 631 is adapted to determine, according to the respective resource types corresponding to the at least one resource content, one or more first sub-groups in which the at least one resource content is located in the at least one first sub-group, and one or more second sub-groups in which the at least one resource content is located in the at least one second sub-group;
a second determining module 632, adapted to determine a first relationship between at least one resource content according to a relationship between one or more first subgroups where the at least one resource content is located;
the third determining module 633 is adapted to determine a second relationship between at least one resource content according to a relationship between one or more second subgroups where the at least one resource content is located.
In an alternative embodiment of the invention, the first determination module 631 is further adapted to:
matching the resource type corresponding to each of the at least one resource content with the resource type corresponding to the at least one first subgroup to obtain one or more first subgroups where the matched resource types are located as one or more first subgroups where the at least one resource content is located;
and matching the resource type corresponding to each of the at least one resource content with the resource type corresponding to the at least one second subgroup to obtain one or more second subgroups where the matched resource types are located as the one or more second subgroups where the at least one resource content is located.
In an alternative embodiment of the invention, if an initial relationship exists between at least one resource content;
the second determination module 632 is further adapted to: determining a first relation between at least one resource content by combining the initial relation and the relation between one or more first subgroups where the at least one resource content is located;
the third determining module 633 is further adapted to: and determining a second relation between the at least one resource content by combining the initial relation and the relation between one or more second subgroups where the at least one resource content is located.
In an alternative embodiment of the present invention, the relation performing unit 640 is further adapted to:
executing a first relation on at least one object to be subjected to resource action to obtain a first execution result;
executing a second relation on at least one object to be subjected to the resource action based on the first execution result to obtain a second execution result;
and determining effective resource content in the at least one resource content based on the first execution result and the second execution result.
In an optional embodiment of the present invention, the first relation comprises information of a priority execution order, and the second relation comprises information of a priority execution order;
the relationship performing unit 640 is further adapted to:
executing the first relation on at least one object to be subjected to resource action according to the information of the priority execution sequence of the first relation to obtain a first execution result;
and executing the second relation on at least one object to be subjected to the resource action according to the information of the priority execution sequence of the second relation based on the first execution result.
In an alternative embodiment of the invention, the relationship between the at least one first sub-group comprises a relationship of resource types within the group of the respective first sub-group and/or a relationship of resource types between the group of the respective first sub-group and the group;
the relationship between the at least one second sub-group includes a relationship of the resource type within the group of the respective second sub-group and/or a relationship of the resource type between the group of the respective second sub-group and the group.
In an alternative embodiment of the present invention, as shown in fig. 7, the processing system of resources shown in fig. 6 above may further comprise a presentation unit 650 adapted to present at least one first subgroup and a relationship between the at least one first subgroup; and/or to show the relationship between at least one second subgroup and at least one second subgroup.
Based on the same inventive concept, the embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the resource processing method of any one of the above embodiments when running.
Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform the processing method of the resource according to any one of the above embodiments.
In an exemplary embodiment, as shown in fig. 8, an electronic device is provided, which may include a communication bus 810, a processor 820, a memory 830, and a communication interface 840, and may further include an input/output interface 850 and a display device 860, wherein the respective functional units may communicate with each other through the bus 810. The memory 830 stores a computer program, and the processor 820 is configured to execute the computer program stored in the memory to perform the resource processing method according to any one of the above embodiments.
It is clear to those skilled in the art that the specific working processes of the above-described systems, devices, modules and units may refer to the corresponding processes in the foregoing method embodiments, and for the sake of brevity, further description is omitted here.
In addition, the functional units in the embodiments of the present invention may be physically independent of each other, two or more functional units may be integrated together, or all the functional units may be integrated in one processing unit. The integrated functional units may be implemented in the form of hardware, or in the form of software or firmware.
Those of ordinary skill in the art will understand that: the integrated functional units, if implemented in software and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computing device (e.g., a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention when the instructions are executed. And the aforementioned storage medium includes: u disk, removable hard disk, Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, and other various media capable of storing program code.
Alternatively, all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware (such as a computing device, e.g., a personal computer, a server, or a network device) associated with program instructions, which may be stored in a computer-readable storage medium, and when the program instructions are executed by a processor of the computing device, the computing device executes all or part of the steps of the method according to the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments can be modified or some or all of the technical features can be equivalently replaced within the spirit and principle of the present invention; such modifications or substitutions do not depart from the scope of the present invention.

Claims (10)

1. A method for processing resources, comprising:
constructing a first resource group and a second resource group; the first resource group is used for allocating objects for resource action, and the second resource group is used for configuring used relations among different types of resources;
allocating at least one resource type to at least one first subgroup of the first resource group and at least one second subgroup of the second resource group, respectively, based on a relationship between the at least one resource type and the at least one resource type, and determining a relationship between the at least one first subgroup and a relationship between the at least one second subgroup;
for at least one resource content, respectively determining a first relation and a second relation among the at least one resource content according to a resource type corresponding to the at least one resource content, a relation among the at least one first sub-group and a relation among the at least one second sub-group;
and acquiring at least one object to be subjected to resource action, sequentially executing the first relation and the second relation on the at least one object to be subjected to resource action, and determining effective resource content in the at least one resource content according to an execution result.
2. The method of claim 1, wherein allocating at least one resource type to at least one first subgroup of the first resource group and at least one second subgroup of the second resource group based on a relationship between the at least one resource type and the at least one resource type, respectively, and determining the relationship between the at least one first subgroup and the relationship between the at least one second subgroup comprises:
allocating at least one resource type to at least one first subgroup of the first set of resources according to a relationship between the at least one resource type and the at least one resource type that is allocated to act on the object, and determining a relationship between the at least one first subgroup;
allocating the at least one resource type to at least one second subgroup of the second set of resources according to the used relationship between the at least one resource type and the at least one resource type, and determining the relationship between the at least one second subgroup.
3. The method according to claim 1, wherein determining the first relationship and the second relationship between the at least one resource content according to the resource type, the relationship between the at least one first sub-group and the relationship between the at least one second sub-group respectively corresponding to the at least one resource content comprises:
determining one or more first sub-groups in which the at least one resource content is located in the at least one first sub-group and determining one or more second sub-groups in which the at least one resource content is located in the at least one second sub-group according to the resource types corresponding to the at least one resource content;
determining a first relation among the at least one resource content according to the relation among one or more first subgroups where the at least one resource content is located;
and determining a second relation among the at least one resource content according to the relation among one or more second subgroups where the at least one resource content is located.
4. The method according to claim 3, wherein determining, according to the resource type corresponding to each of the at least one resource content, one or more first sub-groups in which the at least one resource content is located in the at least one first sub-group, and one or more second sub-groups in which the at least one resource content is located in the at least one second sub-group comprises:
matching the resource type corresponding to each of the at least one resource content with the resource type corresponding to the at least one first subgroup to obtain one or more first subgroups where the matched resource types are located as one or more first subgroups where the at least one resource content is located;
and matching the resource type corresponding to each of the at least one resource content with the resource type corresponding to the at least one second subgroup to obtain one or more second subgroups where the matched resource types are located as the one or more second subgroups where the at least one resource content is located.
5. The method of claim 3, wherein if an initial relationship exists between the at least one resource content;
determining a first relationship between the at least one resource content according to a relationship between one or more first subgroups in which the at least one resource content is located, including:
determining a first relation between the at least one resource content by combining the initial relation and the relation between one or more first subgroups where the at least one resource content is located;
determining a second relationship between the at least one resource content according to a relationship between one or more second subgroups in which the at least one resource content is located, including:
and determining a second relation between the at least one resource content by combining the initial relation and the relation between one or more second subgroups where the at least one resource content is located.
6. The method according to claim 1, wherein the sequentially executing the first relationship and the second relationship on the at least one object to be subjected to the resource action, and determining an effective resource content in the at least one resource content according to an execution result comprises:
executing the first relation on the at least one object to be subjected to the resource action to obtain a first execution result;
executing the second relation on the at least one object to be subjected to the resource action based on the first execution result to obtain a second execution result;
determining an effective resource content of the at least one resource content based on the first execution result and the second execution result.
7. The method of claim 6, wherein the first relationship comprises priority execution order information and the second relationship comprises priority execution order information;
performing the first relationship on the at least one object to be resource-acted, including:
executing the first relation on the at least one object to be subjected to the resource action according to the information of the priority execution sequence of the first relation;
executing the second relationship on the at least one object to be resource-acted based on the first execution result, including:
and executing the second relation on the at least one object to be subjected to the resource action according to the information of the priority execution sequence of the second relation based on the first execution result.
8. A system for processing a resource, comprising:
a building unit adapted to build a first resource group and a second resource group; the first resource group is used for allocating objects for resource action, and the second resource group is used for configuring used relations among different types of resources;
a grouping unit adapted to allocate at least one resource type to at least one first subgroup of the first set of resources and at least one second subgroup of the second set of resources, respectively, based on a relationship between the at least one resource type and the at least one resource type, and to determine a relationship between the at least one first subgroup and a relationship between the at least one second subgroup;
a relationship determining unit, adapted to determine, for at least one resource content, a first relationship and a second relationship between the at least one resource content according to a resource type corresponding to the at least one resource content, a relationship between the at least one first sub-group, and a relationship between the at least one second sub-group, respectively;
the relationship execution unit is suitable for acquiring at least one object to be subjected to resource action, sequentially executing the first relationship and the second relationship on the at least one object to be subjected to resource action, and determining effective resource content in the at least one resource content according to an execution result.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to execute a method of processing a resource according to any one of claims 1 to 7 when running.
10. An electronic device, comprising a memory and a processor, wherein the memory has stored therein a computer program, and the processor is configured to execute the computer program to perform the processing method of the resource according to any one of claims 1 to 7.
CN202010174039.0A 2020-03-13 2020-03-13 Resource processing method and system Active CN111475712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010174039.0A CN111475712B (en) 2020-03-13 2020-03-13 Resource processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010174039.0A CN111475712B (en) 2020-03-13 2020-03-13 Resource processing method and system

Publications (2)

Publication Number Publication Date
CN111475712A true CN111475712A (en) 2020-07-31
CN111475712B CN111475712B (en) 2022-02-08

Family

ID=71747407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010174039.0A Active CN111475712B (en) 2020-03-13 2020-03-13 Resource processing method and system

Country Status (1)

Country Link
CN (1) CN111475712B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112767049A (en) * 2021-01-27 2021-05-07 支付宝(杭州)信息技术有限公司 Target object processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05204802A (en) * 1992-01-29 1993-08-13 Nec Corp Static allocation system for essential package included in control object class definition
US20140143786A1 (en) * 2010-12-09 2014-05-22 International Business Machines Corporation Management of copy services relationships via policies specified on resource groups
CN108573405A (en) * 2018-03-30 2018-09-25 浙江口碑网络技术有限公司 Benefit data provides and methods of exhibiting is grouped creation method and device electronics and storage device
CN108734513A (en) * 2018-05-04 2018-11-02 苏宁易购集团股份有限公司 The discount coupon of electric business platform recommends computational methods and system
CN110766387A (en) * 2018-07-27 2020-02-07 深圳市立信创源科技有限公司 Resource allocation method based on code scanning mode
CN110838041A (en) * 2019-10-15 2020-02-25 苏宁云计算有限公司 Virtual resource activity processing method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05204802A (en) * 1992-01-29 1993-08-13 Nec Corp Static allocation system for essential package included in control object class definition
US20140143786A1 (en) * 2010-12-09 2014-05-22 International Business Machines Corporation Management of copy services relationships via policies specified on resource groups
CN108573405A (en) * 2018-03-30 2018-09-25 浙江口碑网络技术有限公司 Benefit data provides and methods of exhibiting is grouped creation method and device electronics and storage device
CN108734513A (en) * 2018-05-04 2018-11-02 苏宁易购集团股份有限公司 The discount coupon of electric business platform recommends computational methods and system
CN110766387A (en) * 2018-07-27 2020-02-07 深圳市立信创源科技有限公司 Resource allocation method based on code scanning mode
CN110838041A (en) * 2019-10-15 2020-02-25 苏宁云计算有限公司 Virtual resource activity processing method and device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112767049A (en) * 2021-01-27 2021-05-07 支付宝(杭州)信息技术有限公司 Target object processing method and device

Also Published As

Publication number Publication date
CN111475712B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
Maihami et al. Joint pricing and inventory control for non-instantaneous deteriorating items with partial backlogging and time and price dependent demand
Bakker et al. Review of inventory systems with deterioration since 2001
Giri et al. Manufacturer's pricing strategy in a two-level supply chain with competing retailers and advertising cost dependent demand
Giri et al. Supply chain model with price-and trade credit-sensitive demand under two-level permissible delay in payments
CN102567896A (en) Method and system for assigning commodity locations in supermarket
Khanlarzade et al. Inventory control with deteriorating items: A state-of-the-art literature review
Lobel Dynamic pricing with heterogeneous patience levels
Annadurai et al. Two-echelon inventory model for deteriorating items with credit period dependent demand including shortages under trade credit
CN108074051B (en) Inventory management method and device
Roy et al. A finite time horizon EOQ model with ramp-type demand rate under inflation and time-discounting
Khurana et al. An EPQ model for deteriorating items with variable demand rate and allowable shortages
Roy et al. Optimal replenishment order for uncertain demand in three layer supply chain
Hsieh et al. Optimal replenishment policy for perishable items with stock-dependent selling rate and capacity constraint
Singh et al. A deterministic two warehouse inventory model for deteriorating items with stock-dependent demand and shortages under the conditions of permissible delay
Chung et al. Retailer’s replenishment policy for deteriorating item in response to future cost increase and incentive-dependent sale
CN111475712B (en) Resource processing method and system
Begum et al. An inventory model for deteriorating items with quadratic demand and partial backlogging
Liao et al. Optimal pricing and ordering policy for perishable items with limited storage capacity and partial trade credit
Lin An extended inventory models with trapezoidal type demands
CN108352027A (en) Computer implemented method and system of the identification individual client in the product of different merchant purchasings
Valliathal et al. A comparative study on two-warehouse inventory model for deteriorating items with shortages
Roy et al. An inventory model for Weibull distribution deterioration under price-dependent demand and partial backlogging with opportunity cost due to lost sales
CN105809470A (en) Consumption cost returning method, apparatus and system based on e-commerce platform
Roy et al. Optimal pricing for a perishable item under time-price dependent demand and time-value of money
Khurana et al. An order level inventory model for deteriorating stock product and time dependent demand under shortages

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant