Disclosure of Invention
An object of an embodiment of the present invention is to provide a control method, a network device, and a server for a shared vehicle, so as to solve the problem that the shared vehicle parks in a no-parking area and parks at will.
In a first aspect, an embodiment of the present invention provides a control method for shared vehicles, which is applied to a network device, and the control method includes:
receiving a first message for requesting unlocking of a shared vehicle from a terminal, the first message including at least first information indicating an operator to which the shared vehicle belongs;
when the first information is first preset content, generating second information, wherein the second information is used for indicating that the current area where the shared vehicle is located is a no-parking area;
sending the first message and the second information to operator equipment;
receiving a second message from the carrier device, the second message indicating an unlocking failure;
and sending the second message to the terminal requesting unlocking.
Optionally, before the generating the second information when the first information is the predetermined content, the method further includes:
acquiring the number of all shared vehicles parked in the current area;
when the number is larger than or equal to a first threshold value, generating the second information;
when the number is smaller than a first threshold value, an unlocking response message is sent to the terminal, and the unlocking response message is used for indicating that unlocking is successful;
or,
identification information of a current area where the shared vehicle is located;
when the identification information is second preset content, generating the second information;
and when the identification information is not the second preset content, sending an unlocking response message to the terminal, wherein the unlocking response message is used for indicating that the unlocking is successful.
Optionally, the first information is: a port number of an operator device of an operator to which the shared vehicle belongs or identification information of the shared vehicle.
In a second aspect, an embodiment of the present invention further provides a control method for sharing a vehicle, which is applied to an operator device, where the control method includes:
receiving a first message and a second message sent by a network device, wherein the first message at least comprises a first message used for representing an operator to which a shared vehicle belongs;
generating a second message according to the first message and the second information, wherein the second message is used for indicating unlocking failure;
and sending the second message to a network device.
Optionally, the first information is: a port number of an operator device of an operator to which the shared vehicle belongs or identification information of the shared vehicle.
In a third aspect, an embodiment of the present invention further provides a network device, including:
a first receiving module, configured to receive, from a terminal, a first message for requesting unlocking of a shared vehicle, where the first message at least includes first information indicating an operator to which the shared vehicle belongs;
the first generation module is used for generating second information when the first information is first preset content, and the second information is used for indicating that the current area where the shared vehicle is located is a no-parking area;
a first sending module, configured to send the first message and the second message to an operator device;
a second receiving module, configured to receive a second message from the operator device, where the second message is used to indicate that unlocking has failed;
and the second sending module is used for sending the second message to the terminal requesting unlocking.
In a fourth aspect, an embodiment of the present invention further provides an operator device, including:
the third receiving module is used for receiving a first message and a second message sent by a network device, wherein the first message at least comprises a first message, and the first message is used for indicating an operator to which the shared vehicle belongs;
a second generating module, configured to generate a second message according to the first message and the second information, where the second message is used to indicate an unlocking failure;
and the fifth sending module is used for sending the second message to the network equipment.
In a fifth aspect, an embodiment of the present invention further provides a network device, including: a processor, a memory and a program stored on the memory and executable on the processor, which program, when executed by the processor, carries out the steps of the method of controlling a shared vehicle as described above.
In a sixth aspect, an embodiment of the present invention further provides an operator server, including: a processor, a memory and a program stored on the memory and executable on the processor, which program, when executed by the processor, carries out the steps of the method of controlling a shared vehicle as described above.
In a seventh aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a program is stored on the computer-readable storage medium, and when the program is executed by a processor, the program implements the steps of the control method for shared vehicles as described above.
In the embodiment of the invention, when the current area where the shared vehicle is located is a no-parking area, the network equipment sends a first message and second information used for indicating that the current area where the shared vehicle is located is the no-parking area to the operator server, and the network equipment receives the second message used for indicating that unlocking fails from the operator server and sends the second message to the terminal requesting unlocking, so that the problems of parking and random parking of the shared vehicle in the no-parking area can be solved by controlling unlocking operation, the parking positions of the shared vehicle are conveniently and effectively managed, and the public traffic order can be better maintained.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "comprises," "comprising," or any other variation thereof, in the description and claims of this application, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Furthermore, the use of "and/or" in the specification and claims means that at least one of the connected objects, such as a and/or B, means that three cases, a alone, B alone, and both a and B, exist.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The embodiment of the invention provides a wireless communication system, which can be a 5G system, an Evolved Long Term Evolution (eLTE) system or a subsequent Evolved communication system. Fig. 1 is a schematic architecture diagram of a wireless communication system according to an embodiment of the present invention. As shown in fig. 1, the wireless communication system may include: the system comprises a network device 10, a terminal 11, a shared vehicle 12 and an operator server 13, wherein the terminal 11 is connected with the network device 10, and the network device 10 is respectively connected with the terminal 11, the shared vehicle 12 and the operator server 13. In practical applications, the connections between the above devices may be wireless connections, and fig. 1 illustrates the connections between the devices by solid lines for convenience and convenience in visual representation.
The network device service area 100 is a network device service area 100 within a certain range area of the network device 10, the network device service area 100 may be divided into one or more parking available areas and/or parking forbidden areas, and the network device 10 determines whether the shared vehicle 12 is located in the parking available area or the parking forbidden area, if the network device determines that the shared vehicle 12 is located in the parking forbidden area, the network device 10 sends indication information to the operator server 13, the indication information is used for indicating that the shared vehicle 12 is located in the parking forbidden area, and the operator server 13 indicates that the shared vehicle cannot perform an unlocking operation, so as to ensure that the shared vehicle is not parked in the parking forbidden area, and maintain the order of public transportation.
It should be noted that the communication system may include a plurality of UEs, the network device and may communicate (transmit signaling or transmit data) with a plurality of UEs.
The network device 10 provided in the embodiment of the present invention may be a base station, which may be a commonly used base station, an evolved node base (eNB), or a network device in a 5G system (for example, a next generation base station (gNB), a Transmission and Reception Point (TRP), or a cell, and the like.
The terminal 11 provided in the embodiment of the present invention may be a Mobile phone, a tablet Computer, a notebook Computer, an Ultra-Mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA), or the like.
Referring to fig. 2, an execution subject of the control method is a network device, where the network device may be a base station or a Mobility Management Entity (MME), or a network device of another communication system, and the specific steps of the control method are as follows:
step 201: receiving a first message for requesting unlocking of a shared vehicle from a terminal, the first message including at least first information indicating an operator to which the shared vehicle belongs.
The shared vehicle may be a shared bicycle, a shared electric vehicle, or a shared automobile, and it should be noted that the embodiment of the present invention does not specifically limit the type of the shared vehicle.
In this embodiment of the present invention, the first information may be: a port number of an operator device of an operator to which the shared vehicle belongs or identification information of the shared vehicle. For example: the identification information of the shared vehicle may be the number segment of the shared vehicle, it being understood that the number segments of the shared vehicle differ for different operators, which may be Mobai, ofo, dribbles, etc.
Step 202: and when the first information is first preset content, generating second information, wherein the second information is used for indicating that the current area where the shared vehicle is located is a no-stop area.
Wherein the first predetermined content may be information related to an operator who prohibits parking of the shared vehicle in the current zone, such as: the first preset content is an operator A, if the first information indicates that the operator to which the shared vehicle requesting unlocking belongs is the operator A, the first information is consistent with the first preset content, and second information is generated; and if the first information indicates that the operator to which the shared vehicle requesting unlocking belongs is the B operator, sending a locking response message to the terminal to indicate that locking is successful.
In the embodiment of the present invention, the no-parking area refers to an area where parking of the shared vehicles is not allowed, wherein the no-parking may refer to that one shared vehicle is not allowed to park, or may be that parking is not allowed when the number of parking exceeds a threshold value. For example: the shared vehicles parked in the parking areas of the central road section exceed the threshold value, and the parking areas of the central road section are the no-parking areas, so that traffic jam of the central road section caused by parking a large number of shared vehicles in the central road section can be avoided.
Step 203: sending the first message and the second information to an operator device.
Step 204: receiving a second message from the operator device, the second message indicating an unlocking failure.
Step 205: and sending the second message to the terminal requesting unlocking.
In the embodiment of the invention, when the current area where the shared vehicle is located is a no-parking area, the first message and second information used for indicating that the current area where the shared vehicle is located is the no-parking area are sent to operator equipment; and receiving a second message for indicating unlocking failure from the operator equipment, and sending the second message to the terminal requesting unlocking, so that the problems of parking and random parking of the shared vehicle in a no-parking area can be solved by controlling unlocking operation, the parking positions of the shared vehicle can be effectively managed, and the public traffic order can be better maintained.
Referring to fig. 3, an embodiment of the present invention provides a control method for sharing a vehicle, where an execution subject of the control method is a network device, and the network device may be a base station or an MME, or a network device of another communication system, and the specific steps of the control method are as follows:
step 301: receiving a first message for requesting unlocking of a shared vehicle from a terminal, the first message including at least first information indicating an operator to which the shared vehicle belongs.
It should be noted that the implementation principle of step 301 is the same as that of step 201, and the description of the similar parts is omitted.
Step 302: acquiring the number of all shared vehicles parked in the current area; when the number is smaller than a first threshold value, executing step 303; when the number is greater than or equal to the first threshold value, step 304 is performed.
In the embodiment of the invention, the first threshold is the threshold of the number of the shared vehicles which can be parked in the current area, the size of the first threshold can be determined according to the traffic condition, the pedestrian volume and the like of the current area, and the size of the first threshold can be dynamically adjusted according to the actual condition, so that the problem of traffic jam caused by concentrated parking of the shared vehicles can be avoided, and the public traffic order can be better maintained.
Step 303: and when the number is smaller than a first threshold value, sending an unlocking response message to the terminal, wherein the unlocking response message is used for indicating that the unlocking is successful.
Step 304: and when the number is greater than or equal to a first threshold value and the first information is first preset content, generating second information, wherein the second information is used for indicating that the current area where the shared vehicle is located is a no-stop area.
Step 305: sending the first message and the second information to an operator device.
Step 306: receiving a second message from the operator device, the second message indicating an unlocking failure.
Step 307: and sending the second message to the terminal requesting unlocking.
In the embodiment of the invention, whether the current area is a no-parking area can be determined according to the number of all the shared vehicles parked in the current area, and when the current area where the shared vehicles are located is the no-parking area, the first message and second information used for indicating that the current area where the shared vehicles are located is the no-parking area are sent to operator equipment; and receiving a second message for indicating unlocking failure from the operator equipment, and sending the second message to the terminal requesting unlocking, so that the problems of parking and random parking of the shared vehicle in a no-parking area can be solved by controlling unlocking operation, the parking positions of the shared vehicle can be effectively managed, and the public traffic order can be better maintained.
Referring to fig. 4, an embodiment of the present invention provides a control method for sharing a vehicle, where an execution subject of the control method is a network device, and the network device may be a base station or an MME, or a network device of another communication system, and the specific steps of the control method are as follows:
step 401: receiving a first message for requesting unlocking of a shared vehicle from a terminal, the first message including at least first information indicating an operator to which the shared vehicle belongs.
Step 402: acquiring identification information of a current area where the shared vehicle is located; when the identification information is not the second predetermined content, performing step 402; when the identification information is the second predetermined content, step 403 is performed.
In this embodiment of the present invention, the identification information of the current area may be a public identification flag of the current area, for example: the identification information of the current area may be a text mark such as "stop parking", "no parking here", "temporary parking space", or "shared single-vehicle parking area", or an image mark having the same meaning as the text mark.
It should be noted that the above description of the identification information of the current area is only an example and is not limiting, and it should be understood that the embodiment of the present invention does not specifically limit the type of the identification information.
In this embodiment of the present invention, the second predetermined content may be information with a specific semantic, and the second predetermined content may be text information and/or image information, for example: the second predetermined content may be "stop parking", "prohibit parking here", or text information or image information having the same semantic meaning as the above.
Step 402: and when the identification information is not the second preset content, sending an unlocking response message to the terminal, wherein the unlocking response message is used for indicating that the unlocking is successful.
Step 403: and when the identification information is second preset content and the first information is first preset content, generating second information, wherein the second information is used for indicating that the current area where the shared vehicle is located is a no-stop area.
Step 404: sending the first message and the second information to an operator device.
Step 405: receiving a second message from the operator device, the second message indicating an unlocking failure.
Step 406: and sending the second message to the terminal requesting unlocking.
In the embodiment of the invention, whether the current area is a no-parking area can be determined according to the identification information of the current area, and when the current area where the shared vehicle is located is the no-parking area, the first message and the second message are sent to operator equipment; and receiving a second message for indicating unlocking failure from the operator equipment, and sending the second message to the terminal requesting unlocking, so that the problems of parking and random parking of the shared vehicle in a no-parking area can be solved by controlling unlocking operation, the parking positions of the shared vehicle can be effectively managed, and the public traffic order can be better maintained.
Referring to fig. 5, an execution subject of the control method is an operator server, which may be one server, a server cluster formed by multiple servers, or a cloud computing center, and the control method includes the following specific steps:
step 501: receiving a first message and a second message sent by a network device, wherein the first message at least comprises a first message used for representing an operator to which the shared vehicle belongs.
In this embodiment of the present invention, the first information may be: a port number of an operator device of an operator to which the shared vehicle belongs or identification information of the shared vehicle. For example: the identification information of the shared vehicle may be the number segment of the shared vehicle, but is not limited thereto.
Step 502: and generating a second message according to the first message and the second information, wherein the second message is used for indicating the unlocking failure.
Step 502: and sending the second message to a network device.
In the embodiment of the invention, when the current area where the shared vehicle is located is the no-parking area, the operator equipment receives the first message sent by the network equipment and the second message used for indicating that the current area where the shared vehicle is located is the no-parking area, further generates the second message according to the first message and the second message, and sends the second message used for indicating the unlocking failure to the network equipment, so that the problems of parking and random parking of the shared vehicle in the no-parking area can be solved by controlling the unlocking operation, the parking position of the shared vehicle is conveniently and effectively managed, and the public traffic order can be better maintained.
Referring to fig. 6, an embodiment of the present invention provides a control method for sharing a vehicle, where the control method includes the following specific steps:
step 601: the method comprises the steps that a network device receives a first message used for requesting unlocking of a shared vehicle from a terminal, wherein the first message at least comprises first information which is used for representing an operator to which the shared vehicle belongs;
step 602: the method comprises the steps that network equipment obtains the number of all shared vehicles parked in a current area or identification information of the current area where the shared vehicles are located; when the number is greater than or equal to a first threshold value or the identification information is predetermined content, execute step 607; when the number is smaller than the first threshold value, or the identification information is non-predetermined content, step 603 is executed.
Step 603: when the number is smaller than a first threshold value or the identification information of the current area is not second preset content, the network equipment sends the first message to an operator server;
step 604: the operator server sends an unlocking response message to the network equipment according to the first message, wherein the unlocking response message is used for indicating that unlocking is successful;
step 605: the network equipment receives the unlocking response message from the operator server and sends the unlocking response message to the terminal; step 607: when the number is greater than or equal to a first threshold value, or the identification information of the current area is second predetermined content, and the first information is first predetermined content, the network device generates second information, wherein the second information is used for indicating that the current area where the shared vehicle is located is a no-parking area;
step 608: the network equipment sends the first message and the second message to operator equipment;
step 609: the method comprises the steps that operator equipment receives a first message and second information sent by network equipment, wherein the first message at least comprises first information, and the first information is used for representing an operator to which the shared vehicle belongs.
Step 610: the operator equipment generates a second message according to the first message and the second information, wherein the second message is used for indicating unlocking failure;
step 611: the operator device sends the second message to the network device.
Step 612: the network equipment receives a second message from the operator equipment, wherein the second message is used for indicating unlocking failure;
step 613: and the network equipment sends the second message to the terminal requesting unlocking.
In order to solve the problem that the shared traffic process parks in the no-parking area and randomly parks in disorder, the embodiment of the invention also provides a network device, and as the principle of solving the problem of the network device is similar to the control method of the shared traffic tool in the embodiment of the invention, the implementation of the network device can refer to the implementation of the method, and repeated parts are not described again.
Referring to fig. 7, an embodiment of the present invention further provides a network device 700, including:
a first receiving module 701, configured to receive, from a terminal, a first message for requesting unlocking of a shared vehicle, where the first message at least includes first information, and the first information is used to indicate an operator to which the shared vehicle belongs;
a first generating module 702, configured to generate second information when the first information is first predetermined content, where the second information is used to indicate that a current area where the shared vehicle is located is a no-parking area;
a first sending module 703, configured to send the first message and the second information to an operator device;
a second receiving module 704, configured to receive a second message from the operator device, where the second message is used to indicate that unlocking has failed;
a second sending module 705, configured to send the second message to the terminal requesting to unlock.
Optionally, the network device 700 further includes:
the first acquisition module is used for acquiring the number of all shared vehicles parked in the current area;
when the number is larger than or equal to a first threshold value, starting the first generation module to generate the second information;
a third sending module, configured to send an unlocking response message to the terminal when the number is smaller than a first threshold, where the unlocking response message is used to indicate that unlocking is successful;
or,
the second acquisition module is used for acquiring the identification information of the current area where the shared vehicle is located;
when the identification information is second preset content, starting the first generation module to generate the second information;
and the fourth sending module is used for sending an unlocking response message to the terminal when the identification information is not the second preset content, and the unlocking response message is used for indicating that the unlocking is successful.
Optionally, the first information is: a port number of an operator device of an operator to which the shared vehicle belongs or identification information of the shared vehicle.
Referring to fig. 8, an embodiment of the present invention further provides an operator server 800, including:
a third receiving module 801, configured to receive a first message and second information sent by a network device, where the first message at least includes first information, and the first information is used to indicate an operator to which the shared vehicle belongs;
a second generating module 802, configured to generate a second message according to the first message and the second information, where the second message is used to indicate an unlocking failure;
a fifth sending module 803, configured to send the second message to a network device.
Optionally, the first information is: a port number of an operator device of an operator to which the shared vehicle belongs or identification information of the shared vehicle.
Referring to fig. 9, another network device 900 according to an embodiment of the present invention includes: a processor 901, a transceiver 902, a memory 903 and a bus interface.
Among other things, the processor 901 may be responsible for managing the bus architecture and general processing. The memory 903 may store data used by the processor 901 in performing operations.
In this embodiment of the present invention, the network device 900 may further include: a program stored on the memory 903 and executable on the processor 901, which when executed by the processor 901 performs the steps in the method as described above.
In fig. 9, the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 901 and various circuits of memory represented by memory 903 being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further in connection with embodiments of the present invention. The bus interface provides an interface. The transceiver 902 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium.
Referring to fig. 10, another operator server 1000 according to an embodiment of the present invention includes: a processor 1001, a transceiver 1002, a memory 1003, and a bus interface.
Among other things, the processor 1001 may be responsible for managing the bus architecture and general processing. The memory 1003 may store data used by the processor 1001 in performing operations.
In this embodiment of the present invention, the operator server 1000 may further include: a program stored on the memory 1003 and executable on the processor 1001, which when executed by the processor 1001, performs the steps of the method as described above.
In fig. 10, the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 1001 and various circuits of memory represented by memory 1003 being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further in connection with embodiments of the present invention. The bus interface provides an interface. The transceiver 1002 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied in hardware or in software instructions executed by a processor. The software instructions may consist of corresponding software modules that may be stored in RAM, flash memory, ROM, EPROM, EEPROM, registers, hard disk, a removable hard disk, a compact disk, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in a core network interface device. Of course, the processor and the storage medium may reside as discrete components in a core network interface device.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.