WO2023078012A1 - Use and permission sharing method and device for electronic menu - Google Patents

Use and permission sharing method and device for electronic menu Download PDF

Info

Publication number
WO2023078012A1
WO2023078012A1 PCT/CN2022/123240 CN2022123240W WO2023078012A1 WO 2023078012 A1 WO2023078012 A1 WO 2023078012A1 CN 2022123240 W CN2022123240 W CN 2022123240W WO 2023078012 A1 WO2023078012 A1 WO 2023078012A1
Authority
WO
WIPO (PCT)
Prior art keywords
recipe
target electronic
sharing
data
electronic recipe
Prior art date
Application number
PCT/CN2022/123240
Other languages
French (fr)
Chinese (zh)
Inventor
吴甲文
张馨月
刘玫潭
黄烁
彭允胄
谢芳
Original Assignee
珠海优特智厨科技有限公司
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
Priority claimed from CN202111289582.6A external-priority patent/CN116091264A/en
Priority claimed from CN202111355632.6A external-priority patent/CN116136909A/en
Application filed by 珠海优特智厨科技有限公司 filed Critical 珠海优特智厨科技有限公司
Publication of WO2023078012A1 publication Critical patent/WO2023078012A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Definitions

  • the present invention is based on the Chinese patent application CN202111289582.6 submitted on November 2, 2021 with the title of "Electronic Recipe Using Method and Device, Storage Medium, and Computer Equipment”, and the patent application submitted on November 16, 2021 with the title of " The Chinese patent application CN202111355632.6 of "Recipe Authority Sharing Method and Device”, and claims the priority of these two patent applications, and all the disclosed contents are incorporated into this disclosure by reference.
  • the invention relates to the technical field of intelligent cooking, in particular to a method and device for using electronic recipes and sharing rights.
  • the embodiment of the present invention provides a method and device for using electronic recipes and sharing rights, as well as a storage medium and an electronic device.
  • a recipe authority sharing method including: receiving a recipe sharing instruction or a recipe sharing request, the recipe sharing instruction and the recipe sharing request include sharing party and shared party information; according to the recipe A sharing instruction or a recipe sharing request shares or transfers the recipe authority owned by the sharing party to the shared party, wherein the recipe authority includes the use authority, use times and/or use time of the recipe.
  • a recipe authority sharing device including: a receiving module, configured to receive a recipe sharing instruction or a recipe sharing request, the recipe sharing instruction and recipe sharing request include the sharing party and the shared party information; a sharing module, configured to share or transfer the recipe authority owned by the sharing party to the shared party according to the recipe sharing instruction or recipe sharing request, wherein the recipe authority includes the use authority of the recipe, Number of times and/or duration of use.
  • a method for using an electronic recipe comprising: receiving the data to be redeemed of the target electronic recipe; determining the first redemption resource corresponding to the target electronic recipe; according to the first A redemption resource and the data to be redemption are used to generate a redemption order for the target electronic recipe.
  • a method for using an electronic recipe comprising: sending the data to be redeemed of the target electronic recipe, so that the recipe server can use the data to be redeemed and the target electronic recipe
  • the first redemption resource generates a redemption order for the target electronic recipe; and receives the redemption order.
  • a device for using an electronic recipe including: a data receiving module, configured to receive data to be exchanged for a target electronic recipe; a resource determination module, configured to determine the corresponding The first exchange resource; an order generating module configured to generate an exchange order for the target electronic recipe according to the first exchange resource and the data to be exchanged.
  • a device for using an electronic recipe including: a data sending module, configured to send the data to be redeemed of the target electronic recipe, so that the recipe server And the first redemption resource of the target electronic recipe generates the redemption order of the target electronic recipe; the order receiving module is configured to receive the redemption order.
  • a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to perform any one of the above methods when running Steps in the examples.
  • an electronic device including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to perform any of the above Steps in the method examples.
  • Fig. 1 is a block diagram of the hardware structure of a mobile terminal running a recipe authority sharing method according to an embodiment of the present invention
  • Fig. 2 is a flow chart of a recipe authority sharing method according to an embodiment of the present invention.
  • Fig. 3 is a structural block diagram of a recipe authority sharing device according to an embodiment of the present invention.
  • Fig. 4 is a structural block diagram of a recipe authority sharing device according to another embodiment of the present invention.
  • Fig. 5 shows a schematic flowchart of a method for using an electronic recipe provided by an embodiment of the present invention
  • FIG. 6 shows a schematic flowchart of another method for using an electronic recipe provided by an embodiment of the present invention.
  • Fig. 7 shows a schematic structural diagram of a device for using an electronic recipe provided by an embodiment of the present invention.
  • FIG. 1 is a block diagram of the hardware structure of the mobile terminal running the recipe authority sharing method according to the embodiment of the present invention.
  • the mobile terminal may include one or more (only one shown in Figure 1) processors 102 (the processor 102 may include but not limited to a microprocessor (Central Processing Unit, MCU) or a programmable logic device (Field Programmable Gate Array, FPGA) and other processing devices) and a memory 104 for storing data, wherein the above-mentioned mobile terminal may also include a transmission device 106 and an input and output device 108 for communication functions.
  • processors 102 may include but not limited to a microprocessor (Central Processing Unit, MCU) or a programmable logic device (Field Programmable Gate Array, FPGA) and other processing devices) and a memory 104 for storing data, wherein the above-mentioned mobile terminal may also include a transmission device 106 and an input and output device 108 for communication functions.
  • MCU Central Processing Unit
  • FPGA Field Programmable Gate Array
  • FIG. 1 is only for illustration, and it does not limit the structure of the above mobile terminal.
  • the mobile terminal may also include more or fewer components than those shown in FIG. 1 , or have a different configuration from that shown in FIG. 1 .
  • the memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the recipe authority sharing method in the embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104 by running the computer program.
  • the memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • the memory 104 may further include a memory that is remotely located relative to the processor 102, and these remote memories may be connected to the mobile terminal through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 106 is used to receive or transmit data via a network.
  • the specific example of the above network may include a wireless network provided by the communication provider of the mobile terminal.
  • the transmission device 106 includes a network adapter (Network Interface Controller, NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet.
  • the transmission device 106 may be a radio frequency (Radio Frequency, RF for short) module, which is used to communicate with the Internet in a wireless manner.
  • RF Radio Frequency
  • Fig. 2 is a flowchart of a recipe authority sharing method according to an embodiment of the present invention. As shown in Fig. 2, the process includes the following steps:
  • Step S202 receiving a recipe sharing instruction or a recipe sharing request, the recipe sharing instruction and recipe sharing request include the sharing party and the shared party information;
  • the recipe sharing instruction may come from the sharing party, and the recipe sharing request may come from the shared party.
  • the recipe sharing instruction and recipe sharing request may also come from a third party.
  • Step S204 according to the recipe sharing instruction or recipe sharing request, share or transfer the recipe permission owned by the sharing party to the shared party, wherein the recipe permission includes the recipe usage permission, usage times and/or How long to use.
  • step S204 of this embodiment it may also include: sharing or transferring the recipe authority to the shared party according to the recipe sharing instruction or recipe sharing request, including one of the following:
  • the recipe sharing instruction or recipe sharing request only includes the use authority of the recipe, or includes the use authority of the recipe and the number of times N, and the number of times N is zero, only the use authority of the recipe is shared to the shared party;
  • the recipe sharing instruction or the recipe sharing request includes the recipe usage permission and usage times N, and the usage times N is not zero, sharing the recipe usage permission to the shared party, and Transferring the right to use the recipe for cooking on the cooking device N times to the shared party;
  • the recipe sharing instruction or recipe sharing request only includes the use authority of the recipe, and the recipe authority owned by the sharing party is an unlimited number of uses within a set period of time, the recipe described by the sharing party is in the The usage rights for the remaining period are transferred to the shared party.
  • it may further include: binding the account of the sharing party with the account of the shared party.
  • the number of times the recipe has been used by the shared party is synchronized to the shared party, and according to the number of times the recipe has been used by the shared party Updating the number of times the recipe has been used by the sharing party in real time; and/or,
  • the shared party before the shared party uses the recipe to cook, it may also include: the sharing party requests from the shared party whether to log in to the cooking device to cook with the recipe confirm.
  • the sharing party sets the scope of the use authority of the recipe shared or transferred to the shared party, wherein the scope of the use authority of the recipe includes viewing encrypted information and non- Permission to encrypt information.
  • the recipe use authority, usage times or usage time owned by the sharing party can be shared or transferred to the shared party. Therefore, the problem that electronic recipes cannot be shared among different users can be solved, and the effect that sharing parties can share electronic recipes as needed according to the situation is achieved, and the use experience of electronic recipes is improved.
  • the technical solution of the present invention can be embodied in the form of software products in essence or in other words, the part that contributes to the prior art, and the computer software products are stored in a storage medium (such as read-only memory/random access In the memory (Read-Only Memory/Random Access Memory, ROM/RAM), magnetic disk, optical disk), several instructions are included in order to make a terminal equipment (can be mobile phone, computer, server, or network equipment etc.) carry out the present invention methods described in the various examples.
  • a storage medium such as read-only memory/random access In the memory (Read-Only Memory/Random Access Memory, ROM/RAM), magnetic disk, optical disk
  • a recipe authority sharing device is also provided, which is used to implement the above embodiments and preferred implementation modes, and what has been explained will not be repeated.
  • the term "module” may be a combination of software and/or hardware that realizes a predetermined function.
  • the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
  • FIG. 3 is a structural block diagram of a recipe authority sharing device according to an embodiment of the present invention. As shown in FIG. 3 , the device includes: a receiving module 10 and a sharing module 20 .
  • the receiving module 10 is configured to receive a recipe sharing instruction or a recipe sharing request, and the recipe sharing instruction and recipe sharing request include sharing party and shared party information;
  • the sharing module 20 is configured to share or transfer the recipe authority owned by the sharing party to the shared party according to the recipe sharing instruction or the recipe sharing request, wherein the recipe authority includes the use authority and the number of times of use of the recipe and/or duration of use.
  • Fig. 4 is a structural block diagram of a recipe authority sharing device according to another embodiment of the present invention. As shown in Fig. 4, in addition to all the modules shown in Fig. 3, the sharing module 20 also includes at least one of the following:
  • the first sharing unit 21 is configured to only include the use authority of the recipe in the recipe sharing instruction or the recipe sharing request, or include the use authority and the number of times N of the recipe, and when the number of times N is zero, only Share the use authority of the recipe with the shared party;
  • the second sharing unit 22 is configured to share the use authority of the recipe when the recipe sharing instruction or the recipe sharing request includes the use authority and the use number N of the recipe, and the number of use N is not zero. to the shared party, and transfer the right to use the recipe for cooking on the cooking device N times to the shared party;
  • the third sharing unit 23 is configured to include only the use authority of the recipe in the recipe sharing instruction or the recipe sharing request, and when the recipe authority owned by the sharing party is an unlimited number of times of use within a set duration, the The right to use the recipe described by the sharing party within the remaining duration is transferred to the shared party.
  • the above-mentioned modules can be realized by software or hardware.
  • it can be realized by the following methods, but not limited to this: the above-mentioned modules are all located in the same processor; or, the above-mentioned modules can be combined in any combination
  • the forms of are located in different processors.
  • user A has the use authority and the number of times of use of the electronic recipe 1, and can choose to transfer only the use authority of the electronic recipe to user B.
  • user A has the use authority and the number of times of use of the electronic recipe 1 (the number of times of use may not be included). is 0) shared with user B, the request command of user B must include the permission to use the recipe, and the number of times of use can be set to 0.
  • the permissions are consistent, for example, you can freely view any part of the recipe, including encrypted information and non-encrypted information, but you cannot directly cook because you do not have the permission to use the number of times.
  • user B when user B’s use times is 0, user B can be made a sub-account of user A (primary Secondary mode), or bind users A and B, in this way, the use records of user B can be synchronized to the account of user A in the networked state, and the number of times of use of user A will be updated in real time.
  • primary Secondary mode primary Secondary mode
  • a threshold value of usage times can be set on the cooking device side, which can be the total usage times of the recipe 1 owned by user A.
  • the user B's usage number permission will be stopped or user B will be reminded to pay the online fee.
  • user B in order to avoid the use of recipe 1 on multiple offline devices when users A and B are bound in the primary and secondary forms, user B needs to confirm online when user A logs in to the cooking device, and user B can start cooking only after user A confirms .
  • user B's recipe use authority can be given by user A.
  • user A sets that user B's use authority of recipe 1 is limited to the viewing authority of some non-core steps, and the incomplete use authority The permission to use recipes for cooking (permission to use the number of times) based on the
  • user A has the usage authority and usage times of electronic recipe 1, and transfers the recipe usage permission and usage times to user B.
  • the user B's request or the user A's input instruction may include both the use authority and the number of times of use.
  • user B obtains the usage authority and usage times of the recipe, and after user A transfers the usage permission and usage times of the recipe, he updates the usage times in his account accordingly, and at the same time, user B obtains the usage permission and times of the recipe Afterwards, it can become an independent settlement account, that is, the usage times of user B are updated in the account of user B, and users A and B do not need to connect to the cloud together to update the usage times of user A as in the above embodiment.
  • user A has the recipe authority in the form of monthly subscription or annual subscription, that is, user A has the authority to use the recipe, and user A can use the recipe arbitrarily within a certain period of time without setting the number of times of use.
  • the usage time specifically refers to the remaining usage time of user A.
  • user A purchased a monthly subscription electronic cookbook with a usage date of 2020.5.12-2020.6.12. If the date of transfer is 2020.6.1, the remaining usage 12 days to transfer to user B.
  • the method of triggering the recipe authority transfer may include: starting the authority sharing in the above embodiment based on user A and user B having the same identity information, the identity information includes name, ID number, merchant ID, etc. one or more species. For example, if the system detects that the merchant identity information of user A and user B are the same, a prompt will pop up whether to bind or share the two accounts. If the user confirms the binding or sharing of the two accounts, user A and user B can be linked The recipe authority between users B is shared and used. The shared use includes several situations.
  • the first is the situation where users share with each other, that is, user A can share the recipe authority of user B
  • the second is that user A can share Share the recipe permission of user B
  • user B cannot share the recipe permission of user A
  • the third is that user A cannot share the recipe permission of user B
  • user B can share the recipe permission of user A
  • the second and third cases Both are one-way sharing situations.
  • the method of triggering the transfer of recipe authority may also include: starting the authority sharing in the above embodiment based on the association relationship between user A and user B, the association relationship may be generated according to the attributes of user A and user B For example, owner a of user A and owner b of user B have a certain relationship; the relationship may also be artificially set.
  • the problem that recipes cannot be shared between associated users is solved by sharing based on the association relationship between different users.
  • a method for using an electronic recipe is also provided, as shown in Figure 5, the method includes:
  • Step S501 receiving data to be exchanged for the target electronic recipe
  • Step S502 determining the first exchange resource corresponding to the target electronic recipe
  • Step S503 generating an exchange order for the target electronic recipe according to the first exchange resource and the data to be exchanged.
  • the current way of providing free or giving electronic recipes is replaced by resource exchange, and users can use their own idle or sufficient resources to exchange electronic recipes that are lacking for the user.
  • the creation of electronic recipes Authors can obtain corresponding resources by authorizing others to use recipes, so as to encourage the creative enthusiasm of creators of electronic recipes, and then promote the development of smart cooking technology.
  • the data to be exchanged for the target electronic recipe specifically refers to the data used to indicate the user's exchange intention for the target electronic recipe
  • the data to be exchanged may be direct purchase data (or Obtain the operation data of the right to use the target electronic recipe by means of resource exchange and resource redemption), and the data to be exchanged can also indirectly reflect the signal that the user wants to obtain the right to use the target electronic recipe.
  • the data to be redeemed can be the signal that the user plans to use or has confirmed the use of the target electronic recipe, or the information of the target electronic recipe that has been used, such as the signal that the user chooses to run or plans to run the target electronic recipe, and the data to be redeemed is also It can be an operation signal for the user to choose to run or is about to run the target electronic recipe, for example, the operation that the user chooses to purchase the right to use the target electronic recipe, for example, the user uses the electronic recipe first, and then pays for the usage data of the electronic recipe that has been used.
  • the target electronic recipe After receiving the redemption data of the target electronic recipe, determine the first redemption resource needed to redeem the target electronic recipe. For example, the target electronic recipe needs 2 credits or 2 yuan for redemption, then an exchange order for the target electronic recipe can be generated, and then in After the exchange order is settled, the usage authority of the target electronic recipe within the scope of the order can be assigned to the user.
  • the exchange order can be directly settled to the creator of the target electronic recipe, or the electronic recipe platform can be used as the medium. After the order is settled with the platform, the platform will then settle with the creator.
  • users can first purchase the number of times to use the electronic recipe, and then use the electronic recipe for cooking. For example, when the data to be exchanged is the user’s choice to purchase the right to use the target electronic recipe, the user chooses to purchase 100 times of electronic recipe A After receiving the redemption data of the electronic recipe A’s 100-time use right, it is determined that the first redemption resource required by the recipe A is that recipe A needs 1 yuan for one use, then according to the data to be redempted and the first redemption The resource generation order is Recipe A 100 usage rights need to pay 100 yuan.
  • the user can perform billing while running the electronic recipe.
  • the data to be exchanged can be an operation signal for the user to choose to run or is about to run the target electronic recipe
  • the user selects electronic recipe A and clicks Run to run the electronic recipe
  • the billing is initiated, and the first exchange resource required by the recipe A is determined to be 1 yuan for one use of the recipe A, and the order is generated according to the data to be exchanged and the first exchange resource.
  • users can be given a mode of billing after using the electronic recipe first, such as one-time billing when the number of times of use meets a certain threshold, or one-time billing for the number of operations generated on the day at a fixed time every day Operation, or one-time billing when the usage time meets a certain threshold.
  • the data to be exchanged can also be the operation data of the electronic recipe.
  • the running times data is uploaded to the cloud, and the cloud generates orders and settlements based on the received data.
  • a cooking device of the merchant runs recipe A 50 times a day
  • recipe B runs 100 times
  • the equipment is idle at night ( For example, at 0 o'clock at night)
  • the cloud generates orders based on the received data and the first redemption resource.
  • the 50 cooking records of A and the 100 cooking records of recipe B can be combined into one order settlement, or can be separated into two order settlements, which is not limited here.
  • the device in the case of one-time billing when the number of times the electronic recipe is used meets a certain threshold, the device can set a counter to detect that the number of times the device has been used reaches a certain value, and the cooking device will automatically upload the cooking record to the cloud. First exchange resources for settlement.
  • the cooking device when the usage time meets a certain threshold and then one-time billing, the cooking device can set a timer to record the usage time of the electronic recipes up to a one-month period, and automatically initiate billing.
  • the usage time of the electronic recipes specifically, It can be recorded by the cooking device. After the time limit is met, the device actively uploads data to the cloud to initiate settlement. It can also be recorded by the cloud. After the time limit is met, the cloud initiates a billing request to the cooking device.
  • the specific implementation method is different. Do limit.
  • the settlement processing method of the recipe can be to generate a record number from the operation record at the same time after the operation data of the equipment is uploaded to the cloud, and when the settlement is initiated, directly update the data of certain lines instead of reinserting and regenerating the order number , which can improve settlement efficiency.
  • the settlement processing method of the recipe can be to generate a record number from the operation record at the same time after the operation data of the equipment is uploaded to the cloud, and when the settlement is initiated, directly update the data of certain lines instead of reinserting and regenerating the order number , which can improve settlement efficiency.
  • regular settlement of the recipe operation fee you can insert the operation record when the device uploads the operation data, and then at 0:00 every day, you only need to query the current unsettled operation records, generate an order, and put the Just update the order ID field of the database record.
  • the data to be exchanged of the target electronic recipe is received, and the first exchange resource required to exchange the target electronic recipe is determined, so that the target electronic recipe is generated based on the data to be exchanged and the first exchange resource exchange order.
  • the embodiment of the present invention solves the problem of imperfect electronic recipe system in the prior art. By generating the exchange order of the target electronic recipe for order settlement, it is helpful to enhance the author's enthusiasm for creating electronic recipes and improve the electronic recipe. quality.
  • the data to be redeemed includes the number of times of redemption for the target electronic recipe, and the first redemption resource includes a single redemption resource corresponding to the target electronic recipe; after step 103, It may also include: assigning the available times of the target electronic recipe to the account information corresponding to the target electronic recipe, wherein the available times may be allocated to at least one cooking device corresponding to the account information, so that the At least one cooking device runs the target electronic recipe according to the distribution times, and the sum of the distribution times corresponding to the at least one cooking device is less than or equal to the available times.
  • the data to be redeemed may include the number of redemptions of the target electronic recipe set by the user.
  • the first redemption resource may be the redemption resource required to use the target electronic recipe once, That is, a single exchange of resources. Then generate an exchange order, and after the order is settled, the number of times the user can use the target electronic recipe can be allocated to the user's account. For example, the user has purchased 100 usage rights for the target electronic recipe. Allocate 100 available times of the target electronic recipe to the user account. The user can allocate the available times of the target electronic recipe under his account to one or more cooking devices, and the user can arbitrarily set the available times of each cooking device, and the sum does not exceed the total number of available times of the target electronic recipe.
  • Step S501 receiving an acquisition instruction of the target electronic recipe, wherein the acquisition instruction includes the account information of the target electronic recipe;
  • Step S502 Settle any target settlement account corresponding to the account information according to the second exchange resource corresponding to the target electronic recipe, so that the account information includes the target electronic recipe, wherein the target The operating condition of the electronic recipe on the cooking device includes that the target electronic recipe is included under the account information logged in by the cooking device.
  • obtaining the qualifications for using the target electronic recipe can be specifically divided into two stages.
  • the first stage is the charging of the target electronic recipe product itself, that is, the acquisition stage, and the second stage is charging for the use of the target electronic recipe, namely use stage.
  • the recipe can only be used on the premise that the target electronic recipe has been obtained, that is, the operation condition of the target electronic recipe on the cooking device includes that the login account of the cooking device contains the target electronic recipe.
  • the acquisition instruction of the target electronic recipe is received, and the instruction carries the data used to characterize the account information of the target electronic recipe, so that the recipe management platform can based on the instruction, according to the second exchange resource corresponding to the target electronic recipe.
  • Settlement specifically, settlement can be performed on any target settlement account corresponding to the account information, such as deducting the corresponding funds from the user's balance account, or performing settlement on the WeChat, Alipay and other accounts bound by the user.
  • step S502 may specifically include:
  • Step S502-1 if the acquisition instruction includes the electronic recipe to be redeemed, and the electronic recipe to be redeemed is equivalent to the second exchange resource, then exchange the electronic recipe to be redeemed in the account information into the The target electronic recipe, wherein the target electronic recipe is at least one of the redeemable resources corresponding to the electronic recipe to be redeemed.
  • Step S502-2 if the acquisition instruction includes the electronic recipe to be redeemed, and the electronic recipe to be redeemed is not equivalent to the second exchange resource, then according to the correspondence between the second exchange resource and the electronic recipe to be exchanged
  • the convertible resource of the account information is settled for any target settlement account corresponding to the account information, and the electronic recipe to be redeemed in the account information is converted into the target electronic recipe, wherein the target electronic recipe is at least is one of the redeemable resources.
  • Step S502-3 if the acquisition instruction includes the account information of the target to be exchanged and the electronic recipe to be exchanged, in the case of the confirmation of the target to be exchanged, the target electronic recipe in the account to be exchanged and the electronic recipe in the current account
  • the electronic recipes to be exchanged are exchanged.
  • the exchange of recipes specifically refers to the transaction of recipes between users and the platform, and the exchange of recipes specifically refers to the transaction of recipes between users.
  • the acquisition instruction includes the electronic recipe to be exchanged, and the exchange resources of the electronic recipe to be exchanged and the target electronic recipe are equivalent, for example, the price of the electronic menu to be exchanged is the same as that of the target electronic
  • the electronic recipe to be redeemed in the system is converted into the target electronic recipe. For example, if the user’s existing recipe A worth 10 points is exchanged for recipe B worth 10 points, after the recipe A is redeemed, it will disappear from the user’s account. If you want to use recipe A, you need to obtain it again.
  • the user account can be settled by refunding more and making up less, for example, the value of 10 points that the user already has Recipe A and 5 points in the account are exchanged for recipe C worth 15 points.
  • the exchange of electronic recipes is carried out according to the account information of the target to be exchanged in the acquisition instruction and the electronic recipe to be exchanged in the account of the current user who sent the command. Specifically, when the target to be exchanged is confirmed, the current user The electronic recipes to be exchanged in the account are exchanged with the target electronic recipes in the account to be exchanged.
  • the recipe exchange behavior between users may not be restricted on whether the exchanged recipes are equivalent. For example, the recipe A in the account of user A and the user Recipe D in Account B is exchanged, and the exchange resources of Recipe A and Recipe D may or may not be equivalent.
  • Step S503 receiving the operation data of the target electronic recipe
  • the data to be exchanged includes operation data
  • the operation data includes at least one of operation confirmation data, operation start data, and operation end data
  • the operation confirmation data is based on the execution confirmation operation of the target electronic recipe Generated
  • the operation start data is generated based on the start operation signal of the first step in the target electronic recipe
  • the operation end data is generated based on the end operation signal of the target electronic recipe
  • the operation end data includes the target Operation records of electronic recipes.
  • the operating data of the target electronic recipe is used to represent the user’s intention to use the target electronic recipe
  • the operating data may be confirmation data, such as the signal generated by the action of the user clicking the execution button of the target electronic recipe on the cooking device
  • the operating data It can also be the start data of the operation, such as the signal generated when the first step of the recipe is executed after the user chooses to execute a certain target electronic recipe in his own account after logging in the cooking device
  • the operation data can also be the end of the operation Data, the running end data is generated based on the running end signal of the target electronic recipe on the cooking device, and may specifically include information such as steps that the target electronic recipe has run, or the last step that the target electronic recipe has run.
  • Step S504 determining the first exchange resource corresponding to the target electronic recipe
  • Step S505 determining any target settlement account corresponding to the account information, and obtaining the target usage pattern of the target electronic recipe corresponding to the target settlement account;
  • Step S506 if the target usage mode is counting mode, generate an exchange order for the target electronic recipe according to the first exchange resource and the operation data;
  • Step S507 if the target usage mode is the timekeeping mode, then judge whether the current time belongs to the time range corresponding to the timekeeping mode, and if not, according to the first exchange resource and the operation data, generate the Exchange orders for the target electronic recipes.
  • step S504 to step S507 when the user acquires the target electronic recipe to the account, he can also set the target usage mode of the target electronic recipe at the same time.
  • the usage mode can specifically include two kinds of counting mode and timing mode. The number of times the target electronic recipe is used, and the timing mode is to limit the available time of the target electronic recipe.
  • an exchange order can be generated according to the target usage pattern corresponding to the target electronic recipe in the user account.
  • an exchange order can be generated that includes deducting the usage times of the target electronic recipe and assigning the usage permission of the target electronic recipe, so as to exchange the usage qualification of a recipe under the condition of reducing the usage times of a recipe; if
  • the target usage mode is timing mode, which can determine whether the current time falls within the corresponding timing time range (that is, within the time range corresponding to the timing mode).
  • the timing time range corresponding to the target electronic recipe in the user account is December 30, 2021 , then if the target electronic recipe is used before this time, the usage information can be recorded, and if the target electronic recipe is used after this time, an exchange order for the target electronic recipe will be generated and settled, so as to obtain the target electronic recipe from the user right to use.
  • steps S506 and 207 may specifically include:
  • an exchange order for the target electronic recipe is generated according to the first exchange resource
  • an exchange order for the target electronic recipe is generated according to the first exchange resource
  • the operation data includes the operation end data
  • identify the executed steps of the target electronic recipe according to the operation end data if the executed steps include the preset core steps corresponding to the target electronic recipe, then Generate an exchange order for the target electronic recipe according to the first exchange resource; or,
  • the operation data includes the operation end data
  • an exchange order is generated, that is, when the operating data is the operation confirmation data, an exchange order is generated;
  • an exchange order is generated, that is, when the operation data includes the operation start data, an exchange order is generated;
  • a preset core step of the target electronic recipe is executed, an exchange order is generated, That is, when the running data is the running end data, and the running steps include the preset core steps, an exchange order is generated to prevent users from exploiting loopholes to evade payment fees, and charges will be made when the core steps of the target electronic recipe run;
  • identify the reason for the end of the target electronic recipe such as the normal exit of the step execution end, the abnormal exit of the network failure, etc., and generate an exchange order when it is not an abnormal exit, so as to prevent users from using loopholes to avoid paying fees.
  • the core steps of the electronic recipe can be hidden, and only the cooking actions or parameters related to the user's operation are displayed, so as to keep the recipe content confidential and prevent others from cracking the recipe.
  • user B logs in to the account after user A, for the recipe used by user A last time, user B can set the authority of user B to the recipe, for example, user B can download and view user A's account A recipe that has been used, but cannot be edited or used, etc.
  • step S501 and step S502 may further include:
  • the use mode of the target electronic recipe can be recommended to the user according to the user's historical recipe use information.
  • the initial use mode can be specified in the acquisition instruction sent by the user to the target electronic recipe, and the specific use mode can also not be specified. model.
  • the recommended usage mode determined based on historical recipe usage information can be fed back to the user, and the target usage mode corresponding to the target electronic recipe can be set based on the user's choice.
  • the user can directly set the initial usage mode specified by the user as the target usage mode, or compare whether the initial usage mode is the same as the recommended usage mode, and if not, ask the user whether to change to the recommended usage mode , and set the target usage pattern of the target electronic recipe based on the user's feedback.
  • the recommended usage mode in the above embodiment can be specifically determined according to the user's usage frequency of the electronic recipe, for example, based on the user's usage frequency, it is calculated whether the timing mode or the counting mode is more cost-effective for the user, And take the more cost-effective mode as the recommended mode.
  • each mode and the predicted cost within the preset period corresponding to each mode can be sent to the user for the user to choose, such as predicting the number of times the user uses the target electronic recipe within a month based on historical usage information, and the next For the forecasted spending within a month, the forecasted spending of one month in the counting mode and the monthly spending in the timing mode are fed back to the user. It can also be determined according to the user's historical purchasing habits. If the user prefers to buy recipes in the timing mode, the timing mode is recommended, and vice versa.
  • an embodiment of the present invention provides a method for using an electronic recipe, which is used in a cooking device, including:
  • Step S501 sending the data to be exchanged of the target electronic recipe, so that the recipe server generates an exchange order for the target electronic recipe according to the data to be exchanged and the first exchange resource of the target electronic recipe;
  • Step S502 receiving the exchange order.
  • the data to be redeemed of the target electronic recipe is sent to the recipe server through the cooking device, and the corresponding redemption order is received, so as to promote the settlement of the order.
  • the data to be redeemed includes the number of times of redemption for the target electronic recipe, and the first redemption resource includes a single redemption resource corresponding to the target electronic recipe; after step S502, Can also include:
  • Step S503 allocating the available times of the target electronic recipe, wherein the allocated times corresponding to the current cooking device is less than or equal to the available times;
  • Step S504 in response to the running signal of the target electronic recipe, run the target electronic recipe according to the current distribution times of the cooking equipment.
  • the user can assign the available times of the target electronic recipe under his account to one or more cooking devices, and the user can arbitrarily set the available times of each cooking device, and the sum does not exceed the total number of available times of the target electronic recipe. .
  • a fee usage threshold can be set on the cooking device side. fee. Or when the network is disconnected, set a counter to detect that the user's use times exceed the threshold, lock the user's cooking device, and continue to use it after the device is connected to the Internet and deducted. Or set a cooking device usage period, after which the user will be locked and reminded to pay, thereby limiting the off-line use of the cooking device.
  • the associated recipe can be found based on the code source of the electronic recipe, and the lower version of the recipe can be updated without the user needing to re-purchase and pay.
  • an embodiment of the present invention provides a device for using an electronic recipe, as shown in FIG. 7 , the device includes:
  • the data receiving module is configured to receive the data to be exchanged for the target electronic recipe
  • a resource determination module configured to determine the first exchange resource corresponding to the target electronic recipe
  • the order generating module is configured to generate an exchange order for the target electronic recipe according to the first exchange resource and the data to be exchanged.
  • the data to be redeemed includes the number of redemptions for the target electronic recipe, and the first redemption resource includes a single redemption resource corresponding to the target electronic recipe; the device further includes:
  • the rights distribution module is configured to allocate the available times of the target electronic recipe to the account information corresponding to the target electronic recipe after the exchange order of the target electronic recipe is generated, wherein the available times can be allocated to all The at least one cooking device corresponding to the account information, so that the at least one cooking device runs the target electronic recipe according to the distribution times, and the sum of the distribution times corresponding to the at least one cooking device is less than or equal to the available times.
  • the rights distribution module is further configured to receive an acquisition instruction of the target electronic recipe before receiving the data to be exchanged for the target electronic recipe, wherein the acquisition instruction includes the account information of the target electronic recipe; press The second exchange resource corresponding to the target electronic recipe settles any target settlement account corresponding to the account information, so that the account information includes the target electronic recipe, wherein the target electronic recipe is The running condition on the device includes that the target electronic recipe is included under the account information logged in by the cooking device.
  • the equity distribution module is also set to:
  • the acquiring instruction includes an electronic recipe to be redeemed, and the electronic recipe to be redeemed is equivalent to the second exchange resource, then converting the electronic recipe to be redeemed in the account information into the target electronic recipe, wherein, the target electronic recipe is at least one of the redeemable resources corresponding to the electronic recipe to be redeemed;
  • the acquisition instruction includes an electronic recipe to be redeemed, and the electronic recipe to be redeemed is not equivalent to the second exchange resource, then according to the second exchange resource and the exchangeable resource corresponding to the electronic recipe to be exchanged, Settling any target settlement account corresponding to the account information, and converting the electronic recipe to be redeemed in the account information into the target electronic recipe, wherein the target electronic recipe is at least the redeemable one of the resources.
  • the equity distribution module is also set to:
  • the acquisition instruction of the target electronic recipe After receiving the acquisition instruction of the target electronic recipe, if the acquisition instruction includes the account information of the object to be exchanged and the electronic recipe to be exchanged, then in the case of the confirmation of the object to be exchanged, the target in the account of the object to be exchanged.
  • the electronic recipe is exchanged with the electronic recipe to be exchanged in the current account.
  • the data to be exchanged includes operating data, and the operating data includes account information of the target electronic recipe;
  • the order generating module is specifically configured as:
  • the target usage mode is counting mode, then generate an exchange order for the target electronic recipe according to the first exchange resource and the operation data;
  • the target usage mode is the timing mode, it is judged whether the current time belongs to the time range corresponding to the timing mode, and if not, the target electronic data is generated according to the first exchange resource and the operation data. Redemption order for recipes.
  • the device also includes:
  • the recommendation module is configured to obtain the historical recipe usage information corresponding to the account information after receiving the acquisition instruction of the target electronic recipe, and determine the recommended usage mode of the target electronic recipe according to the historical recipe usage information; when the When the acquisition instruction does not include the initial use mode of the target electronic recipe, send the recommended use mode to ask the account party whether to set according to the recommended use mode, and use the received target electronic recipe Mode feedback information, setting the target use mode of the target electronic recipe; when the acquisition instruction includes the initial use mode, setting the target use mode of the target electronic recipe according to the initial use mode; or, when The acquisition instruction includes the initial use mode, and when the initial use mode is different from the recommended use mode, send the recommended use mode to ask the user whether to make changes according to the recommended use mode, and according to the received setting the target usage mode of the target electronic recipe.
  • the data to be exchanged includes operation data
  • the operation data includes at least one of operation confirmation data, operation start data, and operation end data
  • the operation confirmation data is based on the execution confirmation operation of the target electronic recipe Generated
  • the operation start data is generated based on the start operation signal of the first step in the target electronic recipe
  • the operation end data is generated based on the end operation signal of the target electronic recipe
  • the operation end data includes the target Operation records of electronic recipes
  • the order generation module is also set to:
  • an exchange order for the target electronic recipe is generated according to the first exchange resource
  • an exchange order for the target electronic recipe is generated according to the first exchange resource
  • the operation data includes the operation end data
  • identify the executed steps of the target electronic recipe according to the operation end data if the executed steps include the preset core steps corresponding to the target electronic recipe, then Generate an exchange order for the target electronic recipe according to the first exchange resource; or,
  • the operation data includes the operation end data
  • a device for using an electronic recipe comprising:
  • the data sending module is configured to send the data to be exchanged of the target electronic recipe, so that the recipe server generates an exchange order for the target electronic recipe according to the data to be exchanged and the first exchange resource of the target electronic recipe;
  • the order receiving module is configured to receive the exchange order.
  • the data to be redeemed includes the number of redemptions for the target electronic recipe, and the first redemption resource includes a single redemption resource corresponding to the target electronic recipe; the device further includes:
  • the recipe running module is configured to distribute the available times of the target electronic recipe, wherein the distribution times corresponding to the current cooking device is less than or equal to the available times; in response to the running signal of the target electronic recipe, according to the current cooking device number of dispenses to run the target e-recipe.
  • Embodiments of the present invention also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.
  • the above-mentioned computer-readable storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM) , mobile hard disk, magnetic disk or optical disk and other media that can store computer programs.
  • ROM read-only memory
  • RAM random access memory
  • mobile hard disk magnetic disk or optical disk and other media that can store computer programs.
  • An embodiment of the present invention also provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments.
  • the electronic device may further include a transmission device and an input and output device, wherein the transmission device is connected to the processor, and the input and output device is connected to the processor.
  • each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices In fact, they can be implemented in program code executable by a computing device, and thus, they can be stored in a storage device to be executed by a computing device, and in some cases, can be executed in an order different from that shown here. Or described steps, or they are fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.

Landscapes

  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Storage Device Security (AREA)

Abstract

A use and permission sharing method and device for an electronic menu, comprising: receiving a menu sharing instruction or a menu sharing request, the menu sharing instruction and the menu sharing request comprising information of a sharer and a sharee (S202); and according to the menu sharing instruction or the menu sharing request, sharing/transferring with/to the sharee a menu permission owned by the sharer, wherein the menu permission comprises the use permission, number of uses, and/or use duration of a menu (S204).

Description

电子菜谱的使用及权限分享方法和装置Method and device for using electronic recipes and sharing rights
相关申请的交叉引用Cross References to Related Applications
本发明基于2021年11月2日提交的发明名称为“电子菜谱的使用方法及装置、存储介质、计算机设备”的中国专利申请CN202111289582.6,以及2021年11月16日提交的发明名称为“菜谱权限分享方法和装置”的中国专利申请CN202111355632.6,并且要求该两件专利申请的优先权,通过引用将其所公开的内容全部并入本公开。The present invention is based on the Chinese patent application CN202111289582.6 submitted on November 2, 2021 with the title of "Electronic Recipe Using Method and Device, Storage Medium, and Computer Equipment", and the patent application submitted on November 16, 2021 with the title of " The Chinese patent application CN202111355632.6 of "Recipe Authority Sharing Method and Device", and claims the priority of these two patent applications, and all the disclosed contents are incorporated into this disclosure by reference.
技术领域technical field
本发明涉及智能烹饪技术领域,具体而言,涉及一种电子菜谱的使用及权限分享方法和装置。The invention relates to the technical field of intelligent cooking, in particular to a method and device for using electronic recipes and sharing rights.
背景技术Background technique
随着智能烹饪技术的不断发展,通过智能烹饪设备运行电子菜谱进行菜品烹饪,成为了众多用户的选择。用户不需要掌握过多的烹饪技巧,只要选择喜欢的电子菜谱,通过智能烹饪设备运行该菜谱,就可以得到可口的饭菜,非常方便。提高电子菜谱的数量和品质,鼓励创作者进行菜谱创作,是推动智能烹饪领域发展的驱动力之一,也是该领域不断探索的问题。With the continuous development of smart cooking technology, it has become the choice of many users to run electronic recipes through smart cooking equipment for cooking dishes. Users don't need to master too many cooking skills, as long as they choose their favorite electronic recipes and run the recipes through smart cooking equipment, they can get delicious meals, which is very convenient. Improving the quantity and quality of electronic recipes and encouraging creators to create recipes is one of the driving forces to promote the development of the field of smart cooking, and it is also a problem that is constantly being explored in this field.
另外,通过对电子菜谱进行收费,来保护电子菜谱创作者版权并维持创作者良好的积极性,同时也方便对电子菜谱的后续管理,提高菜谱质量。而在不同的用户之间,可能会涉及菜谱的共享,尤其是在多个不同的用户具有合作关系或者是同一个用户拥有的多个账户时,菜谱共享的需求可能更为迫切,现有技术中缺少在上述情况下的菜谱共享方案,对用户使用电子菜谱带了诸多不便。In addition, by charging the electronic recipes, the copyright of the creators of the electronic recipes is protected and the enthusiasm of the creators is maintained. At the same time, it is also convenient for the follow-up management of the electronic recipes to improve the quality of the recipes. Between different users, it may involve the sharing of recipes, especially when multiple different users have a cooperative relationship or have multiple accounts owned by the same user, the need for recipe sharing may be more urgent. The lack of a recipe sharing scheme under the above circumstances in the above-mentioned situation has brought a lot of inconvenience to users when using electronic recipes.
发明内容Contents of the invention
有鉴于此,本发明实施例提供了一种电子菜谱的使用、以及权限分享 的方法和装置、以及存储介质和电子装置。In view of this, the embodiment of the present invention provides a method and device for using electronic recipes and sharing rights, as well as a storage medium and an electronic device.
根据本发明的一个实施例,提供了一种菜谱权限分享方法,包括:接收菜谱分享指令或菜谱分享请求,所述菜谱分享指令和菜谱分享请求包括分享方和被分享方信息;根据所述菜谱分享指令或菜谱分享请求,将所述分享方拥有的菜谱权限共享或转移至所述被分享方,其中,所述菜谱权限包括菜谱的使用权限、使用次数和/或使用时长。According to an embodiment of the present invention, a recipe authority sharing method is provided, including: receiving a recipe sharing instruction or a recipe sharing request, the recipe sharing instruction and the recipe sharing request include sharing party and shared party information; according to the recipe A sharing instruction or a recipe sharing request shares or transfers the recipe authority owned by the sharing party to the shared party, wherein the recipe authority includes the use authority, use times and/or use time of the recipe.
根据本发明的另一个实施例,还提供了一种菜谱权限分享装置,包括:接收模块,设置为接收菜谱分享指令或菜谱分享请求,所述菜谱分享指令和菜谱分享请求包括分享方和被分享方信息;共享模块,设置为根据所述菜谱分享指令或菜谱分享请求,将所述分享方拥有的菜谱权限共享或转移至所述被分享方,其中,所述菜谱权限包括菜谱的使用权限、使用次数和/或使用时长。According to another embodiment of the present invention, there is also provided a recipe authority sharing device, including: a receiving module, configured to receive a recipe sharing instruction or a recipe sharing request, the recipe sharing instruction and recipe sharing request include the sharing party and the shared party information; a sharing module, configured to share or transfer the recipe authority owned by the sharing party to the shared party according to the recipe sharing instruction or recipe sharing request, wherein the recipe authority includes the use authority of the recipe, Number of times and/or duration of use.
根据本发明的一个实施例,还提供了一种电子菜谱的使用方法,所述方法包括:接收目标电子菜谱的待兑换数据;确定所述目标电子菜谱对应的第一兑换资源;依据所述第一兑换资源以及所述待兑换数据,生成所述目标电子菜谱的兑换订单。According to an embodiment of the present invention, there is also provided a method for using an electronic recipe, the method comprising: receiving the data to be redeemed of the target electronic recipe; determining the first redemption resource corresponding to the target electronic recipe; according to the first A redemption resource and the data to be redemption are used to generate a redemption order for the target electronic recipe.
根据本发明的另一实施例,还提供了一种电子菜谱的使用方法,所述方法包括:发送目标电子菜谱的待兑换数据,以使菜谱服务器依据所述待兑换数据以及所述目标电子菜谱的第一兑换资源生成所述目标电子菜谱的兑换订单;接收所述兑换订单。According to another embodiment of the present invention, there is also provided a method for using an electronic recipe, the method comprising: sending the data to be redeemed of the target electronic recipe, so that the recipe server can use the data to be redeemed and the target electronic recipe The first redemption resource generates a redemption order for the target electronic recipe; and receives the redemption order.
根据本发明的一个实施例,还提供了一种电子菜谱的使用装置,包括:数据接收模块,设置为接收目标电子菜谱的待兑换数据;资源确定模块,设置为确定所述目标电子菜谱对应的第一兑换资源;订单生成模块,设置为依据所述第一兑换资源以及所述待兑换数据,生成所述目标电子菜谱的兑换订单。According to an embodiment of the present invention, there is also provided a device for using an electronic recipe, including: a data receiving module, configured to receive data to be exchanged for a target electronic recipe; a resource determination module, configured to determine the corresponding The first exchange resource; an order generating module configured to generate an exchange order for the target electronic recipe according to the first exchange resource and the data to be exchanged.
根据本发明的另一实施例,还提供了一种电子菜谱的使用装置,所述装置包括:数据发送模块,设置为发送目标电子菜谱的待兑换数据,以使 菜谱服务器依据所述待兑换数据以及所述目标电子菜谱的第一兑换资源生成所述目标电子菜谱的兑换订单;订单接收模块,设置为接收所述兑换订单。According to another embodiment of the present invention, there is also provided a device for using an electronic recipe, the device including: a data sending module, configured to send the data to be redeemed of the target electronic recipe, so that the recipe server And the first redemption resource of the target electronic recipe generates the redemption order of the target electronic recipe; the order receiving module is configured to receive the redemption order.
根据本发明的又一个实施例,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present invention, a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to perform any one of the above methods when running Steps in the examples.
根据本发明的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to perform any of the above Steps in the method examples.
上述说明仅是对本发明实施例技术方案的概述,为了能够更清楚了解本发明实施例的技术手段,而可依照说明书的内容予以实施,并且为了让本发明实施例的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the embodiments of the present invention. In order to better understand the technical means of the embodiments of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and The advantages can be more obvious and understandable, and the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1是本发明实施例运行菜谱权限分享方法的移动终端的硬件结构框图;Fig. 1 is a block diagram of the hardware structure of a mobile terminal running a recipe authority sharing method according to an embodiment of the present invention;
图2是根据本发明实施例的菜谱权限分享方法的流程图;Fig. 2 is a flow chart of a recipe authority sharing method according to an embodiment of the present invention;
图3是根据本发明实施例的菜谱权限分享装置的结构框图;Fig. 3 is a structural block diagram of a recipe authority sharing device according to an embodiment of the present invention;
图4是根据本发明另一实施例的菜谱权限分享装置的结构框图;Fig. 4 is a structural block diagram of a recipe authority sharing device according to another embodiment of the present invention;
图5示出了本发明实施例提供的一种电子菜谱的使用方法的流程示意图;Fig. 5 shows a schematic flowchart of a method for using an electronic recipe provided by an embodiment of the present invention;
图6示出了本发明实施例提供的另一种电子菜谱的使用方法的流程示意图;FIG. 6 shows a schematic flowchart of another method for using an electronic recipe provided by an embodiment of the present invention;
图7示出了本发明实施例提供的一种电子菜谱的使用装置的结构示意图。Fig. 7 shows a schematic structural diagram of a device for using an electronic recipe provided by an embodiment of the present invention.
具体实施方式Detailed ways
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.
本发明实施例中所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本发明实施例运行菜谱权限分享方法的移动终端的硬件结构框图。如图1所示,移动终端可以包括一个或多个(图1中仅示出一个)处理器102(处理器102可以包括但不限于微处理器(Central Processing Unit,MCU)或可编程逻辑器件(Field Programmable Gate Array,FPGA)等的处理装置)和用于存储数据的存储器104,其中,上述移动终端还可以包括用于通信功能的传输设备106以及输入输出设备108。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述移动终端的结构造成限定。例如,移动终端还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The method embodiments provided in the embodiments of the present invention may be executed in mobile terminals, computer terminals or similar computing devices. Taking the mobile terminal as an example, FIG. 1 is a block diagram of the hardware structure of the mobile terminal running the recipe authority sharing method according to the embodiment of the present invention. As shown in Figure 1, the mobile terminal may include one or more (only one shown in Figure 1) processors 102 (the processor 102 may include but not limited to a microprocessor (Central Processing Unit, MCU) or a programmable logic device (Field Programmable Gate Array, FPGA) and other processing devices) and a memory 104 for storing data, wherein the above-mentioned mobile terminal may also include a transmission device 106 and an input and output device 108 for communication functions. Those skilled in the art can understand that the structure shown in FIG. 1 is only for illustration, and it does not limit the structure of the above mobile terminal. For example, the mobile terminal may also include more or fewer components than those shown in FIG. 1 , or have a different configuration from that shown in FIG. 1 .
存储器104可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本发明实施例中的菜谱权限分享方法对应的计算机程序,处理器102通过运行存储在存储器104内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the recipe authority sharing method in the embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104 by running the computer program. Various functional applications and data processing are to realize the above-mentioned method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory that is remotely located relative to the processor 102, and these remote memories may be connected to the mobile terminal through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输设备106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端的通信供应商提供的无线网络。在一个实例中,传输 设备106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输设备106可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。 Transmission device 106 is used to receive or transmit data via a network. The specific example of the above network may include a wireless network provided by the communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet. In an example, the transmission device 106 may be a radio frequency (Radio Frequency, RF for short) module, which is used to communicate with the Internet in a wireless manner.
图2是根据本发明实施例的菜谱权限分享方法的流程图,如图2所示,该流程包括如下步骤:Fig. 2 is a flowchart of a recipe authority sharing method according to an embodiment of the present invention. As shown in Fig. 2, the process includes the following steps:
步骤S202,接收菜谱分享指令或菜谱分享请求,所述菜谱分享指令和菜谱分享请求包括分享方和被分享方信息;Step S202, receiving a recipe sharing instruction or a recipe sharing request, the recipe sharing instruction and recipe sharing request include the sharing party and the shared party information;
其中,在本实施例中,所述菜谱分享指令可以来自分享方,所述菜谱分享请求可以来自被分享方,当然,所述菜谱分享指令和菜谱分享请求还可以来自第三方。Wherein, in this embodiment, the recipe sharing instruction may come from the sharing party, and the recipe sharing request may come from the shared party. Of course, the recipe sharing instruction and recipe sharing request may also come from a third party.
步骤S204,根据所述菜谱分享指令或菜谱分享请求,将所述分享方拥有的菜谱权限共享或转移至所述被分享方,其中,所述菜谱权限包括菜谱的使用权限、使用次数和/或使用时长。Step S204, according to the recipe sharing instruction or recipe sharing request, share or transfer the recipe permission owned by the sharing party to the shared party, wherein the recipe permission includes the recipe usage permission, usage times and/or How long to use.
在本实施例的步骤S204中,还可以包括:根据所述菜谱分享指令或菜谱分享请求,将菜谱权限共享或转移至所述被分享方,包括以下之一:In step S204 of this embodiment, it may also include: sharing or transferring the recipe authority to the shared party according to the recipe sharing instruction or recipe sharing request, including one of the following:
在所述菜谱分享指令或菜谱分享请求中仅包括菜谱的使用权限,或包括菜谱的使用权限和使用次数N,并且所述使用次数N为零的情况下,仅将所述菜谱的使用权限共享给所述被分享方;When the recipe sharing instruction or recipe sharing request only includes the use authority of the recipe, or includes the use authority of the recipe and the number of times N, and the number of times N is zero, only the use authority of the recipe is shared to the shared party;
在所述菜谱分享指令或菜谱分享请求中包括菜谱的使用权限和使用次数N,并且所述使用次数N不为零的情况下,将所述菜谱的使用权限共享至所述被分享方,以及将N次在烹饪设备上使用所述菜谱进行烹饪的权限转移至所述被分享方;If the recipe sharing instruction or the recipe sharing request includes the recipe usage permission and usage times N, and the usage times N is not zero, sharing the recipe usage permission to the shared party, and Transferring the right to use the recipe for cooking on the cooking device N times to the shared party;
在所述菜谱分享指令或菜谱分享请求中仅包括菜谱的使用权限,并且所述分享方所拥有的菜谱权限为设定时长内不限使用次数的情况下,将所述分享方所述菜谱在剩余时长内的使用权限转移至被分享方。In the case that the recipe sharing instruction or recipe sharing request only includes the use authority of the recipe, and the recipe authority owned by the sharing party is an unlimited number of uses within a set period of time, the recipe described by the sharing party is in the The usage rights for the remaining period are transferred to the shared party.
在本实施例中,在仅将所述菜谱的使用权限共享给所述被分享方之后, 还可以包括:将所述分享方的账户与所述被分享方的账户绑定。In this embodiment, after only sharing the use authority of the recipe with the shared party, it may further include: binding the account of the sharing party with the account of the shared party.
在本实施例中,将所述分享方的账户与所述被分享方的账户绑定之前,还包括:接收所述被分享方发起的开启烹饪请求或账户绑定请求。In this embodiment, before binding the account of the sharing party and the account of the shared party, it further includes: receiving a cooking start request or an account binding request initiated by the shared party.
在本实施例中,在仅将所述菜谱的使用权限共享给所述被分享方之前,还包括:将所述分享方的账户与被分享方的账户进行绑定。In this embodiment, before only sharing the use authority of the recipe with the shared party, it further includes: binding the account of the sharing party with the account of the shared party.
在本实施例中,将所述分享方的账户与所述被分享方的账户绑定之后,还可以包括:In this embodiment, after binding the account of the sharing party and the account of the shared party, it may further include:
在所述分享方和被分享方均处于联网状态时,将所述被分享方的所述菜谱的已使用次数同步至所述被分享方,并根据所述被分享方的所述菜谱的已使用次数实时更新所述分享方的所述菜谱的已使用次数;和/或,When both the sharing party and the shared party are in a networked state, the number of times the recipe has been used by the shared party is synchronized to the shared party, and according to the number of times the recipe has been used by the shared party Updating the number of times the recipe has been used by the sharing party in real time; and/or,
在所述分享方或所述被分享方均处于断网状态时,在所述被分享方对所述菜谱的使用次数超出设置的阈值后,终止所述被分享方对所述菜谱的使用权限。When both the sharing party and the shared party are disconnected from the network, after the number of times the shared party uses the recipe exceeds a set threshold, terminate the shared party's right to use the recipe .
在本实施例中,在所述被分享方使用所述菜谱进行烹饪之前,还可以包括:所述分享方对来自所述被分享方的是否可以登陆烹饪设备使用所述菜谱进行烹饪的请求进行确认。In this embodiment, before the shared party uses the recipe to cook, it may also include: the sharing party requests from the shared party whether to log in to the cooking device to cook with the recipe confirm.
在本实施例中,还可以包括:所述分享方设置共享或转移至所述被分享方的所述菜谱的使用权限的范围,其中,所述菜谱的使用权限的范围包括查看加密信息和非加密信息的权限。In this embodiment, it may also include: the sharing party sets the scope of the use authority of the recipe shared or transferred to the shared party, wherein the scope of the use authority of the recipe includes viewing encrypted information and non- Permission to encrypt information.
通过本发明,根据分享方菜谱分享指令或被分享方菜谱分享请求,可将分享方拥有的菜谱使用权限、使用次数或使用时长共享或转移至所述被分享方。因此,可以解决不同用户之间不能进行电子菜谱共享的问题,达到分享方可根据情况按需共享电子菜谱的效果,提升了电子菜谱的使用体验。According to the present invention, according to the recipe sharing instruction of the sharing party or the recipe sharing request of the shared party, the recipe use authority, usage times or usage time owned by the sharing party can be shared or transferred to the shared party. Therefore, the problem that electronic recipes cannot be shared among different users can be solved, and the effect that sharing parties can share electronic recipes as needed according to the situation is achieved, and the use experience of electronic recipes is improved.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理 解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器/随机存取存储器(Read-Only Memory/Random Access Memory,ROM/RAM)、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present invention can be embodied in the form of software products in essence or in other words, the part that contributes to the prior art, and the computer software products are stored in a storage medium (such as read-only memory/random access In the memory (Read-Only Memory/Random Access Memory, ROM/RAM), magnetic disk, optical disk), several instructions are included in order to make a terminal equipment (can be mobile phone, computer, server, or network equipment etc.) carry out the present invention methods described in the various examples.
在本实施例中还提供了一种菜谱权限分享装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a recipe authority sharing device is also provided, which is used to implement the above embodiments and preferred implementation modes, and what has been explained will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
图3是根据本发明实施例的菜谱权限分享装置的结构框图,如图3所示,该装置包括:接收模块10和共享模块20。FIG. 3 is a structural block diagram of a recipe authority sharing device according to an embodiment of the present invention. As shown in FIG. 3 , the device includes: a receiving module 10 and a sharing module 20 .
接收模块10,设置为接收菜谱分享指令或菜谱分享请求,所述菜谱分享指令和菜谱分享请求包括分享方和被分享方信息;The receiving module 10 is configured to receive a recipe sharing instruction or a recipe sharing request, and the recipe sharing instruction and recipe sharing request include sharing party and shared party information;
共享模块20,设置为根据所述菜谱分享指令或菜谱分享请求,将所述分享方拥有的菜谱权限共享或转移至所述被分享方,其中,所述菜谱权限包括菜谱的使用权限、使用次数和/或使用时长。The sharing module 20 is configured to share or transfer the recipe authority owned by the sharing party to the shared party according to the recipe sharing instruction or the recipe sharing request, wherein the recipe authority includes the use authority and the number of times of use of the recipe and/or duration of use.
图4是根据本发明另一实施例的菜谱权限分享装置的结构框图,如图4所示,该装置除包括图3所示的所有模块外,所述共享模块20还包括至少以下之一:Fig. 4 is a structural block diagram of a recipe authority sharing device according to another embodiment of the present invention. As shown in Fig. 4, in addition to all the modules shown in Fig. 3, the sharing module 20 also includes at least one of the following:
第一共享单元21,设置为在所述菜谱分享指令或菜谱分享请求中仅包括菜谱的使用权限,或包括菜谱的使用权限和使用次数N,并且所述使用次数N为零的情况下,仅将所述菜谱的使用权限共享给所述被分享方;The first sharing unit 21 is configured to only include the use authority of the recipe in the recipe sharing instruction or the recipe sharing request, or include the use authority and the number of times N of the recipe, and when the number of times N is zero, only Share the use authority of the recipe with the shared party;
第二共享单元22,设置为在所述菜谱分享指令或菜谱分享请求中包括菜谱的使用权限和使用次数N,并且所述使用次数N不为零的情况下,将所述菜谱的使用权限共享至所述被分享方,以及将N次在烹饪设备上使用 所述菜谱进行烹饪的权限转移至所述被分享方;The second sharing unit 22 is configured to share the use authority of the recipe when the recipe sharing instruction or the recipe sharing request includes the use authority and the use number N of the recipe, and the number of use N is not zero. to the shared party, and transfer the right to use the recipe for cooking on the cooking device N times to the shared party;
第三共享单元23,设置为在所述菜谱分享指令或菜谱分享请求中仅包括菜谱的使用权限,并且所述分享方所拥有的菜谱权限为设定时长内不限使用次数的情况下,将所述分享方所述菜谱在剩余时长内的使用权限转移至被分享方。The third sharing unit 23 is configured to include only the use authority of the recipe in the recipe sharing instruction or the recipe sharing request, and when the recipe authority owned by the sharing party is an unlimited number of times of use within a set duration, the The right to use the recipe described by the sharing party within the remaining duration is transferred to the shared party.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。为了便于对本发明所提供的技术方案的理解,下面将结合具体场景的实施例进行详细描述。It should be noted that the above-mentioned modules can be realized by software or hardware. For the latter, it can be realized by the following methods, but not limited to this: the above-mentioned modules are all located in the same processor; or, the above-mentioned modules can be combined in any combination The forms of are located in different processors. In order to facilitate the understanding of the technical solutions provided by the present invention, the following will describe in detail in conjunction with embodiments of specific scenarios.
在一示例性实施例中,A用户拥有电子菜谱1的使用权限和使用次数,可以选择仅将电子菜谱的使用权限转移给B用户。In an exemplary embodiment, user A has the use authority and the number of times of use of the electronic recipe 1, and can choose to transfer only the use authority of the electronic recipe to user B.
具体地,A用户拥有电子菜谱1的使用权限和使用次数(也可不包括使用次数),根据B用户的请求或A用户的输入指令,将A用户的菜谱使用权限和使用次数(可设置使用次数为0)共享给B用户,B用户的请求指令必须包含菜谱的使用权限,使用次数可以设置为0,这种情况下,B用户获得菜谱1的使用权限,并且与A用户对该菜谱的使用权限一致,例如可以自由查看菜谱任何一部分内容,包括加密信息和非加密信息,但因不具有使用次数权限而不能直接进行烹饪。进一步地,在本实施例中,在B用户使用次数为0的情况下,接收到B用户开启烹饪的指令或者接收到B用户的绑定请求,可以使B用户成为A用户的子账户(主副方式),或A和B两用户进行绑定,如此,B用户的使用记录在联网状态下可同步到A用户账户中,同时A用户的使用次数进行实时更新。Specifically, user A has the use authority and the number of times of use of the electronic recipe 1 (the number of times of use may not be included). is 0) shared with user B, the request command of user B must include the permission to use the recipe, and the number of times of use can be set to 0. The permissions are consistent, for example, you can freely view any part of the recipe, including encrypted information and non-encrypted information, but you cannot directly cook because you do not have the permission to use the number of times. Furthermore, in this embodiment, when user B’s use times is 0, user B can be made a sub-account of user A (primary Secondary mode), or bind users A and B, in this way, the use records of user B can be synchronized to the account of user A in the networked state, and the number of times of use of user A will be updated in real time.
在本实施例中,由于A、B用户绑定,B用户共享A用户的使用次数,实时更新A用户的使用次数,则需要A、B用户都处于联网状态,一旦一个用户断网,就无法实现更新A用户使用次数的目的,为此,在本实施例中,可以在烹饪设备端设置一个使用次数阈值,该阈值可以是A用户拥有 的该菜谱1的全部使用次数,在用户B处于断网状态下,判断用户B断网使用次数超过阈值后,停止用户B的使用次数权限或者提醒用户B联网交费。In this embodiment, due to the binding of users A and B, user B shares the number of times used by user A and updates the number of times used by user A in real time. Both users A and B need to be connected to the Internet. Once a user is disconnected from the network, it cannot To achieve the purpose of updating user A’s usage times, for this reason, in this embodiment, a threshold value of usage times can be set on the cooking device side, which can be the total usage times of the recipe 1 owned by user A. In the network state, after it is judged that the number of times of user B disconnected from the network exceeds the threshold, the user B's usage number permission will be stopped or user B will be reminded to pay the online fee.
在本实施例中,为了避免用户A、B主副形式绑定时菜谱1在多个离线设备上使用,用户B登录烹饪设备时需要用户A的在线确认,用户A确认后用户B才能开始烹饪。In this embodiment, in order to avoid the use of recipe 1 on multiple offline devices when users A and B are bound in the primary and secondary forms, user B needs to confirm online when user A logs in to the cooking device, and user B can start cooking only after user A confirms .
在本实施例中,在基于菜谱进行烹饪的过程中,对于核心关键步骤可以进行信息隐藏,只显示与用户相关的烹饪动作或参数等,以对菜谱内容进行保密,避免他人破解菜谱。进一步地,用户B的菜谱使用权限大小可由A用户赋予,例如,共享时,A用户设定B用户拥有菜谱1的使用权限仅限于部分非核心步骤的查看权限,以及在该不完整的使用权限的基础上使用菜谱进行烹饪的权限(使用次数权限)。In this embodiment, in the process of cooking based on the recipe, information can be hidden for the core key steps, and only the cooking actions or parameters related to the user are displayed, so as to keep the contents of the recipe confidential and prevent others from deciphering the recipe. Further, user B's recipe use authority can be given by user A. For example, when sharing, user A sets that user B's use authority of recipe 1 is limited to the viewing authority of some non-core steps, and the incomplete use authority The permission to use recipes for cooking (permission to use the number of times) based on the
在一个示例性实施例中,A用户拥有电子菜谱1的使用权限和使用次数,将菜谱使用权限和使用次数转移给B用户。In an exemplary embodiment, user A has the usage authority and usage times of electronic recipe 1, and transfers the recipe usage permission and usage times to user B.
在本实施例中,B用户的请求或A用户的输入指令中可同时包含使用权限和使用次数。这种情况下,B用户获得菜谱的使用权限和使用次数,A用户转移菜谱的使用权限和使用次数后,相对应地更新其账户中的使用次数,同时B用户获取该菜谱的使用权限和次数后,可成为独立结算账户,即B用户的使用次数更新在B用户的账户中,无需如上述实施例中的A用户和B用户还需要共同连接云端才能更新A用户的使用次数。In this embodiment, the user B's request or the user A's input instruction may include both the use authority and the number of times of use. In this case, user B obtains the usage authority and usage times of the recipe, and after user A transfers the usage permission and usage times of the recipe, he updates the usage times in his account accordingly, and at the same time, user B obtains the usage permission and times of the recipe Afterwards, it can become an independent settlement account, that is, the usage times of user B are updated in the account of user B, and users A and B do not need to connect to the cloud together to update the usage times of user A as in the above embodiment.
在一个示例性实施例中,如果A用户拥有的是包月包年等形式的菜谱权限,即A用户具有菜谱使用权限,A用户在一定时间内可以任意使用菜谱且不设定使用次数。In an exemplary embodiment, if user A has the recipe authority in the form of monthly subscription or annual subscription, that is, user A has the authority to use the recipe, and user A can use the recipe arbitrarily within a certain period of time without setting the number of times of use.
在上述情况下授权给B用户后,A用户不再具有使用权限,即使用权限和使用时长均转移给B用户。具体的,使用时长具体的是指A用户的剩余使用时长,例如,A用户购买了包月电子菜谱,使用日期2020.5.12-2020.6.12,如果转移发生的日期是2020.6.1,则剩余使用时长 12天转移至B用户。After authorization to user B under the above circumstances, user A no longer has the right to use, that is, the right to use and the duration of use are transferred to user B. Specifically, the usage time specifically refers to the remaining usage time of user A. For example, user A purchased a monthly subscription electronic cookbook with a usage date of 2020.5.12-2020.6.12. If the date of transfer is 2020.6.1, the remaining usage 12 days to transfer to user B.
在一个示例性实施例中,菜谱权限转移的触发方式可以包括:基于用户A和用户B拥有相同的身份信息启动上述实施例的权限分享,身份信息包括姓名、身份证号、商家ID等的一种或多种。例如,系统检测到用户A和用户B的商家身份信息是相同的,则跳出是否将这两个账户绑定或共享的提示,如果用户确认绑定或共享两个账户,则可以将用户A和用户B之间的菜谱权限进行共享使用,所述共享使用包括几种情况,第一种是用户之间相互共享的情况,即A用户可以共享B用户的菜谱权限,第二种是A用户可以共享B用户的菜谱权限,B用户不能共享A用户的菜谱权限,第三种是A用户不能共享B用户的菜谱权限,B用户可以共享A用户的菜谱权限,其中第二种和第三种情况均为单向共享的情形。通过基于不同的用户拥有相同的身份信息进行共享解决了同一商家拥有多个账户/用户时,各账户/用户之间不能进行电子菜谱共享的问题。In an exemplary embodiment, the method of triggering the recipe authority transfer may include: starting the authority sharing in the above embodiment based on user A and user B having the same identity information, the identity information includes name, ID number, merchant ID, etc. one or more species. For example, if the system detects that the merchant identity information of user A and user B are the same, a prompt will pop up whether to bind or share the two accounts. If the user confirms the binding or sharing of the two accounts, user A and user B can be linked The recipe authority between users B is shared and used. The shared use includes several situations. The first is the situation where users share with each other, that is, user A can share the recipe authority of user B, and the second is that user A can share Share the recipe permission of user B, user B cannot share the recipe permission of user A, the third is that user A cannot share the recipe permission of user B, user B can share the recipe permission of user A, the second and third cases Both are one-way sharing situations. By sharing based on different users having the same identity information, the problem that electronic recipes cannot be shared between accounts/users when the same merchant has multiple accounts/users is solved.
在一个示例性实施例中,菜谱权限转移的触发方式还可以包括:基于用户A和用户B拥有关联关系启动上述实施例的权限分享,所述关联关系可以是根据用户A和用户B自身属性产生的,例如用户A的拥有者a和用户B的拥有者b具有某种关联关系;所述关联关系也可以是人为设定的。通过基于不同用户之间的关联关系进行共享解决了关联用户之间不能进行菜谱共享的问题。In an exemplary embodiment, the method of triggering the transfer of recipe authority may also include: starting the authority sharing in the above embodiment based on the association relationship between user A and user B, the association relationship may be generated according to the attributes of user A and user B For example, owner a of user A and owner b of user B have a certain relationship; the relationship may also be artificially set. The problem that recipes cannot be shared between associated users is solved by sharing based on the association relationship between different users.
在本实施例中还提供了一种电子菜谱的使用方法,如图5所示,该方法包括:In this embodiment, a method for using an electronic recipe is also provided, as shown in Figure 5, the method includes:
步骤S501,接收目标电子菜谱的待兑换数据;Step S501, receiving data to be exchanged for the target electronic recipe;
步骤S502,确定所述目标电子菜谱对应的第一兑换资源;Step S502, determining the first exchange resource corresponding to the target electronic recipe;
步骤S503,依据所述第一兑换资源以及所述待兑换数据,生成所述目标电子菜谱的兑换订单。Step S503, generating an exchange order for the target electronic recipe according to the first exchange resource and the data to be exchanged.
在本发明实施例中,通过资源兑换的方式代替目前的免费提供或赠送电子菜谱的方式,用户可以利用自己的闲置或充足的资源去兑换对于该用 户来说缺少的电子菜谱,电子菜谱的创作者可以通过授权他人使用菜谱而获得相应的资源,实现鼓励电子菜谱创作者的创作热情,进而推动智能烹饪技术领域的发展。In the embodiment of the present invention, the current way of providing free or giving electronic recipes is replaced by resource exchange, and users can use their own idle or sufficient resources to exchange electronic recipes that are lacking for the user. The creation of electronic recipes Authors can obtain corresponding resources by authorizing others to use recipes, so as to encourage the creative enthusiasm of creators of electronic recipes, and then promote the development of smart cooking technology.
在上述实施例中,目标电子菜谱的待兑换数据具体是指,用于指示反应用户对目标电子菜谱产生兑换意图的数据,待兑换数据可以是直接的对目标电子菜谱使用权的购买数据(或通过资源交换、资源兑换的方式获取目标电子菜谱使用权的操作数据),待兑换数据也可以是间接的反应出用户想要获取目标电子菜谱使用权的信号。在实际应用场景中,待兑换数据可以为用户计划使用或者已经确认使用目标电子菜谱的信号或者已经使用的目标电子菜谱的信息,例如用户选择运行或计划运行目标电子菜谱的信号,待兑换数据也可以为用户选择运行或即将运行目标电子菜谱的操作信号,例如用户选择购买目标电子菜谱使用权的操作,例如用户先使用了电子菜谱,再将已经使用的电子菜谱的使用数据进行付费的操作。In the above-mentioned embodiments, the data to be exchanged for the target electronic recipe specifically refers to the data used to indicate the user's exchange intention for the target electronic recipe, and the data to be exchanged may be direct purchase data (or Obtain the operation data of the right to use the target electronic recipe by means of resource exchange and resource redemption), and the data to be exchanged can also indirectly reflect the signal that the user wants to obtain the right to use the target electronic recipe. In practical application scenarios, the data to be redeemed can be the signal that the user plans to use or has confirmed the use of the target electronic recipe, or the information of the target electronic recipe that has been used, such as the signal that the user chooses to run or plans to run the target electronic recipe, and the data to be redeemed is also It can be an operation signal for the user to choose to run or is about to run the target electronic recipe, for example, the operation that the user chooses to purchase the right to use the target electronic recipe, for example, the user uses the electronic recipe first, and then pays for the usage data of the electronic recipe that has been used.
接收目标电子菜谱的待兑换数据之后,确定兑换该目标电子菜谱所需的第一兑换资源,例如目标电子菜谱需要2个积分或2元钱兑换,那么可以生成目标电子菜谱的兑换订单,进而在对该兑换订单进行结算后,可以将订单范围内的目标电子菜谱的使用权限分配给用户。其中,兑换订单可直接结算给目标电子菜谱的创作者,也可以通过电子菜谱平台为媒介,订单与平台进行结算后,平台再与创作者结算。After receiving the redemption data of the target electronic recipe, determine the first redemption resource needed to redeem the target electronic recipe. For example, the target electronic recipe needs 2 credits or 2 yuan for redemption, then an exchange order for the target electronic recipe can be generated, and then in After the exchange order is settled, the usage authority of the target electronic recipe within the scope of the order can be assigned to the user. Among them, the exchange order can be directly settled to the creator of the target electronic recipe, or the electronic recipe platform can be used as the medium. After the order is settled with the platform, the platform will then settle with the creator.
在实际应用场景中,用户可以先购买电子菜谱的使用次数,再使用电子菜谱进行烹饪,例如,待兑换数据为用户选择购买目标电子菜谱使用权的操作时,用户选择购买电子菜谱A的100次的使用权限,接收电子菜谱A 100次的使用权限这一待兑换数据后,确定该菜谱A所需的第一兑换资源为菜谱A使用一次需要1元钱,则根据待兑换数据和第一兑换资源生成订单为菜谱A 100次使用权限需要支付100元。In practical application scenarios, users can first purchase the number of times to use the electronic recipe, and then use the electronic recipe for cooking. For example, when the data to be exchanged is the user’s choice to purchase the right to use the target electronic recipe, the user chooses to purchase 100 times of electronic recipe A After receiving the redemption data of the electronic recipe A’s 100-time use right, it is determined that the first redemption resource required by the recipe A is that recipe A needs 1 yuan for one use, then according to the data to be redempted and the first redemption The resource generation order is Recipe A 100 usage rights need to pay 100 yuan.
实际应用场景中,用户可以在运行电子菜谱的同时进行计费,例如,待兑换数据可以为用户选择运行或即将运行目标电子菜谱的操作信号时, 用户选择电子菜谱A,点击运行,运行电子菜谱的同时发起计费,确定该菜谱A所需的第一兑换资源为菜谱A使用一次需要1元钱,根据待兑换数据和第一兑换资源生成订单。In practical application scenarios, the user can perform billing while running the electronic recipe. For example, when the data to be exchanged can be an operation signal for the user to choose to run or is about to run the target electronic recipe, the user selects electronic recipe A and clicks Run to run the electronic recipe At the same time, the billing is initiated, and the first exchange resource required by the recipe A is determined to be 1 yuan for one use of the recipe A, and the order is generated according to the data to be exchanged and the first exchange resource.
在实际应用场景中,可以赋予用户先使用电子菜谱后计费的模式,如使用次数满足一定阈值时再一次性计费,或者在每天的一个固定时间对当天产生的运行次数进行一次性计费操作,或者使用时间满足一定阈值时再一次性计费,此时,待兑换数据也可以是电子菜谱的运行数据,如一段时间内,一个烹饪设备运行某一电子菜谱次数的数据,烹饪设备将该运行次数数据上传至云端,云端根据该接收到的数据生成订单和结算。例如,在每天的一个固定时间对当天产生的运行次数进行一次性计费操作的情形下,商家的一个烹饪设备一天中运行菜谱A 50次,菜谱B运行100次,在夜晚设备闲置不用时(例如夜晚0点),烹饪设备联网状态下,将当天的运行菜谱A 50次、菜谱B运行100次的烹饪数据上传至云端,云端根据接收到的该数据以及第一兑换资源生成订单,其中菜谱A 50次的烹饪记录和菜谱B运行100次的烹饪记录可以合并为一个订单结算,也可以分开两个订单结算,在此不做限定。再例如,电子菜谱使用次数满足一定阈值时再一次性计费的情形下,设备可以设置一个计数器,检测到设备使用次数达到某一值,烹饪设备自动上传烹饪记录至云端,云端根据烹饪记录和第一兑换资源进行结算。再例如,使用时间满足一定阈值时再一次性计费的情形,烹饪设备可以设置计时器,记录电子菜谱的使用时间到达一个月的期限,自动发起计费,电子菜谱的使用时间,具体的,可以由烹饪设备进行记录,满足时间期限后,设备主动向云端上传数据发起结算,也可以是由云端记录期限,满足时间期限后,由云端向烹饪设备发起计费请求,对具体的实现方式不做限制。In practical application scenarios, users can be given a mode of billing after using the electronic recipe first, such as one-time billing when the number of times of use meets a certain threshold, or one-time billing for the number of operations generated on the day at a fixed time every day Operation, or one-time billing when the usage time meets a certain threshold. At this time, the data to be exchanged can also be the operation data of the electronic recipe. The running times data is uploaded to the cloud, and the cloud generates orders and settlements based on the received data. For example, in the case of a one-time billing operation for the number of operations generated on the day at a fixed time every day, a cooking device of the merchant runs recipe A 50 times a day, recipe B runs 100 times, and when the equipment is idle at night ( For example, at 0 o'clock at night), when the cooking equipment is connected to the Internet, upload the cooking data of recipe A 50 times and recipe B 100 times to the cloud, and the cloud generates orders based on the received data and the first redemption resource. The 50 cooking records of A and the 100 cooking records of recipe B can be combined into one order settlement, or can be separated into two order settlements, which is not limited here. For another example, in the case of one-time billing when the number of times the electronic recipe is used meets a certain threshold, the device can set a counter to detect that the number of times the device has been used reaches a certain value, and the cooking device will automatically upload the cooking record to the cloud. First exchange resources for settlement. For another example, when the usage time meets a certain threshold and then one-time billing, the cooking device can set a timer to record the usage time of the electronic recipes up to a one-month period, and automatically initiate billing. The usage time of the electronic recipes, specifically, It can be recorded by the cooking device. After the time limit is met, the device actively uploads data to the cloud to initiate settlement. It can also be recorded by the cloud. After the time limit is met, the cloud initiates a billing request to the cooking device. The specific implementation method is different. Do limit.
可选的,菜谱的结算处理方法可以是在设备运行的运行数据上传到云端后,同时把运行记录生成记录号,等结算发起时,直接更新某几行的数据而不是重新插入重新生成订单号,这种方式可以提高结算效率。例如,菜谱运行费的业务定时结算的情况下,可以在设备上传运行数据时,插入 运行记录,然后当每天0点的时候,只需要查询一下当前未结算的运行记录,生成订单,把已经在数据库的记录的订单ID字段更新一下就好了。Optionally, the settlement processing method of the recipe can be to generate a record number from the operation record at the same time after the operation data of the equipment is uploaded to the cloud, and when the settlement is initiated, directly update the data of certain lines instead of reinserting and regenerating the order number , which can improve settlement efficiency. For example, in the case of regular settlement of the recipe operation fee, you can insert the operation record when the device uploads the operation data, and then at 0:00 every day, you only need to query the current unsettled operation records, generate an order, and put the Just update the order ID field of the database record.
通过应用本实施例的技术方案,接收目标电子菜谱的待兑换数据,并确定兑换该目标电子菜谱所需的第一兑换资源,从而基于待兑换数据以及第一兑换资源,生成对该目标电子菜谱的兑换订单。本发明实施例解决了现有技术中存在的电子菜谱体系不完善的问题,通过生成目标电子菜谱的兑换订单,以便进行订单结算,有助于提升创作者对电子菜谱的创作热情,提高电子菜谱的品质。By applying the technical solution of this embodiment, the data to be exchanged of the target electronic recipe is received, and the first exchange resource required to exchange the target electronic recipe is determined, so that the target electronic recipe is generated based on the data to be exchanged and the first exchange resource exchange order. The embodiment of the present invention solves the problem of imperfect electronic recipe system in the prior art. By generating the exchange order of the target electronic recipe for order settlement, it is helpful to enhance the author's enthusiasm for creating electronic recipes and improve the electronic recipe. quality.
在本发明实施例中,可选地,所述待兑换数据包括对所述目标电子菜谱的兑换次数,所述第一兑换资源包括所述目标电子菜谱对应的单次兑换资源;步骤103之后,还可以包括:向所述目标电子菜谱对应的账户信息分配所述目标电子菜谱的可用次数,其中,所述可用次数可被分配至所述账户信息对应的至少一个烹饪设备中,以使所述至少一个烹饪设备按分配次数运行所述目标电子菜谱,所述至少一个烹饪设备对应的分配次数的总和小于或等于所述可用次数。In the embodiment of the present invention, optionally, the data to be redeemed includes the number of times of redemption for the target electronic recipe, and the first redemption resource includes a single redemption resource corresponding to the target electronic recipe; after step 103, It may also include: assigning the available times of the target electronic recipe to the account information corresponding to the target electronic recipe, wherein the available times may be allocated to at least one cooking device corresponding to the account information, so that the At least one cooking device runs the target electronic recipe according to the distribution times, and the sum of the distribution times corresponding to the at least one cooking device is less than or equal to the available times.
在该实施例中,待兑换数据可以包括用户设置的目标电子菜谱的兑换次数,相应地,在待兑换数据为兑换次数时,第一兑换资源可以为使用目标电子菜谱一次所需的兑换资源,即单次兑换资源。进而生成兑换订单,并对订单进行结算之后,可以向用户的账户中分配用户对该目标电子菜谱的可用次数,例如用户购买了对目标电子菜谱的100次使用权限,在进行订单结算后,可以向用户账户内分配该目标电子菜谱的100次可用次数。用户可以将自己账户下目标电子菜谱可用次数,分配到一个或多个烹饪设备中,用户可以任意设置各烹饪设备的可用次数,总和不超过用户对该目标电子菜谱的可用次数总数即可。In this embodiment, the data to be redeemed may include the number of redemptions of the target electronic recipe set by the user. Correspondingly, when the data to be redeemed is the number of redemptions, the first redemption resource may be the redemption resource required to use the target electronic recipe once, That is, a single exchange of resources. Then generate an exchange order, and after the order is settled, the number of times the user can use the target electronic recipe can be allocated to the user's account. For example, the user has purchased 100 usage rights for the target electronic recipe. Allocate 100 available times of the target electronic recipe to the user account. The user can allocate the available times of the target electronic recipe under his account to one or more cooking devices, and the user can arbitrarily set the available times of each cooking device, and the sum does not exceed the total number of available times of the target electronic recipe.
进一步的,作为上述实施例具体实施方式的细化和扩展,为了完整说明本实施例的具体实施过程,提供了另一种电子菜谱的使用方法,如图6所示,该方法包括:Further, as a refinement and expansion of the specific implementation of the above embodiment, in order to fully describe the specific implementation process of this embodiment, another method for using an electronic recipe is provided, as shown in Figure 6, the method includes:
步骤S501,接收目标电子菜谱的获取指令,其中,所述获取指令包括所述目标电子菜谱的账户信息;Step S501, receiving an acquisition instruction of the target electronic recipe, wherein the acquisition instruction includes the account information of the target electronic recipe;
步骤S502,按所述目标电子菜谱对应的第二兑换资源,对所述账户信息对应的任一目标结算账户进行结算,以使所述账户信息下包含所述目标电子菜谱,其中,所述目标电子菜谱在烹饪设备上的运行条件包括所述烹饪设备登录的所述账户信息下包含所述目标电子菜谱。Step S502: Settle any target settlement account corresponding to the account information according to the second exchange resource corresponding to the target electronic recipe, so that the account information includes the target electronic recipe, wherein the target The operating condition of the electronic recipe on the cooking device includes that the target electronic recipe is included under the account information logged in by the cooking device.
在本发明实施例中,获取目标电子菜谱的使用资格具体可以分为两个阶段,第一阶段为目标电子菜谱商品本身的收费,即获取阶段,第二阶段为目标电子菜谱的使用收费,即使用阶段。在以获取了目标电子菜谱的前提下,才可以使用该菜谱,即目标电子菜谱在烹饪设备上的运行条件包括烹饪设备的登录账户内包含目标电子菜谱。在第一阶段中,接收目标电子菜谱的获取指令,指令中携带有用于表征目标电子菜谱的账户信息的数据,从而菜谱管理平台可以基于该指令,按照目标电子菜谱对应的第二兑换资源,进行结算,具体可以对账户信息对应的任意的目标结算账户进行结算,例如在用户的余额账户中扣除相应的资金,或者对用户绑定的微信、支付宝等账户进行结算。In the embodiment of the present invention, obtaining the qualifications for using the target electronic recipe can be specifically divided into two stages. The first stage is the charging of the target electronic recipe product itself, that is, the acquisition stage, and the second stage is charging for the use of the target electronic recipe, namely use stage. The recipe can only be used on the premise that the target electronic recipe has been obtained, that is, the operation condition of the target electronic recipe on the cooking device includes that the login account of the cooking device contains the target electronic recipe. In the first stage, the acquisition instruction of the target electronic recipe is received, and the instruction carries the data used to characterize the account information of the target electronic recipe, so that the recipe management platform can based on the instruction, according to the second exchange resource corresponding to the target electronic recipe. Settlement, specifically, settlement can be performed on any target settlement account corresponding to the account information, such as deducting the corresponding funds from the user's balance account, or performing settlement on the WeChat, Alipay and other accounts bound by the user.
可选地,步骤S502具体可以包括:Optionally, step S502 may specifically include:
步骤S502-1,若所述获取指令包括待兑换电子菜谱,且所述待兑换电子菜谱与所述第二兑换资源等价,则将所述账户信息中的所述待兑换电子菜谱兑换为所述目标电子菜谱,其中,所述目标电子菜谱至少为所述待兑换电子菜谱对应的可兑换资源之一。Step S502-1, if the acquisition instruction includes the electronic recipe to be redeemed, and the electronic recipe to be redeemed is equivalent to the second exchange resource, then exchange the electronic recipe to be redeemed in the account information into the The target electronic recipe, wherein the target electronic recipe is at least one of the redeemable resources corresponding to the electronic recipe to be redeemed.
步骤S502-2,若所述获取指令包括待兑换电子菜谱,且所述待兑换电子菜谱与所述第二兑换资源不等价,则依据所述第二兑换资源以及所述待兑换电子菜谱对应的可兑换资源,对所述账户信息对应的任一目标结算账户进行结算,并将所述账户信息中的所述待兑换电子菜谱兑换为所述目标电子菜谱,其中,所述目标电子菜谱至少为所述可兑换资源之一。Step S502-2, if the acquisition instruction includes the electronic recipe to be redeemed, and the electronic recipe to be redeemed is not equivalent to the second exchange resource, then according to the correspondence between the second exchange resource and the electronic recipe to be exchanged The convertible resource of the account information is settled for any target settlement account corresponding to the account information, and the electronic recipe to be redeemed in the account information is converted into the target electronic recipe, wherein the target electronic recipe is at least is one of the redeemable resources.
步骤S502-3,若所述获取指令包括待交换对象账户信息以及待交换电 子菜谱,则在待交换对象确认的情况下,对所述待交换对象账户中的所述目标电子菜谱与当前账户中的所述待交换电子菜谱进行交换。Step S502-3, if the acquisition instruction includes the account information of the target to be exchanged and the electronic recipe to be exchanged, in the case of the confirmation of the target to be exchanged, the target electronic recipe in the account to be exchanged and the electronic recipe in the current account The electronic recipes to be exchanged are exchanged.
其中,菜谱的兑换具体是指用户和平台之间进行菜谱交易,菜谱的交换具体是指用户和用户之间进行菜谱交易。Among them, the exchange of recipes specifically refers to the transaction of recipes between users and the platform, and the exchange of recipes specifically refers to the transaction of recipes between users.
在菜谱兑换场景中,如果获取指令包括待兑换电子菜谱,且该待兑换电子菜谱与目标电子菜谱的兑换资源等价,例如待兑换电子菜谱与目标电子菜谱的售价相同,那么可以将该账户内的待兑换电子菜谱兑换为目标电子菜谱,例如将用户已有的价值10积分的菜谱A兑换为价值10积分的菜谱B,菜谱A被兑换后,即从用户的账户内消失,用户如果再想使用菜谱A,需要重新获取。如果获取指令包括待兑换电子菜谱,但是该待兑换电子菜谱与目标电子菜谱的兑换资源不等价,可以通过多退少补的方式对用户账户进行结算,例如将用户已有的价值10积分的菜谱A以及账户内的5积分兑换为价值15积分的菜谱C。In the recipe exchange scenario, if the acquisition instruction includes the electronic recipe to be exchanged, and the exchange resources of the electronic recipe to be exchanged and the target electronic recipe are equivalent, for example, the price of the electronic menu to be exchanged is the same as that of the target electronic The electronic recipe to be redeemed in the system is converted into the target electronic recipe. For example, if the user’s existing recipe A worth 10 points is exchanged for recipe B worth 10 points, after the recipe A is redeemed, it will disappear from the user’s account. If you want to use recipe A, you need to obtain it again. If the acquisition instruction includes the electronic recipe to be redeemed, but the exchange resource of the electronic recipe to be redeemed is not equivalent to the target electronic recipe, the user account can be settled by refunding more and making up less, for example, the value of 10 points that the user already has Recipe A and 5 points in the account are exchanged for recipe C worth 15 points.
在菜谱交换场景中,根据获取指令中的待交换对象账号信息以及发送获取指令的当前用户账户内的待交换电子菜谱,进行电子菜谱的交换,具体在待交换对象确认的情况下,将当前用户账户中的待交换电子菜谱,与待交换对象账户中的目标电子菜谱进行交换,用户之间的菜谱交换行为可以不对交换的菜谱是否等价进行约束,例如将用户A账户中的菜谱A与用户B账户中的菜谱D进行交换,菜谱A与菜谱D各自的兑换资源可以等价,也可以不等价。In the recipe exchange scenario, the exchange of electronic recipes is carried out according to the account information of the target to be exchanged in the acquisition instruction and the electronic recipe to be exchanged in the account of the current user who sent the command. Specifically, when the target to be exchanged is confirmed, the current user The electronic recipes to be exchanged in the account are exchanged with the target electronic recipes in the account to be exchanged. The recipe exchange behavior between users may not be restricted on whether the exchanged recipes are equivalent. For example, the recipe A in the account of user A and the user Recipe D in Account B is exchanged, and the exchange resources of Recipe A and Recipe D may or may not be equivalent.
步骤S503,接收目标电子菜谱的运行数据;Step S503, receiving the operation data of the target electronic recipe;
可选地,所述待兑换数据包括运行数据,所述运行数据包括运行确认数据、运行启动数据、运行结束数据中至少一种,所述运行确认数据基于对所述目标电子菜谱的执行确认操作产生,所述运行启动数据基于所述目标电子菜谱中第一个步骤的开始运行信号产生,所述运行结束数据基于所述目标电子菜谱的结束运行信号产生,所述运行结束数据包括所述目标电子菜谱的运行记录。Optionally, the data to be exchanged includes operation data, the operation data includes at least one of operation confirmation data, operation start data, and operation end data, and the operation confirmation data is based on the execution confirmation operation of the target electronic recipe Generated, the operation start data is generated based on the start operation signal of the first step in the target electronic recipe, the operation end data is generated based on the end operation signal of the target electronic recipe, and the operation end data includes the target Operation records of electronic recipes.
其中,目标电子菜谱的运行数据用于表征用户对目标电子菜谱的使用意图,运行数据可以为确认数据,例如用户在烹饪设备上点击目标电子菜谱的执行按钮的这一动作产生的信号;运行数据还可以为运行启动数据,例如用户在烹饪设备登录后,选择执行自身账户内的某个目标电子菜谱后,该菜谱的第一个步骤被执行时所产生的信号;运行数据还可以为运行结束数据,该运行结束数据基于目标电子菜谱在烹饪设备上运行结束信号产生,具体可以包括目标电子菜谱已运行的步骤,或者目标电子菜谱运行的最后一个步骤等信息。Wherein, the operating data of the target electronic recipe is used to represent the user’s intention to use the target electronic recipe, and the operating data may be confirmation data, such as the signal generated by the action of the user clicking the execution button of the target electronic recipe on the cooking device; the operating data It can also be the start data of the operation, such as the signal generated when the first step of the recipe is executed after the user chooses to execute a certain target electronic recipe in his own account after logging in the cooking device; the operation data can also be the end of the operation Data, the running end data is generated based on the running end signal of the target electronic recipe on the cooking device, and may specifically include information such as steps that the target electronic recipe has run, or the last step that the target electronic recipe has run.
步骤S504,确定所述目标电子菜谱对应的第一兑换资源;Step S504, determining the first exchange resource corresponding to the target electronic recipe;
步骤S505,确定所述账户信息对应的任一目标结算账户,并获取所述目标结算账户对应的所述目标电子菜谱的目标使用模式;Step S505, determining any target settlement account corresponding to the account information, and obtaining the target usage pattern of the target electronic recipe corresponding to the target settlement account;
步骤S506,若所述目标使用模式为计次模式,则依据所述第一兑换资源以及所述运行数据,生成所述目标电子菜谱的兑换订单;Step S506, if the target usage mode is counting mode, generate an exchange order for the target electronic recipe according to the first exchange resource and the operation data;
步骤S507,若所述目标使用模式为计时模式,则判断当前时间是否属于所述计时模式对应的时间范围内,并在不属于时,依据所述第一兑换资源以及所述运行数据,生成所述目标电子菜谱的兑换订单。Step S507, if the target usage mode is the timekeeping mode, then judge whether the current time belongs to the time range corresponding to the timekeeping mode, and if not, according to the first exchange resource and the operation data, generate the Exchange orders for the target electronic recipes.
在步骤S504至步骤S507中,用户获取目标电子菜谱至账户时,还可以同时设定对目标电子菜谱的目标使用模式,使用模式具体可以包括计次模式和计时模式两种,计次模式即限定目标电子菜谱的使用次数,计时模式即限定目标电子菜谱的可用时间。接收目标电子菜谱的运行数据后,可以根据用户账户内目标电子菜谱对应的目标使用模式,生成兑换订单。具体的,如果目标使用模式为计次模式,那么可以生成包含扣除目标电子菜谱的使用次数、以及分配目标电子菜谱使用权限的兑换订单,以减少一次菜谱使用次数的条件交换一次菜谱使用资格;如果目标使用模式为计时模式,可以判断当前时间是否属于相应的计时时间范围内(即计时模式对应的时间范围内),例如用户账户内的目标电子菜谱对应的计时时间范围为2021年12月30日,那么在该时间之前使用目标电子菜谱,可以对使用信 息进行记录,而如果在该时间之后使用目标电子菜谱,则生成目标电子菜谱的兑换订单,并进行结算,以获得用户对该目标电子菜谱的使用权。From step S504 to step S507, when the user acquires the target electronic recipe to the account, he can also set the target usage mode of the target electronic recipe at the same time. The usage mode can specifically include two kinds of counting mode and timing mode. The number of times the target electronic recipe is used, and the timing mode is to limit the available time of the target electronic recipe. After receiving the operation data of the target electronic recipe, an exchange order can be generated according to the target usage pattern corresponding to the target electronic recipe in the user account. Specifically, if the target usage mode is counting mode, then an exchange order can be generated that includes deducting the usage times of the target electronic recipe and assigning the usage permission of the target electronic recipe, so as to exchange the usage qualification of a recipe under the condition of reducing the usage times of a recipe; if The target usage mode is timing mode, which can determine whether the current time falls within the corresponding timing time range (that is, within the time range corresponding to the timing mode). For example, the timing time range corresponding to the target electronic recipe in the user account is December 30, 2021 , then if the target electronic recipe is used before this time, the usage information can be recorded, and if the target electronic recipe is used after this time, an exchange order for the target electronic recipe will be generated and settled, so as to obtain the target electronic recipe from the user right to use.
在本发明实施例中,可选地,步骤S506和207中“依据所述第一兑换资源以及所述运行数据,生成所述目标电子菜谱的兑换订单”具体可以包括:In the embodiment of the present invention, optionally, "generating an exchange order for the target electronic recipe based on the first exchange resource and the operation data" in steps S506 and 207 may specifically include:
当所述运行数据包括所述运行确认数据时,依据所述第一兑换资源,生成所述目标电子菜谱的兑换订单;或,When the operation data includes the operation confirmation data, an exchange order for the target electronic recipe is generated according to the first exchange resource; or,
当所述运行数据包括所述运行启动数据时,依据所述第一兑换资源,生成所述目标电子菜谱的兑换订单;或,When the operation data includes the operation start data, an exchange order for the target electronic recipe is generated according to the first exchange resource; or,
当所述运行数据包括所述运行结束数据时,依据所述运行结束数据识别所述目标电子菜谱的已运行步骤,若所述已运行步骤包括所述目标电子菜谱对应的预设核心步骤,则依据所述第一兑换资源,生成所述目标电子菜谱的兑换订单;或,When the operation data includes the operation end data, identify the executed steps of the target electronic recipe according to the operation end data, if the executed steps include the preset core steps corresponding to the target electronic recipe, then Generate an exchange order for the target electronic recipe according to the first exchange resource; or,
当所述运行数据包括所述运行结束数据时,依据所述运行结束数据识别所述目标电子菜谱是否为异常退出,若不为异常退出,则依据所述第一兑换资源,生成所述目标电子菜谱的兑换订单。When the operation data includes the operation end data, identify whether the target electronic recipe is exited abnormally according to the operation end data, and if not, generate the target electronic recipe according to the first exchange resource. Redemption order for recipes.
本该实施例中,具体可以设定不同的生成兑换订单的条件,例如在用户选择运行目标电子菜谱后,生成兑换订单,即在运行数据为运行确认数据时,生成兑换订单;又例如在目标电子菜谱的第一个步骤被执行时,生成兑换订单,即在运行数据包括运行启动数据时,生成兑换订单;又例如在目标电子菜谱的某个预设核心步骤被执行时,生成兑换订单,即运行数据为运行结束数据,且已运行步骤包括该预设核心步骤时,生成兑换订单,避免用户利用漏洞逃避支付费用,当目标电子菜谱的核心步骤运行时即进行收费;还可以在运行数据为运行结束数据时,识别目标电子菜谱的结束运行原因,比如步骤执行结束正常退出、网络故障异常退出等情况,并在不属于异常退出时,生成兑换订单,避免用户利用漏洞逃避支付费用。In this embodiment, different conditions for generating an exchange order can be specifically set. For example, after the user selects to run the target electronic menu, an exchange order is generated, that is, when the operating data is the operation confirmation data, an exchange order is generated; When the first step of the electronic recipe is executed, an exchange order is generated, that is, when the operation data includes the operation start data, an exchange order is generated; for example, when a preset core step of the target electronic recipe is executed, an exchange order is generated, That is, when the running data is the running end data, and the running steps include the preset core steps, an exchange order is generated to prevent users from exploiting loopholes to evade payment fees, and charges will be made when the core steps of the target electronic recipe run; When the data is the end of the operation, identify the reason for the end of the target electronic recipe, such as the normal exit of the step execution end, the abnormal exit of the network failure, etc., and generate an exchange order when it is not an abnormal exit, so as to prevent users from using loopholes to avoid paying fees.
另外,在烹饪设备中运行电子菜谱时,电子菜谱的核心步骤可以进行 隐藏,只显示与用户操作相关的烹饪动作或参数等,以对菜谱内容进行保密,避免他人破解菜谱。不同用户在同一个烹饪设备上登录的情况下,例如用户B在用户A之后登录账号,对于用户A上次使用的菜谱,可设置用户B对该菜谱的权限,例如用户B可以下载查看用户A使用过的菜谱,但不能对该菜谱进行编辑或使用等。In addition, when the electronic recipe is run in the cooking device, the core steps of the electronic recipe can be hidden, and only the cooking actions or parameters related to the user's operation are displayed, so as to keep the recipe content confidential and prevent others from cracking the recipe. When different users log in on the same cooking device, for example, user B logs in to the account after user A, for the recipe used by user A last time, user B can set the authority of user B to the recipe, for example, user B can download and view user A's account A recipe that has been used, but cannot be edited or used, etc.
在本发明实施例中,可选地,步骤S501和步骤S502之间还可以包括:In this embodiment of the present invention, optionally, between step S501 and step S502 may further include:
S1,获取所述账户信息对应的历史菜谱使用信息,并依据所述历史菜谱使用信息,确定所述目标电子菜谱的推荐使用模式;S1. Obtain historical recipe usage information corresponding to the account information, and determine a recommended usage mode of the target electronic recipe according to the historical recipe usage information;
S2,当所述获取指令不包括所述目标电子菜谱的初始使用模式时,发送所述推荐使用模式,以询问账户方是否按所述推荐使用模式进行设定,并依据接收到的所述目标电子菜谱的使用模式反馈信息,设定所述目标电子菜谱的目标使用模式;S2. When the acquisition instruction does not include the initial use mode of the target electronic recipe, send the recommended use mode to ask the account party whether to set according to the recommended use mode, and according to the received target The use mode feedback information of the electronic recipe, setting the target use mode of the target electronic recipe;
S3,当所述获取指令包括所述初始使用模式时,按所述初始使用模式设定所述目标电子菜谱的目标使用模式;或者,当所述获取指令包括所述初始使用模式,且所述初始使用模式与所述推荐使用模式不同时,发送所述推荐使用模式,以询问使用方是否按所述推荐使用模式进行更改,并依据接收到的所述目标电子菜谱的使用模式反馈信息,设定所述目标电子菜谱的目标使用模式。S3. When the acquisition instruction includes the initial usage mode, set the target usage mode of the target electronic recipe according to the initial usage mode; or, when the acquisition instruction includes the initial usage mode, and the When the initial usage mode is different from the recommended usage mode, send the recommended usage mode to ask the user whether to make changes according to the recommended usage mode, and set A target usage pattern for the target electronic recipe is determined.
在上述实施例中,可以根据用户的历史菜谱使用信息,向用户推荐对目标电子菜谱的使用模式,另外用户发送的对目标电子菜谱的获取指令中可以指定初始使用模式,也可以不指定具体的模式。在具体应用场景中,如果用户没指定初始使用模式,可以向用户反馈基于历史菜谱使用信息确定的推荐使用模式,并基于用户的选择设定目标电子菜谱对应的目标使用模式。如果用户指定了初始使用模式,那么可以直接将用户指定的初始使用模式设定为目标使用模式,也可以比对初始使用模式与推荐使用模式是否相同,若不同则询问用户是否更改为推荐使用模式,并基于用户的反馈设定目标电子菜谱的目标使用模式。In the above-mentioned embodiment, the use mode of the target electronic recipe can be recommended to the user according to the user's historical recipe use information. In addition, the initial use mode can be specified in the acquisition instruction sent by the user to the target electronic recipe, and the specific use mode can also not be specified. model. In a specific application scenario, if the user does not specify an initial usage mode, the recommended usage mode determined based on historical recipe usage information can be fed back to the user, and the target usage mode corresponding to the target electronic recipe can be set based on the user's choice. If the user specifies an initial usage mode, the user can directly set the initial usage mode specified by the user as the target usage mode, or compare whether the initial usage mode is the same as the recommended usage mode, and if not, ask the user whether to change to the recommended usage mode , and set the target usage pattern of the target electronic recipe based on the user's feedback.
需要说明的是,上述实施例中推荐使用模式,具体可以依据用户对电子菜谱的使用频率来确定,例如基于用户的使用频率,计算对用户来说是计时模式更划算还是计次模式更划算,并将更划算的模式作为推荐使用模式。具体可以将各模式和各模式对应的预设时段内的预测费用发送给用户,以供用户选择,例如基于历史使用信息预测用户一个月内对目标电子菜谱的使用次数,以及计次模式下一个月内的预测花费,将计次模式一个月的预测花费和计时模式一个月的花费反馈给用户。还可以依据用户的历史购买习惯确定,用户更喜欢购买计时模式的菜谱则推荐计时模式,反之推荐计次模式。It should be noted that the recommended usage mode in the above embodiment can be specifically determined according to the user's usage frequency of the electronic recipe, for example, based on the user's usage frequency, it is calculated whether the timing mode or the counting mode is more cost-effective for the user, And take the more cost-effective mode as the recommended mode. Specifically, each mode and the predicted cost within the preset period corresponding to each mode can be sent to the user for the user to choose, such as predicting the number of times the user uses the target electronic recipe within a month based on historical usage information, and the next For the forecasted spending within a month, the forecasted spending of one month in the counting mode and the monthly spending in the timing mode are fed back to the user. It can also be determined according to the user's historical purchasing habits. If the user prefers to buy recipes in the timing mode, the timing mode is recommended, and vice versa.
另一方面,本发明实施例提供了电子菜谱的使用方法,用于烹饪设备中,包括:On the other hand, an embodiment of the present invention provides a method for using an electronic recipe, which is used in a cooking device, including:
步骤S501,发送目标电子菜谱的待兑换数据,以使菜谱服务器依据所述待兑换数据以及所述目标电子菜谱的第一兑换资源生成所述目标电子菜谱的兑换订单;Step S501, sending the data to be exchanged of the target electronic recipe, so that the recipe server generates an exchange order for the target electronic recipe according to the data to be exchanged and the first exchange resource of the target electronic recipe;
步骤S502,接收所述兑换订单。Step S502, receiving the exchange order.
在该实施例中,通过烹饪设备向菜谱服务器发送目标电子菜谱的待兑换数据,并接收对应的兑换订单,以推进对订单的结算。具体生成订单的步骤可以参见上文实施例,在此不再赘述。In this embodiment, the data to be redeemed of the target electronic recipe is sent to the recipe server through the cooking device, and the corresponding redemption order is received, so as to promote the settlement of the order. For the specific steps of generating an order, reference may be made to the above embodiments, and details are not repeated here.
在本发明实施例中,可选地,所述待兑换数据包括对所述目标电子菜谱的兑换次数,所述第一兑换资源包括所述目标电子菜谱对应的单次兑换资源;步骤S502之后,还可以包括:In the embodiment of the present invention, optionally, the data to be redeemed includes the number of times of redemption for the target electronic recipe, and the first redemption resource includes a single redemption resource corresponding to the target electronic recipe; after step S502, Can also include:
步骤S503,分配所述目标电子菜谱的可用次数,其中,当前烹饪设备对应的分配次数小于或等于所述可用次数;Step S503, allocating the available times of the target electronic recipe, wherein the allocated times corresponding to the current cooking device is less than or equal to the available times;
步骤S504,响应于所述目标电子菜谱的运行信号,依据所述当前烹饪设备的分配次数,运行所述目标电子菜谱。Step S504, in response to the running signal of the target electronic recipe, run the target electronic recipe according to the current distribution times of the cooking equipment.
其中,用户可以将自己账户下目标电子菜谱可用次数,分配到一个或多个烹饪设备中,用户可以任意设置各烹饪设备的可用次数,总和不超过 用户对该目标电子菜谱的可用次数总数即可。Among them, the user can assign the available times of the target electronic recipe under his account to one or more cooking devices, and the user can arbitrarily set the available times of each cooking device, and the sum does not exceed the total number of available times of the target electronic recipe. .
另外,在烹饪设备有对应的绑定账户的情况下,针对烹饪设备断网状态的使用需求,可以在烹饪设备端设置一个费用使用阈值,判断设备断网使用费用超过阈值后,提醒用户联网交费。或者断网状态下,设置一个计数器,检测用户使用次数超过阈值后,锁定用户烹饪设备,设备联网扣费后才能继续使用。或者设置一个烹饪设备使用期限,在该期限后锁定并提醒用户缴费,从而限制烹饪设备的离线使用需求。In addition, in the case that the cooking device has a corresponding binding account, according to the usage requirement of the cooking device disconnected from the network, a fee usage threshold can be set on the cooking device side. fee. Or when the network is disconnected, set a counter to detect that the user's use times exceed the threshold, lock the user's cooking device, and continue to use it after the device is connected to the Internet and deducted. Or set a cooking device usage period, after which the user will be locked and reminded to pay, thereby limiting the off-line use of the cooking device.
另外,在菜谱商城的电子菜谱有版本更新时,基于电子菜谱代码源头查找到相关联的该菜谱,可以对低版本的菜谱进行更新,无需用户再重新购买付费。In addition, when there is a version update of the electronic recipe in the recipe mall, the associated recipe can be found based on the code source of the electronic recipe, and the lower version of the recipe can be updated without the user needing to re-purchase and pay.
进一步的,作为图5方法的具体实现,本发明实施例提供了一种电子菜谱的使用装置,如图7所示,该装置包括:Further, as a specific implementation of the method in FIG. 5 , an embodiment of the present invention provides a device for using an electronic recipe, as shown in FIG. 7 , the device includes:
数据接收模块,设置为接收目标电子菜谱的待兑换数据;The data receiving module is configured to receive the data to be exchanged for the target electronic recipe;
资源确定模块,设置为确定所述目标电子菜谱对应的第一兑换资源;A resource determination module, configured to determine the first exchange resource corresponding to the target electronic recipe;
订单生成模块,设置为依据所述第一兑换资源以及所述待兑换数据,生成所述目标电子菜谱的兑换订单。The order generating module is configured to generate an exchange order for the target electronic recipe according to the first exchange resource and the data to be exchanged.
可选地,所述待兑换数据包括对所述目标电子菜谱的兑换次数,所述第一兑换资源包括所述目标电子菜谱对应的单次兑换资源;所述装置还包括:Optionally, the data to be redeemed includes the number of redemptions for the target electronic recipe, and the first redemption resource includes a single redemption resource corresponding to the target electronic recipe; the device further includes:
权益分配模块,设置为所述生成所述目标电子菜谱的兑换订单之后,向所述目标电子菜谱对应的账户信息分配所述目标电子菜谱的可用次数,其中,所述可用次数可被分配至所述账户信息对应的至少一个烹饪设备中,以使所述至少一个烹饪设备按分配次数运行所述目标电子菜谱,所述至少一个烹饪设备对应的分配次数的总和小于或等于所述可用次数。The rights distribution module is configured to allocate the available times of the target electronic recipe to the account information corresponding to the target electronic recipe after the exchange order of the target electronic recipe is generated, wherein the available times can be allocated to all The at least one cooking device corresponding to the account information, so that the at least one cooking device runs the target electronic recipe according to the distribution times, and the sum of the distribution times corresponding to the at least one cooking device is less than or equal to the available times.
可选地,所述权益分配模块,还设置为所述接收目标电子菜谱的待兑换数据之前,接收目标电子菜谱的获取指令,其中,所述获取指令包括所述目标电子菜谱的账户信息;按所述目标电子菜谱对应的第二兑换资源, 对所述账户信息对应的任一目标结算账户进行结算,以使所述账户信息下包含所述目标电子菜谱,其中,所述目标电子菜谱在烹饪设备上的运行条件包括所述烹饪设备登录的所述账户信息下包含所述目标电子菜谱。可选地,所述权益分配模块,还设置为:Optionally, the rights distribution module is further configured to receive an acquisition instruction of the target electronic recipe before receiving the data to be exchanged for the target electronic recipe, wherein the acquisition instruction includes the account information of the target electronic recipe; press The second exchange resource corresponding to the target electronic recipe settles any target settlement account corresponding to the account information, so that the account information includes the target electronic recipe, wherein the target electronic recipe is The running condition on the device includes that the target electronic recipe is included under the account information logged in by the cooking device. Optionally, the equity distribution module is also set to:
若所述获取指令包括待兑换电子菜谱,且所述待兑换电子菜谱与所述第二兑换资源等价,则将所述账户信息中的所述待兑换电子菜谱兑换为所述目标电子菜谱,其中,所述目标电子菜谱至少为所述待兑换电子菜谱对应的可兑换资源之一;If the acquiring instruction includes an electronic recipe to be redeemed, and the electronic recipe to be redeemed is equivalent to the second exchange resource, then converting the electronic recipe to be redeemed in the account information into the target electronic recipe, Wherein, the target electronic recipe is at least one of the redeemable resources corresponding to the electronic recipe to be redeemed;
若所述获取指令包括待兑换电子菜谱,且所述待兑换电子菜谱与所述第二兑换资源不等价,则依据所述第二兑换资源以及所述待兑换电子菜谱对应的可兑换资源,对所述账户信息对应的任一目标结算账户进行结算,并将所述账户信息中的所述待兑换电子菜谱兑换为所述目标电子菜谱,其中,所述目标电子菜谱至少为所述可兑换资源之一。If the acquisition instruction includes an electronic recipe to be redeemed, and the electronic recipe to be redeemed is not equivalent to the second exchange resource, then according to the second exchange resource and the exchangeable resource corresponding to the electronic recipe to be exchanged, Settling any target settlement account corresponding to the account information, and converting the electronic recipe to be redeemed in the account information into the target electronic recipe, wherein the target electronic recipe is at least the redeemable one of the resources.
可选地,所述权益分配模块,还设置为:Optionally, the equity distribution module is also set to:
所述接收目标电子菜谱的获取指令之后,若所述获取指令包括待交换对象账户信息以及待交换电子菜谱,则在待交换对象确认的情况下,对所述待交换对象账户中的所述目标电子菜谱与当前账户中的所述待交换电子菜谱进行交换。After receiving the acquisition instruction of the target electronic recipe, if the acquisition instruction includes the account information of the object to be exchanged and the electronic recipe to be exchanged, then in the case of the confirmation of the object to be exchanged, the target in the account of the object to be exchanged The electronic recipe is exchanged with the electronic recipe to be exchanged in the current account.
可选地,所述待兑换数据包括运行数据,所述运行数据包括所述目标电子菜谱的账户信息;所述订单生成模块,具体设置为:Optionally, the data to be exchanged includes operating data, and the operating data includes account information of the target electronic recipe; the order generating module is specifically configured as:
确定所述账户信息对应的任一目标结算账户,并获取所述目标结算账户对应的所述目标电子菜谱的目标使用模式;determining any target settlement account corresponding to the account information, and acquiring the target usage pattern of the target electronic recipe corresponding to the target settlement account;
若所述目标使用模式为计次模式,则依据所述第一兑换资源以及所述运行数据,生成所述目标电子菜谱的兑换订单;If the target usage mode is counting mode, then generate an exchange order for the target electronic recipe according to the first exchange resource and the operation data;
若所述目标使用模式为计时模式,则判断当前时间是否属于所述计时模式对应的时间范围内,并在不属于时,依据所述第一兑换资源以及所述 运行数据,生成所述目标电子菜谱的兑换订单。If the target usage mode is the timing mode, it is judged whether the current time belongs to the time range corresponding to the timing mode, and if not, the target electronic data is generated according to the first exchange resource and the operation data. Redemption order for recipes.
可选地,所述装置还包括:Optionally, the device also includes:
推荐模块,设置为所述接收目标电子菜谱的获取指令之后,获取所述账户信息对应的历史菜谱使用信息,并依据所述历史菜谱使用信息,确定所述目标电子菜谱的推荐使用模式;当所述获取指令不包括所述目标电子菜谱的初始使用模式时,发送所述推荐使用模式,以询问账户方是否按所述推荐使用模式进行设定,并依据接收到的所述目标电子菜谱的使用模式反馈信息,设定所述目标电子菜谱的目标使用模式;当所述获取指令包括所述初始使用模式时,按所述初始使用模式设定所述目标电子菜谱的目标使用模式;或者,当所述获取指令包括所述初始使用模式,且所述初始使用模式与所述推荐使用模式不同时,发送所述推荐使用模式,以询问使用方是否按所述推荐使用模式进行更改,并依据接收到的所述目标电子菜谱的使用模式反馈信息,设定所述目标电子菜谱的目标使用模式。The recommendation module is configured to obtain the historical recipe usage information corresponding to the account information after receiving the acquisition instruction of the target electronic recipe, and determine the recommended usage mode of the target electronic recipe according to the historical recipe usage information; when the When the acquisition instruction does not include the initial use mode of the target electronic recipe, send the recommended use mode to ask the account party whether to set according to the recommended use mode, and use the received target electronic recipe Mode feedback information, setting the target use mode of the target electronic recipe; when the acquisition instruction includes the initial use mode, setting the target use mode of the target electronic recipe according to the initial use mode; or, when The acquisition instruction includes the initial use mode, and when the initial use mode is different from the recommended use mode, send the recommended use mode to ask the user whether to make changes according to the recommended use mode, and according to the received setting the target usage mode of the target electronic recipe.
可选地,所述待兑换数据包括运行数据,所述运行数据包括运行确认数据、运行启动数据、运行结束数据中至少一种,所述运行确认数据基于对所述目标电子菜谱的执行确认操作产生,所述运行启动数据基于所述目标电子菜谱中第一个步骤的开始运行信号产生,所述运行结束数据基于所述目标电子菜谱的结束运行信号产生,所述运行结束数据包括所述目标电子菜谱的运行记录;Optionally, the data to be exchanged includes operation data, the operation data includes at least one of operation confirmation data, operation start data, and operation end data, and the operation confirmation data is based on the execution confirmation operation of the target electronic recipe Generated, the operation start data is generated based on the start operation signal of the first step in the target electronic recipe, the operation end data is generated based on the end operation signal of the target electronic recipe, and the operation end data includes the target Operation records of electronic recipes;
所述订单生成模块,还设置为:The order generation module is also set to:
当所述运行数据包括所述运行确认数据时,依据所述第一兑换资源,生成所述目标电子菜谱的兑换订单;或,When the operation data includes the operation confirmation data, an exchange order for the target electronic recipe is generated according to the first exchange resource; or,
当所述运行数据包括所述运行启动数据时,依据所述第一兑换资源,生成所述目标电子菜谱的兑换订单;或,When the operation data includes the operation start data, an exchange order for the target electronic recipe is generated according to the first exchange resource; or,
当所述运行数据包括所述运行结束数据时,依据所述运行结束数据识别所述目标电子菜谱的已运行步骤,若所述已运行步骤包括所述目标电子菜谱对应的预设核心步骤,则依据所述第一兑换资源,生成所述目标电子 菜谱的兑换订单;或,When the operation data includes the operation end data, identify the executed steps of the target electronic recipe according to the operation end data, if the executed steps include the preset core steps corresponding to the target electronic recipe, then Generate an exchange order for the target electronic recipe according to the first exchange resource; or,
当所述运行数据包括所述运行结束数据时,依据所述运行结束数据识别所述目标电子菜谱是否为异常退出,若不为异常退出,则依据所述第一兑换资源,生成所述目标电子菜谱的兑换订单。When the operation data includes the operation end data, identify whether the target electronic recipe is exited abnormally according to the operation end data, and if not, generate the target electronic recipe according to the first exchange resource. Redemption order for recipes.
根据本发明的另一方面,提供了一种电子菜谱的使用装置,所述装置包括:According to another aspect of the present invention, a device for using an electronic recipe is provided, the device comprising:
数据发送模块,设置为发送目标电子菜谱的待兑换数据,以使菜谱服务器依据所述待兑换数据以及所述目标电子菜谱的第一兑换资源生成所述目标电子菜谱的兑换订单;The data sending module is configured to send the data to be exchanged of the target electronic recipe, so that the recipe server generates an exchange order for the target electronic recipe according to the data to be exchanged and the first exchange resource of the target electronic recipe;
订单接收模块,设置为接收所述兑换订单。The order receiving module is configured to receive the exchange order.
可选地,所述待兑换数据包括对所述目标电子菜谱的兑换次数,所述第一兑换资源包括所述目标电子菜谱对应的单次兑换资源;所述装置还包括:Optionally, the data to be redeemed includes the number of redemptions for the target electronic recipe, and the first redemption resource includes a single redemption resource corresponding to the target electronic recipe; the device further includes:
菜谱运行模块,设置为分配所述目标电子菜谱的可用次数,其中,当前烹饪设备对应的分配次数小于或等于所述可用次数;响应于所述目标电子菜谱的运行信号,依据所述当前烹饪设备的分配次数,运行所述目标电子菜谱。The recipe running module is configured to distribute the available times of the target electronic recipe, wherein the distribution times corresponding to the current cooking device is less than or equal to the available times; in response to the running signal of the target electronic recipe, according to the current cooking device number of dispenses to run the target e-recipe.
需要说明的是,本发明实施例提供的一种电子菜谱的使用装置所涉及各功能单元的其他相应描述,可以参考上文方法中的对应描述,在此不再赘述。It should be noted that, for other corresponding descriptions of the functional units involved in the device for using an electronic recipe provided by the embodiment of the present invention, reference may be made to the corresponding description in the method above, and details are not repeated here.
本发明的实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present invention also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.
在一个示例性实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。In an exemplary embodiment, the above-mentioned computer-readable storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM) , mobile hard disk, magnetic disk or optical disk and other media that can store computer programs.
本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present invention also provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments.
在一个示例性实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。In an exemplary embodiment, the electronic device may further include a transmission device and an input and output device, wherein the transmission device is connected to the processor, and the input and output device is connected to the processor.
本实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。For specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and exemplary implementation manners, and details will not be repeated here in this embodiment.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices In fact, they can be implemented in program code executable by a computing device, and thus, they can be stored in a storage device to be executed by a computing device, and in some cases, can be executed in an order different from that shown here. Or described steps, or they are fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims (22)

  1. 一种菜谱权限分享方法,包括:A recipe authority sharing method, comprising:
    接收菜谱分享指令或菜谱分享请求,所述菜谱分享指令和菜谱分享请求包括分享方和被分享方信息;Receiving a recipe sharing instruction or a recipe sharing request, the recipe sharing instruction and recipe sharing request include the information of the sharing party and the shared party;
    根据所述菜谱分享指令或菜谱分享请求,将所述分享方拥有的菜谱权限共享或转移至所述被分享方,其中,所述菜谱权限包括菜谱的使用权限、使用次数和/或使用时长。According to the recipe sharing instruction or recipe sharing request, the recipe authority owned by the sharing party is shared or transferred to the shared party, wherein the recipe authority includes the use authority, use times and/or use time of the recipe.
  2. 根据权利要求1所述的方法,其中,根据所述菜谱分享指令或菜谱分享请求,将菜谱权限共享或转移至所述被分享方,包括以下之一:The method according to claim 1, wherein, according to the recipe sharing instruction or recipe sharing request, sharing or transferring the recipe permission to the shared party includes one of the following:
    在所述菜谱分享指令或菜谱分享请求中仅包括菜谱的使用权限,或包括菜谱的使用权限和使用次数N,并且所述使用次数N为零的情况下,仅将所述菜谱的使用权限共享给所述被分享方,其中,N为正整数;When the recipe sharing instruction or recipe sharing request only includes the use authority of the recipe, or includes the use authority of the recipe and the number of times N, and the number of times N is zero, only the use authority of the recipe is shared To the shared party, where N is a positive integer;
    在所述菜谱分享指令或菜谱分享请求中包括菜谱的使用权限和使用次数N,并且所述使用次数N不为零的情况下,将所述菜谱的使用权限共享至所述被分享方,以及将N次在烹饪设备上使用所述菜谱进行烹饪的权限转移至所述被分享方;If the recipe sharing instruction or the recipe sharing request includes the recipe usage permission and usage times N, and the usage times N is not zero, sharing the recipe usage permission to the shared party, and Transferring the right to use the recipe for cooking on the cooking device N times to the shared party;
    在所述菜谱分享指令或菜谱分享请求中仅包括菜谱的使用权限,并且所述分享方所拥有的菜谱权限为设定时长内不限使用次数的情况下,将所述分享方所述菜谱在剩余时长内的使用权限转移至被分享方。In the case that the recipe sharing instruction or recipe sharing request only includes the use authority of the recipe, and the recipe authority owned by the sharing party is an unlimited number of uses within a set period of time, the recipe described by the sharing party is in the The usage rights for the remaining period are transferred to the shared party.
  3. 根据权利要求2所述的方法,其中,在仅将所述菜谱的使用权限共享给所述被分享方之后,还包括:The method according to claim 2, wherein, after only sharing the use authority of the recipe with the shared party, further comprising:
    将所述分享方的账户与所述被分享方的账户绑定。Binding the account of the sharing party with the account of the shared party.
  4. 根据权利要求3所述的方法,其中,将所述分享方的账户与所述被分享方的账户绑定之后,还包括:The method according to claim 3, wherein, after binding the account of the sharing party and the account of the shared party, further comprising:
    在所述分享方和被分享方均处于联网状态时,将所述被分享方的所述菜谱的已使用次数同步至所述被分享方,并根据所述被分享方的所述菜谱 的已使用次数实时更新所述分享方的所述菜谱的已使用次数;和/或,When both the sharing party and the shared party are in a networked state, the number of times the recipe has been used by the shared party is synchronized to the shared party, and according to the number of times the recipe has been used by the shared party Updating the number of times the recipe has been used by the sharing party in real time; and/or,
    在所述分享方或所述被分享方均处于断网状态时,在所述被分享方对所述菜谱的使用次数超出设置的阈值后,终止所述被分享方对所述菜谱的使用权限。When both the sharing party and the shared party are disconnected from the network, after the number of times the shared party uses the recipe exceeds a set threshold, terminate the shared party's right to use the recipe .
  5. 根据权利要求3所述的方法,其中,在所述被分享方使用所述菜谱进行烹饪之前,还包括:The method according to claim 3, wherein, before the shared party uses the recipe for cooking, further comprising:
    所述分享方对来自所述被分享方的是否可以登陆烹饪设备使用所述菜谱进行烹饪的请求进行确认。The sharing party confirms the request from the shared party whether it can log in to the cooking device and use the recipe for cooking.
  6. 根据权利要求1所述的方法,其中,所述分享方和所述被分享方拥有相同的身份信息,其中,所述身份信息至少包括以下之一:姓名、身份证号、商家ID。The method according to claim 1, wherein the sharing party and the shared party have the same identity information, wherein the identity information includes at least one of the following: name, ID number, and merchant ID.
  7. 一种菜谱权限分享装置,包括:A recipe authority sharing device, comprising:
    接收模块,设置为接收来自分享方的菜谱分享指令或来自被分享方的菜谱分享请求;The receiving module is configured to receive a recipe sharing instruction from the sharing party or a recipe sharing request from the shared party;
    共享模块,设置为根据所述菜谱分享指令或菜谱分享请求,将所述分享方拥有的菜谱权限共享或转移至所述被分享方,其中,所述菜谱权限包括菜谱的使用权限、使用次数或使用时长。The sharing module is configured to share or transfer the recipe authority owned by the sharing party to the shared party according to the recipe sharing instruction or recipe sharing request, wherein the recipe authority includes the use authority of the recipe, the number of times of use or How long to use.
  8. 根据权利要求7所述的装置,其中,所述共享模块还包括至少以下之一:The device according to claim 7, wherein the sharing module further comprises at least one of the following:
    第一共享单元,设置为在所述菜谱分享指令或菜谱分享请求中仅包括菜谱的使用权限,或包括菜谱的使用权限和使用次数N,并且所述使用次数N为零的情况下,仅将所述菜谱的使用权限共享给所述被分享方;The first sharing unit is configured to only include the use authority of the recipe in the recipe sharing instruction or the recipe sharing request, or include the use authority and the number of times N of the recipe, and when the number of times N is zero, only the The use authority of the recipe is shared with the shared party;
    第二共享单元,设置为在所述菜谱分享指令或菜谱分享请求中包括菜谱的使用权限和使用次数N,并且所述使用次数N不为零的情况下,将所述菜谱的使用权限共享至所述被分享方,以及将N次在烹饪设备上使用所 述菜谱进行烹饪的权限转移至所述被分享方;The second sharing unit is configured to share the use authority of the recipe to The shared party, and the right to use the recipe for cooking on the cooking device N times is transferred to the shared party;
    第三共享单元,设置为在所述菜谱分享指令或菜谱分享请求中仅包括菜谱的使用权限,并且所述分享方所拥有的菜谱权限为设定时长内不限使用次数的情况下,将所述分享方所述菜谱在剩余时长内的使用权限转移至被分享方。The third sharing unit is configured to include only the use authority of the recipe in the recipe sharing instruction or the recipe sharing request, and when the recipe authority owned by the sharing party is an unlimited number of times of use within a set duration, all The right to use the recipe described by the sharing party for the remaining period is transferred to the shared party.
  9. 一种电子菜谱的使用方法,包括:A method for using an electronic recipe, comprising:
    接收目标电子菜谱的待兑换数据;Receive the data to be exchanged for the target electronic recipe;
    确定所述目标电子菜谱对应的第一兑换资源;determining the first exchange resource corresponding to the target electronic recipe;
    依据所述第一兑换资源以及所述待兑换数据,生成所述目标电子菜谱的兑换订单。An exchange order for the target electronic recipe is generated according to the first exchange resource and the data to be exchanged.
  10. 根据权利要求9所述的方法,其中,所述待兑换数据包括对所述目标电子菜谱的兑换次数,所述第一兑换资源包括所述目标电子菜谱对应的单次兑换资源;所述生成所述目标电子菜谱的兑换订单之后,所述方法还包括:The method according to claim 9, wherein the data to be redeemed includes the number of times of redemption of the target electronic recipe, and the first redemption resource includes a single redemption resource corresponding to the target electronic recipe; the generated After the redemption order of the target electronic recipe, the method also includes:
    向所述目标电子菜谱对应的账户信息分配所述目标电子菜谱的可用次数,其中,所述可用次数可被分配至所述账户信息对应的至少一个烹饪设备中,以使所述至少一个烹饪设备按分配次数运行所述目标电子菜谱,所述至少一个烹饪设备对应的分配次数的总和小于或等于所述可用次数。Allocating the available times of the target electronic recipe to the account information corresponding to the target electronic recipe, wherein the available times can be allocated to at least one cooking device corresponding to the account information, so that the at least one cooking device The target electronic recipe is run according to the distribution times, and the sum of the distribution times corresponding to the at least one cooking device is less than or equal to the available times.
  11. 根据权利要求9所述的方法,其中,所述接收目标电子菜谱的待兑换数据之前,所述方法还包括:The method according to claim 9, wherein, before receiving the data to be converted of the target electronic recipe, the method further comprises:
    接收目标电子菜谱的获取指令,其中,所述获取指令包括所述目标电子菜谱的账户信息;receiving an acquisition instruction of the target electronic recipe, wherein the acquisition instruction includes account information of the target electronic recipe;
    按所述目标电子菜谱对应的第二兑换资源,对所述账户信息对应的任一目标结算账户进行结算,以使所述账户信息下包含所述目标电子菜谱,其中,所述目标电子菜谱在烹饪设备上的运行条件包括所述烹饪设备登录 的所述账户信息下包含所述目标电子菜谱。Settle any target settlement account corresponding to the account information according to the second exchange resource corresponding to the target electronic recipe, so that the account information includes the target electronic recipe, wherein the target electronic recipe is in The running condition on the cooking device includes that the target electronic recipe is included under the account information logged in by the cooking device.
  12. 根据权利要求11所述的方法,其中,所述按所述目标电子菜谱对应的第二兑换资源,对所述账户信息对应的任一目标结算账户进行结算,具体包括:The method according to claim 11, wherein, according to the second exchange resource corresponding to the target electronic recipe, settlement is performed on any target settlement account corresponding to the account information, specifically comprising:
    若所述获取指令包括待兑换电子菜谱,且所述待兑换电子菜谱与所述第二兑换资源等价,则将所述账户信息中的所述待兑换电子菜谱兑换为所述目标电子菜谱,其中,所述目标电子菜谱至少为所述待兑换电子菜谱对应的可兑换资源之一;If the acquiring instruction includes an electronic recipe to be redeemed, and the electronic recipe to be redeemed is equivalent to the second exchange resource, then converting the electronic recipe to be redeemed in the account information into the target electronic recipe, Wherein, the target electronic recipe is at least one of the redeemable resources corresponding to the electronic recipe to be redeemed;
    若所述获取指令包括待兑换电子菜谱,且所述待兑换电子菜谱与所述第二兑换资源不等价,则依据所述第二兑换资源以及所述待兑换电子菜谱对应的可兑换资源,对所述账户信息对应的任一目标结算账户进行结算,并将所述账户信息中的所述待兑换电子菜谱兑换为所述目标电子菜谱,其中,所述目标电子菜谱至少为所述可兑换资源之一。If the acquisition instruction includes an electronic recipe to be redeemed, and the electronic recipe to be redeemed is not equivalent to the second exchange resource, then according to the second exchange resource and the exchangeable resource corresponding to the electronic recipe to be exchanged, Settling any target settlement account corresponding to the account information, and converting the electronic recipe to be redeemed in the account information into the target electronic recipe, wherein the target electronic recipe is at least the redeemable one of the resources.
  13. 根据权利要求11所述的方法,其中,所述接收目标电子菜谱的获取指令之后,所述方法还包括:The method according to claim 11, wherein, after receiving the acquisition instruction of the target electronic recipe, the method further comprises:
    若所述获取指令包括待交换对象账户信息以及待交换电子菜谱,则在待交换对象确认的情况下,对所述待交换对象账户中的所述目标电子菜谱与当前账户中的所述待交换电子菜谱进行交换。If the acquisition instruction includes the account information of the object to be exchanged and the electronic recipe to be exchanged, then in the case of confirmation by the object to be exchanged, the target electronic recipe in the account to be exchanged and the electronic recipe to be exchanged in the current account Electronic cookbooks are exchanged.
  14. 根据权利要求11所述的方法,其中,所述待兑换数据包括运行数据,所述运行数据包括所述目标电子菜谱的账户信息;所述依据所述第一兑换资源以及所述待兑换数据,生成所述目标电子菜谱的兑换订单,具体包括:The method according to claim 11, wherein the data to be redeemed includes operating data, and the operating data includes account information of the target electronic recipe; said according to the first exchanged resource and the data to be exchanged, Generate an exchange order for the target electronic recipe, specifically including:
    确定所述账户信息对应的任一目标结算账户,并获取所述目标结算账户对应的所述目标电子菜谱的目标使用模式;determining any target settlement account corresponding to the account information, and acquiring the target usage pattern of the target electronic recipe corresponding to the target settlement account;
    若所述目标使用模式为计次模式,则依据所述第一兑换资源以及所述运行数据,生成所述目标电子菜谱的兑换订单;If the target usage mode is counting mode, then generate an exchange order for the target electronic recipe according to the first exchange resource and the operation data;
    若所述目标使用模式为计时模式,则判断当前时间是否属于所述计时模式对应的时间范围内,并在不属于时,依据所述第一兑换资源以及所述运行数据,生成所述目标电子菜谱的兑换订单。If the target usage mode is the timing mode, it is judged whether the current time belongs to the time range corresponding to the timing mode, and if not, the target electronic data is generated according to the first exchange resource and the operation data. Redemption order for recipes.
  15. 根据权利要求14所述的方法,其中,所述接收目标电子菜谱的获取指令之后,所述方法还包括:The method according to claim 14, wherein, after receiving the acquisition instruction of the target electronic recipe, the method further comprises:
    获取所述账户信息对应的历史菜谱使用信息,并依据所述历史菜谱使用信息,确定所述目标电子菜谱的推荐使用模式;Acquiring the historical recipe usage information corresponding to the account information, and determining the recommended usage mode of the target electronic recipe according to the historical recipe usage information;
    当所述获取指令不包括所述目标电子菜谱的初始使用模式时,发送所述推荐使用模式,以询问账户方是否按所述推荐使用模式进行设定,并依据接收到的所述目标电子菜谱的使用模式反馈信息,设定所述目标电子菜谱的目标使用模式;When the acquisition instruction does not include the initial use mode of the target electronic recipe, send the recommended use mode to ask the account party whether to set according to the recommended use mode, and according to the received target electronic recipe The feedback information of the usage mode, setting the target usage mode of the target electronic recipe;
    当所述获取指令包括所述初始使用模式时,按所述初始使用模式设定所述目标电子菜谱的目标使用模式;或者,When the acquiring instruction includes the initial usage mode, setting the target usage mode of the target electronic recipe according to the initial usage mode; or,
    当所述获取指令包括所述初始使用模式,且所述初始使用模式与所述推荐使用模式不同时,发送所述推荐使用模式,以询问使用方是否按所述推荐使用模式进行更改,并依据接收到的所述目标电子菜谱的使用模式反馈信息,设定所述目标电子菜谱的目标使用模式。When the acquisition instruction includes the initial use mode, and the initial use mode is different from the recommended use mode, send the recommended use mode to ask the user whether to make changes according to the recommended use mode, and The received usage mode feedback information of the target electronic recipe is used to set the target usage mode of the target electronic recipe.
  16. 根据权利要9至15中任一项所述的方法,其中,所述待兑换数据包括运行数据,所述运行数据包括运行确认数据、运行启动数据、运行结束数据中至少一种,所述运行确认数据基于对所述目标电子菜谱的执行确认操作产生,所述运行启动数据基于所述目标电子菜谱中第一个步骤的开始运行信号产生,所述运行结束数据基于所述目标电子菜谱的结束运行信号产生,所述运行结束数据包括所述目标电子菜谱的运行记录;The method according to any one of claims 9 to 15, wherein the data to be exchanged includes operation data, and the operation data includes at least one of operation confirmation data, operation start data, and operation end data, and the operation The confirmation data is generated based on the execution confirmation operation of the target electronic recipe, the operation start data is generated based on the start operation signal of the first step in the target electronic recipe, and the operation end data is generated based on the end of the target electronic recipe A running signal is generated, and the running end data includes the running record of the target electronic recipe;
    所述依据所述第一兑换资源以及所述待兑换数据,生成所述目标电子菜谱的兑换订单,具体包括:The generating an exchange order for the target electronic recipe according to the first exchange resource and the data to be exchanged specifically includes:
    当所述运行数据包括所述运行确认数据时,依据所述第一兑换资源, 生成所述目标电子菜谱的兑换订单;或,When the operation data includes the operation confirmation data, generating an exchange order for the target electronic recipe according to the first exchange resource; or,
    当所述运行数据包括所述运行启动数据时,依据所述第一兑换资源,生成所述目标电子菜谱的兑换订单;或,When the operation data includes the operation start data, an exchange order for the target electronic recipe is generated according to the first exchange resource; or,
    当所述运行数据包括所述运行结束数据时,依据所述运行结束数据识别所述目标电子菜谱的已运行步骤,若所述已运行步骤包括所述目标电子菜谱对应的预设核心步骤,则依据所述第一兑换资源,生成所述目标电子菜谱的兑换订单;或,When the operation data includes the operation end data, identify the executed steps of the target electronic recipe according to the operation end data, if the executed steps include the preset core steps corresponding to the target electronic recipe, then Generate an exchange order for the target electronic recipe according to the first exchange resource; or,
    当所述运行数据包括所述运行结束数据时,依据所述运行结束数据识别所述目标电子菜谱是否为异常退出,若不为异常退出,则依据所述第一兑换资源,生成所述目标电子菜谱的兑换订单。When the operation data includes the operation end data, identify whether the target electronic recipe is exited abnormally according to the operation end data, and if not, generate the target electronic recipe according to the first exchange resource. Redemption order for recipes.
  17. 一种电子菜谱的使用方法,包括:A method for using an electronic recipe, comprising:
    发送目标电子菜谱的待兑换数据,以使菜谱服务器依据所述待兑换数据以及所述目标电子菜谱的第一兑换资源生成所述目标电子菜谱的兑换订单;Sending the data to be exchanged for the target electronic recipe, so that the recipe server generates an exchange order for the target electronic recipe according to the data to be exchanged and the first exchange resource of the target electronic recipe;
    接收所述兑换订单。The exchange order is received.
  18. 根据权利要求17所述的方法,其中,所述待兑换数据包括对所述目标电子菜谱的兑换次数,所述第一兑换资源包括所述目标电子菜谱对应的单次兑换资源;所述接收所述兑换订单之后,所述方法还包括:The method according to claim 17, wherein the data to be redeemed includes the number of times of redemption of the target electronic recipe, and the first redemption resource includes a single redemption resource corresponding to the target electronic recipe; the received After the exchange order, the method also includes:
    分配所述目标电子菜谱的可用次数,其中,当前烹饪设备对应的分配次数小于或等于所述可用次数;Allocating the available times of the target electronic recipe, wherein the allocated times corresponding to the current cooking device is less than or equal to the available times;
    响应于所述目标电子菜谱的运行信号,依据所述当前烹饪设备的分配次数,运行所述目标电子菜谱。In response to the running signal of the target electronic recipe, the target electronic recipe is run according to the current allocation times of the cooking equipment.
  19. 一种电子菜谱的使用装置,包括:A device for using an electronic recipe, comprising:
    数据接收模块,设置为接收目标电子菜谱的待兑换数据;The data receiving module is configured to receive the data to be exchanged for the target electronic recipe;
    资源确定模块,设置为确定所述目标电子菜谱对应的第一兑换资源;A resource determination module, configured to determine the first exchange resource corresponding to the target electronic recipe;
    订单生成模块,设置为依据所述第一兑换资源以及所述待兑换数据,生成所述目标电子菜谱的兑换订单。The order generating module is configured to generate an exchange order for the target electronic recipe according to the first exchange resource and the data to be exchanged.
  20. 一种电子菜谱的使用装置,包括:A device for using an electronic recipe, comprising:
    数据发送模块,设置为发送目标电子菜谱的待兑换数据,以使菜谱服务器依据所述待兑换数据以及所述目标电子菜谱的第一兑换资源生成所述目标电子菜谱的兑换订单;The data sending module is configured to send the data to be exchanged of the target electronic recipe, so that the recipe server generates an exchange order for the target electronic recipe according to the data to be exchanged and the first exchange resource of the target electronic recipe;
    订单接收模块,设置为接收所述兑换订单。The order receiving module is configured to receive the exchange order.
  21. 一种计算机可读存储介质,其中,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至6、9至18中任一项所述的方法。A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to perform any one of claims 1 to 6, 9 to 18 when running the method described.
  22. 一种电子装置,包括存储器和处理器,其中,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至6、9至18中任一项所述的方法。An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to perform any one of claims 1 to 6, 9 to 18 method described in the item.
PCT/CN2022/123240 2021-11-02 2022-09-30 Use and permission sharing method and device for electronic menu WO2023078012A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202111289582.6A CN116091264A (en) 2021-11-02 2021-11-02 Electronic menu using method and device, storage medium and computer equipment
CN202111289582.6 2021-11-02
CN202111355632.6A CN116136909A (en) 2021-11-16 2021-11-16 Menu authority sharing method and device
CN202111355632.6 2021-11-16

Publications (1)

Publication Number Publication Date
WO2023078012A1 true WO2023078012A1 (en) 2023-05-11

Family

ID=86240629

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/123240 WO2023078012A1 (en) 2021-11-02 2022-09-30 Use and permission sharing method and device for electronic menu

Country Status (2)

Country Link
TW (1) TW202326557A (en)
WO (1) WO2023078012A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11134322A (en) * 1997-10-31 1999-05-21 Fujitsu Ltd Cooking recipe processor and recording medium
CN202615459U (en) * 2012-05-31 2012-12-19 北京热点联盟科技有限公司 Electronic ordering system by using consumer's mobile intelligent terminal
CN102855595A (en) * 2012-08-27 2013-01-02 中国农业银行股份有限公司天津市分行 Self-service ordering terminal with payment function
CN109978721A (en) * 2019-02-26 2019-07-05 甘肃添翼设计有限公司 A kind of multi-functional new media electronic cookbook equipment
CN111179380A (en) * 2019-12-27 2020-05-19 珠海优特智厨科技有限公司 Method and device for acquiring electronic menu, storage medium and terminal
CN111839178A (en) * 2020-06-30 2020-10-30 深圳市行疆技术有限公司 Cooking control method and device, food machine and server
CN111899429A (en) * 2020-06-30 2020-11-06 深圳市优点智慧科技有限公司 Cooking control method and device of food machine, server and food machine

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11134322A (en) * 1997-10-31 1999-05-21 Fujitsu Ltd Cooking recipe processor and recording medium
CN202615459U (en) * 2012-05-31 2012-12-19 北京热点联盟科技有限公司 Electronic ordering system by using consumer's mobile intelligent terminal
CN102855595A (en) * 2012-08-27 2013-01-02 中国农业银行股份有限公司天津市分行 Self-service ordering terminal with payment function
CN109978721A (en) * 2019-02-26 2019-07-05 甘肃添翼设计有限公司 A kind of multi-functional new media electronic cookbook equipment
CN111179380A (en) * 2019-12-27 2020-05-19 珠海优特智厨科技有限公司 Method and device for acquiring electronic menu, storage medium and terminal
CN111839178A (en) * 2020-06-30 2020-10-30 深圳市行疆技术有限公司 Cooking control method and device, food machine and server
CN111899429A (en) * 2020-06-30 2020-11-06 深圳市优点智慧科技有限公司 Cooking control method and device of food machine, server and food machine

Also Published As

Publication number Publication date
TW202326557A (en) 2023-07-01

Similar Documents

Publication Publication Date Title
JP7413330B2 (en) energy resource network
JP7316392B2 (en) Methods and systems in which blockchain is realized
US11150271B2 (en) Method or system for management of a device for energy consumption by applying blockchain protocol
CN108959621B (en) Method, device, equipment and storage medium for realizing block chain network
JP5245330B2 (en) Peer-to-peer network with uploader receiving payment
CN109168139B (en) WiFi sharing method based on block chain and server
CN110599323B (en) Resource processing method and processing equipment
TWI769393B (en) Credit value-based platform contract execution method and device
US20090210328A1 (en) System and method for facilitating a commercial peer to peer network
WO2016188020A1 (en) Traffic management method, device, system, terminal, and computer storage medium
CN106056417A (en) Distributing premium content with advertising sponsorship
WO2018032762A1 (en) Method and system for conducting digital asset transaction according to strategy
US20140208399A1 (en) Method and system for accessing a computing resource
US10217155B2 (en) Product cross-selling method and system
JP2008252735A (en) Information distribution system, information processor and method, information distribution apparatus and method, and program
US8751329B2 (en) Licensed content purchasing and delivering
El-Sayed et al. A real pilot-platform implementation for blockchain-based peer-to-peer energy trading
Juliano dydx: A standard for decentralized margin trading and derivatives
WO2020162515A1 (en) Control method, server, and program
US20140379491A1 (en) Auction apparatus and auction method
CN113672637A (en) Block chain-based product supply chain green electricity consumption accounting method, device and platform
EP3609153B1 (en) Maintenance equipment management method, server and computer-readable storage medium
WO2023078012A1 (en) Use and permission sharing method and device for electronic menu
JP5140619B2 (en) Content usage right management system, content usage right management device and method
US20130311356A1 (en) Secure File Transfer with Electronic Payment Integration

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22889038

Country of ref document: EP

Kind code of ref document: A1