CN116894499A - Resource reservation method, device, computer equipment and storage medium - Google Patents

Resource reservation method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN116894499A
CN116894499A CN202310658220.2A CN202310658220A CN116894499A CN 116894499 A CN116894499 A CN 116894499A CN 202310658220 A CN202310658220 A CN 202310658220A CN 116894499 A CN116894499 A CN 116894499A
Authority
CN
China
Prior art keywords
resource
terminal
target
path planning
reservation
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.)
Pending
Application number
CN202310658220.2A
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202310658220.2A priority Critical patent/CN116894499A/en
Publication of CN116894499A publication Critical patent/CN116894499A/en
Pending legal-status Critical Current

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/02Reservations, e.g. for tickets, services or events
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • 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/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Databases & Information Systems (AREA)
  • Tourism & Hospitality (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Quality & Reliability (AREA)
  • Technology Law (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present application relates to a resource reservation method, apparatus, computer device, storage medium and computer program product. The method comprises the following steps: receiving a resource reservation application sent by a terminal; determining optional resource mesh points according to the resource reservation application, and sending the optional resource mesh points to a terminal; the selectable resource nodes comprise single resource nodes and/or resource node combinations; each of the resource dot combinations includes a plurality of individual resource dots; receiving a target resource node determined according to the selectable resource node and sent by a terminal, and carrying out path planning according to the target resource node to obtain a path planning result; and generating reservation success notification according to the target resource network point, and sending the reservation success notification and the path planning result to a terminal. The method can improve the resource reservation exchange rate.

Description

Resource reservation method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of mobile internet technologies, and in particular, to a resource reservation method, a resource reservation device, a computer device, a storage medium, and a computer program product.
Background
With the development of internet technology and financial industry, many banking sites provide money-resource conversion services. The currency resource reservation is a service function of a bank, a user can reserve currency of the currency resource to a corresponding website through the currency resource reservation function, the user needing to exchange the currency resource can reserve through an online bank, a mobile phone bank, a telephone bank or a counter of the banking website, and the like, and the user can exchange the currency resource to the corresponding reservation website according to reservation information.
However, the quota condition of the currency resource is different in fixed quota of different network points, and when reservation is carried out, the situation that the user cannot exchange due to the fact that available quota is not checked can occur.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a resource reservation method, apparatus, computer device, computer-readable storage medium, and computer program product that can improve the user resource reservation exchange rate.
In a first aspect, the present application provides a resource reservation method. The method comprises the following steps:
receiving a resource reservation application sent by a terminal;
determining optional resource mesh points according to the resource reservation application, and sending the optional resource mesh points to a terminal; the selectable resource nodes comprise single resource nodes and/or resource node combinations; each of the resource dot combinations includes a plurality of individual resource dots;
receiving a target resource node determined according to the selectable resource node and sent by a terminal, and carrying out path planning according to the target resource node to obtain a path planning result;
and generating reservation success notification according to the target resource network point, and sending the reservation success notification and the path planning result to a terminal.
In one embodiment, the determining the optional resource network point according to the resource reservation application includes:
acquiring a current position and a first target position of a terminal;
and determining the optional resource network point according to the current position of the terminal, the first target position and the resource reservation application.
In one embodiment, the determining the selectable resource mesh point according to the current location of the terminal, the first target location and the resource reservation application includes:
acquiring an initial resource network point information table;
searching a first resource node capable of meeting the resource reservation application from the initial resource node information table;
and determining the optional resource network point according to the current position of the terminal, the first target position and the position of the first resource network point.
In one embodiment, searching the first resource node capable of meeting the resource reservation application from the initial resource node information table includes:
calculating the difference value between the fixed quota and the locking quota in each resource website in the initial resource website information table;
searching a second resource network point corresponding to the resource limit in the resource reservation application, wherein the difference is not smaller than the resource limit;
and searching a first resource network point which can meet the resource reservation application from the second resource network point.
In one embodiment, the determining the optional resource node according to the current location of the terminal, the first target location, and the location of the first resource node includes:
planning a reference path from the current position of the terminal to the first target position;
searching a first resource network point with the distance from the reference path within a preset distance, and determining the first resource network point as the optional resource network point.
And performing path planning according to the target resource network point to obtain a path planning result, wherein the path planning result comprises the following steps:
and carrying out path planning according to the reference path and the target resource network point to obtain the path planning result.
In one embodiment, the performing path planning according to the target resource mesh point to obtain a path planning result includes:
acquiring a second target position sent by a terminal;
and carrying out path planning according to the current position of the terminal, the second target position and the target resource network point to obtain the path planning result.
In one embodiment, after the target resource mesh point determined according to the optional resource mesh point sent by the receiving terminal, the method further includes:
and locking the resource reservation limit corresponding to the target resource network point.
In a second aspect, the application further provides a resource reservation device. The device comprises:
the reservation application module is used for receiving a resource reservation application sent by the terminal;
the first determining module is used for determining optional resource network points according to the resource reservation application and sending the optional resource network points to a terminal; the selectable resource nodes comprise single resource nodes and/or resource node combinations; each resource node combination comprises a plurality of single resource nodes;
the second determining module is used for receiving target resource mesh points determined according to the selectable resource mesh points and sent by the terminal, and carrying out path planning according to the target resource mesh points to obtain a path planning result;
and the notification sending module is used for generating a reservation success notification according to the target resource network point and sending the reservation success notification and the path planning result to the terminal.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
receiving a resource reservation application sent by a terminal;
determining optional resource mesh points according to the resource reservation application, and sending the optional resource mesh points to a terminal; the selectable resource nodes comprise single resource nodes and/or resource node combinations; each of the resource dot combinations includes a plurality of individual resource dots;
receiving a target resource node determined according to the selectable resource node and sent by a terminal, and carrying out path planning according to the target resource node to obtain a path planning result;
and generating reservation success notification according to the target resource network point, and sending the reservation success notification and the path planning result to a terminal.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
receiving a resource reservation application sent by a terminal;
determining optional resource mesh points according to the resource reservation application, and sending the optional resource mesh points to a terminal; the selectable resource nodes comprise single resource nodes and/or resource node combinations; each of the resource dot combinations includes a plurality of individual resource dots;
receiving a target resource node determined according to the selectable resource node and sent by a terminal, and carrying out path planning according to the target resource node to obtain a path planning result;
and generating reservation success notification according to the target resource network point, and sending the reservation success notification and the path planning result to a terminal.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
receiving a resource reservation application sent by a terminal;
determining optional resource mesh points according to the resource reservation application, and sending the optional resource mesh points to a terminal; the selectable resource nodes comprise single resource nodes and/or resource node combinations; each of the resource dot combinations includes a plurality of individual resource dots;
receiving a target resource node determined according to the selectable resource node and sent by a terminal, and carrying out path planning according to the target resource node to obtain a path planning result;
and generating reservation success notification according to the target resource network point, and sending the reservation success notification and the path planning result to a terminal.
The resource reservation method, the device, the computer equipment, the storage medium and the computer program product are used for determining the optional resource node according to the resource reservation application sent by the terminal through receiving the resource reservation application sent by the terminal and sending the optional resource node to the terminal, wherein the optional resource node comprises single resource nodes and/or resource node combinations, and each resource node combination comprises a plurality of single resource nodes; receiving target resource network points which are sent by a terminal and are determined according to the selectable resource network points, and carrying out path planning according to the target resource network points to obtain a path planning result; and generating reservation success notification according to the target resource network point, and sending the reservation success notification and the path planning result to the terminal, wherein various resource exchange modes can be provided according to the resource reservation application of the user, so that the resource reservation exchange rate of the user is improved.
Drawings
FIG. 1 is an application environment diagram of a resource reservation method in one embodiment;
FIG. 2 is a flow chart of a method of reserving resources in an embodiment;
FIG. 3 is a flow diagram of an alternative resource dot determination method in one embodiment;
FIG. 4 is a schematic diagram of an example of determining alternative resource dots;
FIG. 5 is a flowchart of a resource reservation method according to another embodiment;
FIG. 6 is a block diagram of a resource reservation device in one embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The resource reservation method provided by the embodiment of the application can be applied to an application environment shown in figure 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. The server 104 receives a resource reservation application sent by the terminal 102, determines optional resource nodes according to the resource reservation application, and sends the optional resource nodes to the terminal 102, wherein the optional resource nodes comprise single resource nodes and/or resource node combinations, each resource node combination comprises a plurality of single resource nodes, the terminal 102 determines target resource nodes according to the optional resource nodes, the server 104 receives the target resource nodes sent by the terminal, performs path planning according to the target resource nodes, obtains a path planning result, and the server 104 generates reservation success notification according to the target resource nodes and sends the reservation success notification and the path planning result to the terminal.
The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, where the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In one embodiment, as shown in fig. 2, a resource reservation method is provided, and the method is applied to the server in fig. 1 for illustration, and includes the following steps:
step 202, receiving a resource reservation application sent by a terminal.
And the server receives a resource reservation application sent by the terminal. In some application scenarios, a user sends a resource reservation application to a server in a specific form through a terminal, and the resource reservation application is used for applying corresponding resources to the server, where the resources may refer to currency, articles, and the like, and the currency may be physical currency or electronic currency. For example, the user may make a reservation through a bank APP (application) of the terminal, a WeChat public number, a WeChat applet, a network link, etc., and the terminal generates a resource reservation application according to information input by the user and transmits the resource reservation application to the terminal. The resource reservation application generally includes a resource acquisition period, a resource type, a resource value, and a corresponding number of resources, etc., and for example, when the above-mentioned resources are paper foreign currency, the resource reservation application includes a foreign currency type, a foreign currency value, and a corresponding number of sheets.
Step 204, determining optional resource network points according to the resource reservation application, and sending the optional resource network points to the terminal; wherein the selectable resource dots include individual resource dots and/or combinations of resource dots; each resource dot combination includes a plurality of individual resource dots.
The server determines optional resource nodes meeting the resource reservation application according to the resource reservation application, and sends the optional resource nodes to the terminal so that the terminal determines target resource nodes according to the optional resource nodes, wherein the optional resource nodes comprise single resource nodes and/or resource node combinations, and each resource node combination comprises a plurality of single resource nodes. The server selects the optional resource nodes which are satisfied according to the requirements contained in the resource reservation application, wherein the optional resource nodes can comprise one or more single resource nodes and/or one or more resource node combinations. For example, the selectable resource mesh points may include a single resource mesh point or a combination of resource mesh points, a single resource mesh point may be one or more, and a combination of resource mesh points may be one or more; the selectable resource nodes may include a single resource node and a combination of resource nodes, and the single resource node may be one or more, and the combination of resource nodes may be one or more.
It should be noted that each resource node combination includes a plurality of individual resource nodes, and each resource node combination can satisfy the requirement corresponding to the reservation application.
In an alternative embodiment, when the alternative resource node comprises a single resource node and a combination of resource nodes, preferentially selecting the single resource node and sending the single resource node to the terminal; when the selectable resource network points comprise a plurality of single resource network points, the selectable resource network points are sent to the terminal according to the sequence from the current position of the terminal to the position of the selectable resource network points from small to large.
Optionally, the selectable resource list is determined according to the current location of the terminal, the first target location and the resource reservation application. For example, a first resource node whose distance from the reference path is within a preset distance may be searched according to the reference path formed by the current position and the first target position, and determined as the selectable resource node.
Optionally, the server may determine the optional resource network points according to the current location of the terminal, for example, on the premise that the resource reservation application can be satisfied, the server may select, according to the current location of the user, a preset number of resource network points closer to the current location of the user as the optional resource network points.
Optionally, the server may determine the optional resource mesh point according to the available resource condition of the resource mesh point, for example, may select a resource mesh point with more available resources as the optional resource mesh point to send to the terminal.
And 206, receiving target resource network points which are transmitted by the terminal and determined according to the selectable resource network points, and carrying out path planning according to the target resource network points to obtain a path planning result.
The user selects a target resource network point on the terminal according to the optional resource network point sent by the server, the terminal sends the target resource network point to the server, the server receives the target resource network point determined according to the optional resource network point and sent by the terminal, and performs path planning according to the target resource network point to obtain a path planning result, and the path planning result can be sent to the terminal.
In an alternative embodiment, the terminal sends the target resource node to the server, and also sends the second target position to the server, and the server performs path planning according to the current position of the terminal, the second target position and the target resource node, and uses the current position as a starting position to obtain a path planning result.
And step 208, generating reservation success notification according to the target resource network point, and sending the reservation success notification and the path planning result to the terminal.
And the server generates a reservation success notification in a preset notification mode according to the target resource network point, and sends the reservation success notification and a path planning result to the terminal. Alternatively, the server may send the reservation success notification and the path planning result to the terminal through a cellular network, such as a 3G, 4G or 5G network, or WiFi (WIreless Fidelity ), for example, the server may send the reservation success notification and the path planning result to the terminal through a 5G message. The reservation success notification may include information such as a destination resource node, a destination resource node address, a resource acquisition period, a resource type, a resource value, and a corresponding number of resources.
Optionally, after the server sends the reservation success notification to the terminal, newly creating a resource reservation acquisition waiting reminder, which is used for sending a time reminder message to the terminal when the preset duration from the starting time of the resource acquisition time interval is reached, so as to remind the user to go to the target resource network point to acquire the reserved resource according to the resource acquisition time interval in the reservation success notification.
In the resource reservation method, the optional resource node is determined according to the resource reservation application sent by the terminal and is sent to the terminal by receiving the resource reservation application sent by the terminal, wherein the optional resource node comprises a single resource node and/or a resource node combination, and each resource node combination comprises a plurality of single resource nodes; receiving target resource network points which are sent by a terminal and are determined according to the selectable resource network points, and carrying out path planning according to the target resource network points to obtain a path planning result; the reservation success notification is generated according to the target resource network points, the reservation success notification and the path planning result are sent to the terminal, and various resource exchange modes can be provided according to the resource reservation application of the user, so that the resource reservation exchange rate of the user is improved, the path planning result of the user corresponding to the target resource network points can be provided, and the user experience is improved.
In one embodiment, determining the selectable resource mesh point according to the resource reservation application includes: acquiring a current position and a first target position of a terminal; and determining the optional resource network points according to the current position of the terminal, the first target position and the resource reservation application.
In this embodiment, the server may send a location authorization request to the terminal, and after the terminal agrees to the authorization, the server obtains a current location of a GPS (Global Positioning System ) of the terminal, and the server receives a first target location sent by the terminal, and determines an optional resource website according to the current location of the terminal, the first target location, and the resource reservation request. The current position is a position where a corresponding terminal initiates a resource reservation application; the first target location may refer to another desired location than the current location, such as a location that the user wants to reach. For example, the user sends a resource reservation request from the terminal at the current location, and when the user wants to reach the first target location while acquiring the reserved resource, after acquiring the first target location, the server may determine the selectable resource nodes according to the path formed by the current location of the terminal and the first target location, for example, select, as the selectable resource nodes, a preset number of resource nodes with a relatively close peripheral distance to the path formed by the current location and the first target location.
In the above embodiment, the determination range of the optional resource mesh point can be enlarged by determining the optional resource mesh point according to the current position of the terminal, the first target position and the resource reservation application, which is favorable for determining the optional resource mesh point and improving the resource reservation exchange rate of the user.
In some embodiments, as shown in fig. 3, the determining the selectable resource mesh point according to the current location of the terminal, the first target location, and the resource reservation application includes the following steps 302 to 306.
Step 302, an initial resource mesh point information table is obtained.
In this embodiment, the server may obtain an initial resource site information table from the internal storage system, where the initial resource site information table includes all resource site information, for example, names, addresses, resource fixed quota, resource locking quota, and the like of all resource sites, where the resource fixed quota refers to a resource quota that can be obtained by a resource site in a specific duration, and the resource locking quota refers to a resource quota that has been locked and can not be reserved and exchanged any more. Alternatively, the server may acquire the initial resource node information table from the server interface or other terminals, where the data in the initial resource node information table may be updated in real time.
Step 304, searching a first resource node capable of meeting the resource reservation application from the initial resource node information table.
The server searches a first resource node capable of meeting the resource reservation application from the initial resource node information table. Optionally, searching for a resource node capable of meeting the resource value and the corresponding resource quantity in the resource reservation application from the initial resource node information table as the first resource node. And searching the resource network point which is a preset distance away from the current position of the terminal from the initial resource network point information table to serve as a first resource network point.
Step 306, determining the optional resource network point according to the current position of the terminal, the first target position and the position of the first resource network point.
The server may determine the selectable resource mesh point in combination with the current location of the terminal, the first target location, and the location of the first resource mesh point. Alternatively, the server may determine the optional resource node according to a reference path formed by the current location of the terminal and the first target location and the location of the first resource node, for example, the server may determine the optional resource node from the first resource node according to a preset distance condition from the reference path around the reference path formed by the current location of the terminal and the first target location.
In an alternative embodiment, the server may treat the first resource node within a preset distance from the current location or the first target location as an alternative resource node. The server may also use the first resource node within a preset distance from the current location and the first resource node within a preset distance from the first target location as the selectable resource node.
According to the resource reservation method in the embodiment, the first resource node capable of meeting the resource reservation application is searched from the initial resource node information table by acquiring the initial resource node information table, and the optional resource node is determined according to the current position of the terminal, the first target position and the position of the first resource node, so that the optional resource node conforming to the resource reservation application can be determined more accurately, and the resource reservation exchange rate is improved.
In some embodiments, searching for a first resource node capable of satisfying a resource reservation application from an initial resource node information table includes: calculating the difference value between the fixed quota and the locking quota in each resource website in the initial resource website information table, searching a second resource website corresponding to the resource quota in the resource reservation application, and searching a first resource website capable of meeting the resource reservation application from the second resource website.
In this embodiment, by calculating the difference between the fixed quota and the locking quota corresponding to each resource node in the initial resource node information table, searching a second resource node corresponding to the resource quota in the resource reservation application, and searching a resource node capable of meeting the resource reservation application from the second resource node, as the first resource node, the first resource node determined in this embodiment can ensure that the requirement corresponding to the resource quota in the resource reservation application can be met, thereby being beneficial to improving the resource reservation exchange rate.
In some embodiments, determining the selectable resource mesh point based on the current location of the terminal, the first target location, and the location of the first resource mesh point includes: and planning a reference path from the current position of the terminal to the first target position, searching a first resource network point with the distance from the reference path within a preset distance, and determining the first resource network point as the optional resource network point.
In one example, as shown in fig. 4, after the server obtains the current position a and the first target position B of the terminal, a reference path AB from the current position a of the terminal to the first target position B is planned, and a first resource node whose distance from the reference path AB is within a preset distance L1 is searched, so as to determine that the first resource node is an optional resource node, that is, black solid points in the illustration are all optional resource nodes.
In one embodiment, path planning is performed according to a target resource node to obtain a path planning result, including: and planning the path according to the reference path and the target resource network point to obtain a path planning result.
In this embodiment, the server may perform path planning according to the positions of the reference path and the target resource mesh point, so as to obtain a path planning result, so that the path planning result is the optimal distance or the optimal time. Optionally, the server may perform path planning on the reference path and the target resource node according to the path distance to obtain a path planning result, for example, perform path planning on the reference path and the target resource node, so that the path distance is the shortest, and obtain the path planning result. Or, according to the path time, planning the path between the reference path and the target resource network point to obtain a path planning result, for example, planning the path between the reference path and the target resource network point to make the path time shortest and obtain the path planning result. In the path planning process, the path may start from the reference path to the target resource node and then return to the reference path, or may directly start from the reference path to the target resource node or start from the target resource node to the reference path.
According to the embodiment, the reference path from the current position of the terminal to the first target position is planned, the first resource network point with the distance from the reference path being within the preset distance is searched, and the first resource network point is determined to be the selectable resource network point; and carrying out path planning according to the reference path and the target resource network point to obtain a path planning result, searching for an optional resource network point which is more consistent with the resource reservation application and the user demand, and determining the target network point according to the optional resource network point so as to improve the reservation resource exchange rate.
In one embodiment, path planning is performed according to a target resource node to obtain a path planning result, including: acquiring a second target position sent by a terminal; and carrying out path planning according to the current position of the terminal, the second target position and the target resource network point to obtain a path planning result.
The server obtains a second target position sent by the terminal, wherein the second target position can be input by the user into the terminal, and then the second target position is sent to the server by the terminal. And the server performs path planning according to the current position of the terminal, the second target position and the target resource network point to obtain a path planning result. The embodiment is suitable for the following application scenarios: after the target resource network point is determined, the user wants to reach the second target position and also reaches the target resource network point, so that path planning is performed according to the current position of the terminal, the second target position and the target resource network point can be reached simultaneously, the reserved resources are exchanged and the second target position is reached simultaneously, and more requirements of the user can be met.
In some embodiments, after receiving the target resource mesh point determined according to the optional resource mesh point sent by the terminal, the resource reservation method further includes: and locking the resource reservation limit corresponding to the target resource network point.
In this embodiment, for a resource reservation application initiated by a current terminal, when a server receives a target resource node determined according to an optional resource node and sent by the terminal, the server can lock a resource reservation limit corresponding to the target resource node, so that when other resource reservation applications are received, the optional resource node can be provided more accurately, and the resource reservation exchange rate is improved.
In one embodiment, as shown in FIG. 5, the resource reservation method includes the following steps 502 to 512.
Step 502, receiving a resource reservation application sent by the terminal through a 5G message, and sending a location authorization application to the terminal.
And step 504, receiving a notification of the grant of the position by the terminal and acquiring the current position of the terminal.
Step 506, obtaining an initial resource node information table, and searching a first resource node capable of meeting the resource reservation application from the initial resource node information table.
And step 508, selecting the resource network point which is within a preset distance from the current position of the terminal from the first resource network point as the optional resource network point.
Step 510, receiving the target resource node determined according to the selectable resource node sent by the terminal, and performing path planning according to the current position of the terminal and the position of the target resource node to obtain a path planning result.
And step 512, generating a reservation success notice according to the target resource network point, and sending the reservation success notice and a path planning result to the terminal through a 5G message.
According to the resource reservation method in the embodiment, the first resource node capable of meeting the resource reservation application is searched from the initial resource node information table, the resource node which is within the preset distance from the current position of the terminal is selected from the first resource node to be the selectable resource node, the selectable resource node is provided for the terminal to determine the target resource node, the current position of the terminal and the position of the target resource node are subjected to path planning, a path planning result is obtained, the path planning result and reservation success notification are sent to the terminal, the terminal user can acquire corresponding reservation resources according to the reservation success notification, and the resource reservation exchange rate is improved.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a resource reservation device for realizing the above-mentioned resource reservation method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of one or more resource reservation devices provided below may refer to the limitation of the resource reservation method hereinabove, and will not be repeated here.
In one embodiment, as shown in fig. 6, there is provided a resource reservation apparatus including: a reservation application module 602, a first determination module 604, a second determination module 606, and a notification transmission module 608, wherein:
the reservation application module 602 is configured to receive a resource reservation application sent by a terminal;
a first determining module 604, configured to determine an optional resource node according to the resource reservation application, and send the optional resource node to a terminal; the selectable resource nodes comprise single resource nodes and/or resource node combinations; each of the resource dot combinations includes a plurality of individual resource dots;
a second determining module 606, configured to receive a target resource node determined according to the selectable resource node and sent by a terminal, and perform path planning according to the target resource node, so as to obtain a path planning result;
and the notification sending module 608 is configured to generate a reservation success notification according to the target resource node, and send the reservation success notification and the path planning result to a terminal.
In one embodiment, the first determining module 604 is further configured to: acquiring a current position and a first target position of a terminal; and determining the optional resource network point according to the current position of the terminal, the first target position and the resource reservation application.
In one embodiment, the first determining module 604 is further configured to: acquiring an initial resource network point information table; searching a first resource node capable of meeting the resource reservation application from the initial resource node information table; and determining the optional resource network point according to the current position of the terminal, the first target position and the position of the first resource network point.
In one embodiment, the first determining module 604 is further configured to: calculating the difference value between the fixed quota and the locking quota in each resource website in the initial resource website information table; searching a second resource network point corresponding to the resource limit in the resource reservation application, wherein the difference is not smaller than the resource limit; and searching a first resource network point which can meet the resource reservation application from the second resource network point.
In one embodiment, the first determining module 604 is further configured to: planning a reference path from the current position of the terminal to the first target position; searching a first resource network point with the distance from the reference path within a preset distance, and determining the first resource network point as the optional resource network point.
The second determining module 606 is further configured to: and carrying out path planning according to the reference path and the target resource network point to obtain the path planning result.
In one embodiment, the second determination module 606 is further configured to: acquiring a second target position sent by a terminal; and carrying out path planning according to the current position of the terminal, the second target position and the target resource network point to obtain the path planning result.
In one embodiment, the device further includes a resource locking module, configured to lock, after the target resource node determined according to the selectable resource node and sent by the receiving terminal, a resource reservation limit corresponding to the target resource node.
The respective modules in the above-described resource reservation apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing initial resource website information table data. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a resource reservation method.
It will be appreciated by those skilled in the art that the structure shown in FIG. 7 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, implements the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1. A method for reserving resources, the method comprising:
receiving a resource reservation application sent by a terminal;
determining optional resource mesh points according to the resource reservation application, and sending the optional resource mesh points to a terminal; the selectable resource nodes comprise single resource nodes and/or resource node combinations; each of the resource dot combinations includes a plurality of individual resource dots;
receiving a target resource node determined according to the selectable resource node and sent by a terminal, and carrying out path planning according to the target resource node to obtain a path planning result;
and generating reservation success notification according to the target resource network point, and sending the reservation success notification and the path planning result to a terminal.
2. The method of claim 1, wherein said determining an optional resource dot based on said resource reservation application comprises:
acquiring a current position and a first target position of a terminal;
and determining the optional resource network point according to the current position of the terminal, the first target position and the resource reservation application.
3. The method of claim 2, wherein the determining the selectable resource points based on the current location of the terminal, the first target location, and the resource reservation application comprises:
acquiring an initial resource network point information table;
searching a first resource node capable of meeting the resource reservation application from the initial resource node information table;
and determining the optional resource network point according to the current position of the terminal, the first target position and the position of the first resource network point.
4. The method of claim 3, wherein searching for a first resource node from the initial resource node information table that is capable of satisfying the resource reservation application comprises:
calculating the difference value between the fixed quota and the locking quota in each resource website in the initial resource website information table;
searching a second resource network point corresponding to the resource limit in the resource reservation application, wherein the difference is not smaller than the resource limit;
and searching a first resource network point which can meet the resource reservation application from the second resource network point.
5. A method according to claim 3, wherein said determining the alternative resource node based on the current location of the terminal, the first target location and the location of the first resource node comprises:
planning a reference path from the current position of the terminal to the first target position;
searching a first resource network point with the distance from the reference path within a preset distance, and determining the first resource network point as the optional resource network point;
and performing path planning according to the target resource network point to obtain a path planning result, wherein the path planning result comprises the following steps:
and carrying out path planning according to the reference path and the target resource network point to obtain the path planning result.
6. The method of claim 2, wherein the performing path planning according to the target resource mesh point to obtain a path planning result includes:
acquiring a second target position sent by a terminal;
and carrying out path planning according to the current position of the terminal, the second target position and the target resource network point to obtain the path planning result.
7. The method of claim 1, wherein after the target resource mesh point determined from the selectable resource mesh points transmitted by the receiving terminal, the method further comprises:
and locking the resource reservation limit corresponding to the target resource network point.
8. A resource reservation apparatus, the apparatus comprising:
the reservation application module is used for receiving a resource reservation application sent by the terminal;
the first determining module is used for determining optional resource network points according to the resource reservation application and sending the optional resource network points to a terminal; the selectable resource nodes comprise single resource nodes and/or resource node combinations; each of the resource dot combinations includes a plurality of individual resource dots;
the second determining module is used for receiving target resource mesh points determined according to the selectable resource mesh points and sent by the terminal, and carrying out path planning according to the target resource mesh points to obtain a path planning result;
and the notification sending module is used for generating a reservation success notification according to the target resource network point and sending the reservation success notification and the path planning result to the terminal.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202310658220.2A 2023-06-05 2023-06-05 Resource reservation method, device, computer equipment and storage medium Pending CN116894499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310658220.2A CN116894499A (en) 2023-06-05 2023-06-05 Resource reservation method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310658220.2A CN116894499A (en) 2023-06-05 2023-06-05 Resource reservation method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116894499A true CN116894499A (en) 2023-10-17

Family

ID=88310007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310658220.2A Pending CN116894499A (en) 2023-06-05 2023-06-05 Resource reservation method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116894499A (en)

Similar Documents

Publication Publication Date Title
CN110060153B (en) Data evidence storage method and system based on multiple block chain networks
CN116488986A (en) Event-driven message touch method, system and device and storage medium
CN116894499A (en) Resource reservation method, device, computer equipment and storage medium
CN114629951A (en) Address service switching method and device, computer equipment and storage medium
CN114493598A (en) Computing resource management method, device, computer equipment and storage medium
CN117453759B (en) Service data processing method, device, computer equipment and storage medium
CN115408396B (en) Method, device, computer equipment and storage medium for storing business data
CN117035981A (en) Resource application method, device, equipment and storage medium based on blockchain
CN117082177A (en) Call processing method, device, communication equipment and storage medium thereof
CN117221830A (en) Message broadcasting method, device, equipment, storage medium and program product
CN116489089A (en) Flow control method and device and computer equipment
CN117978866A (en) Service proxy method, device, computer equipment and storage medium
CN117151841A (en) Service processing method, device, computer equipment, storage medium and program product
CN116911410A (en) Mesh point reservation method, mesh point reservation device, computer equipment and storage medium
CN116938836A (en) Resource processing method and device and computer equipment
CN116760807A (en) Method, device, system and communication equipment for determining service quality policy
CN117453957A (en) Resource processing method, device, computer equipment and storage medium
CN116244347A (en) Recording method and device of service data and computer equipment
CN116301499A (en) Service information processing method, device, computer equipment, medium and program product
CN116910115A (en) Group query method, device, computer equipment and storage medium
CN116663907A (en) Method and device for generating early warning information, computer equipment and storage medium
CN116760806A (en) Media stream service quality policy control method, device and computer equipment
CN117151717A (en) Device password modification method, device, computer device and storage medium
CN117935406A (en) Digital key activation method, device, computer equipment and storage medium
CN116795871A (en) Task state determining method and device and computer equipment

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