Communication connection method, device, robot and storage medium of a device

By querying the combination of number prefix and room number in the robot, the problem of low communication connection efficiency of traditional robots is solved, efficient communication connection and universality are achieved, and it is suitable for various room signal forms.

CN114885058BActive Publication Date: 2025-07-18SHENZHEN PUDU TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210542547.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-18
Publication Date
2025-07-18
Estimated Expiration
2042-05-18

AI Technical Summary

Technical Problem

In traditional technology, when a robot communicates with a room, it needs to input the communication signals of each room in turn, resulting in low connection efficiency and inability to effectively process special forms of communication signals.

Method used

When the robot receives the communication connection command, it first checks the communication signal of the target room. If it is not found, query the number prefix in the phone book, and combines the communication signal with the room number according to the preset rules to establish a connection.

Benefits of technology

It reduces the operational complexity of telephone book deployment, saves time, improves the efficiency of communication connections, and expands the versatility of application scenarios, and can handle any form of communication signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114885058B_ABST
    Figure CN114885058B_ABST
Patent Text Reader

Abstract

The present application relates to a communication connection method, device, robot, storage medium, and computer program product for a device. The method includes: when a communication connection instruction for a target room is received, querying for a communication signal corresponding to the target room in a phone book; if the communication signal corresponding to the target room is queried, establishing a communication connection with a communication terminal in the target room according to the queried communication signal; if the communication signal corresponding to the target room is not queried, querying for a number prefix in the phone book; combining the queried number prefix and the room number of the target room according to a preset rule to obtain a communication signal; and establishing a communication connection with the communication terminal in the target room according to the combined communication signal. Using this method can improve the communication connection efficiency of the device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and particularly to a communication connection method, apparatus, robot, storage medium, and computer program product for a device. Background Art

[0002] With the development of computer technology, robots have been widely used. When a robot delivers items to a specific room in a venue, it establishes a communication connection with a communication terminal in the room through a communication signal and notifies the recipient of the items to receive the delivered items. Therefore, how the robot obtains the communication signals corresponding to each room has become an important issue. In the traditional technology, the communication signals corresponding to each room are recorded in a phone book, and the robot establishes a communication connection with the communication terminal according to the communication signals in the phone book. However, it takes a lot of time to input the communication signals of each room into the phone book in sequence, resulting in low efficiency of establishing a communication connection. Summary of the Invention

[0003] Based on this, in view of the above technical problems, it is necessary to provide a communication connection method, apparatus, robot, computer-readable storage medium, and computer program product for a device that can improve the communication connection efficiency of the device.

[0004] In a first aspect, the present application provides a communication connection method for a device. The method includes:

[0005] When receiving a communication connection instruction for a target room, query the communication signal corresponding to the target room in a phone book;

[0006] If the communication signal corresponding to the target room is queried, establish a communication connection with the communication terminal in the target room according to the queried communication signal;

[0007] If the communication signal corresponding to the target room is not queried, query a number prefix in the phone book;

[0008] Combine the queried number prefix and the room number of the target room according to a preset rule to obtain a communication signal;

[0009] Establish a communication connection with the communication terminal in the target room according to the combined communication signal.

[0010] In a second aspect, the present application further provides a communication connection apparatus for a device. The apparatus includes:

[0011] A query module, configured to query the communication signal corresponding to the target room in a phone book when receiving a communication connection instruction for the target room;

[0012] A establishing module, configured to establish a communication connection with a communication terminal in the target room according to the obtained communication signal if the communication signal corresponding to the target room is queried;

[0013] The querying module is further configured to query a number prefix in the phone book if the communication signal corresponding to the target room is not queried;

[0014] A combining module, configured to combine the obtained number prefix and the room number of the target room according to a preset rule to obtain a communication signal;

[0015] The establishing module is further configured to establish a communication connection with the communication terminal in the target room according to the combined communication signal.

[0016] In a third aspect, the present application further provides a robot. The robot includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the following steps are implemented:

[0017] When receiving a communication connection instruction for a target room, query the communication signal corresponding to the target room in the phone book;

[0018] If the communication signal corresponding to the target room is queried, establish a communication connection with the communication terminal in the target room according to the obtained communication signal;

[0019] If the communication signal corresponding to the target room is not queried, query a number prefix in the phone book;

[0020] Combine the obtained number prefix and the room number of the target room according to a preset rule to obtain a communication signal;

[0021] Establish a communication connection with the communication terminal in the target room according to the combined communication signal.

[0022] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the following steps are implemented:

[0023] When receiving a communication connection instruction for a target room, query the communication signal corresponding to the target room in the phone book;

[0024] If the communication signal corresponding to the target room is queried, establish a communication connection with the communication terminal in the target room according to the obtained communication signal;

[0025] If the communication signal corresponding to the target room is not queried, query a number prefix in the phone book;

[0026] Combine the obtained number prefix with the room number of the target room according to a preset rule to obtain a communication signal;

[0027] Establish a communication connection with the communication terminal in the target room according to the combined communication signal.

[0028] In a fifth aspect, the present application also provides a computer program product. The computer program product includes a computer program which, when executed by a processor, implements the following steps:

[0029] When a communication connection instruction for a target room is received, query the communication signal corresponding to the target room in the phone book;

[0030] If the communication signal corresponding to the target room is queried, establish a communication connection with the communication terminal in the target room according to the obtained communication signal;

[0031] If the communication signal corresponding to the target room is not queried, query the number prefix in the phone book;

[0032] Combine the obtained number prefix with the room number of the target room according to a preset rule to obtain a communication signal;

[0033] Establish a communication connection with the communication terminal in the target room according to the combined communication signal.

[0034] For the communication connection method, device, robot, storage medium and computer program product of the above device, when a communication connection instruction for a target room is received, query the communication signal corresponding to the target room in the phone book. If the communication signal corresponding to the target room is queried, that is, when the communication signal corresponding to the target room is not composed of a combination of a number prefix and a room number, establish a communication connection with the communication terminal in the target room according to the obtained communication signal. If the communication signal corresponding to the target room is not queried, query the number prefix in the phone book, combine the obtained number prefix with the room number of the target room, and establish a communication connection with the communication terminal in the target room according to the combined communication signal. Compared with inputting the communication signals of each room in sequence, the operation complexity of deploying the phone book is reduced, the time for deploying the phone book is saved, and the efficiency of establishing a communication connection is improved. Moreover, regardless of whether the communication signal corresponding to the target room is composed of a combination of a number prefix and a room number, the robot can obtain the communication signal through the deployed phone book, which improves the versatility of the phone book and expands the application scenarios of the communication connection method of the device. Description of the Drawings

[0035] Figure 1 It is an application environment diagram of the communication connection method of the device in an embodiment;

[0036] Figure 2Schematic flowchart of the communication connection method of the device in an embodiment;

[0037] Figure 3 Schematic flowchart of the process of inputting a communication signal in an embodiment;

[0038] Figure 4 Schematic diagram of the communication signal deployment interface in an embodiment;

[0039] Figure 5 Schematic diagram of the phone book in an embodiment;

[0040] Figure 6 Schematic flowchart of the communication connection method of the device in another embodiment;

[0041] Figure 7 Schematic flowchart of the communication connection method of the device in yet another embodiment;

[0042] Figure 8 Structural block diagram of the communication connection device of the device in an embodiment;

[0043] Figure 9 Structural block diagram of the communication connection device of the device in another embodiment;

[0044] Figure 10 Internal structure diagram of the robot in an embodiment. Detailed implementation manners

[0045] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0046] The communication connection method of the device provided by the embodiments of the present application can be applied to an application environment as shown in Figure 1 Among them, the robot 102 communicates with the communication terminal in the target room through the network. When the robot 102 receives a communication connection instruction for the target room, it queries the communication signal corresponding to the target room in the phone book; if the communication signal corresponding to the target room is queried, it establishes a communication connection with the communication terminal in the target room according to the queried communication signal; if the communication signal corresponding to the target room is not queried, it queries the number prefix in the phone book; combines the queried number prefix with the room number of the target room according to a preset rule to obtain a communication signal; and establishes a communication connection with the communication terminal in the target room according to the combined communication signal. Among them, the robot 102 can be but is not limited to various service robots, delivery robots, or food delivery robots, etc.

[0047] In one embodiment, as shown in Figure 2As shown, a communication connection method for a device is provided. Taking the robot in Figure 1 as an example for illustration, the method includes the following steps:

[0048] S202, when a communication connection instruction for a target room is received, query the communication signal corresponding to the target room in the phone book.

[0049] Among them, the communication connection instruction is an instruction for the robot to establish a communication connection with a communication terminal in the target room. It can be an instruction received from the server when the robot arrives at the target area, or it can also be an instruction received from the server when a preset time arrives, etc. For example, the communication connection instruction is an instruction sent by the server to the robot when it determines that the robot has moved to the door area of the hotel room. The target room is a room in a specific place. For example, the target room can be a room in a hotel, school, or office building. The phone book is a text file used to provide communication signals. When the communication signal corresponding to a room in a specific place is obtained by combining a number prefix and a room number, only the number prefix can be recorded in the phone book; when the communication signal corresponding to the target room is not obtained by combining a number prefix and a room number, the complete communication signal corresponding to the room is recorded in the phone book.

[0050] Among them, the communication signal is an identification code of a communication network user. For example, it can be the phone number or virtual number of a communication network user, etc. The communication signal corresponding to the target room is the communication signal of the communication terminal deployed in the target room. In one embodiment, the communication signal corresponding to the target room is obtained by combining a number prefix and a room number. For example, if the target room is a room in a hotel, the number prefix is 5, and the room number is 501, then the communication signal of the target room is 5501. In another embodiment, the communication signal corresponding to the target room may not be obtained by combining a number prefix and a room number. For example, the room number of the target room is 302, and the communication signal is 33098.

[0051] S204, if the communication signal corresponding to the target room is queried, establish a communication connection with the communication terminal in the target room according to the queried communication signal.

[0052] If the communication signal corresponding to the target room is queried in the phone book, the complete communication signal corresponding to the target room is recorded in the phone book, and the robot establishes a communication connection with the communication terminal in the target room according to the queried communication signal. Since the complete communication signal corresponding to the target room can be recorded in the phone book, the robot can query any special form of communication signal in the phone book, improving the versatility of the phone book, avoiding the robot being unable to establish a communication connection with a room with a special form of communication signal, and improving the success rate of establishing a communication connection.

[0053] S206, if the communication signal corresponding to the target room is not queried, query the number prefix in the phone book.

[0054] Among them, the number prefix is the prefix that forms the communication number corresponding to the target room, and it can be any one or more digits. For example, the number prefix is 5, and for another example, the number prefix is 23.

[0055] If the communication number corresponding to the target room is not found, it means that the complete communication number corresponding to the target room is not recorded in the phone book. That is, the communication number of the target room can be composed of the number prefix and the room number. The robot only needs to query the number prefix in the phone book to obtain the communication number corresponding to the target room according to the number prefix. Therefore, when the robot does not find the communication number corresponding to the target room, it queries the number prefix in the phone book.

[0056] S208, combine the obtained number prefix and the room number of the target room according to a preset rule to obtain the communication number.

[0057] Among them, the preset rule is the rule for combining the number prefix and the room number. For example, the preset rule can be to add the number prefix before the room number. For another example, the preset rule can be to add the number prefix after the room number. When the robot queries the number prefix, it combines the obtained number prefix and the room number of the target room according to the preset rule to obtain the communication number corresponding to the target room.

[0058] When the communication number corresponding to the target room is composed of the number prefix and the room number, only the number prefix needs to be recorded in the phone book, and there is no need to record the complete communication number corresponding to the target room, so that the robot can combine the number prefix and the room number to obtain the communication number, and establish a communication connection with the communication terminal in the target room through the combined communication number. Since the time and operation complexity of inputting the number prefix in the phone book are much lower than inputting the complete communication number in the phone book, and for the rooms in the same venue, the number prefixes can be the same, and only one input of the number prefix for all rooms is required to complete the deployment of the phone book. Therefore, by enabling the robot to combine the number prefix and the room number to obtain the communication number, the operation complexity of deploying the phone book is reduced, and the deployment efficiency of the phone book is improved.

[0059] S210, establish a communication connection with the communication terminal in the target room according to the combined communication number.

[0060] When the robot combines the number prefix and the room number to obtain the communication number, it establishes a communication connection with the communication terminal in the target room according to the combined communication number.

[0061] In one embodiment, before S210, it further includes: the robot establishing a communication connection with the phone box according to the MAC address of the phone box; S210 specifically includes: the robot establishing a communication connection with the communication terminal in the target room through the phone box according to the combined communication signal.

[0062] In the above embodiment, when receiving a communication connection instruction for the target room, query the corresponding communication signal of the target room in the phone book. If the corresponding communication signal of the target room is queried, that is, the corresponding communication signal of the target room is not obtained by combining the number prefix and the room number, establish a communication connection with the communication terminal in the target room according to the queried communication signal. If the corresponding communication signal of the target room is not queried, query the number prefix in the phone book, combine the queried number prefix with the room number of the target room, and establish a communication connection with the communication terminal in the target room according to the combined communication signal. Compared with sequentially inputting the communication signals of each room, it reduces the operation complexity of deploying the phone book, saves the time for deploying the phone book, and improves the efficiency of establishing a communication connection. Moreover, regardless of whether the corresponding communication signal of the target room is obtained by combining the number prefix and the room number, the robot can obtain the communication signal through the deployed phone book, improving the versatility of the phone book and expanding the application scenarios of the communication connection method of the device.

[0063] In one embodiment, S206 specifically includes: when the corresponding communication signal of the target room is not queried, determining the type of the room number corresponding to the target room; if it is determined according to the room number type that the room number of the target room is composed of numbers, query the number prefix in the phone book.

[0064] Among them, the room number type includes a digital type, a character type, a mixed type of numbers and characters, etc. The room number of the digital type is composed of pure numbers. The room number of the character type is composed of letters or special symbols, etc. The room number of the mixed type is composed of numbers, letters or special symbols, etc. If the robot does not query the corresponding communication signal of the target room in the phone book, determine the type of the room number corresponding to the target room. If it is determined according to the room number type that the room number of the target room is composed of numbers, it means that the number prefix and the room number can be combined into the corresponding communication signal of the target room; if the room number of the target room is not composed of numbers, the robot cannot combine the number prefix and the room number into the corresponding communication signal of the target room, so the robot cannot obtain the corresponding communication signal of the target room, and it is determined that the communication connection of the device fails.

[0065] In the above embodiments, if the robot fails to query the communication signal corresponding to the target room, the room number type corresponding to the target room is determined. If it is determined according to the room number type that the room number of the target room is composed of numbers, the number prefix is queried in the phone book. This can avoid the robot wasting time by combining the queried number prefix with the room number into a communication signal for communication when the room number of the target room is not a pure number, thus improving the efficiency of establishing a communication connection.

[0066] In one embodiment, as Figure 3 shown, before S202, S302 - S304 are further included, and S202 specifically includes S306:

[0067] S302, in response to the communication signal deployment operation, display the communication signal deployment interface.

[0068] Among them, the communication signal deployment operation is an operation for deploying communication signals in the phone book. The communication signal deployment interface is a user interface (UI) for deploying communication signals. For example, as Figure 4 shown, the communication signal deployment interface includes an input box for the MAC (Media Access Control Address, local area network address) address of the phone box, an input box for the number prefix, a communication signal addition control, and a number list, etc.

[0069] S304, obtain the room number input in the communication signal deployment interface and the communication signal corresponding to the room number, and write the obtained room number and communication signal into the phone book to obtain the phone book after writing.

[0070] When the communication signal corresponding to the target room is not composed of a combination of a number prefix and a room number, the user triggers a communication signal addition instruction through the communication signal deployment interface, and then inputs the complete communication signal corresponding to the target room through the communication signal deployment interface. The robot obtains the room number and communication signal input through the communication signal deployment interface, and then writes the obtained room number and communication signal into the phone book and saves them to obtain the phone book after writing.

[0071] In one embodiment, S304 specifically includes: in response to the communication signal addition instruction triggered through the communication signal deployment interface, obtain the room number input in the communication signal deployment interface and the communication signal corresponding to the room number, and write the obtained room number and communication signal into the phone book to obtain the phone book after writing. Among them, the communication signal addition instruction is an instruction for adding the communication signal corresponding to the target room in the phone book, and can be an instruction triggered by clicking, dragging, or sliding a control in the communication signal deployment interface. For example, as Figure 4As shown, the communication signal addition instruction is an instruction triggered by clicking the communication signal addition control in the communication signal deployment interface. The communication signal addition instruction can be triggered when the communication signal corresponding to the target room is not obtained by combining the number prefix and the room number of the target room.

[0072] S306. When receiving a communication connection instruction for the target room, query the communication signal corresponding to the target room in the written phone book according to the room number of the target room.

[0073] If the communication signal of the target room is not composed of a combination of the number prefix and the room number, when completing the deployment of the communication signal for the target room, a phone book written with the room number and the communication signal of the target room is obtained. When receiving a communication connection instruction for the target room, the robot queries the communication signal corresponding to the target room in the written phone book according to the room number of the target room.

[0074] In the above embodiment, the robot responds to the communication signal deployment operation, displays the communication signal deployment interface, obtains the room number and the communication signal input in the communication signal deployment interface and writes them into the phone book, and obtains the written phone book. When receiving a communication connection instruction for the target room, query the communication signal corresponding to the target room in the written phone book according to the room number of the target room, so as to enter the complete communication signal corresponding to the target room in the phone book when the communication signal corresponding to the target room is not composed of a combination of the number prefix and the room number. Therefore, the robot can query any special-form communication signal in the phone book, improving the versatility of the phone book, avoiding the situation where the robot cannot establish a communication connection with the target room when the communication signal of the target room is in a special form, and improving the success rate of establishing a communication connection.

[0075] In one embodiment, as Figure 5 shown, before S206, it further includes S502, and S206 specifically includes S504:

[0076] S502. Obtain the number prefix input in the communication signal deployment interface and write the number prefix into the phone book to obtain the written phone book.

[0077] In one embodiment, S502 specifically includes: responding to the number prefix input operation, obtaining the number prefix input in the communication signal deployment interface. Among them, the number prefix input operation is an operation for inputting the number prefix. For example, as Figure 4 shown, the number prefix input operation is an input operation triggered by the number prefix input box. When the communication signal corresponding to the target room is composed of a combination of the communication signal and the room number, trigger the number prefix input operation for the target room through the communication signal deployment interface to input the number prefix through the communication signal deployment interface. The number prefix input operation can be triggered when the communication signal of the target room is obtained by combining the number prefix and the room number of the target room.

[0078] S504. If the communication signal corresponding to the target room is not found, query the number prefix in the phone book after writing.

[0079] If the communication signal of the target room is composed of a combination of a number prefix and a room number, when the number prefix is input and saved through the communication signal deployment interface, a phone book with the written number prefix is obtained. When the robot fails to query the communication signal corresponding to the target room in the phone book, query the number prefix in the phone book after writing, so as to combine the number prefix with the room number to form the communication signal corresponding to the target room.

[0080] In the above embodiment, the number prefix input through the communication signal deployment interface is obtained and written into the phone book to obtain the phone book after writing. If the communication signal corresponding to the target room is not found, query the number prefix in the phone book after writing. Therefore, when the communication signal corresponding to the target room is composed of a combination of a number prefix and a room number, it is not necessary to record the complete communication signal corresponding to the target room in the phone book, but only the number prefix needs to be input, so that the robot can combine the number prefix with the room number to form the communication signal. This reduces the operation complexity of deploying the phone book, saves the time for deploying the phone book, and improves the efficiency of establishing a communication connection.

[0081] In one embodiment, before S202, it further includes: when receiving an item delivery instruction, moving towards the target room based on the item delivery instruction; during the movement, determining whether it has moved to the target area corresponding to the target room; if so, triggering a communication connection instruction for the target room; if not, continuing to move until moving to the target area.

[0082] Among them, the item delivery instruction is an instruction indicating that the robot delivers items to the target room. The target area is the item receiving area corresponding to the target room, which can be, for example, a specific area at the door of the target room. When the robot moves to the target area corresponding to the target room, a communication connection instruction for the target room is triggered, so that the robot can establish a communication connection with the communication terminal in the target room according to the communication connection instruction.

[0083] In the above embodiment, when the robot receives an item delivery instruction, it moves towards the target room based on the item delivery instruction. During the movement, it determines whether it has moved to the target area corresponding to the target room. If so, a communication connection instruction for the target room is triggered; if not, it continues to move until moving to the target area. Thus, when the robot moves to the target area, a communication connection instruction can be triggered and a communication connection can be established with the communication terminal in the target room, and the item recipient can be notified to receive the delivered items in a timely manner, improving the item delivery efficiency.

[0084] In one embodiment, before S202, it further includes: obtaining a phone book in a target format according to the phone book storage address; S202 specifically includes: when a communication connection instruction for a target room is received, querying the communication signal corresponding to the target room in the phone book in the target format.

[0085] Among them, the phone book storage address is the address where the phone book is stored, which can be a local address or a network address. The phone book is stored in a fixed path, such as stored in the memory of the device. The target format can be any text format, such as JSON (JavaScript Object Notation) format. The JSON format is a lightweight data exchange format that stores data in the form of key-value pairs. The phone book in the target format stores the MAC address of the phone box, the number prefix, the communication signal list, etc. The communication signal list stores communication signals (special communication signals) that are not composed of the combination of the number prefix and the room number. For example, as Figure 5 shown, the phone book in the target format stores the phone box MAC: adsads; number prefix: 5; communication signal list: {room number: 801; communication signal: 5101} in the form of key-value pairs.

[0086] In the above embodiment, a phone book in a target format is obtained according to the phone book storage address. When a communication connection instruction for a target room is received, the communication signal corresponding to the target room is queried in the phone book in the target format. If the communication signal corresponding to the target room is not found, the communication signal is obtained by combining the number prefix obtained by querying in the phone book and the room number. Thus, the communication signal and the number prefix can be stored in the phone book in the target format, which is convenient for the robot to query and improves the query efficiency of the robot.

[0087] In one embodiment, the communication signals of the communication terminals in some rooms in a specific place are composed of the combination of the number prefix and the room number, and the communication signals of the communication terminals in some rooms are special numbers that are not composed of the combination of the number prefix and the room number. As Figure 4 shown, in response to the MAC address input operation triggered through the communication signal deployment interface, the MAC address input in the phone box MAC address input box is obtained. In response to the number prefix input operation triggered through the number prefix input box in the communication signal deployment interface, the input number prefix is obtained. When the communication signal corresponding to the target room is not composed of the combination of the number prefix and the room number of the target room, a communication signal addition instruction triggered by the communication signal addition control in the communication signal deployment interface is received. In response to the communication signal addition instruction, the room number and the communication signal input through the communication signal deployment interface are obtained. When the communication signal deployment of all rooms is completed, a JSON format phone book is generated according to the obtained phone box MAC address, number prefix, room number, and communication signal, and the phone book is saved.

[0088] When the robot receives an item delivery instruction, it moves towards the target room based on the item delivery instruction and obtains a phone book in JSON format. As Figure 6 shown, when the robot moves to the target area corresponding to the target room, it queries the communication signal corresponding to the target room in the communication signal list of the phone book according to the room number of the target room. If the communication signal corresponding to the target room is queried, a communication connection is established with the communication terminal in the target room according to the queried communication signal. If the communication signal corresponding to the target room is not queried, it is determined whether the room number of the target room is composed of pure numbers. If so, it means that the communication signal corresponding to the target room is composed of a number prefix and the room number combined. The number prefix is queried in the phone book. The queried number prefix is combined with the room number of the target room, and a communication connection is established with the communication terminal in the target room according to the combined communication signal.

[0089] In one embodiment, as Figure 7 shown, the communication connection method of the device includes the following steps:

[0090] S702, when receiving an item delivery instruction, move towards the target room based on the item delivery instruction.

[0091] S704, obtain a phone book in the target format according to the phone book storage address.

[0092] S706, when moving to the target area corresponding to the target room, query the communication signal corresponding to the target room in the phone book in the target format.

[0093] S708, if the communication signal corresponding to the target room is queried, establish a communication connection with the communication terminal in the target room according to the queried communication signal.

[0094] S710, if the communication signal corresponding to the target room is not queried, determine the room number type corresponding to the target room.

[0095] S712, if it is determined according to the room number type that the room number of the target room is composed of numbers, query the number prefix in the phone book; combine the queried number prefix with the room number of the target room.

[0096] S714, establish a communication connection with the communication terminal in the target room according to the combined communication signal.

[0097] S716, if it is determined according to the room number type that the room number corresponding to the target room is not composed of numbers, determine that the communication connection of the device fails.

[0098] The specific content of the above S702 to S716 can refer to the specific implementation process described above.

[0099] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the indications of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless there is a clear indication in this article, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same moment, but can be executed at different moments. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0100] Based on the same inventive concept, an embodiment of the present application further provides a communication connection device for a device implementing the communication connection method involved above. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the communication connection device for a device provided below can refer to the limitations on the communication connection method for a device in the above text, and will not be repeated here.

[0101] In one embodiment, as Figure 8 shown, a communication connection device for a device is provided, including: a query module 802, a establishment module 804, and a combination module 806, where:

[0102] The query module 802 is configured to query the communication signal corresponding to the target room in the phone book when receiving a communication connection instruction for the target room;

[0103] The establishment module 804 is configured to establish a communication connection with the communication terminal in the target room according to the queried communication signal if the communication signal corresponding to the target room is queried;

[0104] The query module 802 is further configured to query the number prefix in the phone book if the communication signal corresponding to the target room is not queried;

[0105] The combination module 806 is configured to combine the queried number prefix and the room number of the target room according to a preset rule to obtain a communication signal;

[0106] The establishment module 804 is further configured to establish a communication connection with the communication terminal in the target room according to the combined communication signal.

[0107] In the above embodiments, when a communication connection instruction for a target room is received, the communication signal corresponding to the target room is queried in the phone book. If the communication signal corresponding to the target room is queried, that is, when the communication signal corresponding to the target room is not composed of a number prefix and a room number combination, a communication connection is established with the communication terminal in the target room according to the queried communication signal. If the communication signal corresponding to the target room is not queried, the number prefix is queried in the phone book, the queried number prefix is combined with the room number of the target room, and a communication connection is established with the communication terminal in the target room according to the combined communication signal. Compared with sequentially inputting the communication signals of each room, the operation complexity of deploying the phone book is reduced, the time for deploying the phone book is saved, and the efficiency of establishing a communication connection is improved. Moreover, regardless of whether the communication signal corresponding to the target room is composed of a number prefix and a room number combination, the robot can obtain the communication signal through the deployed phone book, improving the versatility of the phone book and expanding the application scenario of the communication connection method of the device.

[0108] In one embodiment, the query module 802 is further configured to:

[0109] If the communication signal corresponding to the target room is not queried, determine the room number type corresponding to the target room;

[0110] If it is determined according to the room number type that the room number of the target room is composed of numbers, query the number prefix in the phone book.

[0111] In one embodiment, as Figure 9 shown, the device further includes:

[0112] A display module 808, configured to display a communication signal deployment interface in response to a communication signal deployment operation;

[0113] A writing module 810, configured to obtain the room number and the communication signal corresponding to the room number input on the communication signal deployment interface, and write the obtained room number and communication signal into the phone book to obtain the written phone book;

[0114] The query module 802 is further configured to, when a communication connection instruction for a target room is received, query the communication signal corresponding to the target room in the written phone book according to the room number of the target room.

[0115] In one embodiment, the device further includes:

[0116] The writing module 810 is further configured to obtain the number prefix input on the communication signal deployment interface, and write the number prefix into the phone book to obtain the written phone book;

[0117] The query module 802 is further configured to query the number prefix in the written phone book if the communication signal corresponding to the target room is not queried.

[0118] In one embodiment, the device further includes:

[0119] A movement module 812, configured to move towards a target room based on an item delivery instruction when the item delivery instruction is received;

[0120] A determination module 814, configured to determine whether it has moved to a target area corresponding to the target room during the movement; if so, trigger a communication connection instruction for the target room; if not, continue to move until it moves to the target area.

[0121] In one embodiment, the device further includes:

[0122] An acquisition module 816, configured to acquire a phone book in a target format according to a phone book storage address;

[0123] A query module 802 is further configured to query a communication signal corresponding to the target room in the phone book in the target format when a communication connection instruction for the target room is received.

[0124] Each module in the communication connection device of the above device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the robot in hardware form or be independent of it, or can be stored in the memory of the robot in software form, so that the processor can call and execute the operations corresponding to the above respective modules.

[0125] In one embodiment, a robot is provided, and its internal structure diagram can be as Figure 10As shown in the figure. The robot includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the robot is used to provide computing and control capabilities. The memory of the robot includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the robot is used to exchange information between the processor and external devices. The communication interface of the robot is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a communication connection method for a device. The display unit of the robot is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the robot can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the robot housing, or an external keyboard, touchpad, or mouse, etc.

[0126] Those skilled in the art can understand that Figure 10 the structure shown in the figure is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the robot to which the solution of this application is applied. The specific robot may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0127] In one embodiment, a robot is provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.

[0128] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by the processor, the steps in the above method embodiments are implemented.

[0129] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by the processor, the steps in the above method embodiments are implemented.

[0130] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions.

[0131] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in this application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., and are not limited thereto. The processors involved in the embodiments provided in this application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., and are not limited thereto.

[0132] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope described in this specification.

[0133] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims

1. A communication connection method for a device, characterized in that, The method includes: When a communication connection instruction for a target room is received, query the communication signal corresponding to the target room in the phone book; If the communication signal corresponding to the target room is queried, establish a communication connection with the communication terminal in the target room according to the queried communication signal; If the communication signal corresponding to the target room is not queried, determine the room number type corresponding to the target room; if it is determined according to the room number type that the room number of the target room consists of numbers, query the number prefix in the phone book; Combine the queried number prefix and the room number of the target room according to a preset rule to obtain a communication signal; Establish a communication connection with the communication terminal in the target room according to the combined communication signal.

2. The method according to claim 1, wherein The method further includes: Establish a communication connection with the phone box according to the MAC address of the phone box; The establishing a communication connection with the communication terminal in the target room according to the combined communication signal includes: Through the phone box, establish a communication connection with the communication terminal in the target room according to the combined communication signal.

3. The method according to claim 1, wherein Before the step of querying the communication signal corresponding to the target room in the phone book when a communication connection instruction for the target room is received, it further includes: In response to the communication signal deployment operation, display the communication signal deployment interface; Obtain the room number input in the communication signal deployment interface and the communication signal corresponding to the room number, and write the obtained room number and communication signal into the phone book to obtain the written phone book; The querying the communication signal corresponding to the target room in the phone book when a communication connection instruction for the target room is received includes: When a communication connection instruction for the target room is received, query the communication signal corresponding to the target room in the written phone book according to the room number of the target room.

4. The method according to claim 1, characterized in that Before the step of querying the communication signal corresponding to the target room in the phone book when a communication connection instruction for the target room is received, it further includes: Obtain the number prefix input in the communication signal deployment interface and write the number prefix into the phone book to obtain the written phone book; The querying the number prefix in the phone book if the communication signal corresponding to the target room is not queried includes: If the communication signal corresponding to the target room is not queried, query the number prefix in the written phone book.

5. The method according to claim 1, wherein The method further includes: When an item delivery instruction is received, move towards the target room based on the item delivery instruction; During the movement, determine whether it has moved to the target area corresponding to the target room; If so, trigger a communication connection instruction for the target room; If not, continue to move until moving to the target area.

6. The method according to any one of claims 1 to 5, characterized in that The method further includes: Obtain the phone book in the target format according to the phone book storage address; The querying the communication signal corresponding to the target room in the phone book when a communication connection instruction for the target room is received includes: When a communication connection instruction for the target room is received, query the communication signal corresponding to the target room in the phone book in the target format.

7. A communication connection device for a device, characterized in that, The device includes: A query module, configured to query the communication signal corresponding to the target room in the phone book when a communication connection instruction for the target room is received; A connection establishment module, configured to establish a communication connection with a communication terminal in the target room according to the queried communication signal if the communication signal corresponding to the target room is queried; The query module is further configured to determine the room number type corresponding to the target room if the communication signal corresponding to the target room is not queried; if it is determined according to the room number type that the room number of the target room consists of digits, query a number prefix in the phone book; A combination module, configured to combine the queried number prefix and the room number of the target room according to a preset rule to obtain a communication signal; The connection establishment module is further configured to establish a communication connection with a communication terminal in the target room according to the combined communication signal.

8. A robot, comprising a memory and a processor, the memory storing computer-readable instructions executable on the processor, characterized in that, When the processor executes the computer-readable instructions, the following steps are implemented: When a communication connection instruction for the target room is received, query the communication signal corresponding to the target room in the phone book; If the communication signal corresponding to the target room is queried, establish a communication connection with a communication terminal in the target room according to the queried communication signal; If the communication signal corresponding to the target room is not queried, determine the room number type corresponding to the target room; if it is determined according to the room number type that the room number of the target room consists of digits, query a number prefix in the phone book; Combine the queried number prefix and the room number of the target room according to a preset rule to obtain a communication signal; Establish a communication connection with a communication terminal in the target room according to the combined communication signal.

9. The robot according to claim 8, wherein, When the processor executes the computer-readable instructions, the following steps are further implemented: In response to a communication signal deployment operation, display a communication signal deployment interface; Obtain the room number input in the communication signal deployment interface and the communication signal corresponding to the room number, and write the obtained room number and the communication signal into the phone book to obtain a written phone book; When a communication connection instruction for the target room is received, query the communication signal corresponding to the target room in the written phone book according to the room number of the target room.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Phonebook management system based on intelligent network

    CN101902533A

  • Method utilizing robot to achieve real-time automatic room reservation

    CN105184379A