CN114697075A - Resource allocation method and device, server and storage medium - Google Patents

Resource allocation method and device, server and storage medium Download PDF

Info

Publication number
CN114697075A
CN114697075A CN202210171727.0A CN202210171727A CN114697075A CN 114697075 A CN114697075 A CN 114697075A CN 202210171727 A CN202210171727 A CN 202210171727A CN 114697075 A CN114697075 A CN 114697075A
Authority
CN
China
Prior art keywords
resource
user account
current
equipment
account
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202210171727.0A
Other languages
Chinese (zh)
Inventor
周子韧
李微萌
王粲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhiji Automobile Technology Co Ltd
Original Assignee
Zhiji Automobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhiji Automobile Technology Co Ltd filed Critical Zhiji Automobile Technology Co Ltd
Priority to CN202210171727.0A priority Critical patent/CN114697075A/en
Publication of CN114697075A publication Critical patent/CN114697075A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/102Entity profiles

Abstract

The application provides a resource allocation method and device, a server and a storage medium. The method and the device have the advantages of subscribing with the device and subscribing with the user by constructing the composite judgment system by using the user account and the device account, provide a resource configuration mode of multi-point login of a user-friendly and multi-authorized user, realize authorization during multi-user authorization and temporary cross-device use and configuration of resource limits such as network flow and the like, better accord with the content payment behavior habit of the user, and support multi-point login, cross-device use, multi-user sharing and the like.

Description

Resource allocation method and device, server and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a resource configuration method and device, a server and a storage medium, wherein the resource configuration method and device can realize multi-point login of an authorized user.
Background
With the development of science and technology and the continuous progress of internet technology, the service functions of the vehicle machine are gradually increased and enhanced. The car machine is a vehicle-mounted information entertainment product installed in a car, and the car machine can realize information communication between people and the car and between the car and the outside (car and car) functionally. Identity registration and activation of applications typically is required before the applications installed on the car machine can be used. After activation is completed, the user can use the service provided by one or more application programs on the vehicle terminal, and meanwhile, the server providing the service can collect the use data of the user on the application programs.
With the development of the automatic driving technology, software value-added service purchase schemes such as automatic driving of vehicles and the like begin to appear. The pay-for-purchase of common content/software/services is made by paying a corresponding fee at a time or monthly/annually to the vehicle (device) to activate a corresponding function on the corresponding vehicle. However, in the above two methods, when the user has multiple vehicles or the device for the user to use the service is changed, many authorized licenses cannot be transferred or are difficult to transfer, and the vehicle (device) cannot be carried around as a mobile phone at any time due to the special properties of the vehicle, and when the user who purchases the service drives another vehicle, the user cannot enjoy the service purchased by the user.
The existing vehicle (equipment) activation authorization mode still belongs to the traditional mode of authorizing equipment, so that service cannot be continued across equipment, and even if the same user purchases a plurality of vehicles, a plurality of authorization copies still need to be purchased. Taking the automatic driving scenario as an example, when the automatic driving software authorizes the vehicle to arrive, the situation that the user drives other vehicles temporarily cannot be covered. The problem becomes more complicated when calculations and restrictions concerning amounts, available traffic, storage space, etc. are involved. Taking the data traffic in the vehicle as an example, the ESIM card associated in the vehicle is fixed and needs to bind the real-name information of the user, and it is difficult to calculate or merge the traffic across devices. For example, the user has two vehicles A, B of the same brand, each vehicle gives a 10G flow per month, and when the user drives the vehicle a in the current month and the flow exceeds 10G, the user still needs to pay for the vehicle a or give up the flow using the vehicle B even if the flow of the vehicle B in the current month remains huge.
Therefore, how to implement resource allocation problems of multi-authorized user multi-point login service activation, flow calculation and the like is a technical problem to be solved urgently at present.
Disclosure of Invention
The application aims to provide a resource configuration method and device, a server and a storage medium, which can give consideration to service activation used by a user across devices and reasonably use network traffic under the condition of meeting user requirements.
To achieve the above object, a first embodiment of the present application provides a resource allocation method, including the following steps: allocating user account records for users, and allocating equipment accounts for equipment and recording the equipment accounts; responding to a resource authority configuration request initiated by a user, and configuring corresponding resource use authority for a user account and an equipment account associated with the resource authority configuration request; receiving a resource query request of a current user account and a current equipment account initiated by current equipment according to an account login event; and responding to the resource query request, and completing the resource configuration of the current equipment according to the resource usage permission of the current equipment account and the resource usage permission of the current user account.
To achieve the above object, a second embodiment of the present application provides a resource configuration apparatus, where the apparatus includes:
the distribution unit is used for distributing user account records for users and distributing equipment accounts for equipment and recording the equipment accounts;
the first configuration unit is used for responding to a resource authority configuration request initiated by a user and configuring corresponding resource use authority for a user account and an equipment account which are related to the resource authority configuration request;
the receiving unit is used for receiving a resource query request of a current user account and a current equipment account initiated by current equipment according to an account login event;
and the second configuration unit is used for responding to the resource query request and completing the resource configuration of the current equipment according to the resource usage permission of the current equipment account and the resource usage permission of the current user account.
To achieve the above object, a third embodiment of the present application provides a server, including: a processor; a memory storing a computer program that, when executed by the processor, performs the steps of the method described herein.
To achieve the above object, a fourth embodiment of the present application provides a computer-readable storage medium storing a computer program, which when executed by a processor implements the steps of the method described in the present application.
Compared with the prior art, the resource configuration method provided by the embodiment of the application constructs a composite judgment system by using the user account and the equipment account, has the advantages of equipment subscription and user subscription, provides a resource configuration method which is user-friendly and multi-authorized and allows users to log in at multiple points, can realize authorization during multi-user authorization and temporary cross-equipment use and configuration of resource limits such as network flow and the like, better accords with the content payment behavior habit of the user, and can support multi-point login, cross-equipment use, multi-user sharing and the like.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that are required to be used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic flowchart of a resource allocation method according to a first embodiment of the present application;
fig. 2 is a flowchart illustrating a resource allocation method according to a second embodiment of the present application;
FIG. 3 is a schematic diagram of a first embodiment of an autopilot subscription service function activation provided by the present application;
FIG. 4 is a schematic diagram of a second embodiment of an automatic driving subscription service function activation provided by the present application;
fig. 5 is a flowchart illustrating a resource allocation method according to a third embodiment of the present application;
fig. 6 is a schematic diagram of a first embodiment of a network traffic and a car-following account provided in the present application;
fig. 7 is a schematic diagram of a second embodiment of a network traffic and a car-following account provided in the present application;
fig. 8 is a schematic structural diagram of a resource allocation apparatus according to a fourth embodiment of the present application;
fig. 9 is a schematic architecture diagram of a server according to a fifth embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It is noted that the terms "comprises" and "comprising," and variations thereof, as referred to in the specification of the present application, are intended to cover non-exclusive inclusions. The terms "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order, unless otherwise clearly indicated by the context, and it is to be understood that the data so used is interchangeable under appropriate circumstances. In addition, the embodiments and features of the embodiments in the present application may be combined with each other without conflict. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present application.
Please refer to fig. 1, which is a flowchart illustrating a resource allocation method according to a first embodiment of the present application. The execution main body of the resource allocation method can be a resource allocation device, and the resource allocation device can be realized by adopting a server which has data processing capacity and can run a preset control program.
As shown in fig. 1, the present application provides a resource allocation method, which includes the following steps:
s1: allocating a user account record for a user in advance, and allocating and recording an equipment account for equipment;
s2: responding to a resource authority configuration request initiated by a user, and configuring corresponding resource use authority for a user account and an equipment account associated with the resource authority configuration request;
s3: receiving a resource query request of a current user account and a current equipment account initiated by current equipment according to an account login event;
s4: and responding to the resource query request, and completing the resource configuration of the current equipment according to the resource usage permission of the current equipment account and the resource usage permission of the current user account.
Compared with the traditional method for authorizing the equipment to be activated, which can cause the service to be incapable of continuing across the equipment, the resource configuration method provided by the application constructs a composite judgment system by using the user account and the equipment account, has the advantages of subscribing with the equipment and subscribing with the user, provides a resource configuration method for multi-point login of a user-friendly and multi-authorized user, can realize authorization during multi-user authorization and temporary cross-equipment use and configuration of resource limit such as network flow, better conforms to the content payment behavior habit of the user, and can support multi-point login, cross-equipment use, multi-person sharing and the like.
In some embodiments, the resource may include a service function of at least one of a vehicle autopilot function, network traffic, a software service package, a media VIP, insurance, and the resource usage rights are configured as at least one of a buy-out, a subscription, a gift, and an extraction of the service function. In some embodiments, the resource may include at least one of network traffic, software service packages, coins, credits, tokens.
The resource allocation method of the present application is further explained below by taking the automatic driving subscription service function activation and the network traffic and the car following account number as examples.
Please refer to fig. 2-4, wherein fig. 2 is a schematic flow chart illustrating a resource allocation method according to a second embodiment of the present application; FIG. 3 is a schematic diagram of a first embodiment of an autopilot subscription service function activation provided by the present application; fig. 4 is a schematic diagram of a second embodiment of activating an automatic driving subscription service function provided by the present application.
As shown in fig. 2, the present embodiment takes the resource as a service function as an example for explanation. In this embodiment, the method includes the steps of:
s21: allocating user account records for users, and allocating equipment accounts for equipment and recording the equipment accounts;
s22: responding to a service function permission configuration request initiated by a user, and configuring corresponding service function use permission for a user account and an equipment account associated with the service function permission configuration request;
s23: receiving a service function query request of a current user account and a current equipment account initiated by current equipment according to an account login event;
s24: and responding to the service function query request, and completing the service function activation configuration of the current equipment according to the service function usage permission of the current equipment account and the service function usage permission of the current user account.
In the resource configuration method provided in this embodiment, a composite determination system is constructed by using a user account and an equipment account, and service function activation configuration of the current equipment is performed according to the current equipment account and the service function usage right of the current user account. The embodiment has the advantages of subscribing with equipment and subscribing with users, provides a service function activation mode of multi-point login of a user-friendly and multi-authorized user, can realize multi-user authorization and temporary authorization during cross-equipment use, better conforms to the content payment behavior habit of the user, and can support multi-point login, cross-equipment use, multi-user sharing and the like.
In some embodiments, step S24 further includes: when the current equipment account is judged to have the service function authority and the current user account is judged to have the service function authority, completing the service function activation configuration of the current equipment; or, when the current device account is judged not to have the service function right, and when the current user account is judged to have the service function right, completing the service function activation configuration of the current device. That is, when either the current device or the current user has the service function right, the service function can be activated normally. The embodiment has the advantages of subscribing with equipment and subscribing with users, better conforms to the content payment behavior habit of the users, and can support multi-point login, cross-equipment use, multi-person sharing and the like.
In some embodiments, the method further comprises: receiving at least one authorized user appointed by a master user of equipment for the equipment, and establishing a relationship network between a user account of the master user and a user account of the authorized user;
step S24 may further include: when the current equipment account is judged to have the service function authority and the current user account is judged to be the authorized user according to the relationship network, the service function activation configuration of the current equipment is completed; or when the current equipment account is judged not to have the service function right, when the current user account is judged to be the authorized user according to the relationship network and the current user account is judged to have the service function right, completing the service function activation configuration of the current equipment. That is, after the device owner designates a plurality of authorized users (for example, authorized family or friends have service function authority), a relationship network is established among user accounts; the current equipment has service function authority, and the current user is an authorized user, and can also normally activate the service function; even if the current device does not have the service function authority, if the current user is an authorized user and has the service function authority, the service function can still be normally activated.
The embodiment has the advantages of subscribing with equipment and subscribing with users, can realize multi-user authorization and temporary authorization in cross-equipment use, better conforms to the content payment behavior habit of users, and can support multi-point login, cross-equipment use, multi-user sharing and the like.
Take the automatic driving (AP) subscription service function activation as an example:
1) the resource allocation device allocates an ID to each user and each device (the user account is UID, and the device account is VID);
2) when a user initiates an automatic driving subscription operation (or other events causing the service function to be activated), the resource configuration device synchronously gives service function (namely automatic driving subscription) authority corresponding to the UID and the VID (such as equipment and equipment owner) with the association relationship; the resource configuration device can further configure the effective period of the service function authority;
3) after a device owner designates a plurality of authorized users (for example, authorized family or friends have service function authority), a relationship network is established among user accounts;
4) when each device generates an account login event, the current VID and the current UID are used for service function query;
5) if the current VID has the service function authority, judging whether the current UID belongs to any one of the equipment owner, the authorized user of the equipment owner and the user account with the service function authority; if the current device is one of the three devices, the service function of the current device is normally activated, and the current UID can use the automatic driving subscription service function on the current VID;
6) if the current VID does not have the service function authority, judging whether the current UID is a user account with the service function authority; and if the current UID is a user account with the service function authority, the service function of the current equipment is normally activated, and the current UID can use the automatic driving subscription service function on the current VID.
As can be seen from the embodiment shown in fig. 3, except for the case where neither the current device (vehicle) nor the current user (driver) has the service function authority (i.e., no AP subscription) and thus the current UID may not use the AP subscription service function on the current VID, the service function activation configuration provided by this embodiment may use the automatic driving subscription service function on the current device when either the current device (vehicle) or the current user (device owner or authorized user thereof) has the service function authority (i.e., has the AP subscription).
The embodiment has the advantages of subscribing with equipment and subscribing with users, provides a method which is user-friendly, can realize multi-user authorization and authorization during temporary cross-equipment use, better accords with the content payment behavior habit of users, and can support multi-authorized users, multi-point login, cross-equipment use, multi-user sharing and the like.
As can be seen from the embodiment shown in fig. 4, with the service function activation configuration provided by this embodiment, after an equipment owner (e.g., a shown owner's wisdom) with service function authority (i.e., purchasing an AP subscription can unlock a complete AP function) specifies an authorized user (e.g., a shown owner's wisdom which is not a friend of the owner/user wisdom and an owner's wisdom which does not purchase an AP subscription), both the equipment owner and the authorized user can use the automatic driving subscription service function in the wisdom vehicle;
for the smart car without the service function authority (i.e. without purchasing AP subscription and unlocking complete AP function), after the car owner smart car designates the smart as the authorized user, the smart car still can use the automatic driving subscription service function on the smart car because the smart car has the service function authority.
The embodiment has the advantages of subscribing with the equipment and subscribing with the user, provides a method which is user-friendly, can realize multi-user authorization and authorization during temporary cross-equipment use, better accords with the content payment behavior habit of the user, and can support multi-authorized users, multi-point login, cross-equipment use, multi-user sharing and the like.
In some embodiments, the resource allocation method provided in this embodiment may further include at least one of the following resource allocations:
configuring the number of the device accounts associated with the user account;
configuring the effective period of the service function authority;
configuring authority transfer of service function authority of the equipment account;
configuring the number of authorized users;
and configuring the equipment model associated with the service function authority of the user account.
That is, according to the actual configuration situation, the resource configuration apparatus of the present application may limit the number of associated VIDs, may limit the validation period and/or activation lifetime of the service function rights from several seconds to a permanent state, may configure whether to allow transfer of the VID rights, may limit the number of authorized users, may control whether authorization may be performed across device models, and may provide a discount price for purchasing the second authorization package.
Please refer to fig. 5-7, wherein fig. 5 is a flowchart illustrating a resource allocation method according to a third embodiment of the present application; fig. 6 is a schematic diagram of a first embodiment of a network traffic and a car-following account provided in the present application; fig. 7 is a schematic diagram of a second embodiment of a network traffic and a car-following account provided in the present application.
As shown in fig. 5, this embodiment takes the resource as the network traffic as an example for explanation.
In this embodiment, the method includes the steps of:
s51: allocating user account records for a user, allocating equipment accounts for equipment and recording, and recording all equipment accounts related to the user accounts and a first resource limit configured for each equipment account;
s52: responding to a resource authority configuration request initiated by a user, configuring the resource total amount of the user account as the first resource total amount sum of all the associated device accounts, and configuring the device account to store the associated user account;
s53: receiving a resource query request of a current user account and a current equipment account initiated by current equipment according to an account login event;
s54: responding the resource inquiry request, acquiring the resource total amount of the associated user account stored in the current equipment account, and completing the configuration of the available resource total amount of the current equipment according to the resource total amount of the associated user account and the resource total amount of the current user account.
In the resource configuration method provided by the embodiment, a composite judgment system is established by using the user account and the equipment account, the equipment owner can share the total resource amount of all the equipment under the name of the equipment owner, the resource amount consumption of other users on the equipment with the resource amount can be scientifically and reasonably configured, the advantages of subscribing with the equipment and the user are achieved, and a user-friendly resource configuration mode with multi-user multi-point login is provided. Compared with the traditional method of one-time purchase-breaking or limit limiting to equipment, the resource configuration method provided by the embodiment better conforms to the content payment behavior habit of the user, can support multi-point login, cross-equipment use, multi-person sharing and the like, and can realize the complete and careful service subscription experience.
In some embodiments, step S54 further includes: and when the current user account is judged to be the related user account of the current equipment or the current user account is judged to be a third party user account with the resource total line lower than a preset threshold value, the available resource total line of the current equipment is configured to be the resource total line of the related user account, and the line consumption calculation is carried out.
For network flow subscription, if the total network flow amount of an owner (namely a relevant user of the equipment) of the equipment (vehicle) is greater than a preset threshold (the preset threshold can be 0), an owner drives the own vehicle to directly use the total network flow amount of the owner (when the owner owns a plurality of vehicles, the network flow amount is shared across vehicles); when the user without the network flow rate limit drives the vehicle with the network flow rate total limit, the network flow rate limit of the vehicle can be used for calculating the limit consumption. The embodiment has the advantages of subscribing with equipment and subscribing with users, better conforms to the content payment behavior habit of the users, and can support cross-equipment use of network flow, multi-user sharing and the like.
In some embodiments, the method further comprises: responding to a resource value-added event triggered by a user, and acquiring a resource value-added total amount of the user account; step S52 further includes: configuring the resource total amount of the user account as the sum of the first resource amount sum of all the associated device accounts and the resource value-added total amount, and configuring the device account to store the associated user account.
That is, when a user initiates a network traffic purchasing operation (or other events causing resource value increase) through any device, the value-added network traffic obtained by the user is synchronously given to the user account, so that the total resource amount in the user account is the sum of the first total resource amount and the total resource value-added amount, and the advantages of device subscription and user subscription are both achieved, and cross-device use of network traffic can be supported. In some embodiments, the resource value-added total includes a first level resource value-added value (high speed traffic) and a second level resource value-added value.
In the above embodiment, the step S54 may further include: when the current user account is judged to be a third-party user account and the resource total amount of the third-party user account comprises a resource value-added total amount, configuring the available resource amount of the current equipment as the resource total amount of the current user account and carrying out amount consumption calculation; when the total resource amount of the associated user account is judged to be lower than a preset threshold value, and the current user account is judged to be a third-party user account, and the total resource amount of the third-party user account is the first total resource amount of all the associated device accounts, the available resource amount of the current device is configured to be the total resource amount of the current user account, and the amount consumption calculation is carried out;
and when the current user account is judged to be a third-party user account and the total resource limit of the third-party user account is the sum of the first resource limits of all the associated equipment accounts, preferentially configuring the available resource limit of the current equipment as the total resource increase limit of the associated user account and carrying out limit consumption calculation.
That is, when the current user is a non-equipment owner and has network traffic subscription (the resource total amount includes the resource value-added total amount), the network traffic of the current user is used on the current equipment and the amount consumption calculation is carried out;
the current user is a non-equipment owner and only has basic network flow (namely the first resource quota sum of all the associated equipment accounts) and no network flow subscription (the resource quota is the first resource quota sum of all the associated equipment accounts and does not include the resource increment quota), and when no network flow subscription exists on the current equipment, the basic network flow of the current user is used on the current equipment and quota consumption calculation is carried out;
the current user is a non-equipment owner and only has basic network flow (namely the first resource quota sum of all the associated equipment accounts) and no network flow subscription (the resource quota is the first resource quota sum of all the associated equipment accounts and does not include the resource value-added quota), and when the current equipment has the network flow subscription, the network flow subscribed by the current equipment is preferentially used on the current equipment, and quota consumption calculation is carried out.
In connection with the above embodiment, when preferentially configuring the available resource quota of the current device as the resource value-added total quota of the associated user account and performing quota consumption calculation, if it is determined that the resource value-added total quota of the associated user account is consumed completely, configuring the available resource quota of the current device as the resource total quota of the current user account and performing quota consumption calculation.
That is, when the network traffic subscribed by the current device is preferentially used on the current device, if the network traffic subscribed by the current device is exhausted, the basic network traffic of the current user is used instead, and the quota consumption calculation is performed. By recording the user account, the equipment account and the network flow total amount/consumption, the account pool in which the amount consumption is calculated can be judged, and whether the limit of the amount consumption is carried out can be judged.
Taking the quota usage and calculation of network traffic as an example:
1) the resource allocation device allocates an ID (user account is UID, device account is VID) to each user and each device (vehicle); assuming that the number of the devices owned by the user is N, configuring the basic network traffic (the donation traffic of the devices) of each device to be C; the total amount of the value-added network traffic available for the user can be configured to be (A + B), wherein A is high-speed traffic, and B is low-speed traffic;
2) when a user activates/binds equipment, the user authorizes the UID to distribute the donation flow, the total donation flow under the UID is N C, and all the associated equipment can record the UID of the corresponding equipment owner;
3) when a user initiates network flow purchasing operation (or other events causing resource increment) through any equipment, the resource configuration device synchronously endows the obtained increment network flow to the UID thereof, so that the total amount of the network flow in the UID is N x C + (A + B);
4) when a user logs in any equipment (including non-associated equipment), the equipment queries the total network flow amount of the current user through the UID of the current user;
5) if the current user is the equipment owner using the equipment, the network flow total amount of the equipment owner is directly used (when the current user has a plurality of equipment, the network flow total amount is shared across the equipment); for the third party user with no limit of the current user, the network flow is used according to the total limit of the network flow of the current equipment; if the current user is a third-party user with network flow subscription, the network flow is used according to the total network flow amount of the current user; for the third-party user with the current user having the network flow rate limit but no network flow subscription, the network flow of the current user is used when the equipment without the network flow subscription is used, the network flow subscribed by the current equipment is preferentially used when the equipment with the network flow subscription is used, and the network flow subscribed by the current equipment is changed into the network flow used by the current user after the network flow subscribed by the current equipment is used up.
As can be seen from the embodiment shown in fig. 6, the resource configuration method provided in this embodiment can use the network traffic on the current device (vehicle) when the current device and the current user (device owner or third-party user) have network traffic, and the total amount of the network traffic is shared across devices.
The embodiment has the advantages of subscribing with the equipment and subscribing with the user, and provides a resource configuration mode which is user-friendly and multi-user and multi-point login. Compared with the traditional method of one-time purchase-breaking or limit limiting to equipment, the resource configuration method provided by the embodiment better conforms to the content payment behavior habit of the user, can support multi-point login, cross-equipment use, multi-person sharing and the like, and can realize the complete and careful service subscription experience.
As can be seen from the embodiment shown in fig. 7, with the resource allocation provided by the present application, the device owner (e.g., the illustrated owner's smart car) having network traffic (which may include the complimentary traffic of the 10G car itself and the value-added traffic purchased by the 20G car) can use the total network traffic of 40G when driving any one of the cars (e.g., the illustrated smart car 1, the illustrated smart car 2, or the smart car). A wife who is not the owner/user of the vehicle who is wisdom-driven by the vehicle (such as 1 car and 2 cars of the wisdom shown in fig. 7) can also use a total network traffic of 40G. When the vehicle with the added value of 20G is used up, the vehicle with the added value of 20G can be used by any vehicle with little intelligence (such as the 1 vehicle and the 2 vehicles with little intelligence shown in the figure), and when the added value of 20G is used up, the vehicle with the added value of 10G can be used for giving the flow. A wife who is not the owner/user of the vehicle who is wisdom will drive a small vehicle, which can use a total of 10G of network traffic.
The embodiment has the advantages of subscribing with equipment and subscribing with users, and provides a resource configuration mode which is user-friendly and multi-user and multi-point login. Compared with the traditional method of one-time purchase-breaking or limit limiting to equipment, the resource configuration method provided by the embodiment better conforms to the content payment behavior habit of the user, can support multi-point login, cross-equipment use, multi-person sharing and the like, and can realize the complete and careful service subscription experience.
In some embodiments, the resource allocation method provided in this embodiment may further include at least one of the following resource allocations: configuring the number of the device accounts associated with the user account; and configuring the upper limit of the first resource quota and/or the upper limit of the resource value-added total quota. That is, according to the actual configuration situation, the resource configuration apparatus of the present application may limit the number of associated VIDs, may limit the effective period of network traffic (monthly or yearly), may limit the upper limit of the donated traffic of the device itself, may limit the upper limit of the premium network traffic, and may provide a discount price for purchasing a second share of the premium network traffic.
According to the content, the resource configuration method provided by the embodiment of the application constructs the composite judgment system by using the user account and the equipment account, has the advantages of subscribing with equipment and subscribing with the user, provides a resource configuration mode of multi-point login of a user-friendly and multi-authorized user, can realize authorization during multi-user authorization and temporary cross-equipment use and configuration of resource limits such as network flow and the like, better accords with the content payment behavior habit of the user, and can support multi-point login, cross-equipment use, multi-user sharing and the like.
Based on the same inventive concept, the application also provides a resource allocation device.
Please refer to fig. 8, which is a schematic diagram illustrating an architecture of a resource allocation apparatus according to a fourth embodiment of the present application. As shown in fig. 8, the resource allocation apparatus 80 according to this embodiment includes: a distribution unit 81, a first configuration unit 82, a receiving unit 83 and a second configuration unit 84.
Specifically, the allocating unit 81 is configured to allocate a user account record to a user, allocate an equipment account to equipment, and record; the first configuration unit 82 is configured to respond to a resource permission configuration request initiated by a user, and configure a corresponding resource usage permission for a user account and an equipment account associated with the resource permission configuration request; the receiving unit 83 is configured to receive a resource query request of a current user account and a current device account initiated by a current device according to an account login event; the second configuration unit 84 is configured to respond to the resource query request, and complete resource configuration of the current device according to the resource usage right of the current device account and the resource usage right of the current user account.
Since the apparatus can execute the resource allocation method provided in the embodiment of the present application, and the principle of the apparatus for solving the problem is similar to that of the method, reference may be made to the implementation of the method in the embodiment of the apparatus, and repeated details are not described again.
According to the above content, in the resource configuration apparatus provided in the embodiment of the present application, a composite determination system is constructed by using the user account and the device account, so that the advantages of device subscription and user subscription are both achieved, a resource configuration mode for multi-point login of a user-friendly and multi-authorized user is provided, authorization during multi-user authorization and temporary cross-device usage and configuration of resource amounts such as network traffic can be realized, a content payment behavior habit of the user is better met, and multi-point login, cross-device usage, multi-user sharing and the like can be supported.
It should be noted that the embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same/similar parts in the embodiments are referred to each other. For the device embodiment disclosed in the embodiment, since it corresponds to the method embodiment disclosed in the embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for relevant points.
Those of skill would further appreciate that the various illustrative devices and method steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Based on the same inventive concept, the application also provides a server.
Referring to fig. 9, a schematic diagram of a server according to a fifth embodiment of the present application is provided. The server 50 includes a processor 901 and a memory 902. The processor 901 is electrically connected to the memory 902.
The processor 901 is a control center of the electronic device 50, connects various parts of the whole electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device by running or loading an application program stored in the memory 902 and calling the data stored in the memory 902, thereby performing overall monitoring of the electronic device.
The memory 902 is used for storing computer programs; the computer program, when executed by the processor 901, causes the steps of the method as described previously herein to be performed.
The present application also provides a computer-readable storage medium storing a computer program which, when executed by a processor, causes the steps of a method as previously described herein to be performed.
The methods described in the embodiments of the present application may be implemented using computer systems or architectures known to those skilled in the relevant art. Computer systems, such as PDAs, smart phones, palmtops, servers, clients, or any other type of special or general purpose computing device may be used as may be suitable or appropriate for a particular application or environment. The computer system may include one or more processors, which may be implemented using a general or special purpose processing engine such as, for example, a microprocessor, microcontroller or other control processing module.
The computer system may also include a main memory, such as a Random Access Memory (RAM) or other dynamic memory, for storing information and instructions to be executed by the processor. Such main memory may also be used for storing temporary variables or other intermediate information during execution of instructions to be executed by the processor. The computer system may also include a Read Only Memory (ROM) or other static storage device for the processor that stores static information and processor instructions.
The computer system may also include an information storage system, which may include, for example, a media drive and a removable storage interface. The media drive may include a drive or other mechanism to support fixed or removable storage media, such as a hard disk drive, a floppy disk drive, a magnetic tape drive, an optical disk drive, a Compact Disc (CD), a Digital Video Drive (DVD), a read or write drive (R or RW), or other removable or fixed media drive. For example, the storage media may include, for example, a hard disk, floppy disk, magnetic tape, optical disk, CD or DVD, or other fixed or removable medium that is read by and written to by the media drive. The storage media may include a computer-readable storage medium having stored therein particular computer software or data.
In alternative embodiments, the information storage system may include other similar components for allowing computer programs or other instructions or data to be loaded into the computer system. For example, these components may include removable storage units and interfaces, such as program cartridges and cartridge interfaces, removable memory (e.g., flash memory or other removable memory modules) and memory slots, and other removable storage units and interfaces that allow software and data to be transferred from the removable storage unit to the computer system.
The computer system may also include a communications interface. Such a communication interface may be used to allow software and data to be transferred between the computer system and external devices. In this embodiment, the communication interface may include a modem, a network interface (e.g., an ethernet or other NIC card), a communication port (e.g., a Universal Serial Bus (USB) port), a PCMCIA slot and card, etc. Software and data transferred via the communication interface are in the form of signals which may be electronic, electromagnetic, optical or other signals capable of being received by the communication interface.
In this document, the terms "computer program," "computer-readable medium" and the like may be used generally to refer to a tangible medium, such as a memory, a storage device, or a storage unit. These and other forms of computer-readable media may store one or more instructions for use by a processor, including a computer system, to cause the processor to perform specified operations. These instructions, generally referred to as "computer program code" (which may be combined in the form of a computer program or other combinations) when executed, cause a computer system to perform the functions of the embodiments of the present application. Note that the code may directly cause the processor to perform certain operations, be compiled to do so, and/or be combined with other software, hardware, and/or firmware (e.g., libraries that perform standard functions) to do so.
The non-transitory computer readable medium may include at least one of a group consisting of a hard disk, a compact disc Read Only Memory (CD-ROM), an optical storage device, a magnetic storage device, a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), and a flash Memory.
In embodiments where the elements are implemented using software, the software may be stored in a computer-readable medium and loaded into a computer system using, for example, a removable storage drive. When executed by a processor in a computer system, the control module (in this example, software instructions or executable computer program code) causes the processor to perform the functions of the present application as described herein.
Furthermore, the present concepts may be applied to any circuit for performing signal processing functions within a network element. It is further contemplated that, for example, a semiconductor manufacturer may use the concepts of the present application in the design of a stand-alone device, such as a microcontroller of a Digital Signal Processor (DSP) or application-specific integrated circuit (ASIC), and/or any other subsystem element.
It will be appreciated that for clarity purposes embodiments of the application have been described above with reference to a single processing logic. However, the inventive concept may equally be implemented by a plurality of different functional units and processors to provide the signal processing functions. Thus, references to specific functional units are only to be seen as references to suitable means for providing the described functionality rather than indicative of a strict logical or physical structure or organization.
Aspects of the present application may be implemented in any suitable form including hardware, software, firmware or any combination of these. Alternatively, the application may be implemented at least partly as computer software running on one or more data processors and/or digital signal processors or configurable modular components such as FPGA devices. Thus, the elements and components of an embodiment of the application may be physically, functionally and logically implemented in any suitable way. Indeed the functionality may be implemented in a single unit, in a plurality of units or as part of other functional units.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application.

Claims (16)

1. A method for resource allocation, the method comprising the steps of:
allocating user account records for users, and allocating equipment accounts for equipment and recording the equipment accounts;
responding to a resource authority configuration request initiated by a user, and configuring corresponding resource use authority for a user account and an equipment account associated with the resource authority configuration request;
receiving a resource query request of a current user account and a current equipment account initiated by current equipment according to an account login event;
and responding to the resource query request, and completing the resource configuration of the current equipment according to the resource usage permission of the current equipment account and the resource usage permission of the current user account.
2. The method of claim 1, wherein the resource comprises a service function of at least one of a vehicle autopilot function, network traffic, a software service package, a media VIP, and insurance, and wherein the resource usage rights are configured as at least one of a buy-out, a subscription, a give-away, and a draw of the service function.
3. The method of claim 2, wherein the step of completing the resource configuration of the current device according to the resource usage rights of the current device account and the resource usage rights of the current user account further comprises:
when the current equipment account is judged to have the service function authority and the current user account is judged to have the service function authority, completing the service function activation configuration of the current equipment; or
And when the current equipment account is judged not to have the service function right, completing the service function activation configuration of the current equipment when the current user account is judged to have the service function right.
4. The method of claim 2,
the method further comprises: receiving at least one authorized user appointed by a master user of equipment for the equipment, and establishing a relationship network between a user account of the master user and a user account of the authorized user;
the step of completing the resource configuration of the current device according to the resource usage right of the current device account and the resource usage right of the current user account further includes:
when the current equipment account is judged to have the service function authority and the current user account is judged to be the authorized user according to the relationship network, completing the service function activation configuration of the current equipment; or
And when the current equipment account is judged not to have the service function authority, the service function activation configuration of the current equipment is completed when the current user account is judged to be the authorized user according to the relationship network and the current user account is judged to have the service function authority.
5. The method of claim 4, further comprising at least one of the following resource configurations:
configuring the number of the device accounts associated with the user account;
configuring the effective period of the service function authority;
configuring authority transfer of service function authority of the equipment account;
configuring the number of authorized users;
and configuring the equipment model associated with the service function authority of the user account.
6. The method of claim 1, wherein the resource comprises at least one of network traffic, software service packs, coins, credits, and tokens.
7. The method of claim 6,
the step of allocating a user account record for the user and allocating and recording an equipment account for the equipment further comprises: recording all equipment accounts related to the user account and a first resource limit configured by each equipment account;
the step of configuring the corresponding resource usage right for the user account and the device account associated with the resource right configuration request further includes: configuring the resource total amount of the user account as the first resource total amount of all the associated device accounts, and configuring the device account to store the associated user account;
the step of completing the resource configuration of the current device according to the resource usage right of the current device account and the resource usage right of the current user account further includes:
and acquiring the resource total amount of the associated user account stored in the current equipment account, and completing the configuration of the usable resource total amount of the current equipment according to the resource total amount of the associated user account and the resource total amount of the current user account.
8. The method of claim 7, wherein the step of completing the configuration of the available resource quota of the current device according to the resource quota of the associated user account and the resource quota of the current user account further comprises:
and when the current user account is judged to be the related user account of the current equipment or the current user account is judged to be a third party user account with the total resource limit lower than a preset threshold value, configuring the usable resource limit of the current equipment as the total resource limit of the related user account and carrying out limit consumption calculation.
9. The method of claim 7,
the method further comprises: responding to a resource value-added event triggered by a user, and acquiring a resource value-added total amount of the user account;
the step of configuring the corresponding resource usage right for the user account and the device account associated with the resource right configuration request further includes: and configuring the resource total amount of the user account as the sum of the first resource amount sum of all the associated device accounts and the resource value-added total amount, and configuring the device account to store the associated user account.
10. The method of claim 9, wherein the resource value-added total includes a first level resource value-added value.
11. The method of claim 9, wherein the step of completing the configuration of the available resource amount of the current device according to the resource amount of the associated user account and the resource amount of the current user account further comprises:
when the current user account is judged to be a third-party user account and the resource total amount of the third-party user account comprises a resource value-added total amount, configuring the available resource amount of the current equipment as the resource total amount of the current user account and carrying out amount consumption calculation;
when the total resource amount of the associated user account is judged to be lower than a preset threshold value, and the current user account is judged to be a third-party user account, and the total resource amount of the third-party user account is the first total resource amount of all the associated device accounts, the available resource amount of the current device is configured to be the total resource amount of the current user account, and the amount consumption calculation is carried out;
and when the resource total amount of the associated user account is judged to comprise the resource value-added total amount, and the current user account is judged to be the third party user account, and the resource total amount of the third party user account is the first resource total amount sum of all the associated equipment accounts, preferentially configuring the available resource amount of the current equipment as the resource value-added total amount of the associated user account and carrying out the amount consumption calculation.
12. The method of claim 11, wherein the step of preferentially configuring the available resource quota of the current device as the resource value-added total quota of the associated subscriber account and performing quota consumption calculation further comprises:
and after the resource value-added total line of the associated user account is judged to be completely consumed, configuring the available resource line of the current equipment as the resource total line of the current user account and carrying out line consumption calculation.
13. The method of claim 9, further comprising at least one of the following resource configurations:
configuring the number of the device accounts associated with the user account;
and configuring the upper limit of the first resource quota and/or the upper limit of the resource value-added total quota.
14. An apparatus for resource configuration, the apparatus comprising:
the distribution unit is used for distributing user account records for users and distributing equipment accounts for equipment and recording the equipment accounts;
the first configuration unit is used for responding to a resource authority configuration request initiated by a user and configuring corresponding resource use authority for a user account and an equipment account which are related to the resource authority configuration request;
the receiving unit is used for receiving a resource query request of a current user account and a current equipment account initiated by current equipment according to an account login event;
and the second configuration unit is used for responding to the resource query request and completing the resource configuration of the current equipment according to the resource usage permission of the current equipment account and the resource usage permission of the current user account.
15. A server, comprising:
a processor;
memory storing a computer program which, when executed by the processor, carries out the steps of the method according to any one of claims 1 to 13.
16. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 13.
CN202210171727.0A 2022-02-24 2022-02-24 Resource allocation method and device, server and storage medium Withdrawn CN114697075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210171727.0A CN114697075A (en) 2022-02-24 2022-02-24 Resource allocation method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210171727.0A CN114697075A (en) 2022-02-24 2022-02-24 Resource allocation method and device, server and storage medium

Publications (1)

Publication Number Publication Date
CN114697075A true CN114697075A (en) 2022-07-01

Family

ID=82137582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210171727.0A Withdrawn CN114697075A (en) 2022-02-24 2022-02-24 Resource allocation method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN114697075A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800880A (en) * 2009-02-10 2010-08-11 中兴通讯股份有限公司 Method and system for realizing IPTV one-user-multi-machine
CN102970587A (en) * 2012-12-02 2013-03-13 北京中科大洋科技发展股份有限公司 Multi-user account realizing method suitable for OTT (Over The Top) internet television
KR20160082174A (en) * 2014-12-31 2016-07-08 서준수 Using multiple passwords, login system methods of operation
CN105763593A (en) * 2014-12-19 2016-07-13 中兴通讯股份有限公司 Equipment sharing method and device under multi-user sharing environment, server and terminal
CN106553617A (en) * 2015-09-25 2017-04-05 上海汽车集团股份有限公司 Control method for vehicle, sharing method and device
US20170163623A1 (en) * 2015-12-02 2017-06-08 International Business Machines Corporation Multi-user authentication
CN109461038A (en) * 2018-08-13 2019-03-12 谢玮琦 A kind of integrated management approach of individual parking stall
CN111162921A (en) * 2019-11-27 2020-05-15 华为技术有限公司 Multi-account cloud service usage package sharing method and device and related equipment
US20200175188A1 (en) * 2018-11-29 2020-06-04 Ricoh Company, Ltd. Information processing apparatus, information processing system, and control method
CN113347242A (en) * 2021-05-28 2021-09-03 Oppo广东移动通信有限公司 Cross-device resource access method and device, storage medium and electronic device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800880A (en) * 2009-02-10 2010-08-11 中兴通讯股份有限公司 Method and system for realizing IPTV one-user-multi-machine
CN102970587A (en) * 2012-12-02 2013-03-13 北京中科大洋科技发展股份有限公司 Multi-user account realizing method suitable for OTT (Over The Top) internet television
CN105763593A (en) * 2014-12-19 2016-07-13 中兴通讯股份有限公司 Equipment sharing method and device under multi-user sharing environment, server and terminal
KR20160082174A (en) * 2014-12-31 2016-07-08 서준수 Using multiple passwords, login system methods of operation
CN106553617A (en) * 2015-09-25 2017-04-05 上海汽车集团股份有限公司 Control method for vehicle, sharing method and device
US20170163623A1 (en) * 2015-12-02 2017-06-08 International Business Machines Corporation Multi-user authentication
CN109461038A (en) * 2018-08-13 2019-03-12 谢玮琦 A kind of integrated management approach of individual parking stall
US20200175188A1 (en) * 2018-11-29 2020-06-04 Ricoh Company, Ltd. Information processing apparatus, information processing system, and control method
CN111162921A (en) * 2019-11-27 2020-05-15 华为技术有限公司 Multi-account cloud service usage package sharing method and device and related equipment
CN113347242A (en) * 2021-05-28 2021-09-03 Oppo广东移动通信有限公司 Cross-device resource access method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
US10834178B2 (en) Provisioning a bare-metal server
US9129052B2 (en) Metering resource usage in a cloud computing environment
US10967880B2 (en) Remotely controlling use of features based on automatic validation requests
TW201814604A (en) Intelligent vehicle payment system and method
JP2014532935A (en) Marketplace for composite applications / data solutions
WO2013166418A2 (en) Methods and systems of digital rights management for vehicles
CN109670813B (en) Account management method and device, computer device and computer readable storage medium
CN108629910B (en) Shared vehicle using method and device and server
US11276047B2 (en) Determining and distributing fuel credits using a computer-based immutable ledger
KR20220070511A (en) Computer-implemented methods, software programs and systems for providing vehicle service and triggering a payment process for vehicle service.
RU2463658C2 (en) Prepaid access to data processing using portable data storage devices
CN105632181B (en) parking lot management method and device
US11068896B2 (en) Granting requests for authorization using data of devices associated with requestors
CN108921963A (en) Stop fee payment method, system and storage medium
JP6814695B2 (en) Reservation management device, reservation management method, and program
CN111028064B (en) Block chain-based internet of things platform transaction system, method and equipment
US10981542B2 (en) Vehicle theft prevention based on fueling pattern
CN109670808A (en) Reimbursement of expense method, apparatus, computer installation, storage medium and vehicle washing system
CA2846707A1 (en) Bridging suspension of accounts
CN114697075A (en) Resource allocation method and device, server and storage medium
JP7215378B2 (en) In-vehicle control device, information processing device, network system for vehicle, method of providing application program, and program
CN108696864A (en) Virtual-number is asked and sending method, device and storage medium
CN109447743B (en) E-commerce platform authority management method and system
CN116188072A (en) User equity processing system and member equity processing system
CN112562100B (en) User binding method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20220701