Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
In order to test the moving track of the air mouse, the air mouse is usually controlled by manual operation at present, but the test method is greatly influenced by subjective factors, the same operation behavior cannot be copied, and data cannot be quantitatively analyzed. In a conventional use scene, the mouse is used on a two-dimensional plane to realize operations such as movement, clicking and the like, but compared with the conventional mouse, an operation coordinate system of the air mouse has one more Z axis, so that the operation needs to be carried out in a three-dimensional space. Due to manual or semi-mechanical control, the drawn track can not be quantized every time, and the uniformity of the testing means every time can not be stably realized, so that the testing purpose can not be achieved. For this reason, the influence of subjective factors should be avoided as much as possible.
As shown in fig. 1, the present disclosure provides a method of processing information, including a step S101 of determining a motion parameter for testing an electronic device. In some embodiments, the motion parameters may include a motion trajectory and a motion speed in a three-dimensional space. In some embodiments, the speed of movement may be varied, for example, by corresponding acceleration or deceleration.
In some embodiments, the method of processing information of the present disclosure further includes a step S102 of moving, by the motion simulation platform, the electronic device according to the determined motion parameter. The movement of the electronic equipment is controlled by utilizing the motion simulation platform, so that the influence of subjective factors of manual control is avoided, manual operation can be simulated with high quality and high efficiency, and the uniformity of each test is guaranteed. In some embodiments, the electronic device may be fixed on a motion simulation platform.
In some embodiments, the method of processing information of the present disclosure further includes step S103, acquiring motion trajectory data of the electronic device. In some embodiments, the motion trajectory data of the electronic device may be acquired through various terminals. In the embodiments of the present disclosure, the terminal may include, but is not limited to, mobile terminal devices such as a mobile phone, a smart phone, a notebook computer, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation apparatus, a vehicle-mounted terminal device, a vehicle-mounted display terminal, a vehicle-mounted electronic rearview mirror, and the like, and fixed terminal devices such as a digital TV, a desktop computer, and the like.
In some embodiments, the method of processing information of the present disclosure further includes step S104, determining a test result according to the motion parameter and the motion trajectory data. In some embodiments, the trajectory data rule of the electronic device can be analyzed and known through the motion parameters and the motion trajectory data of the electronic device.
According to the embodiment of the invention, the electronic equipment moves according to the preset motion parameters through the motion simulation platform, the motion trail data of the electronic equipment is obtained, the test result is determined according to the motion parameters and the motion trail data, the influence of subjective factors of manual control on the trail result analysis is avoided, and the problem that the motion trail of the air mouse is difficult to quantitatively analyze is solved.
In some embodiments, the motion simulation platform comprises a robotic arm. In some embodiments, the electronic device may be secured to the robotic arm such that the electronic device moves with the robotic arm. In some embodiments, the robotic arm is a six-axis robotic arm. By adopting the six-axis mechanical arm, the automatic control system can be freely operated in a three-dimensional space, and can better simulate the motion trail of the electronic equipment.
In some embodiments, moving the electronic device according to the motion parameters via the motion simulation platform comprises: and controlling the motion simulation platform to enable the electronic equipment to move according to a preset motion track at a preset motion speed. In some embodiments, different trajectories may result in different motion trajectory data. In some embodiments, different motion trajectory data may be obtained for the same motion trajectory, with different velocities (e.g., different accelerations and decelerations) moving in the process at corresponding positions of the trajectory. In some embodiments, following the predetermined motion profile may include moving with a profile such as a fixed tilt, acceleration, deceleration, arc, wave, or circular profile.
In some embodiments, the method of processing information of the present disclosure further comprises drawing motion trajectory data of the electronic device with a canvas program. In some embodiments, the canvas program may be installed in a terminal used as a server as described above. By drawing the motion trail data of the electronic equipment by using the canvas program, the motion trail data of the electronic equipment can be visually observed and analyzed.
In some embodiments, the test results include a correspondence between the motion parameters and the motion trajectory data. By determining the corresponding relation, the corresponding motion track data can be obtained by knowing how the electronic equipment moves. Alternatively, it can be known how the electronic device should move in order to obtain the motion trajectory data.
In some embodiments, the motion trajectory data may be subjected to a clustering process. In embodiments of the present disclosure, the cluster analysis method includes, but is not limited to, a systematic clustering method, an ordered sample clustering method, a dynamic clustering method, a fuzzy clustering method, a graph theory clustering method, or a cluster forecasting method. By carrying out clustering analysis processing on the motion trail data, the rule of the motion trail data can be quantitatively analyzed. In some embodiments, the track data is subjected to cluster analysis, and the data regularity of the air mouse, namely the corresponding relation between the motion parameters and the motion track data, is analyzed by observing the section, smoothness, track continuity and contact ratio of the mouse drawing track.
In some embodiments, the electronic device comprises an air mouse. Due to the mobility of the three-dimensional space of the air mouse, the method disclosed by the invention is particularly suitable for the air mouse. For an air mouse, the motion parameters may correspond to motion in a three-dimensional space, or may correspond to motion in a two-dimensional space. In addition, the motion trajectory data corresponds to a motion trajectory of a cursor of the air mouse.
The following describes the movement track and theoretical curve of the electronic device actually drawn in conjunction with several specific examples.
Fig. 2 and 3 show a movement trace and a theoretical curve of an electronic device actually drawn, wherein fig. 2 shows a curve x2+y2Fig. 3 shows the curve y x2. The left graph of fig. 2 and 3 is the movement trace of the electronic device actually plotted, and the right graph is the theoretical curve plotted in Matlab. By drawing a movement trajectory curve in, for example, a canvas program, and a theoretical curve can be displayed in the canvas program, the movement trajectory can be visually observed. In addition, the movement trajectories of the plurality of simulation operations at a specific setting of the motion simulation platform may be drawn on the canvas, and drawn trajectory data and setting data of the motion simulation platform may be acquired. And then, performing cluster analysis on the track data, and observing a tangent plane, smoothness, track continuity, track contact ratio and the like of a drawn track of the air mouse to analyze the data rule of the air mouse.
By adopting the method disclosed by the invention, the influence of subjective factors of manual operation and control can be eliminated. In addition, by drawing the motion trail of the electronic device on, for example, a canvas, the motion trail data of the electronic device can be quantitatively shown.
The embodiment of the present disclosure further provides an apparatus 400 for processing information corresponding to the above method, which includes a motion parameter determining module 401, a motion simulation module 402, a data obtaining module 403, and a processing module 404. The motion parameter determination module 401 is configured to determine motion parameters for testing the electronic device; the motion simulation module 402 is configured to move the electronic device according to the motion parameters through the motion simulation platform; the data acquisition module 403 is configured to acquire motion trajectory data of the electronic device; the processing module 404 is configured to determine a test result based on the motion parameters and the motion trajectory data. It should be understood that the description of the method for processing information also applies to the apparatus, which includes modules for implementing the respective components of the above-described method embodiments, and is not described herein again.
In addition, the present disclosure also provides a terminal, including: at least one memory and at least one processor; the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method for processing the information.
In addition, the present disclosure also provides a computer storage medium storing program code for executing the above-described method of processing information.
In some embodiments, by using the information processing method disclosed by the disclosure, the electronic device is enabled to move according to the preset motion parameters through the motion simulation platform, the motion trail data of the electronic device is obtained, and the test result is determined according to the motion parameters and the motion trail data, so that the influence of subjective factors of manual control on the analysis of the trail result is avoided, and the problem that the motion trail of the air mouse is difficult to quantitatively analyze is solved.
Referring now to FIG. 5, a block diagram of an electronic device 500 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: displaying at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects the internet protocol addresses from the at least two internet protocol addresses and returns the internet protocol addresses; receiving an internet protocol address returned by the node evaluation equipment; wherein the displayed internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first display unit may also be described as a "unit displaying at least two internet protocol addresses".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In accordance with one or more embodiments of the present disclosure, there is provided a method of processing information, including: determining a motion parameter for testing the electronic device; enabling the electronic equipment to move according to the motion parameters through a motion simulation platform; acquiring motion trail data of the electronic equipment; and determining a test result according to the motion parameters and the motion trail data.
According to one or more embodiments of the present disclosure, the motion simulation platform includes a robotic arm.
According to one or more embodiments of the present disclosure, the robotic arm is a six-axis robotic arm.
According to one or more embodiments of the present disclosure, moving, by the motion simulation platform, the electronic device according to the motion parameters includes: and controlling the motion simulation platform to enable the electronic equipment to move according to a preset motion track at a preset motion speed.
According to one or more embodiments of the present disclosure, the method further comprises drawing the motion trail data of the electronic device by using a canvas program.
According to one or more embodiments of the present disclosure, the test result includes a correspondence between the motion parameter and the motion trajectory data.
According to one or more embodiments of the present disclosure, the electronic device includes an air mouse.
According to one or more embodiments of the present disclosure, there is provided an apparatus for processing information, including: a motion parameter determination module configured to determine a motion parameter for testing the electronic device; the motion simulation module is configured to enable the electronic equipment to move according to the motion parameters through the motion simulation platform; the data acquisition module is configured to acquire motion trail data of the electronic equipment; and the processing module is configured to determine a test result according to the motion parameters and the motion trail data.
According to one or more embodiments of the present disclosure, there is provided a terminal including: at least one memory and at least one processor; the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method for processing the information.
According to one or more embodiments of the present disclosure, there is provided a computer storage medium storing program code for executing the above-described method of processing information.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.