CN113673890B - Cloud mobile phone resource order processing method, related device and computer program product - Google Patents

Cloud mobile phone resource order processing method, related device and computer program product Download PDF

Info

Publication number
CN113673890B
CN113673890B CN202110987788.XA CN202110987788A CN113673890B CN 113673890 B CN113673890 B CN 113673890B CN 202110987788 A CN202110987788 A CN 202110987788A CN 113673890 B CN113673890 B CN 113673890B
Authority
CN
China
Prior art keywords
resource
mobile phone
order
cloud mobile
order information
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.)
Active
Application number
CN202110987788.XA
Other languages
Chinese (zh)
Other versions
CN113673890A (en
Inventor
梁祥泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110987788.XA priority Critical patent/CN113673890B/en
Publication of CN113673890A publication Critical patent/CN113673890A/en
Application granted granted Critical
Publication of CN113673890B publication Critical patent/CN113673890B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Marketing (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Educational Administration (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure provides a cloud mobile phone resource order processing method, a cloud mobile phone resource order processing device, electronic equipment, a computer readable storage medium and a computer program product, and relates to the technical fields of cloud mobile phones, cloud services, data verification and the like. The method comprises the following steps: acquiring a cloud mobile phone resource order to be processed, wherein the cloud mobile phone resource order is generated based on the operation of a user on a target cloud mobile phone resource; determining an information category to which order information in a cloud mobile phone resource order belongs, and determining an order information table corresponding to the information category, wherein each type of order information is maintained in advance as an independent order information table; the information use state of the order information in the order information table of the corresponding information category is adjusted. According to the method, various information related to the cloud mobile phone resource order is maintained as an independent order information list for standby in advance, so that when the information type of the order information in the actual cloud mobile phone resource order is determined, the order information list of the corresponding type can be selected quickly, and the order information processing efficiency is higher and more accurate.

Description

Cloud mobile phone resource order processing method, related device and computer program product
Technical Field
The disclosure relates to the technical field of data processing, in particular to the technical fields of cloud mobile phones, cloud services, data verification and the like, and particularly relates to a cloud mobile phone resource order processing method, a cloud mobile phone resource order processing device, electronic equipment, a computer readable storage medium and a computer program product.
Background
With the gradual migration of various services to the cloud, the performance of terminal equipment held by a user can be reduced as much as possible by various cloud services.
Compared with the configuration of the smart phone of the user, the cloud phone constructed based on the huge operation capability of the cloud server can provide easily expanded service capability for the user at lower cost.
Considering a large number of cloud mobile phone resource orders which may be generated later, how to better and more efficiently process order information of the cloud mobile phone resource orders is a problem to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the disclosure provides a cloud mobile phone resource order processing method, a cloud mobile phone resource order processing device, electronic equipment, a computer readable storage medium and a computer program product.
In a first aspect, an embodiment of the present disclosure provides a cloud mobile phone resource order processing method, including: acquiring a cloud mobile phone resource order to be processed, wherein the cloud mobile phone resource order is generated based on the operation of a user on a target cloud mobile phone resource; determining an information category to which order information in a cloud mobile phone resource order belongs, and determining an order information table corresponding to the information category, wherein each type of order information is maintained in advance as an independent order information table; the information use state of the order information in the order information table of the corresponding information category is adjusted.
In a second aspect, an embodiment of the present disclosure provides a cloud mobile phone resource order processing device, including: the order acquisition unit is configured to acquire a cloud mobile phone resource order to be processed, and the cloud mobile phone resource order is generated based on the operation of a user on the target cloud mobile phone resource; the system comprises a category and corresponding category information table determining unit, a cloud mobile phone resource order management unit and a cloud mobile phone resource order management unit, wherein the category and corresponding category information table determining unit is configured to determine an information category to which order information in the cloud mobile phone resource order belongs and determine an order information table corresponding to the information category, and each type of order information is maintained as a separate order information table in advance; and a usage state adjustment unit configured to adjust an information usage state of the order information in the order information table of the corresponding information category.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to implement a cloud handset resource order processing method as described in any implementation of the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a non-transitory computer-readable storage medium storing computer instructions for enabling a computer to implement a cloud handset resource order processing method as described in any of the implementations of the first aspect when executed.
In a fifth aspect, embodiments of the present disclosure provide a computer program product comprising a computer program which, when executed by a processor, is capable of implementing a cloud handset resource order processing method as described in any of the implementations of the first aspect.
The cloud mobile phone resource order processing method provided by the embodiment of the disclosure comprises the following steps: acquiring a cloud mobile phone resource order to be processed, wherein the cloud mobile phone resource order is generated based on the operation of a user on a target cloud mobile phone resource; determining an information category to which order information in a cloud mobile phone resource order belongs, and determining an order information table corresponding to the information category, wherein each type of order information is maintained in advance as an independent order information table; the information use state of the order information in the order information table of the corresponding information category is adjusted.
Aiming at a cloud mobile phone resource order generated based on the operation of a user on a target cloud mobile phone resource, the cloud mobile phone resource order management method and system disclosed by the invention maintains various information related to the cloud mobile phone resource order in advance as an independent order information table for standby, so that when the information type of order information in an actual cloud mobile phone resource order is determined, the order information table of a corresponding type can be quickly selected, and further the use state of the actual order information recorded in the corresponding order information table is adjusted.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
Other features, objects and advantages of the present disclosure will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings:
FIG. 1 is an exemplary system architecture in which the present disclosure may be applied;
Fig. 2 is a flowchart of a cloud mobile phone resource order processing method provided in an embodiment of the present disclosure;
FIG. 3 is a flowchart of a method for generating a cloud handset resource order according to an embodiment of the disclosure;
FIG. 4 is a flow chart of a method for use status adjustment representing trial order information provided by an embodiment of the present disclosure;
FIG. 5 is a flow chart of a method for controlling trial duration via a trial timer provided by an embodiment of the present disclosure;
Fig. 6 is a block diagram of a cloud mobile phone resource order processing device according to an embodiment of the present disclosure;
Fig. 7 is a schematic structural diagram of an electronic device adapted to execute a cloud mobile phone resource order processing method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness. It should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other.
In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user accord with the regulations of related laws and regulations, and the public order colloquial is not violated.
FIG. 1 illustrates an exemplary system architecture 100 to which embodiments of cloud handset resource order processing methods, apparatus, electronic devices, and computer-readable storage media of the present disclosure may be applied.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various applications for implementing information communication between the terminal devices 101, 102, 103 and the server 105, such as a cloud mobile phone use application, a cloud resource order processing application, an instant messaging application, and the like, can be installed on the terminal devices.
The terminal devices 101, 102, 103 and the server 105 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices with display screens, including but not limited to smartphones, tablets, laptop and desktop computers, etc.; when the terminal devices 101, 102, 103 are software, they may be installed in the above-listed electronic devices, which may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module, which is not particularly limited herein. When the server 105 is hardware, it may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server; when the server is software, the server may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module, which is not particularly limited herein.
The server 105 may provide various services through various built-in applications, for example, cloud mobile phone instances with the use authority are provided for the corresponding users through cloud mobile phone use class applications, for example, cloud resource order processing initiated by the users through cloud resource order processing classes and the like. Taking a cloud resource order processing application capable of providing processing services for a cloud mobile phone resource order initiated by a user as an example, the server 105 can achieve the following effects when running the cloud resource order processing application: firstly, acquiring cloud mobile phone resource orders (generated based on operations performed by a user on target cloud mobile phone resources) generated via terminal devices 101, 102, 103 through a network 104; then, determining the information category of order information in the cloud mobile phone resource order, and determining an order information table corresponding to the information category, wherein each category of order information is maintained as a separate order information table in advance; next, the information use state of the order information in the order information table of the corresponding information category is adjusted.
Further, after the server 105 determines that the usage status of all the order information in the cloud mobile phone resource order is adjusted, the additional processing is completed.
It should be noted that, besides being obtained from the terminal devices 101, 102, 103 in real time through the network 104, the cloud mobile phone resource orders may also be stored in advance in the server 105 in various manners. Thus, when the server 105 detects that such data has been stored locally (e.g., a pending order left until processing is started), it may choose to retrieve the data directly from the local, in which case the exemplary system architecture 100 may not include the terminal devices 101, 102, 103 and network 104.
Since the cloud mobile resources are typically provided by the party that is setting up the server 105, the server 105 acts as an order processing device for the party that is providing the cloud mobile resources, and it is necessary to control that only the server 105 has the right or ability to process orders and access various types of order information tables. Therefore, the cloud mobile phone resource order processing method provided in the subsequent embodiments of the present disclosure is generally executed by the server 105 with the above-mentioned capability, and accordingly, the cloud mobile phone resource order processing device is also generally disposed in the server 105.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring to fig. 2, fig. 2 is a flowchart of a cloud mobile phone resource order processing method provided in an embodiment of the disclosure, where the flowchart 200 includes the following steps:
step 201: acquiring a cloud mobile phone resource order to be processed;
This step aims at acquiring a cloud mobile phone resource order to be processed by an execution subject (e.g., server 105 shown in fig. 1) of the cloud mobile phone resource order processing method. The cloud mobile phone resource order is generated based on the operation of a user on the target cloud mobile phone resource, and the operation types comprise: new resource purchase, old resource expansion, old resource deletion, merging of at least two old resources, migration of cloud mobile service instances among different old resources, and the like.
The operation of the new resource purchase class refers to the operation performed by the user for purchasing new cloud mobile phone resources; the operation of the old resource capacity expansion class refers to the operation performed by the user for expanding the performance upper limit and the storage capacity of the old cloud mobile phone resources purchased before; the operation of deleting the old resources refers to the operation of giving up or touching the use permission on the old cloud mobile phone resources purchased before by the user; the operation of merging at least two old resource classes refers to the operation of merging a plurality of old cloud mobile phone resources purchased before by a user, and the merging operation is usually performed for the purpose of merging respective storage spaces of the two old cloud mobile phone resources and integrating cloud mobile phone data; the operation of migrating the cloud mobile phone service instance among different old resources refers to the situation that a user needs to migrate a service instance deployed on a certain cloud mobile phone, and generally, the migration of the service instance can only be performed among cloud mobile phone resources which the user already has a use right.
In addition to the above listed operation types, other types of operations may exist according to the actual application scenario, and this step is intended to describe that different types of operations initiated by the user on the target cloud mobile phone resource will cause the generated cloud mobile phone resource order to include order information of a corresponding type.
Step 202: determining an information category to which order information in the cloud mobile phone resource order belongs, and determining an order information table corresponding to the information category;
On the basis of step 201, this step aims at determining, by the execution subject, the information category to which the order information included in the cloud mobile phone resource order belongs first, and then matching and recording the order information table of the same category according to the determined information category.
The above-mentioned kind of operations may cause the information categories included in the cloud mobile phone resource order to include: the method comprises the steps of deduction class of equivalents, occupation condition class of resources, use type class of resources, capacity class of resources, service instance position class and the like, and each class of order information is maintained in advance as a separate order information table which is used as a standby class of order information table for matching and subsequent query.
The equivalent deduction class is information for describing that a part of equivalents can be used for deducting in the process of purchasing new cloud mobile phone resources, expanding old cloud mobile phone resources, performing service instance migration and the like requiring a certain amount of equivalents, and can specifically comprise a cash coupon, a discount coupon, a subscription expansion coupon and the like in popular terms; the resource occupation condition is information for describing whether all cloud mobile phone resources provided by the server are occupied or not, and the cloud mobile phone resources which are issued to a certain user by using the permission are marked as occupied, so that the unoccupied cloud mobile phone resources refer to cloud mobile phone resources which are not applied by the user and still in a limiting state; the resource usage type class is information for describing the usage type of the cloud mobile phone resource in the occupied state, such as long-term holding, short-term holding, trial and the like; the resource capacity class is information for describing the situation that application data in cloud mobile phone resources occupy the total storage space; the service instance location class is information describing the deployment location of each service instance.
In addition to the above listed information categories, other category classification manners may exist according to the actual application scenario, and a person skilled in the art may classify various information categories in the actual application scenario according to the guiding concept of the step.
Step 203: the information use state of the order information in the order information table of the corresponding information category is adjusted.
On the basis of step 202, this step aims at adjusting the information use state of the order information in the order information table of the corresponding information category by the execution subject. And adjusting the use state recorded in the order information table of the information category of each item of order information related to the cloud mobile phone resource order. All order information under the class should be recorded in the order information table of each class of order information, for example, all issued coupons, vouchers, the previously paid orders of users, expansion coefficients and the like should be recorded in the order information table of the class of deduction class of order information with equivalents, and all cloud mobile phone resources and the current occupation condition thereof should be recorded in the order information table of the resource occupation condition class.
Aiming at a cloud mobile phone resource order generated based on the operation of a user on a target cloud mobile phone resource, various information related to the cloud mobile phone resource order is maintained as an independent order information table for standby in advance, so that when the information type of order information in an actual cloud mobile phone resource order is determined, the order information table of a corresponding type can be quickly selected, the use state of the actual order information recorded in the corresponding order information table is further adjusted, and as each type of order information is maintained as an independent table in advance, the cloud mobile phone resource can be recorded in the various order information tables more independently and flexibly during storage and calling, and the statistics, analysis and prediction performed on the follow-up order information table are more convenient and more accurate.
To enhance understanding of how to determine information types and match corresponding order information tables according to a cloud mobile phone resource order in the above embodiment, an implementation scheme of generating a cloud mobile phone resource order is further provided from the front by fig. 3, where the process 300 includes the following steps:
Step 301: determining the operation type of a user on the target cloud mobile phone resource;
The operation types include: new resource purchase, old resource expansion, old resource deletion, merging of at least two old resources, migration of cloud mobile service instances among different old resources, and the like.
Step 302: determining a target order information category corresponding to the operation category;
the target order information categories include: the equivalence deduction class, the resource occupation condition class, the resource use type class, the resource capacity class and the service instance position class.
Assuming the operation class is a new resource purchase, then to purchase new cloud handset resources must involve a resource occupancy class, a resource usage type class, possibly an equivalent deduction class, a resource capacity class, and a service instance location class, as well as other classes that may be present.
Step 303: a cloud handset resource order is generated that includes order information for the target order information category.
On the basis of step 302, this step aims at generating a cloud mobile phone resource order containing order information of a target order information category by the execution subject. I.e., specific order information placed in each specific target order information category, to generate the cloud handset resource order.
Furthermore, in order to better identify the category of each order information from the order, different fields and dedicated field location intervals may be preset for each category, so that the information category to which the extracted information belongs may be directly determined according to the field location interval in which the extracted information is located. Order information of each information category can be arranged according to a set sequence, and identification mechanisms such as a spacer or a skip symbol are arranged at corresponding positions of the information category with empty content, so that erroneous judgment is avoided.
On the basis of the embodiment shown in fig. 3, the following is further specific to the case that the information category to which the order information belongs includes the trial type in the resource usage types, how the whole processing flow will be adjusted and expanded in this case, and since the case that the information category to which the order information belongs includes the trial type in the resource usage types is aimed at, the resource occupation situation type and the resource usage type are necessarily designed, and the high probability corresponds to the operation type of new resource acquisition.
Please refer to a flow chart 400 shown in fig. 4:
step 401: in an order information table corresponding to the resource occupation condition, adjusting the use state of the target cloud mobile phone resource to be an occupation state;
step 402: and in an order information table corresponding to the resource use type class, adjusting the use state of the target cloud mobile phone resource into a trial state.
The method comprises the steps of firstly adjusting the use state of the target cloud mobile phone resources to an occupied state in an order information table corresponding to the resource occupation condition type, and then adjusting the use state of the target cloud mobile phone resources to a trial state in an order information table corresponding to the resource use type.
It should be understood that in the present disclosure, there is a correlation between the order information table corresponding to the resource occupation situation class and the order information table corresponding to the resource usage type class, that is, the cloud mobile phone resources recorded in the order information table corresponding to the resource usage type class are synchronized from the cloud mobile phone resources recorded in the order information table corresponding to the resource occupation situation class as being in an occupied state. That is, only one cloud mobile phone resource is recorded as being in an occupied state in the order information table corresponding to the resource occupancy class, the cloud mobile phone resource is entered into the order information table corresponding to the resource usage class.
More widely, order information synchronization rules among different types of order information tables can be established in advance, so that when the use state of order information recorded in any type of order information table is updated and the corresponding order information synchronization rules exist, the order information table of the corresponding type can be synchronously updated according to the order information synchronization rules, and further, the timeliness and accuracy of information recorded in order information of each type are guaranteed.
On the basis of the embodiment shown in fig. 4, considering that sometimes, trial time length information may be further added to order information representing a trial type in a cloud mobile phone resource order, that is, the trial time length information characterizes a desired trial time length or a specified trial time length, in order to achieve better control, trial stage management and control based on the trial time length may also be achieved through a scheme provided by a flow 500 shown in fig. 5:
step 501: a trial timer is added to the trial state information of the target cloud mobile phone recorded in an order information table corresponding to the resource use type class;
step 502: and controlling the trial timer to count down from the trial time length information, and controlling the trial time length timer to be zero to adjust the target cloud mobile phone from the occupied state to the release state.
In other words, in the embodiment, the trial timer is added by recording the trial state information of the target cloud mobile phone in the order information table corresponding to the resource use type class, so that the whole trial stage is controlled through the trial timer.
Specifically, when the countdown of the trial timer is zero, the target cloud mobile phone is adjusted from the occupied state to the released state, and after the operation is completed, the order information table corresponding to the resource usage type class is firstly controlled to delete the target cloud mobile phone resource which is recorded as the trial state before (namely, the target cloud mobile phone resource is not existed in the order information table corresponding to the resource usage type class any more), and then the target cloud mobile phone resource is also adjusted to be in the unoccupied state in the order information table of the resource usage type class according to the association and synchronization rules between the order information tables of the resource usage type class and the resource occupancy type. And releasing refers to being re-opened to any user for purchase selection.
On the basis of any embodiment, the execution body may also control each matched order information table to return a corresponding adjustment result notification after executing the usage state adjustment operation, so that the execution body may receive the adjustment result notification returned by the order information table corresponding to the information category, and if all the order information tables corresponding to all the information categories return the adjustment result notification within a corresponding preset time period, the execution body appends an order information processed identifier to the cloud mobile phone resource order, and further determines a processing condition of the cloud mobile phone resource order based on whether the processed identifier is appended.
For further understanding, the whole process of processing the cloud mobile phone resource order generated by operating based on the purchase demand is described in combination with a specific cloud mobile phone resource purchase demand:
1) The user A selects the cloud mobile phone resource N1 as a purchase target at a cloud mobile phone resource selection interface, simultaneously selects and uses 50 units of subscription previously paid (the expansion coefficient is 2, namely, the subscription can double the price to withhold the equivalent unit required by purchase) and a rated coupon (capable of withhold the equivalent of 100 units), and finally clicks a generation order generation button;
2) The order generation program deployed at one end of the user A respectively determines a purchase target, namely cloud mobile phone resource N1, subscription expansion information, 50 units and coupon information, namely 100 units based on order information transmitted by clicking an order generation button, and generates a cloud mobile phone resource order based on the order information;
3) According to the received cloud mobile phone resource orders, the order processing platform respectively extracts cloud mobile phone resources N1, the subscription expansion information-50 units and the coupon information-100 units from the cloud mobile phone resource orders and respectively determines the information types of the cloud mobile phone resources N1, the subscription expansion information-50 units and the coupon information-100 units: cloud mobile phone resource N1 corresponds to a resource occupation condition class and a resource use type class, and the fixed gold expansion information-50 units and the coupon information-100 units belong to two different subclasses under the equivalent deduction class at the same time;
4) The order processing platform selects a resource occupation condition information table, a resource use type information table and an equivalent deduction information table from various pre-generated order information;
5) The order processing platform adjusts the occupied state of the mobile phone resource N1 to be occupied in a resource occupation condition information table, then adjusts the use type of the mobile phone resource N1 to be a default long-term occupied type in a resource use type information table with the mobile phone resource N1 added, and simultaneously adjusts the use states of the subscription expansion information-50 units and the coupon information-100 units belonging to the user A to be used in equivalent deduction information;
6) And the order processing platform adds a processed identifier to the cloud mobile phone resource order according to the adjustment result notification returned by the three types of information tables which are received successively.
With further reference to fig. 6, as an implementation of the method shown in the foregoing drawings, the present disclosure provides an embodiment of a cloud mobile phone resource order processing apparatus, where an embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 6, the cloud mobile phone resource order processing apparatus 600 of the present embodiment may include: an order acquisition unit 601, a category and corresponding category information table determination unit 602, and a usage status adjustment unit 603. The order acquisition unit 601 is configured to acquire a cloud mobile phone resource order to be processed, wherein the cloud mobile phone resource order is generated based on the operation of a user on a target cloud mobile phone resource; a category and corresponding category information table determining unit 602 configured to determine an information category to which order information in the cloud mobile phone resource order belongs, and determine an order information table corresponding to the information category, each category of order information being maintained in advance as a separate order information table; the usage status adjustment unit 603 is configured to adjust the information usage status of the order information in the order information table of the corresponding information category.
In this embodiment, in the cloud mobile phone resource order processing device 600: the specific processing of the order obtaining unit 601, the category and corresponding category information table determining unit 602, and the usage status adjusting unit 603 and the technical effects thereof may refer to the related descriptions of steps 201-203 in the corresponding embodiment of fig. 2, and are not described herein.
In some optional implementations of this embodiment, the cloud mobile phone resource order processing apparatus 600 may further include: an order generation unit configured to generate an order for the target cloud mobile phone resource based on a user operation on the cloud mobile phone resource, the order generation unit may be further configured to:
Determining the operation types of the user on the target cloud mobile phone resource, wherein the operation types comprise: at least one of new resource purchase, old resource capacity expansion, old resource deletion, merging of at least two old resources and migration of a cloud mobile phone service instance among different old resources;
Determining a target order information category corresponding to the operation category, wherein the target order information category comprises: equivalence deduction class, resource occupation condition class, resource use type class, resource capacity class and service instance position class;
and generating a cloud mobile phone resource order containing order information of the target order information category.
In some optional implementations of the present embodiment, the usage state adjustment unit 603 may be further configured to:
Responding to the information category to which the order information belongs and comprising a trial type in the resource use types, and adjusting the use state of the target cloud mobile phone resource to be an occupied state in an order information table corresponding to the resource occupation condition category;
And in the order information table corresponding to the resource use type class, adjusting the use state of the target cloud mobile phone resource to be a trial state, wherein the cloud mobile phone resource recorded in the order information table corresponding to the resource use type class is synchronous with the cloud mobile phone resource recorded in the order information table corresponding to the resource occupation condition class as the cloud mobile phone resource in the occupation state.
In some optional implementations of this embodiment, the cloud mobile phone resource order processing apparatus 600 may further include:
a synchronization rule establishing unit configured to establish in advance order information synchronization rules between the order information tables of different categories;
and the rule-based synchronization unit is configured to respond to the use state update of the order information recorded in the order information table of any category and have corresponding order information synchronization rules, and synchronously update the order information table of the corresponding category according to the order information synchronization rules.
In some optional implementations of this embodiment, the cloud mobile phone resource order processing apparatus 600 may further include:
An applicable timer adding unit, configured to respond to the addition of trial duration information to order information representing the trial type in the cloud mobile phone resource order, and record trial state information of the target cloud mobile phone in an order information table corresponding to the resource use type;
And the trial control unit is configured to control the trial timer to count down from the trial time length information and control the target cloud mobile phone to be adjusted from the occupied state to the release state when the trial time length timer is zero.
In some optional implementations of this embodiment, the cloud mobile phone resource order processing apparatus 600 may further include:
an adjustment result notification receiving unit configured to receive an adjustment result notification returned from an order information table corresponding to the information category;
and the processed identification adding unit is configured to add the processed identification of the order information to the cloud mobile phone resource order in response to the fact that all the order information tables corresponding to all the information categories return the adjustment result notification within the corresponding preset duration.
The cloud mobile phone resource order processing device provided by the embodiment of the present disclosure maintains various types of information related to a cloud mobile phone resource order in advance as a separate order information table for a cloud mobile phone resource order generated based on an operation performed on a target cloud mobile phone resource by a user, so that when determining an information type of order information in an actual cloud mobile phone resource order, an order information table of a corresponding type can be quickly selected, and further, a use state of the actual order information recorded in the corresponding order information table is adjusted.
According to an embodiment of the present disclosure, the present disclosure further provides an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, where the instructions are executable by the at least one processor to enable the at least one processor to implement the cloud mobile phone resource order processing method described in any of the embodiments.
According to an embodiment of the present disclosure, there is further provided a readable storage medium storing computer instructions for enabling a computer to implement the cloud mobile phone resource order processing method described in any of the above embodiments when executed.
The disclosed embodiments provide a computer program product that, when executed by a processor, is capable of implementing the cloud mobile phone resource order processing method described in any of the above embodiments.
Fig. 7 illustrates a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the apparatus 700 includes a computing unit 701 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 702 or a computer program loaded from a storage unit 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 may also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in device 700 are connected to I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, etc.; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, an optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 701 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above, such as the cloud handset resource order processing method. For example, in some embodiments, the cloud handset resource order processing method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 700 via ROM 702 and/or communication unit 709. When the computer program is loaded into RAM 703 and executed by computing unit 701, one or more steps of the cloud handset resource order processing method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the cloud handset resource order processing method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of large management difficulty and weak service expansibility in the traditional physical host and Virtual Private Server (VPS) PRIVATE SERVER service.
Aiming at a cloud mobile phone resource order generated based on the operation of a user on a target cloud mobile phone resource, the embodiment of the disclosure maintains various information related to the cloud mobile phone resource order in advance as an independent order information table for standby, so that when the information type of the order information in the actual cloud mobile phone resource order is determined, the order information table of the corresponding type can be quickly selected, the use state of the actual order information recorded in the corresponding order information table is further adjusted, and as each type of order information is maintained as an independent table in advance, the cloud mobile phone resource can be accurately recorded in various order information tables, so that the follow-up statistics, analysis and prediction based on the order information table are more convenient and accurate.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (15)

1. A cloud mobile phone resource order processing method comprises the following steps:
Acquiring a cloud mobile phone resource order to be processed, wherein the cloud mobile phone resource order is generated based on the operation of a user on a target cloud mobile phone resource;
determining an information category to which order information in the cloud mobile phone resource order belongs, and determining an order information table corresponding to the information category, wherein each category of order information is maintained in advance as a separate order information table, and the information category comprises: an equivalent deduction class for describing the equivalent of the quantity of the deduction part, a resource occupation class for describing whether the cloud mobile phone resource is occupied, a resource use type class for describing the use type of the occupied cloud mobile phone resource, a resource capacity class for describing the situation that the application data in the cloud mobile phone resource occupies the total storage space, and a service instance position class for describing the deployment position of each service instance;
and adjusting the information use state of the order information in the order information table of the corresponding information category.
2. The method of claim 1, wherein generating the cloud handset resource order based on user operations on the target cloud handset resource comprises:
Determining the operation types of the user on the target cloud mobile phone resource, wherein the operation types comprise: at least one of new resource purchase, old resource capacity expansion, old resource deletion, merging of at least two old resources and migration of a cloud mobile phone service instance among different old resources;
Determining an information category corresponding to the operation category;
And generating a cloud mobile phone resource order containing order information of the information category corresponding to the operation category.
3. The method of claim 2, wherein said adjusting the information usage status of the order information in the order information table of the respective information category comprises:
responding to the information category to which the order information belongs and comprising a trial type in the resource use type class, and adjusting the use state of the target cloud mobile phone resource to be an occupied state in an order information table corresponding to the resource occupation condition class;
And in the order information table corresponding to the resource use type class, adjusting the use state of the target cloud mobile phone resource to be a trial state, wherein the cloud mobile phone resource recorded in the order information table corresponding to the resource use type class is synchronous with the cloud mobile phone resource recorded in the order information table corresponding to the resource occupation condition class as the cloud mobile phone resource in the occupation state.
4. A method according to claim 3, further comprising:
Pre-establishing order information synchronization rules among order information tables of different categories;
And responding to the use state update of the order information recorded in the order information table of any category and corresponding order information synchronization rules, and synchronously updating in the order information table of the corresponding category according to the order information synchronization rules.
5. A method according to claim 3, further comprising:
responding to the order information representing the trial type in the cloud mobile phone resource order, adding trial duration information, and adding a trial timer to the trial state information of the target cloud mobile phone resource recorded in an order information table corresponding to the resource use type;
and controlling the trial timer to count down from the trial time length information, and controlling the trial time length timer to be zero to adjust the target cloud mobile phone resource from the occupied state to the release state.
6. The method of any of claims 1-5, further comprising:
Receiving an adjustment result notification returned by an order information table corresponding to the information category;
and in response to the fact that all order information tables corresponding to all the information categories return the adjustment result notification within the corresponding preset time length, attaching order information processed identifiers to the cloud mobile phone resource orders.
7. A cloud handset resource order processing device, comprising:
The order acquisition unit is configured to acquire a cloud mobile phone resource order to be processed, and the cloud mobile phone resource order is generated based on the operation of a user on a target cloud mobile phone resource;
A category and corresponding category information table determining unit configured to determine an information category to which order information in the cloud mobile phone resource order belongs, and determine an order information table corresponding to the information category, each category of order information being maintained in advance as a separate order information table, wherein the information category includes: an equivalent deduction class for describing the equivalent of the quantity of the deduction part, a resource occupation class for describing whether the cloud mobile phone resource is occupied, a resource use type class for describing the use type of the occupied cloud mobile phone resource, a resource capacity class for describing the situation that the application data in the cloud mobile phone resource occupies the total storage space, and a service instance position class for describing the deployment position of each service instance;
and a use state adjustment unit configured to adjust an information use state of the order information in the order information table of the corresponding information category.
8. The apparatus of claim 7, further comprising: an order generation unit configured to generate an order for the target cloud mobile phone resource based on an operation performed by a user on the cloud mobile phone resource, the order generation unit being further configured to:
Determining the operation types of the user on the target cloud mobile phone resource, wherein the operation types comprise: at least one of new resource purchase, old resource capacity expansion, old resource deletion, merging of at least two old resources and migration of a cloud mobile phone service instance among different old resources;
Determining an information category corresponding to the operation category;
And generating a cloud mobile phone resource order containing order information of the information category corresponding to the operation category.
9. The apparatus of claim 8, wherein the usage state adjustment unit is further configured to:
responding to the information category to which the order information belongs and comprising a trial type in the resource use type class, and adjusting the use state of the target cloud mobile phone resource to be an occupied state in an order information table corresponding to the resource occupation condition class;
And in the order information table corresponding to the resource use type class, adjusting the use state of the target cloud mobile phone resource to be a trial state, wherein the cloud mobile phone resource recorded in the order information table corresponding to the resource use type class is synchronous with the cloud mobile phone resource recorded in the order information table corresponding to the resource occupation condition class as the cloud mobile phone resource in the occupation state.
10. The apparatus of claim 9, further comprising:
a synchronization rule establishing unit configured to establish in advance order information synchronization rules between the order information tables of different categories;
and the rule-based synchronization unit is configured to respond to the use state update of the order information recorded in the order information table of any category and have corresponding order information synchronization rules, and synchronously update the order information table of the corresponding category according to the order information synchronization rules.
11. The apparatus of claim 9, further comprising:
An applicable timer adding unit, configured to respond to the addition of trial duration information to order information representing the trial type in the cloud mobile phone resource order, and record trial state information of the target cloud mobile phone resource in an order information table corresponding to the resource use type;
And the trial control unit is configured to control the trial timer to count down from the trial time length information and control the trial time length timer to be zero so as to adjust the target cloud mobile phone resource from the occupied state to the released state.
12. The apparatus of any of claims 7-11, further comprising:
an adjustment result notification receiving unit configured to receive an adjustment result notification returned from an order information table corresponding to the information category;
and the processed identification adding unit is configured to add the processed identification of the order information to the cloud mobile phone resource order in response to the fact that all the order information tables corresponding to all the information categories return the adjustment result notification within the corresponding preset duration.
13. An electronic device, comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the cloud handset resource order processing method of any of claims 1-6.
14. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the cloud handset resource order processing method of any one of claims 1-6.
15. A computer program product comprising a computer program which when executed by a processor implements the steps of the cloud handset resource order processing method according to any of claims 1-6.
CN202110987788.XA 2021-08-26 2021-08-26 Cloud mobile phone resource order processing method, related device and computer program product Active CN113673890B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110987788.XA CN113673890B (en) 2021-08-26 2021-08-26 Cloud mobile phone resource order processing method, related device and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110987788.XA CN113673890B (en) 2021-08-26 2021-08-26 Cloud mobile phone resource order processing method, related device and computer program product

Publications (2)

Publication Number Publication Date
CN113673890A CN113673890A (en) 2021-11-19
CN113673890B true CN113673890B (en) 2024-07-12

Family

ID=78546577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110987788.XA Active CN113673890B (en) 2021-08-26 2021-08-26 Cloud mobile phone resource order processing method, related device and computer program product

Country Status (1)

Country Link
CN (1) CN113673890B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833473A (en) * 2018-05-08 2018-11-16 刘俊 A kind of intelligence system carrying out operation and processing in server end
CN108961004A (en) * 2018-07-06 2018-12-07 北京金山云网络技术有限公司 Processing method, device, system, electronic equipment and the medium of cloud service order

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9253113B2 (en) * 2012-09-07 2016-02-02 Oracle International Corporation Customizable model for throttling and prioritizing orders in a cloud environment
US20170109815A1 (en) * 2015-10-16 2017-04-20 International Business Machines Corporation On demand auctions of cloud resources (bundles) in hybrid cloud environments
US11256547B2 (en) * 2019-05-31 2022-02-22 Altair Engineering, Inc. Efficient allocation of cloud computing resources to job requests
CN111694660B (en) * 2020-05-08 2022-03-25 广州微算互联信息技术有限公司 Cloud mobile phone data sending method, computer device and storage medium
CN112650576B (en) * 2021-01-22 2023-12-29 百度在线网络技术(北京)有限公司 Resource scheduling method, device, equipment, storage medium and computer program product

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833473A (en) * 2018-05-08 2018-11-16 刘俊 A kind of intelligence system carrying out operation and processing in server end
CN108961004A (en) * 2018-07-06 2018-12-07 北京金山云网络技术有限公司 Processing method, device, system, electronic equipment and the medium of cloud service order

Also Published As

Publication number Publication date
CN113673890A (en) 2021-11-19

Similar Documents

Publication Publication Date Title
CN109359118B (en) Data writing method and device
CN110363663B (en) Block chain-based data batch processing method, device, equipment and storage medium
CN110198351A (en) Storage method, device, server-side and the readable storage medium storing program for executing of offline message
CN111444077A (en) Method and device for generating flow node test data
CN108646965B (en) Service line processing method, terminal device and medium
WO2023040612A1 (en) Order processing method and apparatus
CN111105238A (en) Transaction risk control method and device
CN115242731A (en) Message processing method, device, equipment and storage medium
CN115687303A (en) Data information migration method, device, equipment and storage medium
CN112966201B (en) Object processing method, device, electronic equipment and storage medium
CN113419880B (en) Cloud mobile phone root authority acquisition method, related device and computer program product
CN112966756A (en) Visual access rule generation method and device, machine readable medium and equipment
CN113673890B (en) Cloud mobile phone resource order processing method, related device and computer program product
CN110362297B (en) Element ordering method and device
CN112052152A (en) Simulation test method and device
CN113590447B (en) Buried point processing method and device
CN115454971A (en) Data migration method and device, electronic equipment and storage medium
CN115511085A (en) Model data processing method, device, equipment and storage medium
CN115495658A (en) Data processing method and device
CN112181817B (en) Test method and test device for SOA architecture platform
CN114706610A (en) Business flow chart generation method, device, equipment and storage medium
CN114564149A (en) Data storage method, device, equipment and storage medium
CN114449031A (en) Information acquisition method, device, equipment and storage medium
CN116263926A (en) Accounting method, device and system based on blockchain
CN112968876A (en) Content sharing method and device, electronic equipment and storage medium

Legal Events

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