CN111881148A - Object combination attribute determination method and device and electronic equipment - Google Patents

Object combination attribute determination method and device and electronic equipment Download PDF

Info

Publication number
CN111881148A
CN111881148A CN202010561226.4A CN202010561226A CN111881148A CN 111881148 A CN111881148 A CN 111881148A CN 202010561226 A CN202010561226 A CN 202010561226A CN 111881148 A CN111881148 A CN 111881148A
Authority
CN
China
Prior art keywords
task
calculation
unit index
preset
index calculation
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.)
Withdrawn
Application number
CN202010561226.4A
Other languages
Chinese (zh)
Inventor
赵亚男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202010561226.4A priority Critical patent/CN111881148A/en
Publication of CN111881148A publication Critical patent/CN111881148A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an attribute determination method for an object combination, belongs to the technical field of computers, and is beneficial to improving the flexibility and convenience of calculating preset attribute values of the object combination. The method comprises the following steps: acquiring user information of a current login user of a client, an object combination selected by the current login user and preset calculation parameters of each object in the object combination; determining a computing task to be executed and task configuration information thereof by analyzing task configuration data which is downloaded and cached in advance by a client; and at the client, executing the calculation tasks based on the user information, the preset calculation parameters and the task configuration information of each calculation task to determine the preset attribute value of the object combination. According to the method for determining the attribute of the object combination, the task processing code is preset at the client, the computing task is downloaded and executed, so that the preset attribute value of the given object combination is obtained, and various computing strategies can be flexibly executed.

Description

Object combination attribute determination method and device and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to an object combination attribute determination method and device, electronic equipment and a computer-readable storage medium.
Background
A client page or a website page of an e-commerce platform is usually triggered to send data to a server according to an operation of a user in the page, and the server is triggered to calculate the data sent by the page, so as to update data displayed on the client page or the website page. Particularly, under the condition that a computing task is complex, a computing model is stored in a cloud server, when a client or a website page triggers a computing request according to the operation of a user in the page, data needing to be computed is sent to the cloud server to select and compute the computing model, and the method is a relatively universal mode. Taking an application scenario that a user selects a product combination on a client page as an example, attribute data of the product combination, such as inventory conditions, delivery timeliness, preferential information and the like, need to be calculated by a cloud server, and the calculation method of the product combination attribute data is greatly restricted by a network environment, so that the calculation of the product combination attribute data fails in an environment without a network.
In the prior art, another method is to preset each combined attribute data calculation rule in a client program, and temporarily cache part of data required by the calculation rule to the local client, so as to avoid real-time access to a cloud server. However, when the computation rules change, then only the client version can be updated.
Therefore, the method for calculating the product combination attribute in the shopping cart in the prior art has the defects of poor flexibility and inconvenience in use.
Disclosure of Invention
The embodiment of the application provides an attribute determining method for an object combination, which is beneficial to improving the flexibility and convenience of determining the attribute of the object combination.
In order to solve the above problem, in a first aspect, an embodiment of the present application provides an attribute determining method for an object combination, including:
acquiring user information of a current login user of a client, and acquiring an object combination selected by the current login user and preset calculation parameters of each object in the object combination;
determining the calculation tasks to be executed and the task configuration information of each calculation task by analyzing the task configuration data which is downloaded and cached in advance by the client; the calculation task is a task for calculating a preset attribute value of the object combination, and the task configuration information of the calculation task includes: task content and a mutually exclusive task list of the computing task;
and at the client, executing the task content of each computing task based on the user information, the preset computing parameter and the execution state of each task in the mutually exclusive task list of each computing task to determine the preset attribute value of the object combination.
In a second aspect, an embodiment of the present application provides an apparatus for determining an attribute of an object combination, including:
the system comprises a user and object information acquisition module, a data acquisition module and a data processing module, wherein the user and object information acquisition module is used for acquiring user information of a current login user of a client, and acquiring an object combination selected by the current login user and preset calculation parameters of each object in the object combination;
the task configuration information determining module is used for determining the computing tasks to be executed and the task configuration information of each computing task by analyzing the task configuration data which is downloaded and cached in advance by the client; the calculation task is a task for calculating a preset attribute value of the object combination, and the task configuration information of the calculation task includes: task content and a mutually exclusive task list of the computing task;
and the object combination attribute determining module is used for executing the task content of each computing task on the basis of the user information, the preset computing parameters and the execution state of each task in the mutually exclusive task list of each computing task at the client so as to determine the preset attribute value of the object combination.
In a third aspect, an embodiment of the present application further discloses an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method for determining the attribute of the object combination according to the embodiment of the present application when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, performs the steps of the method for determining an attribute of an object combination disclosed in the embodiments of the present application.
According to the method for determining the attribute of the object combination, the user information of the current login user of the client is obtained, and the object combination selected by the current login user and the preset calculation parameters of each object in the object combination are obtained; determining the calculation tasks to be executed and the task configuration information of each calculation task by analyzing the task configuration data which is downloaded and cached in advance by the client; the calculation task is a task for calculating a preset attribute value of the object combination; then, at the client, based on the user information, the preset calculation parameters, and the execution state of each task in the mutually exclusive task list of each calculation task, the task content of each calculation task is executed to determine the preset attribute value of the object combination, so that the flexibility and convenience of calculating the preset attribute value of the object combination can be improved.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
FIG. 1 is a flowchart of a method for determining attributes of an object combination according to a first embodiment of the present application;
fig. 2 is another schematic flowchart of a method for determining an attribute of an object combination according to a first embodiment of the present application;
FIG. 3 is a task processing code execution diagram of an object combination attribute determination method according to a first embodiment of the present application;
fig. 4 is a schematic structural diagram of an attribute determining apparatus for object combinations according to a second embodiment of the present application;
FIG. 5 is a second schematic structural diagram of an object combination attribute determination apparatus according to a second embodiment of the present application;
FIG. 6 schematically shows a block diagram of an electronic device for performing a method according to the present application; and
fig. 7 schematically shows a storage unit for holding or carrying program code implementing a method according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Example one
As shown in fig. 1, a method for determining an attribute of an object combination, disclosed in an embodiment of the present application, includes: step 110 to step 130.
Step 110, obtaining user information of a current login user of a client, and obtaining an object combination selected by the current login user and preset calculation parameters of each object in the object combination.
The client described in the embodiment of the present application refers to application software running on an electronic device, for example, client software of an electronic commerce platform. And the user can log in the electronic commerce platform through the client and perform product browsing and purchasing operations. The objects in the embodiment of the present application are products displayed in a client page, and correspondingly, the object combination in the embodiment of the present application is a group of products, for example, the object combination is a group of products added to a shopping cart displayed by a client by a user interacting with the client; as another example, the object combination is one or more products in each product order presented by the client.
The user information described in the embodiment of the present application includes, but is not limited to, any one or more of the following information: whether a member, a member rating, a user identification, etc. In some embodiments of the present application, after a user logs in, a client stores user information of a currently logged-in user in a local storage of the client.
In some embodiments of the present application, obtaining the object combination selected by the current login user and the preset calculation parameters of each object in the object combination includes: combining one or more objects displayed on a shopping cart browsing interface of the client into a current object combination; and for each object in the current object combination, acquiring a single object resource value and quantity corresponding to the object and a resource exemption strategy matched with the object as preset calculation parameters of the object.
For example, after logging in the ordering client, the user a selects food to add to the shopping cart by interacting with the ordering client, and after completing the selection of food, the user a enters the shopping cart browsing interface, at this time, the shopping cart browsing interface displays the food added by the user a in the shopping cart, and the ordering client may use all the food added in the shopping cart as a food combination (i.e., an object combination).
For another example, in the online shopping client, after logging in the shopping client, the user B interacts with the shopping client to select a purchased article to add into the shopping cart, and after completing the article selection, the user B enters a shopping cart browsing interface, at this time, the shopping cart browsing interface displays all articles added into the shopping cart by the user B, and the shopping client may use articles belonging to the same merchant in the shopping cart as an article combination (i.e., an object combination).
The client side obtains an object combination formed by objects in the shopping cart as a current object combination, further obtains object identification, a single object resource value (such as unit price) and quantity of each object in the current object combination and resource exemption strategies matched with each object (such as full exemption strategies, discount strategies and member resource exemption strategies), and takes the single object resource value, the single object resource value and the quantity and the resource exemption strategies matched with the objects as preset calculation parameters of the objects.
Determining the object combination according to the object in the shopping cart of the shopping or ordering client is only one way for acquiring the object combination selected by the currently logged-in user in the present application, and in other embodiments of the present application, the object combination selected by the currently logged-in user may also be acquired according to an order generation operation of the user, which is not illustrated and described in detail in the embodiments of the present application.
Step 120, determining the calculation tasks to be executed and the task configuration information of each calculation task by analyzing the task configuration data which is downloaded and cached in advance by the client.
After acquiring the preset calculation parameter of each object in the current object combination and the current object combination, the client further calculates the preset attribute value of the current object combination according to the user information associated with the current object combination and the preset calculation parameter of each object in the current object combination. In some embodiments of the present application, the preset attribute value of an object combination (i.e., a commodity combination) in a shopping cart is taken as an example, and the preset attribute value may be information such as a total price, a total preferential amount, a total point, and the like of the object combination.
In some embodiments of the present application, which computing operations need to be performed on the object combination, how to compute them specifically, and what results are output are determined according to the task configuration data that is downloaded and cached by the client in advance. Therefore, the cached task configuration data needs to be read locally from the client first.
In some embodiments of the present application, the task configuration data includes: and the calculation task of the preset attribute of the object combination is a task for calculating the value of the preset attribute of the object combination. The task configuration data further includes task configuration information of each computing task, and the task configuration information of the computing tasks includes: task content and a mutually exclusive task list for the computing task. The preset attribute may be the total amount of the resources of the object combination after the resource exemption policy is executed, or may be the total amount of the exemption resources of the object combination after the resource exemption policy is executed. The object combination can be a combination of one or more products added into a shopping cart in the online shopping client, or a combination of one or more products included in an order to be submitted. The task configuration data is used for describing one or more computing tasks which need to be executed in sequence for determining the preset attribute value of the object combination, and task configuration information of each computing task, such as input, output, priority, a mutually exclusive task list of the computing tasks, and information such as task content. And the task content is used for describing an attribute calculation model executed by the task. For example, for a calculation task for calculating the attribute of the membership offer amount of a product in a shopping cart, the task content is a calculation policy code of the membership offer amount. The mutually exclusive task list comprises the identification of the mutually exclusive task of the current task.
As shown in fig. 2, in some embodiments of the present application, before the step of determining the computing tasks to be executed and the task configuration information of each computing task by analyzing the task configuration data that is downloaded and cached by the client in advance, the method further includes: step 140.
In step 140, the client obtains task configuration data.
In some embodiments of the present application, the client does not need to reacquire the task configuration data each time the preset attribute value of the object combination is calculated.
For example, in some embodiments of the present application, the obtaining, by the client, task configuration data includes: and the client periodically downloads task configuration data describing the calculation task with the preset attribute by accessing a task configuration background, and updates the locally cached task configuration data by the periodically downloaded task configuration data. For example, the client downloads task configuration data from the task configuration background upon the first daily startup. In some embodiments of the application, when the client is started for the first time every day, a request for updating task configuration data is sent to a preset task configuration background server through a network link, and then the task configuration data stored locally at the client is updated according to the task configuration data fed back by the task configuration background. Or the client sends a request for acquiring the version of the task configuration data to the task configuration background through the network link, downloads the task configuration data of the latest version from the task configuration background when the version of the task configuration data fed back by the task configuration background is higher than the version stored locally, and updates the task configuration data stored locally through the downloaded task configuration data of the latest version.
For another example, in other embodiments of the present application, the obtaining, by the client, task configuration data includes: and responding to the notification information of the change of the task configuration data, downloading the task configuration data of the calculation task describing the preset attribute by accessing a task configuration background, and updating the locally cached task configuration data by the downloaded task configuration data. The task configuration information is a description of a specific service resource exemption strategy and is not frequently changed once determined. Taking a selling business application scenario as an example, the resource exemption strategy is oriented to all merchants and users, only different merchants and users support only a subset of all task policies, once the resource exemption strategy is determined, the change possibility is small, and the change is not carried out periodically. In order to be compatible with the resource exemption strategy updating situation in the user operation process, in some embodiments of the application, an event for monitoring the change of the task configuration data is registered in a task configuration background, and notification information of the change of the task configuration data is obtained. For example, the client registers the task configuration data change monitoring event to a preset task configuration background server when the client is started for the first time every day, and when the task configuration data changes, the task configuration background sends notification information indicating that the task configuration data changes to the client. After receiving notification information which is sent by the task configuration background and indicates that the task configuration data changes, the client downloads the task configuration data of the latest version by accessing the task configuration background, and updates the task configuration data locally stored in the client through the downloaded task configuration data of the latest version.
Step 130, at the client, based on the user information, the preset calculation parameters, and the execution state of each task in the mutually exclusive task list of each calculation task, the task content of each calculation task is executed, so as to determine the preset attribute value of the object combination.
In some embodiments of the present application, the calculation of each independent resource exemption policy or the use of the resource exemption policy is defined as one task, that is, each of the calculation tasks corresponds to one resource exemption policy or one resource use policy. Wherein the preset attribute includes, but is not limited to, any one or more of the following: the full discount preferential amount, the member preferential amount, the new user preferential amount, the combined allowance and the like. For example, the calculation of membership price, the calculation of reduced benefit, the calculation of special price, the calculation of allowance, etc. may be respectively defined as one calculation task. The execution results of a plurality of tasks are integrated to obtain a preset attribute value of an object combination. The information such as input data, output results, calculation strategies and the like of each calculation task are described through task configuration data such as task configuration files.
The task configuration data is used for describing task configuration information of each computing task executed on the object combination. In some embodiments of the present application, the computing task is divided into: the task configuration data comprises task configuration information of one or more computing tasks of the prepositive task, the unit index computing task and the post task. Wherein the task configuration information of each computing task further comprises: input, output, priority, a list of mutually exclusive tasks, and configuration information such as task content. Each calculation task corresponds to a calculation strategy with preset attributes of an object combination, and the calculation tasks with the preset attributes of the object combination comprise one or more of the following items: performing a total number of resources for the new user-exempted object combination; executing the task of calculating the total quantity of the resources of the object combination after member exemption (such as member discount); a task of calculating the total resource quantity of the object combination after using the pre-configured virtual resources (such as red packets and coupons); performing a task of calculating the total resource amount of the object combination after full deduction (if the total sum of the object combination is greater than or equal to X, and the privilege is Y); executing the task of calculating the total quantity of the resources of the object combination after the freight reduction and the exemption; the computational task of reducing the total amount of resources for a combination of objects.
In some embodiments of the present application, a pre-task is a task that is executed before other computing tasks. Taking the attribute determination method for executing the object combination in the present embodiment in the online shopping client as an example, for example, a task for calculating a special benefit of a new user identity may be defined as a pre-task. When calculating the total sum of the preferential commodity combinations in the shopping cart, firstly calculating the sum of the product combinations in the shopping cart with the special preferential new user identity, and then calculating the total sum of the preferential commodity combinations under other strategies.
In some embodiments of the present application, a post task is a task that is executed after all other computing tasks have been executed. For example, a computing task using resources triggered by a user selecting a resource exemption policy. And after the calculation of the total sum after the discount corresponding to all the resource exemption strategies is finished, the user executes preset operation to select the coupon and triggers the calculation of the total sum after the discount or the total sum of the object combination discount using the coupon.
In some embodiments of the present application, the unit index calculation task is a task of calculating each resource exemption policy performed between a pre-task and a post-task. A unit index calculation task is used for calculating a resource exemption strategy. For example, a unit index calculation task of calculating a full deduction, a unit index calculation task of calculating a membership deduction, a unit index calculation task of calculating a usage of a pre-configured virtual resource, and the like.
In some embodiments of the application, the pre-task and the post-task are separated from the management of the priorities of various tasks, and the requirements of some special services can be met through the pre-task and/or the post-task, so that the method for determining the attribute of the object combination disclosed by the embodiments of the application can be compatible with the future expansion of the preferential capability.
In some embodiments of the present application, the task configuration data may be described in conjunction with text in a lightweight, just-in-time compiled language. For example, the task configuration information of each computing task is described in turn through text, wherein the task configuration information of each computing task may include: task type, task identification, task priority, a mutually exclusive task list and the like, and task content and the like described by JavaScript. The task content can be a JavaScript calculation code, and a user of the JavaScript calculation code describes a calculation rule corresponding to a resource exemption strategy; the task identification of the computing task mutually exclusive with the current task is recorded in the mutually exclusive task list.
In some embodiments of the present application, a hash table is used to store the mutual exclusion relationship of each computing task and other computing tasks. The mutually exclusive task list of the specified task can be obtained through a key value of the specified calculation task in the mutually exclusive relation hash table.
The client analyzes the locally stored task configuration data according to a preset format, and then each computing task to be executed and the task configuration information of each computing task can be obtained.
Further, the client sequentially executes the task content of each computing task configured in the task configuration data through a preset task processing code.
The task configuration data comprises task configuration information of one or more tasks of a preposed task, a unit index calculation task and a postpositive task. In some embodiments of the present application, at the client, executing task content of each of the computing tasks based on the user information, the preset computing parameter, and an execution state of each task in a mutually exclusive task list of each of the computing tasks, includes: and executing a pre-task, a unit index calculation task and a post-task by a task processing code preset in the client based on the user information, the preset calculation parameters and the execution state of each task in a mutually exclusive task list of each calculation task. Namely, the task processing code executes the preposed task according to the task configuration information of the preposed task; then, the task processing code executes each unit index calculation task according to the task configuration information of each unit index calculation task; and finally, the task processing code executes the post task according to the task configuration information of the post task and outputs the preset attribute value of the object combination.
In some embodiments of the present application, the unit index calculation tasks are divided into at least one task group, the unit index calculation tasks included in different task groups are independent of each other, and configuration information of different task groups is sequentially stored in the task configuration data. The unit index calculation tasks in each task group match the same type of resource exemption strategy. Correspondingly, at the client, based on the user information, the preset calculation parameters, and the execution state of each task in the mutually exclusive task list of each calculation task, the task content of each calculation task is executed, including: responding to the task configuration data including task configuration information of a pre-task, wherein a task processing code preset in the client executes task content in the task configuration information of the pre-task based on the user information, the preset calculation parameter and the task configuration information of the pre-task; responding to the task configuration data including configuration information of task groups, wherein a task processing code preset in the client executes task content of each unit index calculation task included in a corresponding task group based on the user information, the preset calculation parameters and execution states of each task in a mutually exclusive task list of each unit index calculation task in the task group; and responding to the task configuration data including task configuration information of a post task, wherein a task processing code preset in the client executes task content of the post task based on the user information, the preset calculation parameter and the execution state of each task in a mutually exclusive task list of the post task.
In some embodiments of the present application, the unit index calculation tasks included in different task groups are parallel resource exemption policies, that is, the unit index calculation tasks included in different task groups match different types of resource exemption policies. For example, the computing tasks corresponding to the resource satisfaction and deduction type strategy are divided into one task group, the computing tasks corresponding to the membership and deduction type strategy are divided into one task group, and the computing tasks corresponding to the coupon and subsidy coupon type strategies are divided into one task group. By grouping and configuring the computing tasks, the configuration logic can be clearer, and the task configuration difficulty can be reduced.
The task processing code is used for executing each calculation task configured in the task configuration data according to the task category and the task priority configured in the task configuration data. The task processing code is realized by executing a task pipeline code built in the client.
Taking the task configuration data including a pre-task, a plurality of unit index calculation tasks and a post-task as an example, as shown in fig. 3, the task processing code sequentially performs the following operations based on the user information, the preset calculation parameters, and the task configuration information of each calculation task: firstly, executing the preposed task; then, each task group in the task configuration data is executed in sequence; after that, a post-task is executed. The execution sequence of each task group is the distribution sequence of the configuration information of each task group in the task configuration data. For example, the configuration information of the task group in the configuration data is issued in an array form, the elements in the array have a sequence, the elements in the array are a combination of the task configuration information of one or more unit index calculation tasks, and the task processing code sequentially executes a group of calculation tasks corresponding to each array element according to the storage sequence of the elements in the array.
In some embodiments of the present application, the pre-task is a task to be executed first, and therefore, the pre-task may not need to configure a mutually exclusive task list, and when executing the pre-task, it is not necessary to determine whether a mutually exclusive task of the pre-task has been executed, and it is only necessary to directly execute task content of the pre-task through a task processing code pre-stored in the client.
When each task group is executed, the unit index calculation tasks in the single task group are executed in sequence according to the priority from high to low.
In some embodiments of the present application, the configuration information of each of the task groups includes: the method comprises the following steps that task content of each unit index calculation task in the task group and the matched priority of each unit index calculation task, a task processing code preset in a client executes the task content of each unit index calculation task in a corresponding task group based on the user information, the preset calculation parameter and the execution state of each task in a mutually exclusive task list of each unit index calculation task in the task group, and the method comprises the following steps: and executing the task content of the unit index calculation task in the corresponding task group based on the user information, the preset calculation parameter and the execution state of each task in the mutually exclusive task list of each unit index calculation task according to the sequence from high to low of the priority matched with each unit index calculation task in the task group by a task processing code preset in the client. The configuration information of each task group comprises task configuration information of each unit index calculation task included in the task group, and the task configuration information of the unit index calculation task comprises the following steps: input, output, task priority, mutually exclusive task list, and task content, etc. When executing the computing tasks in a certain task group, as shown in fig. 3, the task processing code will execute all the unit index computing tasks included in the task group in sequence according to the order of the task priority of the unit index computing task from high to low.
In some embodiments of the present application, the configuration information of each of the task groups further includes: the task content of each unit index calculation task included in a corresponding task group is executed according to the sequence from high to low of the priority matched with each unit index calculation task included in the task group and based on the user information, the preset calculation parameters and the execution state of each task in the mutually exclusive task list of each unit index calculation task, and the task content of each unit index calculation task included in the corresponding task group includes: determining a unit index calculation task with the highest priority in the unit index calculation tasks which are not executed in the task group as a current unit index calculation task; executing the current unit index calculation task, and judging whether each task in a mutual exclusion task list of the current unit index calculation task is executed or not; responding to that all the mutual exclusion tasks in the mutual exclusion task list of the current unit index calculation task are not executed, continuing to execute the current unit index calculation task until the current unit index calculation task is executed, and jumping to the unit index calculation task with the highest priority in the unit index calculation tasks which are not executed in the task group to be used as the current unit index calculation task; and in response to the fact that any one of the exclusive tasks in the exclusive task list of the current unit index calculation task is executed, ending the execution of the current unit index calculation task, and jumping to the unit index calculation task with the highest priority in the unit index calculation tasks which are determined not to be executed in the task group as the step of the current unit index calculation task.
After the current unit index calculation task is executed or the current unit index calculation task is executed, the method further includes: identifying the current unit index calculation task as an executed state; the step of judging whether each task in the mutually exclusive task list of the current unit index calculation task is executed comprises the following steps: judging the executed state of each mutually exclusive task in the mutually exclusive task list of the current unit index calculation task; and determining that the mutual exclusion task of the current unit index calculation task is executed in response to any one of the mutual exclusion tasks in the mutual exclusion task list of the current unit index calculation task being in an executed state.
In some embodiments of the present application, the task content is described by a just-in-time compiled language (e.g., JavaScript), and the task processing code executes the computing task by calling a just-in-time compiled language execution engine preset by the client.
As previously described, each computing task configured in the task configuration data is used to compute a predetermined attribute of the combination of objects, such as to implement a resource exemption policy. In a specific application, an object combination has a condition that various resource exemption strategies cannot be used simultaneously, and in some embodiments of the application, a list of mutually exclusive tasks is configured to describe a mutually exclusive relationship of different resource exemption strategies. In specific implementation, for each computing task, the computing task and which or which computing tasks are mutually exclusive can be determined through the mutually exclusive task list in the task configuration information.
Taking the process of executing the task group 1 as an example, it is assumed that the task group 1 includes a unit index calculation task a and a unit index calculation task b, and the priority of the unit index calculation task a is higher than that of the unit index calculation task b, the mutual exclusion task of the unit index calculation task a is a pre-task, and the unit index calculation task b has no mutual exclusion task. When the task group 1 is executed, the unit index calculation task a with the highest priority in the task group 1 is firstly determined as the current unit index calculation task. Then, the executed state of each of the mutually exclusive tasks in the list of the mutually exclusive tasks of the current unit index calculation task (i.e., unit index calculation task a) is determined. After the judgment, the pre-task is executed, so the unit index calculation task a is not executed any more, the subsequent codes of the unit index calculation task a are directly stopped to be executed, the unit index calculation task a is identified as the executed state, and the unit index calculation task b is determined as the current unit index calculation task. Next, the executed state of each of the mutually exclusive tasks in the list of the mutually exclusive tasks of the current unit index calculation task (i.e., unit index calculation task b) is determined. After the judgment, the unit index calculation task b has no exclusive task, that is, all the exclusive tasks of the current unit index calculation task (that is, the unit index calculation task b) are not executed, the current unit index calculation task (that is, the unit index calculation task b) is executed based on the user information and the preset calculation parameters (such as the output result of the previous task, the unit price, the specification, the supported resource reduction and avoidance strategy of each object in the object combination, and the like). After the execution of the current unit index calculation task (i.e., unit index calculation task b) is completed, the unit index calculation task b is identified as an executed state. At this point, all the unit index calculation tasks in the task group 1 are marked as executed states, and the task group 2 is continuously executed.
In some embodiments of the present application, a pre-task and a post-task may be further configured in the task group, where the pre-task in the task group is a task with the highest priority in the task group and is executed before other tasks in the task group, and the post-task in the task group is a task with the lowest priority in the task group and is executed after all other tasks in the task group are executed. By configuring the tasks as the front tasks and the rear tasks instead of setting specific priorities, task priority configuration can be conveniently carried out by configuration personnel of the task configuration platform.
In some embodiments of the application, when the task processing code executes a calculation task, the task processing code first obtains an output result of a previously executed calculation task (for example, a total amount after the discount is calculated according to a previously executed resource exemption policy) as an input parameter of a next calculation task, generates another input parameter of the next calculation task according to user information (for example, whether a member is present) and the preset calculation parameter (for example, a commodity specification, a quantity, a price, a matched resource exemption policy, and the like), and executes task content of the next calculation task through a JavaScript engine preset on the electronic device where the client is located based on the determined two input parameters. The task processing code executes the task content by calling a JavaScript engine, namely, the corresponding attribute value of the object combination is calculated according to the corresponding resource exemption strategy. For example, the task processing code calls a JavaScript engine, and the JavaScript engine parses the task content of the calculation task describing the full exemption resource amount of the object combination, and executes the calculation rule obtained by parsing, thereby obtaining the total amount of the resources after executing the full exemption policy.
In some embodiments of the present application, each of the computing tasks defined in the task configuration information is executed serially. The task configuration information comprises: for example, the configuration information of the pre-task, the unit index calculation task, and the post-task, the task processing code will execute the pre-task, then execute each unit index calculation task, and finally execute the post-task.
In some embodiments of the present application, the task configuration information for the post task includes task content and may further include a mutually exclusive task list. In the process of executing the post task, a task processing code pre-stored by the client firstly judges whether any task in a mutually exclusive task list of the post task is executed and completed before executing the task content of the post task, and if so, the post task is not executed any more. And executing the task content of the post task only under the condition that all tasks in the mutually exclusive task list of the post task are not executed.
In some embodiments of the present application, when the mutex task list of the post task is empty, or the post task is not configured with the mutex task list, a task processing code pre-stored by the client directly executes task content of the post task.
According to the method for determining the attribute of the object combination, the user information of the current login user of the client is obtained, and the object combination selected by the current login user and the preset calculation parameters of each object in the object combination are obtained; determining the calculation tasks to be executed and the task configuration information of each calculation task by analyzing the task configuration data which is downloaded and cached in advance by the client; the calculation task is a task for calculating a preset attribute value of the object combination; then, at the client, based on the user information, the preset calculation parameters, and the execution state of each task in the mutually exclusive task list of each calculation task, the task content of each calculation task is executed to determine the preset attribute value of the object combination, so that the flexibility and convenience of calculating the preset attribute value of the object combination can be improved. The method for determining the attribute of the object combination disclosed in the embodiment of the application includes presetting a task processing code at a client, acquiring a calculation task to be executed by a preset attribute value of the calculation object combination by downloading task configuration information, and then executing the calculation task to be executed by the preset attribute value of the calculation object combination according to the task configuration information by the task processing code, so as to obtain the preset attribute value of the given object combination, and flexibly execute a calculation strategy for the preset attribute value of various calculation object combinations. On the other hand, when the calculation strategy is changed, only the task configuration data is required to be updated, the client is not required to be updated, and the development cost of the client is reduced.
Taking a shopping client as an example, a task pipeline code is preset in the client code and is used for executing each calculation task configured in the task configuration data according to task execution logic (such as the sequence of the priority from high to low), and the calculation tasks are executed one by using the calculation capacity of a CPU (central processing unit) of the client to determine the total price of goods in a shopping cart after being preferential by various preferential strategies. And the calculation tasks embodying the preferential calculation rules are configured in the task configuration data, and the change of the preferential calculation rule set can be compatible by updating the task configuration data. When the preferential rules are changed, the latest preferential strategies can be obtained only by modifying the task configuration data.
On the other hand, the calculation engine (namely the task processing code) is internally arranged, and the calculation of the total price and the preferential amount is carried out locally at the client side without depending on the server side in a calculation rule caching mode, so that the frequent sending of network requests to the server side when the goods in the shopping cart change is avoided, the access pressure of the server side is reduced, and the calculation can be carried out under the condition of no network.
Example two
An attribute determining apparatus for an object combination disclosed in an embodiment of the present application, as shown in fig. 4, includes:
a user and object information obtaining module 410, configured to obtain user information of a current login user of a client, and obtain an object combination selected by the current login user and preset calculation parameters of each object in the object combination;
a task configuration information determining module 420, configured to determine the computing tasks to be executed and the task configuration information of each computing task by analyzing the task configuration data that is downloaded and cached by the client in advance; the calculation task is a task for calculating a preset attribute value of the object combination, and the task configuration information of the calculation task includes: task content and a mutually exclusive task list of the computing task;
an object combination attribute determining module 430, configured to execute, at the client, the task content of each computing task based on the user information, the preset computing parameter, and an execution state of each task in a mutually exclusive task list of each computing task, so as to determine the preset attribute value of the object combination.
In some embodiments of the present application, the task configuration data includes task configuration information of one or more tasks of a pre-task, a unit index calculation task, and a post-task, the unit index calculation task is divided into at least one task group, configuration information of different task groups is sequentially stored in the task configuration data, and the object combination attribute determination module is further configured to:
responding to the task configuration data including task configuration information of a pre-task, wherein a task processing code preset in the client executes task content in the task configuration information of the pre-task based on the user information, the preset calculation parameter and the task configuration information of the pre-task;
responding to the task configuration data including configuration information of task groups, wherein a task processing code preset in the client executes task content of each unit index calculation task included in a corresponding task group based on the user information, the preset calculation parameters and execution states of each task in a mutually exclusive task list of each unit index calculation task in the task group;
and responding to the task configuration data including task configuration information of a post task, wherein a task processing code preset in the client executes task content of the post task based on the user information, the preset calculation parameter and the execution state of each task in a mutually exclusive task list of the post task.
In some embodiments of the present application, the unit indicator calculation tasks included in different ones of the task groups match different types of resource exemption policies.
In some embodiments of the present application, the configuration information of each of the task groups includes: the method comprises the following steps of calculating the task content of each unit index calculation task in the task group and the matching priority of each unit index calculation task, wherein a task processing code preset in a client executes the task content of each unit index calculation task in a corresponding task group based on the user information, the preset calculation parameter and the execution state of each task in a mutually exclusive task list of each unit index calculation task in the task group, and comprises the following steps:
and executing the task content of the unit index calculation task in the corresponding task group based on the user information, the preset calculation parameter and the execution state of each task in the mutually exclusive task list of each unit index calculation task according to the sequence from high to low of the priority matched with each unit index calculation task in the task group by a task processing code preset in the client.
In some embodiments of the present application, the step of executing the task content of each unit index calculation task included in the corresponding task group according to the sequence from high to low of the priority matched with each unit index calculation task included in the task group, based on the user information, the preset calculation parameter, and the execution state of each task in the mutually exclusive task list of each unit index calculation task, includes:
determining a unit index calculation task with the highest priority in the unit index calculation tasks which are not executed in the task group as a current unit index calculation task;
executing the current unit index calculation task, and judging whether each task in a mutual exclusion task list of the current unit index calculation task is executed or not;
responding to that all the mutual exclusion tasks in the mutual exclusion task list of the current unit index calculation task are not executed, continuing to execute the current unit index calculation task until the current unit index calculation task is executed, and jumping to the unit index calculation task with the highest priority in the unit index calculation tasks which are not executed in the task group to be used as the current unit index calculation task;
and in response to the fact that any one of the exclusive tasks in the exclusive task list of the current unit index calculation task is executed, ending the execution of the current unit index calculation task, and jumping to the unit index calculation task with the highest priority in the unit index calculation tasks which are determined not to be executed in the task group as the step of the current unit index calculation task.
In some embodiments of the present application, as shown in fig. 5, the apparatus further comprises: the task configuration data download module 440 is configured to,
the task configuration data downloading module 440 is configured to, before determining the computing tasks to be executed and the task configuration information of each computing task by analyzing the task configuration data that is downloaded and cached by the client in advance, periodically download the task configuration data describing the computing tasks with the preset attributes by accessing a task configuration background by the client, and update the locally cached task configuration data by the periodically downloaded task configuration data; or responding to the notification information that the task configuration data changes, downloading the task configuration data describing the calculation task with the preset attribute by accessing a task configuration background, and updating the locally cached task configuration data by the downloaded task configuration data.
In some embodiments of the present application, each of the computing tasks corresponds to a resource exemption policy or a resource using policy.
In some embodiments of the present application, obtaining the object combination selected by the current login user and the preset calculation parameters of each object in the object combination includes:
combining one or more objects displayed on a shopping cart browsing interface of the client into a current object combination;
and for each object in the current object combination, acquiring a single object resource value and quantity corresponding to the object and a resource exemption strategy matched with the object as preset calculation parameters of the object.
The attribute determining apparatus for an object combination disclosed in the embodiment of the present application is used to implement the attribute determining method for an object combination described in the first embodiment of the present application, and specific implementation manners of each module of the apparatus are not described again, and reference may be made to specific implementation manners of corresponding steps in the method embodiment.
The attribute determining device of the object combination disclosed by the embodiment of the application acquires the user information of the current login user of the client, and acquires the object combination selected by the current login user and the preset calculation parameters of each object in the object combination; determining the calculation tasks to be executed and the task configuration information of each calculation task by analyzing the task configuration data which is downloaded and cached in advance by the client; the calculation task is a task for calculating a preset attribute value of the object combination; then, at the client, based on the user information, the preset calculation parameters, and the execution state of each task in the mutually exclusive task list of each calculation task, the task content of each calculation task is executed to determine the preset attribute value of the object combination, so that the flexibility and convenience of calculating the preset attribute value of the object combination can be improved.
The attribute determining device for an object combination disclosed in the embodiment of the present application obtains a computation task to be executed by a preset attribute value of the computation object combination by presetting a task processing code at a client, downloading task configuration information, and then executes the computation task to be executed by the preset attribute value of the computation object combination according to the task configuration information by the task processing code, thereby obtaining the preset attribute value of a given object combination, and being capable of flexibly executing a computation strategy for the preset attribute values of various computation object combinations. On the other hand, when the calculation strategy is changed, only the task configuration data is required to be updated, the client is not required to be updated, and the development cost of the client is reduced.
Taking a shopping client as an example, a task pipeline code is preset in the client code and is used for executing each calculation task configured in the task configuration data according to task execution logic (such as the sequence of the priority from high to low), and the calculation tasks are executed one by using the calculation capacity of a CPU (central processing unit) of the client to determine the total price of goods in a shopping cart after being preferential by various preferential strategies. And the calculation tasks embodying the preferential calculation rules are configured in the task configuration data, and the change of the preferential calculation rule set can be compatible by updating the task configuration data. When the preferential rules are changed, the latest preferential strategies can be obtained only by modifying the task configuration data.
On the other hand, the calculation engine (namely the task processing code) is internally arranged, and the calculation of the total price and the preferential amount is carried out locally at the client side without depending on the server side in a calculation rule caching mode, so that the frequent sending of network requests to the server side when the goods in the shopping cart change is avoided, the access pressure of the server side is reduced, and the calculation can be carried out under the condition of no network.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The method and the device for determining the attribute of the object combination provided by the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and one core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in an electronic device according to embodiments of the present application. The present application may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present application may be stored on a computer readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
For example, fig. 6 illustrates an electronic device that may implement a method according to the present application. The electronic device can be a PC, a mobile terminal, a personal digital assistant, a tablet computer and the like. The electronic device conventionally comprises a processor 610 and a memory 620 and program code 630 stored on said memory 620 and executable on the processor 610, said processor 610 implementing the method described in the above embodiments when executing said program code 630. The memory 620 may be a computer program product or a computer readable medium. The memory 620 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. The memory 620 has a storage space 6201 for program code 630 of a computer program for performing any of the method steps described above. For example, the storage space 6201 for the program code 630 may include respective computer programs for implementing the various steps in the above method, respectively. The program code 630 is computer readable code. The computer programs may be read from or written to one or more computer program products. These computer program products comprise a program code carrier such as a hard disk, a Compact Disc (CD), a memory card or a floppy disk. The computer program comprises computer readable code which, when run on an electronic device, causes the electronic device to perform the method according to the above embodiments.
The embodiment of the present application also discloses a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the method for determining the attribute of an object combination according to the first embodiment of the present application.
Such a computer program product may be a computer-readable storage medium that may have memory segments, memory spaces, etc. arranged similarly to the memory 620 in the electronic device shown in fig. 6. The program code may be stored in a computer readable storage medium, for example, compressed in a suitable form. The computer readable storage medium is typically a portable or fixed storage unit as described with reference to fig. 7. Typically, the storage unit comprises computer readable code 630 ', said computer readable code 630' being code read by a processor, which when executed by the processor implements the steps of the method described above.
Reference herein to "one embodiment," "an embodiment," or "one or more embodiments" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Moreover, it is noted that instances of the word "in one embodiment" are not necessarily all referring to the same embodiment.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the application may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (11)

1. A method for determining an attribute of an object combination, comprising:
acquiring user information of a current login user of a client, and acquiring an object combination selected by the current login user and preset calculation parameters of each object in the object combination;
determining the calculation tasks to be executed and the task configuration information of each calculation task by analyzing the task configuration data which is downloaded and cached in advance by the client; the calculation task is a task for calculating a preset attribute value of the object combination, and the task configuration information of the calculation task includes: task content and a mutually exclusive task list of the computing task;
and at the client, executing the task content of each computing task based on the user information, the preset computing parameter and the execution state of each task in the mutually exclusive task list of each computing task to determine the preset attribute value of the object combination.
2. The method according to claim 1, wherein the task configuration data includes task configuration information of one or more tasks among pre-tasks, unit index calculation tasks and post-tasks, the unit index calculation tasks are divided into at least one task group, configuration information of different task groups is sequentially stored in the task configuration data, and the step of executing the task content of each of the calculation tasks at the client based on the user information, the preset calculation parameters, and an execution state of each task in a mutually exclusive task list of each of the calculation tasks includes:
responding to the task configuration data including task configuration information of a pre-task, wherein a task processing code preset in the client executes task content in the task configuration information of the pre-task based on the user information, the preset calculation parameter and the task configuration information of the pre-task;
responding to the task configuration data including configuration information of task groups, wherein a task processing code preset in the client executes task content of each unit index calculation task included in a corresponding task group based on the user information, the preset calculation parameters and execution states of each task in a mutually exclusive task list of each unit index calculation task in the task group;
and responding to the task configuration data including task configuration information of a post task, wherein a task processing code preset in the client executes task content of the post task based on the user information, the preset calculation parameter and the execution state of each task in a mutually exclusive task list of the post task.
3. The method of claim 2, wherein the unit metric computation tasks included in different of the task groups match different types of resource exemption policies.
4. The method of claim 2, wherein the configuration information for each of the task groups comprises: the method comprises the following steps of calculating the task content of each unit index calculation task in the task group and the matching priority of each unit index calculation task, wherein a task processing code preset in a client executes the task content of each unit index calculation task in a corresponding task group based on the user information, the preset calculation parameter and the execution state of each task in a mutually exclusive task list of each unit index calculation task in the task group, and comprises the following steps:
and executing the task content of the unit index calculation task in the corresponding task group based on the user information, the preset calculation parameter and the execution state of each task in the mutually exclusive task list of each unit index calculation task according to the sequence from high to low of the priority matched with each unit index calculation task in the task group by a task processing code preset in the client.
5. The method according to claim 4, wherein the step of executing the task content of each unit index calculation task included in the corresponding task group based on the user information, the preset calculation parameter, and the execution state of each task in the mutually exclusive task list of each unit index calculation task in the order from high to low of the priority matched with each unit index calculation task included in the task group includes:
determining a unit index calculation task with the highest priority in the unit index calculation tasks which are not executed in the task group as a current unit index calculation task;
executing the current unit index calculation task, and judging whether each task in a mutual exclusion task list of the current unit index calculation task is executed or not;
responding to that all the mutual exclusion tasks in the mutual exclusion task list of the current unit index calculation task are not executed, continuing to execute the current unit index calculation task until the current unit index calculation task is executed, and jumping to the unit index calculation task with the highest priority in the unit index calculation tasks which are not executed in the task group to be used as the current unit index calculation task;
and in response to the fact that any one of the exclusive tasks in the exclusive task list of the current unit index calculation task is executed, ending the execution of the current unit index calculation task, and jumping to the unit index calculation task with the highest priority in the unit index calculation tasks which are determined not to be executed in the task group as the step of the current unit index calculation task.
6. The method according to any one of claims 1 to 5, wherein the step of determining the computing tasks to be executed by parsing the task configuration data previously downloaded and cached by the client, and the task configuration information of each computing task is preceded by the step of:
the client periodically downloads task configuration data describing the computing task with the preset attribute by accessing a task configuration background, and updates the locally cached task configuration data by the periodically downloaded task configuration data; alternatively, the first and second electrodes may be,
and responding to the notification information of the change of the task configuration data, downloading the task configuration data of the calculation task describing the preset attribute by accessing a task configuration background, and updating the locally cached task configuration data by the downloaded task configuration data.
7. The method of any one of claims 1 to 5, wherein each of the computing tasks corresponds to a resource exemption policy or a resource usage policy.
8. The method according to any one of claims 1 to 5, wherein obtaining the object combination selected by the current login user and the preset calculation parameters of each object in the object combination comprises:
combining one or more objects displayed on a shopping cart browsing interface of the client into a current object combination;
and for each object in the current object combination, acquiring a single object resource value and quantity corresponding to the object and a resource exemption strategy matched with the object as preset calculation parameters of the object.
9. An apparatus for determining an attribute of an object combination, comprising:
the system comprises a user and object information acquisition module, a data acquisition module and a data processing module, wherein the user and object information acquisition module is used for acquiring user information of a current login user of a client, and acquiring an object combination selected by the current login user and preset calculation parameters of each object in the object combination;
the task configuration information determining module is used for determining the computing tasks to be executed and the task configuration information of each computing task by analyzing the task configuration data which is downloaded and cached in advance by the client; the calculation task is a task for calculating a preset attribute value of the object combination, and the task configuration information of the calculation task includes: task content and a mutually exclusive task list of the computing task;
and the object combination attribute determining module is used for executing the task content of each computing task on the basis of the user information, the preset computing parameters and the execution state of each task in the mutually exclusive task list of each computing task at the client so as to determine the preset attribute value of the object combination.
10. An electronic device comprising a memory, a processor and a program code stored on the memory and executable on the processor, wherein the processor implements the method for determining the property of a combination of objects according to any one of claims 1 to 8 when executing the program code.
11. A computer-readable storage medium, on which a program code is stored, which program code, when being executed by a processor, carries out the steps of the method for determining properties of a combination of objects according to any one of claims 1 to 8.
CN202010561226.4A 2020-06-18 2020-06-18 Object combination attribute determination method and device and electronic equipment Withdrawn CN111881148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010561226.4A CN111881148A (en) 2020-06-18 2020-06-18 Object combination attribute determination method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010561226.4A CN111881148A (en) 2020-06-18 2020-06-18 Object combination attribute determination method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111881148A true CN111881148A (en) 2020-11-03

Family

ID=73157734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010561226.4A Withdrawn CN111881148A (en) 2020-06-18 2020-06-18 Object combination attribute determination method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111881148A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113672361A (en) * 2021-07-13 2021-11-19 上海携宁计算机科技股份有限公司 Distributed data processing system, method, server and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100262647A1 (en) * 2009-04-13 2010-10-14 Microsoft Corporation Granular data synchronization for editing multiple data objects
CN102981904A (en) * 2011-09-02 2013-03-20 阿里巴巴集团控股有限公司 Task scheduling method and system
CN107464152A (en) * 2016-06-03 2017-12-12 阿里巴巴集团控股有限公司 Data processing method, client and service end
CN111045745A (en) * 2018-10-10 2020-04-21 北京京东金融科技控股有限公司 Method and system for managing configuration information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100262647A1 (en) * 2009-04-13 2010-10-14 Microsoft Corporation Granular data synchronization for editing multiple data objects
CN102981904A (en) * 2011-09-02 2013-03-20 阿里巴巴集团控股有限公司 Task scheduling method and system
CN107464152A (en) * 2016-06-03 2017-12-12 阿里巴巴集团控股有限公司 Data processing method, client and service end
CN111045745A (en) * 2018-10-10 2020-04-21 北京京东金融科技控股有限公司 Method and system for managing configuration information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113672361A (en) * 2021-07-13 2021-11-19 上海携宁计算机科技股份有限公司 Distributed data processing system, method, server and readable storage medium

Similar Documents

Publication Publication Date Title
US11430013B2 (en) Configurable relevance service test platform
US20190012683A1 (en) Method for predicting purchase probability based on behavior sequence of user and apparatus for the same
US9244818B1 (en) Automated selection of quality control tests to run on a software application
AU2011305742B2 (en) Provisioning of software services
US10318987B2 (en) Managing cookie data
US10832268B2 (en) Modeling customer demand and updating pricing using customer behavior data
CN110245069B (en) Page version testing method and device and page display method and device
US9665881B1 (en) Physical store online shopping control
CN112766907A (en) Service data processing method and device and server
US9589295B2 (en) Purchasing systems and methods
US20200134693A1 (en) Method, device and equipment for recommending product, and computer readable storage medium
CN112292707A (en) Processing event streams using pattern recognition
US20140122503A1 (en) Method and Apparatus Using Historical Influence for Success Attribution in Network Site Activity
CN111768258A (en) Method, device, electronic equipment and medium for identifying abnormal order
US20210090113A1 (en) Methods and Systems for Efficient Promotional Price Adjustment
CN108491408B (en) Activity information processing method and device, electronic equipment and storage medium
CN111930786A (en) Resource acquisition request processing system, method and device
US10885565B1 (en) Network-based data discovery and consumption coordination service
CN111881148A (en) Object combination attribute determination method and device and electronic equipment
CN113434063A (en) Information display method, device and equipment
JP6664580B2 (en) Calculation device, calculation method and calculation program
CN110659916A (en) Order amount splitting method and device
CN112837131A (en) Sales application development method, device, equipment and storage medium
CN111506340A (en) Business rule information processing method, device and system
US9536267B2 (en) Resolving pairwise links to groups

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20201103