Abstract:
This application discloses a method and for dividing geographical regions performed by a computing device. The method includes: obtaining N groups of the place names, their corresponding latitudes and longitudes; converting the N groups of the place names, their corresponding latitudes and the longitudes into a first dataset; encoding latitudes and longitudes in the first dataset into a second dataset, each pair of latitude and longitude corresponding to a respective geographical region associated with a region number in the second dataset; converting the second dataset into a third dataset, the third dataset including M groups of the region numbers, each group of region numbers representing central point latitudes and central point longitudes in the geographical regions represented by the group of region numbers; and dividing the geographical regions represented by the M groups of region numbers into P regions according to the third dataset.
Abstract:
The present disclosure discloses a method for determining a movement trajectory of a mock object performed at a computing device. The computing device performs the following operations: determining, by the computing device, an action effect of an object instruction of a first mock object acting on a second mock object; obtaining, by the computing device from a preset trajectory template set, a trajectory template corresponding to the action effect; obtaining, by the computing device, information about a staging environment in which the second mock object is located; determining, by the computing device, a movement trajectory of the second mock object according to the information about the staging environment and the trajectory template; and dynamically rendering, by the computing device, the second mock object along the movement trajectory.
Abstract:
A method of database data migration is described. A migration task of migrating data from a source database to a target database can be obtained. The migration task can include a network type of a source network with which the source database is connected. The target database can be located in a cloud environment. A network connectivity policy is determined according to the network type of the source network of the source database. The network policy can indicate a configuration of a communication link between the source database and the target database. The communication link between the source database and the target database can be configured according to the network connectivity policy, such that the data can be migrated from the source database to the target database via the communication link.
Abstract:
It is described a communication method and system, and a computer storage medium. The method includes that: a communication account is allocated for a subscriber, personal information registered by the subscriber is received, an account of the subscriber on each communication platform is associated with the communication account; and a friend association is established for the subscriber according to the communication account and the personal information of the subscriber, and friend information of the subscriber is maintained. With the method, it is possible to facilitate friend information management by a subscriber, enhance efficiency in communication, and save communication resources.
Abstract:
A voice playing method, a voice transmission method, a voice playing apparatus, and a voice transmission apparatus are provided. The voice playing method includes displaying a game image of a game and a voice playing object on a first user equipment to which a first account in an online game system logs on; controlling, based on the first account selecting to spectate in the game, the voice playing object to be in an on state, in which the first user equipment is enabled to play a second voice generated in association with a second account participating in the game in the online game system; and playing the second voice in the first user equipment, based on the voice playing object being in the on state and based on setting information of the second account indicating that the first account is allowed to listen to the second voice.
Abstract:
A method of database data migration is described. A migration task of migrating data from a source database to a target database can be obtained. The migration task can include a network type of a source network with which the source database is connected. The target database can be located in a cloud environment. A network connectivity policy is determined according to the network type of the source network of the source database. The network policy can indicate a configuration of a communication link between the source database and the target database. The communication link between the source database and the target database can be configured according to the network connectivity policy, such that the data can be migrated from the source database to the target database via the communication link.
Abstract:
Embodiments of this application disclose a method and for dividing geographical regions performed by a computing device. The method includes: encoding latitudes and longitudes in a first dataset to obtain a second dataset, the first dataset recording N groups of latitudes and longitudes, and the second dataset recording N region numbers, and each of the region numbers being used for representing a corresponding geographical region; obtaining a third dataset from the second dataset, the third dataset recording M groups of the region numbers, corresponding central point latitudes and central point longitudes in the geographical regions represented by the region numbers; and dividing the geographical regions represented by the M groups of region numbers into P regions according to the third dataset, each of the regions including at least one of the geographical regions represented by the corresponding group of region numbers.
Abstract:
The aspects of the present disclosure provide a method and an apparatus for implementing hardware resource allocation. For example, the apparatus includes processing circuitry. The processing circuitry obtains a first value that is indicative of an allocable resource quantity of a hardware resource in a computing device. The processing circuitry also receives a second value that is indicative of a requested resource quantity of the hardware resource by a user, and then determines whether the second value is greater than the first value. When the second value is determined to be less than or equal to the first value, the processing circuitry requests the computing device to allocate the hardware resource of the requested resource quantity to the user, and subtracts the second value from the first value to update the allocable resource quantity of the hardware resource in the computing device.
Abstract:
The aspects of the present disclosure provide a method and an apparatus for implementing hardware resource allocation. For example, the apparatus includes processing circuitry. The processing circuitry obtains a first value that is indicative of an allocable resource quantity of a hardware resource in a computing device. The processing circuitry also receives a second value that is indicative of a requested resource quantity of the hardware resource by a user, and then determines whether the second value is greater than the first value. When the second value is determined to be less than or equal to the first value, the processing circuitry requests the computing device to allocate the hardware resource of the requested resource quantity to the user, and subtracts the second value from the first value to update the allocable resource quantity of the hardware resource in the computing device.
Abstract:
Embodiments of this application disclose a method and for dividing geographical regions performed by a computing device. The method includes: encoding latitudes and longitudes in a first dataset to obtain a second dataset, the first dataset recording N groups of latitudes and longitudes, and the second dataset recording N region numbers, and each of the region numbers being used for representing a corresponding geographical region; obtaining a third dataset from the second dataset, the third dataset recording M groups of the region numbers, corresponding central point latitudes and central point longitudes in the geographical regions represented by the region numbers; and dividing the geographical regions represented by the M groups of region numbers into P regions according to the third dataset, each of the regions including at least one of the geographical regions represented by the corresponding group of region numbers.